grm-shared-library 1.1.235 → 1.1.237

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 (262) hide show
  1. package/README.md +24 -0
  2. package/dist/cjs/index.js +1 -0
  3. package/dist/cjs/index.js.map +1 -1
  4. package/dist/cjs/kafka/topics.js +10 -0
  5. package/dist/cjs/kafka/topics.js.map +1 -1
  6. package/dist/cjs/modules/dispatch/constants/response-unit-dispatch-defaults.const.js +55 -0
  7. package/dist/cjs/modules/dispatch/constants/response-unit-dispatch-defaults.const.js.map +1 -0
  8. package/dist/cjs/modules/dispatch/constants/response-unit-dispatch-kafka.const.js +21 -0
  9. package/dist/cjs/modules/dispatch/constants/response-unit-dispatch-kafka.const.js.map +1 -0
  10. package/dist/cjs/modules/dispatch/dtos/dispatch-response-unit.dto.js +58 -0
  11. package/dist/cjs/modules/dispatch/dtos/dispatch-response-unit.dto.js.map +1 -0
  12. package/dist/cjs/modules/dispatch/dtos/response-unit-dispatch-notification.dto.js +230 -0
  13. package/dist/cjs/modules/dispatch/dtos/response-unit-dispatch-notification.dto.js.map +1 -0
  14. package/dist/cjs/modules/dispatch/dtos/response-unit-dispatch-profile-query.dto.js +61 -0
  15. package/dist/cjs/modules/dispatch/dtos/response-unit-dispatch-profile-query.dto.js.map +1 -0
  16. package/dist/cjs/modules/dispatch/dtos/response-unit-nearby-query.dto.js +66 -0
  17. package/dist/cjs/modules/dispatch/dtos/response-unit-nearby-query.dto.js.map +1 -0
  18. package/dist/cjs/modules/dispatch/dtos/update-response-unit-dispatch-status.dto.js +41 -0
  19. package/dist/cjs/modules/dispatch/dtos/update-response-unit-dispatch-status.dto.js.map +1 -0
  20. package/dist/cjs/modules/dispatch/enums/incident-dispatch-blocker.enum.js +21 -0
  21. package/dist/cjs/modules/dispatch/enums/incident-dispatch-blocker.enum.js.map +1 -0
  22. package/dist/cjs/modules/dispatch/enums/response-capability-requirement-source.enum.js +12 -0
  23. package/dist/cjs/modules/dispatch/enums/response-capability-requirement-source.enum.js.map +1 -0
  24. package/dist/cjs/modules/dispatch/enums/response-unit-capability-match.enum.js +24 -0
  25. package/dist/cjs/modules/dispatch/enums/response-unit-capability-match.enum.js.map +1 -0
  26. package/dist/cjs/modules/dispatch/enums/response-unit-dispatch-constraint.enum.js +34 -0
  27. package/dist/cjs/modules/dispatch/enums/response-unit-dispatch-constraint.enum.js.map +1 -0
  28. package/dist/cjs/modules/dispatch/enums/response-unit-dispatch-error-code.enum.js +26 -0
  29. package/dist/cjs/modules/dispatch/enums/response-unit-dispatch-error-code.enum.js.map +1 -0
  30. package/dist/cjs/modules/dispatch/enums/response-unit-dispatch-notification-failure.enum.js +18 -0
  31. package/dist/cjs/modules/dispatch/enums/response-unit-dispatch-notification-failure.enum.js.map +1 -0
  32. package/dist/cjs/modules/dispatch/enums/response-unit-dispatch-notification-status.enum.js +16 -0
  33. package/dist/cjs/modules/dispatch/enums/response-unit-dispatch-notification-status.enum.js.map +1 -0
  34. package/dist/cjs/modules/dispatch/enums/response-unit-dispatch-status.enum.js +33 -0
  35. package/dist/cjs/modules/dispatch/enums/response-unit-dispatch-status.enum.js.map +1 -0
  36. package/dist/cjs/modules/dispatch/enums/response-unit-dispatch-transition-source.enum.js +16 -0
  37. package/dist/cjs/modules/dispatch/enums/response-unit-dispatch-transition-source.enum.js.map +1 -0
  38. package/dist/cjs/modules/dispatch/enums/response-unit-distance-basis.enum.js +12 -0
  39. package/dist/cjs/modules/dispatch/enums/response-unit-distance-basis.enum.js.map +1 -0
  40. package/dist/cjs/modules/dispatch/enums/response-unit-location-freshness.enum.js +21 -0
  41. package/dist/cjs/modules/dispatch/enums/response-unit-location-freshness.enum.js.map +1 -0
  42. package/dist/cjs/modules/dispatch/enums/response-unit-location-source.enum.js +17 -0
  43. package/dist/cjs/modules/dispatch/enums/response-unit-location-source.enum.js.map +1 -0
  44. package/dist/cjs/modules/dispatch/enums/response-unit-recommendation-reason.enum.js +25 -0
  45. package/dist/cjs/modules/dispatch/enums/response-unit-recommendation-reason.enum.js.map +1 -0
  46. package/dist/cjs/modules/dispatch/enums/response-unit-recommendation-status.enum.js +23 -0
  47. package/dist/cjs/modules/dispatch/enums/response-unit-recommendation-status.enum.js.map +1 -0
  48. package/dist/cjs/modules/dispatch/index.js +53 -0
  49. package/dist/cjs/modules/dispatch/index.js.map +1 -0
  50. package/dist/cjs/modules/dispatch/interfaces/incident-response-unit-dispatch.js +3 -0
  51. package/dist/cjs/modules/dispatch/interfaces/incident-response-unit-dispatch.js.map +1 -0
  52. package/dist/cjs/modules/dispatch/interfaces/response-unit-dispatch-events.js +3 -0
  53. package/dist/cjs/modules/dispatch/interfaces/response-unit-dispatch-events.js.map +1 -0
  54. package/dist/cjs/modules/dispatch/interfaces/response-unit-dispatch-profile.js +3 -0
  55. package/dist/cjs/modules/dispatch/interfaces/response-unit-dispatch-profile.js.map +1 -0
  56. package/dist/cjs/modules/dispatch/interfaces/response-unit-proximity.js +3 -0
  57. package/dist/cjs/modules/dispatch/interfaces/response-unit-proximity.js.map +1 -0
  58. package/dist/cjs/modules/dispatch/interfaces/response-unit-recommendation.js +3 -0
  59. package/dist/cjs/modules/dispatch/interfaces/response-unit-recommendation.js.map +1 -0
  60. package/dist/cjs/modules/dispatch/utils/dispatch-geo.util.js +44 -0
  61. package/dist/cjs/modules/dispatch/utils/dispatch-geo.util.js.map +1 -0
  62. package/dist/cjs/modules/dispatch/utils/incident-dispatchability.util.js +42 -0
  63. package/dist/cjs/modules/dispatch/utils/incident-dispatchability.util.js.map +1 -0
  64. package/dist/cjs/modules/dispatch/utils/response-capability-match.util.js +44 -0
  65. package/dist/cjs/modules/dispatch/utils/response-capability-match.util.js.map +1 -0
  66. package/dist/cjs/modules/dispatch/utils/response-unit-dispatch-event.util.js +19 -0
  67. package/dist/cjs/modules/dispatch/utils/response-unit-dispatch-event.util.js.map +1 -0
  68. package/dist/cjs/modules/dispatch/utils/response-unit-dispatch-status.util.js +49 -0
  69. package/dist/cjs/modules/dispatch/utils/response-unit-dispatch-status.util.js.map +1 -0
  70. package/dist/cjs/modules/incident/dtos/category/create-incident-category.dto.js +9 -0
  71. package/dist/cjs/modules/incident/dtos/category/create-incident-category.dto.js.map +1 -1
  72. package/dist/cjs/modules/incident/dtos/type/create-incident-type.dto.js +9 -0
  73. package/dist/cjs/modules/incident/dtos/type/create-incident-type.dto.js.map +1 -1
  74. package/dist/cjs/modules/incident/enums/incident-actions.enum.js +4 -0
  75. package/dist/cjs/modules/incident/enums/incident-actions.enum.js.map +1 -1
  76. package/dist/cjs/modules/notification/dtos/notification-analytics-query.dto.js +56 -0
  77. package/dist/cjs/modules/notification/dtos/notification-analytics-query.dto.js.map +1 -0
  78. package/dist/cjs/modules/notification/index.js +3 -0
  79. package/dist/cjs/modules/notification/index.js.map +1 -1
  80. package/dist/cjs/modules/notification/interfaces/notification-analytics.js +27 -0
  81. package/dist/cjs/modules/notification/interfaces/notification-analytics.js.map +1 -0
  82. package/dist/cjs/modules/permission/data/permissions.data.js +9 -0
  83. package/dist/cjs/modules/permission/data/permissions.data.js.map +1 -1
  84. package/dist/cjs/modules/permission/enums/permission-actions.enum.js +19 -0
  85. package/dist/cjs/modules/permission/enums/permission-actions.enum.js.map +1 -1
  86. package/dist/cjs/modules/permission/enums/permissions-module.enum.js +1 -0
  87. package/dist/cjs/modules/permission/enums/permissions-module.enum.js.map +1 -1
  88. package/dist/cjs/modules/response-unit/dtos/response-unit/base-response-unit.dto.js +9 -0
  89. package/dist/cjs/modules/response-unit/dtos/response-unit/base-response-unit.dto.js.map +1 -1
  90. package/dist/cjs/modules/response-unit/enums/response-unit/response-capability.enum.js +29 -0
  91. package/dist/cjs/modules/response-unit/enums/response-unit/response-capability.enum.js.map +1 -0
  92. package/dist/cjs/modules/response-unit/enums/response-unit/response-unit-availability.enum.js +27 -0
  93. package/dist/cjs/modules/response-unit/enums/response-unit/response-unit-availability.enum.js.map +1 -0
  94. package/dist/cjs/modules/response-unit/index.js +5 -0
  95. package/dist/cjs/modules/response-unit/index.js.map +1 -1
  96. package/dist/cjs/modules/response-unit/utils/response-capability.util.js +74 -0
  97. package/dist/cjs/modules/response-unit/utils/response-capability.util.js.map +1 -0
  98. package/dist/cjs/modules/response-unit/utils/response-unit-availability.util.js +46 -0
  99. package/dist/cjs/modules/response-unit/utils/response-unit-availability.util.js.map +1 -0
  100. package/dist/cjs/modules/role/data/roles.data.js +27 -0
  101. package/dist/cjs/modules/role/data/roles.data.js.map +1 -1
  102. package/dist/cjs/modules/sms/constants/sms-templates.config.js +18 -0
  103. package/dist/cjs/modules/sms/constants/sms-templates.config.js.map +1 -1
  104. package/dist/cjs/modules/sms/enums/sms-template.enum.js +1 -0
  105. package/dist/cjs/modules/sms/enums/sms-template.enum.js.map +1 -1
  106. package/dist/esm/index.js +1 -0
  107. package/dist/esm/index.js.map +1 -1
  108. package/dist/esm/kafka/topics.js +10 -0
  109. package/dist/esm/kafka/topics.js.map +1 -1
  110. package/dist/esm/modules/dispatch/constants/response-unit-dispatch-defaults.const.js +52 -0
  111. package/dist/esm/modules/dispatch/constants/response-unit-dispatch-defaults.const.js.map +1 -0
  112. package/dist/esm/modules/dispatch/constants/response-unit-dispatch-kafka.const.js +18 -0
  113. package/dist/esm/modules/dispatch/constants/response-unit-dispatch-kafka.const.js.map +1 -0
  114. package/dist/esm/modules/dispatch/dtos/dispatch-response-unit.dto.js +54 -0
  115. package/dist/esm/modules/dispatch/dtos/dispatch-response-unit.dto.js.map +1 -0
  116. package/dist/esm/modules/dispatch/dtos/response-unit-dispatch-notification.dto.js +223 -0
  117. package/dist/esm/modules/dispatch/dtos/response-unit-dispatch-notification.dto.js.map +1 -0
  118. package/dist/esm/modules/dispatch/dtos/response-unit-dispatch-profile-query.dto.js +57 -0
  119. package/dist/esm/modules/dispatch/dtos/response-unit-dispatch-profile-query.dto.js.map +1 -0
  120. package/dist/esm/modules/dispatch/dtos/response-unit-nearby-query.dto.js +62 -0
  121. package/dist/esm/modules/dispatch/dtos/response-unit-nearby-query.dto.js.map +1 -0
  122. package/dist/esm/modules/dispatch/dtos/update-response-unit-dispatch-status.dto.js +37 -0
  123. package/dist/esm/modules/dispatch/dtos/update-response-unit-dispatch-status.dto.js.map +1 -0
  124. package/dist/esm/modules/dispatch/enums/incident-dispatch-blocker.enum.js +18 -0
  125. package/dist/esm/modules/dispatch/enums/incident-dispatch-blocker.enum.js.map +1 -0
  126. package/dist/esm/modules/dispatch/enums/response-capability-requirement-source.enum.js +9 -0
  127. package/dist/esm/modules/dispatch/enums/response-capability-requirement-source.enum.js.map +1 -0
  128. package/dist/esm/modules/dispatch/enums/response-unit-capability-match.enum.js +21 -0
  129. package/dist/esm/modules/dispatch/enums/response-unit-capability-match.enum.js.map +1 -0
  130. package/dist/esm/modules/dispatch/enums/response-unit-dispatch-constraint.enum.js +31 -0
  131. package/dist/esm/modules/dispatch/enums/response-unit-dispatch-constraint.enum.js.map +1 -0
  132. package/dist/esm/modules/dispatch/enums/response-unit-dispatch-error-code.enum.js +23 -0
  133. package/dist/esm/modules/dispatch/enums/response-unit-dispatch-error-code.enum.js.map +1 -0
  134. package/dist/esm/modules/dispatch/enums/response-unit-dispatch-notification-failure.enum.js +15 -0
  135. package/dist/esm/modules/dispatch/enums/response-unit-dispatch-notification-failure.enum.js.map +1 -0
  136. package/dist/esm/modules/dispatch/enums/response-unit-dispatch-notification-status.enum.js +13 -0
  137. package/dist/esm/modules/dispatch/enums/response-unit-dispatch-notification-status.enum.js.map +1 -0
  138. package/dist/esm/modules/dispatch/enums/response-unit-dispatch-status.enum.js +30 -0
  139. package/dist/esm/modules/dispatch/enums/response-unit-dispatch-status.enum.js.map +1 -0
  140. package/dist/esm/modules/dispatch/enums/response-unit-dispatch-transition-source.enum.js +13 -0
  141. package/dist/esm/modules/dispatch/enums/response-unit-dispatch-transition-source.enum.js.map +1 -0
  142. package/dist/esm/modules/dispatch/enums/response-unit-distance-basis.enum.js +9 -0
  143. package/dist/esm/modules/dispatch/enums/response-unit-distance-basis.enum.js.map +1 -0
  144. package/dist/esm/modules/dispatch/enums/response-unit-location-freshness.enum.js +18 -0
  145. package/dist/esm/modules/dispatch/enums/response-unit-location-freshness.enum.js.map +1 -0
  146. package/dist/esm/modules/dispatch/enums/response-unit-location-source.enum.js +14 -0
  147. package/dist/esm/modules/dispatch/enums/response-unit-location-source.enum.js.map +1 -0
  148. package/dist/esm/modules/dispatch/enums/response-unit-recommendation-reason.enum.js +22 -0
  149. package/dist/esm/modules/dispatch/enums/response-unit-recommendation-reason.enum.js.map +1 -0
  150. package/dist/esm/modules/dispatch/enums/response-unit-recommendation-status.enum.js +20 -0
  151. package/dist/esm/modules/dispatch/enums/response-unit-recommendation-status.enum.js.map +1 -0
  152. package/dist/esm/modules/dispatch/index.js +37 -0
  153. package/dist/esm/modules/dispatch/index.js.map +1 -0
  154. package/dist/esm/modules/dispatch/interfaces/incident-response-unit-dispatch.js +2 -0
  155. package/dist/esm/modules/dispatch/interfaces/incident-response-unit-dispatch.js.map +1 -0
  156. package/dist/esm/modules/dispatch/interfaces/response-unit-dispatch-events.js +2 -0
  157. package/dist/esm/modules/dispatch/interfaces/response-unit-dispatch-events.js.map +1 -0
  158. package/dist/esm/modules/dispatch/interfaces/response-unit-dispatch-profile.js +2 -0
  159. package/dist/esm/modules/dispatch/interfaces/response-unit-dispatch-profile.js.map +1 -0
  160. package/dist/esm/modules/dispatch/interfaces/response-unit-proximity.js +2 -0
  161. package/dist/esm/modules/dispatch/interfaces/response-unit-proximity.js.map +1 -0
  162. package/dist/esm/modules/dispatch/interfaces/response-unit-recommendation.js +2 -0
  163. package/dist/esm/modules/dispatch/interfaces/response-unit-recommendation.js.map +1 -0
  164. package/dist/esm/modules/dispatch/utils/dispatch-geo.util.js +39 -0
  165. package/dist/esm/modules/dispatch/utils/dispatch-geo.util.js.map +1 -0
  166. package/dist/esm/modules/dispatch/utils/incident-dispatchability.util.js +37 -0
  167. package/dist/esm/modules/dispatch/utils/incident-dispatchability.util.js.map +1 -0
  168. package/dist/esm/modules/dispatch/utils/response-capability-match.util.js +40 -0
  169. package/dist/esm/modules/dispatch/utils/response-capability-match.util.js.map +1 -0
  170. package/dist/esm/modules/dispatch/utils/response-unit-dispatch-event.util.js +15 -0
  171. package/dist/esm/modules/dispatch/utils/response-unit-dispatch-event.util.js.map +1 -0
  172. package/dist/esm/modules/dispatch/utils/response-unit-dispatch-status.util.js +42 -0
  173. package/dist/esm/modules/dispatch/utils/response-unit-dispatch-status.util.js.map +1 -0
  174. package/dist/esm/modules/incident/dtos/category/create-incident-category.dto.js +10 -1
  175. package/dist/esm/modules/incident/dtos/category/create-incident-category.dto.js.map +1 -1
  176. package/dist/esm/modules/incident/dtos/type/create-incident-type.dto.js +10 -1
  177. package/dist/esm/modules/incident/dtos/type/create-incident-type.dto.js.map +1 -1
  178. package/dist/esm/modules/incident/enums/incident-actions.enum.js +4 -0
  179. package/dist/esm/modules/incident/enums/incident-actions.enum.js.map +1 -1
  180. package/dist/esm/modules/notification/dtos/notification-analytics-query.dto.js +52 -0
  181. package/dist/esm/modules/notification/dtos/notification-analytics-query.dto.js.map +1 -0
  182. package/dist/esm/modules/notification/index.js +3 -0
  183. package/dist/esm/modules/notification/index.js.map +1 -1
  184. package/dist/esm/modules/notification/interfaces/notification-analytics.js +26 -0
  185. package/dist/esm/modules/notification/interfaces/notification-analytics.js.map +1 -0
  186. package/dist/esm/modules/permission/data/permissions.data.js +9 -0
  187. package/dist/esm/modules/permission/data/permissions.data.js.map +1 -1
  188. package/dist/esm/modules/permission/enums/permission-actions.enum.js +19 -0
  189. package/dist/esm/modules/permission/enums/permission-actions.enum.js.map +1 -1
  190. package/dist/esm/modules/permission/enums/permissions-module.enum.js +1 -0
  191. package/dist/esm/modules/permission/enums/permissions-module.enum.js.map +1 -1
  192. package/dist/esm/modules/response-unit/dtos/response-unit/base-response-unit.dto.js +10 -1
  193. package/dist/esm/modules/response-unit/dtos/response-unit/base-response-unit.dto.js.map +1 -1
  194. package/dist/esm/modules/response-unit/enums/response-unit/response-capability.enum.js +26 -0
  195. package/dist/esm/modules/response-unit/enums/response-unit/response-capability.enum.js.map +1 -0
  196. package/dist/esm/modules/response-unit/enums/response-unit/response-unit-availability.enum.js +24 -0
  197. package/dist/esm/modules/response-unit/enums/response-unit/response-unit-availability.enum.js.map +1 -0
  198. package/dist/esm/modules/response-unit/index.js +5 -0
  199. package/dist/esm/modules/response-unit/index.js.map +1 -1
  200. package/dist/esm/modules/response-unit/utils/response-capability.util.js +68 -0
  201. package/dist/esm/modules/response-unit/utils/response-capability.util.js.map +1 -0
  202. package/dist/esm/modules/response-unit/utils/response-unit-availability.util.js +42 -0
  203. package/dist/esm/modules/response-unit/utils/response-unit-availability.util.js.map +1 -0
  204. package/dist/esm/modules/role/data/roles.data.js +27 -0
  205. package/dist/esm/modules/role/data/roles.data.js.map +1 -1
  206. package/dist/esm/modules/sms/constants/sms-templates.config.js +18 -0
  207. package/dist/esm/modules/sms/constants/sms-templates.config.js.map +1 -1
  208. package/dist/esm/modules/sms/enums/sms-template.enum.js +1 -0
  209. package/dist/esm/modules/sms/enums/sms-template.enum.js.map +1 -1
  210. package/dist/types/index.d.ts +1 -0
  211. package/dist/types/kafka/topics.d.ts +4 -0
  212. package/dist/types/modules/dispatch/constants/response-unit-dispatch-defaults.const.d.ts +43 -0
  213. package/dist/types/modules/dispatch/constants/response-unit-dispatch-kafka.const.d.ts +16 -0
  214. package/dist/types/modules/dispatch/dtos/dispatch-response-unit.dto.d.ts +20 -0
  215. package/dist/types/modules/dispatch/dtos/response-unit-dispatch-notification.dto.d.ts +47 -0
  216. package/dist/types/modules/dispatch/dtos/response-unit-dispatch-profile-query.dto.d.ts +13 -0
  217. package/dist/types/modules/dispatch/dtos/response-unit-nearby-query.dto.d.ts +15 -0
  218. package/dist/types/modules/dispatch/dtos/update-response-unit-dispatch-status.dto.d.ts +9 -0
  219. package/dist/types/modules/dispatch/enums/incident-dispatch-blocker.enum.d.ts +16 -0
  220. package/dist/types/modules/dispatch/enums/response-capability-requirement-source.enum.d.ts +7 -0
  221. package/dist/types/modules/dispatch/enums/response-unit-capability-match.enum.d.ts +19 -0
  222. package/dist/types/modules/dispatch/enums/response-unit-dispatch-constraint.enum.d.ts +27 -0
  223. package/dist/types/modules/dispatch/enums/response-unit-dispatch-error-code.enum.d.ts +21 -0
  224. package/dist/types/modules/dispatch/enums/response-unit-dispatch-notification-failure.enum.d.ts +13 -0
  225. package/dist/types/modules/dispatch/enums/response-unit-dispatch-notification-status.enum.d.ts +11 -0
  226. package/dist/types/modules/dispatch/enums/response-unit-dispatch-status.enum.d.ts +28 -0
  227. package/dist/types/modules/dispatch/enums/response-unit-dispatch-transition-source.enum.d.ts +11 -0
  228. package/dist/types/modules/dispatch/enums/response-unit-distance-basis.enum.d.ts +7 -0
  229. package/dist/types/modules/dispatch/enums/response-unit-location-freshness.enum.d.ts +16 -0
  230. package/dist/types/modules/dispatch/enums/response-unit-location-source.enum.d.ts +12 -0
  231. package/dist/types/modules/dispatch/enums/response-unit-recommendation-reason.enum.d.ts +20 -0
  232. package/dist/types/modules/dispatch/enums/response-unit-recommendation-status.enum.d.ts +18 -0
  233. package/dist/types/modules/dispatch/index.d.ts +31 -0
  234. package/dist/types/modules/dispatch/interfaces/incident-response-unit-dispatch.d.ts +121 -0
  235. package/dist/types/modules/dispatch/interfaces/response-unit-dispatch-events.d.ts +103 -0
  236. package/dist/types/modules/dispatch/interfaces/response-unit-dispatch-profile.d.ts +52 -0
  237. package/dist/types/modules/dispatch/interfaces/response-unit-proximity.d.ts +45 -0
  238. package/dist/types/modules/dispatch/interfaces/response-unit-recommendation.d.ts +130 -0
  239. package/dist/types/modules/dispatch/utils/dispatch-geo.util.d.ts +16 -0
  240. package/dist/types/modules/dispatch/utils/incident-dispatchability.util.d.ts +18 -0
  241. package/dist/types/modules/dispatch/utils/response-capability-match.util.d.ts +26 -0
  242. package/dist/types/modules/dispatch/utils/response-unit-dispatch-event.util.d.ts +9 -0
  243. package/dist/types/modules/dispatch/utils/response-unit-dispatch-status.util.d.ts +16 -0
  244. package/dist/types/modules/incident/dtos/category/create-incident-category.dto.d.ts +6 -0
  245. package/dist/types/modules/incident/dtos/type/create-incident-type.dto.d.ts +6 -0
  246. package/dist/types/modules/incident/enums/incident-actions.enum.d.ts +4 -0
  247. package/dist/types/modules/incident/intefaces/incident-category.d.ts +6 -0
  248. package/dist/types/modules/incident/intefaces/incident-type.d.ts +6 -0
  249. package/dist/types/modules/notification/dtos/notification-analytics-query.dto.d.ts +14 -0
  250. package/dist/types/modules/notification/index.d.ts +2 -0
  251. package/dist/types/modules/notification/interfaces/notification-analytics.d.ts +273 -0
  252. package/dist/types/modules/permission/enums/permission-actions.enum.d.ts +4 -0
  253. package/dist/types/modules/permission/enums/permissions-module.enum.d.ts +1 -0
  254. package/dist/types/modules/response-unit/dtos/response-unit/base-response-unit.dto.d.ts +7 -0
  255. package/dist/types/modules/response-unit/enums/response-unit/response-capability.enum.d.ts +24 -0
  256. package/dist/types/modules/response-unit/enums/response-unit/response-unit-availability.enum.d.ts +22 -0
  257. package/dist/types/modules/response-unit/index.d.ts +4 -0
  258. package/dist/types/modules/response-unit/interfaces/response-unit/response-unit.d.ts +3 -0
  259. package/dist/types/modules/response-unit/utils/response-capability.util.d.ts +31 -0
  260. package/dist/types/modules/response-unit/utils/response-unit-availability.util.d.ts +21 -0
  261. package/dist/types/modules/sms/enums/sms-template.enum.d.ts +1 -0
  262. package/package.json +1 -1
@@ -0,0 +1,273 @@
1
+ /**
2
+ * Notification analytics (the admin's Notification Analytics): what Clarion sent people
3
+ * over a period, on every channel - push to the app, the console's in-app notifications,
4
+ * SMS and email - whether it got through, whether it was opened, and how many people a
5
+ * push can reach at all.
6
+ *
7
+ * One read, computed by clarion-notification from one consistent snapshot, with who each
8
+ * recipient is from clarion-authentication. Counts, rates and durations only: never a
9
+ * title, a message, a phone number or an address.
10
+ *
11
+ * DURATIONS ARE IN SECONDS, like every analytics contract.
12
+ *
13
+ * How it is counted:
14
+ * - Everything by when it was CREATED - the moment Clarion decided to tell somebody.
15
+ * - Whose it is: the organization recorded on it; for a push, the organization of the
16
+ * post it announces, then the recipient's; for an SMS, the recipient's. Older SMS and
17
+ * email (before 21 September 2026) recorded no organization and often no recipient:
18
+ * those are counted only in the platform view (`unattributed`).
19
+ * - Got through: accepted by the provider - Firebase for a push, the SMS gateway, the
20
+ * mail service - or, in the console, delivered. Nothing reports whether an SMS or an
21
+ * email was read, so only push (tapped) and in-app (read) have an open rate.
22
+ * - A country narrows push, in-app and devices by the recipient's country and SMS by
23
+ * the number's; email has no country and is never narrowed.
24
+ */
25
+ /** How the period is cut into points for the charts. Chosen by the service from the length of the period. */
26
+ export type NotificationAnalyticsBucket = 'hour' | 'day' | 'week' | 'month';
27
+ /** The four ways Clarion tells somebody something. */
28
+ export type NotificationAnalyticsChannel = 'PUSH' | 'IN_APP' | 'SMS' | 'EMAIL';
29
+ export interface NotificationAnalyticsRange {
30
+ /** Inclusive, ISO 8601. The first notification when the period asked for was "forever". */
31
+ from: string;
32
+ /** Exclusive, ISO 8601. */
33
+ to: string;
34
+ bucket: NotificationAnalyticsBucket;
35
+ /** IANA time zone the buckets and the hour-of-week grid are cut in. */
36
+ timeZone: string;
37
+ }
38
+ /** A count by a key (a kind, a provider, a reason), largest first unless the section says otherwise. */
39
+ export interface NotificationAnalyticsCount<K extends string = string> {
40
+ key: K;
41
+ count: number;
42
+ }
43
+ /** Median and 90th percentile of one duration, in seconds; null when nothing was measured. */
44
+ export interface NotificationAnalyticsDuration {
45
+ median: number | null;
46
+ p90: number | null;
47
+ /** How many were measured. */
48
+ count: number;
49
+ }
50
+ /** One channel over the period. */
51
+ export interface NotificationAnalyticsChannelRow {
52
+ channel: NotificationAnalyticsChannel;
53
+ /** Created in the period. */
54
+ total: number;
55
+ /** Got through: accepted by the provider, or delivered to the console. */
56
+ succeeded: number;
57
+ failed: number;
58
+ /** No outcome yet: waiting, or cancelled before it was sent. */
59
+ pending: number;
60
+ /** succeeded / (succeeded + failed), as a percentage. */
61
+ successRate: number | null;
62
+ /** Push tapped, in-app read; null for SMS and email - nothing reports it. */
63
+ opened: number | null;
64
+ /** opened / succeeded, as a percentage. */
65
+ openRate: number | null;
66
+ }
67
+ /** One kind of push - what it announced - and how it went. */
68
+ export interface NotificationAnalyticsPushKindRow {
69
+ /** The event it announced (NEWSFEED_POST_PUBLISHED, GUARDIAN_INCIDENT_ALERT...), else its category (INCIDENT, ALERT...). */
70
+ kind: string;
71
+ total: number;
72
+ failed: number;
73
+ opened: number;
74
+ /** opened / those that got through, as a percentage. */
75
+ openRate: number | null;
76
+ medianSecondsToOpen: number | null;
77
+ }
78
+ /** Push notifications to the app. */
79
+ export interface NotificationAnalyticsPush {
80
+ /** One per device: a notification to somebody with two phones is two. */
81
+ total: number;
82
+ succeeded: number;
83
+ failed: number;
84
+ pending: number;
85
+ opened: number;
86
+ successRate: number | null;
87
+ openRate: number | null;
88
+ /** Different people pushed to. */
89
+ recipients: number;
90
+ /** Notifications as Clarion decided them, each fanned out to its recipients' devices. */
91
+ sends: number;
92
+ /** Created to accepted by Firebase - seconds, with decimals. */
93
+ toSend: NotificationAnalyticsDuration;
94
+ /** Created to tapped. */
95
+ toOpen: NotificationAnalyticsDuration;
96
+ byKind: NotificationAnalyticsPushKindRow[];
97
+ /** Critical, High, Normal, Low - in that order, zeros included. */
98
+ byPriority: NotificationAnalyticsCount[];
99
+ /** The Android channel it rang on (urgent, incidents...); DEFAULT when none. */
100
+ byChannel: NotificationAnalyticsCount[];
101
+ /** Why pushes failed, as the provider said it - ids, numbers and addresses masked. The eight commonest. */
102
+ failureReasons: NotificationAnalyticsCount[];
103
+ }
104
+ /** The phones and browsers a push can reach - NOW, whatever the period, apart from `registered`. */
105
+ export interface NotificationAnalyticsDevices {
106
+ activeNow: number;
107
+ /** Switched off: signed out, replaced by a newer registration, or refused by the provider. */
108
+ inactiveNow: number;
109
+ /** People with at least one active device: who a push can reach. */
110
+ reachableNow: number;
111
+ /** Registered in the period. */
112
+ registered: number;
113
+ /** Active devices by kind (android, ios, web). */
114
+ byType: NotificationAnalyticsCount[];
115
+ /** Active devices by app version; NONE when not recorded. */
116
+ byAppVersion: NotificationAnalyticsCount[];
117
+ byLanguage: NotificationAnalyticsCount[];
118
+ }
119
+ /** The console's own notifications, to the staff using it. */
120
+ export interface NotificationAnalyticsInApp {
121
+ total: number;
122
+ succeeded: number;
123
+ failed: number;
124
+ pending: number;
125
+ read: number;
126
+ /** read / total, as a percentage. */
127
+ readRate: number | null;
128
+ /** Different people notified. */
129
+ recipients: number;
130
+ /** INCIDENT, ALERT, MESSAGE... */
131
+ byType: NotificationAnalyticsCount[];
132
+ /** What happened (Created, Auto-Stopped, CHAT_MESSAGE...). */
133
+ byAction: NotificationAnalyticsCount[];
134
+ /** NOW: notifications nobody has read yet, whenever created. */
135
+ unreadNow: number;
136
+ }
137
+ /** Cost recorded on SMS, per currency. */
138
+ export interface NotificationAnalyticsSmsCost {
139
+ currency: string;
140
+ amount: number;
141
+ /** Messages with a cost recorded. */
142
+ messages: number;
143
+ }
144
+ /** SMS. */
145
+ export interface NotificationAnalyticsSms {
146
+ total: number;
147
+ succeeded: number;
148
+ failed: number;
149
+ pending: number;
150
+ successRate: number | null;
151
+ /** Created to accepted by the gateway. */
152
+ toSend: NotificationAnalyticsDuration;
153
+ /** What it was for: otp:verify_phone, otp:reset_password, guardian_incident_notification...; NOT_RECORDED for the oldest. */
154
+ byPurpose: NotificationAnalyticsCount[];
155
+ /** The gateway that took it (uwazii, twilio, africastalking); NOT_RECORDED for the oldest. */
156
+ byProvider: NotificationAnalyticsCount[];
157
+ /** Whose sender ID it went out under (PLATFORM_DEFAULT, ORGANIZATION); NOT_RECORDED for the oldest. */
158
+ bySenderSource: NotificationAnalyticsCount[];
159
+ /** The number's country; UNKNOWN when not recorded. */
160
+ byCountry: NotificationAnalyticsCount[];
161
+ /** Why messages failed - ids, numbers and addresses masked. The eight commonest. */
162
+ failureReasons: NotificationAnalyticsCount[];
163
+ cost: NotificationAnalyticsSmsCost[];
164
+ }
165
+ /** Email. */
166
+ export interface NotificationAnalyticsEmail {
167
+ total: number;
168
+ succeeded: number;
169
+ failed: number;
170
+ successRate: number | null;
171
+ /** Verification, Password Reset, Notification, Acknowledgement... */
172
+ byType: NotificationAnalyticsCount[];
173
+ /** The mail service that took it; NOT_RECORDED for the oldest. */
174
+ byProvider: NotificationAnalyticsCount[];
175
+ bySenderSource: NotificationAnalyticsCount[];
176
+ }
177
+ /** One point on the charts: a bucket of the period. */
178
+ export interface NotificationAnalyticsPoint {
179
+ /** Local wall-clock start of the bucket, in `range.timeZone` (no offset). */
180
+ bucket: string;
181
+ push: number;
182
+ pushFailed: number;
183
+ /** Of the pushes created in the bucket, those tapped (whenever). */
184
+ pushOpened: number;
185
+ inApp: number;
186
+ inAppRead: number;
187
+ sms: number;
188
+ smsFailed: number;
189
+ email: number;
190
+ emailFailed: number;
191
+ }
192
+ /** One hour of the week. Weekday 1 is Monday. */
193
+ export interface NotificationAnalyticsHeatCell {
194
+ weekday: number;
195
+ hour: number;
196
+ /** Notifications created in it, every channel. */
197
+ sent: number;
198
+ /** Pushes tapped in it - when people look. */
199
+ opened: number;
200
+ }
201
+ /** The previous period of the same length, for the change on each headline figure. */
202
+ export interface NotificationAnalyticsPrevious {
203
+ from: string;
204
+ to: string;
205
+ total: number;
206
+ push: number;
207
+ pushFailed: number;
208
+ pushOpened: number;
209
+ pushOpenRate: number | null;
210
+ pushSuccessRate: number | null;
211
+ inApp: number;
212
+ inAppRead: number;
213
+ sms: number;
214
+ smsFailed: number;
215
+ smsSuccessRate: number | null;
216
+ email: number;
217
+ emailFailed: number;
218
+ devicesRegistered: number;
219
+ }
220
+ /** A Super-Admin's view of every organization: one row each, busiest first. */
221
+ export interface NotificationAnalyticsOrganizationRow {
222
+ organizationId: number;
223
+ total: number;
224
+ push: number;
225
+ pushFailed: number;
226
+ pushOpenRate: number | null;
227
+ inApp: number;
228
+ inAppReadRate: number | null;
229
+ sms: number;
230
+ smsFailed: number;
231
+ email: number;
232
+ /** NOW. */
233
+ activeDevices: number;
234
+ }
235
+ /** Notifications of the period no organization could be found for - the platform view only. */
236
+ export interface NotificationAnalyticsUnattributed {
237
+ push: number;
238
+ sms: number;
239
+ email: number;
240
+ }
241
+ export interface NotificationAnalytics {
242
+ /** Whose figures: one organization, or null for every organization. */
243
+ organizationId: number | null;
244
+ /** The one country the figures are narrowed to, or null for every country. */
245
+ countryCode: string | null;
246
+ range: NotificationAnalyticsRange;
247
+ generatedAt: string;
248
+ previous: NotificationAnalyticsPrevious | null;
249
+ /** Countries with notifications or devices in scope, whatever country is chosen - for narrowing to one. */
250
+ countryOptions: NotificationAnalyticsCount[];
251
+ /** PUSH, IN_APP, SMS, EMAIL - in that order. */
252
+ channels: NotificationAnalyticsChannelRow[];
253
+ push: NotificationAnalyticsPush;
254
+ devices: NotificationAnalyticsDevices;
255
+ inApp: NotificationAnalyticsInApp;
256
+ sms: NotificationAnalyticsSms;
257
+ email: NotificationAnalyticsEmail;
258
+ timeline: NotificationAnalyticsPoint[];
259
+ /** All 168 hours of the week, Monday first, zeros included. */
260
+ heatmap: NotificationAnalyticsHeatCell[];
261
+ /** A Super-Admin looking at every organization only. */
262
+ byOrganization?: NotificationAnalyticsOrganizationRow[];
263
+ /** A Super-Admin looking at every organization only. */
264
+ unattributed?: NotificationAnalyticsUnattributed;
265
+ }
266
+ /** What a dashboard asks: the period, one country - and, for a Super-Admin, whose figures. */
267
+ export interface NotificationAnalyticsQuery {
268
+ from?: string;
269
+ to?: string;
270
+ timeZone?: string;
271
+ organizationId?: number;
272
+ countryCode?: string;
273
+ }
@@ -95,6 +95,9 @@ export declare enum PermissionActions {
95
95
  READ_TRACKING_HISTORY = "read:tracking-history",
96
96
  READ_TRACKING_OPERATIONS = "read:tracking-operations",
97
97
  MANAGE_TRACKING_OPERATIONS = "manage:tracking-operations",
98
+ READ_RESPONSE_UNIT_DISPATCH = "read:response-unit-dispatch",
99
+ CREATE_RESPONSE_UNIT_DISPATCH = "create:response-unit-dispatch",
100
+ UPDATE_RESPONSE_UNIT_DISPATCH = "update:response-unit-dispatch",
98
101
  CREATE_BENEFICIARY = "create:beneficiary",
99
102
  READ_BENEFICIARY = "read:beneficiary",
100
103
  UPDATE_BENEFICIARY = "update:beneficiary",
@@ -165,6 +168,7 @@ export declare enum PermissionActions {
165
168
  MODERATE_NEWSFEED_COMMENT = "moderate:newsfeed-comment",
166
169
  READ_NEWSFEED_ANALYTICS = "read:newsfeed-analytics",
167
170
  READ_NOTIFICATION_BRANDING = "read:notification-branding",
171
+ READ_NOTIFICATION_ANALYTICS = "read:notification-analytics",
168
172
  UPDATE_NOTIFICATION_BRANDING = "update:notification-branding",
169
173
  CREATE_NOTIFICATION_EMAIL_SENDER = "create:notification-email-sender",
170
174
  READ_NOTIFICATION_EMAIL_SENDER = "read:notification-email-sender",
@@ -8,6 +8,7 @@ export declare enum PermissionsModule {
8
8
  INCIDENT = "Grievance",
9
9
  RESPONSE_UNIT = "Response Unit",
10
10
  TRACKING = "Tracking",
11
+ RESPONSE_UNIT_DISPATCH = "Response Unit Dispatch",
11
12
  BILLING = "Billing",
12
13
  NEWSFEED = "Newsfeed",
13
14
  SUPPORT = "Support",
@@ -1,4 +1,5 @@
1
1
  import { ResponseUnitType } from "../../enums/response-unit/response-unit-type.enum";
2
+ import { ResponseCapability } from "../../enums/response-unit/response-capability.enum";
2
3
  import { MapLocationDto } from "../../../common";
3
4
  import { StationDto } from "./station.dto";
4
5
  export declare class BaseResponseUnitDto {
@@ -9,6 +10,12 @@ export declare class BaseResponseUnitDto {
9
10
  isActive: boolean;
10
11
  location: MapLocationDto;
11
12
  station: StationDto;
13
+ /**
14
+ * What this unit can respond to. Optional: empty means "whatever the unit's
15
+ * type implies" (an ambulance is MEDICAL_RESPONSE), so a unit only needs
16
+ * this when it differs from its type - see effectiveResponseCapabilities.
17
+ */
18
+ capabilities?: ResponseCapability[];
12
19
  controlCentreId: number;
13
20
  organizationId: number;
14
21
  createdAt?: Date;
@@ -0,0 +1,24 @@
1
+ /**
2
+ * What kind of emergency a response unit can answer.
3
+ *
4
+ * Deliberately the platform's existing vocabulary and nothing more: each value
5
+ * is what one {@link VehicleUnitType} already says about a vehicle (Ambulance,
6
+ * Security, Fire, Road Rescue), named the way {@link PartnerServiceCapability}
7
+ * names the same services for third-party responders. A unit with no explicit
8
+ * capabilities gets these derived from its vehicle type (or a person unit from
9
+ * its category) - see `deriveResponseCapabilities` - so every existing unit is
10
+ * classified on day one without anybody configuring anything.
11
+ *
12
+ * Stored as plain strings (varchar[]) wherever it is persisted, so adding a
13
+ * value here never needs a database migration.
14
+ */
15
+ export declare enum ResponseCapability {
16
+ /** Ambulances and medical officers. */
17
+ MEDICAL_RESPONSE = "MEDICAL_RESPONSE",
18
+ /** Security response vehicles, patrols and police officers. */
19
+ SECURITY_RESPONSE = "SECURITY_RESPONSE",
20
+ /** Fire and rescue appliances. */
21
+ FIRE_RESPONSE = "FIRE_RESPONSE",
22
+ /** Breakdown, recovery and towing. */
23
+ ROADSIDE_ASSISTANCE = "ROADSIDE_ASSISTANCE"
24
+ }
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Can this unit be sent to an incident right now?
3
+ *
4
+ * Two sources decide it and neither is enough alone:
5
+ *
6
+ * - clarion-organization's MANUAL statuses (`isActive`, `vehicleStatus`,
7
+ * `personStatus`, `teamStatus`) - what somebody set on the unit. Read by
8
+ * `resolveResponseUnitAvailability`.
9
+ * - clarion-incident's ACTIVE DISPATCHES - the authoritative record of a unit
10
+ * being out on a job. A unit with one is ENGAGED whatever its manual status
11
+ * says, and that is enforced by a unique index, not by this enum.
12
+ */
13
+ export declare enum ResponseUnitAvailability {
14
+ /** On duty / operational, enabled, and not out on a job. */
15
+ AVAILABLE = "AVAILABLE",
16
+ /** Out on a job: an active dispatch, or a manual Engaged / On Mission status. */
17
+ ENGAGED = "ENGAGED",
18
+ /** Enabled but not able to respond: non-operational, off duty, on leave, training. */
19
+ UNAVAILABLE = "UNAVAILABLE",
20
+ /** Switched off in the organization (`isActive = false`). */
21
+ INACTIVE = "INACTIVE"
22
+ }
@@ -65,3 +65,7 @@ export * from './enums/vehicle-unit/vehicle-type/fire-vehicle-type.enum';
65
65
  export * from './enums/vehicle-unit/vehicle-crew/fire-vehicle-role.enum';
66
66
  export * from './enums/vehicle-unit/vehicle-type/road-rescue-vehicle-type.enum';
67
67
  export * from './enums/vehicle-unit/vehicle-crew/road-rescue-vehicle-role.enum';
68
+ export * from './enums/response-unit/response-capability.enum';
69
+ export * from './enums/response-unit/response-unit-availability.enum';
70
+ export * from './utils/response-capability.util';
71
+ export * from './utils/response-unit-availability.util';
@@ -1,5 +1,6 @@
1
1
  import { MapAddressDto, MapLocation } from "../../../common";
2
2
  import { ResponseUnitType } from "../../enums/response-unit/response-unit-type.enum";
3
+ import { ResponseCapability } from "../../enums/response-unit/response-capability.enum";
3
4
  export interface ResponseUnit {
4
5
  id: number;
5
6
  name: string;
@@ -11,6 +12,8 @@ export interface ResponseUnit {
11
12
  name: string;
12
13
  address: MapAddressDto;
13
14
  };
15
+ /** Configured capabilities; empty means "derived from the unit's type". */
16
+ capabilities?: ResponseCapability[];
14
17
  controlCentreId: number;
15
18
  organizationId: number;
16
19
  createdAt?: Date;
@@ -0,0 +1,31 @@
1
+ import { ResponseCapability } from '../enums/response-unit/response-capability.enum';
2
+ /** The most capabilities one unit or one incident type may carry. */
3
+ export declare const MAX_RESPONSE_CAPABILITIES = 10;
4
+ /**
5
+ * Keep only known capabilities, once each, in a stable order.
6
+ *
7
+ * Accepts anything because it reads values back from jsonb, varchar[] and
8
+ * request bodies alike; an unknown value is dropped rather than thrown, so a
9
+ * capability retired from the enum can never make a stored unit unreadable.
10
+ */
11
+ export declare function normalizeResponseCapabilities(values: unknown): ResponseCapability[];
12
+ /** The parts of a response unit that say what it is. */
13
+ export interface ResponseCapabilitySource {
14
+ /** Configured on the unit. When non-empty it is the whole answer. */
15
+ capabilities?: unknown;
16
+ vehicleType?: string | null;
17
+ /** A person unit's category. */
18
+ category?: string | null;
19
+ }
20
+ /**
21
+ * What a unit's TYPE says it can do - ignoring anything configured on it.
22
+ * Empty when the type says nothing (a team, a volunteer).
23
+ */
24
+ export declare function deriveResponseCapabilities(source: ResponseCapabilitySource): ResponseCapability[];
25
+ /**
26
+ * The capabilities a unit is treated as having: what was configured on it when
27
+ * anything was, otherwise what its type implies. Configured capabilities
28
+ * REPLACE the derived ones rather than adding to them - an ambulance that has
29
+ * been re-equipped as a patient-transport-only vehicle must be able to say so.
30
+ */
31
+ export declare function effectiveResponseCapabilities(source: ResponseCapabilitySource): ResponseCapability[];
@@ -0,0 +1,21 @@
1
+ import { ResponseUnitAvailability } from '../enums/response-unit/response-unit-availability.enum';
2
+ /** The manual status fields of a response unit, whichever subtype it is. */
3
+ export interface ResponseUnitStatusSource {
4
+ isActive?: boolean | null;
5
+ vehicleStatus?: string | null;
6
+ personStatus?: string | null;
7
+ teamStatus?: string | null;
8
+ }
9
+ /**
10
+ * Availability from the unit's own MANUAL status - not from dispatches, which
11
+ * clarion-incident layers on top (a unit with an active dispatch is ENGAGED
12
+ * whatever this returns).
13
+ *
14
+ * A missing status is AVAILABLE: a person unit's `personStatus` is nullable and
15
+ * every unit created before statuses existed has none, and refusing to dispatch
16
+ * a unit because nobody filled a field in would make the feature useless for
17
+ * the organizations that configured least.
18
+ */
19
+ export declare function resolveResponseUnitAvailability(unit: ResponseUnitStatusSource): ResponseUnitAvailability;
20
+ /** The unit's manual operational status as one string, whichever field holds it. */
21
+ export declare function responseUnitOperationalStatus(unit: ResponseUnitStatusSource): string | null;
@@ -10,6 +10,7 @@ export declare enum SmsTemplateType {
10
10
  SAFETY_CHECK_GUARDIAN_ENDED = "safety_check_guardian_ended",
11
11
  FOLLOW_ME_GUARDIAN_REQUEST = "follow_me_guardian_request",
12
12
  FOLLOW_ME_GUARDIAN_ENDED = "follow_me_guardian_ended",
13
+ RESPONSE_UNIT_DISPATCH = "response_unit_dispatch",
13
14
  APPOINTMENT_REMINDER = "appointment_reminder",
14
15
  GENERAL_NOTIFICATION = "general_notification"
15
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grm-shared-library",
3
- "version": "1.1.235",
3
+ "version": "1.1.237",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",