@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,10 @@
|
|
|
1
|
+
import { SetNotificationTypePreferenceDto } from '../dtos/set.notification.type.preference.dto';
|
|
2
|
+
import { AccessBusinessService } from '../services/access.business.service';
|
|
3
|
+
import { NotificationTypePreferenceService } from '../services/notification.type.preference.service';
|
|
4
|
+
export declare class UserNotificationTypePreferenceController {
|
|
5
|
+
private readonly accessBusinessService;
|
|
6
|
+
private readonly notificationTypePreferenceService;
|
|
7
|
+
constructor(accessBusinessService: AccessBusinessService, notificationTypePreferenceService: NotificationTypePreferenceService);
|
|
8
|
+
list(): Promise<import("..").UserNotificationTypePreferenceRowInterface[]>;
|
|
9
|
+
set(body: SetNotificationTypePreferenceDto): Promise<import("..").UserNotificationTypePreferenceRowInterface>;
|
|
10
|
+
}
|
|
@@ -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
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.UserNotificationTypePreferenceController = void 0;
|
|
16
|
+
const common_1 = require("@nestjs/common");
|
|
17
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
18
|
+
const set_notification_type_preference_dto_1 = require("../dtos/set.notification.type.preference.dto");
|
|
19
|
+
const access_business_service_1 = require("../services/access.business.service");
|
|
20
|
+
const notification_type_preference_service_1 = require("../services/notification.type.preference.service");
|
|
21
|
+
let UserNotificationTypePreferenceController = class UserNotificationTypePreferenceController {
|
|
22
|
+
constructor(accessBusinessService, notificationTypePreferenceService) {
|
|
23
|
+
this.accessBusinessService = accessBusinessService;
|
|
24
|
+
this.notificationTypePreferenceService = notificationTypePreferenceService;
|
|
25
|
+
}
|
|
26
|
+
async list() {
|
|
27
|
+
const business = await this.accessBusinessService.validateAccess();
|
|
28
|
+
return this.notificationTypePreferenceService.listForUser(business, nestjs_utility_services_1.Auth.user().id);
|
|
29
|
+
}
|
|
30
|
+
async set(body) {
|
|
31
|
+
const business = await this.accessBusinessService.validateAccess();
|
|
32
|
+
return this.notificationTypePreferenceService.setForUser(business, nestjs_utility_services_1.Auth.user().id, body);
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
exports.UserNotificationTypePreferenceController = UserNotificationTypePreferenceController;
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, common_1.Get)(),
|
|
38
|
+
__metadata("design:type", Function),
|
|
39
|
+
__metadata("design:paramtypes", []),
|
|
40
|
+
__metadata("design:returntype", Promise)
|
|
41
|
+
], UserNotificationTypePreferenceController.prototype, "list", null);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, common_1.Post)(),
|
|
44
|
+
__param(0, (0, common_1.Body)()),
|
|
45
|
+
__metadata("design:type", Function),
|
|
46
|
+
__metadata("design:paramtypes", [set_notification_type_preference_dto_1.SetNotificationTypePreferenceDto]),
|
|
47
|
+
__metadata("design:returntype", Promise)
|
|
48
|
+
], UserNotificationTypePreferenceController.prototype, "set", null);
|
|
49
|
+
exports.UserNotificationTypePreferenceController = UserNotificationTypePreferenceController = __decorate([
|
|
50
|
+
(0, common_1.Controller)('api/b/my-notification-type-preferences'),
|
|
51
|
+
__metadata("design:paramtypes", [access_business_service_1.AccessBusinessService,
|
|
52
|
+
notification_type_preference_service_1.NotificationTypePreferenceService])
|
|
53
|
+
], UserNotificationTypePreferenceController);
|
|
54
|
+
//# sourceMappingURL=user.notification.type.preference.controller.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.notification.type.preference.controller.js","sourceRoot":"","sources":["../../../src/access/controllers/user.notification.type.preference.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAA6D;AAC7D,oFAA8D;AAC9D,uGAAgG;AAChG,iFAA4E;AAC5E,2GAAqG;AAO9F,IAAM,wCAAwC,GAA9C,MAAM,wCAAwC;IACjD,YACqB,qBAA4C,EAC5C,iCAAoE;QADpE,0BAAqB,GAArB,qBAAqB,CAAuB;QAC5C,sCAAiC,GAAjC,iCAAiC,CAAmC;IACtF,CAAC;IAME,AAAN,KAAK,CAAC,IAAI;QACN,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,cAAc,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,iCAAiC,CAAC,WAAW,CAAC,QAAQ,EAAE,8BAAI,CAAC,IAAI,EAAE,CAAC,EAAE,CAAC,CAAC;IACxF,CAAC;IAOK,AAAN,KAAK,CAAC,GAAG,CAAS,IAAsC;QACpD,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,cAAc,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,iCAAiC,CAAC,UAAU,CAAC,QAAQ,EAAE,8BAAI,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC;IAC7F,CAAC;CACJ,CAAA;AAxBY,4FAAwC;AAU3C;IADL,IAAA,YAAG,GAAE;;;;oEAIL;AAOK;IADL,IAAA,aAAI,GAAE;IACI,WAAA,IAAA,aAAI,GAAE,CAAA;;qCAAO,uEAAgC;;mEAGvD;mDAvBQ,wCAAwC;IADpD,IAAA,mBAAU,EAAC,wCAAwC,CAAC;qCAGL,+CAAqB;QACT,wEAAiC;GAHhF,wCAAwC,CAwBpD"}
|
|
@@ -0,0 +1,49 @@
|
|
|
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.AddAliasMappingDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class AddAliasMappingDto {
|
|
16
|
+
}
|
|
17
|
+
exports.AddAliasMappingDto = AddAliasMappingDto;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_transformer_1.Expose)(),
|
|
20
|
+
(0, class_validator_1.IsString)(),
|
|
21
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], AddAliasMappingDto.prototype, "source_type", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_transformer_1.Expose)(),
|
|
26
|
+
(0, class_validator_1.IsNumber)(),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], AddAliasMappingDto.prototype, "source_id", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_transformer_1.Expose)(),
|
|
31
|
+
(0, class_validator_1.IsString)(),
|
|
32
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
33
|
+
(0, class_validator_1.MaxLength)(255),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], AddAliasMappingDto.prototype, "name", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_transformer_1.Expose)(),
|
|
38
|
+
(0, class_validator_1.IsString)(),
|
|
39
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
40
|
+
(0, class_validator_1.MaxLength)(64),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], AddAliasMappingDto.prototype, "type", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, class_transformer_1.Expose)(),
|
|
45
|
+
(0, class_validator_1.IsOptional)(),
|
|
46
|
+
(0, class_validator_1.IsObject)(),
|
|
47
|
+
__metadata("design:type", Object)
|
|
48
|
+
], AddAliasMappingDto.prototype, "attributes", void 0);
|
|
49
|
+
//# sourceMappingURL=add.alias.mapping.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add.alias.mapping.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/add.alias.mapping.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,qDAAkG;AAGlG,MAAa,kBAAkB;CA+B9B;AA/BD,gDA+BC;AA1BG;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACO;AAKpB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;;qDACO;AAOlB;IAJC,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,GAAG,CAAC;;gDACF;AAOb;IAJC,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,EAAE,CAAC;;gDACD;AAMb;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;sDACsB"}
|
|
@@ -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.AddBusinessEmailDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class AddBusinessEmailDto {
|
|
16
|
+
}
|
|
17
|
+
exports.AddBusinessEmailDto = AddBusinessEmailDto;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_transformer_1.Expose)(),
|
|
20
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
21
|
+
(0, class_validator_1.IsString)(),
|
|
22
|
+
(0, class_validator_1.MaxLength)(64),
|
|
23
|
+
(0, class_validator_1.Matches)(/^[a-z0-9](?:[a-z0-9._+-]*[a-z0-9])?$/, {
|
|
24
|
+
message: 'Use lower-case letters, digits, ".", "_", "+" or "-", starting and ending with a letter or digit',
|
|
25
|
+
}),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], AddBusinessEmailDto.prototype, "local_part", 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
|
+
], AddBusinessEmailDto.prototype, "name", void 0);
|
|
34
|
+
//# sourceMappingURL=add.business.email.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add.business.email.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/add.business.email.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,qDAAuF;AASvF,MAAa,mBAAmB;CAgB/B;AAhBD,kDAgBC;AAPG;IAPC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,EAAE,CAAC;IACb,IAAA,yBAAO,EAAC,sCAAsC,EAAE;QAC7C,OAAO,EAAE,kGAAkG;KAC9G,CAAC;;uDACiB;AAMnB;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iDACG"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { IdPayloadDto } from '../../accessUtility/dtos/id.payload.dto';
|
|
2
2
|
import { BusinessPropertyAttributesDto } from './business.property.attributes.dto';
|
|
3
3
|
export declare class AddBusinessPropertyDto extends IdPayloadDto {
|
|
4
|
+
business_id?: number;
|
|
4
5
|
name: string;
|
|
5
6
|
identifier: string;
|
|
6
7
|
description: string;
|
|
@@ -17,6 +17,14 @@ const business_property_attributes_dto_1 = require("./business.property.attribut
|
|
|
17
17
|
class AddBusinessPropertyDto extends id_payload_dto_1.IdPayloadDto {
|
|
18
18
|
}
|
|
19
19
|
exports.AddBusinessPropertyDto = AddBusinessPropertyDto;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, class_transformer_1.Expose)(),
|
|
22
|
+
(0, class_validator_1.IsOptional)(),
|
|
23
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
24
|
+
(0, class_validator_1.IsNumber)(),
|
|
25
|
+
(0, class_validator_1.IsPositive)(),
|
|
26
|
+
__metadata("design:type", Number)
|
|
27
|
+
], AddBusinessPropertyDto.prototype, "business_id", void 0);
|
|
20
28
|
__decorate([
|
|
21
29
|
(0, class_transformer_1.Expose)(),
|
|
22
30
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add.business.property.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/add.business.property.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"add.business.property.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/add.business.property.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,qDAA8G;AAC9G,4EAAuE;AACvE,yFAAmF;AAEnF,MAAa,sBAAuB,SAAQ,6BAAY;CAkDvD;AAlDD,wDAkDC;AA3CG;IALC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IAClB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACQ;AAMrB;IAJC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oDACA;AAMb;IAJC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACM;AAMnB;IAJC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACO;AAMpB;IAJC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACC;AAMd;IAJC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;4DACS;AAMtB;IAJC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8DACU;AAMvB;IAJC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;8BACD,gEAA6B;0DAAC"}
|
|
@@ -22,4 +22,10 @@ __decorate([
|
|
|
22
22
|
(0, class_transformer_1.Expose)(),
|
|
23
23
|
__metadata("design:type", Number)
|
|
24
24
|
], BusinessEmailAttributesDto.prototype, "unread_count", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.IsString)(),
|
|
27
|
+
(0, class_validator_1.IsOptional)(),
|
|
28
|
+
(0, class_transformer_1.Expose)(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], BusinessEmailAttributesDto.prototype, "type", void 0);
|
|
25
31
|
//# sourceMappingURL=business.email.attributes.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"business.email.attributes.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/business.email.attributes.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAA6E;AAC7E,yDAA2C;AAC3C,
|
|
1
|
+
{"version":3,"file":"business.email.attributes.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/business.email.attributes.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAA6E;AAC7E,yDAA2C;AAC3C,qDAAiE;AACjE,MAAa,0BAA2B,SAAQ,6CAAmB;CAWlE;AAXD,gEAWC;AAPG;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;gEACa;AAMtB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;wDACK"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BusinessNotificationTypePreferenceAttributesDto = void 0;
|
|
4
|
+
class BusinessNotificationTypePreferenceAttributesDto {
|
|
5
|
+
}
|
|
6
|
+
exports.BusinessNotificationTypePreferenceAttributesDto = BusinessNotificationTypePreferenceAttributesDto;
|
|
7
|
+
//# sourceMappingURL=business.notification.type.preference.attributes.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"business.notification.type.preference.attributes.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/business.notification.type.preference.attributes.dto.ts"],"names":[],"mappings":";;;AAOA,MAAa,+CAA+C;CAG3D;AAHD,0GAGC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.BusinessPropertyIdentifierParamDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class BusinessPropertyIdentifierParamDto {
|
|
16
|
+
}
|
|
17
|
+
exports.BusinessPropertyIdentifierParamDto = BusinessPropertyIdentifierParamDto;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
(0, class_validator_1.Length)(1, 255),
|
|
21
|
+
(0, class_validator_1.Matches)(/^[a-zA-Z0-9][a-zA-Z0-9._-]*$/, { message: 'identifier may only contain letters, digits, dots, dashes and underscores' }),
|
|
22
|
+
(0, class_transformer_1.Expose)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], BusinessPropertyIdentifierParamDto.prototype, "identifier", void 0);
|
|
25
|
+
//# sourceMappingURL=business.property.identifier.param.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"business.property.identifier.param.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/business.property.identifier.param.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,qDAA4D;AAG5D,MAAa,kCAAkC;CAM9C;AAND,gFAMC;AADG;IAJC,IAAA,0BAAQ,GAAE;IACV,IAAA,wBAAM,EAAC,CAAC,EAAE,GAAG,CAAC;IACd,IAAA,yBAAO,EAAC,8BAA8B,EAAE,EAAE,OAAO,EAAE,2EAA2E,EAAE,CAAC;IACjI,IAAA,0BAAM,GAAE;;sEACU"}
|
|
@@ -1,8 +1,48 @@
|
|
|
1
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
|
+
};
|
|
2
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
12
|
exports.BusinessPropertyListFilterDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
4
15
|
const common_list_filter_dto_1 = require("./common.list.filter.dto");
|
|
5
16
|
class BusinessPropertyListFilterDto extends common_list_filter_dto_1.CommonListFilterDto {
|
|
6
17
|
}
|
|
7
18
|
exports.BusinessPropertyListFilterDto = BusinessPropertyListFilterDto;
|
|
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
|
+
], BusinessPropertyListFilterDto.prototype, "business_id", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsOptional)(),
|
|
29
|
+
(0, class_validator_1.IsString)(),
|
|
30
|
+
(0, class_validator_1.Length)(1, 255),
|
|
31
|
+
(0, class_transformer_1.Expose)(),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], BusinessPropertyListFilterDto.prototype, "identifier", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, class_validator_1.IsOptional)(),
|
|
36
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
37
|
+
(0, class_validator_1.IsNumber)(),
|
|
38
|
+
(0, class_validator_1.IsPositive)(),
|
|
39
|
+
(0, class_transformer_1.Expose)(),
|
|
40
|
+
__metadata("design:type", Number)
|
|
41
|
+
], BusinessPropertyListFilterDto.prototype, "column_type_id", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_validator_1.IsOptional)(),
|
|
44
|
+
(0, class_validator_1.IsBoolean)(),
|
|
45
|
+
(0, class_transformer_1.Expose)(),
|
|
46
|
+
__metadata("design:type", Boolean)
|
|
47
|
+
], BusinessPropertyListFilterDto.prototype, "is_encrypted", void 0);
|
|
8
48
|
//# sourceMappingURL=business.property.list.filter.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"business.property.list.filter.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/business.property.list.filter.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"business.property.list.filter.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/business.property.list.filter.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,qDAAgG;AAChG,qEAA+D;AAM/D,MAAa,6BAA8B,SAAQ,4CAAmB;CA6BrE;AA7BD,sEA6BC;AAtBG;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;;kEACY;AAOrB;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,wBAAM,EAAC,CAAC,EAAE,GAAG,CAAC;IACd,IAAA,0BAAM,GAAE;;iEACW;AAQpB;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;;qEACe;AAMxB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,0BAAM,GAAE;;mEACc"}
|
|
@@ -0,0 +1,26 @@
|
|
|
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.BusinessPropertyScopeDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class BusinessPropertyScopeDto {
|
|
16
|
+
}
|
|
17
|
+
exports.BusinessPropertyScopeDto = BusinessPropertyScopeDto;
|
|
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
|
+
], BusinessPropertyScopeDto.prototype, "business_id", void 0);
|
|
26
|
+
//# sourceMappingURL=business.property.scope.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"business.property.scope.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/business.property.scope.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,qDAAmE;AAGnE,MAAa,wBAAwB;CAOpC;AAPD,4DAOC;AADG;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;;6DACY"}
|
|
@@ -0,0 +1,14 @@
|
|
|
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 CreateNotificationTypeDto {
|
|
5
|
+
identifier: string;
|
|
6
|
+
name: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
category?: string;
|
|
9
|
+
audience?: NotificationTypeAudienceEnum;
|
|
10
|
+
control?: NotificationTypeControlEnum;
|
|
11
|
+
channels?: number[];
|
|
12
|
+
sources?: NotificationTypeSourcesInterface;
|
|
13
|
+
active?: boolean;
|
|
14
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
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.CreateNotificationTypeDto = 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 CreateNotificationTypeDto {
|
|
19
|
+
}
|
|
20
|
+
exports.CreateNotificationTypeDto = CreateNotificationTypeDto;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_transformer_1.Expose)(),
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
25
|
+
(0, class_validator_1.MaxLength)(128),
|
|
26
|
+
(0, class_validator_1.Matches)(/^[a-z][a-z0-9-]*$/, { message: 'Use lower-case letters, digits and hyphens, starting with a letter' }),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], CreateNotificationTypeDto.prototype, "identifier", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_transformer_1.Expose)(),
|
|
31
|
+
(0, class_validator_1.IsString)(),
|
|
32
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], CreateNotificationTypeDto.prototype, "name", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, class_transformer_1.Expose)(),
|
|
37
|
+
(0, class_validator_1.IsOptional)(),
|
|
38
|
+
(0, class_validator_1.IsString)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], CreateNotificationTypeDto.prototype, "description", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_transformer_1.Expose)(),
|
|
43
|
+
(0, class_validator_1.IsOptional)(),
|
|
44
|
+
(0, class_validator_1.IsString)(),
|
|
45
|
+
(0, class_validator_1.MaxLength)(64),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], CreateNotificationTypeDto.prototype, "category", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, class_transformer_1.Expose)(),
|
|
50
|
+
(0, class_validator_1.IsOptional)(),
|
|
51
|
+
(0, class_validator_1.IsEnum)(notification_type_audience_enum_1.NotificationTypeAudienceEnum),
|
|
52
|
+
__metadata("design:type", String)
|
|
53
|
+
], CreateNotificationTypeDto.prototype, "audience", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, class_transformer_1.Expose)(),
|
|
56
|
+
(0, class_validator_1.IsOptional)(),
|
|
57
|
+
(0, class_validator_1.IsEnum)(notification_type_control_enum_1.NotificationTypeControlEnum),
|
|
58
|
+
__metadata("design:type", String)
|
|
59
|
+
], CreateNotificationTypeDto.prototype, "control", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, class_transformer_1.Expose)(),
|
|
62
|
+
(0, class_validator_1.IsOptional)(),
|
|
63
|
+
(0, class_validator_1.IsArray)(),
|
|
64
|
+
(0, class_validator_1.IsIn)(Object.values(notification_channel_type_enum_1.NotificationChannelTypeEnum).filter((v) => typeof v === 'number'), { each: true }),
|
|
65
|
+
__metadata("design:type", Array)
|
|
66
|
+
], CreateNotificationTypeDto.prototype, "channels", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
(0, class_transformer_1.Expose)(),
|
|
69
|
+
(0, class_validator_1.IsOptional)(),
|
|
70
|
+
(0, class_validator_1.IsObject)(),
|
|
71
|
+
__metadata("design:type", Object)
|
|
72
|
+
], CreateNotificationTypeDto.prototype, "sources", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, class_transformer_1.Expose)(),
|
|
75
|
+
(0, class_validator_1.IsOptional)(),
|
|
76
|
+
(0, class_validator_1.IsBoolean)(),
|
|
77
|
+
__metadata("design:type", Boolean)
|
|
78
|
+
], CreateNotificationTypeDto.prototype, "active", void 0);
|
|
79
|
+
//# sourceMappingURL=create.notification.type.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.notification.type.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/create.notification.type.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,qDAAmI;AACnI,4FAAsF;AACtF,8FAAwF;AACxF,4FAAsF;AAStF,MAAa,yBAAyB;CAuDrC;AAvDD,8DAuDC;AAhDG;IALC,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,GAAG,CAAC;IACd,IAAA,yBAAO,EAAC,mBAAmB,EAAE,EAAE,OAAO,EAAE,oEAAoE,EAAE,CAAC;;6DAC7F;AAMnB;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACA;AAMb;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;AAOtC;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;AAMpB;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"}
|
|
@@ -18,4 +18,9 @@ export declare class EmailNotificationPayloadDto {
|
|
|
18
18
|
cc?: string | string[];
|
|
19
19
|
bcc?: string | string[];
|
|
20
20
|
metadata?: any;
|
|
21
|
+
recipient_user_id?: number;
|
|
22
|
+
notification_identifier?: string;
|
|
23
|
+
notification_type?: string;
|
|
24
|
+
template_data?: Record<string, any>;
|
|
25
|
+
template_variant?: string;
|
|
21
26
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email.notification.payload.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/email.notification.payload.dto.ts"],"names":[],"mappings":";;;AAQA,MAAa,2BAA2B;
|
|
1
|
+
{"version":3,"file":"email.notification.payload.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/email.notification.payload.dto.ts"],"names":[],"mappings":";;;AAQA,MAAa,2BAA2B;CAmEvC;AAnED,kEAmEC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export type EmithookBodyEncoding = 'json' | 'form' | 'text' | 'base64';
|
|
2
|
+
export type EmithookVerificationStatus = 'verified' | 'failed' | 'unverified';
|
|
3
|
+
export declare class EmithookEnvelopeMetadataDto {
|
|
4
|
+
event_id: string;
|
|
5
|
+
identifier: string | null;
|
|
6
|
+
name: string | null;
|
|
7
|
+
source: string;
|
|
8
|
+
url: string | null;
|
|
9
|
+
method: string | null;
|
|
10
|
+
path: string | null;
|
|
11
|
+
content_type: string | null;
|
|
12
|
+
body_encoding: EmithookBodyEncoding;
|
|
13
|
+
size: number;
|
|
14
|
+
source_ip: string | null;
|
|
15
|
+
verification: {
|
|
16
|
+
status: EmithookVerificationStatus;
|
|
17
|
+
scheme: string;
|
|
18
|
+
};
|
|
19
|
+
transformed: boolean;
|
|
20
|
+
captured_at: string;
|
|
21
|
+
posted_at: string;
|
|
22
|
+
expanded_json_paths: string[];
|
|
23
|
+
}
|
|
24
|
+
export declare class EmithookEnvelopeDataDto<TBody = unknown> {
|
|
25
|
+
body: TBody;
|
|
26
|
+
headers: Record<string, string>;
|
|
27
|
+
queries: Record<string, string>;
|
|
28
|
+
}
|
|
29
|
+
export declare class EmithookEnvelopeOriginalDto {
|
|
30
|
+
body: unknown;
|
|
31
|
+
body_encoding: EmithookBodyEncoding;
|
|
32
|
+
}
|
|
33
|
+
export declare class EmithookEnvelopeDto<TBody = unknown> {
|
|
34
|
+
version: 2;
|
|
35
|
+
metadata: EmithookEnvelopeMetadataDto;
|
|
36
|
+
data: EmithookEnvelopeDataDto<TBody>;
|
|
37
|
+
original?: EmithookEnvelopeOriginalDto;
|
|
38
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EmithookEnvelopeDto = exports.EmithookEnvelopeOriginalDto = exports.EmithookEnvelopeDataDto = exports.EmithookEnvelopeMetadataDto = void 0;
|
|
4
|
+
class EmithookEnvelopeMetadataDto {
|
|
5
|
+
}
|
|
6
|
+
exports.EmithookEnvelopeMetadataDto = EmithookEnvelopeMetadataDto;
|
|
7
|
+
class EmithookEnvelopeDataDto {
|
|
8
|
+
}
|
|
9
|
+
exports.EmithookEnvelopeDataDto = EmithookEnvelopeDataDto;
|
|
10
|
+
class EmithookEnvelopeOriginalDto {
|
|
11
|
+
}
|
|
12
|
+
exports.EmithookEnvelopeOriginalDto = EmithookEnvelopeOriginalDto;
|
|
13
|
+
class EmithookEnvelopeDto {
|
|
14
|
+
}
|
|
15
|
+
exports.EmithookEnvelopeDto = EmithookEnvelopeDto;
|
|
16
|
+
//# sourceMappingURL=emithook.envelope.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emithook.envelope.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/emithook.envelope.dto.ts"],"names":[],"mappings":";;;AAYA,MAAa,2BAA2B;CA6CvC;AA7CD,kEA6CC;AAUD,MAAa,uBAAuB;CAQnC;AARD,0DAQC;AAKD,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAOD,MAAa,mBAAmB;CAS/B;AATD,kDASC"}
|