@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.
- package/dist/access/controllers/index.d.ts +1 -0
- package/dist/access/controllers/index.js +1 -0
- package/dist/access/controllers/index.js.map +1 -1
- package/dist/access/controllers/user.notification.controller.d.ts +25 -0
- package/dist/access/controllers/user.notification.controller.js +182 -0
- package/dist/access/controllers/user.notification.controller.js.map +1 -0
- package/dist/access/dtos/index.d.ts +2 -0
- package/dist/access/dtos/index.js +2 -0
- package/dist/access/dtos/index.js.map +1 -1
- package/dist/access/dtos/user.notification.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/user.notification.attributes.dto.js +8 -0
- package/dist/access/dtos/user.notification.attributes.dto.js.map +1 -0
- package/dist/access/dtos/user.notification.list.filter.dto.d.ts +5 -0
- package/dist/access/dtos/user.notification.list.filter.dto.js +31 -0
- package/dist/access/dtos/user.notification.list.filter.dto.js.map +1 -0
- package/dist/access/entities/index.d.ts +1 -0
- package/dist/access/entities/index.js +1 -0
- package/dist/access/entities/index.js.map +1 -1
- package/dist/access/entities/user.notification.entity.d.ts +22 -0
- package/dist/access/entities/user.notification.entity.js +92 -0
- package/dist/access/entities/user.notification.entity.js.map +1 -0
- package/dist/access/es6.classes.d.ts +12 -6
- package/dist/access/es6.classes.js +16 -0
- package/dist/access/es6.classes.js.map +1 -1
- package/dist/access/jobs/index.d.ts +1 -0
- package/dist/access/jobs/index.js +1 -0
- package/dist/access/jobs/index.js.map +1 -1
- package/dist/access/jobs/user.notification.job.d.ts +7 -0
- package/dist/access/jobs/user.notification.job.js +29 -0
- package/dist/access/jobs/user.notification.job.js.map +1 -0
- package/dist/access/libraries/index.d.ts +1 -0
- package/dist/access/libraries/index.js +1 -0
- package/dist/access/libraries/index.js.map +1 -1
- package/dist/access/libraries/process.user.notification.list.d.ts +20 -0
- package/dist/access/libraries/process.user.notification.list.js +38 -0
- package/dist/access/libraries/process.user.notification.list.js.map +1 -0
- package/dist/access/services/es6.jobs.service.d.ts +3 -1
- package/dist/access/services/es6.jobs.service.js +5 -1
- package/dist/access/services/es6.jobs.service.js.map +1 -1
- package/dist/access/services/index.d.ts +1 -0
- package/dist/access/services/index.js +1 -0
- package/dist/access/services/index.js.map +1 -1
- package/dist/access/services/user.notification.service.d.ts +5 -0
- package/dist/access/services/user.notification.service.js +31 -0
- package/dist/access/services/user.notification.service.js.map +1 -0
- package/dist/access/subscribers/index.d.ts +1 -0
- package/dist/access/subscribers/index.js +1 -0
- package/dist/access/subscribers/index.js.map +1 -1
- package/dist/access/subscribers/user.notification.subscriber.d.ts +12 -0
- package/dist/access/subscribers/user.notification.subscriber.js +40 -0
- package/dist/access/subscribers/user.notification.subscriber.js.map +1 -0
- package/dist/accessUtility/dtos/email.notification.attributes.dto.d.ts +3 -0
- package/dist/accessUtility/dtos/email.notification.attributes.dto.js +8 -0
- package/dist/accessUtility/dtos/email.notification.attributes.dto.js.map +1 -0
- package/dist/accessUtility/dtos/inapp.notification.attributes.dto.d.ts +3 -0
- package/dist/accessUtility/dtos/inapp.notification.attributes.dto.js +8 -0
- package/dist/accessUtility/dtos/inapp.notification.attributes.dto.js.map +1 -0
- package/dist/accessUtility/dtos/index.d.ts +6 -0
- package/dist/accessUtility/dtos/index.js +6 -0
- package/dist/accessUtility/dtos/index.js.map +1 -1
- package/dist/accessUtility/dtos/notification.attributes.dto.d.ts +3 -0
- package/dist/accessUtility/dtos/notification.attributes.dto.js +8 -0
- package/dist/accessUtility/dtos/notification.attributes.dto.js.map +1 -0
- package/dist/accessUtility/dtos/notification.recipient.attributes.dto.d.ts +3 -0
- package/dist/accessUtility/dtos/notification.recipient.attributes.dto.js +8 -0
- package/dist/accessUtility/dtos/notification.recipient.attributes.dto.js.map +1 -0
- package/dist/accessUtility/dtos/sms.notification.attributes.dto.d.ts +3 -0
- package/dist/accessUtility/dtos/sms.notification.attributes.dto.js +8 -0
- package/dist/accessUtility/dtos/sms.notification.attributes.dto.js.map +1 -0
- package/dist/accessUtility/dtos/whatsapp.notification.attributes.dto.d.ts +3 -0
- package/dist/accessUtility/dtos/whatsapp.notification.attributes.dto.js +8 -0
- package/dist/accessUtility/dtos/whatsapp.notification.attributes.dto.js.map +1 -0
- package/dist/accessUtility/entities/email.notification.entity.d.ts +12 -0
- package/dist/accessUtility/entities/email.notification.entity.js +53 -0
- package/dist/accessUtility/entities/email.notification.entity.js.map +1 -0
- package/dist/accessUtility/entities/inapp.notification.entity.d.ts +12 -0
- package/dist/accessUtility/entities/inapp.notification.entity.js +52 -0
- package/dist/accessUtility/entities/inapp.notification.entity.js.map +1 -0
- package/dist/accessUtility/entities/index.d.ts +6 -0
- package/dist/accessUtility/entities/index.js +6 -0
- package/dist/accessUtility/entities/index.js.map +1 -1
- package/dist/accessUtility/entities/notification.entity.d.ts +15 -0
- package/dist/accessUtility/entities/notification.entity.js +68 -0
- package/dist/accessUtility/entities/notification.entity.js.map +1 -0
- package/dist/accessUtility/entities/notification.recipient.entity.d.ts +12 -0
- package/dist/accessUtility/entities/notification.recipient.entity.js +54 -0
- package/dist/accessUtility/entities/notification.recipient.entity.js.map +1 -0
- package/dist/accessUtility/entities/sms.notification.entity.d.ts +12 -0
- package/dist/accessUtility/entities/sms.notification.entity.js +53 -0
- package/dist/accessUtility/entities/sms.notification.entity.js.map +1 -0
- package/dist/accessUtility/entities/whatsapp.notification.entity.d.ts +12 -0
- package/dist/accessUtility/entities/whatsapp.notification.entity.js +53 -0
- package/dist/accessUtility/entities/whatsapp.notification.entity.js.map +1 -0
- package/dist/accessUtility/es6.classes.d.ts +20 -3
- package/dist/accessUtility/es6.classes.js +48 -0
- package/dist/accessUtility/es6.classes.js.map +1 -1
- package/dist/accessUtility/jobs/email.notification.job.d.ts +7 -0
- package/dist/accessUtility/jobs/email.notification.job.js +29 -0
- package/dist/accessUtility/jobs/email.notification.job.js.map +1 -0
- package/dist/accessUtility/jobs/inapp.notification.job.d.ts +7 -0
- package/dist/accessUtility/jobs/inapp.notification.job.js +29 -0
- package/dist/accessUtility/jobs/inapp.notification.job.js.map +1 -0
- package/dist/accessUtility/jobs/index.d.ts +6 -0
- package/dist/accessUtility/jobs/index.js +6 -0
- package/dist/accessUtility/jobs/index.js.map +1 -1
- package/dist/accessUtility/jobs/notification.job.d.ts +7 -0
- package/dist/accessUtility/jobs/notification.job.js +29 -0
- package/dist/accessUtility/jobs/notification.job.js.map +1 -0
- package/dist/accessUtility/jobs/notification.recipient.job.d.ts +7 -0
- package/dist/accessUtility/jobs/notification.recipient.job.js +29 -0
- package/dist/accessUtility/jobs/notification.recipient.job.js.map +1 -0
- package/dist/accessUtility/jobs/sms.notification.job.d.ts +7 -0
- package/dist/accessUtility/jobs/sms.notification.job.js +29 -0
- package/dist/accessUtility/jobs/sms.notification.job.js.map +1 -0
- package/dist/accessUtility/jobs/whatsapp.notification.job.d.ts +7 -0
- package/dist/accessUtility/jobs/whatsapp.notification.job.js +29 -0
- package/dist/accessUtility/jobs/whatsapp.notification.job.js.map +1 -0
- package/dist/accessUtility/services/es6.jobs.service.d.ts +13 -1
- package/dist/accessUtility/services/es6.jobs.service.js +26 -2
- package/dist/accessUtility/services/es6.jobs.service.js.map +1 -1
- package/dist/accessUtility/subscribers/email.notification.subscriber.d.ts +12 -0
- package/dist/accessUtility/subscribers/email.notification.subscriber.js +40 -0
- package/dist/accessUtility/subscribers/email.notification.subscriber.js.map +1 -0
- package/dist/accessUtility/subscribers/inapp.notification.subscriber.d.ts +12 -0
- package/dist/accessUtility/subscribers/inapp.notification.subscriber.js +40 -0
- package/dist/accessUtility/subscribers/inapp.notification.subscriber.js.map +1 -0
- package/dist/accessUtility/subscribers/index.d.ts +6 -0
- package/dist/accessUtility/subscribers/index.js +6 -0
- package/dist/accessUtility/subscribers/index.js.map +1 -1
- package/dist/accessUtility/subscribers/notification.recipient.subscriber.d.ts +12 -0
- package/dist/accessUtility/subscribers/notification.recipient.subscriber.js +40 -0
- package/dist/accessUtility/subscribers/notification.recipient.subscriber.js.map +1 -0
- package/dist/accessUtility/subscribers/notification.subscriber.d.ts +12 -0
- package/dist/accessUtility/subscribers/notification.subscriber.js +40 -0
- package/dist/accessUtility/subscribers/notification.subscriber.js.map +1 -0
- package/dist/accessUtility/subscribers/sms.notification.subscriber.d.ts +12 -0
- package/dist/accessUtility/subscribers/sms.notification.subscriber.js +40 -0
- package/dist/accessUtility/subscribers/sms.notification.subscriber.js.map +1 -0
- package/dist/accessUtility/subscribers/whatsapp.notification.subscriber.d.ts +12 -0
- package/dist/accessUtility/subscribers/whatsapp.notification.subscriber.js +40 -0
- package/dist/accessUtility/subscribers/whatsapp.notification.subscriber.js.map +1 -0
- package/dist/config/entity.constants.d.ts +14 -0
- package/dist/config/entity.constants.js +14 -0
- package/dist/config/entity.constants.js.map +1 -1
- package/dist/migrations/1711969014729-CreateNotificationTable.d.ts +5 -0
- package/dist/migrations/1711969014729-CreateNotificationTable.js +26 -0
- package/dist/migrations/1711969014729-CreateNotificationTable.js.map +1 -0
- package/dist/migrations/1711973530629-CreateNotificationRecipientTable.d.ts +5 -0
- package/dist/migrations/1711973530629-CreateNotificationRecipientTable.js +23 -0
- package/dist/migrations/1711973530629-CreateNotificationRecipientTable.js.map +1 -0
- package/dist/migrations/1714934011990-CreateEmailNotificationTable.d.ts +5 -0
- package/dist/migrations/1714934011990-CreateEmailNotificationTable.js +21 -0
- package/dist/migrations/1714934011990-CreateEmailNotificationTable.js.map +1 -0
- package/dist/migrations/1714934451680-CreateSmsNotificationTable.d.ts +5 -0
- package/dist/migrations/1714934451680-CreateSmsNotificationTable.js +21 -0
- package/dist/migrations/1714934451680-CreateSmsNotificationTable.js.map +1 -0
- package/dist/migrations/1714934675041-CreateWhatsappNotificationTable.d.ts +5 -0
- package/dist/migrations/1714934675041-CreateWhatsappNotificationTable.js +21 -0
- package/dist/migrations/1714934675041-CreateWhatsappNotificationTable.js.map +1 -0
- package/dist/migrations/1714934790375-CreateInappNotificationTable.d.ts +5 -0
- package/dist/migrations/1714934790375-CreateInappNotificationTable.js +22 -0
- package/dist/migrations/1714934790375-CreateInappNotificationTable.js.map +1 -0
- package/dist/migrations/1714936884321-CreateUserNotificationTable.d.ts +5 -0
- package/dist/migrations/1714936884321-CreateUserNotificationTable.js +27 -0
- package/dist/migrations/1714936884321-CreateUserNotificationTable.js.map +1 -0
- package/dist/migrations/1715063695201-RemoveVisibleBzUserNotificationsTable.d.ts +5 -0
- package/dist/migrations/1715063695201-RemoveVisibleBzUserNotificationsTable.js +15 -0
- package/dist/migrations/1715063695201-RemoveVisibleBzUserNotificationsTable.js.map +1 -0
- package/dist/migrations/1715064155735-AddTypeIdBzUserNotificationsTable.d.ts +5 -0
- package/dist/migrations/1715064155735-AddTypeIdBzUserNotificationsTable.js +16 -0
- package/dist/migrations/1715064155735-AddTypeIdBzUserNotificationsTable.js.map +1 -0
- package/package.json +1 -1
|
@@ -8,8 +8,14 @@ export * from './bulk.upload.sheet.dto';
|
|
|
8
8
|
export * from './bulk.upload.type.attributes.dto';
|
|
9
9
|
export * from './data.mapping.attributes.dto';
|
|
10
10
|
export * from './document.file.upload.dto';
|
|
11
|
+
export * from './email.notification.attributes.dto';
|
|
11
12
|
export * from './error.handling.dto';
|
|
13
|
+
export * from './inapp.notification.attributes.dto';
|
|
12
14
|
export * from './listing.model.attributes.dto';
|
|
15
|
+
export * from './notification.attributes.dto';
|
|
16
|
+
export * from './notification.recipient.attributes.dto';
|
|
17
|
+
export * from './sms.notification.attributes.dto';
|
|
13
18
|
export * from './tag.assignment.attributes.dto';
|
|
14
19
|
export * from './upload.modification.attributes.dto';
|
|
15
20
|
export * from './webhook.request.attributes.dto';
|
|
21
|
+
export * from './whatsapp.notification.attributes.dto';
|
|
@@ -24,9 +24,15 @@ __exportStar(require("./bulk.upload.sheet.dto"), exports);
|
|
|
24
24
|
__exportStar(require("./bulk.upload.type.attributes.dto"), exports);
|
|
25
25
|
__exportStar(require("./data.mapping.attributes.dto"), exports);
|
|
26
26
|
__exportStar(require("./document.file.upload.dto"), exports);
|
|
27
|
+
__exportStar(require("./email.notification.attributes.dto"), exports);
|
|
27
28
|
__exportStar(require("./error.handling.dto"), exports);
|
|
29
|
+
__exportStar(require("./inapp.notification.attributes.dto"), exports);
|
|
28
30
|
__exportStar(require("./listing.model.attributes.dto"), exports);
|
|
31
|
+
__exportStar(require("./notification.attributes.dto"), exports);
|
|
32
|
+
__exportStar(require("./notification.recipient.attributes.dto"), exports);
|
|
33
|
+
__exportStar(require("./sms.notification.attributes.dto"), exports);
|
|
29
34
|
__exportStar(require("./tag.assignment.attributes.dto"), exports);
|
|
30
35
|
__exportStar(require("./upload.modification.attributes.dto"), exports);
|
|
31
36
|
__exportStar(require("./webhook.request.attributes.dto"), exports);
|
|
37
|
+
__exportStar(require("./whatsapp.notification.attributes.dto"), exports);
|
|
32
38
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accessUtility/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAiD;AAAA,wEAAsD;AAAA,8EAA4D;AAAA,+DAA6C;AAAA,sEAAoD;AAAA,oEAAkD;AAAA,0DAAwC;AAAA,oEAAkD;AAAA,gEAA8C;AAAA,6DAA2C;AAAA,uDAAqC;AAAA,iEAA+C;AAAA,kEAAgD;AAAA,uEAAqD;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accessUtility/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAiD;AAAA,wEAAsD;AAAA,8EAA4D;AAAA,+DAA6C;AAAA,sEAAoD;AAAA,oEAAkD;AAAA,0DAAwC;AAAA,oEAAkD;AAAA,gEAA8C;AAAA,6DAA2C;AAAA,sEAAoD;AAAA,uDAAqC;AAAA,sEAAoD;AAAA,iEAA+C;AAAA,gEAA8C;AAAA,0EAAwD;AAAA,oEAAkD;AAAA,kEAAgD;AAAA,uEAAqD;AAAA,mEAAiD;AAAA,yEAAsD"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NotificationAttributesDto = void 0;
|
|
4
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
5
|
+
class NotificationAttributesDto extends nestjs_utility_services_1.CommonAttributesDto {
|
|
6
|
+
}
|
|
7
|
+
exports.NotificationAttributesDto = NotificationAttributesDto;
|
|
8
|
+
//# sourceMappingURL=notification.attributes.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification.attributes.dto.js","sourceRoot":"","sources":["../../../src/accessUtility/dtos/notification.attributes.dto.ts"],"names":[],"mappings":";;;AAAA,oFAA6E;AAC7E,MAAa,yBAA0B,SAAQ,6CAAmB;CAAG;AAArE,8DAAqE"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NotificationRecipientAttributesDto = void 0;
|
|
4
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
5
|
+
class NotificationRecipientAttributesDto extends nestjs_utility_services_1.CommonAttributesDto {
|
|
6
|
+
}
|
|
7
|
+
exports.NotificationRecipientAttributesDto = NotificationRecipientAttributesDto;
|
|
8
|
+
//# sourceMappingURL=notification.recipient.attributes.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification.recipient.attributes.dto.js","sourceRoot":"","sources":["../../../src/accessUtility/dtos/notification.recipient.attributes.dto.ts"],"names":[],"mappings":";;;AAAA,oFAA6E;AAC7E,MAAa,kCAAmC,SAAQ,6CAAmB;CAAG;AAA9E,gFAA8E"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SmsNotificationAttributesDto = void 0;
|
|
4
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
5
|
+
class SmsNotificationAttributesDto extends nestjs_utility_services_1.CommonAttributesDto {
|
|
6
|
+
}
|
|
7
|
+
exports.SmsNotificationAttributesDto = SmsNotificationAttributesDto;
|
|
8
|
+
//# sourceMappingURL=sms.notification.attributes.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sms.notification.attributes.dto.js","sourceRoot":"","sources":["../../../src/accessUtility/dtos/sms.notification.attributes.dto.ts"],"names":[],"mappings":";;;AAAA,oFAA6E;AAC7E,MAAa,4BAA6B,SAAQ,6CAAmB;CAAG;AAAxE,oEAAwE"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WhatsappNotificationAttributesDto = void 0;
|
|
4
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
5
|
+
class WhatsappNotificationAttributesDto extends nestjs_utility_services_1.CommonAttributesDto {
|
|
6
|
+
}
|
|
7
|
+
exports.WhatsappNotificationAttributesDto = WhatsappNotificationAttributesDto;
|
|
8
|
+
//# sourceMappingURL=whatsapp.notification.attributes.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"whatsapp.notification.attributes.dto.js","sourceRoot":"","sources":["../../../src/accessUtility/dtos/whatsapp.notification.attributes.dto.ts"],"names":[],"mappings":";;;AAAA,oFAA6E;AAC7E,MAAa,iCAAkC,SAAQ,6CAAmB;CAAG;AAA7E,8EAA6E"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CommonEntity, EmailTemplateEntity } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { EmailNotificationAttributesDto } from '../dtos/email.notification.attributes.dto';
|
|
3
|
+
import { NotificationEntity } from './notification.entity';
|
|
4
|
+
export declare class EmailNotificationEntity extends CommonEntity {
|
|
5
|
+
notification_id: number;
|
|
6
|
+
template_id: number;
|
|
7
|
+
filer_condition: any;
|
|
8
|
+
active: boolean;
|
|
9
|
+
attributes: EmailNotificationAttributesDto;
|
|
10
|
+
notification: NotificationEntity;
|
|
11
|
+
template: EmailTemplateEntity;
|
|
12
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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.EmailNotificationEntity = void 0;
|
|
13
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const email_notification_attributes_dto_1 = require("../dtos/email.notification.attributes.dto");
|
|
16
|
+
const notification_entity_1 = require("./notification.entity");
|
|
17
|
+
let EmailNotificationEntity = class EmailNotificationEntity extends nestjs_utility_services_1.CommonEntity {
|
|
18
|
+
};
|
|
19
|
+
exports.EmailNotificationEntity = EmailNotificationEntity;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, typeorm_1.Column)(),
|
|
22
|
+
__metadata("design:type", Number)
|
|
23
|
+
], EmailNotificationEntity.prototype, "notification_id", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.Column)(),
|
|
26
|
+
__metadata("design:type", Number)
|
|
27
|
+
], EmailNotificationEntity.prototype, "template_id", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)('json'),
|
|
30
|
+
__metadata("design:type", Object)
|
|
31
|
+
], EmailNotificationEntity.prototype, "filer_condition", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Column)(),
|
|
34
|
+
__metadata("design:type", Boolean)
|
|
35
|
+
], EmailNotificationEntity.prototype, "active", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.Column)('json'),
|
|
38
|
+
__metadata("design:type", email_notification_attributes_dto_1.EmailNotificationAttributesDto)
|
|
39
|
+
], EmailNotificationEntity.prototype, "attributes", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, typeorm_1.ManyToOne)(() => notification_entity_1.NotificationEntity),
|
|
42
|
+
(0, typeorm_1.JoinColumn)({ name: 'notification_id' }),
|
|
43
|
+
__metadata("design:type", notification_entity_1.NotificationEntity)
|
|
44
|
+
], EmailNotificationEntity.prototype, "notification", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.ManyToOne)(() => nestjs_utility_services_1.EmailTemplateEntity),
|
|
47
|
+
(0, typeorm_1.JoinColumn)({ name: 'template_id' }),
|
|
48
|
+
__metadata("design:type", nestjs_utility_services_1.EmailTemplateEntity)
|
|
49
|
+
], EmailNotificationEntity.prototype, "template", void 0);
|
|
50
|
+
exports.EmailNotificationEntity = EmailNotificationEntity = __decorate([
|
|
51
|
+
(0, typeorm_1.Entity)('utl_email_notifications')
|
|
52
|
+
], EmailNotificationEntity);
|
|
53
|
+
//# sourceMappingURL=email.notification.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"email.notification.entity.js","sourceRoot":"","sources":["../../../src/accessUtility/entities/email.notification.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAA2F;AAC3F,qCAAgE;AAChE,iGAA2F;AAC3F,+DAA2D;AASpD,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,sCAAY;CAoBxD,CAAA;AApBY,0DAAuB;AAEhC;IADC,IAAA,gBAAM,GAAE;;gEACe;AAGxB;IADC,IAAA,gBAAM,GAAE;;4DACW;AAGpB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;;gEACM;AAGrB;IADC,IAAA,gBAAM,GAAE;;uDACO;AAGhB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,kEAA8B;2DAAC;AAGmC;IAA7E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,wCAAkB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC;8BAAe,wCAAkB;6DAAC;AAEpC;IAA1E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6CAAmB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BAAW,6CAAmB;yDAAC;kCAnBhG,uBAAuB;IADnC,IAAA,gBAAM,EAAC,yBAAyB,CAAC;GACrB,uBAAuB,CAoBnC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CommonEntity } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { InappNotificationAttributesDto } from '../dtos/inapp.notification.attributes.dto';
|
|
3
|
+
import { NotificationEntity } from './notification.entity';
|
|
4
|
+
export declare class InappNotificationEntity extends CommonEntity {
|
|
5
|
+
notification_id: number;
|
|
6
|
+
body: string;
|
|
7
|
+
filer_condition: any;
|
|
8
|
+
context: any;
|
|
9
|
+
active: boolean;
|
|
10
|
+
attributes: InappNotificationAttributesDto;
|
|
11
|
+
notification: NotificationEntity;
|
|
12
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
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.InappNotificationEntity = void 0;
|
|
13
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const inapp_notification_attributes_dto_1 = require("../dtos/inapp.notification.attributes.dto");
|
|
16
|
+
const notification_entity_1 = require("./notification.entity");
|
|
17
|
+
let InappNotificationEntity = class InappNotificationEntity extends nestjs_utility_services_1.CommonEntity {
|
|
18
|
+
};
|
|
19
|
+
exports.InappNotificationEntity = InappNotificationEntity;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, typeorm_1.Column)(),
|
|
22
|
+
__metadata("design:type", Number)
|
|
23
|
+
], InappNotificationEntity.prototype, "notification_id", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.Column)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], InappNotificationEntity.prototype, "body", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)('json'),
|
|
30
|
+
__metadata("design:type", Object)
|
|
31
|
+
], InappNotificationEntity.prototype, "filer_condition", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Column)('json'),
|
|
34
|
+
__metadata("design:type", Object)
|
|
35
|
+
], InappNotificationEntity.prototype, "context", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.Column)(),
|
|
38
|
+
__metadata("design:type", Boolean)
|
|
39
|
+
], InappNotificationEntity.prototype, "active", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, typeorm_1.Column)('json'),
|
|
42
|
+
__metadata("design:type", inapp_notification_attributes_dto_1.InappNotificationAttributesDto)
|
|
43
|
+
], InappNotificationEntity.prototype, "attributes", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, typeorm_1.ManyToOne)(() => notification_entity_1.NotificationEntity),
|
|
46
|
+
(0, typeorm_1.JoinColumn)({ name: 'notification_id' }),
|
|
47
|
+
__metadata("design:type", notification_entity_1.NotificationEntity)
|
|
48
|
+
], InappNotificationEntity.prototype, "notification", void 0);
|
|
49
|
+
exports.InappNotificationEntity = InappNotificationEntity = __decorate([
|
|
50
|
+
(0, typeorm_1.Entity)('utl_inapp_notifications')
|
|
51
|
+
], InappNotificationEntity);
|
|
52
|
+
//# sourceMappingURL=inapp.notification.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inapp.notification.entity.js","sourceRoot":"","sources":["../../../src/accessUtility/entities/inapp.notification.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAAsE;AACtE,qCAAgE;AAChE,iGAA2F;AAC3F,+DAA2D;AASpD,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,sCAAY;CAqBxD,CAAA;AArBY,0DAAuB;AAEhC;IADC,IAAA,gBAAM,GAAE;;gEACe;AAGxB;IADC,IAAA,gBAAM,GAAE;;qDACI;AAGb;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;;gEACM;AAGrB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;;wDACF;AAGb;IADC,IAAA,gBAAM,GAAE;;uDACO;AAGhB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,kEAA8B;2DAAC;AAGmC;IAA7E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,wCAAkB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC;8BAAe,wCAAkB;6DAAC;kCApBtG,uBAAuB;IADnC,IAAA,gBAAM,EAAC,yBAAyB,CAAC;GACrB,uBAAuB,CAqBnC"}
|
|
@@ -6,7 +6,13 @@ export * from './bulk.upload.entity';
|
|
|
6
6
|
export * from './bulk.upload.item.entity';
|
|
7
7
|
export * from './bulk.upload.type.entity';
|
|
8
8
|
export * from './data.mapping.entity';
|
|
9
|
+
export * from './email.notification.entity';
|
|
10
|
+
export * from './inapp.notification.entity';
|
|
9
11
|
export * from './listing.model.entity';
|
|
12
|
+
export * from './notification.entity';
|
|
13
|
+
export * from './notification.recipient.entity';
|
|
14
|
+
export * from './sms.notification.entity';
|
|
10
15
|
export * from './tag.assignment.entity';
|
|
11
16
|
export * from './upload.modification.entity';
|
|
12
17
|
export * from './webhook.request.entity';
|
|
18
|
+
export * from './whatsapp.notification.entity';
|
|
@@ -22,8 +22,14 @@ __exportStar(require("./bulk.upload.entity"), exports);
|
|
|
22
22
|
__exportStar(require("./bulk.upload.item.entity"), exports);
|
|
23
23
|
__exportStar(require("./bulk.upload.type.entity"), exports);
|
|
24
24
|
__exportStar(require("./data.mapping.entity"), exports);
|
|
25
|
+
__exportStar(require("./email.notification.entity"), exports);
|
|
26
|
+
__exportStar(require("./inapp.notification.entity"), exports);
|
|
25
27
|
__exportStar(require("./listing.model.entity"), exports);
|
|
28
|
+
__exportStar(require("./notification.entity"), exports);
|
|
29
|
+
__exportStar(require("./notification.recipient.entity"), exports);
|
|
30
|
+
__exportStar(require("./sms.notification.entity"), exports);
|
|
26
31
|
__exportStar(require("./tag.assignment.entity"), exports);
|
|
27
32
|
__exportStar(require("./upload.modification.entity"), exports);
|
|
28
33
|
__exportStar(require("./webhook.request.entity"), exports);
|
|
34
|
+
__exportStar(require("./whatsapp.notification.entity"), exports);
|
|
29
35
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accessUtility/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AAAA,gEAA8C;AAAA,sEAAoD;AAAA,8DAA4C;AAAA,uDAAqC;AAAA,4DAA0C;AAAA,4DAA0C;AAAA,wDAAsC;AAAA,yDAAuC;AAAA,0DAAwC;AAAA,+DAA6C;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accessUtility/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AAAA,gEAA8C;AAAA,sEAAoD;AAAA,8DAA4C;AAAA,uDAAqC;AAAA,4DAA0C;AAAA,4DAA0C;AAAA,wDAAsC;AAAA,8DAA4C;AAAA,8DAA4C;AAAA,yDAAuC;AAAA,wDAAsC;AAAA,kEAAgD;AAAA,4DAA0C;AAAA,0DAAwC;AAAA,+DAA6C;AAAA,2DAAyC;AAAA,iEAA8C"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CommonEntity, ModelEntity, SystemScriptEntity } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { NotificationAttributesDto } from '../dtos/notification.attributes.dto';
|
|
3
|
+
export declare class NotificationEntity extends CommonEntity {
|
|
4
|
+
name: string;
|
|
5
|
+
identifier: string;
|
|
6
|
+
description: string;
|
|
7
|
+
model_id: number;
|
|
8
|
+
model_includes: string;
|
|
9
|
+
filter_condition: any;
|
|
10
|
+
modifier_script_id: number;
|
|
11
|
+
active: boolean;
|
|
12
|
+
attributes: NotificationAttributesDto;
|
|
13
|
+
model: ModelEntity;
|
|
14
|
+
modifier_script: SystemScriptEntity;
|
|
15
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
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.NotificationEntity = void 0;
|
|
13
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const notification_attributes_dto_1 = require("../dtos/notification.attributes.dto");
|
|
16
|
+
let NotificationEntity = class NotificationEntity extends nestjs_utility_services_1.CommonEntity {
|
|
17
|
+
};
|
|
18
|
+
exports.NotificationEntity = NotificationEntity;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, typeorm_1.Column)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], NotificationEntity.prototype, "name", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, typeorm_1.Column)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], NotificationEntity.prototype, "identifier", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.Column)(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], NotificationEntity.prototype, "description", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, typeorm_1.Column)(),
|
|
33
|
+
__metadata("design:type", Number)
|
|
34
|
+
], NotificationEntity.prototype, "model_id", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, typeorm_1.Column)(),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], NotificationEntity.prototype, "model_includes", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, typeorm_1.Column)('json'),
|
|
41
|
+
__metadata("design:type", Object)
|
|
42
|
+
], NotificationEntity.prototype, "filter_condition", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, typeorm_1.Column)(),
|
|
45
|
+
__metadata("design:type", Number)
|
|
46
|
+
], NotificationEntity.prototype, "modifier_script_id", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, typeorm_1.Column)(),
|
|
49
|
+
__metadata("design:type", Boolean)
|
|
50
|
+
], NotificationEntity.prototype, "active", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, typeorm_1.Column)('json'),
|
|
53
|
+
__metadata("design:type", notification_attributes_dto_1.NotificationAttributesDto)
|
|
54
|
+
], NotificationEntity.prototype, "attributes", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, typeorm_1.ManyToOne)(() => nestjs_utility_services_1.ModelEntity),
|
|
57
|
+
(0, typeorm_1.JoinColumn)({ name: 'model_id' }),
|
|
58
|
+
__metadata("design:type", nestjs_utility_services_1.ModelEntity)
|
|
59
|
+
], NotificationEntity.prototype, "model", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, typeorm_1.ManyToOne)(() => nestjs_utility_services_1.SystemScriptEntity),
|
|
62
|
+
(0, typeorm_1.JoinColumn)({ name: 'modifier_script_id' }),
|
|
63
|
+
__metadata("design:type", nestjs_utility_services_1.SystemScriptEntity)
|
|
64
|
+
], NotificationEntity.prototype, "modifier_script", void 0);
|
|
65
|
+
exports.NotificationEntity = NotificationEntity = __decorate([
|
|
66
|
+
(0, typeorm_1.Entity)('utl_notification_details')
|
|
67
|
+
], NotificationEntity);
|
|
68
|
+
//# sourceMappingURL=notification.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification.entity.js","sourceRoot":"","sources":["../../../src/accessUtility/entities/notification.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAAuG;AACvG,qCAAgE;AAChE,qFAAgF;AASzE,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,sCAAY;CAgCnD,CAAA;AAhCY,gDAAkB;AAE3B;IADC,IAAA,gBAAM,GAAE;;gDACI;AAGb;IADC,IAAA,gBAAM,GAAE;;sDACU;AAGnB;IADC,IAAA,gBAAM,GAAE;;uDACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;oDACQ;AAGjB;IADC,IAAA,gBAAM,GAAE;;0DACc;AAGvB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;;4DACO;AAGtB;IADC,IAAA,gBAAM,GAAE;;8DACkB;AAG3B;IADC,IAAA,gBAAM,GAAE;;kDACO;AAGhB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,uDAAyB;sDAAC;AAG0B;IAA/D,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,qCAAW,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;8BAAQ,qCAAW;iDAAC;AAEF;IAAhF,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,4CAAkB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE,CAAC;8BAAkB,4CAAkB;2DAAC;6BA/B5G,kBAAkB;IAD9B,IAAA,gBAAM,EAAC,0BAA0B,CAAC;GACtB,kBAAkB,CAgC9B"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CommonEntity } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { NotificationRecipientAttributesDto } from '../dtos/notification.recipient.attributes.dto';
|
|
3
|
+
export declare class NotificationRecipientEntity extends CommonEntity {
|
|
4
|
+
name: string;
|
|
5
|
+
source_type: string;
|
|
6
|
+
source_id: number;
|
|
7
|
+
user_ids: string;
|
|
8
|
+
user_fields: string;
|
|
9
|
+
email_ids: string;
|
|
10
|
+
active: boolean;
|
|
11
|
+
attributes: NotificationRecipientAttributesDto;
|
|
12
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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.NotificationRecipientEntity = void 0;
|
|
13
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const notification_recipient_attributes_dto_1 = require("../dtos/notification.recipient.attributes.dto");
|
|
16
|
+
let NotificationRecipientEntity = class NotificationRecipientEntity extends nestjs_utility_services_1.CommonEntity {
|
|
17
|
+
};
|
|
18
|
+
exports.NotificationRecipientEntity = NotificationRecipientEntity;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, typeorm_1.Column)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], NotificationRecipientEntity.prototype, "name", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, typeorm_1.Column)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], NotificationRecipientEntity.prototype, "source_type", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.Column)(),
|
|
29
|
+
__metadata("design:type", Number)
|
|
30
|
+
], NotificationRecipientEntity.prototype, "source_id", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, typeorm_1.Column)(),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], NotificationRecipientEntity.prototype, "user_ids", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, typeorm_1.Column)(),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], NotificationRecipientEntity.prototype, "user_fields", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, typeorm_1.Column)(),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], NotificationRecipientEntity.prototype, "email_ids", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, typeorm_1.Column)(),
|
|
45
|
+
__metadata("design:type", Boolean)
|
|
46
|
+
], NotificationRecipientEntity.prototype, "active", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, typeorm_1.Column)('json'),
|
|
49
|
+
__metadata("design:type", notification_recipient_attributes_dto_1.NotificationRecipientAttributesDto)
|
|
50
|
+
], NotificationRecipientEntity.prototype, "attributes", void 0);
|
|
51
|
+
exports.NotificationRecipientEntity = NotificationRecipientEntity = __decorate([
|
|
52
|
+
(0, typeorm_1.Entity)('utl_notification_recipients')
|
|
53
|
+
], NotificationRecipientEntity);
|
|
54
|
+
//# sourceMappingURL=notification.recipient.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification.recipient.entity.js","sourceRoot":"","sources":["../../../src/accessUtility/entities/notification.recipient.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAAsE;AACtE,qCAAyC;AACzC,yGAAmG;AAS5F,IAAM,2BAA2B,GAAjC,MAAM,2BAA4B,SAAQ,sCAAY;CA0B5D,CAAA;AA1BY,kEAA2B;AAEpC;IADC,IAAA,gBAAM,GAAE;;yDACI;AAGb;IADC,IAAA,gBAAM,GAAE;;gEACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;8DACS;AAGlB;IADC,IAAA,gBAAM,GAAE;;6DACQ;AAGjB;IADC,IAAA,gBAAM,GAAE;;gEACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;8DACS;AAGlB;IADC,IAAA,gBAAM,GAAE;;2DACO;AAGhB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,0EAAkC;+DAAC;sCAvBtC,2BAA2B;IADvC,IAAA,gBAAM,EAAC,6BAA6B,CAAC;GACzB,2BAA2B,CA0BvC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CommonEntity, SmsTemplateEntity } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { SmsNotificationAttributesDto } from '../dtos/sms.notification.attributes.dto';
|
|
3
|
+
import { NotificationEntity } from './notification.entity';
|
|
4
|
+
export declare class SmsNotificationEntity extends CommonEntity {
|
|
5
|
+
notification_id: number;
|
|
6
|
+
template_id: number;
|
|
7
|
+
filer_condition: any;
|
|
8
|
+
active: boolean;
|
|
9
|
+
attributes: SmsNotificationAttributesDto;
|
|
10
|
+
notification: NotificationEntity;
|
|
11
|
+
template: SmsTemplateEntity;
|
|
12
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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.SmsNotificationEntity = void 0;
|
|
13
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const sms_notification_attributes_dto_1 = require("../dtos/sms.notification.attributes.dto");
|
|
16
|
+
const notification_entity_1 = require("./notification.entity");
|
|
17
|
+
let SmsNotificationEntity = class SmsNotificationEntity extends nestjs_utility_services_1.CommonEntity {
|
|
18
|
+
};
|
|
19
|
+
exports.SmsNotificationEntity = SmsNotificationEntity;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, typeorm_1.Column)(),
|
|
22
|
+
__metadata("design:type", Number)
|
|
23
|
+
], SmsNotificationEntity.prototype, "notification_id", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.Column)(),
|
|
26
|
+
__metadata("design:type", Number)
|
|
27
|
+
], SmsNotificationEntity.prototype, "template_id", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)('json'),
|
|
30
|
+
__metadata("design:type", Object)
|
|
31
|
+
], SmsNotificationEntity.prototype, "filer_condition", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Column)(),
|
|
34
|
+
__metadata("design:type", Boolean)
|
|
35
|
+
], SmsNotificationEntity.prototype, "active", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.Column)('json'),
|
|
38
|
+
__metadata("design:type", sms_notification_attributes_dto_1.SmsNotificationAttributesDto)
|
|
39
|
+
], SmsNotificationEntity.prototype, "attributes", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, typeorm_1.ManyToOne)(() => notification_entity_1.NotificationEntity),
|
|
42
|
+
(0, typeorm_1.JoinColumn)({ name: 'notification_id' }),
|
|
43
|
+
__metadata("design:type", notification_entity_1.NotificationEntity)
|
|
44
|
+
], SmsNotificationEntity.prototype, "notification", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.ManyToOne)(() => nestjs_utility_services_1.SmsTemplateEntity),
|
|
47
|
+
(0, typeorm_1.JoinColumn)({ name: 'template_id' }),
|
|
48
|
+
__metadata("design:type", nestjs_utility_services_1.SmsTemplateEntity)
|
|
49
|
+
], SmsNotificationEntity.prototype, "template", void 0);
|
|
50
|
+
exports.SmsNotificationEntity = SmsNotificationEntity = __decorate([
|
|
51
|
+
(0, typeorm_1.Entity)('utl_sms_notifications')
|
|
52
|
+
], SmsNotificationEntity);
|
|
53
|
+
//# sourceMappingURL=sms.notification.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sms.notification.entity.js","sourceRoot":"","sources":["../../../src/accessUtility/entities/sms.notification.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAAyF;AACzF,qCAAgE;AAChE,6FAAuF;AACvF,+DAA2D;AASpD,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,sCAAY;CAoBtD,CAAA;AApBY,sDAAqB;AAE9B;IADC,IAAA,gBAAM,GAAE;;8DACe;AAGxB;IADC,IAAA,gBAAM,GAAE;;0DACW;AAGpB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;;8DACM;AAGrB;IADC,IAAA,gBAAM,GAAE;;qDACO;AAGhB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,8DAA4B;yDAAC;AAGqC;IAA7E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,wCAAkB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC;8BAAe,wCAAkB;2DAAC;AAEtC;IAAxE,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,2CAAiB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BAAW,2CAAiB;uDAAC;gCAnB5F,qBAAqB;IADjC,IAAA,gBAAM,EAAC,uBAAuB,CAAC;GACnB,qBAAqB,CAoBjC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CommonEntity, WhatsappTemplateEntity } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { WhatsappNotificationAttributesDto } from '../dtos/whatsapp.notification.attributes.dto';
|
|
3
|
+
import { NotificationEntity } from './notification.entity';
|
|
4
|
+
export declare class WhatsappNotificationEntity extends CommonEntity {
|
|
5
|
+
notification_id: number;
|
|
6
|
+
template_id: number;
|
|
7
|
+
filer_condition: any;
|
|
8
|
+
active: boolean;
|
|
9
|
+
attributes: WhatsappNotificationAttributesDto;
|
|
10
|
+
notification: NotificationEntity;
|
|
11
|
+
template: WhatsappTemplateEntity;
|
|
12
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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.WhatsappNotificationEntity = void 0;
|
|
13
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const whatsapp_notification_attributes_dto_1 = require("../dtos/whatsapp.notification.attributes.dto");
|
|
16
|
+
const notification_entity_1 = require("./notification.entity");
|
|
17
|
+
let WhatsappNotificationEntity = class WhatsappNotificationEntity extends nestjs_utility_services_1.CommonEntity {
|
|
18
|
+
};
|
|
19
|
+
exports.WhatsappNotificationEntity = WhatsappNotificationEntity;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, typeorm_1.Column)(),
|
|
22
|
+
__metadata("design:type", Number)
|
|
23
|
+
], WhatsappNotificationEntity.prototype, "notification_id", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.Column)(),
|
|
26
|
+
__metadata("design:type", Number)
|
|
27
|
+
], WhatsappNotificationEntity.prototype, "template_id", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)('json'),
|
|
30
|
+
__metadata("design:type", Object)
|
|
31
|
+
], WhatsappNotificationEntity.prototype, "filer_condition", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Column)(),
|
|
34
|
+
__metadata("design:type", Boolean)
|
|
35
|
+
], WhatsappNotificationEntity.prototype, "active", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.Column)('json'),
|
|
38
|
+
__metadata("design:type", whatsapp_notification_attributes_dto_1.WhatsappNotificationAttributesDto)
|
|
39
|
+
], WhatsappNotificationEntity.prototype, "attributes", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, typeorm_1.ManyToOne)(() => notification_entity_1.NotificationEntity),
|
|
42
|
+
(0, typeorm_1.JoinColumn)({ name: 'notification_id' }),
|
|
43
|
+
__metadata("design:type", notification_entity_1.NotificationEntity)
|
|
44
|
+
], WhatsappNotificationEntity.prototype, "notification", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.ManyToOne)(() => nestjs_utility_services_1.WhatsappTemplateEntity),
|
|
47
|
+
(0, typeorm_1.JoinColumn)({ name: 'template_id' }),
|
|
48
|
+
__metadata("design:type", nestjs_utility_services_1.WhatsappTemplateEntity)
|
|
49
|
+
], WhatsappNotificationEntity.prototype, "template", void 0);
|
|
50
|
+
exports.WhatsappNotificationEntity = WhatsappNotificationEntity = __decorate([
|
|
51
|
+
(0, typeorm_1.Entity)('utl_whatsapp_notifications')
|
|
52
|
+
], WhatsappNotificationEntity);
|
|
53
|
+
//# sourceMappingURL=whatsapp.notification.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"whatsapp.notification.entity.js","sourceRoot":"","sources":["../../../src/accessUtility/entities/whatsapp.notification.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAA8F;AAC9F,qCAAgE;AAChE,uGAAiG;AACjG,+DAA2D;AASpD,IAAM,0BAA0B,GAAhC,MAAM,0BAA2B,SAAQ,sCAAY;CAoB3D,CAAA;AApBY,gEAA0B;AAEnC;IADC,IAAA,gBAAM,GAAE;;mEACe;AAGxB;IADC,IAAA,gBAAM,GAAE;;+DACW;AAGpB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;;mEACM;AAGrB;IADC,IAAA,gBAAM,GAAE;;0DACO;AAGhB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,wEAAiC;8DAAC;AAGgC;IAA7E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,wCAAkB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC;8BAAe,wCAAkB;gEAAC;AAEjC;IAA7E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,gDAAsB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BAAW,gDAAsB;4DAAC;qCAnBtG,0BAA0B;IADtC,IAAA,gBAAM,EAAC,4BAA4B,CAAC;GACxB,0BAA0B,CAoBtC"}
|