@servicelabsco/slabs-access-manager 2.0.14 → 2.0.17
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/alias.mapping.controller.d.ts +16 -0
- package/dist/access/controllers/alias.mapping.controller.js +93 -0
- package/dist/access/controllers/alias.mapping.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.email.controller.d.ts +2 -1
- package/dist/access/controllers/business.email.controller.js +6 -3
- package/dist/access/controllers/business.email.controller.js.map +1 -1
- 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 +14 -0
- package/dist/access/controllers/emithook.controller.js +56 -0
- package/dist/access/controllers/emithook.controller.js.map +1 -0
- package/dist/access/controllers/index.d.ts +7 -0
- package/dist/access/controllers/index.js +7 -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.alias.mapping.dto.d.ts +7 -0
- package/dist/access/dtos/add.alias.mapping.dto.js +49 -0
- package/dist/access/dtos/add.alias.mapping.dto.js.map +1 -0
- package/dist/access/dtos/add.business.email.dto.d.ts +4 -0
- package/dist/access/dtos/add.business.email.dto.js +34 -0
- package/dist/access/dtos/add.business.email.dto.js.map +1 -0
- 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.email.attributes.dto.d.ts +1 -0
- package/dist/access/dtos/business.email.attributes.dto.js +6 -0
- package/dist/access/dtos/business.email.attributes.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/emithook.envelope.dto.d.ts +38 -0
- package/dist/access/dtos/emithook.envelope.dto.js +16 -0
- package/dist/access/dtos/emithook.envelope.dto.js.map +1 -0
- package/dist/access/dtos/index.d.ts +15 -0
- package/dist/access/dtos/index.js +15 -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/search.alias.mapping.dto.d.ts +7 -0
- package/dist/access/dtos/search.alias.mapping.dto.js +51 -0
- package/dist/access/dtos/search.alias.mapping.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.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.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/alias.mapping.entity.d.ts +11 -0
- package/dist/access/entities/alias.mapping.entity.js +51 -0
- package/dist/access/entities/alias.mapping.entity.js.map +1 -0
- package/dist/access/entities/business.email.entity.d.ts +1 -0
- package/dist/access/entities/business.email.entity.js +4 -0
- package/dist/access/entities/business.email.entity.js.map +1 -1
- 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 +5 -0
- package/dist/access/entities/index.js +5 -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/business.email.type.enum.d.ts +3 -0
- package/dist/access/enums/business.email.type.enum.js +8 -0
- package/dist/access/enums/business.email.type.enum.js.map +1 -0
- package/dist/access/enums/index.d.ts +4 -0
- package/dist/access/enums/index.js +4 -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 +61 -14
- package/dist/access/es6.classes.js +127 -1
- package/dist/access/es6.classes.js.map +1 -1
- package/dist/access/index.d.ts +1 -0
- package/dist/access/index.js +1 -0
- package/dist/access/index.js.map +1 -1
- package/dist/access/interfaces/alias.lookup.options.interface.d.ts +4 -0
- package/dist/access/interfaces/alias.lookup.options.interface.js +3 -0
- package/dist/access/interfaces/alias.lookup.options.interface.js.map +1 -0
- package/dist/access/interfaces/alias.mapping.input.interface.d.ts +7 -0
- package/dist/access/interfaces/alias.mapping.input.interface.js +3 -0
- package/dist/access/interfaces/alias.mapping.input.interface.js.map +1 -0
- package/dist/access/interfaces/alias.search.match.interface.d.ts +8 -0
- package/dist/access/interfaces/alias.search.match.interface.js +3 -0
- package/dist/access/interfaces/alias.search.match.interface.js.map +1 -0
- package/dist/access/interfaces/alias.search.query.interface.d.ts +7 -0
- package/dist/access/interfaces/alias.search.query.interface.js +3 -0
- package/dist/access/interfaces/alias.search.query.interface.js.map +1 -0
- 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.body.interface.d.ts +24 -0
- package/dist/access/interfaces/emithook.email.body.interface.js +3 -0
- package/dist/access/interfaces/emithook.email.body.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/inbound.email.message.interface.d.ts +31 -0
- package/dist/access/interfaces/inbound.email.message.interface.js +3 -0
- package/dist/access/interfaces/inbound.email.message.interface.js.map +1 -0
- package/dist/access/interfaces/index.d.ts +24 -0
- package/dist/access/interfaces/index.js +41 -0
- package/dist/access/interfaces/index.js.map +1 -0
- 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.d.ts +27 -0
- package/dist/access/jobs/handle.emithook.email.job.js +162 -0
- package/dist/access/jobs/handle.emithook.email.job.js.map +1 -0
- 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 +5 -0
- package/dist/access/jobs/index.js +5 -0
- package/dist/access/jobs/index.js.map +1 -1
- package/dist/access/jobs/poll.emithook.email.inbox.job.d.ts +19 -0
- package/dist/access/jobs/poll.emithook.email.inbox.job.js +109 -0
- package/dist/access/jobs/poll.emithook.email.inbox.job.js.map +1 -0
- package/dist/access/jobs/poll.emithook.email.sqs.job.d.ts +22 -0
- package/dist/access/jobs/poll.emithook.email.sqs.job.js +91 -0
- package/dist/access/jobs/poll.emithook.email.sqs.job.js.map +1 -0
- package/dist/access/jobs/process.server.email.job.d.ts +1 -9
- package/dist/access/jobs/process.server.email.job.js +13 -105
- package/dist/access/jobs/process.server.email.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 +19 -0
- package/dist/access/libraries/index.js +19 -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 +18 -3
- package/dist/access/libraries/process.email.notification.js +140 -3
- 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.inbound.email.message.d.ts +21 -0
- package/dist/access/libraries/process.inbound.email.message.js +129 -0
- package/dist/access/libraries/process.inbound.email.message.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.d.ts +19 -0
- package/dist/access/libraries/read.eml.attachments.js +124 -0
- package/dist/access/libraries/read.eml.attachments.js.map +1 -0
- 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/search.alias.mappings.d.ts +12 -0
- package/dist/access/libraries/search.alias.mappings.js +46 -0
- package/dist/access/libraries/search.alias.mappings.js.map +1 -0
- 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.alias.mapping.d.ts +12 -0
- package/dist/access/libraries/set.alias.mapping.js +81 -0
- package/dist/access/libraries/set.alias.mapping.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/services/alias.mapping.service.d.ts +9 -0
- package/dist/access/services/alias.mapping.service.js +45 -0
- package/dist/access/services/alias.mapping.service.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.d.ts +5 -1
- package/dist/access/services/business.email.service.js +33 -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 +36 -0
- package/dist/access/services/emithook.service.js +136 -0
- package/dist/access/services/emithook.service.js.map +1 -0
- package/dist/access/services/index.d.ts +7 -0
- package/dist/access/services/index.js +7 -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 +6 -2
- package/dist/accessUtility/controllers/bulk.definition.controller.js +26 -9
- package/dist/accessUtility/controllers/bulk.definition.controller.js.map +1 -1
- package/dist/accessUtility/dtos/bulk.definition.script.dto.d.ts +4 -0
- package/dist/accessUtility/dtos/bulk.definition.script.dto.js +30 -0
- package/dist/accessUtility/dtos/bulk.definition.script.dto.js.map +1 -0
- package/dist/accessUtility/dtos/index.d.ts +1 -0
- package/dist/accessUtility/dtos/index.js +1 -0
- package/dist/accessUtility/dtos/index.js.map +1 -1
- package/dist/accessUtility/es6.classes.d.ts +9 -7
- package/dist/accessUtility/es6.classes.js +12 -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/jobs/push.to.bulk.item.job.d.ts +2 -0
- package/dist/accessUtility/jobs/push.to.bulk.item.job.js +2 -0
- package/dist/accessUtility/jobs/push.to.bulk.item.job.js.map +1 -1
- package/dist/accessUtility/libraries/analyse.bulk.upload.d.ts +1 -1
- package/dist/accessUtility/libraries/index.d.ts +1 -1
- package/dist/accessUtility/libraries/index.js +1 -1
- package/dist/accessUtility/libraries/index.js.map +1 -1
- package/dist/accessUtility/libraries/process.bulk.definition.script.d.ts +9 -0
- package/dist/accessUtility/libraries/process.bulk.definition.script.js +43 -0
- package/dist/accessUtility/libraries/process.bulk.definition.script.js.map +1 -0
- package/dist/accessUtility/libraries/read.xls.file.d.ts +4 -1
- package/dist/accessUtility/libraries/read.xls.file.js +49 -10
- package/dist/accessUtility/libraries/read.xls.file.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/1790855763155-CreateBzAliasMappingsTable.d.ts +8 -0
- package/dist/migrations/1790855763155-CreateBzAliasMappingsTable.js +37 -0
- package/dist/migrations/1790855763155-CreateBzAliasMappingsTable.js.map +1 -0
- package/dist/migrations/1792089460727-AddIdentifierBzBusinessEmailsTable.d.ts +5 -0
- package/dist/migrations/1792089460727-AddIdentifierBzBusinessEmailsTable.js +16 -0
- package/dist/migrations/1792089460727-AddIdentifierBzBusinessEmailsTable.js.map +1 -0
- package/dist/migrations/1792091262917-AddUniqueEmailIdentifierBzEmailMessagesTable.d.ts +8 -0
- package/dist/migrations/1792091262917-AddUniqueEmailIdentifierBzEmailMessagesTable.js +30 -0
- package/dist/migrations/1792091262917-AddUniqueEmailIdentifierBzEmailMessagesTable.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,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"}
|
|
@@ -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,11 @@
|
|
|
1
|
+
import { CommonAttributesDto, CommonEntity } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { AccessBusinessEntity } from './access.business.entity';
|
|
3
|
+
export declare class AliasMappingEntity extends CommonEntity {
|
|
4
|
+
business_id: number;
|
|
5
|
+
source_type: string;
|
|
6
|
+
source_id: number;
|
|
7
|
+
name: string;
|
|
8
|
+
type: string;
|
|
9
|
+
attributes: CommonAttributesDto;
|
|
10
|
+
business: AccessBusinessEntity;
|
|
11
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.AliasMappingEntity = 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 AliasMappingEntity = class AliasMappingEntity extends nestjs_utility_services_1.CommonEntity {
|
|
17
|
+
};
|
|
18
|
+
exports.AliasMappingEntity = AliasMappingEntity;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, typeorm_1.Column)(),
|
|
21
|
+
__metadata("design:type", Number)
|
|
22
|
+
], AliasMappingEntity.prototype, "business_id", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, typeorm_1.Column)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], AliasMappingEntity.prototype, "source_type", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.Column)(),
|
|
29
|
+
__metadata("design:type", Number)
|
|
30
|
+
], AliasMappingEntity.prototype, "source_id", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, typeorm_1.Column)(),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], AliasMappingEntity.prototype, "name", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, typeorm_1.Column)(),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], AliasMappingEntity.prototype, "type", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, typeorm_1.Column)('jsonb'),
|
|
41
|
+
__metadata("design:type", nestjs_utility_services_1.CommonAttributesDto)
|
|
42
|
+
], AliasMappingEntity.prototype, "attributes", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, typeorm_1.ManyToOne)(() => access_business_entity_1.AccessBusinessEntity),
|
|
45
|
+
(0, typeorm_1.JoinColumn)({ name: 'business_id' }),
|
|
46
|
+
__metadata("design:type", access_business_entity_1.AccessBusinessEntity)
|
|
47
|
+
], AliasMappingEntity.prototype, "business", void 0);
|
|
48
|
+
exports.AliasMappingEntity = AliasMappingEntity = __decorate([
|
|
49
|
+
(0, typeorm_1.Entity)('bz_alias_mappings')
|
|
50
|
+
], AliasMappingEntity);
|
|
51
|
+
//# sourceMappingURL=alias.mapping.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alias.mapping.entity.js","sourceRoot":"","sources":["../../../src/access/entities/alias.mapping.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAA2F;AAC3F,qCAAgE;AAChE,qEAAgE;AAYzD,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,sCAAY;CAwBnD,CAAA;AAxBY,gDAAkB;AAE3B;IADC,IAAA,gBAAM,GAAE;;uDACW;AAIpB;IADC,IAAA,gBAAM,GAAE;;uDACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;qDACS;AAIlB;IADC,IAAA,gBAAM,GAAE;;gDACI;AAIb;IADC,IAAA,gBAAM,GAAE;;gDACI;AAGb;IADC,IAAA,gBAAM,EAAC,OAAO,CAAC;8BACJ,6CAAmB;sDAAC;AAG4C;IAA3E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6CAAoB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BAAW,6CAAoB;oDAAC;6BAvBlG,kBAAkB;IAD9B,IAAA,gBAAM,EAAC,mBAAmB,CAAC;GACf,kBAAkB,CAwB9B"}
|
|
@@ -42,6 +42,10 @@ __decorate([
|
|
|
42
42
|
(0, typeorm_1.Column)(),
|
|
43
43
|
__metadata("design:type", String)
|
|
44
44
|
], BusinessEmailEntity.prototype, "email", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)(),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], BusinessEmailEntity.prototype, "identifier", void 0);
|
|
45
49
|
__decorate([
|
|
46
50
|
(0, typeorm_1.Column)(),
|
|
47
51
|
__metadata("design:type", String)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"business.email.entity.js","sourceRoot":"","sources":["../../../src/access/entities/business.email.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAAkF;AAClF,qCAAgE;AAChE,yFAAmF;AACnF,qEAAgE;AAChE,qEAAgE;AAUzD,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,sCAAY;
|
|
1
|
+
{"version":3,"file":"business.email.entity.js","sourceRoot":"","sources":["../../../src/access/entities/business.email.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAAkF;AAClF,qCAAgE;AAChE,yFAAmF;AACnF,qEAAgE;AAChE,qEAAgE;AAUzD,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,sCAAY;CA6CpD,CAAA;AA7CY,kDAAmB;AAE5B;IADC,IAAA,gBAAM,GAAE;;wDACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;uDACU;AAGnB;IADC,IAAA,gBAAM,GAAE;;2DACc;AAGvB;IADC,IAAA,gBAAM,GAAE;;oDACO;AAGhB;IADC,IAAA,gBAAM,GAAE;;wDACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;kDACK;AAId;IADC,IAAA,gBAAM,GAAE;;uDACU;AAGnB;IADC,IAAA,gBAAM,GAAE;;iDACI;AAGb;IADC,IAAA,gBAAM,GAAE;;yDACY;AAGrB;IADC,IAAA,gBAAM,GAAE;;0DACa;AAGtB;IADC,IAAA,gBAAM,GAAE;8BACE,IAAI;sDAAC;AAGhB;IADC,IAAA,gBAAM,GAAE;;mDACO;AAGhB;IADC,IAAA,gBAAM,EAAC,OAAO,CAAC;8BACJ,0DAA0B;uDAAC;AAGqC;IAA3E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6CAAoB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BAAW,6CAAoB;qDAAC;AAC/B;IAA3E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6CAAoB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BAAW,6CAAoB;qDAAC;AAC7C;IAA7D,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oCAAU,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;8BAAO,oCAAU;iDAAC;8BA5CtE,mBAAmB;IAD/B,IAAA,gBAAM,EAAC,oBAAoB,CAAC;GAChB,mBAAmB,CA6C/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,7 +1,9 @@
|
|
|
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';
|
|
6
|
+
export * from './alias.mapping.entity';
|
|
5
7
|
export * from './api.account.entity';
|
|
6
8
|
export * from './app.integration.entity';
|
|
7
9
|
export * from './business.app.integration.credential.entity';
|
|
@@ -15,6 +17,7 @@ export * from './business.group.role.entity';
|
|
|
15
17
|
export * from './business.material.view.entity';
|
|
16
18
|
export * from './business.menu.entity';
|
|
17
19
|
export * from './business.menu.layout.entity';
|
|
20
|
+
export * from './business.notification.type.preference.entity';
|
|
18
21
|
export * from './business.preference.entity';
|
|
19
22
|
export * from './business.property.entity';
|
|
20
23
|
export * from './business.report.entity';
|
|
@@ -71,6 +74,7 @@ export * from './menu.entity';
|
|
|
71
74
|
export * from './menu.role.entity';
|
|
72
75
|
export * from './module.entity';
|
|
73
76
|
export * from './module.menu.entity';
|
|
77
|
+
export * from './notification.type.entity';
|
|
74
78
|
export * from './oauth.authorization.entity';
|
|
75
79
|
export * from './oauth.client.entity';
|
|
76
80
|
export * from './onhold.document.entity';
|
|
@@ -94,6 +98,7 @@ export * from './ui.action.entity';
|
|
|
94
98
|
export * from './ui.action.role.entity';
|
|
95
99
|
export * from './user.business.secret.entity';
|
|
96
100
|
export * from './user.notification.entity';
|
|
101
|
+
export * from './user.notification.type.preference.entity';
|
|
97
102
|
export * from './user.preference.entity';
|
|
98
103
|
export * from './user.role.entity';
|
|
99
104
|
export * from './watchlist.assignment.entity';
|
|
@@ -17,7 +17,9 @@ 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);
|
|
22
|
+
__exportStar(require("./alias.mapping.entity"), exports);
|
|
21
23
|
__exportStar(require("./api.account.entity"), exports);
|
|
22
24
|
__exportStar(require("./app.integration.entity"), exports);
|
|
23
25
|
__exportStar(require("./business.app.integration.credential.entity"), exports);
|
|
@@ -31,6 +33,7 @@ __exportStar(require("./business.group.role.entity"), exports);
|
|
|
31
33
|
__exportStar(require("./business.material.view.entity"), exports);
|
|
32
34
|
__exportStar(require("./business.menu.entity"), exports);
|
|
33
35
|
__exportStar(require("./business.menu.layout.entity"), exports);
|
|
36
|
+
__exportStar(require("./business.notification.type.preference.entity"), exports);
|
|
34
37
|
__exportStar(require("./business.preference.entity"), exports);
|
|
35
38
|
__exportStar(require("./business.property.entity"), exports);
|
|
36
39
|
__exportStar(require("./business.report.entity"), exports);
|
|
@@ -87,6 +90,7 @@ __exportStar(require("./menu.entity"), exports);
|
|
|
87
90
|
__exportStar(require("./menu.role.entity"), exports);
|
|
88
91
|
__exportStar(require("./module.entity"), exports);
|
|
89
92
|
__exportStar(require("./module.menu.entity"), exports);
|
|
93
|
+
__exportStar(require("./notification.type.entity"), exports);
|
|
90
94
|
__exportStar(require("./oauth.authorization.entity"), exports);
|
|
91
95
|
__exportStar(require("./oauth.client.entity"), exports);
|
|
92
96
|
__exportStar(require("./onhold.document.entity"), exports);
|
|
@@ -110,6 +114,7 @@ __exportStar(require("./ui.action.entity"), exports);
|
|
|
110
114
|
__exportStar(require("./ui.action.role.entity"), exports);
|
|
111
115
|
__exportStar(require("./user.business.secret.entity"), exports);
|
|
112
116
|
__exportStar(require("./user.notification.entity"), exports);
|
|
117
|
+
__exportStar(require("./user.notification.type.preference.entity"), exports);
|
|
113
118
|
__exportStar(require("./user.preference.entity"), exports);
|
|
114
119
|
__exportStar(require("./user.role.entity"), exports);
|
|
115
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,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
|
+
}
|
|
@@ -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.UserNotificationTypePreferenceEntity = 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 UserNotificationTypePreferenceEntity = class UserNotificationTypePreferenceEntity extends nestjs_utility_services_1.CommonEntity {
|
|
19
|
+
};
|
|
20
|
+
exports.UserNotificationTypePreferenceEntity = UserNotificationTypePreferenceEntity;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, typeorm_1.Column)(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], UserNotificationTypePreferenceEntity.prototype, "business_id", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.Column)(),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], UserNotificationTypePreferenceEntity.prototype, "user_id", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)(),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], UserNotificationTypePreferenceEntity.prototype, "notification_type_id", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)(),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], UserNotificationTypePreferenceEntity.prototype, "channel_id", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)(),
|
|
39
|
+
__metadata("design:type", Boolean)
|
|
40
|
+
], UserNotificationTypePreferenceEntity.prototype, "active", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)('jsonb'),
|
|
43
|
+
__metadata("design:type", business_notification_type_preference_attributes_dto_1.BusinessNotificationTypePreferenceAttributesDto)
|
|
44
|
+
], UserNotificationTypePreferenceEntity.prototype, "attributes", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.ManyToOne)(() => access_business_entity_1.AccessBusinessEntity),
|
|
47
|
+
(0, typeorm_1.JoinColumn)({ name: 'business_id' }),
|
|
48
|
+
__metadata("design:type", access_business_entity_1.AccessBusinessEntity)
|
|
49
|
+
], UserNotificationTypePreferenceEntity.prototype, "business", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, typeorm_1.ManyToOne)(() => nestjs_utility_services_1.UserEntity),
|
|
52
|
+
(0, typeorm_1.JoinColumn)({ name: 'user_id' }),
|
|
53
|
+
__metadata("design:type", nestjs_utility_services_1.UserEntity)
|
|
54
|
+
], UserNotificationTypePreferenceEntity.prototype, "user", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, typeorm_1.ManyToOne)(() => notification_type_entity_1.NotificationTypeEntity),
|
|
57
|
+
(0, typeorm_1.JoinColumn)({ name: 'notification_type_id' }),
|
|
58
|
+
__metadata("design:type", notification_type_entity_1.NotificationTypeEntity)
|
|
59
|
+
], UserNotificationTypePreferenceEntity.prototype, "notification_type", void 0);
|
|
60
|
+
exports.UserNotificationTypePreferenceEntity = UserNotificationTypePreferenceEntity = __decorate([
|
|
61
|
+
(0, typeorm_1.Entity)('bz_user_notification_type_preferences')
|
|
62
|
+
], UserNotificationTypePreferenceEntity);
|
|
63
|
+
//# sourceMappingURL=user.notification.type.preference.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.notification.type.preference.entity.js","sourceRoot":"","sources":["../../../src/access/entities/user.notification.type.preference.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAAkF;AAClF,qCAAgE;AAChE,uIAA+H;AAC/H,qEAAgE;AAChE,yEAAoE;AAW7D,IAAM,oCAAoC,GAA1C,MAAM,oCAAqC,SAAQ,sCAAY;CAwBrE,CAAA;AAxBY,oFAAoC;AAE7C;IADC,IAAA,gBAAM,GAAE;;yEACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;qEACO;AAGhB;IADC,IAAA,gBAAM,GAAE;;kFACoB;AAI7B;IADC,IAAA,gBAAM,GAAE;;wEACU;AAGnB;IADC,IAAA,gBAAM,GAAE;;oEACO;AAGhB;IADC,IAAA,gBAAM,EAAC,OAAO,CAAC;8BACJ,sGAA+C;wEAAC;AAGgB;IAA3E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6CAAoB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BAAW,6CAAoB;sEAAC;AAC7C;IAA7D,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oCAAU,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;8BAAO,oCAAU;kEAAC;AACQ;IAAtF,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,iDAAsB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,sBAAsB,EAAE,CAAC;8BAAoB,iDAAsB;+EAAC;+CAvBxH,oCAAoC;IADhD,IAAA,gBAAM,EAAC,uCAAuC,CAAC;GACnC,oCAAoC,CAwBhD"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BusinessEmailTypeEnum = void 0;
|
|
4
|
+
var BusinessEmailTypeEnum;
|
|
5
|
+
(function (BusinessEmailTypeEnum) {
|
|
6
|
+
BusinessEmailTypeEnum["EMITHOOK"] = "emithook";
|
|
7
|
+
})(BusinessEmailTypeEnum || (exports.BusinessEmailTypeEnum = BusinessEmailTypeEnum = {}));
|
|
8
|
+
//# sourceMappingURL=business.email.type.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"business.email.type.enum.js","sourceRoot":"","sources":["../../../src/access/enums/business.email.type.enum.ts"],"names":[],"mappings":";;;AACA,IAAY,qBAEX;AAFD,WAAY,qBAAqB;IAC7B,8CAAqB,CAAA;AACzB,CAAC,EAFW,qBAAqB,qCAArB,qBAAqB,QAEhC"}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
+
export * from './business.email.type.enum';
|
|
1
2
|
export * from './custom.column.type.enum';
|
|
2
3
|
export * from './listing.view.type.enum';
|
|
3
4
|
export * from './notification.channel.type.enum';
|
|
5
|
+
export * from './notification.suppression.reason.enum';
|
|
6
|
+
export * from './notification.type.audience.enum';
|
|
7
|
+
export * from './notification.type.control.enum';
|
|
4
8
|
export * from './notification.type.enum';
|
|
5
9
|
export * from './platform.type.enum';
|
|
6
10
|
export * from './product.type.enum';
|
|
@@ -14,9 +14,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./business.email.type.enum"), exports);
|
|
17
18
|
__exportStar(require("./custom.column.type.enum"), exports);
|
|
18
19
|
__exportStar(require("./listing.view.type.enum"), exports);
|
|
19
20
|
__exportStar(require("./notification.channel.type.enum"), exports);
|
|
21
|
+
__exportStar(require("./notification.suppression.reason.enum"), exports);
|
|
22
|
+
__exportStar(require("./notification.type.audience.enum"), exports);
|
|
23
|
+
__exportStar(require("./notification.type.control.enum"), exports);
|
|
20
24
|
__exportStar(require("./notification.type.enum"), exports);
|
|
21
25
|
__exportStar(require("./platform.type.enum"), exports);
|
|
22
26
|
__exportStar(require("./product.type.enum"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAGA,4DAA0C;AAC1C,2DAAyC;AACzC,mEAAiD;AACjD,2DAAyC;AACzC,uDAAqC;AACrC,sDAAoC;AACpC,0DAAwC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAGA,6DAA2C;AAC3C,4DAA0C;AAC1C,2DAAyC;AACzC,mEAAiD;AACjD,yEAAuD;AACvD,oEAAkD;AAClD,mEAAiD;AACjD,2DAAyC;AACzC,uDAAqC;AACrC,sDAAoC;AACpC,0DAAwC"}
|
|
@@ -8,5 +8,6 @@ var NotificationChannelTypeEnum;
|
|
|
8
8
|
NotificationChannelTypeEnum[NotificationChannelTypeEnum["WHATSAPP"] = 5002] = "WHATSAPP";
|
|
9
9
|
NotificationChannelTypeEnum[NotificationChannelTypeEnum["TEAMS"] = 5003] = "TEAMS";
|
|
10
10
|
NotificationChannelTypeEnum[NotificationChannelTypeEnum["GCHAT"] = 5004] = "GCHAT";
|
|
11
|
+
NotificationChannelTypeEnum[NotificationChannelTypeEnum["SMS"] = 5005] = "SMS";
|
|
11
12
|
})(NotificationChannelTypeEnum || (exports.NotificationChannelTypeEnum = NotificationChannelTypeEnum = {}));
|
|
12
13
|
//# sourceMappingURL=notification.channel.type.enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification.channel.type.enum.js","sourceRoot":"","sources":["../../../src/access/enums/notification.channel.type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"notification.channel.type.enum.js","sourceRoot":"","sources":["../../../src/access/enums/notification.channel.type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,2BAOX;AAPD,WAAY,2BAA2B;IACnC,kFAAY,CAAA;IACZ,kFAAY,CAAA;IACZ,wFAAe,CAAA;IACf,kFAAY,CAAA;IACZ,kFAAY,CAAA;IACZ,8EAAU,CAAA;AACd,CAAC,EAPW,2BAA2B,2CAA3B,2BAA2B,QAOtC"}
|