@servicelabsco/slabs-access-manager 0.1.205 → 0.1.207

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 (60) hide show
  1. package/dist/access/controllers/email.rule.controller.d.ts +21 -0
  2. package/dist/access/controllers/email.rule.controller.js +138 -0
  3. package/dist/access/controllers/email.rule.controller.js.map +1 -0
  4. package/dist/access/controllers/index.d.ts +1 -0
  5. package/dist/access/controllers/index.js +1 -0
  6. package/dist/access/controllers/index.js.map +1 -1
  7. package/dist/access/controllers/user.notification.controller.js +7 -1
  8. package/dist/access/controllers/user.notification.controller.js.map +1 -1
  9. package/dist/access/dtos/add.email.rule.dto.d.ts +8 -0
  10. package/dist/access/dtos/add.email.rule.dto.js +51 -0
  11. package/dist/access/dtos/add.email.rule.dto.js.map +1 -0
  12. package/dist/access/dtos/email.rule.attributes.dto.d.ts +3 -0
  13. package/dist/access/dtos/email.rule.attributes.dto.js +8 -0
  14. package/dist/access/dtos/email.rule.attributes.dto.js.map +1 -0
  15. package/dist/access/dtos/email.rule.list.filter.dto.d.ts +4 -0
  16. package/dist/access/dtos/email.rule.list.filter.dto.js +25 -0
  17. package/dist/access/dtos/email.rule.list.filter.dto.js.map +1 -0
  18. package/dist/access/dtos/index.d.ts +3 -0
  19. package/dist/access/dtos/index.js +3 -0
  20. package/dist/access/dtos/index.js.map +1 -1
  21. package/dist/access/entities/email.rule.entity.d.ts +15 -0
  22. package/dist/access/entities/email.rule.entity.js +65 -0
  23. package/dist/access/entities/email.rule.entity.js.map +1 -0
  24. package/dist/access/entities/index.d.ts +1 -0
  25. package/dist/access/entities/index.js +1 -0
  26. package/dist/access/entities/index.js.map +1 -1
  27. package/dist/access/es6.classes.d.ts +9 -4
  28. package/dist/access/es6.classes.js +18 -0
  29. package/dist/access/es6.classes.js.map +1 -1
  30. package/dist/access/jobs/email.rule.job.d.ts +7 -0
  31. package/dist/access/jobs/email.rule.job.js +29 -0
  32. package/dist/access/jobs/email.rule.job.js.map +1 -0
  33. package/dist/access/jobs/index.d.ts +1 -0
  34. package/dist/access/jobs/index.js +1 -0
  35. package/dist/access/jobs/index.js.map +1 -1
  36. package/dist/access/libraries/index.d.ts +2 -0
  37. package/dist/access/libraries/index.js +2 -0
  38. package/dist/access/libraries/index.js.map +1 -1
  39. package/dist/access/libraries/process.email.rule.data.d.ts +15 -0
  40. package/dist/access/libraries/process.email.rule.data.js +60 -0
  41. package/dist/access/libraries/process.email.rule.data.js.map +1 -0
  42. package/dist/access/libraries/process.email.rule.list.d.ts +21 -0
  43. package/dist/access/libraries/process.email.rule.list.js +41 -0
  44. package/dist/access/libraries/process.email.rule.list.js.map +1 -0
  45. package/dist/access/services/es6.jobs.service.d.ts +3 -1
  46. package/dist/access/services/es6.jobs.service.js +5 -1
  47. package/dist/access/services/es6.jobs.service.js.map +1 -1
  48. package/dist/access/subscribers/email.rule.subscriber.d.ts +10 -0
  49. package/dist/access/subscribers/email.rule.subscriber.js +34 -0
  50. package/dist/access/subscribers/email.rule.subscriber.js.map +1 -0
  51. package/dist/access/subscribers/index.d.ts +1 -0
  52. package/dist/access/subscribers/index.js +1 -0
  53. package/dist/access/subscribers/index.js.map +1 -1
  54. package/dist/config/entity.constants.d.ts +2 -0
  55. package/dist/config/entity.constants.js +2 -0
  56. package/dist/config/entity.constants.js.map +1 -1
  57. package/dist/migrations/1733988468917-CreateEmailRuleTable.d.ts +5 -0
  58. package/dist/migrations/1733988468917-CreateEmailRuleTable.js +24 -0
  59. package/dist/migrations/1733988468917-CreateEmailRuleTable.js.map +1 -0
  60. package/package.json +1 -1
@@ -0,0 +1,21 @@
1
+ import { AccessBusinessService } from '../services/access.business.service';
2
+ import { SqlService } from '@servicelabsco/nestjs-utility-services';
3
+ import { ListingService } from '../services/listing.service';
4
+ import { EmailRuleListFilterDto } from '../dtos/email.rule.list.filter.dto';
5
+ import { DbFindDto } from '../dtos/db.find.dto';
6
+ import { BusinessParamDto } from '../dtos/business.param.dto';
7
+ import { EmailRuleEntity } from '../entities/email.rule.entity';
8
+ import { AddEmailRuleDto } from '../dtos/add.email.rule.dto';
9
+ export declare class EmailRuleController {
10
+ private readonly accessBusinessService;
11
+ private readonly sqlService;
12
+ private readonly listingService;
13
+ constructor(accessBusinessService: AccessBusinessService, sqlService: SqlService, listingService: ListingService);
14
+ search(body: EmailRuleListFilterDto): Promise<import("..").ListResponseDto>;
15
+ find(body: DbFindDto): Promise<any>;
16
+ show(params: BusinessParamDto): Promise<EmailRuleEntity>;
17
+ create(body: AddEmailRuleDto): Promise<EmailRuleEntity>;
18
+ activate(params: BusinessParamDto): Promise<EmailRuleEntity>;
19
+ deactivate(params: BusinessParamDto): Promise<EmailRuleEntity>;
20
+ private nestedValidation;
21
+ }
@@ -0,0 +1,138 @@
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
+ var __param = (this && this.__param) || function (paramIndex, decorator) {
12
+ return function (target, key) { decorator(target, key, paramIndex); }
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.EmailRuleController = void 0;
16
+ const common_1 = require("@nestjs/common");
17
+ const access_business_service_1 = require("../services/access.business.service");
18
+ const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
19
+ const listing_service_1 = require("../services/listing.service");
20
+ const email_rule_list_filter_dto_1 = require("../dtos/email.rule.list.filter.dto");
21
+ const process_email_rule_list_1 = require("../libraries/process.email.rule.list");
22
+ const db_find_dto_1 = require("../dtos/db.find.dto");
23
+ const process_db_find_1 = require("../libraries/process.db.find");
24
+ const business_param_dto_1 = require("../dtos/business.param.dto");
25
+ const email_rule_entity_1 = require("../entities/email.rule.entity");
26
+ const add_email_rule_dto_1 = require("../dtos/add.email.rule.dto");
27
+ const process_email_rule_data_1 = require("../libraries/process.email.rule.data");
28
+ let EmailRuleController = class EmailRuleController {
29
+ constructor(accessBusinessService, sqlService, listingService) {
30
+ this.accessBusinessService = accessBusinessService;
31
+ this.sqlService = sqlService;
32
+ this.listingService = listingService;
33
+ }
34
+ async search(body) {
35
+ const business = await this.accessBusinessService.validateAccess();
36
+ return new process_email_rule_list_1.ProcessEmailRuleList(business, this.listingService).process(body);
37
+ }
38
+ async find(body) {
39
+ const business = await this.accessBusinessService.validateAccess();
40
+ const config = {
41
+ tableName: 'bz_email_rules a',
42
+ primaryCondition: `a.deleted_at is null and a.business_id = ${business.id}`,
43
+ searchCompareKeys: ['a.name'],
44
+ columns: [
45
+ 'a.id',
46
+ 'a.name',
47
+ 'a.description',
48
+ 'a.business_id',
49
+ 'a.script_id',
50
+ 'jsonb(a.filter_condition) filter_condition',
51
+ 'a.active',
52
+ 'a.priority',
53
+ ],
54
+ order: `a.name asc`,
55
+ idsCompareKey: 'a.id',
56
+ ...body,
57
+ };
58
+ return new process_db_find_1.ProcessDbFind(this.sqlService).process(config);
59
+ }
60
+ async show(params) {
61
+ const business = await this.accessBusinessService.validateAccess();
62
+ const record = await email_rule_entity_1.EmailRuleEntity.first(params.id, { relations: ['script'] });
63
+ if (record?.business_id !== business.id)
64
+ throw new nestjs_utility_services_1.AccessException();
65
+ return record;
66
+ }
67
+ async create(body) {
68
+ const business = await this.accessBusinessService.validateAccess();
69
+ return new process_email_rule_data_1.ProcessEmailRuleData(business).process(body);
70
+ }
71
+ async activate(params) {
72
+ const { entity } = await this.nestedValidation(params.id);
73
+ entity.active = true;
74
+ return entity.save();
75
+ }
76
+ async deactivate(params) {
77
+ const { entity } = await this.nestedValidation(params.id);
78
+ entity.active = false;
79
+ return entity.save();
80
+ }
81
+ async nestedValidation(id) {
82
+ const business = await this.accessBusinessService.validateAccess();
83
+ const entity = await email_rule_entity_1.EmailRuleEntity.first(id);
84
+ if (entity?.business_id !== business.id)
85
+ throw new nestjs_utility_services_1.AccessException();
86
+ return { business, entity };
87
+ }
88
+ };
89
+ exports.EmailRuleController = EmailRuleController;
90
+ __decorate([
91
+ (0, common_1.Post)('search'),
92
+ __param(0, (0, common_1.Body)()),
93
+ __metadata("design:type", Function),
94
+ __metadata("design:paramtypes", [email_rule_list_filter_dto_1.EmailRuleListFilterDto]),
95
+ __metadata("design:returntype", Promise)
96
+ ], EmailRuleController.prototype, "search", null);
97
+ __decorate([
98
+ (0, common_1.Post)('find'),
99
+ __param(0, (0, common_1.Body)()),
100
+ __metadata("design:type", Function),
101
+ __metadata("design:paramtypes", [db_find_dto_1.DbFindDto]),
102
+ __metadata("design:returntype", Promise)
103
+ ], EmailRuleController.prototype, "find", null);
104
+ __decorate([
105
+ (0, common_1.Get)(':id'),
106
+ __param(0, (0, common_1.Param)()),
107
+ __metadata("design:type", Function),
108
+ __metadata("design:paramtypes", [business_param_dto_1.BusinessParamDto]),
109
+ __metadata("design:returntype", Promise)
110
+ ], EmailRuleController.prototype, "show", null);
111
+ __decorate([
112
+ (0, common_1.Post)(),
113
+ __param(0, (0, common_1.Body)()),
114
+ __metadata("design:type", Function),
115
+ __metadata("design:paramtypes", [add_email_rule_dto_1.AddEmailRuleDto]),
116
+ __metadata("design:returntype", Promise)
117
+ ], EmailRuleController.prototype, "create", null);
118
+ __decorate([
119
+ (0, common_1.Post)(':id/activate'),
120
+ __param(0, (0, common_1.Param)()),
121
+ __metadata("design:type", Function),
122
+ __metadata("design:paramtypes", [business_param_dto_1.BusinessParamDto]),
123
+ __metadata("design:returntype", Promise)
124
+ ], EmailRuleController.prototype, "activate", null);
125
+ __decorate([
126
+ (0, common_1.Post)(':id/deactivate'),
127
+ __param(0, (0, common_1.Param)()),
128
+ __metadata("design:type", Function),
129
+ __metadata("design:paramtypes", [business_param_dto_1.BusinessParamDto]),
130
+ __metadata("design:returntype", Promise)
131
+ ], EmailRuleController.prototype, "deactivate", null);
132
+ exports.EmailRuleController = EmailRuleController = __decorate([
133
+ (0, common_1.Controller)('api/b/email-rules'),
134
+ __metadata("design:paramtypes", [access_business_service_1.AccessBusinessService,
135
+ nestjs_utility_services_1.SqlService,
136
+ listing_service_1.ListingService])
137
+ ], EmailRuleController);
138
+ //# sourceMappingURL=email.rule.controller.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"email.rule.controller.js","sourceRoot":"","sources":["../../../src/access/controllers/email.rule.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAoE;AACpE,iFAA4E;AAC5E,oFAAqF;AACrF,iEAA6D;AAC7D,mFAA4E;AAC5E,kFAA4E;AAC5E,qDAAgD;AAEhD,kEAA6D;AAC7D,mEAA8D;AAC9D,qEAAgE;AAChE,mEAA6D;AAC7D,kFAA4E;AAQrE,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IAC5B,YACqB,qBAA4C,EAC5C,UAAsB,EACtB,cAA8B;QAF9B,0BAAqB,GAArB,qBAAqB,CAAuB;QAC5C,eAAU,GAAV,UAAU,CAAY;QACtB,mBAAc,GAAd,cAAc,CAAgB;IAChD,CAAC;IAGE,AAAN,KAAK,CAAC,MAAM,CAAS,IAA4B;QAC7C,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,cAAc,EAAE,CAAC;QAEnE,OAAO,IAAI,8CAAoB,CAAC,QAAQ,EAAE,IAAI,CAAC,cAAc,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjF,CAAC;IAGK,AAAN,KAAK,CAAC,IAAI,CAAS,IAAe;QAC9B,MAAM,QAAQ,GAAG,MAAM,IAAI,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AA,aAAI,EAAC,gBAAgB,CAAC;IACL,WAAA,IAAA,cAAK,GAAE,CAAA;;qCAAS,qCAAgB;;qDAMjD;8BAzEQ,mBAAmB;IAD/B,IAAA,mBAAU,EAAC,mBAAmB,CAAC;qCAGgB,+CAAqB;QAChC,oCAAU;QACN,gCAAc;GAJ1C,mBAAmB,CAmF/B"}
@@ -18,6 +18,7 @@ export * from './dashboard.controller';
18
18
  export * from './dashboard.report.controller';
19
19
  export * from './developer.mode.controller';
20
20
  export * from './download.log.controller';
21
+ export * from './email.rule.controller';
21
22
  export * from './fcm.token.controller';
22
23
  export * from './group.member.controller';
23
24
  export * from './group.role.controller';
@@ -34,6 +34,7 @@ __exportStar(require("./dashboard.controller"), exports);
34
34
  __exportStar(require("./dashboard.report.controller"), exports);
35
35
  __exportStar(require("./developer.mode.controller"), exports);
36
36
  __exportStar(require("./download.log.controller"), exports);
37
+ __exportStar(require("./email.rule.controller"), exports);
37
38
  __exportStar(require("./fcm.token.controller"), exports);
38
39
  __exportStar(require("./group.member.controller"), exports);
39
40
  __exportStar(require("./group.role.controller"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/controllers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AAAA,2DAAyC;AAAA,2DAAyC;AAAA,gEAA8C;AAAA,wEAAsD;AAAA,wFAAsE;AAAA,mEAAiD;AAAA,mEAAiD;AAAA,qFAAmE;AAAA,gEAA8C;AAAA,2DAAyC;AAAA,2DAAyC;AAAA,8DAA4C;AAAA,4DAA0C;AAAA,iEAA+C;AAAA,mEAAiD;AAAA,yDAAuC;AAAA,gEAA8C;AAAA,8DAA4C;AAAA,4DAA0C;AAAA,yDAAuC;AAAA,4DAA0C;AAAA,0DAAwC;AAAA,uDAAqC;AAAA,kEAAgD;AAAA,gEAA8C;AAAA,qEAAmD;AAAA,mDAAiC;AAAA,iEAA+C;AAAA,+DAA4C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/controllers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AAAA,2DAAyC;AAAA,2DAAyC;AAAA,gEAA8C;AAAA,wEAAsD;AAAA,wFAAsE;AAAA,mEAAiD;AAAA,mEAAiD;AAAA,qFAAmE;AAAA,gEAA8C;AAAA,2DAAyC;AAAA,2DAAyC;AAAA,8DAA4C;AAAA,4DAA0C;AAAA,iEAA+C;AAAA,mEAAiD;AAAA,yDAAuC;AAAA,gEAA8C;AAAA,8DAA4C;AAAA,4DAA0C;AAAA,0DAAwC;AAAA,yDAAuC;AAAA,4DAA0C;AAAA,0DAAwC;AAAA,uDAAqC;AAAA,kEAAgD;AAAA,gEAA8C;AAAA,qEAAmD;AAAA,mDAAiC;AAAA,iEAA+C;AAAA,+DAA4C"}
@@ -19,6 +19,7 @@ const typeorm_1 = require("typeorm");
19
19
  const business_param_dto_1 = require("../dtos/business.param.dto");
20
20
  const user_notification_list_filter_dto_1 = require("../dtos/user.notification.list.filter.dto");
21
21
  const user_notification_entity_1 = require("../entities/user.notification.entity");
22
+ const product_type_enum_1 = require("../enums/product.type.enum");
22
23
  const process_db_find_1 = require("../libraries/process.db.find");
23
24
  const process_user_notification_list_1 = require("../libraries/process.user.notification.list");
24
25
  const access_business_service_1 = require("../services/access.business.service");
@@ -73,8 +74,13 @@ let UserNotificationController = class UserNotificationController {
73
74
  async archiveAll() {
74
75
  const business = await this.accessBusinessService.validateAccess();
75
76
  const user = nestjs_utility_services_1.Auth.user();
77
+ let productIds = [product_type_enum_1.ProductTypeEnum.FINOPS, product_type_enum_1.ProductTypeEnum.EMPLOYEE];
78
+ const productId = user.auth_attributes.product_id;
79
+ if (!productIds.includes(productId)) {
80
+ productIds = [productId];
81
+ }
76
82
  const notifications = await user_notification_entity_1.UserNotificationEntity.find({
77
- where: { business_id: business.id, user_id: user.id, archived_at: (0, typeorm_1.IsNull)(), product_id: user.auth_attributes.product_id },
83
+ where: { business_id: business.id, user_id: user.id, archived_at: (0, typeorm_1.IsNull)(), product_id: (0, typeorm_1.In)(productIds) },
78
84
  });
79
85
  for (const notification of notifications) {
80
86
  notification.archived_at = new Date();
@@ -1 +1 @@
1
- {"version":3,"file":"user.notification.controller.js","sourceRoot":"","sources":["../../../src/access/controllers/user.notification.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAoE;AACpE,oFAA4G;AAC5G,qCAAiC;AACjC,mEAA8D;AAE9D,iGAA0F;AAC1F,mFAA8E;AAC9E,kEAA6D;AAC7D,gGAA0F;AAC1F,iFAA4E;AAC5E,iEAA6D;AAQtD,IAAM,0BAA0B,GAAhC,MAAM,0BAA0B;IACnC,YACuB,qBAA4C,EAC9C,UAAsB,EACtB,cAA8B;QAF5B,0BAAqB,GAArB,qBAAqB,CAAuB;QAC9C,eAAU,GAAV,UAAU,CAAY;QACtB,mBAAc,GAAd,cAAc,CAAgB;IAChD,CAAC;IAGE,AAAN,KAAK,CAAC,MAAM,CAAS,IAAmC;QACpD,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,cAAc,EAAE,CAAC;QAEnE,OAAO,IAAI,4DAA2B,CAAC,QAAQ,EAAE,IAAI,CAAC,cAAc,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IACxF,CAAC;IAGK,AAAN,KAAK,CAAC,IAAI,CAAS,IAAqB;QACpC,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,cAAc,EAAE,CAAC;QAEnE,MAAM,MAAM,GAAqB;YAC7B,gBAAgB,EAAE,4CAA4C,QAAQ,CAAC,EAAE,EAAE;YAC3E,iBAAiB,EAAE,CAAC,cAAc,CAAC;YACnC,SAAS,EAAE,yBAAyB;YACpC,OAAO,EAAE;gBACL,MAAM;gBACN,UAAU;gBACV,cAAc;gBACd,WAAW;gBACX,eAAe;gBACf,aAAa;gBACb,WAAW;gBACX,WAAW;gBACX,0BAA0B;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gEAA0B;AAQ7B;IADL,IAAA,aAAI,EAAC,QAAQ,CAAC;IACD,WAAA,IAAA,aAAI,GAAE,CAAA;;qCAAO,iEAA6B;;wDAIvD;AAGK;IADL,IAAA,aAAI,EAAC,MAAM,CAAC;IACD,WAAA,IAAA,aAAI,GAAE,CAAA;;qCAAO,yCAAe;;sDA0BvC;AAGK;IADL,IAAA,aAAI,EAAC,iBAAiB,CAAC;;;;gEAcvB;AAGK;IADL,IAAA,aAAI,EAAC,aAAa,CAAC;;;;4DAcnB;AAGK;IADL,IAAA,YAAG,EAAC,KAAK,CAAC;IACC,WAAA,IAAA,cAAK,GAAE,CAAA;;qCAAS,qCAAgB;;sDAQ3C;AAGK;IADL,IAAA,aAAI,EAAC,iBAAiB,CAAC;IACL,WAAA,IAAA,cAAK,GAAE,CAAA;;qCAAS,qCAAgB;;6DAOlD;AAGK;IADL,IAAA,aAAI,EAAC,wBAAwB,CAAC;IACN,WAAA,IAAA,cAAK,GAAE,CAAA;;qCAAS,qCAAgB;;mEAOxD;AAGK;IADL,IAAA,aAAI,EAAC,aAAa,CAAC;IACL,WAAA,IAAA,cAAK,GAAE,CAAA;;qCAAS,qCAAgB;;yDAO9C;AAGK;IADL,IAAA,aAAI,EAAC,eAAe,CAAC;IACL,WAAA,IAAA,cAAK,GAAE,CAAA;;qCAAS,qCAAgB;;2DAOhD;qCA5HQ,0BAA0B;IADtC,IAAA,mBAAU,EAAC,yBAAyB,CAAC;qCAGY,+CAAqB;QAClC,oCAAU;QACN,gCAAc;GAJ1C,0BAA0B,CAuItC"}
1
+ {"version":3,"file":"user.notification.controller.js","sourceRoot":"","sources":["../../../src/access/controllers/user.notification.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAoE;AACpE,oFAA4G;AAC5G,qCAAqC;AACrC,mEAA8D;AAE9D,iGAA0F;AAC1F,mFAA8E;AAC9E,kEAA6D;AAC7D,kEAA6D;AAC7D,gGAA0F;AAC1F,iFAA4E;AAC5E,iE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GK;IADL,IAAA,aAAI,EAAC,MAAM,CAAC;IACD,WAAA,IAAA,aAAI,GAAE,CAAA;;qCAAO,yCAAe;;sDA0BvC;AAGK;IADL,IAAA,aAAI,EAAC,iBAAiB,CAAC;;;;gEAcvB;AAGK;IADL,IAAA,aAAI,EAAC,aAAa,CAAC;;;;4DAsBnB;AAGK;IADL,IAAA,YAAG,EAAC,KAAK,CAAC;IACC,WAAA,IAAA,cAAK,GAAE,CAAA;;qCAAS,qCAAgB;;sDAQ3C;AAGK;IADL,IAAA,aAAI,EAAC,iBAAiB,CAAC;IACL,WAAA,IAAA,cAAK,GAAE,CAAA;;qCAAS,qCAAgB;;6DAOlD;AAGK;IADL,IAAA,aAAI,EAAC,wBAAwB,CAAC;IACN,WAAA,IAAA,cAAK,GAAE,CAAA;;qCAAS,qCAAgB;;mEAOxD;AAGK;IADL,IAAA,aAAI,EAAC,aAAa,CAAC;IACL,WAAA,IAAA,cAAK,GAAE,CAAA;;qCAAS,qCAAgB;;yDAO9C;AAGK;IADL,IAAA,aAAI,EAAC,eAAe,CAAC;IACL,WAAA,IAAA,cAAK,GAAE,CAAA;;qCAAS,qCAAgB;;2DAOhD;qCApIQ,0BAA0B;IADtC,IAAA,mBAAU,EAAC,yBAAyB,CAAC;qCAGY,+CAAqB;QAClC,oCAAU;QACN,gCAAc;GAJ1C,0BAA0B,CA+ItC"}
@@ -0,0 +1,8 @@
1
+ export declare class AddEmailRuleDto {
2
+ id?: number;
3
+ name: string;
4
+ description?: string;
5
+ script_id: number;
6
+ filter_condition: any;
7
+ priority: number;
8
+ }
@@ -0,0 +1,51 @@
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.AddEmailRuleDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ class AddEmailRuleDto {
16
+ }
17
+ exports.AddEmailRuleDto = AddEmailRuleDto;
18
+ __decorate([
19
+ (0, class_transformer_1.Expose)(),
20
+ (0, class_validator_1.IsNumber)(),
21
+ (0, class_validator_1.IsOptional)(),
22
+ __metadata("design:type", Number)
23
+ ], AddEmailRuleDto.prototype, "id", void 0);
24
+ __decorate([
25
+ (0, class_transformer_1.Expose)(),
26
+ (0, class_validator_1.IsNotEmpty)(),
27
+ __metadata("design:type", String)
28
+ ], AddEmailRuleDto.prototype, "name", void 0);
29
+ __decorate([
30
+ (0, class_transformer_1.Expose)(),
31
+ (0, class_validator_1.IsOptional)(),
32
+ __metadata("design:type", String)
33
+ ], AddEmailRuleDto.prototype, "description", void 0);
34
+ __decorate([
35
+ (0, class_transformer_1.Expose)(),
36
+ (0, class_validator_1.IsNotEmpty)(),
37
+ (0, class_validator_1.IsNumber)(),
38
+ __metadata("design:type", Number)
39
+ ], AddEmailRuleDto.prototype, "script_id", void 0);
40
+ __decorate([
41
+ (0, class_transformer_1.Expose)(),
42
+ (0, class_validator_1.IsNotEmpty)(),
43
+ __metadata("design:type", Object)
44
+ ], AddEmailRuleDto.prototype, "filter_condition", void 0);
45
+ __decorate([
46
+ (0, class_transformer_1.Expose)(),
47
+ (0, class_validator_1.IsNumber)(),
48
+ (0, class_validator_1.IsNotEmpty)(),
49
+ __metadata("design:type", Number)
50
+ ], AddEmailRuleDto.prototype, "priority", void 0);
51
+ //# sourceMappingURL=add.email.rule.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add.email.rule.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/add.email.rule.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,qDAAmE;AAEnE,MAAa,eAAe;CA2B3B;AA3BD,0CA2BC;AAvBG;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2CACD;AAIZ;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;6CACA;AAIb;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;oDACQ;AAKrB;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;kDACO;AAIlB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;yDACS;AAKtB;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACI"}
@@ -0,0 +1,3 @@
1
+ import { CommonAttributesDto } from '@servicelabsco/nestjs-utility-services';
2
+ export declare class EmailRuleAttributesDto extends CommonAttributesDto {
3
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EmailRuleAttributesDto = void 0;
4
+ const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
5
+ class EmailRuleAttributesDto extends nestjs_utility_services_1.CommonAttributesDto {
6
+ }
7
+ exports.EmailRuleAttributesDto = EmailRuleAttributesDto;
8
+ //# sourceMappingURL=email.rule.attributes.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"email.rule.attributes.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/email.rule.attributes.dto.ts"],"names":[],"mappings":";;;AAAA,oFAA6E;AAC7E,MAAa,sBAAuB,SAAQ,6CAAmB;CAAG;AAAlE,wDAAkE"}
@@ -0,0 +1,4 @@
1
+ import { CommonListFilterDto } from './common.list.filter.dto';
2
+ export declare class EmailRuleListFilterDto extends CommonListFilterDto {
3
+ script_id?: number;
4
+ }
@@ -0,0 +1,25 @@
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.EmailRuleListFilterDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const common_list_filter_dto_1 = require("./common.list.filter.dto");
15
+ const class_validator_1 = require("class-validator");
16
+ class EmailRuleListFilterDto extends common_list_filter_dto_1.CommonListFilterDto {
17
+ }
18
+ exports.EmailRuleListFilterDto = EmailRuleListFilterDto;
19
+ __decorate([
20
+ (0, class_transformer_1.Expose)(),
21
+ (0, class_validator_1.IsOptional)(),
22
+ (0, class_validator_1.IsNumber)(),
23
+ __metadata("design:type", Number)
24
+ ], EmailRuleListFilterDto.prototype, "script_id", void 0);
25
+ //# sourceMappingURL=email.rule.list.filter.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"email.rule.list.filter.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/email.rule.list.filter.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,qEAA+D;AAC/D,qDAAuD;AAEvD,MAAa,sBAAuB,SAAQ,4CAAmB;CAK9D;AALD,wDAKC;AADG;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;yDACQ"}
@@ -10,6 +10,7 @@ export * from './add.conversation.dto';
10
10
  export * from './add.custom.field.dto';
11
11
  export * from './add.dashboard.component.dto';
12
12
  export * from './add.dashboard.component.properties.dto';
13
+ export * from './add.email.rule.dto';
13
14
  export * from './add.group.member.dto';
14
15
  export * from './add.integration.preference.dto';
15
16
  export * from './add.listing.preference.dto';
@@ -68,6 +69,8 @@ export * from './email.attachment.attributes.dto';
68
69
  export * from './email.message.attributes.dto';
69
70
  export * from './email.notification.payload.dto';
70
71
  export * from './email.recipient.attributes.dto';
72
+ export * from './email.rule.attributes.dto';
73
+ export * from './email.rule.list.filter.dto';
71
74
  export * from './email.template.log.attributes.dto';
72
75
  export * from './fcm.message.attributes.dto';
73
76
  export * from './fcm.template.attributes.dto';
@@ -26,6 +26,7 @@ __exportStar(require("./add.conversation.dto"), exports);
26
26
  __exportStar(require("./add.custom.field.dto"), exports);
27
27
  __exportStar(require("./add.dashboard.component.dto"), exports);
28
28
  __exportStar(require("./add.dashboard.component.properties.dto"), exports);
29
+ __exportStar(require("./add.email.rule.dto"), exports);
29
30
  __exportStar(require("./add.group.member.dto"), exports);
30
31
  __exportStar(require("./add.integration.preference.dto"), exports);
31
32
  __exportStar(require("./add.listing.preference.dto"), exports);
@@ -84,6 +85,8 @@ __exportStar(require("./email.attachment.attributes.dto"), exports);
84
85
  __exportStar(require("./email.message.attributes.dto"), exports);
85
86
  __exportStar(require("./email.notification.payload.dto"), exports);
86
87
  __exportStar(require("./email.recipient.attributes.dto"), exports);
88
+ __exportStar(require("./email.rule.attributes.dto"), exports);
89
+ __exportStar(require("./email.rule.list.filter.dto"), exports);
87
90
  __exportStar(require("./email.template.log.attributes.dto"), exports);
88
91
  __exportStar(require("./fcm.message.attributes.dto"), exports);
89
92
  __exportStar(require("./fcm.template.att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AgD;AAAA,gEAA8C;AAAA,sEAAoD;AAAA,+DAA6C;AAAA,wDAAsC;AAAA,6DAA2C;AAAA,mEAAiD;AAAA,0DAAwC;AAAA,+DAA6C;AAAA,6DAA2C;AAAA,4DAA0C;AAAA,oDAAkC;AAAA,yEAAuD;AAAA,oEAAkD;AAAA,mEAAiD;AAAA,gEAA8C;AAAA,2DAAyC;AAAA,6DAA2C;AAAA,+DAA6C;AAAA,4DAA0C;AAAA,8DAA4C;AAAA,oEAAkD;AAAA,0EAAwD;AAAA,yEAAuD;AAAA,0EAAwD;AAAA,qEAAmD;AAAA,qEAAmD;AAAA,iEAA+C;AAAA,sEAAoD;AAAA,gEAA8C;AAAA,6DAA2C;AAAA,+DAA6C;AAAA,gEAA8C;AAAA,qEAAmD;AAAA,iEAA+C;AAAA,2DAAyC;AAAA,8DAA4C;AAAA,kEAAgD;AAAA,8DAA4C;AAAA,iEAA+C;AAAA,yEAAuD;AAAA,sDAAoC;AAAA,oDAAkC;AAAA,sDAAoC;AAAA,6DAA2C;AAAA,kEAAgD;AAAA,wDAAsC;AAAA,qEAAmD;AAAA,sEAAoD;AAAA,mEAAiD;AAAA,6DAA2C;AAAA,wEAAsD;AAAA,iEAA+C;AAAA,+DAA6C;AAAA,gEAA8C;AAAA,gEAA8C;AAAA,oEAAkD;AAAA,iEAA+C;AAAA,qEAAmD;AAAA,+EAA4D"}
@@ -0,0 +1,15 @@
1
+ import { CommonEntity, SystemScriptEntity } from '@servicelabsco/nestjs-utility-services';
2
+ import { EmailRuleAttributesDto } from '../dtos/email.rule.attributes.dto';
3
+ import { AccessBusinessEntity } from './access.business.entity';
4
+ export declare class EmailRuleEntity extends CommonEntity {
5
+ business_id: number;
6
+ script_id: number;
7
+ name: string;
8
+ description: string;
9
+ priority: number;
10
+ active: boolean;
11
+ filter_condition: any;
12
+ attributes: EmailRuleAttributesDto;
13
+ business: AccessBusinessEntity;
14
+ script: SystemScriptEntity;
15
+ }
@@ -0,0 +1,65 @@
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.EmailRuleEntity = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
15
+ const email_rule_attributes_dto_1 = require("../dtos/email.rule.attributes.dto");
16
+ const access_business_entity_1 = require("./access.business.entity");
17
+ let EmailRuleEntity = class EmailRuleEntity extends nestjs_utility_services_1.CommonEntity {
18
+ };
19
+ exports.EmailRuleEntity = EmailRuleEntity;
20
+ __decorate([
21
+ (0, typeorm_1.Column)(),
22
+ __metadata("design:type", Number)
23
+ ], EmailRuleEntity.prototype, "business_id", void 0);
24
+ __decorate([
25
+ (0, typeorm_1.Column)(),
26
+ __metadata("design:type", Number)
27
+ ], EmailRuleEntity.prototype, "script_id", void 0);
28
+ __decorate([
29
+ (0, typeorm_1.Column)(),
30
+ __metadata("design:type", String)
31
+ ], EmailRuleEntity.prototype, "name", void 0);
32
+ __decorate([
33
+ (0, typeorm_1.Column)(),
34
+ __metadata("design:type", String)
35
+ ], EmailRuleEntity.prototype, "description", void 0);
36
+ __decorate([
37
+ (0, typeorm_1.Column)(),
38
+ __metadata("design:type", Number)
39
+ ], EmailRuleEntity.prototype, "priority", void 0);
40
+ __decorate([
41
+ (0, typeorm_1.Column)(),
42
+ __metadata("design:type", Boolean)
43
+ ], EmailRuleEntity.prototype, "active", void 0);
44
+ __decorate([
45
+ (0, typeorm_1.Column)('json'),
46
+ __metadata("design:type", Object)
47
+ ], EmailRuleEntity.prototype, "filter_condition", void 0);
48
+ __decorate([
49
+ (0, typeorm_1.Column)('json'),
50
+ __metadata("design:type", email_rule_attributes_dto_1.EmailRuleAttributesDto)
51
+ ], EmailRuleEntity.prototype, "attributes", void 0);
52
+ __decorate([
53
+ (0, typeorm_1.ManyToOne)(() => access_business_entity_1.AccessBusinessEntity),
54
+ (0, typeorm_1.JoinColumn)({ name: 'business_id' }),
55
+ __metadata("design:type", access_business_entity_1.AccessBusinessEntity)
56
+ ], EmailRuleEntity.prototype, "business", void 0);
57
+ __decorate([
58
+ (0, typeorm_1.ManyToOne)(() => nestjs_utility_services_1.SystemScriptEntity),
59
+ (0, typeorm_1.JoinColumn)({ name: 'script_id' }),
60
+ __metadata("design:type", nestjs_utility_services_1.SystemScriptEntity)
61
+ ], EmailRuleEntity.prototype, "script", void 0);
62
+ exports.EmailRuleEntity = EmailRuleEntity = __decorate([
63
+ (0, typeorm_1.Entity)('bz_email_rules')
64
+ ], EmailRuleEntity);
65
+ //# sourceMappingURL=email.rule.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"email.rule.entity.js","sourceRoot":"","sources":["../../../src/access/entities/email.rule.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgE;AAChE,oFAA0F;AAC1F,iFAA2E;AAC3E,qEAAgE;AASzD,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,sCAAY;CA4BhD,CAAA;AA5BY,0CAAe;AAExB;IADC,IAAA,gBAAM,GAAE;;oDACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;kDACS;AAGlB;IADC,IAAA,gBAAM,GAAE;;6CACI;AAGb;IADC,IAAA,gBAAM,GAAE;;oDACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;iDACQ;AAGjB;IADC,IAAA,gBAAM,GAAE;;+CACO;AAGhB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;;yDACO;AAGtB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,kDAAsB;mDAAC;AAGyC;IAA3E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6CAAoB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BAAW,6CAAoB;iDAAC;AACnC;IAAvE,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,4CAAkB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;8BAAS,4CAAkB;+CAAC;0BA3B1F,eAAe;IAD3B,IAAA,gBAAM,EAAC,gBAAgB,CAAC;GACZ,eAAe,CA4B3B"}
@@ -26,6 +26,7 @@ export * from './download.log.entity';
26
26
  export * from './email.attachment.entity';
27
27
  export * from './email.message.entity';
28
28
  export * from './email.recipient.entity';
29
+ export * from './email.rule.entity';
29
30
  export * from './email.template.log.entity';
30
31
  export * from './fcm.message.entity';
31
32
  export * from './fcm.token.entity';
@@ -42,6 +42,7 @@ __exportStar(require("./download.log.entity"), exports);
42
42
  __exportStar(require("./email.attachment.entity"), exports);
43
43
  __exportStar(require("./email.message.entity"), exports);
44
44
  __exportStar(require("./email.recipient.entity"), exports);
45
+ __exportStar(require("./email.rule.entity"), exports);
45
46
  __exportStar(require("./email.template.log.entity"), exports);
46
47
  __exportStar(require("./fcm.message.entity"), exports);
47
48
  __exportStar(require("./fcm.token.entity"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AAAA,uDAAqC;AAAA,2DAAyC;AAAA,+EAA6D;AAAA,oEAAkD;AAAA,6EAA2D;AAAA,0DAAwC;AAAA,+DAA6C;AAAA,yDAAuC;AAAA,+DAA6C;A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AA,4DAA0C;AAAA,8EAA4D;AAAA,sDAAoC;AAAA,uDAAqC;AAAA,uDAAqC;AAAA,wDAAsC;AAAA,wDAAsC;AAAA,yDAAuC;AAAA,+DAA6C;AAAA,qDAAmC;AAAA,wDAAsC;AAAA,4DAA0C;AAAA,yDAAuC;AAAA,2DAAyC;AAAA,sDAAoC;AAAA,8DAA4C;AAAA,uDAAqC;AAAA,qDAAmC;AAAA,yDAAuC;AAAA,0DAAwC;AAAA,sDAAoC;AAAA,yDAAuC;AAAA,iEAA+C;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,uDAAqC;AAAA,sDAAoC;AAAA,kEAAgD;AAAA,4DAA0C;AAAA,iEAA+C;AAAA,6DAA2C;AAAA,yDAAuC;AAAA,0DAAwC;AAAA,sDAAoC;AAAA,yDAAuC;AAAA,iEAA+C;AAAA,qDAAmC;AAAA,0DAAwC;AAAA,6DAA2C;AAAA,2DAAyC;AAAA,qDAAmC;AAAA,gEAA8C;AAAA,yDAAuC;AAAA,uDAAqC;AAAA,wDAAsC;AAAA,wDAAsC;AAAA,4DAA0C;AAAA,+DAA6C;AAAA,6DAA2C;AAAA,uEAAoD"}
@@ -19,6 +19,7 @@ import { DashboardController } from './controllers/dashboard.controller';
19
19
  import { DashboardReportController } from './controllers/dashboard.report.controller';
20
20
  import { DeveloperModeController } from './controllers/developer.mode.controller';
21
21
  import { DownloadLogController } from './controllers/download.log.controller';
22
+ import { EmailRuleController } from './controllers/email.rule.controller';
22
23
  import { FcmTokenController } from './controllers/fcm.token.controller';
23
24
  import { GroupMemberController } from './controllers/group.member.controller';
24
25
  import { GroupRoleController } from './controllers/group.role.controller';
@@ -153,6 +154,7 @@ import { DownloadLogJob } from './jobs/download.log.job';
153
154
  import { EmailAttachmentJob } from './jobs/email.attachment.job';
154
155
  import { EmailMessageJob } from './jobs/email.message.job';
155
156
  import { EmailRecipientJob } from './jobs/email.recipient.job';
157
+ import { EmailRuleJob } from './jobs/email.rule.job';
156
158
  import { EmailTemplateLogJob } from './jobs/email.template.log.job';
157
159
  import { FcmMessageJob } from './jobs/fcm.message.job';
158
160
  import { FcmNotificationJob } from './jobs/fcm.notification.job';
@@ -236,6 +238,8 @@ import { ProcessDateFilter } from './libraries/process.date.filter';
236
238
  import { ProcessDbFind } from './libraries/process.db.find';
237
239
  import { ProcessDownloadLogList } from './libraries/process.download.log.list';
238
240
  import { ProcessEmailNotification } from './libraries/process.email.notification';
241
+ import { ProcessEmailRuleData } from './libraries/process.email.rule.data';
242
+ import { ProcessEmailRuleList } from './libraries/process.email.rule.list';
239
243
  import { ProcessGroupMemberList } from './libraries/process.group.member.list';
240
244
  import { ProcessGroupMemberUpdation } from './libraries/process.group.member.updation';
241
245
  import { ProcessGroupRoleList } from './libraries/process.group.role.list';
@@ -323,6 +327,7 @@ import { DownloadLogSubscriber } from './subscribers/download.log.subscriber';
323
327
  import { EmailAttachmentSubscriber } from './subscribers/email.attachment.subscriber';
324
328
  import { EmailMessageSubscriber } from './subscribers/email.message.subscriber';
325
329
  import { EmailRecipientSubscriber } from './subscribers/email.recipient.subscriber';
330
+ import { EmailRuleSubscriber } from './subscribers/email.rule.subscriber';
326
331
  import { EmailTemplateLogSubscriber } from './subscribers/email.template.log.subscriber';
327
332
  import { FcmMessageSubscriber } from './subscribers/fcm.message.subscriber';
328
333
  import { FcmNotificationSubscriber } from './subscribers/fcm.notification.subscriber';
@@ -373,14 +378,14 @@ import { WhatsappTemplateSubscriber } from './subscribers/whatsapp.template.subs
373
378
  import { WhitelistedWhatsappNumberSubscriber } from './subscribers/whitelisted.whatsapp.number.subscriber';
374
379
  declare const es6Classes: {
375
380
  commands: (typeof WebhookPollCommand)[];
376
- controllers: (typeof AccessMenuController | typeof ApiAccountController | typeof BulkUploadController | typeof BulkUploadItemController | typeof BusinessAppIntegrationController | typeof BusinessNotificationChannelPreferenceController | typeof BusinessPreferenceController | typeof BusinessUserGroupController | typeof BusinessUserNotificationPreferenceController | typeof BusinessWebhookController | typeof ChoiceListController | typeof ChoiceTypeController | typeof CommonWebhookController | typeof CustomFieldController | typeof DashboardBuilderController | typeof DashboardComponentController | typeof DashboardController | typeof DashboardReportController | typeof DeveloperModeController | typeof DownloadLogController | typeof FcmTokenController | typeof GroupMemberController | typeof GroupRoleController | typeof ListingController | typeof ListingPreferenceController | typeof ScheduledReportController | typeof ScheduledReportItemController | typeof TagController | typeof UserNotificationController | typeof UserPreferenceController)[];
381
+ controllers: (typeof AccessMenuController | typeof ApiAccountController | typeof BulkUploadController | typeof BulkUploadItemController | typeof BusinessAppIntegrationController | typeof BusinessNotificationChannelPreferenceController | typeof BusinessPreferenceController | typeof BusinessUserGroupController | typeof BusinessUserNotificationPreferenceController | typeof BusinessWebhookController | typeof ChoiceListController | typeof ChoiceTypeController | typeof CommonWebhookController | typeof CustomFieldController | typeof DashboardBuilderController | typeof DashboardComponentController | typeof DashboardController | typeof DashboardReportController | typeof DeveloperModeController | typeof DownloadLogController | typeof EmailRuleController | typeof FcmTokenController | typeof GroupMemberController | typeof GroupRoleController | typeof ListingController | typeof ListingPreferenceController | typeof ScheduledReportController | typeof ScheduledReportItemController | typeof TagController | typeof UserNotificationController | typeof UserPreferenceController)[];
377
382
  dtos: (typeof FcmTemplateAttributesDto | typeof NotificationPayloadDto | typeof SendEmailNotificationDataDto | typeof GchatPostingPayloadDto | typeof BoardCastInternalStatusMessageDto | typeof SendWhatsappMessagePayloadDto | typeof AddShortUrlDto | typeof BankAccountPayloadDto | typeof RecurringDefinitionDto | typeof SendWebhookRequestPayload | typeof AccessBusinessParamDto | typeof DateRangeFilterDto | typeof DateFilterDto | typeof ListResponseFormatDto | typeof NumberRangeFilterDto | typeof CommonListFilterDto | typeof DbFindDto | typeof ListResponseDto | typeof AddListingPreferenceDto | typeof ProcessCommonListConfigDto | typeof AddIntegrationPreferenceDto | typeof AddBusinessPreferenceDto | typeof AddBusinessUserNotificationPreferenceDto | typeof AddWebhookDto | typeof ModifyCustomFieldStatusDto | typeof GetScriptValuesDto | typeof AddDashboardComponentPropertiesDto | typeof AddDashboardComponentDto | typeof StringSearchDto | typeof EditQueryDto | typeof TokenPayloadDto | typeof AddGroupMemberDto | typeof AddRoleDto | typeof AddScheduledReportDto | typeof AddBusinessAppIntegrationDto | typeof AddConversationDto | typeof AddTagDto | typeof BusinessAppIntegrationMessagePayloadDto | typeof ProcessListingPayloadDto | typeof RequestLogOptionsDto | typeof ServerEmailRecipientsDto | typeof ServerEmailMessageDto | typeof SlackMessageDataDto)[];
378
383
  entities: (typeof AccessBusinessEntity | typeof BusinessUserEntity | typeof ProductEntity | typeof EmailTemplateLogEntity | typeof FcmMessageEntity | typeof FcmTokenEntity | typeof GchatUserEntity | typeof GchatMessageEntity | typeof GchatWebhookMessageEntity | typeof SlackMessageEntity | typeof BzNotificationChannelPreferenceEntity | typeof SlackIntegrationEntity | typeof SlackUserEntity | typeof WhatsappMessageEntity | typeof WhatsappPreferenceEntity | typeof BusinessAppIntegrationCredentialEntity | typeof BusinessAppIntegrationMessagesEntity | typeof BusinessEmailEntity | typeof BusinessGroupRoleEntity | typeof MenuRoleEntity | typeof MenuEntity | typeof UiActionRoleEntity | typeof MenuActionEntity | typeof ChildMenuEntity | typeof BusinessMenuEntity | typeof GroupRoleEntity | typeof BusinessUserRoleEntity | typeof BusinessWebhookEntity | typeof ConversationEntity | typeof DashboardComponentEntity | typeof DownloadLogEntity | typeof EmailRecipientEntity | typeof EmailMessageEntity | typeof GroupMemberEntity | typeof PreferenceUserEntity | typeof PreferenceUserGroupEntity | typeof ModuleMenuEntity | typeof RequestLogEntity | typeof ScheduledReportEntity | typeof ScheduledReportEmailEntity | typeof ScheduledReportItemEntity | typeof SlackWebhookMessageEntity | typeof UserNotificationEntity | typeof UserRoleEntity | typeof WatchlistAssignmentEntity | typeof WebhookLogEntity | typeof WebhookSlugEntity)[];
379
384
  enums: (typeof NotificationTypeEnum | typeof NotificationChannelTypeEnum | typeof RecurringPeriodEnum | typeof CustomColumnTypeEnum | typeof ProductTypeEnum | typeof PlatformTypeEnum)[];
380
- jobs: (typeof WhatsappMessagePayloadDto | typeof AccessTestJob | typeof ApiAccountJob | typeof AppIntegrationJob | typeof BusinessAppIntegrationCredentialJob | typeof BusinessAppIntegrationJob | typeof BusinessAppIntegrationMessagesJob | typeof BusinessEmailJob | typeof BusinessGroupRoleJob | typeof BusinessMenuJob | typeof BusinessPreferenceJob | typeof BusinessUserGroupJob | typeof BusinessUserJob | typeof BusinessUserNotificationPreferenceJob | typeof BusinessUserRoleJob | typeof BusinessWebhookJob | typeof BzNotificationChannelPreferenceJob | typeof ChildMenuJob | typeof ChoiceListJob | typeof ChoiceTypeJob | typeof ConversationJob | typeof CustomFieldJob | typeof CustomReportJob | typeof DashboardComponentJob | typeof DashboardJob | typeof DownloadLogJob | typeof EmailAttachmentJob | typeof EmailMessageJob | typeof EmailRecipientJob | typeof EmailTemplateLogJob | typeof FcmMessageJob | typeof FcmNotificationJob | typeof FcmTemplateJob | typeof FcmTokenJob | typeof GchatIncomingWebhookJob | typeof GchatMessageJob | typeof GchatTemplateJob | typeof GchatUserJob | typeof GchatWebhookJob | typeof GchatWebhookMessageJob | 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 ProcessServerEmailJob | typeof ProductJob | typeof RequestLogJob | typeof RoleGroupJob | typeof ScheduledReportEmailJob | typeof ScheduledReportItemJob | typeof ScheduledReportJob | typeof SlackIncomingWebhookJob | typeof SlackIntegrationJob | typeof SlackMessageJob | typeof SlackTemplateJob | typeof SlackUserJob | typeof SlackWebhookJob | typeof SlackWebhookMessageJob | typeof SyncBURoleJob | typeof UiActionJob | typeof UiActionRoleJob | typeof UserNotificationJob | typeof UserPreferenceJob | typeof UserRoleJob | typeof WatchlistAssignmentJob | typeof WebhookEventJob | typeof WebhookLogJob | typeof WebhookSlugJob | typeof WebhookTypeJob | typeof WhatsappIncomingWebhookJob | typeof WhatsappMessageJob | typeof WhatsappTemplateJob | typeof WhitelistedWhatsappNumberJob)[];
381
- libraries: (typeof ProcessEmailNotification | typeof SendEmailNotification | typeof SendFcmNotification | typeof SendGchatMessageNotification | typeof SendGchatWebhookNotification | typeof SendSlackMessageNotification | typeof SendSlackWebhookNotification | typeof ProcessWhatsappMessage | typeof SendWhatsappMessageNotification | typeof SendWebhookRequest | typeof ProcessApplicationMenu | typeof ProcessMenuDetails | typeof ProcessApiAccountData | typeof ProcessDateFilter | typeof ProcessCommonList | typeof ProcessListingCsvFile | typeof ProcessApiAccountList | typeof ProcessDbFind | typeof ProcessBulkUploadList | typeof ProcessBulkUploadItemList | typeof ProcessWhatsappIntegration | typeof ProcessAppIntegration | typeof ProcessBusinessNotificationChannelPreferenceList | typeof ProcessBusinessUserGroupList | typeof ProcessUserGroupCreation | typeof ProcessBusinessUserNotificationPreferenceList | typeof ProcessChoiceListData | typeof ProcessChoiceTypeList | typeof ProcessChoiceTypeData | typeof ProcessSlackIntegration | typeof ProcessZohoIntegration | typeof ProcessCustomFieldList | typeof ProcessCustomFieldCreation | typeof ProcessDashboardReportData | typeof ProcessReportData | typeof ProcessCreateDashboardComponent | typeof ProcessDashboardComponent | typeof ProcessDashboardReport | typeof ProcessDownloadLogList | typeof SetFcmToken | typeof ProcessGroupMemberList | typeof ProcessGroupRoleList | typeof ProcessPreferenceData | typeof ProcessScheduledReportData | typeof ProcessScheduledReportList | typeof ProcessScheduledReportItemList | typeof ProcessUserNotificationList | typeof ProcessRevokeSlackIntegration | typeof ProcessRevokeZohoIntegration | typeof ProcessBusinessGroupRoleUpdation | typeof ProcessBusinessUserRoleUpdate | typeof ProcessGroupMemberUpdation | typeof SyncBusinessUserRole | typeof CommonTagController | typeof ProcessConversationData | typeof ConversationController | typeof ValidateCustomFieldData | typeof ProcessCommonCustomField | typeof ProcessNotification | typeof ProcessSlackMessage | typeof ProcessTestList)[];
385
+ jobs: (typeof WhatsappMessagePayloadDto | typeof AccessTestJob | typeof ApiAccountJob | typeof AppIntegrationJob | typeof BusinessAppIntegrationCredentialJob | typeof BusinessAppIntegrationJob | typeof BusinessAppIntegrationMessagesJob | typeof BusinessEmailJob | typeof BusinessGroupRoleJob | typeof BusinessMenuJob | typeof BusinessPreferenceJob | typeof BusinessUserGroupJob | typeof BusinessUserJob | typeof BusinessUserNotificationPreferenceJob | typeof BusinessUserRoleJob | typeof BusinessWebhookJob | typeof BzNotificationChannelPreferenceJob | typeof ChildMenuJob | typeof ChoiceListJob | typeof ChoiceTypeJob | typeof ConversationJob | typeof CustomFieldJob | typeof CustomReportJob | typeof DashboardComponentJob | typeof DashboardJob | typeof DownloadLogJob | typeof EmailAttachmentJob | typeof EmailMessageJob | typeof EmailRecipientJob | typeof EmailRuleJob | typeof EmailTemplateLogJob | typeof FcmMessageJob | typeof FcmNotificationJob | typeof FcmTemplateJob | typeof FcmTokenJob | typeof GchatIncomingWebhookJob | typeof GchatMessageJob | typeof GchatTemplateJob | typeof GchatUserJob | typeof GchatWebhookJob | typeof GchatWebhookMessageJob | 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 ProcessServerEmailJob | typeof ProductJob | typeof RequestLogJob | typeof RoleGroupJob | typeof ScheduledReportEmailJob | typeof ScheduledReportItemJob | typeof ScheduledReportJob | typeof SlackIncomingWebhookJob | typeof SlackIntegrationJob | typeof SlackMessageJob | typeof SlackTemplateJob | typeof SlackUserJob | typeof SlackWebhookJob | typeof SlackWebhookMessageJob | typeof SyncBURoleJob | typeof UiActionJob | typeof UiActionRoleJob | typeof UserNotificationJob | typeof UserPreferenceJob | typeof UserRoleJob | typeof WatchlistAssignmentJob | typeof WebhookEventJob | typeof WebhookLogJob | typeof WebhookSlugJob | typeof WebhookTypeJob | typeof WhatsappIncomingWebhookJob | typeof WhatsappMessageJob | typeof WhatsappTemplateJob | typeof WhitelistedWhatsappNumberJob)[];
386
+ libraries: (typeof ProcessEmailNotification | typeof SendEmailNotification | typeof SendFcmNotification | typeof SendGchatMessageNotification | typeof SendGchatWebhookNotification | typeof SendSlackMessageNotification | typeof SendSlackWebhookNotification | typeof ProcessWhatsappMessage | typeof SendWhatsappMessageNotification | typeof SendWebhookRequest | typeof ProcessApplicationMenu | typeof ProcessMenuDetails | typeof ProcessApiAccountData | typeof ProcessDateFilter | typeof ProcessCommonList | typeof ProcessListingCsvFile | typeof ProcessApiAccountList | typeof ProcessDbFind | typeof ProcessBulkUploadList | typeof ProcessBulkUploadItemList | typeof ProcessWhatsappIntegration | typeof ProcessAppIntegration | typeof ProcessBusinessNotificationChannelPreferenceList | typeof ProcessBusinessUserGroupList | typeof ProcessUserGroupCreation | typeof ProcessBusinessUserNotificationPreferenceList | typeof ProcessChoiceListData | typeof ProcessChoiceTypeList | typeof ProcessChoiceTypeData | typeof ProcessSlackIntegration | typeof ProcessZohoIntegration | typeof ProcessCustomFieldList | typeof ProcessCustomFieldCreation | typeof ProcessDashboardReportData | typeof ProcessReportData | typeof ProcessCreateDashboardComponent | typeof ProcessDashboardComponent | typeof ProcessDashboardReport | typeof ProcessDownloadLogList | typeof ProcessEmailRuleList | typeof ProcessEmailRuleData | typeof SetFcmToken | typeof ProcessGroupMemberList | typeof ProcessGroupRoleList | typeof ProcessPreferenceData | typeof ProcessScheduledReportData | typeof ProcessScheduledReportList | typeof ProcessScheduledReportItemList | typeof ProcessUserNotificationList | typeof ProcessRevokeSlackIntegration | typeof ProcessRevokeZohoIntegration | typeof ProcessBusinessGroupRoleUpdation | typeof ProcessBusinessUserRoleUpdate | typeof ProcessGroupMemberUpdation | typeof SyncBusinessUserRole | typeof CommonTagController | typeof ProcessConversationData | typeof ConversationController | typeof ValidateCustomFieldData | typeof ProcessCommonCustomField | typeof ProcessNotification | typeof ProcessSlackMessage | typeof ProcessTestList)[];
382
387
  middlewares: (typeof BusinessMiddleware | typeof ExternalAccessMiddleware)[];
383
388
  services: (typeof SendEmailService | typeof GchatService | typeof SlackService | typeof WhatsappService | typeof NotificationService | typeof SlabsService | typeof WebhookService | typeof AccessBusinessService | typeof ListingService | typeof AuditLogService | typeof AccessReportService | typeof PlatformService | typeof ListingPreferenceService | typeof ScheduledReportService | typeof BusinessUserRoleService | typeof UtilityService | typeof CustomFieldService | typeof ApiAccountService | typeof AppIntegrationService | typeof BusinessPreferenceService | typeof Es6JobsService | typeof GptService | typeof LoadEntityService | typeof RequestLogService | typeof UserNotificationService | typeof UserPreferenceService)[];
384
- subscribers: (typeof ApiAccountSubscriber | typeof AppIntegrationSubscriber | typeof BusinessAppIntegrationCredentialSubscriber | typeof BusinessAppIntegrationMessagesSubscriber | typeof BusinessAppIntegrationSubscriber | typeof BusinessEmailSubscriber | typeof BusinessGroupRoleSubscriber | typeof BusinessMenuSubscriber | typeof BusinessPreferenceSubscriber | typeof BusinessUserGroupSubscriber | typeof BusinessUserNotificationPreferenceSubscriber | typeof BusinessUserRoleSubscriber | typeof BusinessUserSubscriber | typeof BusinessWebhookSubscriber | typeof BzNotificationChannelPreferenceSubscriber | typeof ChildMenuSubscriber | typeof ChoiceListSubscriber | typeof ChoiceTypeSubscriber | typeof ConversationSubscriber | typeof CustomFieldSubscriber | typeof CustomReportSubscriber | typeof DashboardComponentSubscriber | typeof DashboardSubscriber | typeof DownloadLogSubscriber | typeof EmailAttachmentSubscriber | typeof EmailMessageSubscriber | typeof EmailRecipientSubscriber | typeof EmailTemplateLogSubscriber | typeof FcmMessageSubscriber | typeof FcmNotificationSubscriber | typeof FcmTemplateSubscriber | typeof FcmTokenSubscriber | typeof GchatMessageSubscriber | typeof GchatTemplateSubscriber | typeof GchatUserSubscriber | typeof GchatWebhookMessageSubscriber | typeof GchatWebhookSubscriber | 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 RequestLogSubscriber | typeof RoleGroupSubscriber | typeof ScheduledReportEmailSubscriber | typeof ScheduledReportItemSubscriber | typeof ScheduledReportSubscriber | typeof SlackIntegrationSubscriber | typeof SlackMessageSubscriber | typeof SlackTemplateSubscriber | typeof SlackUserSubscriber | typeof SlackWebhookMessageSubscriber | typeof SlackWebhookSubscriber | typeof UiActionRoleSubscriber | typeof UiActionSubscriber | typeof UserNotificationSubscriber | typeof UserPreferenceSubscriber | typeof UserRoleSubscriber | typeof WatchlistAssignmentSubscriber | typeof WebhookEventSubscriber | typeof WebhookLogSubscriber | typeof WebhookSlugSubscriber | typeof WebhookTypeSubscriber | typeof WhatsappMessageSubscriber | typeof WhatsappTemplateSubscriber | typeof WhitelistedWhatsappNumberSubscriber)[];
389
+ subscribers: (typeof ApiAccountSubscriber | typeof AppIntegrationSubscriber | typeof BusinessAppIntegrationCredentialSubscriber | typeof BusinessAppIntegrationMessagesSubscriber | typeof BusinessAppIntegrationSubscriber | typeof BusinessEmailSubscriber | typeof BusinessGroupRoleSubscriber | typeof BusinessMenuSubscriber | typeof BusinessPreferenceSubscriber | typeof BusinessUserGroupSubscriber | typeof BusinessUserNotificationPreferenceSubscriber | typeof BusinessUserRoleSubscriber | typeof BusinessUserSubscriber | typeof BusinessWebhookSubscriber | typeof BzNotificationChannelPreferenceSubscriber | typeof ChildMenuSubscriber | typeof ChoiceListSubscriber | typeof ChoiceTypeSubscriber | typeof ConversationSubscriber | typeof CustomFieldSubscriber | typeof CustomReportSubscriber | typeof DashboardComponentSubscriber | typeof DashboardSubscriber | typeof DownloadLogSubscriber | typeof EmailAttachmentSubscriber | typeof EmailMessageSubscriber | typeof EmailRecipientSubscriber | typeof EmailRuleSubscriber | typeof EmailTemplateLogSubscriber | typeof FcmMessageSubscriber | typeof FcmNotificationSubscriber | typeof FcmTemplateSubscriber | typeof FcmTokenSubscriber | typeof GchatMessageSubscriber | typeof GchatTemplateSubscriber | typeof GchatUserSubscriber | typeof GchatWebhookMessageSubscriber | typeof GchatWebhookSubscriber | 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 RequestLogSubscriber | typeof RoleGroupSubscriber | typeof ScheduledReportEmailSubscriber | typeof ScheduledReportItemSubscriber | typeof ScheduledReportSubscriber | typeof SlackIntegrationSubscriber | typeof SlackMessageSubscriber | typeof SlackTemplateSubscriber | typeof SlackUserSubscriber | typeof SlackWebhookMessageSubscriber | typeof SlackWebhookSubscriber | typeof UiActionRoleSubscriber | typeof UiActionSubscriber | typeof UserNotificationSubscriber | typeof UserPreferenceSubscriber | typeof UserRoleSubscriber | typeof WatchlistAssignmentSubscriber | typeof WebhookEventSubscriber | typeof WebhookLogSubscriber | typeof WebhookSlugSubscriber | typeof WebhookTypeSubscriber | typeof WhatsappMessageSubscriber | typeof WhatsappTemplateSubscriber | typeof WhitelistedWhatsappNumberSubscriber)[];
385
390
  };
386
391
  export default es6Classes;