@servicelabsco/slabs-access-manager 2.0.15 → 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 (325) 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/bulk.upload.controller.d.ts +1 -1
  10. package/dist/access/controllers/bulk.upload.controller.js +1 -1
  11. package/dist/access/controllers/bulk.upload.controller.js.map +1 -1
  12. package/dist/access/controllers/business.email.alias.controller.d.ts +9 -0
  13. package/dist/access/controllers/business.email.alias.controller.js +43 -0
  14. package/dist/access/controllers/business.email.alias.controller.js.map +1 -0
  15. package/dist/access/controllers/business.property.controller.d.ts +12 -4
  16. package/dist/access/controllers/business.property.controller.js +74 -7
  17. package/dist/access/controllers/business.property.controller.js.map +1 -1
  18. package/dist/access/controllers/developer.menu.controller.js.map +1 -1
  19. package/dist/access/controllers/developer.notification.type.controller.d.ts +16 -0
  20. package/dist/access/controllers/developer.notification.type.controller.js +91 -0
  21. package/dist/access/controllers/developer.notification.type.controller.js.map +1 -0
  22. package/dist/access/controllers/emithook.controller.d.ts +3 -1
  23. package/dist/access/controllers/emithook.controller.js +9 -2
  24. package/dist/access/controllers/emithook.controller.js.map +1 -1
  25. package/dist/access/controllers/index.d.ts +5 -0
  26. package/dist/access/controllers/index.js +5 -0
  27. package/dist/access/controllers/index.js.map +1 -1
  28. package/dist/access/controllers/mail.log.controller.d.ts +20 -0
  29. package/dist/access/controllers/mail.log.controller.js +76 -0
  30. package/dist/access/controllers/mail.log.controller.js.map +1 -0
  31. package/dist/access/controllers/notification.type.preference.controller.d.ts +12 -0
  32. package/dist/access/controllers/notification.type.preference.controller.js +59 -0
  33. package/dist/access/controllers/notification.type.preference.controller.js.map +1 -0
  34. package/dist/access/controllers/user.notification.type.preference.controller.d.ts +10 -0
  35. package/dist/access/controllers/user.notification.type.preference.controller.js +54 -0
  36. package/dist/access/controllers/user.notification.type.preference.controller.js.map +1 -0
  37. package/dist/access/dtos/add.business.email.dto.js.map +1 -1
  38. package/dist/access/dtos/add.business.property.dto.d.ts +1 -0
  39. package/dist/access/dtos/add.business.property.dto.js +8 -0
  40. package/dist/access/dtos/add.business.property.dto.js.map +1 -1
  41. package/dist/access/dtos/business.notification.type.preference.attributes.dto.d.ts +3 -0
  42. package/dist/access/dtos/business.notification.type.preference.attributes.dto.js +7 -0
  43. package/dist/access/dtos/business.notification.type.preference.attributes.dto.js.map +1 -0
  44. package/dist/access/dtos/business.property.identifier.param.dto.d.ts +3 -0
  45. package/dist/access/dtos/business.property.identifier.param.dto.js +25 -0
  46. package/dist/access/dtos/business.property.identifier.param.dto.js.map +1 -0
  47. package/dist/access/dtos/business.property.list.filter.dto.d.ts +4 -0
  48. package/dist/access/dtos/business.property.list.filter.dto.js +40 -0
  49. package/dist/access/dtos/business.property.list.filter.dto.js.map +1 -1
  50. package/dist/access/dtos/business.property.scope.dto.d.ts +3 -0
  51. package/dist/access/dtos/business.property.scope.dto.js +26 -0
  52. package/dist/access/dtos/business.property.scope.dto.js.map +1 -0
  53. package/dist/access/dtos/create.notification.type.dto.d.ts +14 -0
  54. package/dist/access/dtos/create.notification.type.dto.js +79 -0
  55. package/dist/access/dtos/create.notification.type.dto.js.map +1 -0
  56. package/dist/access/dtos/email.notification.payload.dto.d.ts +5 -0
  57. package/dist/access/dtos/email.notification.payload.dto.js.map +1 -1
  58. package/dist/access/dtos/index.d.ts +11 -0
  59. package/dist/access/dtos/index.js +11 -0
  60. package/dist/access/dtos/index.js.map +1 -1
  61. package/dist/access/dtos/mail.log.content.query.dto.d.ts +4 -0
  62. package/dist/access/dtos/mail.log.content.query.dto.js +25 -0
  63. package/dist/access/dtos/mail.log.content.query.dto.js.map +1 -0
  64. package/dist/access/dtos/mail.log.list.filter.dto.d.ts +11 -0
  65. package/dist/access/dtos/mail.log.list.filter.dto.js +75 -0
  66. package/dist/access/dtos/mail.log.list.filter.dto.js.map +1 -0
  67. package/dist/access/dtos/notification.type.list.filter.dto.d.ts +7 -0
  68. package/dist/access/dtos/notification.type.list.filter.dto.js +45 -0
  69. package/dist/access/dtos/notification.type.list.filter.dto.js.map +1 -0
  70. package/dist/access/dtos/set.business.email.alias.dto.d.ts +3 -0
  71. package/dist/access/dtos/set.business.email.alias.dto.js +27 -0
  72. package/dist/access/dtos/set.business.email.alias.dto.js.map +1 -0
  73. package/dist/access/dtos/set.business.property.dto.d.ts +10 -0
  74. package/dist/access/dtos/set.business.property.dto.js +64 -0
  75. package/dist/access/dtos/set.business.property.dto.js.map +1 -0
  76. package/dist/access/dtos/set.notification.type.preference.dto.d.ts +5 -0
  77. package/dist/access/dtos/set.notification.type.preference.dto.js +34 -0
  78. package/dist/access/dtos/set.notification.type.preference.dto.js.map +1 -0
  79. package/dist/access/dtos/update.notification.type.dto.d.ts +13 -0
  80. package/dist/access/dtos/update.notification.type.dto.js +72 -0
  81. package/dist/access/dtos/update.notification.type.dto.js.map +1 -0
  82. package/dist/access/entities/access.mail.log.entity.d.ts +6 -0
  83. package/dist/access/entities/access.mail.log.entity.js +31 -0
  84. package/dist/access/entities/access.mail.log.entity.js.map +1 -0
  85. package/dist/access/entities/business.notification.type.preference.entity.d.ts +13 -0
  86. package/dist/access/entities/business.notification.type.preference.entity.js +54 -0
  87. package/dist/access/entities/business.notification.type.preference.entity.js.map +1 -0
  88. package/dist/access/entities/index.d.ts +4 -0
  89. package/dist/access/entities/index.js +4 -0
  90. package/dist/access/entities/index.js.map +1 -1
  91. package/dist/access/entities/notification.type.entity.d.ts +16 -0
  92. package/dist/access/entities/notification.type.entity.js +63 -0
  93. package/dist/access/entities/notification.type.entity.js.map +1 -0
  94. package/dist/access/entities/user.notification.type.preference.entity.d.ts +15 -0
  95. package/dist/access/entities/user.notification.type.preference.entity.js +63 -0
  96. package/dist/access/entities/user.notification.type.preference.entity.js.map +1 -0
  97. package/dist/access/enums/index.d.ts +3 -0
  98. package/dist/access/enums/index.js +3 -0
  99. package/dist/access/enums/index.js.map +1 -1
  100. package/dist/access/enums/notification.channel.type.enum.d.ts +2 -1
  101. package/dist/access/enums/notification.channel.type.enum.js +1 -0
  102. package/dist/access/enums/notification.channel.type.enum.js.map +1 -1
  103. package/dist/access/enums/notification.suppression.reason.enum.d.ts +6 -0
  104. package/dist/access/enums/notification.suppression.reason.enum.js +11 -0
  105. package/dist/access/enums/notification.suppression.reason.enum.js.map +1 -0
  106. package/dist/access/enums/notification.type.audience.enum.d.ts +5 -0
  107. package/dist/access/enums/notification.type.audience.enum.js +10 -0
  108. package/dist/access/enums/notification.type.audience.enum.js.map +1 -0
  109. package/dist/access/enums/notification.type.control.enum.d.ts +4 -0
  110. package/dist/access/enums/notification.type.control.enum.js +9 -0
  111. package/dist/access/enums/notification.type.control.enum.js.map +1 -0
  112. package/dist/access/es6.classes.d.ts +47 -14
  113. package/dist/access/es6.classes.js +92 -1
  114. package/dist/access/es6.classes.js.map +1 -1
  115. package/dist/access/interfaces/business.email.alias.interface.d.ts +3 -0
  116. package/dist/access/interfaces/business.email.alias.interface.js +3 -0
  117. package/dist/access/interfaces/business.email.alias.interface.js.map +1 -0
  118. package/dist/access/interfaces/business.notification.type.preference.row.interface.d.ts +14 -0
  119. package/dist/access/interfaces/business.notification.type.preference.row.interface.js +3 -0
  120. package/dist/access/interfaces/business.notification.type.preference.row.interface.js.map +1 -0
  121. package/dist/access/interfaces/catalogued.notification.type.interface.d.ts +10 -0
  122. package/dist/access/interfaces/catalogued.notification.type.interface.js +3 -0
  123. package/dist/access/interfaces/catalogued.notification.type.interface.js.map +1 -0
  124. package/dist/access/interfaces/dropped.notification.recipient.interface.d.ts +5 -0
  125. package/dist/access/interfaces/dropped.notification.recipient.interface.js +3 -0
  126. package/dist/access/interfaces/dropped.notification.recipient.interface.js.map +1 -0
  127. package/dist/access/interfaces/emithook.email.status.event.interface.d.ts +23 -0
  128. package/dist/access/interfaces/emithook.email.status.event.interface.js +3 -0
  129. package/dist/access/interfaces/emithook.email.status.event.interface.js.map +1 -0
  130. package/dist/access/interfaces/emithook.template.email.request.interface.d.ts +15 -0
  131. package/dist/access/interfaces/emithook.template.email.request.interface.js +3 -0
  132. package/dist/access/interfaces/emithook.template.email.request.interface.js.map +1 -0
  133. package/dist/access/interfaces/emithook.template.email.result.interface.d.ts +6 -0
  134. package/dist/access/interfaces/emithook.template.email.result.interface.js +3 -0
  135. package/dist/access/interfaces/emithook.template.email.result.interface.js.map +1 -0
  136. package/dist/access/interfaces/index.d.ts +18 -0
  137. package/dist/access/interfaces/index.js +18 -0
  138. package/dist/access/interfaces/index.js.map +1 -1
  139. package/dist/access/interfaces/legacy.notification.preference.provider.interface.d.ts +5 -0
  140. package/dist/access/interfaces/legacy.notification.preference.provider.interface.js +3 -0
  141. package/dist/access/interfaces/legacy.notification.preference.provider.interface.js.map +1 -0
  142. package/dist/access/interfaces/notification.preference.request.interface.d.ts +9 -0
  143. package/dist/access/interfaces/notification.preference.request.interface.js +3 -0
  144. package/dist/access/interfaces/notification.preference.request.interface.js.map +1 -0
  145. package/dist/access/interfaces/notification.recipient.interface.d.ts +5 -0
  146. package/dist/access/interfaces/notification.recipient.interface.js +3 -0
  147. package/dist/access/interfaces/notification.recipient.interface.js.map +1 -0
  148. package/dist/access/interfaces/notification.send.identifiers.interface.d.ts +6 -0
  149. package/dist/access/interfaces/notification.send.identifiers.interface.js +3 -0
  150. package/dist/access/interfaces/notification.send.identifiers.interface.js.map +1 -0
  151. package/dist/access/interfaces/notification.send.recipient.interface.d.ts +5 -0
  152. package/dist/access/interfaces/notification.send.recipient.interface.js +3 -0
  153. package/dist/access/interfaces/notification.send.recipient.interface.js.map +1 -0
  154. package/dist/access/interfaces/notification.type.sources.interface.d.ts +5 -0
  155. package/dist/access/interfaces/notification.type.sources.interface.js +3 -0
  156. package/dist/access/interfaces/notification.type.sources.interface.js.map +1 -0
  157. package/dist/access/interfaces/notification.type.usage.interface.d.ts +12 -0
  158. package/dist/access/interfaces/notification.type.usage.interface.js +3 -0
  159. package/dist/access/interfaces/notification.type.usage.interface.js.map +1 -0
  160. package/dist/access/interfaces/resolve.notification.recipients.input.interface.d.ts +10 -0
  161. package/dist/access/interfaces/resolve.notification.recipients.input.interface.js +3 -0
  162. package/dist/access/interfaces/resolve.notification.recipients.input.interface.js.map +1 -0
  163. package/dist/access/interfaces/resolve.notification.recipients.result.interface.d.ts +10 -0
  164. package/dist/access/interfaces/resolve.notification.recipients.result.interface.js +3 -0
  165. package/dist/access/interfaces/resolve.notification.recipients.result.interface.js.map +1 -0
  166. package/dist/access/interfaces/send.emithook.template.email.options.interface.d.ts +18 -0
  167. package/dist/access/interfaces/send.emithook.template.email.options.interface.js +3 -0
  168. package/dist/access/interfaces/send.emithook.template.email.options.interface.js.map +1 -0
  169. package/dist/access/interfaces/user.notification.type.preference.row.interface.d.ts +11 -0
  170. package/dist/access/interfaces/user.notification.type.preference.row.interface.js +3 -0
  171. package/dist/access/interfaces/user.notification.type.preference.row.interface.js.map +1 -0
  172. package/dist/access/jobs/handle.emithook.email.job.js +1 -1
  173. package/dist/access/jobs/handle.emithook.email.status.job.d.ts +8 -0
  174. package/dist/access/jobs/handle.emithook.email.status.job.js +31 -0
  175. package/dist/access/jobs/handle.emithook.email.status.job.js.map +1 -0
  176. package/dist/access/jobs/index.d.ts +2 -0
  177. package/dist/access/jobs/index.js +2 -0
  178. package/dist/access/jobs/index.js.map +1 -1
  179. package/dist/access/jobs/poll.emithook.email.inbox.job.js +1 -1
  180. package/dist/access/jobs/poll.emithook.email.inbox.job.js.map +1 -1
  181. package/dist/access/jobs/poll.emithook.email.sqs.job.d.ts +3 -1
  182. package/dist/access/jobs/poll.emithook.email.sqs.job.js +11 -3
  183. package/dist/access/jobs/poll.emithook.email.sqs.job.js.map +1 -1
  184. package/dist/access/jobs/reconcile.emithook.email.status.job.d.ts +15 -0
  185. package/dist/access/jobs/reconcile.emithook.email.status.job.js +38 -0
  186. package/dist/access/jobs/reconcile.emithook.email.status.job.js.map +1 -0
  187. package/dist/access/libraries/apply.notification.preferences.d.ts +12 -0
  188. package/dist/access/libraries/apply.notification.preferences.js +51 -0
  189. package/dist/access/libraries/apply.notification.preferences.js.map +1 -0
  190. package/dist/access/libraries/delete.business.property.d.ts +7 -0
  191. package/dist/access/libraries/delete.business.property.js +18 -0
  192. package/dist/access/libraries/delete.business.property.js.map +1 -0
  193. package/dist/access/libraries/index.d.ts +15 -0
  194. package/dist/access/libraries/index.js +15 -0
  195. package/dist/access/libraries/index.js.map +1 -1
  196. package/dist/access/libraries/load.notification.preference.context.d.ts +10 -0
  197. package/dist/access/libraries/load.notification.preference.context.js +78 -0
  198. package/dist/access/libraries/load.notification.preference.context.js.map +1 -0
  199. package/dist/access/libraries/notification.type.catalogue.d.ts +12 -0
  200. package/dist/access/libraries/notification.type.catalogue.js +72 -0
  201. package/dist/access/libraries/notification.type.catalogue.js.map +1 -0
  202. package/dist/access/libraries/present.business.property.d.ts +4 -0
  203. package/dist/access/libraries/present.business.property.js +13 -0
  204. package/dist/access/libraries/present.business.property.js.map +1 -0
  205. package/dist/access/libraries/process.application.menu.js +6 -7
  206. package/dist/access/libraries/process.application.menu.js.map +1 -1
  207. package/dist/access/libraries/process.business.property.data.d.ts +6 -0
  208. package/dist/access/libraries/process.business.property.data.js +60 -20
  209. package/dist/access/libraries/process.business.property.data.js.map +1 -1
  210. package/dist/access/libraries/process.business.property.list.d.ts +4 -0
  211. package/dist/access/libraries/process.business.property.list.js +44 -5
  212. package/dist/access/libraries/process.business.property.list.js.map +1 -1
  213. package/dist/access/libraries/process.developer.menu.d.ts +2 -1
  214. package/dist/access/libraries/process.developer.menu.js +50 -20
  215. package/dist/access/libraries/process.developer.menu.js.map +1 -1
  216. package/dist/access/libraries/process.email.notification.d.ts +18 -3
  217. package/dist/access/libraries/process.email.notification.js +140 -3
  218. package/dist/access/libraries/process.email.notification.js.map +1 -1
  219. package/dist/access/libraries/process.emithook.email.status.d.ts +7 -0
  220. package/dist/access/libraries/process.emithook.email.status.js +40 -0
  221. package/dist/access/libraries/process.emithook.email.status.js.map +1 -0
  222. package/dist/access/libraries/process.mail.log.list.d.ts +25 -0
  223. package/dist/access/libraries/process.mail.log.list.js +90 -0
  224. package/dist/access/libraries/process.mail.log.list.js.map +1 -0
  225. package/dist/access/libraries/read.eml.attachments.js +1 -3
  226. package/dist/access/libraries/read.eml.attachments.js.map +1 -1
  227. package/dist/access/libraries/reconcile.emithook.email.status.d.ts +17 -0
  228. package/dist/access/libraries/reconcile.emithook.email.status.js +82 -0
  229. package/dist/access/libraries/reconcile.emithook.email.status.js.map +1 -0
  230. package/dist/access/libraries/record.emithook.email.events.d.ts +15 -0
  231. package/dist/access/libraries/record.emithook.email.events.js +139 -0
  232. package/dist/access/libraries/record.emithook.email.events.js.map +1 -0
  233. package/dist/access/libraries/resolve.emithook.template.key.d.ts +8 -0
  234. package/dist/access/libraries/resolve.emithook.template.key.js +29 -0
  235. package/dist/access/libraries/resolve.emithook.template.key.js.map +1 -0
  236. package/dist/access/libraries/resolve.notification.recipients.d.ts +7 -0
  237. package/dist/access/libraries/resolve.notification.recipients.js +51 -0
  238. package/dist/access/libraries/resolve.notification.recipients.js.map +1 -0
  239. package/dist/access/libraries/sanitize.email.addresses.d.ts +3 -1
  240. package/dist/access/libraries/sanitize.email.addresses.js +3 -2
  241. package/dist/access/libraries/sanitize.email.addresses.js.map +1 -1
  242. package/dist/access/libraries/send.email.notification.js +2 -0
  243. package/dist/access/libraries/send.email.notification.js.map +1 -1
  244. package/dist/access/libraries/send.emithook.template.email.d.ts +24 -0
  245. package/dist/access/libraries/send.emithook.template.email.js +188 -0
  246. package/dist/access/libraries/send.emithook.template.email.js.map +1 -0
  247. package/dist/access/libraries/set.business.property.d.ts +8 -0
  248. package/dist/access/libraries/set.business.property.js +17 -0
  249. package/dist/access/libraries/set.business.property.js.map +1 -0
  250. package/dist/access/libraries/show.mail.log.content.d.ts +12 -0
  251. package/dist/access/libraries/show.mail.log.content.js +22 -0
  252. package/dist/access/libraries/show.mail.log.content.js.map +1 -0
  253. package/dist/access/libraries/show.mail.log.d.ts +6 -0
  254. package/dist/access/libraries/show.mail.log.js +20 -0
  255. package/dist/access/libraries/show.mail.log.js.map +1 -0
  256. package/dist/access/services/business.email.alias.service.d.ts +5 -0
  257. package/dist/access/services/business.email.alias.service.js +35 -0
  258. package/dist/access/services/business.email.alias.service.js.map +1 -0
  259. package/dist/access/services/business.email.service.js +1 -2
  260. package/dist/access/services/business.email.service.js.map +1 -1
  261. package/dist/access/services/business.property.service.js +3 -1
  262. package/dist/access/services/business.property.service.js.map +1 -1
  263. package/dist/access/services/emithook.service.d.ts +5 -1
  264. package/dist/access/services/emithook.service.js +22 -1
  265. package/dist/access/services/emithook.service.js.map +1 -1
  266. package/dist/access/services/index.d.ts +5 -0
  267. package/dist/access/services/index.js +5 -0
  268. package/dist/access/services/index.js.map +1 -1
  269. package/dist/access/services/legacy.notification.preference.service.d.ts +8 -0
  270. package/dist/access/services/legacy.notification.preference.service.js +41 -0
  271. package/dist/access/services/legacy.notification.preference.service.js.map +1 -0
  272. package/dist/access/services/mail.log.access.service.d.ts +14 -0
  273. package/dist/access/services/mail.log.access.service.js +52 -0
  274. package/dist/access/services/mail.log.access.service.js.map +1 -0
  275. package/dist/access/services/notification.service.d.ts +2 -0
  276. package/dist/access/services/notification.service.js +19 -4
  277. package/dist/access/services/notification.service.js.map +1 -1
  278. package/dist/access/services/notification.type.preference.service.d.ts +25 -0
  279. package/dist/access/services/notification.type.preference.service.js +172 -0
  280. package/dist/access/services/notification.type.preference.service.js.map +1 -0
  281. package/dist/access/services/notification.type.service.d.ts +17 -0
  282. package/dist/access/services/notification.type.service.js +124 -0
  283. package/dist/access/services/notification.type.service.js.map +1 -0
  284. package/dist/access/services/send.email.service.d.ts +5 -1
  285. package/dist/access/services/send.email.service.js +9 -3
  286. package/dist/access/services/send.email.service.js.map +1 -1
  287. package/dist/accessUtility/controllers/bulk.definition.controller.d.ts +1 -1
  288. package/dist/accessUtility/controllers/bulk.definition.controller.js +1 -1
  289. package/dist/accessUtility/controllers/bulk.definition.controller.js.map +1 -1
  290. package/dist/accessUtility/es6.classes.d.ts +5 -5
  291. package/dist/accessUtility/es6.classes.js +8 -8
  292. package/dist/accessUtility/es6.classes.js.map +1 -1
  293. package/dist/accessUtility/jobs/analyse.bulk.upload.job.d.ts +1 -1
  294. package/dist/accessUtility/jobs/analyse.bulk.upload.job.js +1 -1
  295. package/dist/accessUtility/jobs/analyse.bulk.upload.job.js.map +1 -1
  296. package/dist/accessUtility/libraries/analyse.bulk.upload.d.ts +1 -1
  297. package/dist/accessUtility/libraries/index.d.ts +0 -1
  298. package/dist/accessUtility/libraries/index.js +0 -1
  299. package/dist/accessUtility/libraries/index.js.map +1 -1
  300. package/dist/accessUtility/services/index.d.ts +1 -0
  301. package/dist/accessUtility/services/index.js +1 -0
  302. package/dist/accessUtility/services/index.js.map +1 -1
  303. package/dist/accessUtility/{libraries → services}/match.bulk.upload.columns.d.ts +1 -1
  304. package/dist/accessUtility/{libraries → services}/match.bulk.upload.columns.js +4 -4
  305. package/dist/accessUtility/services/match.bulk.upload.columns.js.map +1 -0
  306. package/dist/migrations/1792454400000-CreateSysNotificationTypesTable.d.ts +8 -0
  307. package/dist/migrations/1792454400000-CreateSysNotificationTypesTable.js +36 -0
  308. package/dist/migrations/1792454400000-CreateSysNotificationTypesTable.js.map +1 -0
  309. package/dist/migrations/1792454400001-CreateBzNotificationTypePreferencesTable.d.ts +8 -0
  310. package/dist/migrations/1792454400001-CreateBzNotificationTypePreferencesTable.js +31 -0
  311. package/dist/migrations/1792454400001-CreateBzNotificationTypePreferencesTable.js.map +1 -0
  312. package/dist/migrations/1792454400002-CreateBzUserNotificationTypePreferencesTable.d.ts +8 -0
  313. package/dist/migrations/1792454400002-CreateBzUserNotificationTypePreferencesTable.js +32 -0
  314. package/dist/migrations/1792454400002-CreateBzUserNotificationTypePreferencesTable.js.map +1 -0
  315. package/dist/migrations/1792454400003-AddSmsNotificationChannelDataSeederTable.d.ts +5 -0
  316. package/dist/migrations/1792454400003-AddSmsNotificationChannelDataSeederTable.js +21 -0
  317. package/dist/migrations/1792454400003-AddSmsNotificationChannelDataSeederTable.js.map +1 -0
  318. package/dist/migrations/1792532792345-AddBusinessIdSysMailLogsTable.d.ts +7 -0
  319. package/dist/migrations/1792532792345-AddBusinessIdSysMailLogsTable.js +20 -0
  320. package/dist/migrations/1792532792345-AddBusinessIdSysMailLogsTable.js.map +1 -0
  321. package/dist/migrations/1792573736107-AddEmithookIndexSysMailLogsTable.d.ts +5 -0
  322. package/dist/migrations/1792573736107-AddEmithookIndexSysMailLogsTable.js +14 -0
  323. package/dist/migrations/1792573736107-AddEmithookIndexSysMailLogsTable.js.map +1 -0
  324. package/package.json +1 -1
  325. package/dist/accessUtility/libraries/match.bulk.upload.columns.js.map +0 -1
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.SetBusinessPropertyDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ const business_property_attributes_dto_1 = require("./business.property.attributes.dto");
16
+ class SetBusinessPropertyDto {
17
+ }
18
+ exports.SetBusinessPropertyDto = SetBusinessPropertyDto;
19
+ __decorate([
20
+ (0, class_validator_1.IsOptional)(),
21
+ (0, class_transformer_1.Type)(() => Number),
22
+ (0, class_validator_1.IsNumber)(),
23
+ (0, class_validator_1.IsPositive)(),
24
+ (0, class_transformer_1.Expose)(),
25
+ __metadata("design:type", Number)
26
+ ], SetBusinessPropertyDto.prototype, "business_id", void 0);
27
+ __decorate([
28
+ (0, class_validator_1.IsString)(),
29
+ (0, class_transformer_1.Expose)(),
30
+ __metadata("design:type", String)
31
+ ], SetBusinessPropertyDto.prototype, "value", void 0);
32
+ __decorate([
33
+ (0, class_validator_1.IsOptional)(),
34
+ (0, class_validator_1.IsString)(),
35
+ (0, class_validator_1.IsNotEmpty)(),
36
+ (0, class_transformer_1.Expose)(),
37
+ __metadata("design:type", String)
38
+ ], SetBusinessPropertyDto.prototype, "name", void 0);
39
+ __decorate([
40
+ (0, class_validator_1.IsOptional)(),
41
+ (0, class_validator_1.IsString)(),
42
+ (0, class_transformer_1.Expose)(),
43
+ __metadata("design:type", String)
44
+ ], SetBusinessPropertyDto.prototype, "description", void 0);
45
+ __decorate([
46
+ (0, class_validator_1.IsOptional)(),
47
+ (0, class_validator_1.IsBoolean)(),
48
+ (0, class_transformer_1.Expose)(),
49
+ __metadata("design:type", Boolean)
50
+ ], SetBusinessPropertyDto.prototype, "is_encrypted", void 0);
51
+ __decorate([
52
+ (0, class_validator_1.IsOptional)(),
53
+ (0, class_validator_1.IsNumber)(),
54
+ (0, class_validator_1.IsPositive)(),
55
+ (0, class_transformer_1.Expose)(),
56
+ __metadata("design:type", Number)
57
+ ], SetBusinessPropertyDto.prototype, "column_type_id", void 0);
58
+ __decorate([
59
+ (0, class_validator_1.IsOptional)(),
60
+ (0, class_validator_1.IsObject)(),
61
+ (0, class_transformer_1.Expose)(),
62
+ __metadata("design:type", business_property_attributes_dto_1.BusinessPropertyAttributesDto)
63
+ ], SetBusinessPropertyDto.prototype, "attributes", void 0);
64
+ //# sourceMappingURL=set.business.property.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"set.business.property.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/set.business.property.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,qDAA8G;AAC9G,yFAAmF;AAMnF,MAAa,sBAAsB;CAuClC;AAvCD,wDAuCC;AAhCG;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IAClB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;2DACY;AAIrB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;;qDACK;AAMd;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;oDACK;AAKd;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;;2DACY;AAKrB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,0BAAM,GAAE;;4DACc;AAMvB;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;8DACe;AAKxB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;8BACI,gEAA6B;0DAAC"}
@@ -0,0 +1,5 @@
1
+ export declare class SetNotificationTypePreferenceDto {
2
+ notification_type_id: number;
3
+ channel_id: number;
4
+ active: boolean;
5
+ }
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.SetNotificationTypePreferenceDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ const notification_channel_type_enum_1 = require("../enums/notification.channel.type.enum");
16
+ class SetNotificationTypePreferenceDto {
17
+ }
18
+ exports.SetNotificationTypePreferenceDto = SetNotificationTypePreferenceDto;
19
+ __decorate([
20
+ (0, class_transformer_1.Expose)(),
21
+ (0, class_validator_1.IsNumber)(),
22
+ __metadata("design:type", Number)
23
+ ], SetNotificationTypePreferenceDto.prototype, "notification_type_id", void 0);
24
+ __decorate([
25
+ (0, class_transformer_1.Expose)(),
26
+ (0, class_validator_1.IsEnum)(notification_channel_type_enum_1.NotificationChannelTypeEnum),
27
+ __metadata("design:type", Number)
28
+ ], SetNotificationTypePreferenceDto.prototype, "channel_id", void 0);
29
+ __decorate([
30
+ (0, class_transformer_1.Expose)(),
31
+ (0, class_validator_1.IsBoolean)(),
32
+ __metadata("design:type", Boolean)
33
+ ], SetNotificationTypePreferenceDto.prototype, "active", void 0);
34
+ //# sourceMappingURL=set.notification.type.preference.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"set.notification.type.preference.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/set.notification.type.preference.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,qDAA8D;AAC9D,4FAAsF;AAUtF,MAAa,gCAAgC;CAa5C;AAbD,4EAaC;AATG;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;;8EACkB;AAI7B;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAM,EAAC,4DAA2B,CAAC;;oEACjB;AAInB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,2BAAS,GAAE;;gEACI"}
@@ -0,0 +1,13 @@
1
+ import { NotificationTypeAudienceEnum } from '../enums/notification.type.audience.enum';
2
+ import { NotificationTypeControlEnum } from '../enums/notification.type.control.enum';
3
+ import { NotificationTypeSourcesInterface } from '../interfaces/notification.type.sources.interface';
4
+ export declare class UpdateNotificationTypeDto {
5
+ name?: string;
6
+ description?: string;
7
+ category?: string;
8
+ audience?: NotificationTypeAudienceEnum;
9
+ control?: NotificationTypeControlEnum;
10
+ channels?: number[];
11
+ sources?: NotificationTypeSourcesInterface;
12
+ active?: boolean;
13
+ }
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.UpdateNotificationTypeDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ const notification_channel_type_enum_1 = require("../enums/notification.channel.type.enum");
16
+ const notification_type_audience_enum_1 = require("../enums/notification.type.audience.enum");
17
+ const notification_type_control_enum_1 = require("../enums/notification.type.control.enum");
18
+ class UpdateNotificationTypeDto {
19
+ }
20
+ exports.UpdateNotificationTypeDto = UpdateNotificationTypeDto;
21
+ __decorate([
22
+ (0, class_transformer_1.Expose)(),
23
+ (0, class_validator_1.IsOptional)(),
24
+ (0, class_validator_1.IsString)(),
25
+ (0, class_validator_1.IsNotEmpty)(),
26
+ __metadata("design:type", String)
27
+ ], UpdateNotificationTypeDto.prototype, "name", void 0);
28
+ __decorate([
29
+ (0, class_transformer_1.Expose)(),
30
+ (0, class_validator_1.IsOptional)(),
31
+ (0, class_validator_1.IsString)(),
32
+ __metadata("design:type", String)
33
+ ], UpdateNotificationTypeDto.prototype, "description", void 0);
34
+ __decorate([
35
+ (0, class_transformer_1.Expose)(),
36
+ (0, class_validator_1.IsOptional)(),
37
+ (0, class_validator_1.IsString)(),
38
+ (0, class_validator_1.MaxLength)(64),
39
+ __metadata("design:type", String)
40
+ ], UpdateNotificationTypeDto.prototype, "category", void 0);
41
+ __decorate([
42
+ (0, class_transformer_1.Expose)(),
43
+ (0, class_validator_1.IsOptional)(),
44
+ (0, class_validator_1.IsEnum)(notification_type_audience_enum_1.NotificationTypeAudienceEnum),
45
+ __metadata("design:type", String)
46
+ ], UpdateNotificationTypeDto.prototype, "audience", void 0);
47
+ __decorate([
48
+ (0, class_transformer_1.Expose)(),
49
+ (0, class_validator_1.IsOptional)(),
50
+ (0, class_validator_1.IsEnum)(notification_type_control_enum_1.NotificationTypeControlEnum),
51
+ __metadata("design:type", String)
52
+ ], UpdateNotificationTypeDto.prototype, "control", void 0);
53
+ __decorate([
54
+ (0, class_transformer_1.Expose)(),
55
+ (0, class_validator_1.IsOptional)(),
56
+ (0, class_validator_1.IsArray)(),
57
+ (0, class_validator_1.IsIn)(Object.values(notification_channel_type_enum_1.NotificationChannelTypeEnum).filter((v) => typeof v === 'number'), { each: true }),
58
+ __metadata("design:type", Array)
59
+ ], UpdateNotificationTypeDto.prototype, "channels", void 0);
60
+ __decorate([
61
+ (0, class_transformer_1.Expose)(),
62
+ (0, class_validator_1.IsOptional)(),
63
+ (0, class_validator_1.IsObject)(),
64
+ __metadata("design:type", Object)
65
+ ], UpdateNotificationTypeDto.prototype, "sources", void 0);
66
+ __decorate([
67
+ (0, class_transformer_1.Expose)(),
68
+ (0, class_validator_1.IsOptional)(),
69
+ (0, class_validator_1.IsBoolean)(),
70
+ __metadata("design:type", Boolean)
71
+ ], UpdateNotificationTypeDto.prototype, "active", void 0);
72
+ //# sourceMappingURL=update.notification.type.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update.notification.type.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/update.notification.type.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,qDAA0H;AAC1H,4FAAsF;AACtF,8FAAwF;AACxF,4FAAsF;AAUtF,MAAa,yBAAyB;CA4CrC;AA5CD,8DA4CC;AAvCG;IAJC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACC;AAKd;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8DACU;AAMrB;IAJC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,EAAE,CAAC;;2DACI;AAKlB;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,8DAA4B,CAAC;;2DACG;AAKxC;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,4DAA2B,CAAC;;0DACE;AAMtC;IAJC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,sBAAI,EAAC,MAAM,CAAC,MAAM,CAAC,4DAA2B,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,QAAQ,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;2DAClF;AAKpB;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;0DACgC;AAM3C;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;yDACK"}
@@ -0,0 +1,6 @@
1
+ import { MailLogEntity } from '@servicelabsco/nestjs-utility-services';
2
+ import { AccessBusinessEntity } from './access.business.entity';
3
+ export declare class AccessMailLogEntity extends MailLogEntity {
4
+ business_id: number;
5
+ business: AccessBusinessEntity;
6
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.AccessMailLogEntity = void 0;
13
+ const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
14
+ const typeorm_1 = require("typeorm");
15
+ const access_business_entity_1 = require("./access.business.entity");
16
+ let AccessMailLogEntity = class AccessMailLogEntity extends nestjs_utility_services_1.MailLogEntity {
17
+ };
18
+ exports.AccessMailLogEntity = AccessMailLogEntity;
19
+ __decorate([
20
+ (0, typeorm_1.Column)(),
21
+ __metadata("design:type", Number)
22
+ ], AccessMailLogEntity.prototype, "business_id", void 0);
23
+ __decorate([
24
+ (0, typeorm_1.ManyToOne)(() => access_business_entity_1.AccessBusinessEntity),
25
+ (0, typeorm_1.JoinColumn)({ name: 'business_id' }),
26
+ __metadata("design:type", access_business_entity_1.AccessBusinessEntity)
27
+ ], AccessMailLogEntity.prototype, "business", void 0);
28
+ exports.AccessMailLogEntity = AccessMailLogEntity = __decorate([
29
+ (0, typeorm_1.Entity)('sys_mail_logs')
30
+ ], AccessMailLogEntity);
31
+ //# sourceMappingURL=access.mail.log.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"access.mail.log.entity.js","sourceRoot":"","sources":["../../../src/access/entities/access.mail.log.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAAuE;AACvE,qCAAgE;AAChE,qEAAgE;AAQzD,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,uCAAa;CAMrD,CAAA;AANY,kDAAmB;AAE5B;IADC,IAAA,gBAAM,GAAE;;wDACW;AAGwD;IAA3E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6CAAoB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BAAW,6CAAoB;qDAAC;8BALlG,mBAAmB;IAD/B,IAAA,gBAAM,EAAC,eAAe,CAAC;GACX,mBAAmB,CAM/B"}
@@ -0,0 +1,13 @@
1
+ import { CommonEntity } from '@servicelabsco/nestjs-utility-services';
2
+ import { BusinessNotificationTypePreferenceAttributesDto } from '../dtos/business.notification.type.preference.attributes.dto';
3
+ import { AccessBusinessEntity } from './access.business.entity';
4
+ import { NotificationTypeEntity } from './notification.type.entity';
5
+ export declare class BusinessNotificationTypePreferenceEntity extends CommonEntity {
6
+ business_id: number;
7
+ notification_type_id: number;
8
+ channel_id: number;
9
+ active: boolean;
10
+ attributes: BusinessNotificationTypePreferenceAttributesDto;
11
+ business: AccessBusinessEntity;
12
+ notification_type: NotificationTypeEntity;
13
+ }
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.BusinessNotificationTypePreferenceEntity = void 0;
13
+ const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
14
+ const typeorm_1 = require("typeorm");
15
+ const business_notification_type_preference_attributes_dto_1 = require("../dtos/business.notification.type.preference.attributes.dto");
16
+ const access_business_entity_1 = require("./access.business.entity");
17
+ const notification_type_entity_1 = require("./notification.type.entity");
18
+ let BusinessNotificationTypePreferenceEntity = class BusinessNotificationTypePreferenceEntity extends nestjs_utility_services_1.CommonEntity {
19
+ };
20
+ exports.BusinessNotificationTypePreferenceEntity = BusinessNotificationTypePreferenceEntity;
21
+ __decorate([
22
+ (0, typeorm_1.Column)(),
23
+ __metadata("design:type", Number)
24
+ ], BusinessNotificationTypePreferenceEntity.prototype, "business_id", void 0);
25
+ __decorate([
26
+ (0, typeorm_1.Column)(),
27
+ __metadata("design:type", Number)
28
+ ], BusinessNotificationTypePreferenceEntity.prototype, "notification_type_id", void 0);
29
+ __decorate([
30
+ (0, typeorm_1.Column)(),
31
+ __metadata("design:type", Number)
32
+ ], BusinessNotificationTypePreferenceEntity.prototype, "channel_id", void 0);
33
+ __decorate([
34
+ (0, typeorm_1.Column)(),
35
+ __metadata("design:type", Boolean)
36
+ ], BusinessNotificationTypePreferenceEntity.prototype, "active", void 0);
37
+ __decorate([
38
+ (0, typeorm_1.Column)('jsonb'),
39
+ __metadata("design:type", business_notification_type_preference_attributes_dto_1.BusinessNotificationTypePreferenceAttributesDto)
40
+ ], BusinessNotificationTypePreferenceEntity.prototype, "attributes", void 0);
41
+ __decorate([
42
+ (0, typeorm_1.ManyToOne)(() => access_business_entity_1.AccessBusinessEntity),
43
+ (0, typeorm_1.JoinColumn)({ name: 'business_id' }),
44
+ __metadata("design:type", access_business_entity_1.AccessBusinessEntity)
45
+ ], BusinessNotificationTypePreferenceEntity.prototype, "business", void 0);
46
+ __decorate([
47
+ (0, typeorm_1.ManyToOne)(() => notification_type_entity_1.NotificationTypeEntity),
48
+ (0, typeorm_1.JoinColumn)({ name: 'notification_type_id' }),
49
+ __metadata("design:type", notification_type_entity_1.NotificationTypeEntity)
50
+ ], BusinessNotificationTypePreferenceEntity.prototype, "notification_type", void 0);
51
+ exports.BusinessNotificationTypePreferenceEntity = BusinessNotificationTypePreferenceEntity = __decorate([
52
+ (0, typeorm_1.Entity)('bz_notification_type_preferences')
53
+ ], BusinessNotificationTypePreferenceEntity);
54
+ //# sourceMappingURL=business.notification.type.preference.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"business.notification.type.preference.entity.js","sourceRoot":"","sources":["../../../src/access/entities/business.notification.type.preference.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAAsE;AACtE,qCAAgE;AAChE,uIAA+H;AAC/H,qEAAgE;AAChE,yEAAoE;AAW7D,IAAM,wCAAwC,GAA9C,MAAM,wCAAyC,SAAQ,sCAAY;CAoBzE,CAAA;AApBY,4FAAwC;AAEjD;IADC,IAAA,gBAAM,GAAE;;6EACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;sFACoB;AAI7B;IADC,IAAA,gBAAM,GAAE;;4EACU;AAGnB;IADC,IAAA,gBAAM,GAAE;;wEACO;AAGhB;IADC,IAAA,gBAAM,EAAC,OAAO,CAAC;8BACJ,sGAA+C;4EAAC;AAGgB;IAA3E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6CAAoB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BAAW,6CAAoB;0EAAC;AACpB;IAAtF,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,iDAAsB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,sBAAsB,EAAE,CAAC;8BAAoB,iDAAsB;mFAAC;mDAnBxH,wCAAwC;IADpD,IAAA,gBAAM,EAAC,kCAAkC,CAAC;GAC9B,wCAAwC,CAoBpD"}
@@ -1,6 +1,7 @@
1
1
  export * from './access.business.entity';
2
2
  export * from './access.country.entity';
3
3
  export * from './access.employee.entity';
4
+ export * from './access.mail.log.entity';
4
5
  export * from './access.whatsapp.template.entity';
5
6
  export * from './alias.mapping.entity';
6
7
  export * from './api.account.entity';
@@ -16,6 +17,7 @@ export * from './business.group.role.entity';
16
17
  export * from './business.material.view.entity';
17
18
  export * from './business.menu.entity';
18
19
  export * from './business.menu.layout.entity';
20
+ export * from './business.notification.type.preference.entity';
19
21
  export * from './business.preference.entity';
20
22
  export * from './business.property.entity';
21
23
  export * from './business.report.entity';
@@ -72,6 +74,7 @@ export * from './menu.entity';
72
74
  export * from './menu.role.entity';
73
75
  export * from './module.entity';
74
76
  export * from './module.menu.entity';
77
+ export * from './notification.type.entity';
75
78
  export * from './oauth.authorization.entity';
76
79
  export * from './oauth.client.entity';
77
80
  export * from './onhold.document.entity';
@@ -95,6 +98,7 @@ export * from './ui.action.entity';
95
98
  export * from './ui.action.role.entity';
96
99
  export * from './user.business.secret.entity';
97
100
  export * from './user.notification.entity';
101
+ export * from './user.notification.type.preference.entity';
98
102
  export * from './user.preference.entity';
99
103
  export * from './user.role.entity';
100
104
  export * from './watchlist.assignment.entity';
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./access.business.entity"), exports);
18
18
  __exportStar(require("./access.country.entity"), exports);
19
19
  __exportStar(require("./access.employee.entity"), exports);
20
+ __exportStar(require("./access.mail.log.entity"), exports);
20
21
  __exportStar(require("./access.whatsapp.template.entity"), exports);
21
22
  __exportStar(require("./alias.mapping.entity"), exports);
22
23
  __exportStar(require("./api.account.entity"), exports);
@@ -32,6 +33,7 @@ __exportStar(require("./business.group.role.entity"), exports);
32
33
  __exportStar(require("./business.material.view.entity"), exports);
33
34
  __exportStar(require("./business.menu.entity"), exports);
34
35
  __exportStar(require("./business.menu.layout.entity"), exports);
36
+ __exportStar(require("./business.notification.type.preference.entity"), exports);
35
37
  __exportStar(require("./business.preference.entity"), exports);
36
38
  __exportStar(require("./business.property.entity"), exports);
37
39
  __exportStar(require("./business.report.entity"), exports);
@@ -88,6 +90,7 @@ __exportStar(require("./menu.entity"), exports);
88
90
  __exportStar(require("./menu.role.entity"), exports);
89
91
  __exportStar(require("./module.entity"), exports);
90
92
  __exportStar(require("./module.menu.entity"), exports);
93
+ __exportStar(require("./notification.type.entity"), exports);
91
94
  __exportStar(require("./oauth.authorization.entity"), exports);
92
95
  __exportStar(require("./oauth.client.entity"), exports);
93
96
  __exportStar(require("./onhold.document.entity"), exports);
@@ -111,6 +114,7 @@ __exportStar(require("./ui.action.entity"), exports);
111
114
  __exportStar(require("./ui.action.role.entity"), exports);
112
115
  __exportStar(require("./user.business.secret.entity"), exports);
113
116
  __exportStar(require("./user.notification.entity"), exports);
117
+ __exportStar(require("./user.notification.type.preference.entity"), exports);
114
118
  __exportStar(require("./user.preference.entity"), exports);
115
119
  __exportStar(require("./user.role.entity"), exports);
116
120
  __exportStar(require("./watchlist.assignment.entity"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAGA,2DAAyC;AACzC,0DAAwC;AACxC,2DAAyC;AACzC,oEAAkD;AAClD,yDAAuC;AACvC,uDAAqC;AACrC,2DAAyC;AACzC,+EAA6D;AAC7D,oEAAkD;AAClD,6EAA2D;AAC3D,6DAA2C;AAC3C,wEAAsD;AACtD,0DAAwC;AACxC,4DAA0C;AAC1C,+DAA6C;AAC7C,kEAAgD;AAChD,yDAAuC;AACvC,gEAA8C;AAC9C,+DAA6C;AAC7C,6DAA2C;AAC3C,2DAAyC;AACzC,2DAAyC;AACzC,8DAA4C;AAC5C,yDAAuC;AACvC,+DAA6C;AAC7C,iFAA+D;AAC/D,8DAA4C;AAC5C,4DAA0C;AAC1C,8EAA4D;AAC5D,sDAAoC;AACpC,uDAAqC;AACrC,uDAAqC;AACrC,wDAAsC;AACtC,yDAAuC;AACvC,wDAAsC;AACtC,yDAAuC;AACvC,+DAA6C;AAC7C,qDAAmC;AACnC,uDAAqC;AACrC,wDAAsC;AACtC,4DAA0C;AAC1C,yDAAuC;AACvC,2DAAyC;AACzC,sDAAoC;AACpC,uDAAqC;AACrC,8DAA4C;AAC5C,oEAAkD;AAClD,yDAAuC;AACvC,6DAA2C;AAC3C,yDAAuC;AACvC,uDAAqC;AACrC,qDAAmC;AACnC,mDAAiC;AACjC,wDAAsC;AACtC,wDAAsC;AACtC,uDAAqC;AACrC,yDAAuC;AACvC,0DAAwC;AACxC,sDAAoC;AACpC,yDAAuC;AACvC,iEAA+C;AAC/C,wDAAsC;AACtC,sDAAoC;AACpC,uDAAqC;AACrC,2DAAyC;AACzC,0DAAwC;AACxC,wDAAsC;AACtC,8DAA4C;AAC5C,uDAAqC;AACrC,uDAAqC;AACrC,gDAA8B;AAC9B,qDAAmC;AACnC,kDAAgC;AAChC,uDAAqC;AACrC,+DAA6C;AAC7C,wDAAsC;AACtC,2DAAyC;AACzC,6DAA2C;AAC3C,2DAAyC;AACzC,iEAA+C;AAC/C,mDAAiC;AACjC,sDAAoC;AACpC,uDAAqC;AACrC,sDAAoC;AACpC,kEAAgD;AAChD,4DAA0C;AAC1C,iEAA+C;AAC/C,6DAA2C;AAC3C,yDAAuC;AACvC,0DAAwC;AACxC,sDAAoC;AACpC,yDAAuC;AACvC,iEAA+C;AAC/C,qDAAmC;AACnC,0DAAwC;AACxC,gEAA8C;AAC9C,6DAA2C;AAC3C,2DAAyC;AACzC,qDAAmC;AACnC,gEAA8C;AAC9C,yDAAuC;AACvC,uDAAqC;AACrC,wDAAsC;AACtC,wDAAsC;AACtC,4DAA0C;AAC1C,+DAA6C;AAC7C,uEAAqD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAGA,2DAAyC;AACzC,0DAAwC;AACxC,2DAAyC;AACzC,2DAAyC;AACzC,oEAAkD;AAClD,yDAAuC;AACvC,uDAAqC;AACrC,2DAAyC;AACzC,+EAA6D;AAC7D,oEAAkD;AAClD,6EAA2D;AAC3D,6DAA2C;AAC3C,wEAAsD;AACtD,0DAAwC;AACxC,4DAA0C;AAC1C,+DAA6C;AAC7C,kEAAgD;AAChD,yDAAuC;AACvC,gEAA8C;AAC9C,iFAA+D;AAC/D,+DAA6C;AAC7C,6DAA2C;AAC3C,2DAAyC;AACzC,2DAAyC;AACzC,8DAA4C;AAC5C,yDAAuC;AACvC,+DAA6C;AAC7C,iFAA+D;AAC/D,8DAA4C;AAC5C,4DAA0C;AAC1C,8EAA4D;AAC5D,sDAAoC;AACpC,uDAAqC;AACrC,uDAAqC;AACrC,wDAAsC;AACtC,yDAAuC;AACvC,wDAAsC;AACtC,yDAAuC;AACvC,+DAA6C;AAC7C,qDAAmC;AACnC,uDAAqC;AACrC,wDAAsC;AACtC,4DAA0C;AAC1C,yDAAuC;AACvC,2DAAyC;AACzC,sDAAoC;AACpC,uDAAqC;AACrC,8DAA4C;AAC5C,oEAAkD;AAClD,yDAAuC;AACvC,6DAA2C;AAC3C,yDAAuC;AACvC,uDAAqC;AACrC,qDAAmC;AACnC,mDAAiC;AACjC,wDAAsC;AACtC,wDAAsC;AACtC,uDAAqC;AACrC,yDAAuC;AACvC,0DAAwC;AACxC,sDAAoC;AACpC,yDAAuC;AACvC,iEAA+C;AAC/C,wDAAsC;AACtC,sDAAoC;AACpC,uDAAqC;AACrC,2DAAyC;AACzC,0DAAwC;AACxC,wDAAsC;AACtC,8DAA4C;AAC5C,uDAAqC;AACrC,uDAAqC;AACrC,gDAA8B;AAC9B,qDAAmC;AACnC,kDAAgC;AAChC,uDAAqC;AACrC,6DAA2C;AAC3C,+DAA6C;AAC7C,wDAAsC;AACtC,2DAAyC;AACzC,6DAA2C;AAC3C,2DAAyC;AACzC,iEAA+C;AAC/C,mDAAiC;AACjC,sDAAoC;AACpC,uDAAqC;AACrC,sDAAoC;AACpC,kEAAgD;AAChD,4DAA0C;AAC1C,iEAA+C;AAC/C,6DAA2C;AAC3C,yDAAuC;AACvC,0DAAwC;AACxC,sDAAoC;AACpC,yDAAuC;AACvC,iEAA+C;AAC/C,qDAAmC;AACnC,0DAAwC;AACxC,gEAA8C;AAC9C,6DAA2C;AAC3C,6EAA2D;AAC3D,2DAAyC;AACzC,qDAAmC;AACnC,gEAA8C;AAC9C,yDAAuC;AACvC,uDAAqC;AACrC,wDAAsC;AACtC,wDAAsC;AACtC,4DAA0C;AAC1C,+DAA6C;AAC7C,uEAAqD"}
@@ -0,0 +1,16 @@
1
+ import { CommonAttributesDto, CommonEntity } from '@servicelabsco/nestjs-utility-services';
2
+ import { NotificationTypeAudienceEnum } from '../enums/notification.type.audience.enum';
3
+ import { NotificationTypeControlEnum } from '../enums/notification.type.control.enum';
4
+ import { NotificationTypeSourcesInterface } from '../interfaces/notification.type.sources.interface';
5
+ export declare class NotificationTypeEntity extends CommonEntity {
6
+ identifier: string;
7
+ name: string;
8
+ description: string;
9
+ category: string;
10
+ audience: NotificationTypeAudienceEnum;
11
+ control: NotificationTypeControlEnum;
12
+ channels: number[];
13
+ sources: NotificationTypeSourcesInterface;
14
+ active: boolean;
15
+ attributes: CommonAttributesDto;
16
+ }
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.NotificationTypeEntity = void 0;
13
+ const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
14
+ const typeorm_1 = require("typeorm");
15
+ const notification_type_audience_enum_1 = require("../enums/notification.type.audience.enum");
16
+ const notification_type_control_enum_1 = require("../enums/notification.type.control.enum");
17
+ let NotificationTypeEntity = class NotificationTypeEntity extends nestjs_utility_services_1.CommonEntity {
18
+ };
19
+ exports.NotificationTypeEntity = NotificationTypeEntity;
20
+ __decorate([
21
+ (0, typeorm_1.Column)(),
22
+ __metadata("design:type", String)
23
+ ], NotificationTypeEntity.prototype, "identifier", void 0);
24
+ __decorate([
25
+ (0, typeorm_1.Column)(),
26
+ __metadata("design:type", String)
27
+ ], NotificationTypeEntity.prototype, "name", void 0);
28
+ __decorate([
29
+ (0, typeorm_1.Column)(),
30
+ __metadata("design:type", String)
31
+ ], NotificationTypeEntity.prototype, "description", void 0);
32
+ __decorate([
33
+ (0, typeorm_1.Column)(),
34
+ __metadata("design:type", String)
35
+ ], NotificationTypeEntity.prototype, "category", void 0);
36
+ __decorate([
37
+ (0, typeorm_1.Column)(),
38
+ __metadata("design:type", String)
39
+ ], NotificationTypeEntity.prototype, "audience", void 0);
40
+ __decorate([
41
+ (0, typeorm_1.Column)(),
42
+ __metadata("design:type", String)
43
+ ], NotificationTypeEntity.prototype, "control", void 0);
44
+ __decorate([
45
+ (0, typeorm_1.Column)('jsonb'),
46
+ __metadata("design:type", Array)
47
+ ], NotificationTypeEntity.prototype, "channels", void 0);
48
+ __decorate([
49
+ (0, typeorm_1.Column)('jsonb'),
50
+ __metadata("design:type", Object)
51
+ ], NotificationTypeEntity.prototype, "sources", void 0);
52
+ __decorate([
53
+ (0, typeorm_1.Column)(),
54
+ __metadata("design:type", Boolean)
55
+ ], NotificationTypeEntity.prototype, "active", void 0);
56
+ __decorate([
57
+ (0, typeorm_1.Column)('jsonb'),
58
+ __metadata("design:type", nestjs_utility_services_1.CommonAttributesDto)
59
+ ], NotificationTypeEntity.prototype, "attributes", void 0);
60
+ exports.NotificationTypeEntity = NotificationTypeEntity = __decorate([
61
+ (0, typeorm_1.Entity)('sys_notification_types')
62
+ ], NotificationTypeEntity);
63
+ //# sourceMappingURL=notification.type.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification.type.entity.js","sourceRoot":"","sources":["../../../src/access/entities/notification.type.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAA2F;AAC3F,qCAAyC;AACzC,8FAAwF;AACxF,4FAAsF;AAY/E,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,sCAAY;CAoCvD,CAAA;AApCY,wDAAsB;AAG/B;IADC,IAAA,gBAAM,GAAE;;0DACU;AAInB;IADC,IAAA,gBAAM,GAAE;;oDACI;AAIb;IADC,IAAA,gBAAM,GAAE;;2DACW;AAIpB;IADC,IAAA,gBAAM,GAAE;;wDACQ;AAGjB;IADC,IAAA,gBAAM,GAAE;;wDAC8B;AAGvC;IADC,IAAA,gBAAM,GAAE;;uDAC4B;AAIrC;IADC,IAAA,gBAAM,EAAC,OAAO,CAAC;;wDACG;AAGnB;IADC,IAAA,gBAAM,EAAC,OAAO,CAAC;;uDAC0B;AAI1C;IADC,IAAA,gBAAM,GAAE;;sDACO;AAGhB;IADC,IAAA,gBAAM,EAAC,OAAO,CAAC;8BACJ,6CAAmB;0DAAC;iCAnCvB,sBAAsB;IADlC,IAAA,gBAAM,EAAC,wBAAwB,CAAC;GACpB,sBAAsB,CAoClC"}
@@ -0,0 +1,15 @@
1
+ import { CommonEntity, UserEntity } from '@servicelabsco/nestjs-utility-services';
2
+ import { BusinessNotificationTypePreferenceAttributesDto } from '../dtos/business.notification.type.preference.attributes.dto';
3
+ import { AccessBusinessEntity } from './access.business.entity';
4
+ import { NotificationTypeEntity } from './notification.type.entity';
5
+ export declare class UserNotificationTypePreferenceEntity extends CommonEntity {
6
+ business_id: number;
7
+ user_id: number;
8
+ notification_type_id: number;
9
+ channel_id: number;
10
+ active: boolean;
11
+ attributes: BusinessNotificationTypePreferenceAttributesDto;
12
+ business: AccessBusinessEntity;
13
+ user: UserEntity;
14
+ notification_type: NotificationTypeEntity;
15
+ }
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.UserNotificationTypePreferenceEntity = void 0;
13
+ const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
14
+ const typeorm_1 = require("typeorm");
15
+ const business_notification_type_preference_attributes_dto_1 = require("../dtos/business.notification.type.preference.attributes.dto");
16
+ const access_business_entity_1 = require("./access.business.entity");
17
+ const notification_type_entity_1 = require("./notification.type.entity");
18
+ let UserNotificationTypePreferenceEntity = class UserNotificationTypePreferenceEntity extends nestjs_utility_services_1.CommonEntity {
19
+ };
20
+ exports.UserNotificationTypePreferenceEntity = UserNotificationTypePreferenceEntity;
21
+ __decorate([
22
+ (0, typeorm_1.Column)(),
23
+ __metadata("design:type", Number)
24
+ ], UserNotificationTypePreferenceEntity.prototype, "business_id", void 0);
25
+ __decorate([
26
+ (0, typeorm_1.Column)(),
27
+ __metadata("design:type", Number)
28
+ ], UserNotificationTypePreferenceEntity.prototype, "user_id", void 0);
29
+ __decorate([
30
+ (0, typeorm_1.Column)(),
31
+ __metadata("design:type", Number)
32
+ ], UserNotificationTypePreferenceEntity.prototype, "notification_type_id", void 0);
33
+ __decorate([
34
+ (0, typeorm_1.Column)(),
35
+ __metadata("design:type", Number)
36
+ ], UserNotificationTypePreferenceEntity.prototype, "channel_id", void 0);
37
+ __decorate([
38
+ (0, typeorm_1.Column)(),
39
+ __metadata("design:type", Boolean)
40
+ ], UserNotificationTypePreferenceEntity.prototype, "active", void 0);
41
+ __decorate([
42
+ (0, typeorm_1.Column)('jsonb'),
43
+ __metadata("design:type", business_notification_type_preference_attributes_dto_1.BusinessNotificationTypePreferenceAttributesDto)
44
+ ], UserNotificationTypePreferenceEntity.prototype, "attributes", void 0);
45
+ __decorate([
46
+ (0, typeorm_1.ManyToOne)(() => access_business_entity_1.AccessBusinessEntity),
47
+ (0, typeorm_1.JoinColumn)({ name: 'business_id' }),
48
+ __metadata("design:type", access_business_entity_1.AccessBusinessEntity)
49
+ ], UserNotificationTypePreferenceEntity.prototype, "business", void 0);
50
+ __decorate([
51
+ (0, typeorm_1.ManyToOne)(() => nestjs_utility_services_1.UserEntity),
52
+ (0, typeorm_1.JoinColumn)({ name: 'user_id' }),
53
+ __metadata("design:type", nestjs_utility_services_1.UserEntity)
54
+ ], UserNotificationTypePreferenceEntity.prototype, "user", void 0);
55
+ __decorate([
56
+ (0, typeorm_1.ManyToOne)(() => notification_type_entity_1.NotificationTypeEntity),
57
+ (0, typeorm_1.JoinColumn)({ name: 'notification_type_id' }),
58
+ __metadata("design:type", notification_type_entity_1.NotificationTypeEntity)
59
+ ], UserNotificationTypePreferenceEntity.prototype, "notification_type", void 0);
60
+ exports.UserNotificationTypePreferenceEntity = UserNotificationTypePreferenceEntity = __decorate([
61
+ (0, typeorm_1.Entity)('bz_user_notification_type_preferences')
62
+ ], UserNotificationTypePreferenceEntity);
63
+ //# sourceMappingURL=user.notification.type.preference.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user.notification.type.preference.entity.js","sourceRoot":"","sources":["../../../src/access/entities/user.notification.type.preference.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAAkF;AAClF,qCAAgE;AAChE,uIAA+H;AAC/H,qEAAgE;AAChE,yEAAoE;AAW7D,IAAM,oCAAoC,GAA1C,MAAM,oCAAqC,SAAQ,sCAAY;CAwBrE,CAAA;AAxBY,oFAAoC;AAE7C;IADC,IAAA,gBAAM,GAAE;;yEACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;qEACO;AAGhB;IADC,IAAA,gBAAM,GAAE;;kFACoB;AAI7B;IADC,IAAA,gBAAM,GAAE;;wEACU;AAGnB;IADC,IAAA,gBAAM,GAAE;;oEACO;AAGhB;IADC,IAAA,gBAAM,EAAC,OAAO,CAAC;8BACJ,sGAA+C;wEAAC;AAGgB;IAA3E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6CAAoB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BAAW,6CAAoB;sEAAC;AAC7C;IAA7D,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oCAAU,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;8BAAO,oCAAU;kEAAC;AACQ;IAAtF,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,iDAAsB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,sBAAsB,EAAE,CAAC;8BAAoB,iDAAsB;+EAAC;+CAvBxH,oCAAoC;IADhD,IAAA,gBAAM,EAAC,uCAAuC,CAAC;GACnC,oCAAoC,CAwBhD"}
@@ -2,6 +2,9 @@ export * from './business.email.type.enum';
2
2
  export * from './custom.column.type.enum';
3
3
  export * from './listing.view.type.enum';
4
4
  export * from './notification.channel.type.enum';
5
+ export * from './notification.suppression.reason.enum';
6
+ export * from './notification.type.audience.enum';
7
+ export * from './notification.type.control.enum';
5
8
  export * from './notification.type.enum';
6
9
  export * from './platform.type.enum';
7
10
  export * from './product.type.enum';
@@ -18,6 +18,9 @@ __exportStar(require("./business.email.type.enum"), exports);
18
18
  __exportStar(require("./custom.column.type.enum"), exports);
19
19
  __exportStar(require("./listing.view.type.enum"), exports);
20
20
  __exportStar(require("./notification.channel.type.enum"), exports);
21
+ __exportStar(require("./notification.suppression.reason.enum"), exports);
22
+ __exportStar(require("./notification.type.audience.enum"), exports);
23
+ __exportStar(require("./notification.type.control.enum"), exports);
21
24
  __exportStar(require("./notification.type.enum"), exports);
22
25
  __exportStar(require("./platform.type.enum"), exports);
23
26
  __exportStar(require("./product.type.enum"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAGA,6DAA2C;AAC3C,4DAA0C;AAC1C,2DAAyC;AACzC,mEAAiD;AACjD,2DAAyC;AACzC,uDAAqC;AACrC,sDAAoC;AACpC,0DAAwC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAGA,6DAA2C;AAC3C,4DAA0C;AAC1C,2DAAyC;AACzC,mEAAiD;AACjD,yEAAuD;AACvD,oEAAkD;AAClD,mEAAiD;AACjD,2DAAyC;AACzC,uDAAqC;AACrC,sDAAoC;AACpC,0DAAwC"}
@@ -3,5 +3,6 @@ export declare enum NotificationChannelTypeEnum {
3
3
  EMAIL = 5001,
4
4
  WHATSAPP = 5002,
5
5
  TEAMS = 5003,
6
- GCHAT = 5004
6
+ GCHAT = 5004,
7
+ SMS = 5005
7
8
  }
@@ -8,5 +8,6 @@ var NotificationChannelTypeEnum;
8
8
  NotificationChannelTypeEnum[NotificationChannelTypeEnum["WHATSAPP"] = 5002] = "WHATSAPP";
9
9
  NotificationChannelTypeEnum[NotificationChannelTypeEnum["TEAMS"] = 5003] = "TEAMS";
10
10
  NotificationChannelTypeEnum[NotificationChannelTypeEnum["GCHAT"] = 5004] = "GCHAT";
11
+ NotificationChannelTypeEnum[NotificationChannelTypeEnum["SMS"] = 5005] = "SMS";
11
12
  })(NotificationChannelTypeEnum || (exports.NotificationChannelTypeEnum = NotificationChannelTypeEnum = {}));
12
13
  //# sourceMappingURL=notification.channel.type.enum.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"notification.channel.type.enum.js","sourceRoot":"","sources":["../../../src/access/enums/notification.channel.type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,2BAMX;AAND,WAAY,2BAA2B;IACnC,kFAAY,CAAA;IACZ,kFAAY,CAAA;IACZ,wFAAe,CAAA;IACf,kFAAY,CAAA;IACZ,kFAAY,CAAA;AAChB,CAAC,EANW,2BAA2B,2CAA3B,2BAA2B,QAMtC"}
1
+ {"version":3,"file":"notification.channel.type.enum.js","sourceRoot":"","sources":["../../../src/access/enums/notification.channel.type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,2BAOX;AAPD,WAAY,2BAA2B;IACnC,kFAAY,CAAA;IACZ,kFAAY,CAAA;IACZ,wFAAe,CAAA;IACf,kFAAY,CAAA;IACZ,kFAAY,CAAA;IACZ,8EAAU,CAAA;AACd,CAAC,EAPW,2BAA2B,2CAA3B,2BAA2B,QAOtC"}