@autologix-engineering/shared 1.2.379 → 1.2.380

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 (288) hide show
  1. package/package.json +1 -1
  2. package/src/index.d.ts +0 -1
  3. package/src/index.js +0 -1
  4. package/src/index.js.map +1 -1
  5. package/src/lib/commands/src/generate.pdf.invoice.d.ts +1 -0
  6. package/src/lib/commands/src/generate.pdf.invoice.js.map +1 -1
  7. package/src/lib/contract-state/src/index.d.ts +0 -2
  8. package/src/lib/contract-state/src/index.js +0 -2
  9. package/src/lib/contract-state/src/index.js.map +1 -1
  10. package/src/lib/data-transfer-objects/src/calculate.non.pool.ltr.invoice.data.dto.d.ts +0 -1
  11. package/src/lib/data-transfer-objects/src/calculate.non.pool.ltr.invoice.data.dto.js +0 -5
  12. package/src/lib/data-transfer-objects/src/calculate.non.pool.ltr.invoice.data.dto.js.map +1 -1
  13. package/src/lib/data-transfer-objects/src/command/add.ltr.vehicle.master.dto.d.ts +0 -1
  14. package/src/lib/data-transfer-objects/src/command/add.ltr.vehicle.master.dto.js +0 -5
  15. package/src/lib/data-transfer-objects/src/command/add.ltr.vehicle.master.dto.js.map +1 -1
  16. package/src/lib/data-transfer-objects/src/command/process.ext.request.trip.sheet.dto.d.ts +0 -1
  17. package/src/lib/data-transfer-objects/src/command/process.ext.request.trip.sheet.dto.js +1 -8
  18. package/src/lib/data-transfer-objects/src/command/process.ext.request.trip.sheet.dto.js.map +1 -1
  19. package/src/lib/data-transfer-objects/src/command/update.client.persona.contract.file.dto.d.ts +0 -6
  20. package/src/lib/data-transfer-objects/src/command/update.client.persona.contract.file.dto.js +1 -6
  21. package/src/lib/data-transfer-objects/src/command/update.client.persona.contract.file.dto.js.map +1 -1
  22. package/src/lib/data-transfer-objects/src/command/update.contract.terms.dto.d.ts +0 -8
  23. package/src/lib/data-transfer-objects/src/command/update.contract.terms.dto.js +1 -6
  24. package/src/lib/data-transfer-objects/src/command/update.contract.terms.dto.js.map +1 -1
  25. package/src/lib/data-transfer-objects/src/command/update.ltr.request.dto.d.ts +1 -1
  26. package/src/lib/data-transfer-objects/src/command/update.ltr.request.dto.js +0 -1
  27. package/src/lib/data-transfer-objects/src/command/update.ltr.request.dto.js.map +1 -1
  28. package/src/lib/data-transfer-objects/src/create.consolidated.invoice.dto.d.ts +0 -4
  29. package/src/lib/data-transfer-objects/src/create.consolidated.invoice.dto.js +1 -21
  30. package/src/lib/data-transfer-objects/src/create.consolidated.invoice.dto.js.map +1 -1
  31. package/src/lib/data-transfer-objects/src/create.dispatch.dto.d.ts +0 -4
  32. package/src/lib/data-transfer-objects/src/create.dispatch.dto.js +1 -21
  33. package/src/lib/data-transfer-objects/src/create.dispatch.dto.js.map +1 -1
  34. package/src/lib/data-transfer-objects/src/create.report.dto.js +1 -1
  35. package/src/lib/data-transfer-objects/src/create.report.dto.js.map +1 -1
  36. package/src/lib/data-transfer-objects/src/duties.query.dto.d.ts +0 -14
  37. package/src/lib/data-transfer-objects/src/duties.query.dto.js +0 -5
  38. package/src/lib/data-transfer-objects/src/duties.query.dto.js.map +1 -1
  39. package/src/lib/data-transfer-objects/src/gatekeeper/create.onboarding.user.dto.d.ts +0 -1
  40. package/src/lib/data-transfer-objects/src/gatekeeper/create.onboarding.user.dto.js +1 -8
  41. package/src/lib/data-transfer-objects/src/gatekeeper/create.onboarding.user.dto.js.map +1 -1
  42. package/src/lib/data-transfer-objects/src/gatekeeper/get.user.by.phone.dto.d.ts +0 -1
  43. package/src/lib/data-transfer-objects/src/gatekeeper/get.user.by.phone.dto.js +1 -8
  44. package/src/lib/data-transfer-objects/src/gatekeeper/get.user.by.phone.dto.js.map +1 -1
  45. package/src/lib/data-transfer-objects/src/gatekeeper/index.d.ts +0 -2
  46. package/src/lib/data-transfer-objects/src/gatekeeper/index.js +0 -2
  47. package/src/lib/data-transfer-objects/src/gatekeeper/index.js.map +1 -1
  48. package/src/lib/data-transfer-objects/src/gatekeeper/send.email.login.otp.dto.d.ts +0 -72
  49. package/src/lib/data-transfer-objects/src/gatekeeper/send.email.login.otp.dto.js +1 -36
  50. package/src/lib/data-transfer-objects/src/gatekeeper/send.email.login.otp.dto.js.map +1 -1
  51. package/src/lib/data-transfer-objects/src/get.ext.available.ratecards.dto.d.ts +5 -0
  52. package/src/lib/data-transfer-objects/src/get.ext.available.ratecards.dto.js +19 -0
  53. package/src/lib/data-transfer-objects/src/get.ext.available.ratecards.dto.js.map +1 -0
  54. package/src/lib/data-transfer-objects/src/get.ltr.vehicle.master.dto.d.ts +0 -1
  55. package/src/lib/data-transfer-objects/src/get.ltr.vehicle.master.dto.js +2 -9
  56. package/src/lib/data-transfer-objects/src/get.ltr.vehicle.master.dto.js.map +1 -1
  57. package/src/lib/data-transfer-objects/src/gst.dto.d.ts +4 -9
  58. package/src/lib/data-transfer-objects/src/gst.dto.js +1 -9
  59. package/src/lib/data-transfer-objects/src/gst.dto.js.map +1 -1
  60. package/src/lib/data-transfer-objects/src/index.d.ts +3 -19
  61. package/src/lib/data-transfer-objects/src/index.js +3 -19
  62. package/src/lib/data-transfer-objects/src/index.js.map +1 -1
  63. package/src/lib/data-transfer-objects/src/passenger.persona.custom.dto.d.ts +0 -1
  64. package/src/lib/data-transfer-objects/src/passenger.persona.custom.dto.js +1 -6
  65. package/src/lib/data-transfer-objects/src/passenger.persona.custom.dto.js.map +1 -1
  66. package/src/lib/data-transfer-objects/src/send.chauffeur.sms.dto.d.ts +2 -2
  67. package/src/lib/data-transfer-objects/src/send.chauffeur.sms.dto.js +7 -1
  68. package/src/lib/data-transfer-objects/src/send.chauffeur.sms.dto.js.map +1 -1
  69. package/src/lib/data-transfer-objects/src/submit.ltr.payout.rows.dto.d.ts +0 -15
  70. package/src/lib/data-transfer-objects/src/submit.ltr.payout.rows.dto.js +0 -5
  71. package/src/lib/data-transfer-objects/src/submit.ltr.payout.rows.dto.js.map +1 -1
  72. package/src/lib/data-transfer-objects/src/update.global.config.dto.d.ts +1 -5
  73. package/src/lib/data-transfer-objects/src/update.global.config.dto.js +1 -23
  74. package/src/lib/data-transfer-objects/src/update.global.config.dto.js.map +1 -1
  75. package/src/lib/enums/src/alert.command.types.js +1 -1
  76. package/src/lib/enums/src/alert.command.types.js.map +1 -1
  77. package/src/lib/enums/src/city.state.mapping.js +2 -2
  78. package/src/lib/enums/src/command.type.enum.d.ts +1 -8
  79. package/src/lib/enums/src/command.type.enum.js +1 -8
  80. package/src/lib/enums/src/command.type.enum.js.map +1 -1
  81. package/src/lib/enums/src/index.d.ts +1 -7
  82. package/src/lib/enums/src/index.js +1 -7
  83. package/src/lib/enums/src/index.js.map +1 -1
  84. package/src/lib/enums/src/model.enum.d.ts +1 -9
  85. package/src/lib/enums/src/model.enum.js +0 -8
  86. package/src/lib/enums/src/model.enum.js.map +1 -1
  87. package/src/lib/enums/src/others.default.data.js +0 -5
  88. package/src/lib/enums/src/others.default.data.js.map +1 -1
  89. package/src/lib/enums/src/query.type.enum.d.ts +2 -12
  90. package/src/lib/enums/src/query.type.enum.js +1 -12
  91. package/src/lib/enums/src/query.type.enum.js.map +1 -1
  92. package/src/lib/enums/src/report.module.type.enum.d.ts +1 -5
  93. package/src/lib/enums/src/report.module.type.enum.js +0 -4
  94. package/src/lib/enums/src/report.module.type.enum.js.map +1 -1
  95. package/src/lib/enums/src/state.full.name.number.code.map.js +0 -4
  96. package/src/lib/enums/src/state.full.name.number.code.map.js.map +1 -1
  97. package/src/lib/enums/src/trip.file.type.enum.d.ts +1 -2
  98. package/src/lib/enums/src/trip.file.type.enum.js +0 -1
  99. package/src/lib/enums/src/trip.file.type.enum.js.map +1 -1
  100. package/src/lib/models/src/auth.profile.model.d.ts +0 -13
  101. package/src/lib/models/src/auth.profile.model.js +0 -7
  102. package/src/lib/models/src/auth.profile.model.js.map +1 -1
  103. package/src/lib/models/src/ba.payout.row.model.d.ts +0 -24
  104. package/src/lib/models/src/ba.payout.row.model.js.map +1 -1
  105. package/src/lib/models/src/client.configuration.model.d.ts +1 -12
  106. package/src/lib/models/src/client.configuration.model.js +0 -5
  107. package/src/lib/models/src/client.configuration.model.js.map +1 -1
  108. package/src/lib/models/src/configurations.model.d.ts +2 -22
  109. package/src/lib/models/src/configurations.model.js +0 -15
  110. package/src/lib/models/src/configurations.model.js.map +1 -1
  111. package/src/lib/models/src/gst.model.d.ts +2 -12
  112. package/src/lib/models/src/gst.model.js +0 -1
  113. package/src/lib/models/src/gst.model.js.map +1 -1
  114. package/src/lib/models/src/index.d.ts +1 -10
  115. package/src/lib/models/src/index.js +1 -10
  116. package/src/lib/models/src/index.js.map +1 -1
  117. package/src/lib/models/src/ltr.payout.model.d.ts +2 -37
  118. package/src/lib/models/src/ltr.payout.model.js +0 -22
  119. package/src/lib/models/src/ltr.payout.model.js.map +1 -1
  120. package/src/lib/models/src/ltr.vehicle.master.model.d.ts +0 -2
  121. package/src/lib/models/src/ltr.vehicle.master.model.js +0 -1
  122. package/src/lib/models/src/ltr.vehicle.master.model.js.map +1 -1
  123. package/src/lib/models/src/passenger.persona.model.d.ts +2 -18
  124. package/src/lib/models/src/passenger.persona.model.js +0 -8
  125. package/src/lib/models/src/passenger.persona.model.js.map +1 -1
  126. package/src/lib/models/src/vehicle.verification.log.model.d.ts +16 -1
  127. package/src/lib/models/src/vehicle.verification.log.model.js +15 -0
  128. package/src/lib/models/src/vehicle.verification.log.model.js.map +1 -1
  129. package/src/lib/models/src/white.label.config.model.d.ts +2 -6
  130. package/src/lib/models/src/white.label.config.model.js +0 -2
  131. package/src/lib/models/src/white.label.config.model.js.map +1 -1
  132. package/src/lib/routes/src/command.registry.routes.d.ts +0 -7
  133. package/src/lib/routes/src/command.registry.routes.js +0 -7
  134. package/src/lib/routes/src/command.registry.routes.js.map +1 -1
  135. package/src/lib/routes/src/gatekeeper.routes.d.ts +0 -2
  136. package/src/lib/routes/src/gatekeeper.routes.js +0 -2
  137. package/src/lib/routes/src/gatekeeper.routes.js.map +1 -1
  138. package/src/lib/routes/src/query.service.routes.d.ts +1 -11
  139. package/src/lib/routes/src/query.service.routes.js +1 -12
  140. package/src/lib/routes/src/query.service.routes.js.map +1 -1
  141. package/src/lib/utilities/src/index.d.ts +2 -8
  142. package/src/lib/utilities/src/index.js +2 -8
  143. package/src/lib/utilities/src/index.js.map +1 -1
  144. package/src/lib/utilities/src/invoice.generation.alert.util.d.ts +0 -1
  145. package/src/lib/utilities/src/invoice.generation.alert.util.js +2 -7
  146. package/src/lib/utilities/src/invoice.generation.alert.util.js.map +1 -1
  147. package/src/lib/utilities/src/pick.latest.numbered.invoice.d.ts +21 -0
  148. package/src/lib/utilities/src/pick.latest.numbered.invoice.js +52 -0
  149. package/src/lib/utilities/src/pick.latest.numbered.invoice.js.map +1 -0
  150. package/src/lib/view-models/src/index.d.ts +0 -2
  151. package/src/lib/view-models/src/index.js +0 -2
  152. package/src/lib/view-models/src/index.js.map +1 -1
  153. package/src/lib/view-models/src/public.config.d.ts +1 -5
  154. package/src/lib/contract-state/src/contract.date.change.display.d.ts +0 -27
  155. package/src/lib/contract-state/src/contract.date.change.display.js +0 -47
  156. package/src/lib/contract-state/src/contract.date.change.display.js.map +0 -1
  157. package/src/lib/contract-state/src/contract.date.change.window.d.ts +0 -63
  158. package/src/lib/contract-state/src/contract.date.change.window.js +0 -85
  159. package/src/lib/contract-state/src/contract.date.change.window.js.map +0 -1
  160. package/src/lib/data-transfer-objects/src/add.ltr.payout.rows.dto.d.ts +0 -86
  161. package/src/lib/data-transfer-objects/src/add.ltr.payout.rows.dto.js +0 -153
  162. package/src/lib/data-transfer-objects/src/add.ltr.payout.rows.dto.js.map +0 -1
  163. package/src/lib/data-transfer-objects/src/check.vehicle.allocation.conflicts.dto.d.ts +0 -19
  164. package/src/lib/data-transfer-objects/src/check.vehicle.allocation.conflicts.dto.js +0 -38
  165. package/src/lib/data-transfer-objects/src/check.vehicle.allocation.conflicts.dto.js.map +0 -1
  166. package/src/lib/data-transfer-objects/src/gatekeeper/get.registered.user.ltr.dto.d.ts +0 -7
  167. package/src/lib/data-transfer-objects/src/gatekeeper/get.registered.user.ltr.dto.js +0 -21
  168. package/src/lib/data-transfer-objects/src/gatekeeper/get.registered.user.ltr.dto.js.map +0 -1
  169. package/src/lib/data-transfer-objects/src/gatekeeper/send.ltr.sign.off.otp.dto.d.ts +0 -17
  170. package/src/lib/data-transfer-objects/src/gatekeeper/send.ltr.sign.off.otp.dto.js +0 -29
  171. package/src/lib/data-transfer-objects/src/gatekeeper/send.ltr.sign.off.otp.dto.js.map +0 -1
  172. package/src/lib/data-transfer-objects/src/get.contract.date.changes.dto.d.ts +0 -59
  173. package/src/lib/data-transfer-objects/src/get.contract.date.changes.dto.js +0 -98
  174. package/src/lib/data-transfer-objects/src/get.contract.date.changes.dto.js.map +0 -1
  175. package/src/lib/data-transfer-objects/src/get.ext.rate.card.dto.d.ts +0 -40
  176. package/src/lib/data-transfer-objects/src/get.ext.rate.card.dto.js +0 -75
  177. package/src/lib/data-transfer-objects/src/get.ext.rate.card.dto.js.map +0 -1
  178. package/src/lib/data-transfer-objects/src/get.ltr.booking.day.wise.logs.dto.d.ts +0 -29
  179. package/src/lib/data-transfer-objects/src/get.ltr.booking.day.wise.logs.dto.js +0 -32
  180. package/src/lib/data-transfer-objects/src/get.ltr.booking.day.wise.logs.dto.js.map +0 -1
  181. package/src/lib/data-transfer-objects/src/get.ltr.driver.bookings.dto.d.ts +0 -5
  182. package/src/lib/data-transfer-objects/src/get.ltr.driver.bookings.dto.js +0 -17
  183. package/src/lib/data-transfer-objects/src/get.ltr.driver.bookings.dto.js.map +0 -1
  184. package/src/lib/data-transfer-objects/src/get.ltr.driver.monthly.logs.dto.d.ts +0 -18
  185. package/src/lib/data-transfer-objects/src/get.ltr.driver.monthly.logs.dto.js +0 -33
  186. package/src/lib/data-transfer-objects/src/get.ltr.driver.monthly.logs.dto.js.map +0 -1
  187. package/src/lib/data-transfer-objects/src/get.ltr.driver.monthly.sign.off.preview.dto.d.ts +0 -24
  188. package/src/lib/data-transfer-objects/src/get.ltr.driver.monthly.sign.off.preview.dto.js +0 -33
  189. package/src/lib/data-transfer-objects/src/get.ltr.driver.monthly.sign.off.preview.dto.js.map +0 -1
  190. package/src/lib/data-transfer-objects/src/get.ltr.driver.payout.rows.dto.d.ts +0 -79
  191. package/src/lib/data-transfer-objects/src/get.ltr.driver.payout.rows.dto.js +0 -58
  192. package/src/lib/data-transfer-objects/src/get.ltr.driver.payout.rows.dto.js.map +0 -1
  193. package/src/lib/data-transfer-objects/src/get.ltr.payout.row.audit.dto.d.ts +0 -31
  194. package/src/lib/data-transfer-objects/src/get.ltr.payout.row.audit.dto.js +0 -42
  195. package/src/lib/data-transfer-objects/src/get.ltr.payout.row.audit.dto.js.map +0 -1
  196. package/src/lib/data-transfer-objects/src/get.ltr.sign.off.config.dto.d.ts +0 -20
  197. package/src/lib/data-transfer-objects/src/get.ltr.sign.off.config.dto.js +0 -20
  198. package/src/lib/data-transfer-objects/src/get.ltr.sign.off.config.dto.js.map +0 -1
  199. package/src/lib/data-transfer-objects/src/sign.off.ltr.payout.entry.dto.d.ts +0 -44
  200. package/src/lib/data-transfer-objects/src/sign.off.ltr.payout.entry.dto.js +0 -51
  201. package/src/lib/data-transfer-objects/src/sign.off.ltr.payout.entry.dto.js.map +0 -1
  202. package/src/lib/data-transfer-objects/src/sign.off.ltr.payout.month.dto.d.ts +0 -78
  203. package/src/lib/data-transfer-objects/src/sign.off.ltr.payout.month.dto.js +0 -71
  204. package/src/lib/data-transfer-objects/src/sign.off.ltr.payout.month.dto.js.map +0 -1
  205. package/src/lib/data-transfer-objects/src/update.ltr.log.confirmation.config.dto.d.ts +0 -6
  206. package/src/lib/data-transfer-objects/src/update.ltr.log.confirmation.config.dto.js +0 -20
  207. package/src/lib/data-transfer-objects/src/update.ltr.log.confirmation.config.dto.js.map +0 -1
  208. package/src/lib/data-transfer-objects/src/update.ltr.payout.rows.dto.d.ts +0 -18
  209. package/src/lib/data-transfer-objects/src/update.ltr.payout.rows.dto.js +0 -20
  210. package/src/lib/data-transfer-objects/src/update.ltr.payout.rows.dto.js.map +0 -1
  211. package/src/lib/data-transfer-objects/src/update.pickup.detection.config.dto.d.ts +0 -7
  212. package/src/lib/data-transfer-objects/src/update.pickup.detection.config.dto.js +0 -22
  213. package/src/lib/data-transfer-objects/src/update.pickup.detection.config.dto.js.map +0 -1
  214. package/src/lib/data-transfer-objects/src/update.vehicle.allocation.conflict.window.dto.d.ts +0 -15
  215. package/src/lib/data-transfer-objects/src/update.vehicle.allocation.conflict.window.dto.js +0 -29
  216. package/src/lib/data-transfer-objects/src/update.vehicle.allocation.conflict.window.dto.js.map +0 -1
  217. package/src/lib/enums/src/ltr.font.enum.d.ts +0 -5
  218. package/src/lib/enums/src/ltr.font.enum.js +0 -7
  219. package/src/lib/enums/src/ltr.font.enum.js.map +0 -1
  220. package/src/lib/enums/src/ltr.payout.enum.d.ts +0 -67
  221. package/src/lib/enums/src/ltr.payout.enum.js +0 -74
  222. package/src/lib/enums/src/ltr.payout.enum.js.map +0 -1
  223. package/src/lib/enums/src/otp.scope.enum.d.ts +0 -16
  224. package/src/lib/enums/src/otp.scope.enum.js +0 -18
  225. package/src/lib/enums/src/otp.scope.enum.js.map +0 -1
  226. package/src/lib/enums/src/pickup.detection.mode.enum.d.ts +0 -5
  227. package/src/lib/enums/src/pickup.detection.mode.enum.js +0 -7
  228. package/src/lib/enums/src/pickup.detection.mode.enum.js.map +0 -1
  229. package/src/lib/enums/src/retry.task.enum.d.ts +0 -28
  230. package/src/lib/enums/src/retry.task.enum.js +0 -31
  231. package/src/lib/enums/src/retry.task.enum.js.map +0 -1
  232. package/src/lib/enums/src/vehicle.allocation.conflict.enum.d.ts +0 -65
  233. package/src/lib/enums/src/vehicle.allocation.conflict.enum.js +0 -71
  234. package/src/lib/enums/src/vehicle.allocation.conflict.enum.js.map +0 -1
  235. package/src/lib/models/src/client.contract.date.change.model.d.ts +0 -80
  236. package/src/lib/models/src/client.contract.date.change.model.js +0 -25
  237. package/src/lib/models/src/client.contract.date.change.model.js.map +0 -1
  238. package/src/lib/models/src/configurations.activity.log.model.d.ts +0 -42
  239. package/src/lib/models/src/configurations.activity.log.model.js +0 -15
  240. package/src/lib/models/src/configurations.activity.log.model.js.map +0 -1
  241. package/src/lib/models/src/ltr.log.confirmation.model.d.ts +0 -30
  242. package/src/lib/models/src/ltr.log.confirmation.model.js +0 -15
  243. package/src/lib/models/src/ltr.log.confirmation.model.js.map +0 -1
  244. package/src/lib/models/src/ltr.payout.month.sign.off.model.d.ts +0 -85
  245. package/src/lib/models/src/ltr.payout.month.sign.off.model.js +0 -28
  246. package/src/lib/models/src/ltr.payout.month.sign.off.model.js.map +0 -1
  247. package/src/lib/models/src/ltr.payout.row.audit.model.d.ts +0 -44
  248. package/src/lib/models/src/ltr.payout.row.audit.model.js +0 -22
  249. package/src/lib/models/src/ltr.payout.row.audit.model.js.map +0 -1
  250. package/src/lib/models/src/ltr.payout.row.group.model.d.ts +0 -73
  251. package/src/lib/models/src/ltr.payout.row.group.model.js +0 -25
  252. package/src/lib/models/src/ltr.payout.row.group.model.js.map +0 -1
  253. package/src/lib/models/src/ltr.payout.row.image.model.d.ts +0 -34
  254. package/src/lib/models/src/ltr.payout.row.image.model.js +0 -11
  255. package/src/lib/models/src/ltr.payout.row.image.model.js.map +0 -1
  256. package/src/lib/models/src/ltr.sign.off.otp.model.d.ts +0 -40
  257. package/src/lib/models/src/ltr.sign.off.otp.model.js +0 -17
  258. package/src/lib/models/src/ltr.sign.off.otp.model.js.map +0 -1
  259. package/src/lib/models/src/retry.task.model.d.ts +0 -56
  260. package/src/lib/models/src/retry.task.model.js +0 -26
  261. package/src/lib/models/src/retry.task.model.js.map +0 -1
  262. package/src/lib/utilities/src/ba.payout.workshop.days.d.ts +0 -77
  263. package/src/lib/utilities/src/ba.payout.workshop.days.js +0 -109
  264. package/src/lib/utilities/src/ba.payout.workshop.days.js.map +0 -1
  265. package/src/lib/utilities/src/financial.year.d.ts +0 -83
  266. package/src/lib/utilities/src/financial.year.js +0 -145
  267. package/src/lib/utilities/src/financial.year.js.map +0 -1
  268. package/src/lib/utilities/src/ltr.cycle.month.index.d.ts +0 -14
  269. package/src/lib/utilities/src/ltr.cycle.month.index.js +0 -22
  270. package/src/lib/utilities/src/ltr.cycle.month.index.js.map +0 -1
  271. package/src/lib/utilities/src/ltr.payout.row.key.d.ts +0 -43
  272. package/src/lib/utilities/src/ltr.payout.row.key.js +0 -78
  273. package/src/lib/utilities/src/ltr.payout.row.key.js.map +0 -1
  274. package/src/lib/utilities/src/normalize.phone.number.d.ts +0 -17
  275. package/src/lib/utilities/src/normalize.phone.number.js +0 -45
  276. package/src/lib/utilities/src/normalize.phone.number.js.map +0 -1
  277. package/src/lib/utilities/src/parse.display.date.d.ts +0 -16
  278. package/src/lib/utilities/src/parse.display.date.js +0 -43
  279. package/src/lib/utilities/src/parse.display.date.js.map +0 -1
  280. package/src/lib/utilities/src/resolve.gst.state.d.ts +0 -23
  281. package/src/lib/utilities/src/resolve.gst.state.js +0 -38
  282. package/src/lib/utilities/src/resolve.gst.state.js.map +0 -1
  283. package/src/lib/view-models/src/ext.rate.card.d.ts +0 -114
  284. package/src/lib/view-models/src/ext.rate.card.js +0 -9
  285. package/src/lib/view-models/src/ext.rate.card.js.map +0 -1
  286. package/src/lib/view-models/src/vehicle.allocation.conflict.d.ts +0 -28
  287. package/src/lib/view-models/src/vehicle.allocation.conflict.js +0 -2
  288. package/src/lib/view-models/src/vehicle.allocation.conflict.js.map +0 -1
@@ -1,31 +0,0 @@
1
- /**
2
- * Which operation a RetryTask row replays. The processor maps each type to a
3
- * handler, so adding a retryable operation means adding a type + handler rather
4
- * than another bespoke column/scan.
5
- */
6
- export var RetryTaskType;
7
- (function (RetryTaskType) {
8
- /** Re-push an allocation to MMI after the original push failed. */
9
- RetryTaskType["MMIPush"] = "MMIPush";
10
- /** Re-attach an external duty slip that failed to upload on duty close. */
11
- RetryTaskType["ExtDutySlipUpload"] = "ExtDutySlipUpload";
12
- })(RetryTaskType || (RetryTaskType = {}));
13
- export var RetryTaskStatus;
14
- (function (RetryTaskStatus) {
15
- /** Waiting for its next attempt (see nextAttemptAt). */
16
- RetryTaskStatus["Pending"] = "Pending";
17
- /** Claimed by a processor tick; guards against double execution. */
18
- RetryTaskStatus["InProgress"] = "InProgress";
19
- /** Completed successfully — terminal. */
20
- RetryTaskStatus["Succeeded"] = "Succeeded";
21
- /** Gave up: hit maxAttempts, or failed in a way retrying can't fix. */
22
- RetryTaskStatus["Exhausted"] = "Exhausted";
23
- /**
24
- * The row's own data is unusable for its type — a required field is missing
25
- * or the payload doesn't match what the handler needs. Distinct from
26
- * Exhausted: nothing was ever attempted, because no number of attempts could
27
- * succeed. Retired without burning attempts or calling anything.
28
- */
29
- RetryTaskStatus["Blacklisted"] = "Blacklisted";
30
- })(RetryTaskStatus || (RetryTaskStatus = {}));
31
- //# sourceMappingURL=retry.task.enum.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"retry.task.enum.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/enums/src/retry.task.enum.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,CAAN,IAAY,aAKX;AALD,WAAY,aAAa;IACxB,mEAAmE;IACnE,oCAAmB,CAAA;IACnB,2EAA2E;IAC3E,wDAAuC,CAAA;AACxC,CAAC,EALW,aAAa,KAAb,aAAa,QAKxB;AAED,MAAM,CAAN,IAAY,eAgBX;AAhBD,WAAY,eAAe;IAC1B,wDAAwD;IACxD,sCAAmB,CAAA;IACnB,oEAAoE;IACpE,4CAAyB,CAAA;IACzB,yCAAyC;IACzC,0CAAuB,CAAA;IACvB,uEAAuE;IACvE,0CAAuB,CAAA;IACvB;;;;;OAKG;IACH,8CAA2B,CAAA;AAC5B,CAAC,EAhBW,eAAe,KAAf,eAAe,QAgB1B"}
@@ -1,65 +0,0 @@
1
- import { BookingStatus } from './booking.status.enum';
2
- import { TripStatus } from './trip.status.enum';
3
- /**
4
- * AD-3373 — why a vehicle allocation was flagged.
5
- *
6
- * The reason is carried on every conflict rather than inferred by the client,
7
- * because the three rules read very differently to a dispatcher: "this car is
8
- * out on a job right now" is a hard operational clash, while "this car has a
9
- * job starting in 90 minutes" is a heads-up about the next slot.
10
- */
11
- export declare enum VehicleAllocationConflictReason {
12
- /** The vehicle is on a duty whose trip is running at this moment. */
13
- Ongoing = "Ongoing",
14
- /**
15
- * The vehicle is allocated to a duty whose pickup falls inside the
16
- * configured window measured from now (default 2 hours).
17
- */
18
- UpcomingWithinWindow = "UpcomingWithinWindow",
19
- /**
20
- * The vehicle is allocated to a duty whose pickup is close to the pickup of
21
- * the duty being allocated. Anchored on the booking rather than on `now`,
22
- * so allocating next Tuesday's duty still catches next Tuesday's clash.
23
- */
24
- SamePickupSlot = "SamePickupSlot"
25
- }
26
- /**
27
- * AD-3373 — default conflict window when a context has not configured one.
28
- * 120 minutes = the 2 hours the ticket specifies. Overridable per context via
29
- * ConfigurationField.VehicleAllocationConflictWindowMinutes.
30
- */
31
- export declare const DEFAULT_VEHICLE_ALLOCATION_CONFLICT_WINDOW_MINUTES = 120;
32
- /**
33
- * Upper bound accepted for the configured window: 7 days. Past that the check
34
- * flags essentially every allocation, which trains dispatchers to click through
35
- * the warning without reading it — worse than having no warning at all.
36
- */
37
- export declare const MAX_VEHICLE_ALLOCATION_CONFLICT_WINDOW_MINUTES = 10080;
38
- /**
39
- * How far either side of the pickup of the duty being allocated a second duty
40
- * on the same vehicle counts as the same slot.
41
- *
42
- * 30 minutes, preserved from the check that shipped before AD-3373 so that
43
- * behaviour does not regress for bookings outside the now-window. Deliberately
44
- * NOT the configurable window: that one is anchored on `now` and answers "is
45
- * this car about to be busy", this one is anchored on the booking and answers
46
- * "is this car double-booked for this slot".
47
- */
48
- export declare const VEHICLE_ALLOCATION_SAME_SLOT_TOLERANCE_MINUTES = 30;
49
- /**
50
- * Booking statuses in which a duty still holds its vehicle (AD-3373).
51
- *
52
- * Cancelled and Aborted are excluded on purpose — the ticket's whole point is
53
- * to surface a real clash, and a duty nobody will run does not clash with
54
- * anything. Fulfilled/Completed/Invoiced/Paid are excluded for the same reason:
55
- * the vehicle has finished and been released. PendingApproval and NewRequest
56
- * are excluded because no vehicle is allocated in those states; if one somehow
57
- * is, the booking is not yet confirmed and warning on it would be noise.
58
- */
59
- export declare const VEHICLE_ALLOCATION_CONFLICTING_BOOKING_STATUSES: BookingStatus[];
60
- /**
61
- * Trip statuses that mean the vehicle is physically out on a job right now.
62
- * Same set the driver dispatch validation already uses, so the two checks
63
- * cannot disagree about what "ongoing" means.
64
- */
65
- export declare const VEHICLE_ALLOCATION_ONGOING_TRIP_STATUSES: TripStatus[];
@@ -1,71 +0,0 @@
1
- import { BookingStatus } from './booking.status.enum';
2
- import { TripStatus } from './trip.status.enum';
3
- /**
4
- * AD-3373 — why a vehicle allocation was flagged.
5
- *
6
- * The reason is carried on every conflict rather than inferred by the client,
7
- * because the three rules read very differently to a dispatcher: "this car is
8
- * out on a job right now" is a hard operational clash, while "this car has a
9
- * job starting in 90 minutes" is a heads-up about the next slot.
10
- */
11
- export var VehicleAllocationConflictReason;
12
- (function (VehicleAllocationConflictReason) {
13
- /** The vehicle is on a duty whose trip is running at this moment. */
14
- VehicleAllocationConflictReason["Ongoing"] = "Ongoing";
15
- /**
16
- * The vehicle is allocated to a duty whose pickup falls inside the
17
- * configured window measured from now (default 2 hours).
18
- */
19
- VehicleAllocationConflictReason["UpcomingWithinWindow"] = "UpcomingWithinWindow";
20
- /**
21
- * The vehicle is allocated to a duty whose pickup is close to the pickup of
22
- * the duty being allocated. Anchored on the booking rather than on `now`,
23
- * so allocating next Tuesday's duty still catches next Tuesday's clash.
24
- */
25
- VehicleAllocationConflictReason["SamePickupSlot"] = "SamePickupSlot";
26
- })(VehicleAllocationConflictReason || (VehicleAllocationConflictReason = {}));
27
- /**
28
- * AD-3373 — default conflict window when a context has not configured one.
29
- * 120 minutes = the 2 hours the ticket specifies. Overridable per context via
30
- * ConfigurationField.VehicleAllocationConflictWindowMinutes.
31
- */
32
- export const DEFAULT_VEHICLE_ALLOCATION_CONFLICT_WINDOW_MINUTES = 120;
33
- /**
34
- * Upper bound accepted for the configured window: 7 days. Past that the check
35
- * flags essentially every allocation, which trains dispatchers to click through
36
- * the warning without reading it — worse than having no warning at all.
37
- */
38
- export const MAX_VEHICLE_ALLOCATION_CONFLICT_WINDOW_MINUTES = 10080;
39
- /**
40
- * How far either side of the pickup of the duty being allocated a second duty
41
- * on the same vehicle counts as the same slot.
42
- *
43
- * 30 minutes, preserved from the check that shipped before AD-3373 so that
44
- * behaviour does not regress for bookings outside the now-window. Deliberately
45
- * NOT the configurable window: that one is anchored on `now` and answers "is
46
- * this car about to be busy", this one is anchored on the booking and answers
47
- * "is this car double-booked for this slot".
48
- */
49
- export const VEHICLE_ALLOCATION_SAME_SLOT_TOLERANCE_MINUTES = 30;
50
- /**
51
- * Booking statuses in which a duty still holds its vehicle (AD-3373).
52
- *
53
- * Cancelled and Aborted are excluded on purpose — the ticket's whole point is
54
- * to surface a real clash, and a duty nobody will run does not clash with
55
- * anything. Fulfilled/Completed/Invoiced/Paid are excluded for the same reason:
56
- * the vehicle has finished and been released. PendingApproval and NewRequest
57
- * are excluded because no vehicle is allocated in those states; if one somehow
58
- * is, the booking is not yet confirmed and warning on it would be noise.
59
- */
60
- export const VEHICLE_ALLOCATION_CONFLICTING_BOOKING_STATUSES = [BookingStatus.Booked, BookingStatus.Allotted, BookingStatus.Dispatched];
61
- /**
62
- * Trip statuses that mean the vehicle is physically out on a job right now.
63
- * Same set the driver dispatch validation already uses, so the two checks
64
- * cannot disagree about what "ongoing" means.
65
- */
66
- export const VEHICLE_ALLOCATION_ONGOING_TRIP_STATUSES = [
67
- TripStatus.DriverOnTheWay,
68
- TripStatus.DriverReached,
69
- TripStatus.TripStarted,
70
- ];
71
- //# sourceMappingURL=vehicle.allocation.conflict.enum.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vehicle.allocation.conflict.enum.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/enums/src/vehicle.allocation.conflict.enum.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;;;;GAOG;AACH,MAAM,CAAN,IAAY,+BAcX;AAdD,WAAY,+BAA+B;IAC1C,qEAAqE;IACrE,sDAAmB,CAAA;IACnB;;;OAGG;IACH,gFAA6C,CAAA;IAC7C;;;;OAIG;IACH,oEAAiC,CAAA;AAClC,CAAC,EAdW,+BAA+B,KAA/B,+BAA+B,QAc1C;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,kDAAkD,GAAG,GAAG,CAAC;AAEtE;;;;GAIG;AACH,MAAM,CAAC,MAAM,8CAA8C,GAAG,KAAK,CAAC;AAEpE;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,8CAA8C,GAAG,EAAE,CAAC;AAEjE;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,+CAA+C,GAC3D,CAAC,aAAa,CAAC,MAAM,EAAE,aAAa,CAAC,QAAQ,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;AAE1E;;;;GAIG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAiB;IACrE,UAAU,CAAC,cAAc;IACzB,UAAU,CAAC,aAAa;IACxB,UAAU,CAAC,WAAW;CACtB,CAAC"}
@@ -1,80 +0,0 @@
1
- import { TermRentalType } from '../../enums/src/index';
2
- import { IClientPersona } from './client.persona.model';
3
- import { IContextPersona } from './context.persona.model';
4
- import { IContractTerms } from './contract.terms.model';
5
- import { TypedModel } from './typed.model';
6
- export declare enum ClientContractDateChangeField {
7
- ChangeId = "changeId",
8
- ClientPersona = "cltPersona",
9
- ClientPersonaId = "cltPersonaId",
10
- ContractTerms = "ctTerms",
11
- ContractTermsId = "ctTermsId",
12
- RentalType = "rentalType",
13
- ChangedAt = "changedAt",
14
- WindowStartedAt = "windowStartedAt",
15
- SeqInWindow = "seqInWindow",
16
- OldStartDate = "oldStartDate",
17
- NewStartDate = "newStartDate",
18
- OldEndDate = "oldEndDate",
19
- NewEndDate = "newEndDate",
20
- ChangedBy = "changedBy",
21
- ChangedByPhone = "chgPhone",
22
- ChangedByEmail = "chgEmail",
23
- ChangedByPersona = "chgBy",
24
- ChangedByPersonaId = "chgById",
25
- Overridden = "overridden",
26
- WindowDays = "windowDays",
27
- WindowLimit = "windowLimit"
28
- }
29
- /**
30
- * One row per counted contract date change, bucketed by client and rental type.
31
- *
32
- * The rule this backs is a rolling budget: at most `windowLimit` date changes
33
- * within `windowDays` days, counted across every contract of one client of one
34
- * rental type. STR and LTR hold separate tallies under the same configured X
35
- * and Y, so spending the STR budget never blocks an LTR change; the
36
- * contract-file path, which has no rental type, counts in a third bucket of
37
- * its own under NULL. The window is anchored on the first change; once it
38
- * elapses the next change opens a fresh window.
39
- *
40
- * `windowStartedAt` is written at record time rather than derived on read, so
41
- * the current window is a single "newest row" lookup instead of a walk over
42
- * the whole history. Rows sharing a bucket and a `windowStartedAt` are one
43
- * window.
44
- *
45
- * A change made while the rule is switched off is still recorded, with
46
- * `windowStartedAt` and `seqInWindow` NULL: it is history, but it was counted
47
- * into nothing. That keeps this table a complete record of who moved contract
48
- * dates rather than a side effect of enforcement being configured — and
49
- * evaluation ignores those rows, so switching the rule on later does not
50
- * retroactively spend a client's budget on changes no rule governed.
51
- *
52
- * `windowDays` / `windowLimit` capture X and Y **as configured at the time**.
53
- * They are audit only and never feed the decision — evaluation always reads
54
- * the live `Configurations` values, so raising the limit unblocks immediately.
55
- * Keeping the historical values here is what makes an after-the-fact reading
56
- * of the log honest about the rule each change was measured against.
57
- */
58
- export interface IClientContractDateChange extends TypedModel {
59
- [ClientContractDateChangeField.ChangeId]: string;
60
- [ClientContractDateChangeField.ClientPersona]: IClientPersona;
61
- [ClientContractDateChangeField.ClientPersonaId]: string;
62
- [ClientContractDateChangeField.ContractTerms]?: IContractTerms;
63
- [ClientContractDateChangeField.ContractTermsId]?: string;
64
- [ClientContractDateChangeField.RentalType]?: TermRentalType;
65
- [ClientContractDateChangeField.ChangedAt]: Date;
66
- [ClientContractDateChangeField.WindowStartedAt]?: Date;
67
- [ClientContractDateChangeField.SeqInWindow]?: number;
68
- [ClientContractDateChangeField.OldStartDate]?: Date;
69
- [ClientContractDateChangeField.NewStartDate]?: Date;
70
- [ClientContractDateChangeField.OldEndDate]?: Date;
71
- [ClientContractDateChangeField.NewEndDate]?: Date;
72
- [ClientContractDateChangeField.ChangedBy]: string;
73
- [ClientContractDateChangeField.ChangedByPhone]?: string;
74
- [ClientContractDateChangeField.ChangedByEmail]?: string;
75
- [ClientContractDateChangeField.ChangedByPersona]?: IContextPersona;
76
- [ClientContractDateChangeField.ChangedByPersonaId]?: string;
77
- [ClientContractDateChangeField.Overridden]: boolean;
78
- [ClientContractDateChangeField.WindowDays]?: number;
79
- [ClientContractDateChangeField.WindowLimit]?: number;
80
- }
@@ -1,25 +0,0 @@
1
- export var ClientContractDateChangeField;
2
- (function (ClientContractDateChangeField) {
3
- ClientContractDateChangeField["ChangeId"] = "changeId";
4
- ClientContractDateChangeField["ClientPersona"] = "cltPersona";
5
- ClientContractDateChangeField["ClientPersonaId"] = "cltPersonaId";
6
- ClientContractDateChangeField["ContractTerms"] = "ctTerms";
7
- ClientContractDateChangeField["ContractTermsId"] = "ctTermsId";
8
- ClientContractDateChangeField["RentalType"] = "rentalType";
9
- ClientContractDateChangeField["ChangedAt"] = "changedAt";
10
- ClientContractDateChangeField["WindowStartedAt"] = "windowStartedAt";
11
- ClientContractDateChangeField["SeqInWindow"] = "seqInWindow";
12
- ClientContractDateChangeField["OldStartDate"] = "oldStartDate";
13
- ClientContractDateChangeField["NewStartDate"] = "newStartDate";
14
- ClientContractDateChangeField["OldEndDate"] = "oldEndDate";
15
- ClientContractDateChangeField["NewEndDate"] = "newEndDate";
16
- ClientContractDateChangeField["ChangedBy"] = "changedBy";
17
- ClientContractDateChangeField["ChangedByPhone"] = "chgPhone";
18
- ClientContractDateChangeField["ChangedByEmail"] = "chgEmail";
19
- ClientContractDateChangeField["ChangedByPersona"] = "chgBy";
20
- ClientContractDateChangeField["ChangedByPersonaId"] = "chgById";
21
- ClientContractDateChangeField["Overridden"] = "overridden";
22
- ClientContractDateChangeField["WindowDays"] = "windowDays";
23
- ClientContractDateChangeField["WindowLimit"] = "windowLimit";
24
- })(ClientContractDateChangeField || (ClientContractDateChangeField = {}));
25
- //# sourceMappingURL=client.contract.date.change.model.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"client.contract.date.change.model.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/models/src/client.contract.date.change.model.ts"],"names":[],"mappings":"AAMA,MAAM,CAAN,IAAY,6BAsBX;AAtBD,WAAY,6BAA6B;IACxC,sDAAqB,CAAA;IACrB,6DAA4B,CAAA;IAC5B,iEAAgC,CAAA;IAChC,0DAAyB,CAAA;IACzB,8DAA6B,CAAA;IAC7B,0DAAyB,CAAA;IACzB,wDAAuB,CAAA;IACvB,oEAAmC,CAAA;IACnC,4DAA2B,CAAA;IAC3B,8DAA6B,CAAA;IAC7B,8DAA6B,CAAA;IAC7B,0DAAyB,CAAA;IACzB,0DAAyB,CAAA;IACzB,wDAAuB,CAAA;IACvB,4DAA2B,CAAA;IAC3B,4DAA2B,CAAA;IAC3B,2DAA0B,CAAA;IAC1B,+DAA8B,CAAA;IAC9B,0DAAyB,CAAA;IACzB,0DAAyB,CAAA;IACzB,4DAA2B,CAAA;AAC5B,CAAC,EAtBW,6BAA6B,KAA7B,6BAA6B,QAsBxC"}
@@ -1,42 +0,0 @@
1
- import { IConfigurations } from './configurations.model';
2
- import { TypedModel } from './typed.model';
3
- export declare enum ConfigurationsActivityLogField {
4
- LogId = "logId",
5
- Configurations = "config",
6
- ConfigurationsId = "configId",
7
- Date = "date",
8
- Field = "field",
9
- OldValue = "old",
10
- NewValue = "new",
11
- EditedBy = "editedBy",
12
- Action = "action",
13
- EditedByPhone = "edPhone",
14
- EditedByEmail = "edEmail"
15
- }
16
- /**
17
- * Audit trail for global configuration changes.
18
- *
19
- * Deliberately narrow: today only the two contract date-change throttle fields
20
- * (`contractExtDays`, `contractExtLimit`) are logged here. They need it because
21
- * raising the limit lifts a live block instantly and leaves no other trace —
22
- * an easier bypass than the override permission, and one that would otherwise
23
- * be invisible to the people the throttle exists to inform.
24
- *
25
- * Auditing the whole of `Configurations` is a much larger piece of work (the
26
- * entity carries well over a hundred columns, several of them JSON), so this
27
- * stays scoped until there is a reason to widen it. The shape matches the
28
- * other activity logs so the existing viewers read it without special-casing.
29
- */
30
- export interface IConfigurationsActivityLog extends TypedModel {
31
- [ConfigurationsActivityLogField.LogId]: string;
32
- [ConfigurationsActivityLogField.Configurations]: IConfigurations;
33
- [ConfigurationsActivityLogField.ConfigurationsId]: string;
34
- [ConfigurationsActivityLogField.Date]: Date;
35
- [ConfigurationsActivityLogField.Field]: string;
36
- [ConfigurationsActivityLogField.OldValue]: string;
37
- [ConfigurationsActivityLogField.NewValue]: string;
38
- [ConfigurationsActivityLogField.EditedBy]: string;
39
- [ConfigurationsActivityLogField.Action]: string;
40
- [ConfigurationsActivityLogField.EditedByPhone]: string;
41
- [ConfigurationsActivityLogField.EditedByEmail]: string;
42
- }
@@ -1,15 +0,0 @@
1
- export var ConfigurationsActivityLogField;
2
- (function (ConfigurationsActivityLogField) {
3
- ConfigurationsActivityLogField["LogId"] = "logId";
4
- ConfigurationsActivityLogField["Configurations"] = "config";
5
- ConfigurationsActivityLogField["ConfigurationsId"] = "configId";
6
- ConfigurationsActivityLogField["Date"] = "date";
7
- ConfigurationsActivityLogField["Field"] = "field";
8
- ConfigurationsActivityLogField["OldValue"] = "old";
9
- ConfigurationsActivityLogField["NewValue"] = "new";
10
- ConfigurationsActivityLogField["EditedBy"] = "editedBy";
11
- ConfigurationsActivityLogField["Action"] = "action";
12
- ConfigurationsActivityLogField["EditedByPhone"] = "edPhone";
13
- ConfigurationsActivityLogField["EditedByEmail"] = "edEmail";
14
- })(ConfigurationsActivityLogField || (ConfigurationsActivityLogField = {}));
15
- //# sourceMappingURL=configurations.activity.log.model.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"configurations.activity.log.model.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/models/src/configurations.activity.log.model.ts"],"names":[],"mappings":"AAGA,MAAM,CAAN,IAAY,8BAYX;AAZD,WAAY,8BAA8B;IACzC,iDAAe,CAAA;IACf,2DAAyB,CAAA;IACzB,+DAA6B,CAAA;IAC7B,+CAAa,CAAA;IACb,iDAAe,CAAA;IACf,kDAAgB,CAAA;IAChB,kDAAgB,CAAA;IAChB,uDAAqB,CAAA;IACrB,mDAAiB,CAAA;IACjB,2DAAyB,CAAA;IACzB,2DAAyB,CAAA;AAC1B,CAAC,EAZW,8BAA8B,KAA9B,8BAA8B,QAYzC"}
@@ -1,30 +0,0 @@
1
- import { TripAuthType } from '../../enums/src/trip.auth.type.enum';
2
- export declare enum LTRLogConfirmationField {
3
- ConfirmationType = "confirmationType",
4
- AllowSkipOtp = "allowSkipOtp"
5
- }
6
- /**
7
- * How a driver's completed LTR daily/monthly log is confirmed by the customer
8
- * before it moves to billing. Configured per client.
9
- *
10
- * `confirmationType` reuses TripAuthType — the four cases line up exactly:
11
- * Signature → customer signs on the driver's phone only
12
- * OTP → verification code sent to the customer only
13
- * Both → code first, then signature
14
- * None → no confirmation; the log is accepted on driver submit
15
- *
16
- * `allowSkipOtp` gates the "Skip OTP" link on the driver's code-entry screen.
17
- * Only meaningful when the flow includes an OTP step (OTP or Both).
18
- *
19
- * Absent config falls back to Signature, with skipping disallowed.
20
- * See LTR_LOG_CONFIRMATION_DEFAULT.
21
- */
22
- export interface LTRLogConfirmation {
23
- [LTRLogConfirmationField.ConfirmationType]: TripAuthType;
24
- [LTRLogConfirmationField.AllowSkipOtp]: boolean;
25
- }
26
- /**
27
- * Default applied when a client has no explicit config: the customer signs on
28
- * the driver's phone, with no verification code step.
29
- */
30
- export declare const LTR_LOG_CONFIRMATION_DEFAULT: LTRLogConfirmation;
@@ -1,15 +0,0 @@
1
- import { TripAuthType } from '../../enums/src/trip.auth.type.enum';
2
- export var LTRLogConfirmationField;
3
- (function (LTRLogConfirmationField) {
4
- LTRLogConfirmationField["ConfirmationType"] = "confirmationType";
5
- LTRLogConfirmationField["AllowSkipOtp"] = "allowSkipOtp";
6
- })(LTRLogConfirmationField || (LTRLogConfirmationField = {}));
7
- /**
8
- * Default applied when a client has no explicit config: the customer signs on
9
- * the driver's phone, with no verification code step.
10
- */
11
- export const LTR_LOG_CONFIRMATION_DEFAULT = {
12
- [LTRLogConfirmationField.ConfirmationType]: TripAuthType.Signature,
13
- [LTRLogConfirmationField.AllowSkipOtp]: false,
14
- };
15
- //# sourceMappingURL=ltr.log.confirmation.model.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ltr.log.confirmation.model.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/models/src/ltr.log.confirmation.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAEnE,MAAM,CAAN,IAAY,uBAGX;AAHD,WAAY,uBAAuB;IAClC,gEAAqC,CAAA;IACrC,wDAA6B,CAAA;AAC9B,CAAC,EAHW,uBAAuB,KAAvB,uBAAuB,QAGlC;AAuBD;;;GAGG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAuB;IAC/D,CAAC,uBAAuB,CAAC,gBAAgB,CAAC,EAAE,YAAY,CAAC,SAAS;IAClE,CAAC,uBAAuB,CAAC,YAAY,CAAC,EAAE,KAAK;CAC7C,CAAC"}
@@ -1,85 +0,0 @@
1
- import { LTRPayoutSignOffMethod } from '@autologix/shared/enums';
2
- import { ILTRPayout } from './ltr.payout.model';
3
- import { IRequest } from './request.model';
4
- export declare enum LTRPayoutMonthSignOffField {
5
- MonthSignOffId = "monthSignOffId",
6
- Payout = "payout",
7
- PayoutId = "payoutId",
8
- Request = "request",
9
- RequestId = "requestId",
10
- /** Registered user of the driver who signed. */
11
- RegisteredUserId = "registeredUserId",
12
- /** Their driver persona, resolved at sign-off time. */
13
- DriverPersonaId = "driverPersonaId",
14
- /** The month signed, as `YYYY-MM`. */
15
- Month = "month",
16
- /** First locked day, inclusive — start-of-day. */
17
- LockFrom = "lockFrom",
18
- /** Last locked day, inclusive — end-of-day. */
19
- LockTo = "lockTo",
20
- SignedOffAt = "signedOffAt",
21
- SignOffMethod = "signOffMethod",
22
- SignatureImageUrl = "signatureImageUrl",
23
- /** Dates still missing or in draft when the driver chose to proceed. */
24
- IncompleteDates = "incompleteDates",
25
- /** How many of the driver's entries this sign-off settled. */
26
- SignedEntryCount = "signedEntryCount",
27
- CreatedAt = "createdAt",
28
- UpdatedAt = "updatedAt"
29
- }
30
- /**
31
- * One driver's monthly sign-off on one LTR booking. (AD-3206)
32
- *
33
- * Distinct from both the daily sign-off — which settles a single entry on
34
- * `LTRPayoutRowGroup` — and the payout-wide sign-off held on `LTRPayout`,
35
- * which settles the whole booking for the client.
36
- *
37
- * ### Why this is its own record rather than a status on the payout
38
- *
39
- * LTR bookings support driver replacement, so one booking and one month can
40
- * have more than one driver. A driver signs off **his own days only**, and
41
- * signing must not settle or lock another driver's days in the same month.
42
- * `LTRPayout.status` is booking-wide and cannot express that; a per-(booking,
43
- * driver, month) record can.
44
- *
45
- * ### Why the lock is a date range and not a month string
46
- *
47
- * After sign-off the driver may no longer create or edit a log in the locked
48
- * period — including the days he left missing or in draft. Those days have no
49
- * entry to hold a status, so the lock cannot live on `LTRPayoutRowGroup`
50
- * either: a missing day is precisely the case with no group.
51
- *
52
- * `lockFrom`/`lockTo` hold the driver's **applicable** range within the month
53
- * — the part of the month the booking covered and a replacement did not take
54
- * from him — rather than the calendar month's bounds. Product had not settled
55
- * which of the two the lock should mean when this was built (AD-3206 §5), so
56
- * storing the range makes that a stored value rather than a code branch: to
57
- * lock whole calendar months instead, widen these two columns at write time
58
- * and every enforcement site follows.
59
- */
60
- export interface ILTRPayoutMonthSignOff {
61
- [LTRPayoutMonthSignOffField.MonthSignOffId]: string;
62
- [LTRPayoutMonthSignOffField.Payout]: ILTRPayout;
63
- [LTRPayoutMonthSignOffField.PayoutId]: string;
64
- /** Denormalised so a lock can be checked without loading the payout. */
65
- [LTRPayoutMonthSignOffField.Request]: IRequest;
66
- [LTRPayoutMonthSignOffField.RequestId]: string;
67
- [LTRPayoutMonthSignOffField.RegisteredUserId]: string;
68
- [LTRPayoutMonthSignOffField.DriverPersonaId]: string;
69
- [LTRPayoutMonthSignOffField.Month]: string;
70
- [LTRPayoutMonthSignOffField.LockFrom]: Date;
71
- [LTRPayoutMonthSignOffField.LockTo]: Date;
72
- [LTRPayoutMonthSignOffField.SignedOffAt]: Date;
73
- [LTRPayoutMonthSignOffField.SignOffMethod]?: LTRPayoutSignOffMethod;
74
- /** Set only when the sign-off captured a signature. */
75
- [LTRPayoutMonthSignOffField.SignatureImageUrl]?: string;
76
- /**
77
- * The `yyyy-MM-dd` dates that were still incomplete when the driver
78
- * proceeded past the warning. Kept because the lock leaves them permanently
79
- * unlogged — without this there is no record of what was given up.
80
- */
81
- [LTRPayoutMonthSignOffField.IncompleteDates]?: string[];
82
- [LTRPayoutMonthSignOffField.SignedEntryCount]: number;
83
- [LTRPayoutMonthSignOffField.CreatedAt]: Date;
84
- [LTRPayoutMonthSignOffField.UpdatedAt]: Date;
85
- }
@@ -1,28 +0,0 @@
1
- export var LTRPayoutMonthSignOffField;
2
- (function (LTRPayoutMonthSignOffField) {
3
- LTRPayoutMonthSignOffField["MonthSignOffId"] = "monthSignOffId";
4
- LTRPayoutMonthSignOffField["Payout"] = "payout";
5
- LTRPayoutMonthSignOffField["PayoutId"] = "payoutId";
6
- LTRPayoutMonthSignOffField["Request"] = "request";
7
- LTRPayoutMonthSignOffField["RequestId"] = "requestId";
8
- /** Registered user of the driver who signed. */
9
- LTRPayoutMonthSignOffField["RegisteredUserId"] = "registeredUserId";
10
- /** Their driver persona, resolved at sign-off time. */
11
- LTRPayoutMonthSignOffField["DriverPersonaId"] = "driverPersonaId";
12
- /** The month signed, as `YYYY-MM`. */
13
- LTRPayoutMonthSignOffField["Month"] = "month";
14
- /** First locked day, inclusive — start-of-day. */
15
- LTRPayoutMonthSignOffField["LockFrom"] = "lockFrom";
16
- /** Last locked day, inclusive — end-of-day. */
17
- LTRPayoutMonthSignOffField["LockTo"] = "lockTo";
18
- LTRPayoutMonthSignOffField["SignedOffAt"] = "signedOffAt";
19
- LTRPayoutMonthSignOffField["SignOffMethod"] = "signOffMethod";
20
- LTRPayoutMonthSignOffField["SignatureImageUrl"] = "signatureImageUrl";
21
- /** Dates still missing or in draft when the driver chose to proceed. */
22
- LTRPayoutMonthSignOffField["IncompleteDates"] = "incompleteDates";
23
- /** How many of the driver's entries this sign-off settled. */
24
- LTRPayoutMonthSignOffField["SignedEntryCount"] = "signedEntryCount";
25
- LTRPayoutMonthSignOffField["CreatedAt"] = "createdAt";
26
- LTRPayoutMonthSignOffField["UpdatedAt"] = "updatedAt";
27
- })(LTRPayoutMonthSignOffField || (LTRPayoutMonthSignOffField = {}));
28
- //# sourceMappingURL=ltr.payout.month.sign.off.model.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ltr.payout.month.sign.off.model.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/models/src/ltr.payout.month.sign.off.model.ts"],"names":[],"mappings":"AAIA,MAAM,CAAN,IAAY,0BAyBX;AAzBD,WAAY,0BAA0B;IACrC,+DAAiC,CAAA;IACjC,+CAAiB,CAAA;IACjB,mDAAqB,CAAA;IACrB,iDAAmB,CAAA;IACnB,qDAAuB,CAAA;IACvB,gDAAgD;IAChD,mEAAqC,CAAA;IACrC,uDAAuD;IACvD,iEAAmC,CAAA;IACnC,sCAAsC;IACtC,6CAAe,CAAA;IACf,kDAAkD;IAClD,mDAAqB,CAAA;IACrB,+CAA+C;IAC/C,+CAAiB,CAAA;IACjB,yDAA2B,CAAA;IAC3B,6DAA+B,CAAA;IAC/B,qEAAuC,CAAA;IACvC,wEAAwE;IACxE,iEAAmC,CAAA;IACnC,8DAA8D;IAC9D,mEAAqC,CAAA;IACrC,qDAAuB,CAAA;IACvB,qDAAuB,CAAA;AACxB,CAAC,EAzBW,0BAA0B,KAA1B,0BAA0B,QAyBrC"}
@@ -1,44 +0,0 @@
1
- import { IRequest } from './request.model';
2
- import { TypedModel } from './typed.model';
3
- export declare enum LTRPayoutRowAuditField {
4
- AuditId = "ltrPayoutRowAuditId",
5
- Request = "request",
6
- RequestId = "requestId",
7
- /**
8
- * The row the change landed on, as `dd/MM/yyyy` or `dd/MM/yyyy#shift`.
9
- *
10
- * The same identity the rest of the LTR code addresses a row by. The array
11
- * is re-sorted on every write, so an index would name a different row the
12
- * next time anyone looked.
13
- */
14
- RowKey = "rowKey",
15
- /** The row column that changed, by its stored name. */
16
- Field = "field",
17
- OldValue = "oldValue",
18
- NewValue = "newValue",
19
- /** The web user who made the change; null when it could not be resolved. */
20
- ChangedByRegisteredUserId = "changedByRegisteredUserId",
21
- CreatedAt = "createdAt"
22
- }
23
- /**
24
- * One field on one payout row, changed on the web.
25
- *
26
- * `LTRPayout.ltrPayoutRows` is a jsonb array replaced wholesale on every
27
- * write, so an ops or billing overwrite leaves no trace of what the driver
28
- * originally submitted — the previous value is simply gone. This is that
29
- * trace: what the value was, what it became, who changed it and when.
30
- *
31
- * Written per changed field rather than per row, so a reader can answer "what
32
- * happened to the duty end time on the 18th" without diffing two snapshots.
33
- */
34
- export interface ILTRPayoutRowAudit extends TypedModel {
35
- [LTRPayoutRowAuditField.AuditId]: string;
36
- [LTRPayoutRowAuditField.Request]: IRequest;
37
- [LTRPayoutRowAuditField.RequestId]: string;
38
- [LTRPayoutRowAuditField.RowKey]: string;
39
- [LTRPayoutRowAuditField.Field]: string;
40
- [LTRPayoutRowAuditField.OldValue]?: string;
41
- [LTRPayoutRowAuditField.NewValue]?: string;
42
- [LTRPayoutRowAuditField.ChangedByRegisteredUserId]?: string;
43
- [LTRPayoutRowAuditField.CreatedAt]: Date;
44
- }
@@ -1,22 +0,0 @@
1
- export var LTRPayoutRowAuditField;
2
- (function (LTRPayoutRowAuditField) {
3
- LTRPayoutRowAuditField["AuditId"] = "ltrPayoutRowAuditId";
4
- LTRPayoutRowAuditField["Request"] = "request";
5
- LTRPayoutRowAuditField["RequestId"] = "requestId";
6
- /**
7
- * The row the change landed on, as `dd/MM/yyyy` or `dd/MM/yyyy#shift`.
8
- *
9
- * The same identity the rest of the LTR code addresses a row by. The array
10
- * is re-sorted on every write, so an index would name a different row the
11
- * next time anyone looked.
12
- */
13
- LTRPayoutRowAuditField["RowKey"] = "rowKey";
14
- /** The row column that changed, by its stored name. */
15
- LTRPayoutRowAuditField["Field"] = "field";
16
- LTRPayoutRowAuditField["OldValue"] = "oldValue";
17
- LTRPayoutRowAuditField["NewValue"] = "newValue";
18
- /** The web user who made the change; null when it could not be resolved. */
19
- LTRPayoutRowAuditField["ChangedByRegisteredUserId"] = "changedByRegisteredUserId";
20
- LTRPayoutRowAuditField["CreatedAt"] = "createdAt";
21
- })(LTRPayoutRowAuditField || (LTRPayoutRowAuditField = {}));
22
- //# sourceMappingURL=ltr.payout.row.audit.model.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ltr.payout.row.audit.model.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/models/src/ltr.payout.row.audit.model.ts"],"names":[],"mappings":"AAGA,MAAM,CAAN,IAAY,sBAmBX;AAnBD,WAAY,sBAAsB;IACjC,yDAA+B,CAAA;IAC/B,6CAAmB,CAAA;IACnB,iDAAuB,CAAA;IACvB;;;;;;OAMG;IACH,2CAAiB,CAAA;IACjB,uDAAuD;IACvD,yCAAe,CAAA;IACf,+CAAqB,CAAA;IACrB,+CAAqB,CAAA;IACrB,4EAA4E;IAC5E,iFAAuD,CAAA;IACvD,iDAAuB,CAAA;AACxB,CAAC,EAnBW,sBAAsB,KAAtB,sBAAsB,QAmBjC"}