@servicelabsco/slabs-access-manager 0.1.319 → 0.1.321
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/access/entities/email.message.entity.d.ts +1 -1
- package/dist/access/entities/email.message.entity.js +1 -1
- package/dist/access/entities/email.message.entity.js.map +1 -1
- package/dist/access/subscribers/business.email.subscriber.js.map +1 -1
- package/dist/access/subscribers/email.message.subscriber.d.ts +0 -1
- package/dist/access/subscribers/email.message.subscriber.js +0 -3
- package/dist/access/subscribers/email.message.subscriber.js.map +1 -1
- package/package.json +1 -1
|
@@ -21,7 +21,7 @@ export declare class EmailMessageEntity extends CommonEntity {
|
|
|
21
21
|
sender_id: number;
|
|
22
22
|
processed_at: Date;
|
|
23
23
|
rule_id: number;
|
|
24
|
-
custom_field_data:
|
|
24
|
+
custom_field_data: any;
|
|
25
25
|
threads_count: number;
|
|
26
26
|
last_thread_at: Date;
|
|
27
27
|
meta_message_id: number;
|
|
@@ -82,7 +82,7 @@ __decorate([
|
|
|
82
82
|
], EmailMessageEntity.prototype, "rule_id", void 0);
|
|
83
83
|
__decorate([
|
|
84
84
|
(0, typeorm_1.Column)('json'),
|
|
85
|
-
__metadata("design:type",
|
|
85
|
+
__metadata("design:type", Object)
|
|
86
86
|
], EmailMessageEntity.prototype, "custom_field_data", void 0);
|
|
87
87
|
__decorate([
|
|
88
88
|
(0, typeorm_1.Column)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email.message.entity.js","sourceRoot":"","sources":["../../../src/access/entities/email.message.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAAsE;AACtE,qCAA2E;AAE3E,uFAAiF;AACjF,mEAA8D;AAC9D,uEAAkE;AAClE,qEAAgE;AAChE,2DAAsD;AAS/C,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,sCAAY;CAwEnD,CAAA;AAxEY,gDAAkB;AAE3B;IADC,IAAA,gBAAM,GAAE;;oDACQ;AAGjB;IADC,IAAA,gBAAM,GAAE;;sDACU;AAGnB;IADC,IAAA,gBAAM,GAAE;;sDACU;AAGnB;IADC,IAAA,gBAAM,GAAE;;mDACO;AAGhB;IADC,IAAA,gBAAM,GAAE;;gDACI;AAGb;IADC,IAAA,gBAAM,GAAE;8BACI,IAAI;uDAAC;AAGlB;IADC,IAAA,gBAAM,GAAE;;gDACK;AAGd;IADC,IAAA,gBAAM,GAAE;;+DACmB;AAG5B;IADC,IAAA,gBAAM,GAAE;;sDACW;AAGpB;IADC,IAAA,gBAAM,GAAE;8BACG,IAAI;sDAAC;AAGjB;IADC,IAAA,gBAAM,GAAE;;sDACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;qDACS;AAGlB;IADC,IAAA,gBAAM,GAAE;;qDACS;AAGlB;IADC,IAAA,gBAAM,GAAE;8BACK,IAAI;wDAAC;AAGnB;IADC,IAAA,gBAAM,GAAE;;mDACO;AAGhB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;;
|
|
1
|
+
{"version":3,"file":"email.message.entity.js","sourceRoot":"","sources":["../../../src/access/entities/email.message.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAAsE;AACtE,qCAA2E;AAE3E,uFAAiF;AACjF,mEAA8D;AAC9D,uEAAkE;AAClE,qEAAgE;AAChE,2DAAsD;AAS/C,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,sCAAY;CAwEnD,CAAA;AAxEY,gDAAkB;AAE3B;IADC,IAAA,gBAAM,GAAE;;oDACQ;AAGjB;IADC,IAAA,gBAAM,GAAE;;sDACU;AAGnB;IADC,IAAA,gBAAM,GAAE;;sDACU;AAGnB;IADC,IAAA,gBAAM,GAAE;;mDACO;AAGhB;IADC,IAAA,gBAAM,GAAE;;gDACI;AAGb;IADC,IAAA,gBAAM,GAAE;8BACI,IAAI;uDAAC;AAGlB;IADC,IAAA,gBAAM,GAAE;;gDACK;AAGd;IADC,IAAA,gBAAM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3,"file":"business.email.subscriber.js","sourceRoot":"","sources":["../../../src/access/subscribers/business.email.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAA0E;AAC1E,qCAAgF;AAChF,6EAAwE;AACxE,mEAA8D;
|
|
1
|
+
{"version":3,"file":"business.email.subscriber.js","sourceRoot":"","sources":["../../../src/access/subscribers/business.email.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAA0E;AAC1E,qCAAgF;AAChF,6EAAwE;AACxE,mEAA8D;AAGvD,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,0CAAqC;IAC9E,YACqB,UAAsB,EACtB,gBAAkC;QAEnD,KAAK,EAAE,CAAC;QAHS,eAAU,GAAV,UAAU,CAAY;QACtB,qBAAgB,GAAhB,gBAAgB,CAAkB;QAGnD,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,2CAAmB,CAAC;IAC/B,CAAC;IACD,KAAK,CAAC,WAAW,CAAC,KAAuC;QACrD,MAAM,IAAI,CAAC,gBAAgB,CAAC,eAAe,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IAC1E,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,KAAuC;QACrD,MAAM,IAAI,CAAC,gBAAgB,CAAC,eAAe,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IAC1E,CAAC;CACJ,CAAA;AAlBY,0DAAuB;kCAAvB,uBAAuB;IADnC,IAAA,yBAAe,GAAE;qCAGmB,oBAAU;QACJ,qCAAgB;GAH9C,uBAAuB,CAkBnC"}
|
|
@@ -9,6 +9,5 @@ export declare class EmailMessageSubscriber extends CommonSubscriber<EmailMessag
|
|
|
9
9
|
listenTo(): typeof EmailMessageEntity;
|
|
10
10
|
beforeInsert(event: InsertEvent<EmailMessageEntity>): Promise<void>;
|
|
11
11
|
afterInsert(event: InsertEvent<EmailMessageEntity>): Promise<void>;
|
|
12
|
-
beforeUpdate(event: UpdateEvent<EmailMessageEntity>): Promise<void>;
|
|
13
12
|
afterUpdate(event: UpdateEvent<EmailMessageEntity>): Promise<void>;
|
|
14
13
|
}
|
|
@@ -32,9 +32,6 @@ let EmailMessageSubscriber = class EmailMessageSubscriber extends nestjs_utility
|
|
|
32
32
|
async afterInsert(event) {
|
|
33
33
|
await this.emailMessageJob.delayedDispatch(this.getEventData(event));
|
|
34
34
|
}
|
|
35
|
-
async beforeUpdate(event) {
|
|
36
|
-
event.entity.from_email = event.entity.from_email.toLowerCase();
|
|
37
|
-
}
|
|
38
35
|
async afterUpdate(event) {
|
|
39
36
|
await this.emailMessageJob.delayedDispatch(this.getEventData(event));
|
|
40
37
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email.message.subscriber.js","sourceRoot":"","sources":["../../../src/access/subscribers/email.message.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAA0E;AAC1E,qCAAgF;AAChF,2EAAsE;AACtE,iEAA4D;AAErD,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,0CAAoC;IAC5E,YACqB,UAAsB,EACtB,eAAgC;QAEjD,KAAK,EAAE,CAAC;QAHS,eAAU,GAAV,UAAU,CAAY;QACtB,oBAAe,GAAf,eAAe,CAAiB;QAGjD,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,yCAAkB,CAAC;IAC9B,CAAC;IAED,KAAK,CAAC,YAAY,CAAC,KAAsC;QACrD,IAAI,KAAK,CAAC,MAAM,CAAC,SAAS;YAAE,KAAK,CAAC,MAAM,CAAC,UAAU,GAAG,KAAK,CAAC;QAE5D,KAAK,CAAC,MAAM,CAAC,UAAU,GAAG,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC;IACpE,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,KAAsC;QACpD,MAAM,IAAI,CAAC,eAAe,CAAC,eAAe,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IACzE,CAAC;IAED,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"email.message.subscriber.js","sourceRoot":"","sources":["../../../src/access/subscribers/email.message.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAA0E;AAC1E,qCAAgF;AAChF,2EAAsE;AACtE,iEAA4D;AAErD,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,0CAAoC;IAC5E,YACqB,UAAsB,EACtB,eAAgC;QAEjD,KAAK,EAAE,CAAC;QAHS,eAAU,GAAV,UAAU,CAAY;QACtB,oBAAe,GAAf,eAAe,CAAiB;QAGjD,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,yCAAkB,CAAC;IAC9B,CAAC;IAED,KAAK,CAAC,YAAY,CAAC,KAAsC;QACrD,IAAI,KAAK,CAAC,MAAM,CAAC,SAAS;YAAE,KAAK,CAAC,MAAM,CAAC,UAAU,GAAG,KAAK,CAAC;QAE5D,KAAK,CAAC,MAAM,CAAC,UAAU,GAAG,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC;IACpE,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,KAAsC;QACpD,MAAM,IAAI,CAAC,eAAe,CAAC,eAAe,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IACzE,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,KAAsC;QACpD,MAAM,IAAI,CAAC,eAAe,CAAC,eAAe,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IACzE,CAAC;CACJ,CAAA;AAzBY,wDAAsB;iCAAtB,sBAAsB;IADlC,IAAA,yBAAe,GAAE;qCAGmB,oBAAU;QACL,mCAAe;GAH5C,sBAAsB,CAyBlC"}
|
package/package.json
CHANGED