@servicelabsco/slabs-access-manager 0.1.81 → 0.1.83

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 (172) hide show
  1. package/dist/access/controllers/index.d.ts +1 -0
  2. package/dist/access/controllers/index.js +1 -0
  3. package/dist/access/controllers/index.js.map +1 -1
  4. package/dist/access/controllers/user.notification.controller.d.ts +25 -0
  5. package/dist/access/controllers/user.notification.controller.js +182 -0
  6. package/dist/access/controllers/user.notification.controller.js.map +1 -0
  7. package/dist/access/dtos/index.d.ts +2 -0
  8. package/dist/access/dtos/index.js +2 -0
  9. package/dist/access/dtos/index.js.map +1 -1
  10. package/dist/access/dtos/user.notification.attributes.dto.d.ts +3 -0
  11. package/dist/access/dtos/user.notification.attributes.dto.js +8 -0
  12. package/dist/access/dtos/user.notification.attributes.dto.js.map +1 -0
  13. package/dist/access/dtos/user.notification.list.filter.dto.d.ts +5 -0
  14. package/dist/access/dtos/user.notification.list.filter.dto.js +31 -0
  15. package/dist/access/dtos/user.notification.list.filter.dto.js.map +1 -0
  16. package/dist/access/entities/index.d.ts +1 -0
  17. package/dist/access/entities/index.js +1 -0
  18. package/dist/access/entities/index.js.map +1 -1
  19. package/dist/access/entities/user.notification.entity.d.ts +22 -0
  20. package/dist/access/entities/user.notification.entity.js +92 -0
  21. package/dist/access/entities/user.notification.entity.js.map +1 -0
  22. package/dist/access/es6.classes.d.ts +12 -6
  23. package/dist/access/es6.classes.js +16 -0
  24. package/dist/access/es6.classes.js.map +1 -1
  25. package/dist/access/jobs/index.d.ts +1 -0
  26. package/dist/access/jobs/index.js +1 -0
  27. package/dist/access/jobs/index.js.map +1 -1
  28. package/dist/access/jobs/user.notification.job.d.ts +7 -0
  29. package/dist/access/jobs/user.notification.job.js +29 -0
  30. package/dist/access/jobs/user.notification.job.js.map +1 -0
  31. package/dist/access/libraries/index.d.ts +1 -0
  32. package/dist/access/libraries/index.js +1 -0
  33. package/dist/access/libraries/index.js.map +1 -1
  34. package/dist/access/libraries/process.user.notification.list.d.ts +20 -0
  35. package/dist/access/libraries/process.user.notification.list.js +38 -0
  36. package/dist/access/libraries/process.user.notification.list.js.map +1 -0
  37. package/dist/access/services/es6.jobs.service.d.ts +3 -1
  38. package/dist/access/services/es6.jobs.service.js +5 -1
  39. package/dist/access/services/es6.jobs.service.js.map +1 -1
  40. package/dist/access/services/index.d.ts +1 -0
  41. package/dist/access/services/index.js +1 -0
  42. package/dist/access/services/index.js.map +1 -1
  43. package/dist/access/services/user.notification.service.d.ts +5 -0
  44. package/dist/access/services/user.notification.service.js +31 -0
  45. package/dist/access/services/user.notification.service.js.map +1 -0
  46. package/dist/access/subscribers/index.d.ts +1 -0
  47. package/dist/access/subscribers/index.js +1 -0
  48. package/dist/access/subscribers/index.js.map +1 -1
  49. package/dist/access/subscribers/user.notification.subscriber.d.ts +12 -0
  50. package/dist/access/subscribers/user.notification.subscriber.js +40 -0
  51. package/dist/access/subscribers/user.notification.subscriber.js.map +1 -0
  52. package/dist/accessUtility/dtos/email.notification.attributes.dto.d.ts +3 -0
  53. package/dist/accessUtility/dtos/email.notification.attributes.dto.js +8 -0
  54. package/dist/accessUtility/dtos/email.notification.attributes.dto.js.map +1 -0
  55. package/dist/accessUtility/dtos/inapp.notification.attributes.dto.d.ts +3 -0
  56. package/dist/accessUtility/dtos/inapp.notification.attributes.dto.js +8 -0
  57. package/dist/accessUtility/dtos/inapp.notification.attributes.dto.js.map +1 -0
  58. package/dist/accessUtility/dtos/index.d.ts +6 -0
  59. package/dist/accessUtility/dtos/index.js +6 -0
  60. package/dist/accessUtility/dtos/index.js.map +1 -1
  61. package/dist/accessUtility/dtos/notification.attributes.dto.d.ts +3 -0
  62. package/dist/accessUtility/dtos/notification.attributes.dto.js +8 -0
  63. package/dist/accessUtility/dtos/notification.attributes.dto.js.map +1 -0
  64. package/dist/accessUtility/dtos/notification.recipient.attributes.dto.d.ts +3 -0
  65. package/dist/accessUtility/dtos/notification.recipient.attributes.dto.js +8 -0
  66. package/dist/accessUtility/dtos/notification.recipient.attributes.dto.js.map +1 -0
  67. package/dist/accessUtility/dtos/sms.notification.attributes.dto.d.ts +3 -0
  68. package/dist/accessUtility/dtos/sms.notification.attributes.dto.js +8 -0
  69. package/dist/accessUtility/dtos/sms.notification.attributes.dto.js.map +1 -0
  70. package/dist/accessUtility/dtos/whatsapp.notification.attributes.dto.d.ts +3 -0
  71. package/dist/accessUtility/dtos/whatsapp.notification.attributes.dto.js +8 -0
  72. package/dist/accessUtility/dtos/whatsapp.notification.attributes.dto.js.map +1 -0
  73. package/dist/accessUtility/entities/email.notification.entity.d.ts +12 -0
  74. package/dist/accessUtility/entities/email.notification.entity.js +53 -0
  75. package/dist/accessUtility/entities/email.notification.entity.js.map +1 -0
  76. package/dist/accessUtility/entities/inapp.notification.entity.d.ts +12 -0
  77. package/dist/accessUtility/entities/inapp.notification.entity.js +52 -0
  78. package/dist/accessUtility/entities/inapp.notification.entity.js.map +1 -0
  79. package/dist/accessUtility/entities/index.d.ts +6 -0
  80. package/dist/accessUtility/entities/index.js +6 -0
  81. package/dist/accessUtility/entities/index.js.map +1 -1
  82. package/dist/accessUtility/entities/notification.entity.d.ts +15 -0
  83. package/dist/accessUtility/entities/notification.entity.js +68 -0
  84. package/dist/accessUtility/entities/notification.entity.js.map +1 -0
  85. package/dist/accessUtility/entities/notification.recipient.entity.d.ts +12 -0
  86. package/dist/accessUtility/entities/notification.recipient.entity.js +54 -0
  87. package/dist/accessUtility/entities/notification.recipient.entity.js.map +1 -0
  88. package/dist/accessUtility/entities/sms.notification.entity.d.ts +12 -0
  89. package/dist/accessUtility/entities/sms.notification.entity.js +53 -0
  90. package/dist/accessUtility/entities/sms.notification.entity.js.map +1 -0
  91. package/dist/accessUtility/entities/whatsapp.notification.entity.d.ts +12 -0
  92. package/dist/accessUtility/entities/whatsapp.notification.entity.js +53 -0
  93. package/dist/accessUtility/entities/whatsapp.notification.entity.js.map +1 -0
  94. package/dist/accessUtility/es6.classes.d.ts +20 -3
  95. package/dist/accessUtility/es6.classes.js +48 -0
  96. package/dist/accessUtility/es6.classes.js.map +1 -1
  97. package/dist/accessUtility/jobs/email.notification.job.d.ts +7 -0
  98. package/dist/accessUtility/jobs/email.notification.job.js +29 -0
  99. package/dist/accessUtility/jobs/email.notification.job.js.map +1 -0
  100. package/dist/accessUtility/jobs/inapp.notification.job.d.ts +7 -0
  101. package/dist/accessUtility/jobs/inapp.notification.job.js +29 -0
  102. package/dist/accessUtility/jobs/inapp.notification.job.js.map +1 -0
  103. package/dist/accessUtility/jobs/index.d.ts +6 -0
  104. package/dist/accessUtility/jobs/index.js +6 -0
  105. package/dist/accessUtility/jobs/index.js.map +1 -1
  106. package/dist/accessUtility/jobs/notification.job.d.ts +7 -0
  107. package/dist/accessUtility/jobs/notification.job.js +29 -0
  108. package/dist/accessUtility/jobs/notification.job.js.map +1 -0
  109. package/dist/accessUtility/jobs/notification.recipient.job.d.ts +7 -0
  110. package/dist/accessUtility/jobs/notification.recipient.job.js +29 -0
  111. package/dist/accessUtility/jobs/notification.recipient.job.js.map +1 -0
  112. package/dist/accessUtility/jobs/sms.notification.job.d.ts +7 -0
  113. package/dist/accessUtility/jobs/sms.notification.job.js +29 -0
  114. package/dist/accessUtility/jobs/sms.notification.job.js.map +1 -0
  115. package/dist/accessUtility/jobs/whatsapp.notification.job.d.ts +7 -0
  116. package/dist/accessUtility/jobs/whatsapp.notification.job.js +29 -0
  117. package/dist/accessUtility/jobs/whatsapp.notification.job.js.map +1 -0
  118. package/dist/accessUtility/services/es6.jobs.service.d.ts +13 -1
  119. package/dist/accessUtility/services/es6.jobs.service.js +26 -2
  120. package/dist/accessUtility/services/es6.jobs.service.js.map +1 -1
  121. package/dist/accessUtility/subscribers/email.notification.subscriber.d.ts +12 -0
  122. package/dist/accessUtility/subscribers/email.notification.subscriber.js +40 -0
  123. package/dist/accessUtility/subscribers/email.notification.subscriber.js.map +1 -0
  124. package/dist/accessUtility/subscribers/inapp.notification.subscriber.d.ts +12 -0
  125. package/dist/accessUtility/subscribers/inapp.notification.subscriber.js +40 -0
  126. package/dist/accessUtility/subscribers/inapp.notification.subscriber.js.map +1 -0
  127. package/dist/accessUtility/subscribers/index.d.ts +6 -0
  128. package/dist/accessUtility/subscribers/index.js +6 -0
  129. package/dist/accessUtility/subscribers/index.js.map +1 -1
  130. package/dist/accessUtility/subscribers/notification.recipient.subscriber.d.ts +12 -0
  131. package/dist/accessUtility/subscribers/notification.recipient.subscriber.js +40 -0
  132. package/dist/accessUtility/subscribers/notification.recipient.subscriber.js.map +1 -0
  133. package/dist/accessUtility/subscribers/notification.subscriber.d.ts +12 -0
  134. package/dist/accessUtility/subscribers/notification.subscriber.js +40 -0
  135. package/dist/accessUtility/subscribers/notification.subscriber.js.map +1 -0
  136. package/dist/accessUtility/subscribers/sms.notification.subscriber.d.ts +12 -0
  137. package/dist/accessUtility/subscribers/sms.notification.subscriber.js +40 -0
  138. package/dist/accessUtility/subscribers/sms.notification.subscriber.js.map +1 -0
  139. package/dist/accessUtility/subscribers/whatsapp.notification.subscriber.d.ts +12 -0
  140. package/dist/accessUtility/subscribers/whatsapp.notification.subscriber.js +40 -0
  141. package/dist/accessUtility/subscribers/whatsapp.notification.subscriber.js.map +1 -0
  142. package/dist/config/entity.constants.d.ts +14 -0
  143. package/dist/config/entity.constants.js +14 -0
  144. package/dist/config/entity.constants.js.map +1 -1
  145. package/dist/migrations/1711969014729-CreateNotificationTable.d.ts +5 -0
  146. package/dist/migrations/1711969014729-CreateNotificationTable.js +26 -0
  147. package/dist/migrations/1711969014729-CreateNotificationTable.js.map +1 -0
  148. package/dist/migrations/1711973530629-CreateNotificationRecipientTable.d.ts +5 -0
  149. package/dist/migrations/1711973530629-CreateNotificationRecipientTable.js +23 -0
  150. package/dist/migrations/1711973530629-CreateNotificationRecipientTable.js.map +1 -0
  151. package/dist/migrations/1714934011990-CreateEmailNotificationTable.d.ts +5 -0
  152. package/dist/migrations/1714934011990-CreateEmailNotificationTable.js +21 -0
  153. package/dist/migrations/1714934011990-CreateEmailNotificationTable.js.map +1 -0
  154. package/dist/migrations/1714934451680-CreateSmsNotificationTable.d.ts +5 -0
  155. package/dist/migrations/1714934451680-CreateSmsNotificationTable.js +21 -0
  156. package/dist/migrations/1714934451680-CreateSmsNotificationTable.js.map +1 -0
  157. package/dist/migrations/1714934675041-CreateWhatsappNotificationTable.d.ts +5 -0
  158. package/dist/migrations/1714934675041-CreateWhatsappNotificationTable.js +21 -0
  159. package/dist/migrations/1714934675041-CreateWhatsappNotificationTable.js.map +1 -0
  160. package/dist/migrations/1714934790375-CreateInappNotificationTable.d.ts +5 -0
  161. package/dist/migrations/1714934790375-CreateInappNotificationTable.js +22 -0
  162. package/dist/migrations/1714934790375-CreateInappNotificationTable.js.map +1 -0
  163. package/dist/migrations/1714936884321-CreateUserNotificationTable.d.ts +5 -0
  164. package/dist/migrations/1714936884321-CreateUserNotificationTable.js +27 -0
  165. package/dist/migrations/1714936884321-CreateUserNotificationTable.js.map +1 -0
  166. package/dist/migrations/1715063695201-RemoveVisibleBzUserNotificationsTable.d.ts +5 -0
  167. package/dist/migrations/1715063695201-RemoveVisibleBzUserNotificationsTable.js +15 -0
  168. package/dist/migrations/1715063695201-RemoveVisibleBzUserNotificationsTable.js.map +1 -0
  169. package/dist/migrations/1715064155735-AddTypeIdBzUserNotificationsTable.d.ts +5 -0
  170. package/dist/migrations/1715064155735-AddTypeIdBzUserNotificationsTable.js +16 -0
  171. package/dist/migrations/1715064155735-AddTypeIdBzUserNotificationsTable.js.map +1 -0
  172. package/package.json +1 -1
@@ -14,4 +14,5 @@ export * from './group.role.controller';
14
14
  export * from './listing.controller';
15
15
  export * from './listing.preference.controller';
16
16
  export * from './scheduled.report.controller';
17
+ export * from './user.notification.controller';
17
18
  export * from './user.preference.controller';
@@ -30,5 +30,6 @@ __exportStar(require("./group.role.controller"), exports);
30
30
  __exportStar(require("./listing.controller"), exports);
31
31
  __exportStar(require("./listing.preference.controller"), exports);
32
32
  __exportStar(require("./scheduled.report.controller"), exports);
33
+ __exportStar(require("./user.notification.controller"), exports);
33
34
  __exportStar(require("./user.preference.controller"), exports);
34
35
  //# sourceMappingURL=index.js.map
@@ -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,mEAAiD;AAAA,mEAAiD;AAAA,2DAAyC;AAAA,2DAAyC;AAAA,4DAA0C;AAAA,yDAAuC;AAAA,4DAA0C;AAAA,4DAA0C;AAAA,0DAAwC;AAAA,uDAAqC;AAAA,kEAAgD;AAAA,gEAA8C;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,mEAAiD;AAAA,mEAAiD;AAAA,2DAAyC;AAAA,2DAAyC;AAAA,4DAA0C;AAAA,yDAAuC;AAAA,4DAA0C;AAAA,4DAA0C;AAAA,0DAAwC;AAAA,uDAAqC;AAAA,kEAAgD;AAAA,gEAA8C;AAAA,iEAA+C;AAAA,+DAA4C"}
@@ -0,0 +1,25 @@
1
+ import { SqlService, StringSearchDto } from '@servicelabsco/nestjs-utility-services';
2
+ import { BusinessParamDto } from '../dtos/business.param.dto';
3
+ import { UserNotificationListFilterDto } from '../dtos/user.notification.list.filter.dto';
4
+ import { UserNotificationEntity } from '../entities/user.notification.entity';
5
+ import { AccessBusinessService } from '../services/access.business.service';
6
+ import { ListingService } from '../services/listing.service';
7
+ export declare class UserNotificationController {
8
+ protected readonly accessBusinessService: AccessBusinessService;
9
+ private readonly sqlService;
10
+ private readonly listingService;
11
+ constructor(accessBusinessService: AccessBusinessService, sqlService: SqlService, listingService: ListingService);
12
+ search(body: UserNotificationListFilterDto): Promise<import("..").ListResponseDto>;
13
+ find(body: StringSearchDto): Promise<any>;
14
+ acknowledgeAll(): Promise<{
15
+ success: boolean;
16
+ }>;
17
+ archiveAll(): Promise<{
18
+ success: boolean;
19
+ }>;
20
+ show(params: BusinessParamDto): Promise<UserNotificationEntity>;
21
+ acknowledge(params: BusinessParamDto): Promise<UserNotificationEntity>;
22
+ archive(params: BusinessParamDto): Promise<UserNotificationEntity>;
23
+ unarchive(params: BusinessParamDto): Promise<UserNotificationEntity>;
24
+ private nestedValidation;
25
+ }
@@ -0,0 +1,182 @@
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.UserNotificationController = void 0;
16
+ const common_1 = require("@nestjs/common");
17
+ const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
18
+ const business_param_dto_1 = require("../dtos/business.param.dto");
19
+ const user_notification_list_filter_dto_1 = require("../dtos/user.notification.list.filter.dto");
20
+ const user_notification_entity_1 = require("../entities/user.notification.entity");
21
+ const process_db_find_1 = require("../libraries/process.db.find");
22
+ const process_user_notification_list_1 = require("../libraries/process.user.notification.list");
23
+ const access_business_service_1 = require("../services/access.business.service");
24
+ const listing_service_1 = require("../services/listing.service");
25
+ const typeorm_1 = require("typeorm");
26
+ let UserNotificationController = class UserNotificationController {
27
+ constructor(accessBusinessService, sqlService, listingService) {
28
+ this.accessBusinessService = accessBusinessService;
29
+ this.sqlService = sqlService;
30
+ this.listingService = listingService;
31
+ }
32
+ async search(body) {
33
+ const business = await this.accessBusinessService.validateAccess();
34
+ return new process_user_notification_list_1.ProcessUserNotificationList(business, this.listingService).process(body);
35
+ }
36
+ async find(body) {
37
+ const business = await this.accessBusinessService.validateAccess();
38
+ const config = {
39
+ primaryCondition: `a.deleted_at is null and a.business_id = ${business.id}`,
40
+ searchCompareKeys: ['a.identifier'],
41
+ tableName: 'bz_user_notifications a',
42
+ columns: [
43
+ 'a.id',
44
+ 'a.active',
45
+ 'a.product_id',
46
+ 'a.user_id',
47
+ 'a.source_type',
48
+ 'a.source_id',
49
+ 'a.type_id',
50
+ 'a.message',
51
+ 'jsonb(a.context) context',
52
+ 'a.archived_at',
53
+ 'a.acknowledged_at',
54
+ ],
55
+ order: `created_at asc`,
56
+ idsCompareKey: 'a.id',
57
+ ...body,
58
+ };
59
+ return new process_db_find_1.ProcessDbFind(this.sqlService).process(config);
60
+ }
61
+ async acknowledgeAll() {
62
+ const business = await this.accessBusinessService.validateAccess();
63
+ const user = nestjs_utility_services_1.Auth.user();
64
+ const notifications = await user_notification_entity_1.UserNotificationEntity.find({
65
+ where: { business_id: business.id, user_id: user.id, acknowledged_at: (0, typeorm_1.IsNull)(), product_id: user.auth_attributes.product_id },
66
+ });
67
+ for (const notification of notifications) {
68
+ notification.acknowledged_at = new Date();
69
+ await notification.save();
70
+ }
71
+ return { success: true };
72
+ }
73
+ async archiveAll() {
74
+ const business = await this.accessBusinessService.validateAccess();
75
+ const user = nestjs_utility_services_1.Auth.user();
76
+ 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 },
78
+ });
79
+ for (const notification of notifications) {
80
+ notification.archived_at = new Date();
81
+ await notification.save();
82
+ }
83
+ return { success: true };
84
+ }
85
+ async show(params) {
86
+ const business = await this.accessBusinessService.validateAccess();
87
+ const user = nestjs_utility_services_1.Auth.user();
88
+ const r = await user_notification_entity_1.UserNotificationEntity.findOne({ where: { id: params.id, business_id: business.id, user_id: user.id } });
89
+ if (!r)
90
+ throw new nestjs_utility_services_1.AccessException();
91
+ return r;
92
+ }
93
+ async acknowledge(params) {
94
+ const { entity } = await this.nestedValidation(params.id);
95
+ if (entity.acknowledged_at)
96
+ return entity;
97
+ entity.acknowledged_at = new Date();
98
+ return entity.save();
99
+ }
100
+ async archive(params) {
101
+ const { entity } = await this.nestedValidation(params.id);
102
+ if (entity.archived_at)
103
+ return entity;
104
+ entity.archived_at = new Date();
105
+ return entity.save();
106
+ }
107
+ async unarchive(params) {
108
+ const { entity } = await this.nestedValidation(params.id);
109
+ entity.archived_at = null;
110
+ return entity.save();
111
+ }
112
+ async nestedValidation(id) {
113
+ const business = await this.accessBusinessService.validateAccess();
114
+ const user = nestjs_utility_services_1.Auth.user();
115
+ const entity = await user_notification_entity_1.UserNotificationEntity.findOne({ where: { user_id: user.id, business_id: business.id, id } });
116
+ if (!entity)
117
+ throw new nestjs_utility_services_1.AccessException();
118
+ return { business, entity };
119
+ }
120
+ };
121
+ exports.UserNotificationController = UserNotificationController;
122
+ __decorate([
123
+ (0, common_1.Post)('search'),
124
+ __param(0, (0, common_1.Body)()),
125
+ __metadata("design:type", Function),
126
+ __metadata("design:paramtypes", [user_notification_list_filter_dto_1.UserNotificationListFilterDto]),
127
+ __metadata("design:returntype", Promise)
128
+ ], UserNotificationController.prototype, "search", null);
129
+ __decorate([
130
+ (0, common_1.Post)('find'),
131
+ __param(0, (0, common_1.Body)()),
132
+ __metadata("design:type", Function),
133
+ __metadata("design:paramtypes", [nestjs_utility_services_1.StringSearchDto]),
134
+ __metadata("design:returntype", Promise)
135
+ ], UserNotificationController.prototype, "find", null);
136
+ __decorate([
137
+ (0, common_1.Post)('acknowledge-all'),
138
+ __metadata("design:type", Function),
139
+ __metadata("design:paramtypes", []),
140
+ __metadata("design:returntype", Promise)
141
+ ], UserNotificationController.prototype, "acknowledgeAll", null);
142
+ __decorate([
143
+ (0, common_1.Post)('archive-all'),
144
+ __metadata("design:type", Function),
145
+ __metadata("design:paramtypes", []),
146
+ __metadata("design:returntype", Promise)
147
+ ], UserNotificationController.prototype, "archiveAll", null);
148
+ __decorate([
149
+ (0, common_1.Get)(':id'),
150
+ __param(0, (0, common_1.Param)()),
151
+ __metadata("design:type", Function),
152
+ __metadata("design:paramtypes", [business_param_dto_1.BusinessParamDto]),
153
+ __metadata("design:returntype", Promise)
154
+ ], UserNotificationController.prototype, "show", null);
155
+ __decorate([
156
+ (0, common_1.Post)(':id/acknowledge'),
157
+ __param(0, (0, common_1.Param)()),
158
+ __metadata("design:type", Function),
159
+ __metadata("design:paramtypes", [business_param_dto_1.BusinessParamDto]),
160
+ __metadata("design:returntype", Promise)
161
+ ], UserNotificationController.prototype, "acknowledge", null);
162
+ __decorate([
163
+ (0, common_1.Post)(':id/archive'),
164
+ __param(0, (0, common_1.Param)()),
165
+ __metadata("design:type", Function),
166
+ __metadata("design:paramtypes", [business_param_dto_1.BusinessParamDto]),
167
+ __metadata("design:returntype", Promise)
168
+ ], UserNotificationController.prototype, "archive", null);
169
+ __decorate([
170
+ (0, common_1.Post)(':id/unarchive'),
171
+ __param(0, (0, common_1.Param)()),
172
+ __metadata("design:type", Function),
173
+ __metadata("design:paramtypes", [business_param_dto_1.BusinessParamDto]),
174
+ __metadata("design:returntype", Promise)
175
+ ], UserNotificationController.prototype, "unarchive", null);
176
+ exports.UserNotificationController = UserNotificationController = __decorate([
177
+ (0, common_1.Controller)(),
178
+ __metadata("design:paramtypes", [access_business_service_1.AccessBusinessService,
179
+ nestjs_utility_services_1.SqlService,
180
+ listing_service_1.ListingService])
181
+ ], UserNotificationController);
182
+ //# sourceMappingURL=user.notification.controller.js.map
@@ -0,0 +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,mEAA8D;AAE9D,iGAA0F;AAC1F,mFAA8E;AAC9E,kEAA6D;AAC7D,gGAA0F;AAC1F,iFAA4E;AAC5E,iEAA6D;AAC7D,qCAAiC;AAQ1B,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;gBAC1B,eAAe;gBACf,mBAAmB;aACtB;YACD,KAAK,EAAE,gBAAgB;YACvB,aAAa,EAAE,MAAM;YACrB,GAAG,I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iB,CAAC;IACL,WAAA,IAAA,cAAK,GAAE,CAAA;;qCAAS,qCAAgB;;6DAOlD;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;;2DAMhD;qCAjHQ,0BAA0B;IADtC,IAAA,mBAAU,GAAE;qCAGqC,+CAAqB;QAClC,oCAAU;QACN,gCAAc;GAJ1C,0BAA0B,CA4HtC"}
@@ -71,6 +71,8 @@ export * from './string.search.dto';
71
71
  export * from './tagged.user.dto';
72
72
  export * from './ui.action.attributes.dto';
73
73
  export * from './ui.action.role.attributes.dto';
74
+ export * from './user.notification.attributes.dto';
75
+ export * from './user.notification.list.filter.dto';
74
76
  export * from './user.preference.attributes.dto';
75
77
  export * from './user.role.attributes.dto';
76
78
  export * from './watchlist.assignment.attributes.dto';
@@ -87,6 +87,8 @@ __exportStar(require("./string.search.dto"), exports);
87
87
  __exportStar(require("./tagged.user.dto"), exports);
88
88
  __exportStar(require("./ui.action.attributes.dto"), exports);
89
89
  __exportStar(require("./ui.action.role.attributes.dto"), exports);
90
+ __exportStar(require("./user.notification.attributes.dto"), exports);
91
+ __exportStar(require("./user.notification.list.filter.dto"), exports);
90
92
  __exportStar(require("./user.preference.attributes.dto"), exports);
91
93
  __exportStar(require("./user.role.attributes.dto"), exports);
92
94
  __exportStar(require("./watchlist.assignment.attributes.dto"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C;AAAA,wDAAsC;AAAA,gEAA8C;AAAA,gEAA8C;AAAA,wDAAsC;AAAA,wDAAsC;AAAA,yDAAuC;AAAA,yDAAuC;AAAA,yDAAuC;AAAA,+DAA6C;AAAA,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6DAA2C;AAAA,4DAA0C;AAAA,+DAA6C;AAAA,gEAA8C;AAAA,qEAAmD;AAAA,gEAA8C;AAAA,kEAAgD;AAAA,uDAAqC;AAAA,uEAAqD;AAAA,iEAA+C;AAAA,uEAAqD;AAAA,wEAAsD;AAAA,sEAAoD;AAAA,8DAA4C;AAAA,+DAA6C;AAAA,+DAA6C;AAAA,gEAA8C;AAAA,2DAAyC;AAAA,gEAA8C;AAAA,gEAA8C;AAAA,iEAA+C;AAAA,iEAA+C;AAAA,6DAA2C;AAAA,uEAAqD;AAAA,oDAAkC;AAAA,0DAAwC;AAAA,gDAA8B;AAAA,wDAAsC;AAAA,gEAA8C;AAAA,iEAA+C;AAAA,oEAAkD;AAAA,iEAA+C;AAAA,mEAAiD;AAAA,gEAA8C;AAAA,iEAA+C;AAAA,8DAA4C;AAAA,+DAA6C;AAAA,mEAAiD;AAAA,sDAAoC;AAAA,6DAA2C;AAAA,kEAAgD;AAAA,gEAA8C;AAAA,sEAAoD;AAAA,+DAA6C;AAAA,wDAAsC;AAAA,6DAA2C;AAAA,mEAAiD;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,qEAAmD;AAAA,sEAAoD;AAAA,mEAAiD;AAAA,6DAA2C;AAAA,wEAAsD;AAAA,gEAA8C;AAAA,gEAA6C"}
@@ -0,0 +1,3 @@
1
+ import { CommonAttributesDto } from '@servicelabsco/nestjs-utility-services';
2
+ export declare class UserNotificationAttributesDto extends CommonAttributesDto {
3
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserNotificationAttributesDto = void 0;
4
+ const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
5
+ class UserNotificationAttributesDto extends nestjs_utility_services_1.CommonAttributesDto {
6
+ }
7
+ exports.UserNotificationAttributesDto = UserNotificationAttributesDto;
8
+ //# sourceMappingURL=user.notification.attributes.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user.notification.attributes.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/user.notification.attributes.dto.ts"],"names":[],"mappings":";;;AAAA,oFAA6E;AAC7E,MAAa,6BAA8B,SAAQ,6CAAmB;CAAG;AAAzE,sEAAyE"}
@@ -0,0 +1,5 @@
1
+ import { CommonListFilterDto } from './common.list.filter.dto';
2
+ export declare class UserNotificationListFilterDto extends CommonListFilterDto {
3
+ product_id?: number;
4
+ archive?: true;
5
+ }
@@ -0,0 +1,31 @@
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.UserNotificationListFilterDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ const common_list_filter_dto_1 = require("./common.list.filter.dto");
16
+ class UserNotificationListFilterDto extends common_list_filter_dto_1.CommonListFilterDto {
17
+ }
18
+ exports.UserNotificationListFilterDto = UserNotificationListFilterDto;
19
+ __decorate([
20
+ (0, class_validator_1.IsNotEmpty)(),
21
+ (0, class_transformer_1.Expose)(),
22
+ (0, class_validator_1.IsNumber)(),
23
+ __metadata("design:type", Number)
24
+ ], UserNotificationListFilterDto.prototype, "product_id", void 0);
25
+ __decorate([
26
+ (0, class_transformer_1.Expose)(),
27
+ (0, class_validator_1.IsOptional)(),
28
+ (0, class_validator_1.IsBoolean)(),
29
+ __metadata("design:type", Boolean)
30
+ ], UserNotificationListFilterDto.prototype, "archive", void 0);
31
+ //# sourceMappingURL=user.notification.list.filter.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user.notification.list.filter.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/user.notification.list.filter.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,qDAA8E;AAC9E,qEAA+D;AAE/D,MAAa,6BAA8B,SAAQ,4CAAmB;CAUrE;AAVD,sEAUC;AANG;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;;iEACS;AAKpB;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;8DACG"}
@@ -36,6 +36,7 @@ export * from './role.group.entity';
36
36
  export * from './scheduled.report.entity';
37
37
  export * from './ui.action.entity';
38
38
  export * from './ui.action.role.entity';
39
+ export * from './user.notification.entity';
39
40
  export * from './user.preference.entity';
40
41
  export * from './user.role.entity';
41
42
  export * from './watchlist.assignment.entity';
@@ -52,6 +52,7 @@ __exportStar(require("./role.group.entity"), exports);
52
52
  __exportStar(require("./scheduled.report.entity"), exports);
53
53
  __exportStar(require("./ui.action.entity"), exports);
54
54
  __exportStar(require("./ui.action.role.entity"), exports);
55
+ __exportStar(require("./user.notification.entity"), exports);
55
56
  __exportStar(require("./user.preference.entity"), exports);
56
57
  __exportStar(require("./user.role.entity"), exports);
57
58
  __exportStar(require("./watchlist.assignment.entity"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AAAA,uDAAqC;AAAA,0DAAwC;AAAA,+DAA6C;AAAA,+DAA6C;AAAA,yDAAuC;AAAA,+DAA6C;AAAA,8DAA4C;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,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,qDAAmC;AAAA,gEAA8C;AAAA,wDAAsC;AAAA,wDAAqC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AAAA,uDAAqC;AAAA,0DAAwC;AAAA,+DAA6C;AAAA,+DAA6C;AAAA,yDAAuC;AAAA,+DAA6C;AAAA,8DAA4C;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,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,6DAA2C;AAAA,2DAAyC;AAAA,qDAAmC;AAAA,gEAA8C;AAAA,wDAAsC;AAAA,wDAAqC"}
@@ -0,0 +1,22 @@
1
+ import { CommonEntity, LookupValueEntity, UserEntity } from '@servicelabsco/nestjs-utility-services';
2
+ import { UserNotificationAttributesDto } from '../dtos/user.notification.attributes.dto';
3
+ import { AccessBusinessEntity } from './access.business.entity';
4
+ import { ProductEntity } from './product.entity';
5
+ export declare class UserNotificationEntity extends CommonEntity {
6
+ business_id: number;
7
+ product_id: number;
8
+ user_id: number;
9
+ type_id: number;
10
+ source_type: string;
11
+ source_id: number;
12
+ message: string;
13
+ context: any;
14
+ archived_at: Date;
15
+ acknowledged_at: Date;
16
+ active: boolean;
17
+ attributes: UserNotificationAttributesDto;
18
+ business: AccessBusinessEntity;
19
+ type: LookupValueEntity;
20
+ product: ProductEntity;
21
+ user: UserEntity;
22
+ }
@@ -0,0 +1,92 @@
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.UserNotificationEntity = void 0;
13
+ const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
14
+ const typeorm_1 = require("typeorm");
15
+ const user_notification_attributes_dto_1 = require("../dtos/user.notification.attributes.dto");
16
+ const access_business_entity_1 = require("./access.business.entity");
17
+ const product_entity_1 = require("./product.entity");
18
+ let UserNotificationEntity = class UserNotificationEntity extends nestjs_utility_services_1.CommonEntity {
19
+ };
20
+ exports.UserNotificationEntity = UserNotificationEntity;
21
+ __decorate([
22
+ (0, typeorm_1.Column)(),
23
+ __metadata("design:type", Number)
24
+ ], UserNotificationEntity.prototype, "business_id", void 0);
25
+ __decorate([
26
+ (0, typeorm_1.Column)(),
27
+ __metadata("design:type", Number)
28
+ ], UserNotificationEntity.prototype, "product_id", void 0);
29
+ __decorate([
30
+ (0, typeorm_1.Column)(),
31
+ __metadata("design:type", Number)
32
+ ], UserNotificationEntity.prototype, "user_id", void 0);
33
+ __decorate([
34
+ (0, typeorm_1.Column)(),
35
+ __metadata("design:type", Number)
36
+ ], UserNotificationEntity.prototype, "type_id", void 0);
37
+ __decorate([
38
+ (0, typeorm_1.Column)(),
39
+ __metadata("design:type", String)
40
+ ], UserNotificationEntity.prototype, "source_type", void 0);
41
+ __decorate([
42
+ (0, typeorm_1.Column)(),
43
+ __metadata("design:type", Number)
44
+ ], UserNotificationEntity.prototype, "source_id", void 0);
45
+ __decorate([
46
+ (0, typeorm_1.Column)(),
47
+ __metadata("design:type", String)
48
+ ], UserNotificationEntity.prototype, "message", void 0);
49
+ __decorate([
50
+ (0, typeorm_1.Column)('json'),
51
+ __metadata("design:type", Object)
52
+ ], UserNotificationEntity.prototype, "context", void 0);
53
+ __decorate([
54
+ (0, typeorm_1.Column)(),
55
+ __metadata("design:type", Date)
56
+ ], UserNotificationEntity.prototype, "archived_at", void 0);
57
+ __decorate([
58
+ (0, typeorm_1.Column)(),
59
+ __metadata("design:type", Date)
60
+ ], UserNotificationEntity.prototype, "acknowledged_at", void 0);
61
+ __decorate([
62
+ (0, typeorm_1.Column)(),
63
+ __metadata("design:type", Boolean)
64
+ ], UserNotificationEntity.prototype, "active", void 0);
65
+ __decorate([
66
+ (0, typeorm_1.Column)('json'),
67
+ __metadata("design:type", user_notification_attributes_dto_1.UserNotificationAttributesDto)
68
+ ], UserNotificationEntity.prototype, "attributes", void 0);
69
+ __decorate([
70
+ (0, typeorm_1.ManyToOne)(() => access_business_entity_1.AccessBusinessEntity),
71
+ (0, typeorm_1.JoinColumn)({ name: 'business_id' }),
72
+ __metadata("design:type", access_business_entity_1.AccessBusinessEntity)
73
+ ], UserNotificationEntity.prototype, "business", void 0);
74
+ __decorate([
75
+ (0, typeorm_1.ManyToOne)(() => nestjs_utility_services_1.LookupValueEntity),
76
+ (0, typeorm_1.JoinColumn)({ name: 'business_id' }),
77
+ __metadata("design:type", nestjs_utility_services_1.LookupValueEntity)
78
+ ], UserNotificationEntity.prototype, "type", void 0);
79
+ __decorate([
80
+ (0, typeorm_1.ManyToOne)(() => product_entity_1.ProductEntity),
81
+ (0, typeorm_1.JoinColumn)({ name: 'product_id' }),
82
+ __metadata("design:type", product_entity_1.ProductEntity)
83
+ ], UserNotificationEntity.prototype, "product", void 0);
84
+ __decorate([
85
+ (0, typeorm_1.ManyToOne)(() => nestjs_utility_services_1.UserEntity),
86
+ (0, typeorm_1.JoinColumn)({ name: 'user_id' }),
87
+ __metadata("design:type", nestjs_utility_services_1.UserEntity)
88
+ ], UserNotificationEntity.prototype, "user", void 0);
89
+ exports.UserNotificationEntity = UserNotificationEntity = __decorate([
90
+ (0, typeorm_1.Entity)('bz_user_notifications')
91
+ ], UserNotificationEntity);
92
+ //# sourceMappingURL=user.notification.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user.notification.entity.js","sourceRoot":"","sources":["../../../src/access/entities/user.notification.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAAqG;AACrG,qCAAgE;AAChE,+FAAyF;AACzF,qEAAgE;AAChE,qDAAiD;AAS1C,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,sCAAY;CA2CvD,CAAA;AA3CY,wDAAsB;AAE/B;I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/group.role.controller';
15
15
  import { ListingController } from './controllers/listing.controller';
16
16
  import { ListingPreferenceController } from './controllers/listing.preference.controller';
17
17
  import { ScheduledReportController } from './controllers/scheduled.report.controller';
18
+ import { UserNotificationController } from './controllers/user.notification.controller';
18
19
  import { UserPreferenceController } from './controllers/user.preference.controller';
19
20
  import { AccessBusinessParamDto } from './dtos/access.business.param.dto';
20
21
  import { AddApiAccountDto } from './dtos/add.api.account.dto';
@@ -58,6 +59,7 @@ import { PreferenceUserGroupEntity } from './entities/preference.user.group.enti
58
59
  import { ProductEntity } from './entities/product.entity';
59
60
  import { ScheduledReportEntity } from './entities/scheduled.report.entity';
60
61
  import { UiActionRoleEntity } from './entities/ui.action.role.entity';
62
+ import { UserNotificationEntity } from './entities/user.notification.entity';
61
63
  import { UserRoleEntity } from './entities/user.role.entity';
62
64
  import { WatchlistAssignmentEntity } from './entities/watchlist.assignment.entity';
63
65
  import { WebhookSlugEntity } from './entities/webhook.slug.entity';
@@ -102,6 +104,7 @@ import { ScheduledReportProcessingJob } from './jobs/scheduled.report.processing
102
104
  import { SyncBURoleJob } from './jobs/sync.b.u.role.job';
103
105
  import { UiActionJob } from './jobs/ui.action.job';
104
106
  import { UiActionRoleJob } from './jobs/ui.action.role.job';
107
+ import { UserNotificationJob } from './jobs/user.notification.job';
105
108
  import { UserPreferenceJob } from './jobs/user.preference.job';
106
109
  import { UserRoleJob } from './jobs/user.role.job';
107
110
  import { WatchlistAssignmentJob } from './jobs/watchlist.assignment.job';
@@ -139,6 +142,7 @@ import { ProcessScheduledReportData } from './libraries/process.scheduled.report
139
142
  import { ProcessScheduledReportList } from './libraries/process.scheduled.report.list';
140
143
  import { ProcessTestList } from './libraries/process.test.list';
141
144
  import { ProcessUserGroupCreation } from './libraries/process.user.group.creation';
145
+ import { ProcessUserNotificationList } from './libraries/process.user.notification.list';
142
146
  import { SyncBusinessUserRole } from './libraries/sync.business.user.role';
143
147
  import { ValidateCustomFieldData } from './libraries/validate.custom.field.data';
144
148
  import { BusinessMiddleware } from './middlewares/business.middleware';
@@ -153,6 +157,7 @@ import { Es6JobsService } from './services/es6.jobs.service';
153
157
  import { ListingPreferenceService } from './services/listing.preference.service';
154
158
  import { ListingService } from './services/listing.service';
155
159
  import { LoadEntityService } from './services/load.entity.service';
160
+ import { UserNotificationService } from './services/user.notification.service';
156
161
  import { UserPreferenceService } from './services/user.preference.service';
157
162
  import { UtilityService } from './services/utility.service';
158
163
  import { WebhookService } from './services/webhook.service';
@@ -193,6 +198,7 @@ import { RoleGroupSubscriber } from './subscribers/role.group.subscriber';
193
198
  import { ScheduledReportSubscriber } from './subscribers/scheduled.report.subscriber';
194
199
  import { UiActionRoleSubscriber } from './subscribers/ui.action.role.subscriber';
195
200
  import { UiActionSubscriber } from './subscribers/ui.action.subscriber';
201
+ import { UserNotificationSubscriber } from './subscribers/user.notification.subscriber';
196
202
  import { UserPreferenceSubscriber } from './subscribers/user.preference.subscriber';
197
203
  import { UserRoleSubscriber } from './subscribers/user.role.subscriber';
198
204
  import { WatchlistAssignmentSubscriber } from './subscribers/watchlist.assignment.subscriber';
@@ -200,14 +206,14 @@ import { WebhookSlugSubscriber } from './subscribers/webhook.slug.subscriber';
200
206
  import { WebhookTypeSubscriber } from './subscribers/webhook.type.subscriber';
201
207
  declare const es6Classes: {
202
208
  commands: (typeof WebhookPollCommand)[];
203
- controllers: (typeof AccessMenuController | typeof ApiAccountController | typeof BulkUploadController | typeof BulkUploadItemController | typeof BusinessPreferenceController | typeof BusinessUserGroupController | typeof ChoiceListController | typeof ChoiceTypeController | typeof CustomFieldController | typeof DashboardController | typeof DownloadLogController | typeof GroupMemberController | typeof GroupRoleController | typeof ListingController | typeof ListingPreferenceController | typeof ScheduledReportController | typeof UserPreferenceController)[];
209
+ controllers: (typeof AccessMenuController | typeof ApiAccountController | typeof BulkUploadController | typeof BulkUploadItemController | typeof BusinessPreferenceController | typeof BusinessUserGroupController | typeof ChoiceListController | typeof ChoiceTypeController | typeof CustomFieldController | typeof DashboardController | typeof DownloadLogController | typeof GroupMemberController | typeof GroupRoleController | typeof ListingController | typeof ListingPreferenceController | typeof ScheduledReportController | typeof UserNotificationController | typeof UserPreferenceController)[];
204
210
  dtos: (typeof ApiAccountAttributesDto | typeof AccessBusinessParamDto | typeof AddApiAccountDto | typeof DateRangeFilterDto | typeof DateFilterDto | typeof ListResponseFormatDto | typeof NumberRangeFilterDto | typeof CommonListFilterDto | typeof DbFindDto | typeof ListResponseDto | typeof AddListingPreferenceDto | typeof ProcessCommonListConfigDto | typeof AddBusinessPreferenceDto | typeof ModifyCustomFieldStatusDto | typeof StringSearchDto | typeof AddGroupMemberDto | typeof AddRoleDto | typeof AddScheduledReportDto | typeof AddConversationDto | typeof ProcessListingPayloadDto)[];
205
- 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 PreferenceUserGroupEntity | typeof ModuleMenuEntity | typeof ScheduledReportEntity | typeof UserRoleEntity | typeof WatchlistAssignmentEntity | typeof WebhookSlugEntity)[];
211
+ 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 PreferenceUserGroupEntity | typeof ModuleMenuEntity | typeof ScheduledReportEntity | typeof UserNotificationEntity | typeof UserRoleEntity | typeof WatchlistAssignmentEntity | typeof WebhookSlugEntity)[];
206
212
  enums: (typeof CustomColumnTypeEnum)[];
207
- jobs: (typeof AccessTestJob | typeof ApiAccountJob | typeof BusinessEmailJob | typeof BusinessGroupRoleJob | typeof BusinessPreferenceJob | typeof BusinessUserGroupJob | typeof BusinessUserJob | typeof BusinessUserRoleJob | 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 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 SyncBURoleJob | typeof UiActionJob | typeof UiActionRoleJob | typeof UserPreferenceJob | typeof UserRoleJob | typeof WatchlistAssignmentJob | typeof WebhookSlugJob | typeof WebhookTypeJob)[];
208
- libraries: (typeof ProcessApplicationMenu | typeof ProcessMenuDetails | typeof ProcessApiAccountData | typeof ProcessListingCsvFile | typeof ProcessDateFilter | typeof ProcessCommonList | typeof ProcessApiAccountList | typeof ProcessDbFind | typeof ProcessBulkUploadList | typeof ProcessBulkUploadItemList | typeof ProcessBusinessUserGroupList | typeof ProcessUserGroupCreation | typeof ProcessChoiceListData | typeof ProcessChoiceTypeList | typeof ProcessChoiceTypeData | typeof ProcessCustomFieldList | typeof ProcessCustomFieldCreation | typeof ProcessDashboardReport | typeof ProcessDownloadLogList | typeof ProcessGroupMemberList | typeof ProcessGroupRoleList | typeof ProcessPreferenceData | typeof ProcessScheduledReportData | typeof ProcessScheduledReportList | typeof ProcessBusinessGroupRoleUpdation | typeof ProcessBusinessUserRoleUpdate | typeof ProcessGroupMemberUpdation | typeof ProcessReportData | typeof SyncBusinessUserRole | typeof ProcessConversationData | typeof ConversationController | typeof ValidateCustomFieldData | typeof ProcessCommonCustomField | typeof ProcessTestList)[];
213
+ jobs: (typeof AccessTestJob | typeof ApiAccountJob | typeof BusinessEmailJob | typeof BusinessGroupRoleJob | typeof BusinessPreferenceJob | typeof BusinessUserGroupJob | typeof BusinessUserJob | typeof BusinessUserRoleJob | 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 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 SyncBURoleJob | typeof UiActionJob | typeof UiActionRoleJob | typeof UserNotificationJob | typeof UserPreferenceJob | typeof UserRoleJob | typeof WatchlistAssignmentJob | typeof WebhookSlugJob | typeof WebhookTypeJob)[];
214
+ libraries: (typeof ProcessApplicationMenu | typeof ProcessMenuDetails | typeof ProcessApiAccountData | typeof ProcessListingCsvFile | typeof ProcessDateFilter | typeof ProcessCommonList | typeof ProcessApiAccountList | typeof ProcessDbFind | typeof ProcessBulkUploadList | typeof ProcessBulkUploadItemList | typeof ProcessBusinessUserGroupList | typeof ProcessUserGroupCreation | typeof ProcessChoiceListData | typeof ProcessChoiceTypeList | typeof ProcessChoiceTypeData | typeof ProcessCustomFieldList | typeof ProcessCustomFieldCreation | typeof ProcessDashboardReport | typeof ProcessDownloadLogList | typeof ProcessGroupMemberList | typeof ProcessGroupRoleList | typeof ProcessPreferenceData | typeof ProcessScheduledReportData | typeof ProcessScheduledReportList | typeof ProcessUserNotificationList | typeof ProcessBusinessGroupRoleUpdation | typeof ProcessBusinessUserRoleUpdate | typeof ProcessGroupMemberUpdation | typeof ProcessReportData | typeof SyncBusinessUserRole | typeof ProcessConversationData | typeof ConversationController | typeof ValidateCustomFieldData | typeof ProcessCommonCustomField | typeof ProcessTestList)[];
209
215
  middlewares: (typeof BusinessMiddleware | typeof ExternalAccessMiddleware)[];
210
- services: (typeof WebhookService | typeof ListingService | typeof AccessBusinessService | typeof AuditLogService | typeof ListingPreferenceService | typeof BusinessUserRoleService | typeof UtilityService | typeof CustomFieldService | typeof ApiAccountService | typeof BusinessPreferenceService | typeof Es6JobsService | typeof LoadEntityService | typeof UserPreferenceService)[];
211
- subscribers: (typeof ApiAccountSubscriber | typeof BusinessEmailSubscriber | typeof BusinessGroupRoleSubscriber | typeof BusinessPreferenceSubscriber | typeof BusinessUserGroupSubscriber | typeof BusinessUserRoleSubscriber | typeof BusinessUserSubscriber | 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 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 | typeof WatchlistAssignmentSubscriber | typeof WebhookSlugSubscriber | typeof WebhookTypeSubscriber)[];
216
+ services: (typeof WebhookService | typeof ListingService | typeof AccessBusinessService | typeof AuditLogService | typeof ListingPreferenceService | typeof BusinessUserRoleService | typeof UtilityService | typeof CustomFieldService | typeof ApiAccountService | typeof BusinessPreferenceService | typeof Es6JobsService | typeof LoadEntityService | typeof UserNotificationService | typeof UserPreferenceService)[];
217
+ subscribers: (typeof ApiAccountSubscriber | typeof BusinessEmailSubscriber | typeof BusinessGroupRoleSubscriber | typeof BusinessPreferenceSubscriber | typeof BusinessUserGroupSubscriber | typeof BusinessUserRoleSubscriber | typeof BusinessUserSubscriber | 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 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 UserNotificationSubscriber | typeof UserPreferenceSubscriber | typeof UserRoleSubscriber | typeof WatchlistAssignmentSubscriber | typeof WebhookSlugSubscriber | typeof WebhookTypeSubscriber)[];
212
218
  };
213
219
  export default es6Classes;