@servicelabsco/slabs-access-manager 0.1.53 → 0.1.54

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.
Files changed (90) hide show
  1. package/dist/access/dtos/business.email.attributes.dto.d.ts +3 -0
  2. package/dist/access/dtos/business.email.attributes.dto.js +8 -0
  3. package/dist/access/dtos/business.email.attributes.dto.js.map +1 -0
  4. package/dist/access/dtos/email.attachment.attributes.dto.d.ts +5 -0
  5. package/dist/access/dtos/email.attachment.attributes.dto.js +8 -0
  6. package/dist/access/dtos/email.attachment.attributes.dto.js.map +1 -0
  7. package/dist/access/dtos/email.message.attributes.dto.d.ts +8 -0
  8. package/dist/access/dtos/email.message.attributes.dto.js +29 -0
  9. package/dist/access/dtos/email.message.attributes.dto.js.map +1 -0
  10. package/dist/access/dtos/email.recipient.attributes.dto.d.ts +4 -0
  11. package/dist/access/dtos/email.recipient.attributes.dto.js +8 -0
  12. package/dist/access/dtos/email.recipient.attributes.dto.js.map +1 -0
  13. package/dist/access/dtos/index.d.ts +4 -0
  14. package/dist/access/dtos/index.js +4 -0
  15. package/dist/access/dtos/index.js.map +1 -1
  16. package/dist/access/entities/business.email.entity.d.ts +13 -0
  17. package/dist/access/entities/business.email.entity.js +56 -0
  18. package/dist/access/entities/business.email.entity.js.map +1 -0
  19. package/dist/access/entities/email.attachment.entity.d.ts +10 -0
  20. package/dist/access/entities/email.attachment.entity.js +44 -0
  21. package/dist/access/entities/email.attachment.entity.js.map +1 -0
  22. package/dist/access/entities/email.message.entity.d.ts +23 -0
  23. package/dist/access/entities/email.message.entity.js +90 -0
  24. package/dist/access/entities/email.message.entity.js.map +1 -0
  25. package/dist/access/entities/email.recipient.entity.d.ts +10 -0
  26. package/dist/access/entities/email.recipient.entity.js +44 -0
  27. package/dist/access/entities/email.recipient.entity.js.map +1 -0
  28. package/dist/access/entities/index.d.ts +4 -0
  29. package/dist/access/entities/index.js +4 -0
  30. package/dist/access/entities/index.js.map +1 -1
  31. package/dist/access/es6.classes.d.ts +16 -5
  32. package/dist/access/es6.classes.js +32 -0
  33. package/dist/access/es6.classes.js.map +1 -1
  34. package/dist/access/jobs/business.email.job.d.ts +7 -0
  35. package/dist/access/jobs/business.email.job.js +29 -0
  36. package/dist/access/jobs/business.email.job.js.map +1 -0
  37. package/dist/access/jobs/email.attachment.job.d.ts +7 -0
  38. package/dist/access/jobs/email.attachment.job.js +29 -0
  39. package/dist/access/jobs/email.attachment.job.js.map +1 -0
  40. package/dist/access/jobs/email.message.job.d.ts +7 -0
  41. package/dist/access/jobs/email.message.job.js +29 -0
  42. package/dist/access/jobs/email.message.job.js.map +1 -0
  43. package/dist/access/jobs/email.recipient.job.d.ts +7 -0
  44. package/dist/access/jobs/email.recipient.job.js +29 -0
  45. package/dist/access/jobs/email.recipient.job.js.map +1 -0
  46. package/dist/access/jobs/index.d.ts +4 -0
  47. package/dist/access/jobs/index.js +4 -0
  48. package/dist/access/jobs/index.js.map +1 -1
  49. package/dist/access/services/es6.jobs.service.d.ts +9 -1
  50. package/dist/access/services/es6.jobs.service.js +18 -2
  51. package/dist/access/services/es6.jobs.service.js.map +1 -1
  52. package/dist/access/subscribers/business.email.subscriber.d.ts +12 -0
  53. package/dist/access/subscribers/business.email.subscriber.js +40 -0
  54. package/dist/access/subscribers/business.email.subscriber.js.map +1 -0
  55. package/dist/access/subscribers/email.attachment.subscriber.d.ts +12 -0
  56. package/dist/access/subscribers/email.attachment.subscriber.js +40 -0
  57. package/dist/access/subscribers/email.attachment.subscriber.js.map +1 -0
  58. package/dist/access/subscribers/email.message.subscriber.d.ts +12 -0
  59. package/dist/access/subscribers/email.message.subscriber.js +40 -0
  60. package/dist/access/subscribers/email.message.subscriber.js.map +1 -0
  61. package/dist/access/subscribers/email.recipient.subscriber.d.ts +12 -0
  62. package/dist/access/subscribers/email.recipient.subscriber.js +40 -0
  63. package/dist/access/subscribers/email.recipient.subscriber.js.map +1 -0
  64. package/dist/access/subscribers/index.d.ts +4 -0
  65. package/dist/access/subscribers/index.js +4 -0
  66. package/dist/access/subscribers/index.js.map +1 -1
  67. package/dist/config/entity.constants.d.ts +8 -0
  68. package/dist/config/entity.constants.js +8 -0
  69. package/dist/config/entity.constants.js.map +1 -1
  70. package/dist/migrations/1689305975277-CreateBusinessEmailTable.d.ts +5 -0
  71. package/dist/migrations/1689305975277-CreateBusinessEmailTable.js +22 -0
  72. package/dist/migrations/1689305975277-CreateBusinessEmailTable.js.map +1 -0
  73. package/dist/migrations/1689317203054-CreateEmailMessageTable.d.ts +5 -0
  74. package/dist/migrations/1689317203054-CreateEmailMessageTable.js +25 -0
  75. package/dist/migrations/1689317203054-CreateEmailMessageTable.js.map +1 -0
  76. package/dist/migrations/1689317391541-CreateEmailRecipientTable.d.ts +5 -0
  77. package/dist/migrations/1689317391541-CreateEmailRecipientTable.js +20 -0
  78. package/dist/migrations/1689317391541-CreateEmailRecipientTable.js.map +1 -0
  79. package/dist/migrations/1689317476761-CreateEmailAttachmentTable.d.ts +5 -0
  80. package/dist/migrations/1689317476761-CreateEmailAttachmentTable.js +20 -0
  81. package/dist/migrations/1689317476761-CreateEmailAttachmentTable.js.map +1 -0
  82. package/dist/migrations/1696962391164-AddMessageIdentifierBzEmailMessagesTable.d.ts +5 -0
  83. package/dist/migrations/1696962391164-AddMessageIdentifierBzEmailMessagesTable.js +20 -0
  84. package/dist/migrations/1696962391164-AddMessageIdentifierBzEmailMessagesTable.js.map +1 -0
  85. package/dist/migrations/1698908871237-AddUserIdColumnBzBusinessEmailsTable.d.ts +5 -0
  86. package/dist/migrations/1698908871237-AddUserIdColumnBzBusinessEmailsTable.js +15 -0
  87. package/dist/migrations/1698908871237-AddUserIdColumnBzBusinessEmailsTable.js.map +1 -0
  88. package/dist/migrations/1700810225363-CreateBulkUploadTypeTable.js +2 -2
  89. package/dist/migrations/1700810225363-CreateBulkUploadTypeTable.js.map +1 -1
  90. package/package.json +1 -1
@@ -0,0 +1,3 @@
1
+ import { CommonAttributesDto } from '@servicelabsco/nestjs-utility-services';
2
+ export declare class BusinessEmailAttributesDto extends CommonAttributesDto {
3
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BusinessEmailAttributesDto = void 0;
4
+ const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
5
+ class BusinessEmailAttributesDto extends nestjs_utility_services_1.CommonAttributesDto {
6
+ }
7
+ exports.BusinessEmailAttributesDto = BusinessEmailAttributesDto;
8
+ //# sourceMappingURL=business.email.attributes.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"business.email.attributes.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/business.email.attributes.dto.ts"],"names":[],"mappings":";;;AAAA,oFAA6E;AAC7E,MAAa,0BAA2B,SAAQ,6CAAmB;CAAG;AAAtE,gEAAsE"}
@@ -0,0 +1,5 @@
1
+ import { CommonAttributesDto } from '@servicelabsco/nestjs-utility-services';
2
+ export declare class EmailAttachmentAttributesDto extends CommonAttributesDto {
3
+ size?: number;
4
+ keys?: any;
5
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EmailAttachmentAttributesDto = void 0;
4
+ const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
5
+ class EmailAttachmentAttributesDto extends nestjs_utility_services_1.CommonAttributesDto {
6
+ }
7
+ exports.EmailAttachmentAttributesDto = EmailAttachmentAttributesDto;
8
+ //# sourceMappingURL=email.attachment.attributes.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"email.attachment.attributes.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/email.attachment.attributes.dto.ts"],"names":[],"mappings":";;;AAAA,oFAA6E;AAE7E,MAAa,4BAA6B,SAAQ,6CAAmB;CAGpE;AAHD,oEAGC"}
@@ -0,0 +1,8 @@
1
+ import { CommonAttributesDto } from '@servicelabsco/nestjs-utility-services';
2
+ export declare class EmailMessageAttributesDto extends CommonAttributesDto {
3
+ attachments_count?: number;
4
+ from_user_id?: number;
5
+ in_reply_to?: string;
6
+ threads_count?: number;
7
+ user_managed_tracking?: boolean;
8
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.EmailMessageAttributesDto = void 0;
13
+ const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
14
+ const class_transformer_1 = require("class-transformer");
15
+ const class_validator_1 = require("class-validator");
16
+ class EmailMessageAttributesDto extends nestjs_utility_services_1.CommonAttributesDto {
17
+ }
18
+ exports.EmailMessageAttributesDto = EmailMessageAttributesDto;
19
+ __decorate([
20
+ (0, class_validator_1.IsNumber)(),
21
+ __metadata("design:type", Number)
22
+ ], EmailMessageAttributesDto.prototype, "attachments_count", void 0);
23
+ __decorate([
24
+ (0, class_validator_1.IsOptional)(),
25
+ (0, class_transformer_1.Expose)(),
26
+ (0, class_validator_1.IsNumber)(),
27
+ __metadata("design:type", Number)
28
+ ], EmailMessageAttributesDto.prototype, "from_user_id", void 0);
29
+ //# sourceMappingURL=email.message.attributes.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"email.message.attributes.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/email.message.attributes.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAA6E;AAC7E,yDAA2C;AAC3C,qDAAuD;AAEvD,MAAa,yBAA0B,SAAQ,6CAAmB;CA6BjE;AA7BD,8DA6BC;AA3BG;IADC,IAAA,0BAAQ,GAAE;;oEACgB;AAK3B;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;;+DACW"}
@@ -0,0 +1,4 @@
1
+ import { CommonAttributesDto } from '@servicelabsco/nestjs-utility-services';
2
+ export declare class EmailRecipientAttributesDto extends CommonAttributesDto {
3
+ name?: string;
4
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EmailRecipientAttributesDto = void 0;
4
+ const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
5
+ class EmailRecipientAttributesDto extends nestjs_utility_services_1.CommonAttributesDto {
6
+ }
7
+ exports.EmailRecipientAttributesDto = EmailRecipientAttributesDto;
8
+ //# sourceMappingURL=email.recipient.attributes.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"email.recipient.attributes.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/email.recipient.attributes.dto.ts"],"names":[],"mappings":";;;AAAA,oFAA6E;AAE7E,MAAa,2BAA4B,SAAQ,6CAAmB;CAEnE;AAFD,kEAEC"}
@@ -4,6 +4,7 @@ export * from './add.conversation.dto';
4
4
  export * from './add.listing.preference.dto';
5
5
  export * from './add.scheduled.report.dto';
6
6
  export * from './add.user.preference.dto';
7
+ export * from './business.email.attributes.dto';
7
8
  export * from './business.preference.attributes.dto';
8
9
  export * from './business.user.attributes.dto';
9
10
  export * from './business.user.group.attributes.dto';
@@ -18,6 +19,9 @@ export * from './date.filter.dto';
18
19
  export * from './date.range.filter.dto';
19
20
  export * from './download.log.attributes.dto';
20
21
  export * from './download.log.list.filter.dto';
22
+ export * from './email.attachment.attributes.dto';
23
+ export * from './email.message.attributes.dto';
24
+ export * from './email.recipient.attributes.dto';
21
25
  export * from './group.member.attributes.dto';
22
26
  export * from './group.role.attributes.dto';
23
27
  export * from './list.preference.attributes.dto';
@@ -20,6 +20,7 @@ __exportStar(require("./add.conversation.dto"), exports);
20
20
  __exportStar(require("./add.listing.preference.dto"), exports);
21
21
  __exportStar(require("./add.scheduled.report.dto"), exports);
22
22
  __exportStar(require("./add.user.preference.dto"), exports);
23
+ __exportStar(require("./business.email.attributes.dto"), exports);
23
24
  __exportStar(require("./business.preference.attributes.dto"), exports);
24
25
  __exportStar(require("./business.user.attributes.dto"), exports);
25
26
  __exportStar(require("./business.user.group.attributes.dto"), exports);
@@ -34,6 +35,9 @@ __exportStar(require("./date.filter.dto"), exports);
34
35
  __exportStar(require("./date.range.filter.dto"), exports);
35
36
  __exportStar(require("./download.log.attributes.dto"), exports);
36
37
  __exportStar(require("./download.log.list.filter.dto"), exports);
38
+ __exportStar(require("./email.attachment.attributes.dto"), exports);
39
+ __exportStar(require("./email.message.attributes.dto"), exports);
40
+ __exportStar(require("./email.recipient.attributes.dto"), exports);
37
41
  __exportStar(require("./group.member.attributes.dto"), exports);
38
42
  __exportStar(require("./group.role.attributes.dto"), exports);
39
43
  __exportStar(require("./list.preference.attributes.dto"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C;AAAA,gEAA8C;AAAA,yDAAuC;AAAA,+DAA6C;AAAA,6DAA2C;AAAA,4DAA0C;AAAA,uEAAqD;AAAA,iEAA+C;AAAA,uEAAqD;AAAA,sEAAoD;AAAA,8DAA4C;AAAA,2DAAyC;AAAA,gEAA8C;AAAA,iEAA+C;AAAA,6DAA2C;AAAA,uEAAqD;AAAA,oDAAkC;AAAA,0DAAwC;AAAA,gEAA8C;AAAA,iEAA+C;AAAA,gEAA8C;AAAA,8DAA4C;AAAA,mEAAiD;AAAA,sDAAoC;AAAA,6DAA2C;AAAA,kEAAgD;AAAA,gEAA8C;AAAA,sEAAoD;AAAA,+DAA6C;AAAA,wDAAsC;AAAA,6DAA2C;AAAA,0DAAwC;AAAA,+DAA6C;AAAA,4DAA0C;AAAA,yEAAuD;AAAA,oEAAkD;AAAA,mEAAiD;AAAA,gEAA8C;AAAA,2DAAyC;AAAA,8DAA4C;AAAA,oEAAkD;AAAA,qEAAmD;AAAA,sDAAoC;AAAA,oDAAkC;AAAA,6DAA2C;AAAA,kEAAgD;AAAA,mEAAiD;AAAA,6DAA0C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C;AAAA,gEAA8C;AAAA,yDAAuC;AAAA,+DAA6C;AAAA,6DAA2C;AAAA,4DAA0C;AAAA,kEAAgD;AAAA,uEAAqD;AAAA,iEAA+C;AAAA,uEAAqD;AAAA,sEAAoD;AAAA,8DAA4C;AAAA,2DAAyC;AAAA,gEAA8C;AAAA,iEAA+C;AAAA,6DAA2C;AAAA,uEAAqD;AAAA,oDAAkC;AAAA,0DAAwC;AAAA,gEAA8C;AAAA,iEAA+C;AAAA,oEAAkD;AAAA,iEAA+C;AAAA,mEAAiD;AAAA,gEAA8C;AAAA,8DAA4C;AAAA,mEAAiD;AAAA,sDAAoC;AAAA,6DAA2C;AAAA,kEAAgD;AAAA,gEAA8C;AAAA,sEAAoD;AAAA,+DAA6C;AAAA,wDAAsC;AAAA,6DAA2C;AAAA,0DAAwC;AAAA,+DAA6C;AAAA,4DAA0C;AAAA,yEAAuD;AAAA,oEAAkD;AAAA,mEAAiD;AAAA,gEAA8C;AAAA,2DAAyC;AAAA,8DAA4C;AAAA,oEAAkD;AAAA,qEAAmD;AAAA,sDAAoC;AAAA,oDAAkC;AAAA,6DAA2C;AAAA,kEAAgD;AAAA,mEAAiD;AAAA,6DAA0C"}
@@ -0,0 +1,13 @@
1
+ import { CommonEntity } from '@servicelabsco/nestjs-utility-services';
2
+ import { BusinessEmailAttributesDto } from '../dtos/business.email.attributes.dto';
3
+ import { AccessBusinessEntity } from './access.business.entity';
4
+ export declare class BusinessEmailEntity extends CommonEntity {
5
+ business_id: number;
6
+ product_id: number;
7
+ meta_server_id: number;
8
+ user_id: number;
9
+ email: string;
10
+ active: boolean;
11
+ attributes: BusinessEmailAttributesDto;
12
+ business: AccessBusinessEntity;
13
+ }
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.BusinessEmailEntity = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
15
+ const business_email_attributes_dto_1 = require("../dtos/business.email.attributes.dto");
16
+ const access_business_entity_1 = require("./access.business.entity");
17
+ let BusinessEmailEntity = class BusinessEmailEntity extends nestjs_utility_services_1.CommonEntity {
18
+ };
19
+ exports.BusinessEmailEntity = BusinessEmailEntity;
20
+ __decorate([
21
+ (0, typeorm_1.Column)(),
22
+ __metadata("design:type", Number)
23
+ ], BusinessEmailEntity.prototype, "business_id", void 0);
24
+ __decorate([
25
+ (0, typeorm_1.Column)(),
26
+ __metadata("design:type", Number)
27
+ ], BusinessEmailEntity.prototype, "product_id", void 0);
28
+ __decorate([
29
+ (0, typeorm_1.Column)(),
30
+ __metadata("design:type", Number)
31
+ ], BusinessEmailEntity.prototype, "meta_server_id", void 0);
32
+ __decorate([
33
+ (0, typeorm_1.Column)(),
34
+ __metadata("design:type", Number)
35
+ ], BusinessEmailEntity.prototype, "user_id", void 0);
36
+ __decorate([
37
+ (0, typeorm_1.Column)(),
38
+ __metadata("design:type", String)
39
+ ], BusinessEmailEntity.prototype, "email", void 0);
40
+ __decorate([
41
+ (0, typeorm_1.Column)(),
42
+ __metadata("design:type", Boolean)
43
+ ], BusinessEmailEntity.prototype, "active", void 0);
44
+ __decorate([
45
+ (0, typeorm_1.Column)('json'),
46
+ __metadata("design:type", business_email_attributes_dto_1.BusinessEmailAttributesDto)
47
+ ], BusinessEmailEntity.prototype, "attributes", void 0);
48
+ __decorate([
49
+ (0, typeorm_1.ManyToOne)(() => access_business_entity_1.AccessBusinessEntity),
50
+ (0, typeorm_1.JoinColumn)({ name: 'business_id' }),
51
+ __metadata("design:type", access_business_entity_1.AccessBusinessEntity)
52
+ ], BusinessEmailEntity.prototype, "business", void 0);
53
+ exports.BusinessEmailEntity = BusinessEmailEntity = __decorate([
54
+ (0, typeorm_1.Entity)('bz_business_emails')
55
+ ], BusinessEmailEntity);
56
+ //# sourceMappingURL=business.email.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"business.email.entity.js","sourceRoot":"","sources":["../../../src/access/entities/business.email.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgE;AAChE,oFAAsE;AACtE,yFAAmF;AACnF,qEAAgE;AASzD,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,sCAAY;CAwBpD,CAAA;AAxBY,kDAAmB;AAE5B;IADC,IAAA,gBAAM,GAAE;;wDACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;uDACU;AAGnB;IADC,IAAA,gBAAM,GAAE;;2DACc;AAGvB;IADC,IAAA,gBAAM,GAAE;;oDACO;AAGhB;IADC,IAAA,gBAAM,GAAE;;kDACK;AAGd;IADC,IAAA,gBAAM,GAAE;;mDACO;AAGhB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,0DAA0B;uDAAC;AAGqC;IAA3E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6CAAoB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BAAW,6CAAoB;qDAAC;8BAvBlG,mBAAmB;IAD/B,IAAA,gBAAM,EAAC,oBAAoB,CAAC;GAChB,mBAAmB,CAwB/B"}
@@ -0,0 +1,10 @@
1
+ import { CommonEntity } from '@servicelabsco/nestjs-utility-services';
2
+ import { EmailAttachmentAttributesDto } from '../dtos/email.attachment.attributes.dto';
3
+ import { EmailMessageEntity } from './email.message.entity';
4
+ export declare class EmailAttachmentEntity extends CommonEntity {
5
+ message_id: number;
6
+ name: string;
7
+ url: string;
8
+ attributes: EmailAttachmentAttributesDto;
9
+ message: EmailMessageEntity;
10
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.EmailAttachmentEntity = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
15
+ const email_attachment_attributes_dto_1 = require("../dtos/email.attachment.attributes.dto");
16
+ const email_message_entity_1 = require("./email.message.entity");
17
+ let EmailAttachmentEntity = class EmailAttachmentEntity extends nestjs_utility_services_1.CommonEntity {
18
+ };
19
+ exports.EmailAttachmentEntity = EmailAttachmentEntity;
20
+ __decorate([
21
+ (0, typeorm_1.Column)(),
22
+ __metadata("design:type", Number)
23
+ ], EmailAttachmentEntity.prototype, "message_id", void 0);
24
+ __decorate([
25
+ (0, typeorm_1.Column)(),
26
+ __metadata("design:type", String)
27
+ ], EmailAttachmentEntity.prototype, "name", void 0);
28
+ __decorate([
29
+ (0, typeorm_1.Column)(),
30
+ __metadata("design:type", String)
31
+ ], EmailAttachmentEntity.prototype, "url", void 0);
32
+ __decorate([
33
+ (0, typeorm_1.Column)('json'),
34
+ __metadata("design:type", email_attachment_attributes_dto_1.EmailAttachmentAttributesDto)
35
+ ], EmailAttachmentEntity.prototype, "attributes", void 0);
36
+ __decorate([
37
+ (0, typeorm_1.ManyToOne)(() => email_message_entity_1.EmailMessageEntity),
38
+ (0, typeorm_1.JoinColumn)({ name: 'message_id' }),
39
+ __metadata("design:type", email_message_entity_1.EmailMessageEntity)
40
+ ], EmailAttachmentEntity.prototype, "message", void 0);
41
+ exports.EmailAttachmentEntity = EmailAttachmentEntity = __decorate([
42
+ (0, typeorm_1.Entity)('bz_email_attachments')
43
+ ], EmailAttachmentEntity);
44
+ //# sourceMappingURL=email.attachment.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"email.attachment.entity.js","sourceRoot":"","sources":["../../../src/access/entities/email.attachment.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgE;AAChE,oFAAsE;AACtE,6FAAuF;AACvF,iEAA4D;AASrD,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,sCAAY;CAetD,CAAA;AAfY,sDAAqB;AAE9B;IADC,IAAA,gBAAM,GAAE;;yDACU;AAGnB;IADC,IAAA,gBAAM,GAAE;;mDACI;AAGb;IADC,IAAA,gBAAM,GAAE;;kDACG;AAGZ;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,8DAA4B;yDAAC;AAGgC;IAAxE,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,yCAAkB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;8BAAU,yCAAkB;sDAAC;gCAd5F,qBAAqB;IADjC,IAAA,gBAAM,EAAC,sBAAsB,CAAC;GAClB,qBAAqB,CAejC"}
@@ -0,0 +1,23 @@
1
+ import { CommonEntity } from '@servicelabsco/nestjs-utility-services';
2
+ import { EmailMessageAttributesDto } from '../dtos/email.message.attributes.dto';
3
+ import { BusinessEmailEntity } from './business.email.entity';
4
+ import { EmailAttachmentEntity } from './email.attachment.entity';
5
+ import { EmailRecipientEntity } from './email.recipient.entity';
6
+ export declare class EmailMessageEntity extends CommonEntity {
7
+ email_id: number;
8
+ identifier: string;
9
+ from_email: string;
10
+ subject: string;
11
+ body: string;
12
+ archived_at: Date;
13
+ read: boolean;
14
+ tracking_identifier: string;
15
+ is_tracked: boolean;
16
+ is_visible: boolean;
17
+ parent_id: number;
18
+ sender_id: number;
19
+ attributes: EmailMessageAttributesDto;
20
+ email: BusinessEmailEntity;
21
+ attachments: EmailAttachmentEntity[];
22
+ recipients: EmailRecipientEntity[];
23
+ }
@@ -0,0 +1,90 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.EmailMessageEntity = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
15
+ const email_message_attributes_dto_1 = require("../dtos/email.message.attributes.dto");
16
+ const business_email_entity_1 = require("./business.email.entity");
17
+ const email_attachment_entity_1 = require("./email.attachment.entity");
18
+ const email_recipient_entity_1 = require("./email.recipient.entity");
19
+ let EmailMessageEntity = class EmailMessageEntity extends nestjs_utility_services_1.CommonEntity {
20
+ };
21
+ exports.EmailMessageEntity = EmailMessageEntity;
22
+ __decorate([
23
+ (0, typeorm_1.Column)(),
24
+ __metadata("design:type", Number)
25
+ ], EmailMessageEntity.prototype, "email_id", void 0);
26
+ __decorate([
27
+ (0, typeorm_1.Column)(),
28
+ __metadata("design:type", String)
29
+ ], EmailMessageEntity.prototype, "identifier", void 0);
30
+ __decorate([
31
+ (0, typeorm_1.Column)(),
32
+ __metadata("design:type", String)
33
+ ], EmailMessageEntity.prototype, "from_email", void 0);
34
+ __decorate([
35
+ (0, typeorm_1.Column)(),
36
+ __metadata("design:type", String)
37
+ ], EmailMessageEntity.prototype, "subject", void 0);
38
+ __decorate([
39
+ (0, typeorm_1.Column)(),
40
+ __metadata("design:type", String)
41
+ ], EmailMessageEntity.prototype, "body", void 0);
42
+ __decorate([
43
+ (0, typeorm_1.Column)(),
44
+ __metadata("design:type", Date)
45
+ ], EmailMessageEntity.prototype, "archived_at", void 0);
46
+ __decorate([
47
+ (0, typeorm_1.Column)(),
48
+ __metadata("design:type", Boolean)
49
+ ], EmailMessageEntity.prototype, "read", void 0);
50
+ __decorate([
51
+ (0, typeorm_1.Column)(),
52
+ __metadata("design:type", String)
53
+ ], EmailMessageEntity.prototype, "tracking_identifier", void 0);
54
+ __decorate([
55
+ (0, typeorm_1.Column)(),
56
+ __metadata("design:type", Boolean)
57
+ ], EmailMessageEntity.prototype, "is_tracked", void 0);
58
+ __decorate([
59
+ (0, typeorm_1.Column)(),
60
+ __metadata("design:type", Boolean)
61
+ ], EmailMessageEntity.prototype, "is_visible", void 0);
62
+ __decorate([
63
+ (0, typeorm_1.Column)(),
64
+ __metadata("design:type", Number)
65
+ ], EmailMessageEntity.prototype, "parent_id", void 0);
66
+ __decorate([
67
+ (0, typeorm_1.Column)(),
68
+ __metadata("design:type", Number)
69
+ ], EmailMessageEntity.prototype, "sender_id", void 0);
70
+ __decorate([
71
+ (0, typeorm_1.Column)('json'),
72
+ __metadata("design:type", email_message_attributes_dto_1.EmailMessageAttributesDto)
73
+ ], EmailMessageEntity.prototype, "attributes", void 0);
74
+ __decorate([
75
+ (0, typeorm_1.ManyToOne)(() => business_email_entity_1.BusinessEmailEntity),
76
+ (0, typeorm_1.JoinColumn)({ name: 'email_id' }),
77
+ __metadata("design:type", business_email_entity_1.BusinessEmailEntity)
78
+ ], EmailMessageEntity.prototype, "email", void 0);
79
+ __decorate([
80
+ (0, typeorm_1.OneToMany)(() => email_attachment_entity_1.EmailAttachmentEntity, (attachment) => attachment.message),
81
+ __metadata("design:type", Array)
82
+ ], EmailMessageEntity.prototype, "attachments", void 0);
83
+ __decorate([
84
+ (0, typeorm_1.OneToMany)(() => email_recipient_entity_1.EmailRecipientEntity, (recipient) => recipient.message),
85
+ __metadata("design:type", Array)
86
+ ], EmailMessageEntity.prototype, "recipients", void 0);
87
+ exports.EmailMessageEntity = EmailMessageEntity = __decorate([
88
+ (0, typeorm_1.Entity)('bz_email_messages')
89
+ ], EmailMessageEntity);
90
+ //# sourceMappingURL=email.message.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"email.message.entity.js","sourceRoot":"","sources":["../../../src/access/entities/email.message.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA2E;AAC3E,oFAAsE;AACtE,uFAAiF;AACjF,mEAA8D;AAC9D,uEAAkE;AAClE,qEAAgE;AASzD,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,sCAAY;CA8CnD,CAAA;AA9CY,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;;sDACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;qDACS;AAGlB;IADC,IAAA,gBAAM,GAAE;;qDACS;AAGlB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,wDAAyB;sDAAC;AAGkC;IAAvE,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,2CAAmB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;8BAAQ,2CAAmB;iDAAC;AAEvB;IAA3E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,+CAAqB,EAAE,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,CAAC;;uDAAsC;AAExC;IAAxE,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6CAAoB,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC;;sDAAoC;6BA7CnG,kBAAkB;IAD9B,IAAA,gBAAM,EAAC,mBAAmB,CAAC;GACf,kBAAkB,CA8C9B"}
@@ -0,0 +1,10 @@
1
+ import { CommonEntity } from '@servicelabsco/nestjs-utility-services';
2
+ import { EmailRecipientAttributesDto } from '../dtos/email.recipient.attributes.dto';
3
+ import { EmailMessageEntity } from './email.message.entity';
4
+ export declare class EmailRecipientEntity extends CommonEntity {
5
+ message_id: number;
6
+ type: string;
7
+ email: string;
8
+ attributes: EmailRecipientAttributesDto;
9
+ message: EmailMessageEntity;
10
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.EmailRecipientEntity = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
15
+ const email_recipient_attributes_dto_1 = require("../dtos/email.recipient.attributes.dto");
16
+ const email_message_entity_1 = require("./email.message.entity");
17
+ let EmailRecipientEntity = class EmailRecipientEntity extends nestjs_utility_services_1.CommonEntity {
18
+ };
19
+ exports.EmailRecipientEntity = EmailRecipientEntity;
20
+ __decorate([
21
+ (0, typeorm_1.Column)(),
22
+ __metadata("design:type", Number)
23
+ ], EmailRecipientEntity.prototype, "message_id", void 0);
24
+ __decorate([
25
+ (0, typeorm_1.Column)(),
26
+ __metadata("design:type", String)
27
+ ], EmailRecipientEntity.prototype, "type", void 0);
28
+ __decorate([
29
+ (0, typeorm_1.Column)(),
30
+ __metadata("design:type", String)
31
+ ], EmailRecipientEntity.prototype, "email", void 0);
32
+ __decorate([
33
+ (0, typeorm_1.Column)('json'),
34
+ __metadata("design:type", email_recipient_attributes_dto_1.EmailRecipientAttributesDto)
35
+ ], EmailRecipientEntity.prototype, "attributes", void 0);
36
+ __decorate([
37
+ (0, typeorm_1.ManyToOne)(() => email_message_entity_1.EmailMessageEntity),
38
+ (0, typeorm_1.JoinColumn)({ name: 'message_id' }),
39
+ __metadata("design:type", email_message_entity_1.EmailMessageEntity)
40
+ ], EmailRecipientEntity.prototype, "message", void 0);
41
+ exports.EmailRecipientEntity = EmailRecipientEntity = __decorate([
42
+ (0, typeorm_1.Entity)('bz_email_recipients')
43
+ ], EmailRecipientEntity);
44
+ //# sourceMappingURL=email.recipient.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"email.recipient.entity.js","sourceRoot":"","sources":["../../../src/access/entities/email.recipient.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgE;AAChE,oFAAsE;AACtE,2FAAqF;AACrF,iEAA4D;AASrD,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,sCAAY;CAerD,CAAA;AAfY,oDAAoB;AAE7B;IADC,IAAA,gBAAM,GAAE;;wDACU;AAGnB;IADC,IAAA,gBAAM,GAAE;;kDACI;AAGb;IADC,IAAA,gBAAM,GAAE;;mDACK;AAGd;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,4DAA2B;wDAAC;AAGiC;IAAxE,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,yCAAkB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;8BAAU,yCAAkB;qDAAC;+BAd5F,oBAAoB;IADhC,IAAA,gBAAM,EAAC,qBAAqB,CAAC;GACjB,oBAAoB,CAehC"}
@@ -1,4 +1,5 @@
1
1
  export * from './access.business.entity';
2
+ export * from './business.email.entity';
2
3
  export * from './business.group.role.entity';
3
4
  export * from './business.preference.entity';
4
5
  export * from './business.user.entity';
@@ -10,6 +11,9 @@ export * from './custom.report.entity';
10
11
  export * from './dashboard.component.entity';
11
12
  export * from './dashboard.entity';
12
13
  export * from './download.log.entity';
14
+ export * from './email.attachment.entity';
15
+ export * from './email.message.entity';
16
+ export * from './email.recipient.entity';
13
17
  export * from './group.member.entity';
14
18
  export * from './group.role.entity';
15
19
  export * from './list.preference.entity';
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./access.business.entity"), exports);
18
+ __exportStar(require("./business.email.entity"), exports);
18
19
  __exportStar(require("./business.group.role.entity"), exports);
19
20
  __exportStar(require("./business.preference.entity"), exports);
20
21
  __exportStar(require("./business.user.entity"), exports);
@@ -26,6 +27,9 @@ __exportStar(require("./custom.report.entity"), exports);
26
27
  __exportStar(require("./dashboard.component.entity"), exports);
27
28
  __exportStar(require("./dashboard.entity"), exports);
28
29
  __exportStar(require("./download.log.entity"), exports);
30
+ __exportStar(require("./email.attachment.entity"), exports);
31
+ __exportStar(require("./email.message.entity"), exports);
32
+ __exportStar(require("./email.recipient.entity"), exports);
29
33
  __exportStar(require("./group.member.entity"), exports);
30
34
  __exportStar(require("./group.role.entity"), exports);
31
35
  __exportStar(require("./list.preference.entity"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AAAA,+DAA6C;AAAA,+DAA6C;AAAA,yDAAuC;AAAA,+DAA6C;AAAA,8DAA4C;AAAA,sDAAoC;AAAA,wDAAsC;AAAA,yDAAuC;AAAA,+DAA6C;AAAA,qDAAmC;AAAA,wDAAsC;AAAA,wDAAsC;AAAA,sDAAoC;AAAA,2DAAyC;AAAA,0DAAwC;AAAA,wDAAsC;AAAA,8DAA4C;AAAA,uDAAqC;AAAA,gDAA8B;AAAA,qDAAmC;AAAA,kDAAgC;AAAA,uDAAqC;AAAA,2DAAyC;AAAA,iEAA+C;AAAA,mDAAiC;AAAA,sDAAoC;AAAA,4DAA0C;AAAA,qDAAmC;AAAA,0DAAwC;AAAA,2DAAyC;AAAA,qDAAkC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AAAA,0DAAwC;AAAA,+DAA6C;AAAA,+DAA6C;AAAA,yDAAuC;AAAA,+DAA6C;AAAA,8DAA4C;AAAA,sDAAoC;AAAA,wDAAsC;AAAA,yDAAuC;AAAA,+DAA6C;AAAA,qDAAmC;AAAA,wDAAsC;AAAA,4DAA0C;AAAA,yDAAuC;AAAA,2DAAyC;AAAA,wDAAsC;AAAA,sDAAoC;AAAA,2DAAyC;AAAA,0DAAwC;AAAA,wDAAsC;AAAA,8DAA4C;AAAA,uDAAqC;AAAA,gDAA8B;AAAA,qDAAmC;AAAA,kDAAgC;AAAA,uDAAqC;AAAA,2DAAyC;AAAA,iEAA+C;AAAA,mDAAiC;AAAA,sDAAoC;AAAA,4DAA0C;AAAA,qDAAmC;AAAA,0DAAwC;AAAA,2DAAyC;AAAA,qDAAkC"}
@@ -11,10 +11,10 @@ import { AddBusinessPreferenceDto } from './dtos/add.business.preference.dto';
11
11
  import { AddConversationDto } from './dtos/add.conversation.dto';
12
12
  import { AddListingPreferenceDto } from './dtos/add.listing.preference.dto';
13
13
  import { AddScheduledReportDto } from './dtos/add.scheduled.report.dto';
14
+ import { BusinessEmailAttributesDto } from './dtos/business.email.attributes.dto';
14
15
  import { CommonListFilterDto } from './dtos/common.list.filter.dto';
15
16
  import { DateFilterDto } from './dtos/date.filter.dto';
16
17
  import { DateRangeFilterDto } from './dtos/date.range.filter.dto';
17
- import { GroupRoleAttributesDto } from './dtos/group.role.attributes.dto';
18
18
  import { ListResponseDto } from './dtos/list.response.dto';
19
19
  import { ListResponseFormatDto } from './dtos/list.response.format.dto';
20
20
  import { NumberRangeFilterDto } from './dtos/number.range.filter.dto';
@@ -23,6 +23,7 @@ import { ProcessListingPayloadDto } from './dtos/process.listing.payload.dto';
23
23
  import { StringSearchDto } from './dtos/string.search.dto';
24
24
  import { TaggedUserDto } from './dtos/tagged.user.dto';
25
25
  import { AccessBusinessEntity } from './entities/access.business.entity';
26
+ import { BusinessEmailEntity } from './entities/business.email.entity';
26
27
  import { BusinessGroupRoleEntity } from './entities/business.group.role.entity';
27
28
  import { BusinessUserEntity } from './entities/business.user.entity';
28
29
  import { BusinessUserRoleEntity } from './entities/business.user.role.entity';
@@ -30,6 +31,8 @@ import { ChildMenuEntity } from './entities/child.menu.entity';
30
31
  import { ConversationEntity } from './entities/conversation.entity';
31
32
  import { DashboardComponentEntity } from './entities/dashboard.component.entity';
32
33
  import { DownloadLogEntity } from './entities/download.log.entity';
34
+ import { EmailMessageEntity } from './entities/email.message.entity';
35
+ import { EmailRecipientEntity } from './entities/email.recipient.entity';
33
36
  import { GroupMemberEntity } from './entities/group.member.entity';
34
37
  import { GroupRoleEntity } from './entities/group.role.entity';
35
38
  import { ListingPreferenceEntity } from './entities/listing.preference.entity';
@@ -43,6 +46,7 @@ import { ProductEntity } from './entities/product.entity';
43
46
  import { ScheduledReportEntity } from './entities/scheduled.report.entity';
44
47
  import { UiActionRoleEntity } from './entities/ui.action.role.entity';
45
48
  import { UserRoleEntity } from './entities/user.role.entity';
49
+ import { BusinessEmailJob } from './jobs/business.email.job';
46
50
  import { BusinessGroupRoleJob } from './jobs/business.group.role.job';
47
51
  import { BusinessPreferenceJob } from './jobs/business.preference.job';
48
52
  import { BusinessUserGroupJob } from './jobs/business.user.group.job';
@@ -54,6 +58,9 @@ import { CustomReportJob } from './jobs/custom.report.job';
54
58
  import { DashboardComponentJob } from './jobs/dashboard.component.job';
55
59
  import { DashboardJob } from './jobs/dashboard.job';
56
60
  import { DownloadLogJob } from './jobs/download.log.job';
61
+ import { EmailAttachmentJob } from './jobs/email.attachment.job';
62
+ import { EmailMessageJob } from './jobs/email.message.job';
63
+ import { EmailRecipientJob } from './jobs/email.recipient.job';
57
64
  import { GroupMemberJob } from './jobs/group.member.job';
58
65
  import { GroupRoleJob } from './jobs/group.role.job';
59
66
  import { ListPreferenceJob } from './jobs/list.preference.job';
@@ -101,6 +108,7 @@ import { ListingPreferenceService } from './services/listing.preference.service'
101
108
  import { ListingService } from './services/listing.service';
102
109
  import { LoadEntityService } from './services/load.entity.service';
103
110
  import { UserPreferenceService } from './services/user.preference.service';
111
+ import { BusinessEmailSubscriber } from './subscribers/business.email.subscriber';
104
112
  import { BusinessGroupRoleSubscriber } from './subscribers/business.group.role.subscriber';
105
113
  import { BusinessPreferenceSubscriber } from './subscribers/business.preference.subscriber';
106
114
  import { BusinessUserGroupSubscriber } from './subscribers/business.user.group.subscriber';
@@ -112,6 +120,9 @@ import { CustomReportSubscriber } from './subscribers/custom.report.subscriber';
112
120
  import { DashboardComponentSubscriber } from './subscribers/dashboard.component.subscriber';
113
121
  import { DashboardSubscriber } from './subscribers/dashboard.subscriber';
114
122
  import { DownloadLogSubscriber } from './subscribers/download.log.subscriber';
123
+ import { EmailAttachmentSubscriber } from './subscribers/email.attachment.subscriber';
124
+ import { EmailMessageSubscriber } from './subscribers/email.message.subscriber';
125
+ import { EmailRecipientSubscriber } from './subscribers/email.recipient.subscriber';
115
126
  import { GroupMemberSubscriber } from './subscribers/group.member.subscriber';
116
127
  import { GroupRoleSubscriber } from './subscribers/group.role.subscriber';
117
128
  import { ListPreferenceSubscriber } from './subscribers/list.preference.subscriber';
@@ -134,12 +145,12 @@ import { UserPreferenceSubscriber } from './subscribers/user.preference.subscrib
134
145
  import { UserRoleSubscriber } from './subscribers/user.role.subscriber';
135
146
  declare const es6Classes: {
136
147
  controllers: (typeof AccessMenuController | typeof BusinessPreferenceController | typeof DashboardController | typeof DownloadLogController | typeof ListingController | typeof ListingPreferenceController | typeof ScheduledReportController | typeof UserPreferenceController)[];
137
- dtos: (typeof GroupRoleAttributesDto | typeof TaggedUserDto | typeof AccessBusinessParamDto | typeof AddBusinessPreferenceDto | typeof StringSearchDto | typeof DateRangeFilterDto | typeof DateFilterDto | typeof ListResponseFormatDto | typeof NumberRangeFilterDto | typeof CommonListFilterDto | typeof ListResponseDto | typeof ProcessCommonListConfigDto | typeof ProcessListingPayloadDto | typeof AddListingPreferenceDto | typeof AddScheduledReportDto | typeof AddConversationDto)[];
138
- entities: (typeof AccessBusinessEntity | typeof BusinessGroupRoleEntity | typeof BusinessUserEntity | typeof ProductEntity | typeof GroupRoleEntity | typeof BusinessUserRoleEntity | typeof MenuRoleEntity | typeof MenuEntity | typeof UiActionRoleEntity | typeof MenuActionEntity | typeof ChildMenuEntity | typeof ConversationEntity | typeof DashboardComponentEntity | typeof DownloadLogEntity | typeof GroupMemberEntity | typeof PreferenceUserEntity | typeof ListingPreferenceEntity | typeof PreferenceUserGroupEntity | typeof ModuleMenuEntity | typeof ScheduledReportEntity | typeof UserRoleEntity)[];
139
- jobs: (typeof BusinessGroupRoleJob | typeof BusinessPreferenceJob | typeof BusinessUserGroupJob | typeof BusinessUserJob | typeof BusinessUserRoleJob | typeof ChildMenuJob | typeof ConversationJob | typeof CustomReportJob | typeof DashboardComponentJob | typeof DashboardJob | typeof DownloadLogJob | typeof GroupMemberJob | typeof GroupRoleJob | typeof ListPreferenceJob | typeof ListingColumnJob | typeof ListingPageJob | typeof ListingPreferenceJob | typeof MenuActionJob | typeof MenuJob | typeof MenuRoleJob | typeof ModuleJob | typeof ModuleMenuJob | typeof PreferenceUserGroupJob | typeof PreferenceUsersJob | typeof ProductJob | typeof RoleGroupJob | typeof ScheduledReportProcessingJob | typeof ScheduledReportJob | typeof UiActionJob | typeof UiActionRoleJob | typeof UserPreferenceJob | typeof UserRoleJob)[];
148
+ dtos: (typeof BusinessEmailAttributesDto | typeof TaggedUserDto | typeof AccessBusinessParamDto | typeof AddBusinessPreferenceDto | typeof StringSearchDto | typeof DateRangeFilterDto | typeof DateFilterDto | typeof ListResponseFormatDto | typeof NumberRangeFilterDto | typeof CommonListFilterDto | typeof ListResponseDto | typeof ProcessCommonListConfigDto | typeof ProcessListingPayloadDto | typeof AddListingPreferenceDto | typeof AddScheduledReportDto | typeof AddConversationDto)[];
149
+ entities: (typeof AccessBusinessEntity | typeof BusinessEmailEntity | typeof BusinessGroupRoleEntity | typeof BusinessUserEntity | typeof ProductEntity | typeof GroupRoleEntity | typeof BusinessUserRoleEntity | typeof MenuRoleEntity | typeof MenuEntity | typeof UiActionRoleEntity | typeof MenuActionEntity | typeof ChildMenuEntity | typeof ConversationEntity | typeof DashboardComponentEntity | typeof DownloadLogEntity | typeof EmailRecipientEntity | typeof EmailMessageEntity | typeof GroupMemberEntity | typeof PreferenceUserEntity | typeof ListingPreferenceEntity | typeof PreferenceUserGroupEntity | typeof ModuleMenuEntity | typeof ScheduledReportEntity | typeof UserRoleEntity)[];
150
+ jobs: (typeof BusinessEmailJob | typeof BusinessGroupRoleJob | typeof BusinessPreferenceJob | typeof BusinessUserGroupJob | typeof BusinessUserJob | typeof BusinessUserRoleJob | typeof ChildMenuJob | typeof ConversationJob | typeof CustomReportJob | typeof DashboardComponentJob | typeof DashboardJob | typeof DownloadLogJob | typeof EmailAttachmentJob | typeof EmailMessageJob | typeof EmailRecipientJob | typeof GroupMemberJob | typeof GroupRoleJob | typeof ListPreferenceJob | typeof ListingColumnJob | typeof ListingPageJob | typeof ListingPreferenceJob | typeof MenuActionJob | typeof MenuJob | typeof MenuRoleJob | typeof ModuleJob | typeof ModuleMenuJob | typeof PreferenceUserGroupJob | typeof PreferenceUsersJob | typeof ProductJob | typeof RoleGroupJob | typeof ScheduledReportProcessingJob | typeof ScheduledReportJob | typeof UiActionJob | typeof UiActionRoleJob | typeof UserPreferenceJob | typeof UserRoleJob)[];
140
151
  libraries: (typeof ProcessApplicationMenu | typeof ProcessMenuDetails | typeof ProcessDashboardReport | typeof ProcessListingCsvFile | typeof ProcessDateFilter | typeof ProcessCommonList | typeof ProcessDownloadLogList | typeof ProcessPreferenceData | typeof ProcessScheduledReportData | typeof ProcessScheduledReportList | typeof ProcessBusinessGroupRoleUpdation | typeof ProcessBusinessUserRoleUpdate | typeof ProcessGroupMemberUpdation | typeof ProcessReportData | typeof ProcessConversationData | typeof ConversationController | typeof ProcessTestList)[];
141
152
  middlewares: (typeof BusinessMiddleware)[];
142
153
  services: (typeof AccessBusinessService | typeof ListingService | typeof ListingPreferenceService | typeof BusinessUserRoleService | typeof BusinessPreferenceService | typeof Es6JobsService | typeof LoadEntityService | typeof UserPreferenceService)[];
143
- subscribers: (typeof BusinessGroupRoleSubscriber | typeof BusinessPreferenceSubscriber | typeof BusinessUserGroupSubscriber | typeof BusinessUserRoleSubscriber | typeof BusinessUserSubscriber | typeof ChildMenuSubscriber | typeof ConversationSubscriber | typeof CustomReportSubscriber | typeof DashboardComponentSubscriber | typeof DashboardSubscriber | typeof DownloadLogSubscriber | typeof GroupMemberSubscriber | typeof GroupRoleSubscriber | typeof ListPreferenceSubscriber | typeof ListingColumnSubscriber | typeof ListingPageSubscriber | typeof ListingPreferenceSubscriber | typeof MenuActionSubscriber | typeof MenuRoleSubscriber | typeof MenuSubscriber | typeof ModuleMenuSubscriber | typeof ModuleSubscriber | typeof PreferenceUserGroupSubscriber | typeof PreferenceUserSubscriber | typeof ProductSubscriber | typeof RoleGroupSubscriber | typeof ScheduledReportSubscriber | typeof UiActionRoleSubscriber | typeof UiActionSubscriber | typeof UserPreferenceSubscriber | typeof UserRoleSubscriber)[];
154
+ subscribers: (typeof BusinessEmailSubscriber | typeof BusinessGroupRoleSubscriber | typeof BusinessPreferenceSubscriber | typeof BusinessUserGroupSubscriber | typeof BusinessUserRoleSubscriber | typeof BusinessUserSubscriber | typeof ChildMenuSubscriber | typeof ConversationSubscriber | typeof CustomReportSubscriber | typeof DashboardComponentSubscriber | typeof DashboardSubscriber | typeof DownloadLogSubscriber | typeof EmailAttachmentSubscriber | typeof EmailMessageSubscriber | typeof EmailRecipientSubscriber | typeof GroupMemberSubscriber | typeof GroupRoleSubscriber | typeof ListPreferenceSubscriber | typeof ListingColumnSubscriber | typeof ListingPageSubscriber | typeof ListingPreferenceSubscriber | typeof MenuActionSubscriber | typeof MenuRoleSubscriber | typeof MenuSubscriber | typeof ModuleMenuSubscriber | typeof ModuleSubscriber | typeof PreferenceUserGroupSubscriber | typeof PreferenceUserSubscriber | typeof ProductSubscriber | typeof RoleGroupSubscriber | typeof ScheduledReportSubscriber | typeof UiActionRoleSubscriber | typeof UiActionSubscriber | typeof UserPreferenceSubscriber | typeof UserRoleSubscriber)[];
144
155
  };
145
156
  export default es6Classes;