@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.
Files changed (419) hide show
  1. package/AGENTS.md +41 -4
  2. package/CLAUDE.md +12 -4
  3. package/dist/access/commands/index.d.ts +1 -0
  4. package/dist/access/commands/index.js +1 -0
  5. package/dist/access/commands/index.js.map +1 -1
  6. package/dist/access/commands/mail.log.backfill.business.command.d.ts +6 -0
  7. package/dist/access/commands/mail.log.backfill.business.command.js +65 -0
  8. package/dist/access/commands/mail.log.backfill.business.command.js.map +1 -0
  9. package/dist/access/controllers/alias.mapping.controller.d.ts +16 -0
  10. package/dist/access/controllers/alias.mapping.controller.js +93 -0
  11. package/dist/access/controllers/alias.mapping.controller.js.map +1 -0
  12. package/dist/access/controllers/bulk.upload.controller.d.ts +1 -1
  13. package/dist/access/controllers/bulk.upload.controller.js +1 -1
  14. package/dist/access/controllers/bulk.upload.controller.js.map +1 -1
  15. package/dist/access/controllers/business.email.alias.controller.d.ts +9 -0
  16. package/dist/access/controllers/business.email.alias.controller.js +43 -0
  17. package/dist/access/controllers/business.email.alias.controller.js.map +1 -0
  18. package/dist/access/controllers/business.email.controller.d.ts +2 -1
  19. package/dist/access/controllers/business.email.controller.js +6 -3
  20. package/dist/access/controllers/business.email.controller.js.map +1 -1
  21. package/dist/access/controllers/business.property.controller.d.ts +12 -4
  22. package/dist/access/controllers/business.property.controller.js +74 -7
  23. package/dist/access/controllers/business.property.controller.js.map +1 -1
  24. package/dist/access/controllers/developer.menu.controller.js.map +1 -1
  25. package/dist/access/controllers/developer.notification.type.controller.d.ts +16 -0
  26. package/dist/access/controllers/developer.notification.type.controller.js +91 -0
  27. package/dist/access/controllers/developer.notification.type.controller.js.map +1 -0
  28. package/dist/access/controllers/emithook.controller.d.ts +14 -0
  29. package/dist/access/controllers/emithook.controller.js +56 -0
  30. package/dist/access/controllers/emithook.controller.js.map +1 -0
  31. package/dist/access/controllers/index.d.ts +7 -0
  32. package/dist/access/controllers/index.js +7 -0
  33. package/dist/access/controllers/index.js.map +1 -1
  34. package/dist/access/controllers/mail.log.controller.d.ts +20 -0
  35. package/dist/access/controllers/mail.log.controller.js +76 -0
  36. package/dist/access/controllers/mail.log.controller.js.map +1 -0
  37. package/dist/access/controllers/notification.type.preference.controller.d.ts +12 -0
  38. package/dist/access/controllers/notification.type.preference.controller.js +59 -0
  39. package/dist/access/controllers/notification.type.preference.controller.js.map +1 -0
  40. package/dist/access/controllers/user.notification.type.preference.controller.d.ts +10 -0
  41. package/dist/access/controllers/user.notification.type.preference.controller.js +54 -0
  42. package/dist/access/controllers/user.notification.type.preference.controller.js.map +1 -0
  43. package/dist/access/dtos/add.alias.mapping.dto.d.ts +7 -0
  44. package/dist/access/dtos/add.alias.mapping.dto.js +49 -0
  45. package/dist/access/dtos/add.alias.mapping.dto.js.map +1 -0
  46. package/dist/access/dtos/add.business.email.dto.d.ts +4 -0
  47. package/dist/access/dtos/add.business.email.dto.js +34 -0
  48. package/dist/access/dtos/add.business.email.dto.js.map +1 -0
  49. package/dist/access/dtos/add.business.property.dto.d.ts +1 -0
  50. package/dist/access/dtos/add.business.property.dto.js +8 -0
  51. package/dist/access/dtos/add.business.property.dto.js.map +1 -1
  52. package/dist/access/dtos/business.email.attributes.dto.d.ts +1 -0
  53. package/dist/access/dtos/business.email.attributes.dto.js +6 -0
  54. package/dist/access/dtos/business.email.attributes.dto.js.map +1 -1
  55. package/dist/access/dtos/business.notification.type.preference.attributes.dto.d.ts +3 -0
  56. package/dist/access/dtos/business.notification.type.preference.attributes.dto.js +7 -0
  57. package/dist/access/dtos/business.notification.type.preference.attributes.dto.js.map +1 -0
  58. package/dist/access/dtos/business.property.identifier.param.dto.d.ts +3 -0
  59. package/dist/access/dtos/business.property.identifier.param.dto.js +25 -0
  60. package/dist/access/dtos/business.property.identifier.param.dto.js.map +1 -0
  61. package/dist/access/dtos/business.property.list.filter.dto.d.ts +4 -0
  62. package/dist/access/dtos/business.property.list.filter.dto.js +40 -0
  63. package/dist/access/dtos/business.property.list.filter.dto.js.map +1 -1
  64. package/dist/access/dtos/business.property.scope.dto.d.ts +3 -0
  65. package/dist/access/dtos/business.property.scope.dto.js +26 -0
  66. package/dist/access/dtos/business.property.scope.dto.js.map +1 -0
  67. package/dist/access/dtos/create.notification.type.dto.d.ts +14 -0
  68. package/dist/access/dtos/create.notification.type.dto.js +79 -0
  69. package/dist/access/dtos/create.notification.type.dto.js.map +1 -0
  70. package/dist/access/dtos/email.notification.payload.dto.d.ts +5 -0
  71. package/dist/access/dtos/email.notification.payload.dto.js.map +1 -1
  72. package/dist/access/dtos/emithook.envelope.dto.d.ts +38 -0
  73. package/dist/access/dtos/emithook.envelope.dto.js +16 -0
  74. package/dist/access/dtos/emithook.envelope.dto.js.map +1 -0
  75. package/dist/access/dtos/index.d.ts +15 -0
  76. package/dist/access/dtos/index.js +15 -0
  77. package/dist/access/dtos/index.js.map +1 -1
  78. package/dist/access/dtos/mail.log.content.query.dto.d.ts +4 -0
  79. package/dist/access/dtos/mail.log.content.query.dto.js +25 -0
  80. package/dist/access/dtos/mail.log.content.query.dto.js.map +1 -0
  81. package/dist/access/dtos/mail.log.list.filter.dto.d.ts +11 -0
  82. package/dist/access/dtos/mail.log.list.filter.dto.js +75 -0
  83. package/dist/access/dtos/mail.log.list.filter.dto.js.map +1 -0
  84. package/dist/access/dtos/notification.type.list.filter.dto.d.ts +7 -0
  85. package/dist/access/dtos/notification.type.list.filter.dto.js +45 -0
  86. package/dist/access/dtos/notification.type.list.filter.dto.js.map +1 -0
  87. package/dist/access/dtos/search.alias.mapping.dto.d.ts +7 -0
  88. package/dist/access/dtos/search.alias.mapping.dto.js +51 -0
  89. package/dist/access/dtos/search.alias.mapping.dto.js.map +1 -0
  90. package/dist/access/dtos/set.business.email.alias.dto.d.ts +3 -0
  91. package/dist/access/dtos/set.business.email.alias.dto.js +27 -0
  92. package/dist/access/dtos/set.business.email.alias.dto.js.map +1 -0
  93. package/dist/access/dtos/set.business.property.dto.d.ts +10 -0
  94. package/dist/access/dtos/set.business.property.dto.js +64 -0
  95. package/dist/access/dtos/set.business.property.dto.js.map +1 -0
  96. package/dist/access/dtos/set.notification.type.preference.dto.d.ts +5 -0
  97. package/dist/access/dtos/set.notification.type.preference.dto.js +34 -0
  98. package/dist/access/dtos/set.notification.type.preference.dto.js.map +1 -0
  99. package/dist/access/dtos/update.notification.type.dto.d.ts +13 -0
  100. package/dist/access/dtos/update.notification.type.dto.js +72 -0
  101. package/dist/access/dtos/update.notification.type.dto.js.map +1 -0
  102. package/dist/access/entities/access.mail.log.entity.d.ts +6 -0
  103. package/dist/access/entities/access.mail.log.entity.js +31 -0
  104. package/dist/access/entities/access.mail.log.entity.js.map +1 -0
  105. package/dist/access/entities/alias.mapping.entity.d.ts +11 -0
  106. package/dist/access/entities/alias.mapping.entity.js +51 -0
  107. package/dist/access/entities/alias.mapping.entity.js.map +1 -0
  108. package/dist/access/entities/business.email.entity.d.ts +1 -0
  109. package/dist/access/entities/business.email.entity.js +4 -0
  110. package/dist/access/entities/business.email.entity.js.map +1 -1
  111. package/dist/access/entities/business.notification.type.preference.entity.d.ts +13 -0
  112. package/dist/access/entities/business.notification.type.preference.entity.js +54 -0
  113. package/dist/access/entities/business.notification.type.preference.entity.js.map +1 -0
  114. package/dist/access/entities/index.d.ts +5 -0
  115. package/dist/access/entities/index.js +5 -0
  116. package/dist/access/entities/index.js.map +1 -1
  117. package/dist/access/entities/notification.type.entity.d.ts +16 -0
  118. package/dist/access/entities/notification.type.entity.js +63 -0
  119. package/dist/access/entities/notification.type.entity.js.map +1 -0
  120. package/dist/access/entities/user.notification.type.preference.entity.d.ts +15 -0
  121. package/dist/access/entities/user.notification.type.preference.entity.js +63 -0
  122. package/dist/access/entities/user.notification.type.preference.entity.js.map +1 -0
  123. package/dist/access/enums/business.email.type.enum.d.ts +3 -0
  124. package/dist/access/enums/business.email.type.enum.js +8 -0
  125. package/dist/access/enums/business.email.type.enum.js.map +1 -0
  126. package/dist/access/enums/index.d.ts +4 -0
  127. package/dist/access/enums/index.js +4 -0
  128. package/dist/access/enums/index.js.map +1 -1
  129. package/dist/access/enums/notification.channel.type.enum.d.ts +2 -1
  130. package/dist/access/enums/notification.channel.type.enum.js +1 -0
  131. package/dist/access/enums/notification.channel.type.enum.js.map +1 -1
  132. package/dist/access/enums/notification.suppression.reason.enum.d.ts +6 -0
  133. package/dist/access/enums/notification.suppression.reason.enum.js +11 -0
  134. package/dist/access/enums/notification.suppression.reason.enum.js.map +1 -0
  135. package/dist/access/enums/notification.type.audience.enum.d.ts +5 -0
  136. package/dist/access/enums/notification.type.audience.enum.js +10 -0
  137. package/dist/access/enums/notification.type.audience.enum.js.map +1 -0
  138. package/dist/access/enums/notification.type.control.enum.d.ts +4 -0
  139. package/dist/access/enums/notification.type.control.enum.js +9 -0
  140. package/dist/access/enums/notification.type.control.enum.js.map +1 -0
  141. package/dist/access/es6.classes.d.ts +61 -14
  142. package/dist/access/es6.classes.js +127 -1
  143. package/dist/access/es6.classes.js.map +1 -1
  144. package/dist/access/index.d.ts +1 -0
  145. package/dist/access/index.js +1 -0
  146. package/dist/access/index.js.map +1 -1
  147. package/dist/access/interfaces/alias.lookup.options.interface.d.ts +4 -0
  148. package/dist/access/interfaces/alias.lookup.options.interface.js +3 -0
  149. package/dist/access/interfaces/alias.lookup.options.interface.js.map +1 -0
  150. package/dist/access/interfaces/alias.mapping.input.interface.d.ts +7 -0
  151. package/dist/access/interfaces/alias.mapping.input.interface.js +3 -0
  152. package/dist/access/interfaces/alias.mapping.input.interface.js.map +1 -0
  153. package/dist/access/interfaces/alias.search.match.interface.d.ts +8 -0
  154. package/dist/access/interfaces/alias.search.match.interface.js +3 -0
  155. package/dist/access/interfaces/alias.search.match.interface.js.map +1 -0
  156. package/dist/access/interfaces/alias.search.query.interface.d.ts +7 -0
  157. package/dist/access/interfaces/alias.search.query.interface.js +3 -0
  158. package/dist/access/interfaces/alias.search.query.interface.js.map +1 -0
  159. package/dist/access/interfaces/business.email.alias.interface.d.ts +3 -0
  160. package/dist/access/interfaces/business.email.alias.interface.js +3 -0
  161. package/dist/access/interfaces/business.email.alias.interface.js.map +1 -0
  162. package/dist/access/interfaces/business.notification.type.preference.row.interface.d.ts +14 -0
  163. package/dist/access/interfaces/business.notification.type.preference.row.interface.js +3 -0
  164. package/dist/access/interfaces/business.notification.type.preference.row.interface.js.map +1 -0
  165. package/dist/access/interfaces/catalogued.notification.type.interface.d.ts +10 -0
  166. package/dist/access/interfaces/catalogued.notification.type.interface.js +3 -0
  167. package/dist/access/interfaces/catalogued.notification.type.interface.js.map +1 -0
  168. package/dist/access/interfaces/dropped.notification.recipient.interface.d.ts +5 -0
  169. package/dist/access/interfaces/dropped.notification.recipient.interface.js +3 -0
  170. package/dist/access/interfaces/dropped.notification.recipient.interface.js.map +1 -0
  171. package/dist/access/interfaces/emithook.email.body.interface.d.ts +24 -0
  172. package/dist/access/interfaces/emithook.email.body.interface.js +3 -0
  173. package/dist/access/interfaces/emithook.email.body.interface.js.map +1 -0
  174. package/dist/access/interfaces/emithook.email.status.event.interface.d.ts +23 -0
  175. package/dist/access/interfaces/emithook.email.status.event.interface.js +3 -0
  176. package/dist/access/interfaces/emithook.email.status.event.interface.js.map +1 -0
  177. package/dist/access/interfaces/emithook.template.email.request.interface.d.ts +15 -0
  178. package/dist/access/interfaces/emithook.template.email.request.interface.js +3 -0
  179. package/dist/access/interfaces/emithook.template.email.request.interface.js.map +1 -0
  180. package/dist/access/interfaces/emithook.template.email.result.interface.d.ts +6 -0
  181. package/dist/access/interfaces/emithook.template.email.result.interface.js +3 -0
  182. package/dist/access/interfaces/emithook.template.email.result.interface.js.map +1 -0
  183. package/dist/access/interfaces/inbound.email.message.interface.d.ts +31 -0
  184. package/dist/access/interfaces/inbound.email.message.interface.js +3 -0
  185. package/dist/access/interfaces/inbound.email.message.interface.js.map +1 -0
  186. package/dist/access/interfaces/index.d.ts +24 -0
  187. package/dist/access/interfaces/index.js +41 -0
  188. package/dist/access/interfaces/index.js.map +1 -0
  189. package/dist/access/interfaces/legacy.notification.preference.provider.interface.d.ts +5 -0
  190. package/dist/access/interfaces/legacy.notification.preference.provider.interface.js +3 -0
  191. package/dist/access/interfaces/legacy.notification.preference.provider.interface.js.map +1 -0
  192. package/dist/access/interfaces/notification.preference.request.interface.d.ts +9 -0
  193. package/dist/access/interfaces/notification.preference.request.interface.js +3 -0
  194. package/dist/access/interfaces/notification.preference.request.interface.js.map +1 -0
  195. package/dist/access/interfaces/notification.recipient.interface.d.ts +5 -0
  196. package/dist/access/interfaces/notification.recipient.interface.js +3 -0
  197. package/dist/access/interfaces/notification.recipient.interface.js.map +1 -0
  198. package/dist/access/interfaces/notification.send.identifiers.interface.d.ts +6 -0
  199. package/dist/access/interfaces/notification.send.identifiers.interface.js +3 -0
  200. package/dist/access/interfaces/notification.send.identifiers.interface.js.map +1 -0
  201. package/dist/access/interfaces/notification.send.recipient.interface.d.ts +5 -0
  202. package/dist/access/interfaces/notification.send.recipient.interface.js +3 -0
  203. package/dist/access/interfaces/notification.send.recipient.interface.js.map +1 -0
  204. package/dist/access/interfaces/notification.type.sources.interface.d.ts +5 -0
  205. package/dist/access/interfaces/notification.type.sources.interface.js +3 -0
  206. package/dist/access/interfaces/notification.type.sources.interface.js.map +1 -0
  207. package/dist/access/interfaces/notification.type.usage.interface.d.ts +12 -0
  208. package/dist/access/interfaces/notification.type.usage.interface.js +3 -0
  209. package/dist/access/interfaces/notification.type.usage.interface.js.map +1 -0
  210. package/dist/access/interfaces/resolve.notification.recipients.input.interface.d.ts +10 -0
  211. package/dist/access/interfaces/resolve.notification.recipients.input.interface.js +3 -0
  212. package/dist/access/interfaces/resolve.notification.recipients.input.interface.js.map +1 -0
  213. package/dist/access/interfaces/resolve.notification.recipients.result.interface.d.ts +10 -0
  214. package/dist/access/interfaces/resolve.notification.recipients.result.interface.js +3 -0
  215. package/dist/access/interfaces/resolve.notification.recipients.result.interface.js.map +1 -0
  216. package/dist/access/interfaces/send.emithook.template.email.options.interface.d.ts +18 -0
  217. package/dist/access/interfaces/send.emithook.template.email.options.interface.js +3 -0
  218. package/dist/access/interfaces/send.emithook.template.email.options.interface.js.map +1 -0
  219. package/dist/access/interfaces/user.notification.type.preference.row.interface.d.ts +11 -0
  220. package/dist/access/interfaces/user.notification.type.preference.row.interface.js +3 -0
  221. package/dist/access/interfaces/user.notification.type.preference.row.interface.js.map +1 -0
  222. package/dist/access/jobs/handle.emithook.email.job.d.ts +27 -0
  223. package/dist/access/jobs/handle.emithook.email.job.js +162 -0
  224. package/dist/access/jobs/handle.emithook.email.job.js.map +1 -0
  225. package/dist/access/jobs/handle.emithook.email.status.job.d.ts +8 -0
  226. package/dist/access/jobs/handle.emithook.email.status.job.js +31 -0
  227. package/dist/access/jobs/handle.emithook.email.status.job.js.map +1 -0
  228. package/dist/access/jobs/index.d.ts +5 -0
  229. package/dist/access/jobs/index.js +5 -0
  230. package/dist/access/jobs/index.js.map +1 -1
  231. package/dist/access/jobs/poll.emithook.email.inbox.job.d.ts +19 -0
  232. package/dist/access/jobs/poll.emithook.email.inbox.job.js +109 -0
  233. package/dist/access/jobs/poll.emithook.email.inbox.job.js.map +1 -0
  234. package/dist/access/jobs/poll.emithook.email.sqs.job.d.ts +22 -0
  235. package/dist/access/jobs/poll.emithook.email.sqs.job.js +91 -0
  236. package/dist/access/jobs/poll.emithook.email.sqs.job.js.map +1 -0
  237. package/dist/access/jobs/process.server.email.job.d.ts +1 -9
  238. package/dist/access/jobs/process.server.email.job.js +13 -105
  239. package/dist/access/jobs/process.server.email.job.js.map +1 -1
  240. package/dist/access/jobs/reconcile.emithook.email.status.job.d.ts +15 -0
  241. package/dist/access/jobs/reconcile.emithook.email.status.job.js +38 -0
  242. package/dist/access/jobs/reconcile.emithook.email.status.job.js.map +1 -0
  243. package/dist/access/libraries/apply.notification.preferences.d.ts +12 -0
  244. package/dist/access/libraries/apply.notification.preferences.js +51 -0
  245. package/dist/access/libraries/apply.notification.preferences.js.map +1 -0
  246. package/dist/access/libraries/delete.business.property.d.ts +7 -0
  247. package/dist/access/libraries/delete.business.property.js +18 -0
  248. package/dist/access/libraries/delete.business.property.js.map +1 -0
  249. package/dist/access/libraries/index.d.ts +19 -0
  250. package/dist/access/libraries/index.js +19 -0
  251. package/dist/access/libraries/index.js.map +1 -1
  252. package/dist/access/libraries/load.notification.preference.context.d.ts +10 -0
  253. package/dist/access/libraries/load.notification.preference.context.js +78 -0
  254. package/dist/access/libraries/load.notification.preference.context.js.map +1 -0
  255. package/dist/access/libraries/notification.type.catalogue.d.ts +12 -0
  256. package/dist/access/libraries/notification.type.catalogue.js +72 -0
  257. package/dist/access/libraries/notification.type.catalogue.js.map +1 -0
  258. package/dist/access/libraries/present.business.property.d.ts +4 -0
  259. package/dist/access/libraries/present.business.property.js +13 -0
  260. package/dist/access/libraries/present.business.property.js.map +1 -0
  261. package/dist/access/libraries/process.application.menu.js +6 -7
  262. package/dist/access/libraries/process.application.menu.js.map +1 -1
  263. package/dist/access/libraries/process.business.property.data.d.ts +6 -0
  264. package/dist/access/libraries/process.business.property.data.js +60 -20
  265. package/dist/access/libraries/process.business.property.data.js.map +1 -1
  266. package/dist/access/libraries/process.business.property.list.d.ts +4 -0
  267. package/dist/access/libraries/process.business.property.list.js +44 -5
  268. package/dist/access/libraries/process.business.property.list.js.map +1 -1
  269. package/dist/access/libraries/process.developer.menu.d.ts +2 -1
  270. package/dist/access/libraries/process.developer.menu.js +50 -20
  271. package/dist/access/libraries/process.developer.menu.js.map +1 -1
  272. package/dist/access/libraries/process.email.notification.d.ts +18 -3
  273. package/dist/access/libraries/process.email.notification.js +140 -3
  274. package/dist/access/libraries/process.email.notification.js.map +1 -1
  275. package/dist/access/libraries/process.emithook.email.status.d.ts +7 -0
  276. package/dist/access/libraries/process.emithook.email.status.js +40 -0
  277. package/dist/access/libraries/process.emithook.email.status.js.map +1 -0
  278. package/dist/access/libraries/process.inbound.email.message.d.ts +21 -0
  279. package/dist/access/libraries/process.inbound.email.message.js +129 -0
  280. package/dist/access/libraries/process.inbound.email.message.js.map +1 -0
  281. package/dist/access/libraries/process.mail.log.list.d.ts +25 -0
  282. package/dist/access/libraries/process.mail.log.list.js +90 -0
  283. package/dist/access/libraries/process.mail.log.list.js.map +1 -0
  284. package/dist/access/libraries/read.eml.attachments.d.ts +19 -0
  285. package/dist/access/libraries/read.eml.attachments.js +124 -0
  286. package/dist/access/libraries/read.eml.attachments.js.map +1 -0
  287. package/dist/access/libraries/reconcile.emithook.email.status.d.ts +17 -0
  288. package/dist/access/libraries/reconcile.emithook.email.status.js +82 -0
  289. package/dist/access/libraries/reconcile.emithook.email.status.js.map +1 -0
  290. package/dist/access/libraries/record.emithook.email.events.d.ts +15 -0
  291. package/dist/access/libraries/record.emithook.email.events.js +139 -0
  292. package/dist/access/libraries/record.emithook.email.events.js.map +1 -0
  293. package/dist/access/libraries/resolve.emithook.template.key.d.ts +8 -0
  294. package/dist/access/libraries/resolve.emithook.template.key.js +29 -0
  295. package/dist/access/libraries/resolve.emithook.template.key.js.map +1 -0
  296. package/dist/access/libraries/resolve.notification.recipients.d.ts +7 -0
  297. package/dist/access/libraries/resolve.notification.recipients.js +51 -0
  298. package/dist/access/libraries/resolve.notification.recipients.js.map +1 -0
  299. package/dist/access/libraries/sanitize.email.addresses.d.ts +3 -1
  300. package/dist/access/libraries/sanitize.email.addresses.js +3 -2
  301. package/dist/access/libraries/sanitize.email.addresses.js.map +1 -1
  302. package/dist/access/libraries/search.alias.mappings.d.ts +12 -0
  303. package/dist/access/libraries/search.alias.mappings.js +46 -0
  304. package/dist/access/libraries/search.alias.mappings.js.map +1 -0
  305. package/dist/access/libraries/send.email.notification.js +2 -0
  306. package/dist/access/libraries/send.email.notification.js.map +1 -1
  307. package/dist/access/libraries/send.emithook.template.email.d.ts +24 -0
  308. package/dist/access/libraries/send.emithook.template.email.js +188 -0
  309. package/dist/access/libraries/send.emithook.template.email.js.map +1 -0
  310. package/dist/access/libraries/set.alias.mapping.d.ts +12 -0
  311. package/dist/access/libraries/set.alias.mapping.js +81 -0
  312. package/dist/access/libraries/set.alias.mapping.js.map +1 -0
  313. package/dist/access/libraries/set.business.property.d.ts +8 -0
  314. package/dist/access/libraries/set.business.property.js +17 -0
  315. package/dist/access/libraries/set.business.property.js.map +1 -0
  316. package/dist/access/libraries/show.mail.log.content.d.ts +12 -0
  317. package/dist/access/libraries/show.mail.log.content.js +22 -0
  318. package/dist/access/libraries/show.mail.log.content.js.map +1 -0
  319. package/dist/access/libraries/show.mail.log.d.ts +6 -0
  320. package/dist/access/libraries/show.mail.log.js +20 -0
  321. package/dist/access/libraries/show.mail.log.js.map +1 -0
  322. package/dist/access/services/alias.mapping.service.d.ts +9 -0
  323. package/dist/access/services/alias.mapping.service.js +45 -0
  324. package/dist/access/services/alias.mapping.service.js.map +1 -0
  325. package/dist/access/services/business.email.alias.service.d.ts +5 -0
  326. package/dist/access/services/business.email.alias.service.js +35 -0
  327. package/dist/access/services/business.email.alias.service.js.map +1 -0
  328. package/dist/access/services/business.email.service.d.ts +5 -1
  329. package/dist/access/services/business.email.service.js +33 -2
  330. package/dist/access/services/business.email.service.js.map +1 -1
  331. package/dist/access/services/business.property.service.js +3 -1
  332. package/dist/access/services/business.property.service.js.map +1 -1
  333. package/dist/access/services/emithook.service.d.ts +36 -0
  334. package/dist/access/services/emithook.service.js +136 -0
  335. package/dist/access/services/emithook.service.js.map +1 -0
  336. package/dist/access/services/index.d.ts +7 -0
  337. package/dist/access/services/index.js +7 -0
  338. package/dist/access/services/index.js.map +1 -1
  339. package/dist/access/services/legacy.notification.preference.service.d.ts +8 -0
  340. package/dist/access/services/legacy.notification.preference.service.js +41 -0
  341. package/dist/access/services/legacy.notification.preference.service.js.map +1 -0
  342. package/dist/access/services/mail.log.access.service.d.ts +14 -0
  343. package/dist/access/services/mail.log.access.service.js +52 -0
  344. package/dist/access/services/mail.log.access.service.js.map +1 -0
  345. package/dist/access/services/notification.service.d.ts +2 -0
  346. package/dist/access/services/notification.service.js +19 -4
  347. package/dist/access/services/notification.service.js.map +1 -1
  348. package/dist/access/services/notification.type.preference.service.d.ts +25 -0
  349. package/dist/access/services/notification.type.preference.service.js +172 -0
  350. package/dist/access/services/notification.type.preference.service.js.map +1 -0
  351. package/dist/access/services/notification.type.service.d.ts +17 -0
  352. package/dist/access/services/notification.type.service.js +124 -0
  353. package/dist/access/services/notification.type.service.js.map +1 -0
  354. package/dist/access/services/send.email.service.d.ts +5 -1
  355. package/dist/access/services/send.email.service.js +9 -3
  356. package/dist/access/services/send.email.service.js.map +1 -1
  357. package/dist/accessUtility/controllers/bulk.definition.controller.d.ts +6 -2
  358. package/dist/accessUtility/controllers/bulk.definition.controller.js +26 -9
  359. package/dist/accessUtility/controllers/bulk.definition.controller.js.map +1 -1
  360. package/dist/accessUtility/dtos/bulk.definition.script.dto.d.ts +4 -0
  361. package/dist/accessUtility/dtos/bulk.definition.script.dto.js +30 -0
  362. package/dist/accessUtility/dtos/bulk.definition.script.dto.js.map +1 -0
  363. package/dist/accessUtility/dtos/index.d.ts +1 -0
  364. package/dist/accessUtility/dtos/index.js +1 -0
  365. package/dist/accessUtility/dtos/index.js.map +1 -1
  366. package/dist/accessUtility/es6.classes.d.ts +9 -7
  367. package/dist/accessUtility/es6.classes.js +12 -8
  368. package/dist/accessUtility/es6.classes.js.map +1 -1
  369. package/dist/accessUtility/jobs/analyse.bulk.upload.job.d.ts +1 -1
  370. package/dist/accessUtility/jobs/analyse.bulk.upload.job.js +1 -1
  371. package/dist/accessUtility/jobs/analyse.bulk.upload.job.js.map +1 -1
  372. package/dist/accessUtility/jobs/push.to.bulk.item.job.d.ts +2 -0
  373. package/dist/accessUtility/jobs/push.to.bulk.item.job.js +2 -0
  374. package/dist/accessUtility/jobs/push.to.bulk.item.job.js.map +1 -1
  375. package/dist/accessUtility/libraries/analyse.bulk.upload.d.ts +1 -1
  376. package/dist/accessUtility/libraries/index.d.ts +1 -1
  377. package/dist/accessUtility/libraries/index.js +1 -1
  378. package/dist/accessUtility/libraries/index.js.map +1 -1
  379. package/dist/accessUtility/libraries/process.bulk.definition.script.d.ts +9 -0
  380. package/dist/accessUtility/libraries/process.bulk.definition.script.js +43 -0
  381. package/dist/accessUtility/libraries/process.bulk.definition.script.js.map +1 -0
  382. package/dist/accessUtility/libraries/read.xls.file.d.ts +4 -1
  383. package/dist/accessUtility/libraries/read.xls.file.js +49 -10
  384. package/dist/accessUtility/libraries/read.xls.file.js.map +1 -1
  385. package/dist/accessUtility/services/index.d.ts +1 -0
  386. package/dist/accessUtility/services/index.js +1 -0
  387. package/dist/accessUtility/services/index.js.map +1 -1
  388. package/dist/accessUtility/{libraries → services}/match.bulk.upload.columns.d.ts +1 -1
  389. package/dist/accessUtility/{libraries → services}/match.bulk.upload.columns.js +4 -4
  390. package/dist/accessUtility/services/match.bulk.upload.columns.js.map +1 -0
  391. package/dist/migrations/1790855763155-CreateBzAliasMappingsTable.d.ts +8 -0
  392. package/dist/migrations/1790855763155-CreateBzAliasMappingsTable.js +37 -0
  393. package/dist/migrations/1790855763155-CreateBzAliasMappingsTable.js.map +1 -0
  394. package/dist/migrations/1792089460727-AddIdentifierBzBusinessEmailsTable.d.ts +5 -0
  395. package/dist/migrations/1792089460727-AddIdentifierBzBusinessEmailsTable.js +16 -0
  396. package/dist/migrations/1792089460727-AddIdentifierBzBusinessEmailsTable.js.map +1 -0
  397. package/dist/migrations/1792091262917-AddUniqueEmailIdentifierBzEmailMessagesTable.d.ts +8 -0
  398. package/dist/migrations/1792091262917-AddUniqueEmailIdentifierBzEmailMessagesTable.js +30 -0
  399. package/dist/migrations/1792091262917-AddUniqueEmailIdentifierBzEmailMessagesTable.js.map +1 -0
  400. package/dist/migrations/1792454400000-CreateSysNotificationTypesTable.d.ts +8 -0
  401. package/dist/migrations/1792454400000-CreateSysNotificationTypesTable.js +36 -0
  402. package/dist/migrations/1792454400000-CreateSysNotificationTypesTable.js.map +1 -0
  403. package/dist/migrations/1792454400001-CreateBzNotificationTypePreferencesTable.d.ts +8 -0
  404. package/dist/migrations/1792454400001-CreateBzNotificationTypePreferencesTable.js +31 -0
  405. package/dist/migrations/1792454400001-CreateBzNotificationTypePreferencesTable.js.map +1 -0
  406. package/dist/migrations/1792454400002-CreateBzUserNotificationTypePreferencesTable.d.ts +8 -0
  407. package/dist/migrations/1792454400002-CreateBzUserNotificationTypePreferencesTable.js +32 -0
  408. package/dist/migrations/1792454400002-CreateBzUserNotificationTypePreferencesTable.js.map +1 -0
  409. package/dist/migrations/1792454400003-AddSmsNotificationChannelDataSeederTable.d.ts +5 -0
  410. package/dist/migrations/1792454400003-AddSmsNotificationChannelDataSeederTable.js +21 -0
  411. package/dist/migrations/1792454400003-AddSmsNotificationChannelDataSeederTable.js.map +1 -0
  412. package/dist/migrations/1792532792345-AddBusinessIdSysMailLogsTable.d.ts +7 -0
  413. package/dist/migrations/1792532792345-AddBusinessIdSysMailLogsTable.js +20 -0
  414. package/dist/migrations/1792532792345-AddBusinessIdSysMailLogsTable.js.map +1 -0
  415. package/dist/migrations/1792573736107-AddEmithookIndexSysMailLogsTable.d.ts +5 -0
  416. package/dist/migrations/1792573736107-AddEmithookIndexSysMailLogsTable.js +14 -0
  417. package/dist/migrations/1792573736107-AddEmithookIndexSysMailLogsTable.js.map +1 -0
  418. package/package.json +1 -1
  419. 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,7 @@
1
+ export declare class AddAliasMappingDto {
2
+ source_type: string;
3
+ source_id: number;
4
+ name: string;
5
+ type: string;
6
+ attributes?: Record<string, any>;
7
+ }
@@ -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,4 @@
1
+ export declare class AddBusinessEmailDto {
2
+ local_part: string;
3
+ name?: string;
4
+ }
@@ -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,yDAA2C;AAC3C,qDAAkG;AAClG,4EAAuE;AACvE,yFAAmF;AAEnF,MAAa,sBAAuB,SAAQ,6BAAY;CA0CvD;AA1CD,wDA0CC;AArCG;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"}
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"}
@@ -1,4 +1,5 @@
1
1
  import { CommonAttributesDto } from '@servicelabsco/nestjs-utility-services';
2
2
  export declare class BusinessEmailAttributesDto extends CommonAttributesDto {
3
3
  unread_count?: number;
4
+ type?: string;
4
5
  }
@@ -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,qDAAuD;AACvD,MAAa,0BAA2B,SAAQ,6CAAmB;CAKlE;AALD,gEAKC;AADG;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;gEACa"}
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,3 @@
1
+ export declare class BusinessNotificationTypePreferenceAttributesDto {
2
+ reason?: string;
3
+ }
@@ -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,3 @@
1
+ export declare class BusinessPropertyIdentifierParamDto {
2
+ identifier: string;
3
+ }
@@ -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,3 +1,7 @@
1
1
  import { CommonListFilterDto } from './common.list.filter.dto';
2
2
  export declare class BusinessPropertyListFilterDto extends CommonListFilterDto {
3
+ business_id?: number;
4
+ identifier?: string;
5
+ column_type_id?: number;
6
+ is_encrypted?: boolean;
3
7
  }
@@ -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":";;;AAAA,qEAA+D;AAE/D,MAAa,6BAA8B,SAAQ,4CAAmB;CAAG;AAAzE,sEAAyE"}
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,3 @@
1
+ export declare class BusinessPropertyScopeDto {
2
+ business_id?: number;
3
+ }
@@ -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;CA6CvC;AA7CD,kEA6CC"}
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"}