@servicelabsco/slabs-access-manager 2.0.15 → 2.0.18
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/AGENTS.md +41 -4
- package/CLAUDE.md +12 -4
- package/dist/access/commands/index.d.ts +1 -0
- package/dist/access/commands/index.js +1 -0
- package/dist/access/commands/index.js.map +1 -1
- package/dist/access/commands/mail.log.backfill.business.command.d.ts +6 -0
- package/dist/access/commands/mail.log.backfill.business.command.js +65 -0
- package/dist/access/commands/mail.log.backfill.business.command.js.map +1 -0
- package/dist/access/controllers/access.business.controller.d.ts +9 -0
- package/dist/access/controllers/access.business.controller.js +52 -0
- package/dist/access/controllers/access.business.controller.js.map +1 -0
- package/dist/access/controllers/bulk.upload.controller.d.ts +1 -1
- package/dist/access/controllers/bulk.upload.controller.js +1 -1
- package/dist/access/controllers/bulk.upload.controller.js.map +1 -1
- package/dist/access/controllers/business.email.alias.controller.d.ts +9 -0
- package/dist/access/controllers/business.email.alias.controller.js +43 -0
- package/dist/access/controllers/business.email.alias.controller.js.map +1 -0
- package/dist/access/controllers/business.property.controller.d.ts +12 -4
- package/dist/access/controllers/business.property.controller.js +74 -7
- package/dist/access/controllers/business.property.controller.js.map +1 -1
- package/dist/access/controllers/developer.menu.controller.js.map +1 -1
- package/dist/access/controllers/developer.notification.type.controller.d.ts +16 -0
- package/dist/access/controllers/developer.notification.type.controller.js +91 -0
- package/dist/access/controllers/developer.notification.type.controller.js.map +1 -0
- package/dist/access/controllers/emithook.controller.d.ts +3 -1
- package/dist/access/controllers/emithook.controller.js +9 -2
- package/dist/access/controllers/emithook.controller.js.map +1 -1
- package/dist/access/controllers/index.d.ts +6 -0
- package/dist/access/controllers/index.js +6 -0
- package/dist/access/controllers/index.js.map +1 -1
- package/dist/access/controllers/mail.log.controller.d.ts +20 -0
- package/dist/access/controllers/mail.log.controller.js +76 -0
- package/dist/access/controllers/mail.log.controller.js.map +1 -0
- package/dist/access/controllers/notification.type.preference.controller.d.ts +12 -0
- package/dist/access/controllers/notification.type.preference.controller.js +59 -0
- package/dist/access/controllers/notification.type.preference.controller.js.map +1 -0
- package/dist/access/controllers/user.notification.type.preference.controller.d.ts +10 -0
- package/dist/access/controllers/user.notification.type.preference.controller.js +54 -0
- package/dist/access/controllers/user.notification.type.preference.controller.js.map +1 -0
- package/dist/access/dtos/add.business.email.dto.js.map +1 -1
- package/dist/access/dtos/add.business.property.dto.d.ts +1 -0
- package/dist/access/dtos/add.business.property.dto.js +8 -0
- package/dist/access/dtos/add.business.property.dto.js.map +1 -1
- package/dist/access/dtos/business.notification.type.preference.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/business.notification.type.preference.attributes.dto.js +7 -0
- package/dist/access/dtos/business.notification.type.preference.attributes.dto.js.map +1 -0
- package/dist/access/dtos/business.property.identifier.param.dto.d.ts +3 -0
- package/dist/access/dtos/business.property.identifier.param.dto.js +25 -0
- package/dist/access/dtos/business.property.identifier.param.dto.js.map +1 -0
- package/dist/access/dtos/business.property.list.filter.dto.d.ts +4 -0
- package/dist/access/dtos/business.property.list.filter.dto.js +40 -0
- package/dist/access/dtos/business.property.list.filter.dto.js.map +1 -1
- package/dist/access/dtos/business.property.scope.dto.d.ts +3 -0
- package/dist/access/dtos/business.property.scope.dto.js +26 -0
- package/dist/access/dtos/business.property.scope.dto.js.map +1 -0
- package/dist/access/dtos/create.notification.type.dto.d.ts +14 -0
- package/dist/access/dtos/create.notification.type.dto.js +79 -0
- package/dist/access/dtos/create.notification.type.dto.js.map +1 -0
- package/dist/access/dtos/email.notification.payload.dto.d.ts +5 -0
- package/dist/access/dtos/email.notification.payload.dto.js.map +1 -1
- package/dist/access/dtos/index.d.ts +12 -0
- package/dist/access/dtos/index.js +12 -0
- package/dist/access/dtos/index.js.map +1 -1
- package/dist/access/dtos/mail.log.content.query.dto.d.ts +4 -0
- package/dist/access/dtos/mail.log.content.query.dto.js +25 -0
- package/dist/access/dtos/mail.log.content.query.dto.js.map +1 -0
- package/dist/access/dtos/mail.log.list.filter.dto.d.ts +11 -0
- package/dist/access/dtos/mail.log.list.filter.dto.js +75 -0
- package/dist/access/dtos/mail.log.list.filter.dto.js.map +1 -0
- package/dist/access/dtos/notification.type.list.filter.dto.d.ts +7 -0
- package/dist/access/dtos/notification.type.list.filter.dto.js +45 -0
- package/dist/access/dtos/notification.type.list.filter.dto.js.map +1 -0
- package/dist/access/dtos/set.business.email.alias.dto.d.ts +3 -0
- package/dist/access/dtos/set.business.email.alias.dto.js +27 -0
- package/dist/access/dtos/set.business.email.alias.dto.js.map +1 -0
- package/dist/access/dtos/set.business.property.dto.d.ts +10 -0
- package/dist/access/dtos/set.business.property.dto.js +64 -0
- package/dist/access/dtos/set.business.property.dto.js.map +1 -0
- package/dist/access/dtos/set.notification.type.preference.dto.d.ts +5 -0
- package/dist/access/dtos/set.notification.type.preference.dto.js +34 -0
- package/dist/access/dtos/set.notification.type.preference.dto.js.map +1 -0
- package/dist/access/dtos/update.developer.business.dto.d.ts +8 -0
- package/dist/access/dtos/update.developer.business.dto.js +61 -0
- package/dist/access/dtos/update.developer.business.dto.js.map +1 -0
- package/dist/access/dtos/update.notification.type.dto.d.ts +13 -0
- package/dist/access/dtos/update.notification.type.dto.js +72 -0
- package/dist/access/dtos/update.notification.type.dto.js.map +1 -0
- package/dist/access/entities/access.business.entity.d.ts +1 -0
- package/dist/access/entities/access.business.entity.js +4 -0
- package/dist/access/entities/access.business.entity.js.map +1 -1
- package/dist/access/entities/access.mail.log.entity.d.ts +6 -0
- package/dist/access/entities/access.mail.log.entity.js +31 -0
- package/dist/access/entities/access.mail.log.entity.js.map +1 -0
- package/dist/access/entities/business.notification.type.preference.entity.d.ts +13 -0
- package/dist/access/entities/business.notification.type.preference.entity.js +54 -0
- package/dist/access/entities/business.notification.type.preference.entity.js.map +1 -0
- package/dist/access/entities/index.d.ts +4 -0
- package/dist/access/entities/index.js +4 -0
- package/dist/access/entities/index.js.map +1 -1
- package/dist/access/entities/notification.type.entity.d.ts +16 -0
- package/dist/access/entities/notification.type.entity.js +63 -0
- package/dist/access/entities/notification.type.entity.js.map +1 -0
- package/dist/access/entities/user.notification.type.preference.entity.d.ts +15 -0
- package/dist/access/entities/user.notification.type.preference.entity.js +63 -0
- package/dist/access/entities/user.notification.type.preference.entity.js.map +1 -0
- package/dist/access/enums/index.d.ts +3 -0
- package/dist/access/enums/index.js +3 -0
- package/dist/access/enums/index.js.map +1 -1
- package/dist/access/enums/notification.channel.type.enum.d.ts +2 -1
- package/dist/access/enums/notification.channel.type.enum.js +1 -0
- package/dist/access/enums/notification.channel.type.enum.js.map +1 -1
- package/dist/access/enums/notification.suppression.reason.enum.d.ts +6 -0
- package/dist/access/enums/notification.suppression.reason.enum.js +11 -0
- package/dist/access/enums/notification.suppression.reason.enum.js.map +1 -0
- package/dist/access/enums/notification.type.audience.enum.d.ts +5 -0
- package/dist/access/enums/notification.type.audience.enum.js +10 -0
- package/dist/access/enums/notification.type.audience.enum.js.map +1 -0
- package/dist/access/enums/notification.type.control.enum.d.ts +4 -0
- package/dist/access/enums/notification.type.control.enum.js +9 -0
- package/dist/access/enums/notification.type.control.enum.js.map +1 -0
- package/dist/access/es6.classes.d.ts +49 -14
- package/dist/access/es6.classes.js +98 -1
- package/dist/access/es6.classes.js.map +1 -1
- package/dist/access/interfaces/business.email.alias.interface.d.ts +3 -0
- package/dist/access/interfaces/business.email.alias.interface.js +3 -0
- package/dist/access/interfaces/business.email.alias.interface.js.map +1 -0
- package/dist/access/interfaces/business.notification.type.preference.row.interface.d.ts +14 -0
- package/dist/access/interfaces/business.notification.type.preference.row.interface.js +3 -0
- package/dist/access/interfaces/business.notification.type.preference.row.interface.js.map +1 -0
- package/dist/access/interfaces/catalogued.notification.type.interface.d.ts +10 -0
- package/dist/access/interfaces/catalogued.notification.type.interface.js +3 -0
- package/dist/access/interfaces/catalogued.notification.type.interface.js.map +1 -0
- package/dist/access/interfaces/dropped.notification.recipient.interface.d.ts +5 -0
- package/dist/access/interfaces/dropped.notification.recipient.interface.js +3 -0
- package/dist/access/interfaces/dropped.notification.recipient.interface.js.map +1 -0
- package/dist/access/interfaces/emithook.email.status.event.interface.d.ts +23 -0
- package/dist/access/interfaces/emithook.email.status.event.interface.js +3 -0
- package/dist/access/interfaces/emithook.email.status.event.interface.js.map +1 -0
- package/dist/access/interfaces/emithook.template.email.request.interface.d.ts +15 -0
- package/dist/access/interfaces/emithook.template.email.request.interface.js +3 -0
- package/dist/access/interfaces/emithook.template.email.request.interface.js.map +1 -0
- package/dist/access/interfaces/emithook.template.email.result.interface.d.ts +6 -0
- package/dist/access/interfaces/emithook.template.email.result.interface.js +3 -0
- package/dist/access/interfaces/emithook.template.email.result.interface.js.map +1 -0
- package/dist/access/interfaces/index.d.ts +18 -0
- package/dist/access/interfaces/index.js +18 -0
- package/dist/access/interfaces/index.js.map +1 -1
- package/dist/access/interfaces/legacy.notification.preference.provider.interface.d.ts +5 -0
- package/dist/access/interfaces/legacy.notification.preference.provider.interface.js +3 -0
- package/dist/access/interfaces/legacy.notification.preference.provider.interface.js.map +1 -0
- package/dist/access/interfaces/notification.preference.request.interface.d.ts +9 -0
- package/dist/access/interfaces/notification.preference.request.interface.js +3 -0
- package/dist/access/interfaces/notification.preference.request.interface.js.map +1 -0
- package/dist/access/interfaces/notification.recipient.interface.d.ts +5 -0
- package/dist/access/interfaces/notification.recipient.interface.js +3 -0
- package/dist/access/interfaces/notification.recipient.interface.js.map +1 -0
- package/dist/access/interfaces/notification.send.identifiers.interface.d.ts +6 -0
- package/dist/access/interfaces/notification.send.identifiers.interface.js +3 -0
- package/dist/access/interfaces/notification.send.identifiers.interface.js.map +1 -0
- package/dist/access/interfaces/notification.send.recipient.interface.d.ts +5 -0
- package/dist/access/interfaces/notification.send.recipient.interface.js +3 -0
- package/dist/access/interfaces/notification.send.recipient.interface.js.map +1 -0
- package/dist/access/interfaces/notification.type.sources.interface.d.ts +5 -0
- package/dist/access/interfaces/notification.type.sources.interface.js +3 -0
- package/dist/access/interfaces/notification.type.sources.interface.js.map +1 -0
- package/dist/access/interfaces/notification.type.usage.interface.d.ts +12 -0
- package/dist/access/interfaces/notification.type.usage.interface.js +3 -0
- package/dist/access/interfaces/notification.type.usage.interface.js.map +1 -0
- package/dist/access/interfaces/resolve.notification.recipients.input.interface.d.ts +10 -0
- package/dist/access/interfaces/resolve.notification.recipients.input.interface.js +3 -0
- package/dist/access/interfaces/resolve.notification.recipients.input.interface.js.map +1 -0
- package/dist/access/interfaces/resolve.notification.recipients.result.interface.d.ts +10 -0
- package/dist/access/interfaces/resolve.notification.recipients.result.interface.js +3 -0
- package/dist/access/interfaces/resolve.notification.recipients.result.interface.js.map +1 -0
- package/dist/access/interfaces/send.emithook.template.email.options.interface.d.ts +18 -0
- package/dist/access/interfaces/send.emithook.template.email.options.interface.js +3 -0
- package/dist/access/interfaces/send.emithook.template.email.options.interface.js.map +1 -0
- package/dist/access/interfaces/user.notification.type.preference.row.interface.d.ts +11 -0
- package/dist/access/interfaces/user.notification.type.preference.row.interface.js +3 -0
- package/dist/access/interfaces/user.notification.type.preference.row.interface.js.map +1 -0
- package/dist/access/jobs/handle.emithook.email.job.js +1 -1
- package/dist/access/jobs/handle.emithook.email.status.job.d.ts +8 -0
- package/dist/access/jobs/handle.emithook.email.status.job.js +31 -0
- package/dist/access/jobs/handle.emithook.email.status.job.js.map +1 -0
- package/dist/access/jobs/index.d.ts +2 -0
- package/dist/access/jobs/index.js +2 -0
- package/dist/access/jobs/index.js.map +1 -1
- package/dist/access/jobs/poll.emithook.email.inbox.job.js +1 -1
- package/dist/access/jobs/poll.emithook.email.inbox.job.js.map +1 -1
- package/dist/access/jobs/poll.emithook.email.sqs.job.d.ts +3 -1
- package/dist/access/jobs/poll.emithook.email.sqs.job.js +11 -3
- package/dist/access/jobs/poll.emithook.email.sqs.job.js.map +1 -1
- package/dist/access/jobs/reconcile.emithook.email.status.job.d.ts +15 -0
- package/dist/access/jobs/reconcile.emithook.email.status.job.js +38 -0
- package/dist/access/jobs/reconcile.emithook.email.status.job.js.map +1 -0
- package/dist/access/libraries/apply.notification.preferences.d.ts +12 -0
- package/dist/access/libraries/apply.notification.preferences.js +51 -0
- package/dist/access/libraries/apply.notification.preferences.js.map +1 -0
- package/dist/access/libraries/delete.business.property.d.ts +7 -0
- package/dist/access/libraries/delete.business.property.js +18 -0
- package/dist/access/libraries/delete.business.property.js.map +1 -0
- package/dist/access/libraries/index.d.ts +16 -0
- package/dist/access/libraries/index.js +16 -0
- package/dist/access/libraries/index.js.map +1 -1
- package/dist/access/libraries/load.notification.preference.context.d.ts +10 -0
- package/dist/access/libraries/load.notification.preference.context.js +78 -0
- package/dist/access/libraries/load.notification.preference.context.js.map +1 -0
- package/dist/access/libraries/notification.type.catalogue.d.ts +12 -0
- package/dist/access/libraries/notification.type.catalogue.js +72 -0
- package/dist/access/libraries/notification.type.catalogue.js.map +1 -0
- package/dist/access/libraries/present.business.property.d.ts +4 -0
- package/dist/access/libraries/present.business.property.js +13 -0
- package/dist/access/libraries/present.business.property.js.map +1 -0
- package/dist/access/libraries/process.application.menu.js +6 -7
- package/dist/access/libraries/process.application.menu.js.map +1 -1
- package/dist/access/libraries/process.business.property.data.d.ts +6 -0
- package/dist/access/libraries/process.business.property.data.js +60 -20
- package/dist/access/libraries/process.business.property.data.js.map +1 -1
- package/dist/access/libraries/process.business.property.list.d.ts +4 -0
- package/dist/access/libraries/process.business.property.list.js +44 -5
- package/dist/access/libraries/process.business.property.list.js.map +1 -1
- package/dist/access/libraries/process.developer.menu.d.ts +2 -1
- package/dist/access/libraries/process.developer.menu.js +50 -20
- package/dist/access/libraries/process.developer.menu.js.map +1 -1
- package/dist/access/libraries/process.email.notification.d.ts +19 -3
- package/dist/access/libraries/process.email.notification.js +150 -4
- package/dist/access/libraries/process.email.notification.js.map +1 -1
- package/dist/access/libraries/process.emithook.email.status.d.ts +7 -0
- package/dist/access/libraries/process.emithook.email.status.js +40 -0
- package/dist/access/libraries/process.emithook.email.status.js.map +1 -0
- package/dist/access/libraries/process.mail.log.list.d.ts +25 -0
- package/dist/access/libraries/process.mail.log.list.js +90 -0
- package/dist/access/libraries/process.mail.log.list.js.map +1 -0
- package/dist/access/libraries/read.eml.attachments.js +1 -3
- package/dist/access/libraries/read.eml.attachments.js.map +1 -1
- package/dist/access/libraries/reconcile.emithook.email.status.d.ts +17 -0
- package/dist/access/libraries/reconcile.emithook.email.status.js +82 -0
- package/dist/access/libraries/reconcile.emithook.email.status.js.map +1 -0
- package/dist/access/libraries/record.emithook.email.events.d.ts +15 -0
- package/dist/access/libraries/record.emithook.email.events.js +139 -0
- package/dist/access/libraries/record.emithook.email.events.js.map +1 -0
- package/dist/access/libraries/resolve.emithook.template.key.d.ts +8 -0
- package/dist/access/libraries/resolve.emithook.template.key.js +29 -0
- package/dist/access/libraries/resolve.emithook.template.key.js.map +1 -0
- package/dist/access/libraries/resolve.notification.recipients.d.ts +7 -0
- package/dist/access/libraries/resolve.notification.recipients.js +51 -0
- package/dist/access/libraries/resolve.notification.recipients.js.map +1 -0
- package/dist/access/libraries/sanitize.email.addresses.d.ts +3 -1
- package/dist/access/libraries/sanitize.email.addresses.js +3 -2
- package/dist/access/libraries/sanitize.email.addresses.js.map +1 -1
- package/dist/access/libraries/send.email.notification.js +2 -0
- package/dist/access/libraries/send.email.notification.js.map +1 -1
- package/dist/access/libraries/send.emithook.template.email.d.ts +24 -0
- package/dist/access/libraries/send.emithook.template.email.js +188 -0
- package/dist/access/libraries/send.emithook.template.email.js.map +1 -0
- package/dist/access/libraries/set.business.property.d.ts +8 -0
- package/dist/access/libraries/set.business.property.js +17 -0
- package/dist/access/libraries/set.business.property.js.map +1 -0
- package/dist/access/libraries/show.mail.log.content.d.ts +12 -0
- package/dist/access/libraries/show.mail.log.content.js +22 -0
- package/dist/access/libraries/show.mail.log.content.js.map +1 -0
- package/dist/access/libraries/show.mail.log.d.ts +6 -0
- package/dist/access/libraries/show.mail.log.js +20 -0
- package/dist/access/libraries/show.mail.log.js.map +1 -0
- package/dist/access/libraries/update.developer.business.d.ts +8 -0
- package/dist/access/libraries/update.developer.business.js +39 -0
- package/dist/access/libraries/update.developer.business.js.map +1 -0
- package/dist/access/services/business.email.alias.service.d.ts +5 -0
- package/dist/access/services/business.email.alias.service.js +35 -0
- package/dist/access/services/business.email.alias.service.js.map +1 -0
- package/dist/access/services/business.email.service.js +1 -2
- package/dist/access/services/business.email.service.js.map +1 -1
- package/dist/access/services/business.property.service.js +3 -1
- package/dist/access/services/business.property.service.js.map +1 -1
- package/dist/access/services/emithook.service.d.ts +5 -1
- package/dist/access/services/emithook.service.js +22 -1
- package/dist/access/services/emithook.service.js.map +1 -1
- package/dist/access/services/index.d.ts +5 -0
- package/dist/access/services/index.js +5 -0
- package/dist/access/services/index.js.map +1 -1
- package/dist/access/services/legacy.notification.preference.service.d.ts +8 -0
- package/dist/access/services/legacy.notification.preference.service.js +41 -0
- package/dist/access/services/legacy.notification.preference.service.js.map +1 -0
- package/dist/access/services/mail.log.access.service.d.ts +14 -0
- package/dist/access/services/mail.log.access.service.js +52 -0
- package/dist/access/services/mail.log.access.service.js.map +1 -0
- package/dist/access/services/notification.service.d.ts +2 -0
- package/dist/access/services/notification.service.js +19 -4
- package/dist/access/services/notification.service.js.map +1 -1
- package/dist/access/services/notification.type.preference.service.d.ts +25 -0
- package/dist/access/services/notification.type.preference.service.js +172 -0
- package/dist/access/services/notification.type.preference.service.js.map +1 -0
- package/dist/access/services/notification.type.service.d.ts +17 -0
- package/dist/access/services/notification.type.service.js +124 -0
- package/dist/access/services/notification.type.service.js.map +1 -0
- package/dist/access/services/send.email.service.d.ts +5 -1
- package/dist/access/services/send.email.service.js +9 -3
- package/dist/access/services/send.email.service.js.map +1 -1
- package/dist/accessUtility/controllers/bulk.definition.controller.d.ts +1 -1
- package/dist/accessUtility/controllers/bulk.definition.controller.js +1 -1
- package/dist/accessUtility/controllers/bulk.definition.controller.js.map +1 -1
- package/dist/accessUtility/es6.classes.d.ts +5 -5
- package/dist/accessUtility/es6.classes.js +8 -8
- package/dist/accessUtility/es6.classes.js.map +1 -1
- package/dist/accessUtility/jobs/analyse.bulk.upload.job.d.ts +1 -1
- package/dist/accessUtility/jobs/analyse.bulk.upload.job.js +1 -1
- package/dist/accessUtility/jobs/analyse.bulk.upload.job.js.map +1 -1
- package/dist/accessUtility/libraries/analyse.bulk.upload.d.ts +1 -1
- package/dist/accessUtility/libraries/index.d.ts +0 -1
- package/dist/accessUtility/libraries/index.js +0 -1
- package/dist/accessUtility/libraries/index.js.map +1 -1
- package/dist/accessUtility/services/index.d.ts +1 -0
- package/dist/accessUtility/services/index.js +1 -0
- package/dist/accessUtility/services/index.js.map +1 -1
- package/dist/accessUtility/{libraries → services}/match.bulk.upload.columns.d.ts +1 -1
- package/dist/accessUtility/{libraries → services}/match.bulk.upload.columns.js +4 -4
- package/dist/accessUtility/services/match.bulk.upload.columns.js.map +1 -0
- package/dist/migrations/1792454400000-CreateSysNotificationTypesTable.d.ts +8 -0
- package/dist/migrations/1792454400000-CreateSysNotificationTypesTable.js +36 -0
- package/dist/migrations/1792454400000-CreateSysNotificationTypesTable.js.map +1 -0
- package/dist/migrations/1792454400001-CreateBzNotificationTypePreferencesTable.d.ts +8 -0
- package/dist/migrations/1792454400001-CreateBzNotificationTypePreferencesTable.js +31 -0
- package/dist/migrations/1792454400001-CreateBzNotificationTypePreferencesTable.js.map +1 -0
- package/dist/migrations/1792454400002-CreateBzUserNotificationTypePreferencesTable.d.ts +8 -0
- package/dist/migrations/1792454400002-CreateBzUserNotificationTypePreferencesTable.js +32 -0
- package/dist/migrations/1792454400002-CreateBzUserNotificationTypePreferencesTable.js.map +1 -0
- package/dist/migrations/1792454400003-AddSmsNotificationChannelDataSeederTable.d.ts +5 -0
- package/dist/migrations/1792454400003-AddSmsNotificationChannelDataSeederTable.js +21 -0
- package/dist/migrations/1792454400003-AddSmsNotificationChannelDataSeederTable.js.map +1 -0
- package/dist/migrations/1792532792345-AddBusinessIdSysMailLogsTable.d.ts +7 -0
- package/dist/migrations/1792532792345-AddBusinessIdSysMailLogsTable.js +20 -0
- package/dist/migrations/1792532792345-AddBusinessIdSysMailLogsTable.js.map +1 -0
- package/dist/migrations/1792573736107-AddEmithookIndexSysMailLogsTable.d.ts +5 -0
- package/dist/migrations/1792573736107-AddEmithookIndexSysMailLogsTable.js +14 -0
- package/dist/migrations/1792573736107-AddEmithookIndexSysMailLogsTable.js.map +1 -0
- package/package.json +1 -1
- package/dist/accessUtility/libraries/match.bulk.upload.columns.js.map +0 -1
|
@@ -0,0 +1,64 @@
|
|
|
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.SetBusinessPropertyDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const business_property_attributes_dto_1 = require("./business.property.attributes.dto");
|
|
16
|
+
class SetBusinessPropertyDto {
|
|
17
|
+
}
|
|
18
|
+
exports.SetBusinessPropertyDto = SetBusinessPropertyDto;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_validator_1.IsOptional)(),
|
|
21
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
22
|
+
(0, class_validator_1.IsNumber)(),
|
|
23
|
+
(0, class_validator_1.IsPositive)(),
|
|
24
|
+
(0, class_transformer_1.Expose)(),
|
|
25
|
+
__metadata("design:type", Number)
|
|
26
|
+
], SetBusinessPropertyDto.prototype, "business_id", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsString)(),
|
|
29
|
+
(0, class_transformer_1.Expose)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], SetBusinessPropertyDto.prototype, "value", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsOptional)(),
|
|
34
|
+
(0, class_validator_1.IsString)(),
|
|
35
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
36
|
+
(0, class_transformer_1.Expose)(),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], SetBusinessPropertyDto.prototype, "name", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, class_validator_1.IsOptional)(),
|
|
41
|
+
(0, class_validator_1.IsString)(),
|
|
42
|
+
(0, class_transformer_1.Expose)(),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], SetBusinessPropertyDto.prototype, "description", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_validator_1.IsOptional)(),
|
|
47
|
+
(0, class_validator_1.IsBoolean)(),
|
|
48
|
+
(0, class_transformer_1.Expose)(),
|
|
49
|
+
__metadata("design:type", Boolean)
|
|
50
|
+
], SetBusinessPropertyDto.prototype, "is_encrypted", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, class_validator_1.IsOptional)(),
|
|
53
|
+
(0, class_validator_1.IsNumber)(),
|
|
54
|
+
(0, class_validator_1.IsPositive)(),
|
|
55
|
+
(0, class_transformer_1.Expose)(),
|
|
56
|
+
__metadata("design:type", Number)
|
|
57
|
+
], SetBusinessPropertyDto.prototype, "column_type_id", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, class_validator_1.IsOptional)(),
|
|
60
|
+
(0, class_validator_1.IsObject)(),
|
|
61
|
+
(0, class_transformer_1.Expose)(),
|
|
62
|
+
__metadata("design:type", business_property_attributes_dto_1.BusinessPropertyAttributesDto)
|
|
63
|
+
], SetBusinessPropertyDto.prototype, "attributes", void 0);
|
|
64
|
+
//# sourceMappingURL=set.business.property.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set.business.property.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/set.business.property.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,qDAA8G;AAC9G,yFAAmF;AAMnF,MAAa,sBAAsB;CAuClC;AAvCD,wDAuCC;AAhCG;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IAClB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;2DACY;AAIrB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;;qDACK;AAMd;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;oDACK;AAKd;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;;2DACY;AAKrB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,0BAAM,GAAE;;4DACc;AAMvB;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;8DACe;AAKxB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;8BACI,gEAA6B;0DAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
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.SetNotificationTypePreferenceDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const notification_channel_type_enum_1 = require("../enums/notification.channel.type.enum");
|
|
16
|
+
class SetNotificationTypePreferenceDto {
|
|
17
|
+
}
|
|
18
|
+
exports.SetNotificationTypePreferenceDto = SetNotificationTypePreferenceDto;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_transformer_1.Expose)(),
|
|
21
|
+
(0, class_validator_1.IsNumber)(),
|
|
22
|
+
__metadata("design:type", Number)
|
|
23
|
+
], SetNotificationTypePreferenceDto.prototype, "notification_type_id", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_transformer_1.Expose)(),
|
|
26
|
+
(0, class_validator_1.IsEnum)(notification_channel_type_enum_1.NotificationChannelTypeEnum),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], SetNotificationTypePreferenceDto.prototype, "channel_id", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_transformer_1.Expose)(),
|
|
31
|
+
(0, class_validator_1.IsBoolean)(),
|
|
32
|
+
__metadata("design:type", Boolean)
|
|
33
|
+
], SetNotificationTypePreferenceDto.prototype, "active", void 0);
|
|
34
|
+
//# sourceMappingURL=set.notification.type.preference.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set.notification.type.preference.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/set.notification.type.preference.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,qDAA8D;AAC9D,4FAAsF;AAUtF,MAAa,gCAAgC;CAa5C;AAbD,4EAaC;AATG;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;;8EACkB;AAI7B;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAM,EAAC,4DAA2B,CAAC;;oEACjB;AAInB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,2BAAS,GAAE;;gEACI"}
|
|
@@ -0,0 +1,61 @@
|
|
|
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.UpdateDeveloperBusinessDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class UpdateDeveloperBusinessDto {
|
|
16
|
+
}
|
|
17
|
+
exports.UpdateDeveloperBusinessDto = UpdateDeveloperBusinessDto;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsOptional)(),
|
|
20
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
21
|
+
(0, class_validator_1.IsNumber)(),
|
|
22
|
+
(0, class_validator_1.IsPositive)(),
|
|
23
|
+
(0, class_transformer_1.Expose)(),
|
|
24
|
+
__metadata("design:type", Number)
|
|
25
|
+
], UpdateDeveloperBusinessDto.prototype, "business_id", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsOptional)(),
|
|
28
|
+
(0, class_validator_1.IsString)(),
|
|
29
|
+
(0, class_validator_1.Length)(1, 255),
|
|
30
|
+
(0, class_transformer_1.Expose)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], UpdateDeveloperBusinessDto.prototype, "name", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsOptional)(),
|
|
35
|
+
(0, class_validator_1.IsBoolean)(),
|
|
36
|
+
(0, class_transformer_1.Expose)(),
|
|
37
|
+
__metadata("design:type", Boolean)
|
|
38
|
+
], UpdateDeveloperBusinessDto.prototype, "active", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, class_validator_1.IsOptional)(),
|
|
41
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
42
|
+
(0, class_validator_1.IsNumber)(),
|
|
43
|
+
(0, class_validator_1.IsPositive)(),
|
|
44
|
+
(0, class_transformer_1.Expose)(),
|
|
45
|
+
__metadata("design:type", Number)
|
|
46
|
+
], UpdateDeveloperBusinessDto.prototype, "country_id", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, class_validator_1.IsOptional)(),
|
|
49
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
50
|
+
(0, class_validator_1.IsNumber)(),
|
|
51
|
+
(0, class_validator_1.IsPositive)(),
|
|
52
|
+
(0, class_transformer_1.Expose)(),
|
|
53
|
+
__metadata("design:type", Number)
|
|
54
|
+
], UpdateDeveloperBusinessDto.prototype, "meta_server_id", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, class_validator_1.IsOptional)(),
|
|
57
|
+
(0, class_validator_1.IsObject)(),
|
|
58
|
+
(0, class_transformer_1.Expose)(),
|
|
59
|
+
__metadata("design:type", Object)
|
|
60
|
+
], UpdateDeveloperBusinessDto.prototype, "attributes", void 0);
|
|
61
|
+
//# sourceMappingURL=update.developer.business.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update.developer.business.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/update.developer.business.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,qDAA0G;AAM1G,MAAa,0BAA0B;CAuCtC;AAvCD,gEAuCC;AAhCG;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IAClB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;+DACY;AAMrB;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,wBAAM,EAAC,CAAC,EAAE,GAAG,CAAC;IACd,IAAA,0BAAM,GAAE;;wDACK;AAKd;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,0BAAM,GAAE;;0DACQ;AAOjB;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IAClB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;8DACW;AAOpB;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IAClB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;kEACe;AAMxB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;;8DACwB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { NotificationTypeAudienceEnum } from '../enums/notification.type.audience.enum';
|
|
2
|
+
import { NotificationTypeControlEnum } from '../enums/notification.type.control.enum';
|
|
3
|
+
import { NotificationTypeSourcesInterface } from '../interfaces/notification.type.sources.interface';
|
|
4
|
+
export declare class UpdateNotificationTypeDto {
|
|
5
|
+
name?: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
category?: string;
|
|
8
|
+
audience?: NotificationTypeAudienceEnum;
|
|
9
|
+
control?: NotificationTypeControlEnum;
|
|
10
|
+
channels?: number[];
|
|
11
|
+
sources?: NotificationTypeSourcesInterface;
|
|
12
|
+
active?: boolean;
|
|
13
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
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.UpdateNotificationTypeDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const notification_channel_type_enum_1 = require("../enums/notification.channel.type.enum");
|
|
16
|
+
const notification_type_audience_enum_1 = require("../enums/notification.type.audience.enum");
|
|
17
|
+
const notification_type_control_enum_1 = require("../enums/notification.type.control.enum");
|
|
18
|
+
class UpdateNotificationTypeDto {
|
|
19
|
+
}
|
|
20
|
+
exports.UpdateNotificationTypeDto = UpdateNotificationTypeDto;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_transformer_1.Expose)(),
|
|
23
|
+
(0, class_validator_1.IsOptional)(),
|
|
24
|
+
(0, class_validator_1.IsString)(),
|
|
25
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], UpdateNotificationTypeDto.prototype, "name", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_transformer_1.Expose)(),
|
|
30
|
+
(0, class_validator_1.IsOptional)(),
|
|
31
|
+
(0, class_validator_1.IsString)(),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], UpdateNotificationTypeDto.prototype, "description", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, class_transformer_1.Expose)(),
|
|
36
|
+
(0, class_validator_1.IsOptional)(),
|
|
37
|
+
(0, class_validator_1.IsString)(),
|
|
38
|
+
(0, class_validator_1.MaxLength)(64),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], UpdateNotificationTypeDto.prototype, "category", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_transformer_1.Expose)(),
|
|
43
|
+
(0, class_validator_1.IsOptional)(),
|
|
44
|
+
(0, class_validator_1.IsEnum)(notification_type_audience_enum_1.NotificationTypeAudienceEnum),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], UpdateNotificationTypeDto.prototype, "audience", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, class_transformer_1.Expose)(),
|
|
49
|
+
(0, class_validator_1.IsOptional)(),
|
|
50
|
+
(0, class_validator_1.IsEnum)(notification_type_control_enum_1.NotificationTypeControlEnum),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], UpdateNotificationTypeDto.prototype, "control", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, class_transformer_1.Expose)(),
|
|
55
|
+
(0, class_validator_1.IsOptional)(),
|
|
56
|
+
(0, class_validator_1.IsArray)(),
|
|
57
|
+
(0, class_validator_1.IsIn)(Object.values(notification_channel_type_enum_1.NotificationChannelTypeEnum).filter((v) => typeof v === 'number'), { each: true }),
|
|
58
|
+
__metadata("design:type", Array)
|
|
59
|
+
], UpdateNotificationTypeDto.prototype, "channels", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, class_transformer_1.Expose)(),
|
|
62
|
+
(0, class_validator_1.IsOptional)(),
|
|
63
|
+
(0, class_validator_1.IsObject)(),
|
|
64
|
+
__metadata("design:type", Object)
|
|
65
|
+
], UpdateNotificationTypeDto.prototype, "sources", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, class_transformer_1.Expose)(),
|
|
68
|
+
(0, class_validator_1.IsOptional)(),
|
|
69
|
+
(0, class_validator_1.IsBoolean)(),
|
|
70
|
+
__metadata("design:type", Boolean)
|
|
71
|
+
], UpdateNotificationTypeDto.prototype, "active", void 0);
|
|
72
|
+
//# sourceMappingURL=update.notification.type.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update.notification.type.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/update.notification.type.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,qDAA0H;AAC1H,4FAAsF;AACtF,8FAAwF;AACxF,4FAAsF;AAUtF,MAAa,yBAAyB;CA4CrC;AA5CD,8DA4CC;AAvCG;IAJC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACC;AAKd;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8DACU;AAMrB;IAJC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,EAAE,CAAC;;2DACI;AAKlB;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,8DAA4B,CAAC;;2DACG;AAKxC;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,4DAA2B,CAAC;;0DACE;AAMtC;IAJC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,sBAAI,EAAC,MAAM,CAAC,MAAM,CAAC,4DAA2B,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,QAAQ,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;2DAClF;AAKpB;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;0DACgC;AAM3C;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;yDACK"}
|
|
@@ -40,6 +40,10 @@ __decorate([
|
|
|
40
40
|
(0, typeorm_1.Column)(),
|
|
41
41
|
__metadata("design:type", Number)
|
|
42
42
|
], AccessBusinessEntity.prototype, "meta_server_id", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, typeorm_1.Column)('json'),
|
|
45
|
+
__metadata("design:type", Object)
|
|
46
|
+
], AccessBusinessEntity.prototype, "attributes", void 0);
|
|
43
47
|
__decorate([
|
|
44
48
|
(0, typeorm_1.ManyToOne)(() => nestjs_utility_services_1.UserEntity),
|
|
45
49
|
(0, typeorm_1.JoinColumn)({ name: 'owner_id' }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access.business.entity.js","sourceRoot":"","sources":["../../../src/access/entities/access.business.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAAkF;AAClF,qCAAgE;AAChE,mEAA8D;AAUvD,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,sCAAY;
|
|
1
|
+
{"version":3,"file":"access.business.entity.js","sourceRoot":"","sources":["../../../src/access/entities/access.business.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAAkF;AAClF,qCAAgE;AAChE,mEAA8D;AAUvD,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,sCAAY;CA0BrD,CAAA;AA1BY,oDAAoB;AAE7B;IADC,IAAA,gBAAM,GAAE;;kDACI;AAGb;IADC,IAAA,gBAAM,GAAE;;sDACQ;AAGjB;IADC,IAAA,gBAAM,GAAE;;wDACU;AAGnB;IADC,IAAA,gBAAM,GAAE;;oDACO;AAGhB;IADC,IAAA,gBAAM,GAAE;;wDACU;AAGnB;IADC,IAAA,gBAAM,GAAE;;4DACc;AAIvB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;;wDACC;AAG+C;IAA9D,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oCAAU,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;8BAAQ,oCAAU;mDAAC;AACP;IAAzE,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,2CAAmB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;8BAAU,2CAAmB;qDAAC;+BAzB9F,oBAAoB;IADhC,IAAA,gBAAM,EAAC,qBAAqB,CAAC;GACjB,oBAAoB,CA0BhC"}
|
|
@@ -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.AccessMailLogEntity = void 0;
|
|
13
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const access_business_entity_1 = require("./access.business.entity");
|
|
16
|
+
let AccessMailLogEntity = class AccessMailLogEntity extends nestjs_utility_services_1.MailLogEntity {
|
|
17
|
+
};
|
|
18
|
+
exports.AccessMailLogEntity = AccessMailLogEntity;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, typeorm_1.Column)(),
|
|
21
|
+
__metadata("design:type", Number)
|
|
22
|
+
], AccessMailLogEntity.prototype, "business_id", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, typeorm_1.ManyToOne)(() => access_business_entity_1.AccessBusinessEntity),
|
|
25
|
+
(0, typeorm_1.JoinColumn)({ name: 'business_id' }),
|
|
26
|
+
__metadata("design:type", access_business_entity_1.AccessBusinessEntity)
|
|
27
|
+
], AccessMailLogEntity.prototype, "business", void 0);
|
|
28
|
+
exports.AccessMailLogEntity = AccessMailLogEntity = __decorate([
|
|
29
|
+
(0, typeorm_1.Entity)('sys_mail_logs')
|
|
30
|
+
], AccessMailLogEntity);
|
|
31
|
+
//# sourceMappingURL=access.mail.log.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"access.mail.log.entity.js","sourceRoot":"","sources":["../../../src/access/entities/access.mail.log.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAAuE;AACvE,qCAAgE;AAChE,qEAAgE;AAQzD,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,uCAAa;CAMrD,CAAA;AANY,kDAAmB;AAE5B;IADC,IAAA,gBAAM,GAAE;;wDACW;AAGwD;IAA3E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6CAAoB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BAAW,6CAAoB;qDAAC;8BALlG,mBAAmB;IAD/B,IAAA,gBAAM,EAAC,eAAe,CAAC;GACX,mBAAmB,CAM/B"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CommonEntity } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { BusinessNotificationTypePreferenceAttributesDto } from '../dtos/business.notification.type.preference.attributes.dto';
|
|
3
|
+
import { AccessBusinessEntity } from './access.business.entity';
|
|
4
|
+
import { NotificationTypeEntity } from './notification.type.entity';
|
|
5
|
+
export declare class BusinessNotificationTypePreferenceEntity extends CommonEntity {
|
|
6
|
+
business_id: number;
|
|
7
|
+
notification_type_id: number;
|
|
8
|
+
channel_id: number;
|
|
9
|
+
active: boolean;
|
|
10
|
+
attributes: BusinessNotificationTypePreferenceAttributesDto;
|
|
11
|
+
business: AccessBusinessEntity;
|
|
12
|
+
notification_type: NotificationTypeEntity;
|
|
13
|
+
}
|
|
@@ -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.BusinessNotificationTypePreferenceEntity = void 0;
|
|
13
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const business_notification_type_preference_attributes_dto_1 = require("../dtos/business.notification.type.preference.attributes.dto");
|
|
16
|
+
const access_business_entity_1 = require("./access.business.entity");
|
|
17
|
+
const notification_type_entity_1 = require("./notification.type.entity");
|
|
18
|
+
let BusinessNotificationTypePreferenceEntity = class BusinessNotificationTypePreferenceEntity extends nestjs_utility_services_1.CommonEntity {
|
|
19
|
+
};
|
|
20
|
+
exports.BusinessNotificationTypePreferenceEntity = BusinessNotificationTypePreferenceEntity;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, typeorm_1.Column)(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], BusinessNotificationTypePreferenceEntity.prototype, "business_id", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.Column)(),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], BusinessNotificationTypePreferenceEntity.prototype, "notification_type_id", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)(),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], BusinessNotificationTypePreferenceEntity.prototype, "channel_id", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)(),
|
|
35
|
+
__metadata("design:type", Boolean)
|
|
36
|
+
], BusinessNotificationTypePreferenceEntity.prototype, "active", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)('jsonb'),
|
|
39
|
+
__metadata("design:type", business_notification_type_preference_attributes_dto_1.BusinessNotificationTypePreferenceAttributesDto)
|
|
40
|
+
], BusinessNotificationTypePreferenceEntity.prototype, "attributes", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.ManyToOne)(() => access_business_entity_1.AccessBusinessEntity),
|
|
43
|
+
(0, typeorm_1.JoinColumn)({ name: 'business_id' }),
|
|
44
|
+
__metadata("design:type", access_business_entity_1.AccessBusinessEntity)
|
|
45
|
+
], BusinessNotificationTypePreferenceEntity.prototype, "business", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, typeorm_1.ManyToOne)(() => notification_type_entity_1.NotificationTypeEntity),
|
|
48
|
+
(0, typeorm_1.JoinColumn)({ name: 'notification_type_id' }),
|
|
49
|
+
__metadata("design:type", notification_type_entity_1.NotificationTypeEntity)
|
|
50
|
+
], BusinessNotificationTypePreferenceEntity.prototype, "notification_type", void 0);
|
|
51
|
+
exports.BusinessNotificationTypePreferenceEntity = BusinessNotificationTypePreferenceEntity = __decorate([
|
|
52
|
+
(0, typeorm_1.Entity)('bz_notification_type_preferences')
|
|
53
|
+
], BusinessNotificationTypePreferenceEntity);
|
|
54
|
+
//# sourceMappingURL=business.notification.type.preference.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"business.notification.type.preference.entity.js","sourceRoot":"","sources":["../../../src/access/entities/business.notification.type.preference.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAAsE;AACtE,qCAAgE;AAChE,uIAA+H;AAC/H,qEAAgE;AAChE,yEAAoE;AAW7D,IAAM,wCAAwC,GAA9C,MAAM,wCAAyC,SAAQ,sCAAY;CAoBzE,CAAA;AApBY,4FAAwC;AAEjD;IADC,IAAA,gBAAM,GAAE;;6EACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;sFACoB;AAI7B;IADC,IAAA,gBAAM,GAAE;;4EACU;AAGnB;IADC,IAAA,gBAAM,GAAE;;wEACO;AAGhB;IADC,IAAA,gBAAM,EAAC,OAAO,CAAC;8BACJ,sGAA+C;4EAAC;AAGgB;IAA3E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6CAAoB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BAAW,6CAAoB;0EAAC;AACpB;IAAtF,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,iDAAsB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,sBAAsB,EAAE,CAAC;8BAAoB,iDAAsB;mFAAC;mDAnBxH,wCAAwC;IADpD,IAAA,gBAAM,EAAC,kCAAkC,CAAC;GAC9B,wCAAwC,CAoBpD"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './access.business.entity';
|
|
2
2
|
export * from './access.country.entity';
|
|
3
3
|
export * from './access.employee.entity';
|
|
4
|
+
export * from './access.mail.log.entity';
|
|
4
5
|
export * from './access.whatsapp.template.entity';
|
|
5
6
|
export * from './alias.mapping.entity';
|
|
6
7
|
export * from './api.account.entity';
|
|
@@ -16,6 +17,7 @@ export * from './business.group.role.entity';
|
|
|
16
17
|
export * from './business.material.view.entity';
|
|
17
18
|
export * from './business.menu.entity';
|
|
18
19
|
export * from './business.menu.layout.entity';
|
|
20
|
+
export * from './business.notification.type.preference.entity';
|
|
19
21
|
export * from './business.preference.entity';
|
|
20
22
|
export * from './business.property.entity';
|
|
21
23
|
export * from './business.report.entity';
|
|
@@ -72,6 +74,7 @@ export * from './menu.entity';
|
|
|
72
74
|
export * from './menu.role.entity';
|
|
73
75
|
export * from './module.entity';
|
|
74
76
|
export * from './module.menu.entity';
|
|
77
|
+
export * from './notification.type.entity';
|
|
75
78
|
export * from './oauth.authorization.entity';
|
|
76
79
|
export * from './oauth.client.entity';
|
|
77
80
|
export * from './onhold.document.entity';
|
|
@@ -95,6 +98,7 @@ export * from './ui.action.entity';
|
|
|
95
98
|
export * from './ui.action.role.entity';
|
|
96
99
|
export * from './user.business.secret.entity';
|
|
97
100
|
export * from './user.notification.entity';
|
|
101
|
+
export * from './user.notification.type.preference.entity';
|
|
98
102
|
export * from './user.preference.entity';
|
|
99
103
|
export * from './user.role.entity';
|
|
100
104
|
export * from './watchlist.assignment.entity';
|
|
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./access.business.entity"), exports);
|
|
18
18
|
__exportStar(require("./access.country.entity"), exports);
|
|
19
19
|
__exportStar(require("./access.employee.entity"), exports);
|
|
20
|
+
__exportStar(require("./access.mail.log.entity"), exports);
|
|
20
21
|
__exportStar(require("./access.whatsapp.template.entity"), exports);
|
|
21
22
|
__exportStar(require("./alias.mapping.entity"), exports);
|
|
22
23
|
__exportStar(require("./api.account.entity"), exports);
|
|
@@ -32,6 +33,7 @@ __exportStar(require("./business.group.role.entity"), exports);
|
|
|
32
33
|
__exportStar(require("./business.material.view.entity"), exports);
|
|
33
34
|
__exportStar(require("./business.menu.entity"), exports);
|
|
34
35
|
__exportStar(require("./business.menu.layout.entity"), exports);
|
|
36
|
+
__exportStar(require("./business.notification.type.preference.entity"), exports);
|
|
35
37
|
__exportStar(require("./business.preference.entity"), exports);
|
|
36
38
|
__exportStar(require("./business.property.entity"), exports);
|
|
37
39
|
__exportStar(require("./business.report.entity"), exports);
|
|
@@ -88,6 +90,7 @@ __exportStar(require("./menu.entity"), exports);
|
|
|
88
90
|
__exportStar(require("./menu.role.entity"), exports);
|
|
89
91
|
__exportStar(require("./module.entity"), exports);
|
|
90
92
|
__exportStar(require("./module.menu.entity"), exports);
|
|
93
|
+
__exportStar(require("./notification.type.entity"), exports);
|
|
91
94
|
__exportStar(require("./oauth.authorization.entity"), exports);
|
|
92
95
|
__exportStar(require("./oauth.client.entity"), exports);
|
|
93
96
|
__exportStar(require("./onhold.document.entity"), exports);
|
|
@@ -111,6 +114,7 @@ __exportStar(require("./ui.action.entity"), exports);
|
|
|
111
114
|
__exportStar(require("./ui.action.role.entity"), exports);
|
|
112
115
|
__exportStar(require("./user.business.secret.entity"), exports);
|
|
113
116
|
__exportStar(require("./user.notification.entity"), exports);
|
|
117
|
+
__exportStar(require("./user.notification.type.preference.entity"), exports);
|
|
114
118
|
__exportStar(require("./user.preference.entity"), exports);
|
|
115
119
|
__exportStar(require("./user.role.entity"), exports);
|
|
116
120
|
__exportStar(require("./watchlist.assignment.entity"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAGA,2DAAyC;AACzC,0DAAwC;AACxC,2DAAyC;AACzC,oEAAkD;AAClD,yDAAuC;AACvC,uDAAqC;AACrC,2DAAyC;AACzC,+EAA6D;AAC7D,oEAAkD;AAClD,6EAA2D;AAC3D,6DAA2C;AAC3C,wEAAsD;AACtD,0DAAwC;AACxC,4DAA0C;AAC1C,+DAA6C;AAC7C,kEAAgD;AAChD,yDAAuC;AACvC,gEAA8C;AAC9C,+DAA6C;AAC7C,6DAA2C;AAC3C,2DAAyC;AACzC,2DAAyC;AACzC,8DAA4C;AAC5C,yDAAuC;AACvC,+DAA6C;AAC7C,iFAA+D;AAC/D,8DAA4C;AAC5C,4DAA0C;AAC1C,8EAA4D;AAC5D,sDAAoC;AACpC,uDAAqC;AACrC,uDAAqC;AACrC,wDAAsC;AACtC,yDAAuC;AACvC,wDAAsC;AACtC,yDAAuC;AACvC,+DAA6C;AAC7C,qDAAmC;AACnC,uDAAqC;AACrC,wDAAsC;AACtC,4DAA0C;AAC1C,yDAAuC;AACvC,2DAAyC;AACzC,sDAAoC;AACpC,uDAAqC;AACrC,8DAA4C;AAC5C,oEAAkD;AAClD,yDAAuC;AACvC,6DAA2C;AAC3C,yDAAuC;AACvC,uDAAqC;AACrC,qDAAmC;AACnC,mDAAiC;AACjC,wDAAsC;AACtC,wDAAsC;AACtC,uDAAqC;AACrC,yDAAuC;AACvC,0DAAwC;AACxC,sDAAoC;AACpC,yDAAuC;AACvC,iEAA+C;AAC/C,wDAAsC;AACtC,sDAAoC;AACpC,uDAAqC;AACrC,2DAAyC;AACzC,0DAAwC;AACxC,wDAAsC;AACtC,8DAA4C;AAC5C,uDAAqC;AACrC,uDAAqC;AACrC,gDAA8B;AAC9B,qDAAmC;AACnC,kDAAgC;AAChC,uDAAqC;AACrC,+DAA6C;AAC7C,wDAAsC;AACtC,2DAAyC;AACzC,6DAA2C;AAC3C,2DAAyC;AACzC,iEAA+C;AAC/C,mDAAiC;AACjC,sDAAoC;AACpC,uDAAqC;AACrC,sDAAoC;AACpC,kEAAgD;AAChD,4DAA0C;AAC1C,iEAA+C;AAC/C,6DAA2C;AAC3C,yDAAuC;AACvC,0DAAwC;AACxC,sDAAoC;AACpC,yDAAuC;AACvC,iEAA+C;AAC/C,qDAAmC;AACnC,0DAAwC;AACxC,gEAA8C;AAC9C,6DAA2C;AAC3C,2DAAyC;AACzC,qDAAmC;AACnC,gEAA8C;AAC9C,yDAAuC;AACvC,uDAAqC;AACrC,wDAAsC;AACtC,wDAAsC;AACtC,4DAA0C;AAC1C,+DAA6C;AAC7C,uEAAqD"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAGA,2DAAyC;AACzC,0DAAwC;AACxC,2DAAyC;AACzC,2DAAyC;AACzC,oEAAkD;AAClD,yDAAuC;AACvC,uDAAqC;AACrC,2DAAyC;AACzC,+EAA6D;AAC7D,oEAAkD;AAClD,6EAA2D;AAC3D,6DAA2C;AAC3C,wEAAsD;AACtD,0DAAwC;AACxC,4DAA0C;AAC1C,+DAA6C;AAC7C,kEAAgD;AAChD,yDAAuC;AACvC,gEAA8C;AAC9C,iFAA+D;AAC/D,+DAA6C;AAC7C,6DAA2C;AAC3C,2DAAyC;AACzC,2DAAyC;AACzC,8DAA4C;AAC5C,yDAAuC;AACvC,+DAA6C;AAC7C,iFAA+D;AAC/D,8DAA4C;AAC5C,4DAA0C;AAC1C,8EAA4D;AAC5D,sDAAoC;AACpC,uDAAqC;AACrC,uDAAqC;AACrC,wDAAsC;AACtC,yDAAuC;AACvC,wDAAsC;AACtC,yDAAuC;AACvC,+DAA6C;AAC7C,qDAAmC;AACnC,uDAAqC;AACrC,wDAAsC;AACtC,4DAA0C;AAC1C,yDAAuC;AACvC,2DAAyC;AACzC,sDAAoC;AACpC,uDAAqC;AACrC,8DAA4C;AAC5C,oEAAkD;AAClD,yDAAuC;AACvC,6DAA2C;AAC3C,yDAAuC;AACvC,uDAAqC;AACrC,qDAAmC;AACnC,mDAAiC;AACjC,wDAAsC;AACtC,wDAAsC;AACtC,uDAAqC;AACrC,yDAAuC;AACvC,0DAAwC;AACxC,sDAAoC;AACpC,yDAAuC;AACvC,iEAA+C;AAC/C,wDAAsC;AACtC,sDAAoC;AACpC,uDAAqC;AACrC,2DAAyC;AACzC,0DAAwC;AACxC,wDAAsC;AACtC,8DAA4C;AAC5C,uDAAqC;AACrC,uDAAqC;AACrC,gDAA8B;AAC9B,qDAAmC;AACnC,kDAAgC;AAChC,uDAAqC;AACrC,6DAA2C;AAC3C,+DAA6C;AAC7C,wDAAsC;AACtC,2DAAyC;AACzC,6DAA2C;AAC3C,2DAAyC;AACzC,iEAA+C;AAC/C,mDAAiC;AACjC,sDAAoC;AACpC,uDAAqC;AACrC,sDAAoC;AACpC,kEAAgD;AAChD,4DAA0C;AAC1C,iEAA+C;AAC/C,6DAA2C;AAC3C,yDAAuC;AACvC,0DAAwC;AACxC,sDAAoC;AACpC,yDAAuC;AACvC,iEAA+C;AAC/C,qDAAmC;AACnC,0DAAwC;AACxC,gEAA8C;AAC9C,6DAA2C;AAC3C,6EAA2D;AAC3D,2DAAyC;AACzC,qDAAmC;AACnC,gEAA8C;AAC9C,yDAAuC;AACvC,uDAAqC;AACrC,wDAAsC;AACtC,wDAAsC;AACtC,4DAA0C;AAC1C,+DAA6C;AAC7C,uEAAqD"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CommonAttributesDto, CommonEntity } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { NotificationTypeAudienceEnum } from '../enums/notification.type.audience.enum';
|
|
3
|
+
import { NotificationTypeControlEnum } from '../enums/notification.type.control.enum';
|
|
4
|
+
import { NotificationTypeSourcesInterface } from '../interfaces/notification.type.sources.interface';
|
|
5
|
+
export declare class NotificationTypeEntity extends CommonEntity {
|
|
6
|
+
identifier: string;
|
|
7
|
+
name: string;
|
|
8
|
+
description: string;
|
|
9
|
+
category: string;
|
|
10
|
+
audience: NotificationTypeAudienceEnum;
|
|
11
|
+
control: NotificationTypeControlEnum;
|
|
12
|
+
channels: number[];
|
|
13
|
+
sources: NotificationTypeSourcesInterface;
|
|
14
|
+
active: boolean;
|
|
15
|
+
attributes: CommonAttributesDto;
|
|
16
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
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.NotificationTypeEntity = void 0;
|
|
13
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const notification_type_audience_enum_1 = require("../enums/notification.type.audience.enum");
|
|
16
|
+
const notification_type_control_enum_1 = require("../enums/notification.type.control.enum");
|
|
17
|
+
let NotificationTypeEntity = class NotificationTypeEntity extends nestjs_utility_services_1.CommonEntity {
|
|
18
|
+
};
|
|
19
|
+
exports.NotificationTypeEntity = NotificationTypeEntity;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, typeorm_1.Column)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], NotificationTypeEntity.prototype, "identifier", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.Column)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], NotificationTypeEntity.prototype, "name", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], NotificationTypeEntity.prototype, "description", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Column)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], NotificationTypeEntity.prototype, "category", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.Column)(),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], NotificationTypeEntity.prototype, "audience", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, typeorm_1.Column)(),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], NotificationTypeEntity.prototype, "control", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, typeorm_1.Column)('jsonb'),
|
|
46
|
+
__metadata("design:type", Array)
|
|
47
|
+
], NotificationTypeEntity.prototype, "channels", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, typeorm_1.Column)('jsonb'),
|
|
50
|
+
__metadata("design:type", Object)
|
|
51
|
+
], NotificationTypeEntity.prototype, "sources", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, typeorm_1.Column)(),
|
|
54
|
+
__metadata("design:type", Boolean)
|
|
55
|
+
], NotificationTypeEntity.prototype, "active", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, typeorm_1.Column)('jsonb'),
|
|
58
|
+
__metadata("design:type", nestjs_utility_services_1.CommonAttributesDto)
|
|
59
|
+
], NotificationTypeEntity.prototype, "attributes", void 0);
|
|
60
|
+
exports.NotificationTypeEntity = NotificationTypeEntity = __decorate([
|
|
61
|
+
(0, typeorm_1.Entity)('sys_notification_types')
|
|
62
|
+
], NotificationTypeEntity);
|
|
63
|
+
//# sourceMappingURL=notification.type.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification.type.entity.js","sourceRoot":"","sources":["../../../src/access/entities/notification.type.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAA2F;AAC3F,qCAAyC;AACzC,8FAAwF;AACxF,4FAAsF;AAY/E,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,sCAAY;CAoCvD,CAAA;AApCY,wDAAsB;AAG/B;IADC,IAAA,gBAAM,GAAE;;0DACU;AAInB;IADC,IAAA,gBAAM,GAAE;;oDACI;AAIb;IADC,IAAA,gBAAM,GAAE;;2DACW;AAIpB;IADC,IAAA,gBAAM,GAAE;;wDACQ;AAGjB;IADC,IAAA,gBAAM,GAAE;;wDAC8B;AAGvC;IADC,IAAA,gBAAM,GAAE;;uDAC4B;AAIrC;IADC,IAAA,gBAAM,EAAC,OAAO,CAAC;;wDACG;AAGnB;IADC,IAAA,gBAAM,EAAC,OAAO,CAAC;;uDAC0B;AAI1C;IADC,IAAA,gBAAM,GAAE;;sDACO;AAGhB;IADC,IAAA,gBAAM,EAAC,OAAO,CAAC;8BACJ,6CAAmB;0DAAC;iCAnCvB,sBAAsB;IADlC,IAAA,gBAAM,EAAC,wBAAwB,CAAC;GACpB,sBAAsB,CAoClC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CommonEntity, UserEntity } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { BusinessNotificationTypePreferenceAttributesDto } from '../dtos/business.notification.type.preference.attributes.dto';
|
|
3
|
+
import { AccessBusinessEntity } from './access.business.entity';
|
|
4
|
+
import { NotificationTypeEntity } from './notification.type.entity';
|
|
5
|
+
export declare class UserNotificationTypePreferenceEntity extends CommonEntity {
|
|
6
|
+
business_id: number;
|
|
7
|
+
user_id: number;
|
|
8
|
+
notification_type_id: number;
|
|
9
|
+
channel_id: number;
|
|
10
|
+
active: boolean;
|
|
11
|
+
attributes: BusinessNotificationTypePreferenceAttributesDto;
|
|
12
|
+
business: AccessBusinessEntity;
|
|
13
|
+
user: UserEntity;
|
|
14
|
+
notification_type: NotificationTypeEntity;
|
|
15
|
+
}
|