@dynamatix/gb-schemas 2.0.59 → 2.0.60

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 (420) hide show
  1. package/dist/applicants/applicant-commitment-creditCard.model.d.ts +0 -6
  2. package/dist/applicants/applicant-commitment-creditCard.model.d.ts.map +1 -1
  3. package/dist/applicants/applicant-commitment-creditCard.model.js +1 -1
  4. package/dist/applicants/applicant-commitment-loan.model.d.ts +0 -6
  5. package/dist/applicants/applicant-commitment-loan.model.d.ts.map +1 -1
  6. package/dist/applicants/applicant-commitment-loan.model.js +1 -1
  7. package/dist/applicants/applicant-commitment-mortgage.model.d.ts +0 -6
  8. package/dist/applicants/applicant-commitment-mortgage.model.d.ts.map +1 -1
  9. package/dist/applicants/applicant-commitment-mortgage.model.js +1 -1
  10. package/dist/applicants/applicant-commitment-secureLoan.model.d.ts +6 -6
  11. package/dist/applicants/applicant-commitment-unsecuredLoan.model.d.ts +6 -6
  12. package/dist/applicants/applicant-expenditure.model.d.ts +6 -12
  13. package/dist/applicants/applicant-expenditure.model.d.ts.map +1 -1
  14. package/dist/applicants/applicant-expenditure.model.js +1 -9
  15. package/dist/applicants/applicant-income-settings.model.d.ts.map +1 -1
  16. package/dist/applicants/applicant-self-employed-income.model.d.ts +312 -12
  17. package/dist/applicants/applicant-self-employed-income.model.d.ts.map +1 -1
  18. package/dist/applicants/applicant-self-employed-income.model.js +6 -2
  19. package/dist/applicants/applicant-sole-trader-income.model.d.ts +8 -8
  20. package/dist/applicants/applicant-sole-trader-income.model.d.ts.map +1 -1
  21. package/dist/applicants/applicant-sole-trader-income.model.js +3 -3
  22. package/dist/applicants/applicant.model.d.ts +2 -1
  23. package/dist/applicants/applicant.model.d.ts.map +1 -1
  24. package/dist/applicants/applicant.model.js +0 -1
  25. package/dist/applicants/index.d.ts +17 -18
  26. package/dist/applicants/index.d.ts.map +1 -1
  27. package/dist/applicants/index.js +17 -18
  28. package/dist/applications/application-mortgage.model.d.ts.map +1 -1
  29. package/dist/applications/application-mortgage.model.js +3 -0
  30. package/dist/entities/applicants/applicant-credit-data.entity.d.ts +19 -0
  31. package/dist/entities/applicants/applicant-credit-data.entity.d.ts.map +1 -0
  32. package/dist/entities/applicants/applicant-credit-data.entity.js +5 -0
  33. package/dist/entities/applicants/applicant-credit-profile.entity.d.ts +14 -0
  34. package/dist/entities/applicants/applicant-credit-profile.entity.d.ts.map +1 -0
  35. package/dist/entities/applicants/applicant-credit-profile.entity.js +5 -0
  36. package/dist/entities/applicants/applicant-employment-income.entity.d.ts +14 -0
  37. package/dist/entities/applicants/applicant-employment-income.entity.d.ts.map +1 -0
  38. package/dist/entities/applicants/applicant-employment-income.entity.js +5 -0
  39. package/dist/entities/applicants/applicant-employment.entity.d.ts +54 -0
  40. package/dist/entities/applicants/applicant-employment.entity.d.ts.map +1 -0
  41. package/dist/entities/applicants/applicant-employment.entity.js +5 -0
  42. package/dist/entities/applicants/applicant-expenditure.entity.d.ts +14 -0
  43. package/dist/entities/applicants/applicant-expenditure.entity.d.ts.map +1 -0
  44. package/dist/entities/applicants/applicant-expenditure.entity.js +5 -0
  45. package/dist/entities/applicants/applicant-income-source.entity.d.ts +17 -0
  46. package/dist/entities/applicants/applicant-income-source.entity.d.ts.map +1 -0
  47. package/dist/entities/applicants/applicant-income-source.entity.js +5 -0
  48. package/dist/entities/applicants/applicant-income.entity.d.ts +59 -0
  49. package/dist/entities/applicants/applicant-income.entity.d.ts.map +1 -0
  50. package/dist/entities/applicants/applicant-income.entity.js +2 -0
  51. package/dist/entities/applicants/applicant-share-holding.entity.d.ts +18 -0
  52. package/dist/entities/applicants/applicant-share-holding.entity.d.ts.map +1 -0
  53. package/dist/entities/applicants/applicant-share-holding.entity.js +5 -0
  54. package/dist/entities/applicants/applicant.entity.d.ts +143 -0
  55. package/dist/entities/applicants/applicant.entity.d.ts.map +1 -0
  56. package/dist/entities/applicants/applicant.entity.js +48 -0
  57. package/dist/entities/applicants/credit-card-commitment.entity.d.ts +22 -0
  58. package/dist/entities/applicants/credit-card-commitment.entity.d.ts.map +1 -0
  59. package/dist/entities/applicants/credit-card-commitment.entity.js +9 -0
  60. package/dist/entities/applicants/index.d.ts +20 -0
  61. package/dist/entities/applicants/index.d.ts.map +1 -0
  62. package/dist/entities/applicants/index.js +18 -0
  63. package/dist/entities/applicants/loan-commitment.entity.d.ts +29 -0
  64. package/dist/entities/applicants/loan-commitment.entity.d.ts.map +1 -0
  65. package/dist/entities/applicants/loan-commitment.entity.js +15 -0
  66. package/dist/entities/applicants/mortgage-commitment.entity.d.ts +50 -0
  67. package/dist/entities/applicants/mortgage-commitment.entity.d.ts.map +1 -0
  68. package/dist/entities/applicants/mortgage-commitment.entity.js +27 -0
  69. package/dist/entities/applicants/other-income.entity.d.ts +41 -0
  70. package/dist/entities/applicants/other-income.entity.d.ts.map +1 -0
  71. package/dist/entities/applicants/other-income.entity.js +19 -0
  72. package/dist/entities/applicants/property-income.entity.d.ts +17 -0
  73. package/dist/entities/applicants/property-income.entity.d.ts.map +1 -0
  74. package/dist/entities/applicants/property-income.entity.js +5 -0
  75. package/dist/entities/applicants/residence-commitment.entity.d.ts +44 -0
  76. package/dist/entities/applicants/residence-commitment.entity.d.ts.map +1 -0
  77. package/dist/entities/applicants/residence-commitment.entity.js +19 -0
  78. package/dist/entities/applicants/secure-loan-commitment.entity.d.ts +29 -0
  79. package/dist/entities/applicants/secure-loan-commitment.entity.d.ts.map +1 -0
  80. package/dist/entities/applicants/secure-loan-commitment.entity.js +12 -0
  81. package/dist/entities/applicants/unsecured-loan-commitment.entity.d.ts +29 -0
  82. package/dist/entities/applicants/unsecured-loan-commitment.entity.d.ts.map +1 -0
  83. package/dist/entities/applicants/unsecured-loan-commitment.entity.js +12 -0
  84. package/dist/entities/applications/application-audit.entity.d.ts +18 -0
  85. package/dist/entities/applications/application-audit.entity.d.ts.map +1 -0
  86. package/dist/entities/applications/application-audit.entity.js +5 -0
  87. package/dist/entities/applications/application-company.entity.d.ts +60 -0
  88. package/dist/entities/applications/application-company.entity.d.ts.map +1 -0
  89. package/dist/entities/applications/application-company.entity.js +15 -0
  90. package/dist/entities/applications/application-credit-profile.entity.d.ts +11 -0
  91. package/dist/entities/applications/application-credit-profile.entity.d.ts.map +1 -0
  92. package/dist/entities/applications/application-credit-profile.entity.js +5 -0
  93. package/dist/entities/applications/application-direct-debit.entity.d.ts +24 -0
  94. package/dist/entities/applications/application-direct-debit.entity.d.ts.map +1 -0
  95. package/dist/entities/applications/application-direct-debit.entity.js +5 -0
  96. package/dist/entities/applications/application-document.entity.d.ts +28 -0
  97. package/dist/entities/applications/application-document.entity.d.ts.map +1 -0
  98. package/dist/entities/applications/application-document.entity.js +5 -0
  99. package/dist/entities/applications/application-fieldconfig.entity.d.ts +9 -0
  100. package/dist/entities/applications/application-fieldconfig.entity.d.ts.map +1 -0
  101. package/dist/entities/applications/application-fieldconfig.entity.js +5 -0
  102. package/dist/entities/applications/application-illustration.entity.d.ts +8 -0
  103. package/dist/entities/applications/application-illustration.entity.d.ts.map +1 -0
  104. package/dist/entities/applications/application-illustration.entity.js +5 -0
  105. package/dist/entities/applications/application-legal.entity.d.ts +9 -0
  106. package/dist/entities/applications/application-legal.entity.d.ts.map +1 -0
  107. package/dist/entities/applications/application-legal.entity.js +5 -0
  108. package/dist/entities/applications/application-mortgage.entity.d.ts +55 -0
  109. package/dist/entities/applications/application-mortgage.entity.d.ts.map +1 -0
  110. package/dist/entities/applications/application-mortgage.entity.js +27 -0
  111. package/dist/entities/applications/application-note.entity.d.ts +37 -0
  112. package/dist/entities/applications/application-note.entity.d.ts.map +1 -0
  113. package/dist/entities/applications/application-note.entity.js +5 -0
  114. package/dist/entities/applications/application-offer.entity.d.ts +8 -0
  115. package/dist/entities/applications/application-offer.entity.d.ts.map +1 -0
  116. package/dist/entities/applications/application-offer.entity.js +5 -0
  117. package/dist/entities/applications/application-onboarding.entity.d.ts +11 -0
  118. package/dist/entities/applications/application-onboarding.entity.d.ts.map +1 -0
  119. package/dist/entities/applications/application-onboarding.entity.js +5 -0
  120. package/dist/entities/applications/application-product.entity.d.ts +33 -0
  121. package/dist/entities/applications/application-product.entity.d.ts.map +1 -0
  122. package/dist/entities/applications/application-product.entity.js +5 -0
  123. package/dist/entities/applications/application-rationale.entity.d.ts +51 -0
  124. package/dist/entities/applications/application-rationale.entity.d.ts.map +1 -0
  125. package/dist/entities/applications/application-rationale.entity.js +5 -0
  126. package/dist/entities/applications/application.entity.d.ts +102 -0
  127. package/dist/entities/applications/application.entity.d.ts.map +1 -0
  128. package/dist/entities/applications/application.entity.js +66 -0
  129. package/dist/entities/applications/broker.entity.d.ts +23 -0
  130. package/dist/entities/applications/broker.entity.d.ts.map +1 -0
  131. package/dist/entities/applications/broker.entity.js +5 -0
  132. package/dist/entities/applications/checklist-item.entity.d.ts +47 -0
  133. package/dist/entities/applications/checklist-item.entity.d.ts.map +1 -0
  134. package/dist/entities/applications/checklist-item.entity.js +5 -0
  135. package/dist/entities/applications/index.d.ts +22 -0
  136. package/dist/entities/applications/index.d.ts.map +1 -0
  137. package/dist/entities/applications/index.js +20 -0
  138. package/dist/entities/applications/product-features.entity.d.ts +104 -0
  139. package/dist/entities/applications/product-features.entity.d.ts.map +1 -0
  140. package/dist/entities/applications/product-features.entity.js +20 -0
  141. package/dist/entities/applications/solicitor.entity.d.ts +33 -0
  142. package/dist/entities/applications/solicitor.entity.d.ts.map +1 -0
  143. package/dist/entities/applications/solicitor.entity.js +5 -0
  144. package/dist/entities/index.d.ts +10 -0
  145. package/dist/entities/index.d.ts.map +1 -0
  146. package/dist/entities/index.js +10 -0
  147. package/dist/entities/prisma.d.ts +3 -0
  148. package/dist/entities/prisma.d.ts.map +1 -0
  149. package/dist/entities/prisma.js +10 -0
  150. package/dist/entities/product-catalogues/index.d.ts +8 -0
  151. package/dist/entities/product-catalogues/index.d.ts.map +1 -0
  152. package/dist/entities/product-catalogues/index.js +6 -0
  153. package/dist/entities/product-catalogues/product-catalogue.entity.d.ts +22 -0
  154. package/dist/entities/product-catalogues/product-catalogue.entity.d.ts.map +1 -0
  155. package/dist/entities/product-catalogues/product-catalogue.entity.js +5 -0
  156. package/dist/entities/product-catalogues/product-definition.entity.d.ts +16 -0
  157. package/dist/entities/product-catalogues/product-definition.entity.d.ts.map +1 -0
  158. package/dist/entities/product-catalogues/product-definition.entity.js +5 -0
  159. package/dist/entities/product-catalogues/product-variant.entity.d.ts +14 -0
  160. package/dist/entities/product-catalogues/product-variant.entity.d.ts.map +1 -0
  161. package/dist/entities/product-catalogues/product-variant.entity.js +5 -0
  162. package/dist/entities/product-catalogues/product.entity.d.ts +11 -0
  163. package/dist/entities/product-catalogues/product.entity.d.ts.map +1 -0
  164. package/dist/entities/product-catalogues/product.entity.js +5 -0
  165. package/dist/entities/product-catalogues/rule.entity.d.ts +21 -0
  166. package/dist/entities/product-catalogues/rule.entity.d.ts.map +1 -0
  167. package/dist/entities/product-catalogues/rule.entity.js +5 -0
  168. package/dist/entities/properties/data-street.entity.d.ts +22 -0
  169. package/dist/entities/properties/data-street.entity.d.ts.map +1 -0
  170. package/dist/entities/properties/data-street.entity.js +5 -0
  171. package/dist/entities/properties/index.d.ts +6 -0
  172. package/dist/entities/properties/index.d.ts.map +1 -0
  173. package/dist/entities/properties/index.js +4 -0
  174. package/dist/entities/properties/property.entity.d.ts +30 -0
  175. package/dist/entities/properties/property.entity.d.ts.map +1 -0
  176. package/dist/entities/properties/property.entity.js +5 -0
  177. package/dist/entities/properties/security.entity.d.ts +58 -0
  178. package/dist/entities/properties/security.entity.d.ts.map +1 -0
  179. package/dist/entities/properties/security.entity.js +5 -0
  180. package/dist/entities/shared/alert.entity.d.ts +14 -0
  181. package/dist/entities/shared/alert.entity.d.ts.map +1 -0
  182. package/dist/entities/shared/alert.entity.js +5 -0
  183. package/dist/entities/shared/apprivo-sync-journey.entity.d.ts +19 -0
  184. package/dist/entities/shared/apprivo-sync-journey.entity.d.ts.map +1 -0
  185. package/dist/entities/shared/apprivo-sync-journey.entity.js +5 -0
  186. package/dist/entities/shared/checklist.entity.d.ts +15 -0
  187. package/dist/entities/shared/checklist.entity.d.ts.map +1 -0
  188. package/dist/entities/shared/checklist.entity.js +5 -0
  189. package/dist/entities/shared/document-type.entity.d.ts +9 -0
  190. package/dist/entities/shared/document-type.entity.d.ts.map +1 -0
  191. package/dist/entities/shared/document-type.entity.js +5 -0
  192. package/dist/entities/shared/index.d.ts +12 -0
  193. package/dist/entities/shared/index.d.ts.map +1 -0
  194. package/dist/entities/shared/index.js +10 -0
  195. package/dist/entities/shared/job-run.entity.d.ts +15 -0
  196. package/dist/entities/shared/job-run.entity.d.ts.map +1 -0
  197. package/dist/entities/shared/job-run.entity.js +5 -0
  198. package/dist/entities/shared/job-run.model.d.ts +11 -0
  199. package/dist/entities/shared/job-run.model.d.ts.map +1 -0
  200. package/dist/entities/shared/job-run.model.js +1 -0
  201. package/dist/entities/shared/job-setting.entity.d.ts +11 -0
  202. package/dist/entities/shared/job-setting.entity.d.ts.map +1 -0
  203. package/dist/entities/shared/job-setting.entity.js +5 -0
  204. package/dist/entities/shared/lookup-group.entity.d.ts +11 -0
  205. package/dist/entities/shared/lookup-group.entity.d.ts.map +1 -0
  206. package/dist/entities/shared/lookup-group.entity.js +5 -0
  207. package/dist/entities/shared/lookup.entity.d.ts +14 -0
  208. package/dist/entities/shared/lookup.entity.d.ts.map +1 -0
  209. package/dist/entities/shared/lookup.entity.js +5 -0
  210. package/dist/entities/shared/system-parameter.entity.d.ts +10 -0
  211. package/dist/entities/shared/system-parameter.entity.d.ts.map +1 -0
  212. package/dist/entities/shared/system-parameter.entity.js +5 -0
  213. package/dist/entities/underwriter/index.d.ts +4 -0
  214. package/dist/entities/underwriter/index.d.ts.map +1 -0
  215. package/dist/entities/underwriter/index.js +2 -0
  216. package/dist/entities/underwriter/underwriter.entity.d.ts +19 -0
  217. package/dist/entities/underwriter/underwriter.entity.d.ts.map +1 -0
  218. package/dist/entities/underwriter/underwriter.entity.js +5 -0
  219. package/dist/entities/users/auth-log.entity.d.ts +11 -0
  220. package/dist/entities/users/auth-log.entity.d.ts.map +1 -0
  221. package/dist/entities/users/auth-log.entity.js +5 -0
  222. package/dist/entities/users/index.d.ts +8 -0
  223. package/dist/entities/users/index.d.ts.map +1 -0
  224. package/dist/entities/users/index.js +6 -0
  225. package/dist/entities/users/permission.entity.d.ts +12 -0
  226. package/dist/entities/users/permission.entity.d.ts.map +1 -0
  227. package/dist/entities/users/permission.entity.js +5 -0
  228. package/dist/entities/users/role-group.entity.d.ts +13 -0
  229. package/dist/entities/users/role-group.entity.d.ts.map +1 -0
  230. package/dist/entities/users/role-group.entity.js +5 -0
  231. package/dist/entities/users/role.entity.d.ts +16 -0
  232. package/dist/entities/users/role.entity.d.ts.map +1 -0
  233. package/dist/entities/users/role.entity.js +5 -0
  234. package/dist/entities/users/user.entity.d.ts +33 -0
  235. package/dist/entities/users/user.entity.d.ts.map +1 -0
  236. package/dist/entities/users/user.entity.js +5 -0
  237. package/dist/index.d.ts +1 -0
  238. package/dist/index.d.ts.map +1 -1
  239. package/dist/index.js +2 -0
  240. package/entities/applicants/applicant-credit-data.entity.ts +24 -0
  241. package/entities/applicants/applicant-credit-profile.entity.ts +19 -0
  242. package/entities/applicants/applicant-employment-income.entity.ts +18 -0
  243. package/entities/applicants/applicant-employment.entity.ts +60 -0
  244. package/entities/applicants/applicant-expenditure.entity.ts +19 -0
  245. package/entities/applicants/applicant-income-source.entity.ts +22 -0
  246. package/entities/applicants/applicant-income.entity.ts +61 -0
  247. package/entities/applicants/applicant-share-holding.entity.ts +23 -0
  248. package/entities/applicants/applicant.entity.ts +193 -0
  249. package/entities/applicants/credit-card-commitment.entity.ts +31 -0
  250. package/entities/applicants/index.ts +59 -0
  251. package/entities/applicants/loan-commitment.entity.ts +44 -0
  252. package/entities/applicants/mortgage-commitment.entity.ts +77 -0
  253. package/entities/applicants/other-income.entity.ts +68 -0
  254. package/entities/applicants/property-income.entity.ts +19 -0
  255. package/entities/applicants/residence-commitment.entity.ts +63 -0
  256. package/entities/applicants/secure-loan-commitment.entity.ts +41 -0
  257. package/entities/applicants/unsecured-loan-commitment.entity.ts +41 -0
  258. package/entities/applications/application-audit.entity.ts +23 -0
  259. package/entities/applications/application-company.entity.ts +76 -0
  260. package/entities/applications/application-credit-profile.entity.ts +13 -0
  261. package/entities/applications/application-direct-debit.entity.ts +29 -0
  262. package/entities/applications/application-document.entity.ts +33 -0
  263. package/entities/applications/application-fieldconfig.entity.ts +11 -0
  264. package/entities/applications/application-illustration.entity.ts +10 -0
  265. package/entities/applications/application-legal.entity.ts +11 -0
  266. package/entities/applications/application-mortgage.entity.ts +82 -0
  267. package/entities/applications/application-note.entity.ts +42 -0
  268. package/entities/applications/application-offer.entity.ts +10 -0
  269. package/entities/applications/application-onboarding.entity.ts +13 -0
  270. package/entities/applications/application-product.entity.ts +38 -0
  271. package/entities/applications/application-rationale.entity.ts +56 -0
  272. package/entities/applications/application.entity.ts +168 -0
  273. package/entities/applications/broker.entity.ts +25 -0
  274. package/entities/applications/checklist-item.entity.ts +49 -0
  275. package/entities/applications/index.ts +63 -0
  276. package/entities/applications/product-features.entity.ts +118 -0
  277. package/entities/applications/solicitor.entity.ts +38 -0
  278. package/entities/index.ts +14 -0
  279. package/entities/prisma.ts +13 -0
  280. package/entities/product-catalogues/index.ts +23 -0
  281. package/entities/product-catalogues/product-catalogue.entity.ts +27 -0
  282. package/entities/product-catalogues/product-definition.entity.ts +21 -0
  283. package/entities/product-catalogues/product-variant.entity.ts +19 -0
  284. package/entities/product-catalogues/product.entity.ts +16 -0
  285. package/entities/product-catalogues/rule.entity.ts +26 -0
  286. package/entities/properties/data-street.entity.ts +27 -0
  287. package/entities/properties/index.ts +17 -0
  288. package/entities/properties/property.entity.ts +35 -0
  289. package/entities/properties/security.entity.ts +63 -0
  290. package/entities/shared/alert.entity.ts +19 -0
  291. package/entities/shared/apprivo-sync-journey.entity.ts +25 -0
  292. package/entities/shared/apprivo-sync-journey.model.ts +13 -0
  293. package/entities/shared/checklist.entity.ts +20 -0
  294. package/entities/shared/document-type.entity.ts +11 -0
  295. package/entities/shared/index.ts +35 -0
  296. package/entities/shared/job-run.entity.ts +20 -0
  297. package/entities/shared/job-run.model.ts +10 -0
  298. package/entities/shared/job-setting.entity.ts +13 -0
  299. package/entities/shared/lookup-group.entity.ts +16 -0
  300. package/entities/shared/lookup.entity.ts +19 -0
  301. package/entities/shared/system-parameter.entity.ts +13 -0
  302. package/entities/underwriter/index.ts +7 -0
  303. package/entities/underwriter/underwriter.entity.ts +24 -0
  304. package/entities/users/auth-log.entity.ts +13 -0
  305. package/entities/users/index.ts +23 -0
  306. package/entities/users/permission.entity.ts +17 -0
  307. package/entities/users/role-group.entity.ts +18 -0
  308. package/entities/users/role.entity.ts +21 -0
  309. package/entities/users/user.entity.ts +38 -0
  310. package/package.json +30 -17
  311. package/prisma/applicants/applicant-credit-data.prisma +19 -0
  312. package/prisma/applicants/applicant-credit-profile.prisma +15 -0
  313. package/prisma/applicants/applicant-employment-income.prisma +15 -0
  314. package/prisma/applicants/applicant-employment.prisma +54 -0
  315. package/prisma/applicants/applicant-expenditure.prisma +14 -0
  316. package/prisma/applicants/applicant-income-source.prisma +17 -0
  317. package/prisma/applicants/applicant-income.prisma +67 -0
  318. package/prisma/applicants/applicant-other-income.prisma +45 -0
  319. package/prisma/applicants/applicant-property-income.prisma +21 -0
  320. package/prisma/applicants/applicant-share-holding.prisma +17 -0
  321. package/prisma/applicants/applicant.prisma +129 -0
  322. package/prisma/applicants/credit-card-commitment.prisma +21 -0
  323. package/prisma/applicants/loan-commitment.prisma +26 -0
  324. package/prisma/applicants/mortgage-commitment.prisma +43 -0
  325. package/prisma/applicants/residence-commitment.prisma +41 -0
  326. package/prisma/applicants/secured-loan-commitment.prisma +27 -0
  327. package/prisma/applicants/unsecured-loan-commitment.prisma +27 -0
  328. package/prisma/applications/application-audit.prisma +19 -0
  329. package/prisma/applications/application-company.prisma +56 -0
  330. package/prisma/applications/application-credit-profile.prisma +15 -0
  331. package/prisma/applications/application-direct-debit.prisma +27 -0
  332. package/prisma/applications/application-document.prisma +28 -0
  333. package/prisma/applications/application-fieldconfig.prisma +9 -0
  334. package/prisma/applications/application-illustration.prisma +8 -0
  335. package/prisma/applications/application-legal.prisma +9 -0
  336. package/prisma/applications/application-mortgage.prisma +48 -0
  337. package/prisma/applications/application-note.prisma +36 -0
  338. package/prisma/applications/application-offer.prisma +8 -0
  339. package/prisma/applications/application-onboarding.prisma +11 -0
  340. package/prisma/applications/application-product.prisma +33 -0
  341. package/prisma/applications/application-rationale.prisma +51 -0
  342. package/prisma/applications/application.prisma +92 -0
  343. package/prisma/applications/broker.prisma +26 -0
  344. package/prisma/applications/checklist-item.prisma +47 -0
  345. package/prisma/applications/checklist.prisma +19 -0
  346. package/prisma/applications/product-features.prisma +122 -0
  347. package/prisma/applications/solicitor.prisma +33 -0
  348. package/prisma/broker.entity.ts +8 -0
  349. package/prisma/migrations/20250501070203_initial_migration/migration.sql +2044 -0
  350. package/prisma/migrations/20250501102630_job_setting_name_change/migration.sql +10 -0
  351. package/prisma/migrations/20250501104920_milstone_update/migration.sql +30 -0
  352. package/prisma/migrations/20250501105546_apprivo_sync_journey_update/migration.sql +9 -0
  353. package/prisma/migrations/20250501105850_job_run_update/migration.sql +13 -0
  354. package/prisma/migrations/20250505115236_update_application_schema/migration.sql +115 -0
  355. package/prisma/migrations/20250505145328_update_broker_schema/migration.sql +8 -0
  356. package/prisma/migrations/20250505185034_update_direct_debit_schema/migration.sql +27 -0
  357. package/prisma/migrations/20250505190613_update_solicitor_schema/migration.sql +29 -0
  358. package/prisma/migrations/20250506054831_update_note_schema/migration.sql +12 -0
  359. package/prisma/migrations/20250506142218_update_broker_schema/migration.sql +17 -0
  360. package/prisma/migrations/20250506190258_update_application_note_schema/migration.sql +32 -0
  361. package/prisma/migrations/20250506204635_update_mortgage_schema/migration.sql +26 -0
  362. package/prisma/migrations/20250507122847_applicant_retirement_age/migration.sql +9 -0
  363. package/prisma/migrations/20250507184905_update_mortgage_schema/migration.sql +8 -0
  364. package/prisma/migrations/20250507194746_update_direct_debit_schema/migration.sql +5 -0
  365. package/prisma/migrations/20250508092417_update_application_schema/migration.sql +3 -0
  366. package/prisma/migrations/20250508094735_update_direct_debit_schema/migration.sql +2 -0
  367. package/prisma/migrations/20250509073536_update_applicant_schema/migration.sql +4 -0
  368. package/prisma/migrations/20250509111029_update_solicitor_schema/migration.sql +2 -0
  369. package/prisma/migrations/20250509125107_update_mortgage_schema/migration.sql +19 -0
  370. package/prisma/migrations/20250512071728_update_mortgage_schema/migration.sql +15 -0
  371. package/prisma/migrations/20250512094011_update_property_schema/migration.sql +34 -0
  372. package/prisma/migrations/20250512102019_update_mortgage_schema/migration.sql +2 -0
  373. package/prisma/migrations/20250513132704_update_credit_card_commitment_schema/migration.sql +22 -0
  374. package/prisma/migrations/20250513143530_update_credit_card_commitment_schema/migration.sql +8 -0
  375. package/prisma/migrations/20250513170654_update_mortgage_commitment_schema/migration.sql +89 -0
  376. package/prisma/migrations/20250513183558_update_loan_commitment_schema/migration.sql +33 -0
  377. package/prisma/migrations/20250513184341_update_loan_commitment_schema/migration.sql +4 -0
  378. package/prisma/migrations/20250513202307_update_role_schema/migration.sql +12 -0
  379. package/prisma/migrations/20250514062536_update_role_group_schema/migration.sql +12 -0
  380. package/prisma/migrations/20250514064054_update_user_schema/migration.sql +12 -0
  381. package/prisma/migrations/20250514071524_update_user_schema/migration.sql +15 -0
  382. package/prisma/migrations/20250514072729_update_user_schema/migration.sql +18 -0
  383. package/prisma/migrations/20250514102042_update_user_rolegroup_role_schemas/migration.sql +9 -0
  384. package/prisma/migrations/20250514183537_update_application_company_schema/migration.sql +100 -0
  385. package/prisma/migrations/20250514194139_update_applicant_share_holding_schema/migration.sql +11 -0
  386. package/prisma/migrations/20250515132015_update_underwriter_schema/migration.sql +56 -0
  387. package/prisma/migrations/20250515133236_update_underwriter_schema/migration.sql +12 -0
  388. package/prisma/migrations/20250515172824_update_security_schema/migration.sql +43 -0
  389. package/prisma/migrations/20250516053810_update_underwriter_schema/migration.sql +14 -0
  390. package/prisma/migrations/20250516075153_update_commitments_schemas/migration.sql +134 -0
  391. package/prisma/migrations/20250516094438_update_credit_card_commitment_schema/migration.sql +8 -0
  392. package/prisma/migrations/20250519075211_update_product_features_schema/migration.sql +15 -0
  393. package/prisma/migrations/20250519094725_update_product_feature_schema/migration.sql +163 -0
  394. package/prisma/migrations/20250519133154_update_employemnt_income_schema/migration.sql +11 -0
  395. package/prisma/migrations/migration_lock.toml +3 -0
  396. package/prisma/product-catalogues/product-catalogue.prisma +22 -0
  397. package/prisma/product-catalogues/product-definition.prisma +39 -0
  398. package/prisma/product-catalogues/product-variant.prisma +15 -0
  399. package/prisma/product-catalogues/product.prisma +10 -0
  400. package/prisma/properties/property.prisma +30 -0
  401. package/prisma/properties/security.prisma +81 -0
  402. package/prisma/schema.prisma +1966 -0
  403. package/prisma/shared/alert.prisma +15 -0
  404. package/prisma/shared/apprivo-sync-journey.prisma +19 -0
  405. package/prisma/shared/checklist.prisma +10 -0
  406. package/prisma/shared/document-type.prisma +9 -0
  407. package/prisma/shared/job-run.prisma +15 -0
  408. package/prisma/shared/job-setting.prisma +11 -0
  409. package/prisma/shared/lookup-group.prisma +12 -0
  410. package/prisma/shared/lookup.prisma +154 -0
  411. package/prisma/shared/system-parameter.prisma +16 -0
  412. package/prisma/underwriter/underwriter.prisma +20 -0
  413. package/prisma/users/auth-log.prisma +11 -0
  414. package/prisma/users/permission.prisma +13 -0
  415. package/prisma/users/role-group.prisma +15 -0
  416. package/prisma/users/role.prisma +15 -0
  417. package/prisma/users/user.prisma +30 -0
  418. package/dist/applicants/applicant-commitment-residence.model.d.ts +0 -728
  419. package/dist/applicants/applicant-commitment-residence.model.d.ts.map +0 -1
  420. package/dist/applicants/applicant-commitment-residence.model.js +0 -50
@@ -0,0 +1,55 @@
1
+ import { ApplicationEntity } from '../applications/application.entity';
2
+ import { LookupEntity } from '../shared/lookup.entity';
3
+ export declare class ApplicationMortgageEntity {
4
+ id: string;
5
+ applicationId: string;
6
+ pageValidFlag: boolean;
7
+ existingMortgageLender?: string;
8
+ purposeOfMortgage: string;
9
+ depositComeFromLids: string[];
10
+ ifOtherDetails: string;
11
+ giftDetails?: string;
12
+ purchasePrice: number;
13
+ repaymentTypeLid: string;
14
+ exitStrategyLid: string;
15
+ isCapitalRaise?: boolean;
16
+ purchaseDate: string;
17
+ estimatedValue: number;
18
+ loanRequired: number;
19
+ monthlyRentalIncome: number;
20
+ outstandingBalance: number;
21
+ fundRaisedFor: string;
22
+ sourceofFundsLid: string;
23
+ sourceofFundDetails: string;
24
+ propertyValuationDetails: string;
25
+ telephoneNumber: string;
26
+ isDistressedSale?: boolean;
27
+ isPurchasedBelowMarketValue?: boolean;
28
+ isPurchasedAsSale?: boolean;
29
+ isReadyToSell?: boolean;
30
+ isGovernmentInitiative?: boolean;
31
+ vendorsName: string;
32
+ saleMadeLid?: string;
33
+ isTheIntentionToLet?: boolean;
34
+ proposedTenantsLids?: string[];
35
+ leaseTypeLid: string;
36
+ createdAt: Date;
37
+ updatedAt: Date;
38
+ application?: ApplicationEntity;
39
+ repaymentType?: LookupEntity;
40
+ exitStrategy?: LookupEntity;
41
+ sourceOfFunds?: LookupEntity;
42
+ saleMade?: LookupEntity;
43
+ leaseType?: LookupEntity;
44
+ depositComeFrom?: LookupEntity[];
45
+ proposedTenants?: LookupEntity[];
46
+ constructor(partial: Partial<ApplicationMortgageEntity>);
47
+ get depositComeFromNames(): string[] | null;
48
+ get repaymentTypeName(): string | null;
49
+ get exitStrategyName(): string | null;
50
+ get sourceOfFundsName(): string | null;
51
+ get saleMadeName(): string | null;
52
+ get proposedTenantsNames(): string[] | null;
53
+ get leaseTypeName(): string | null;
54
+ }
55
+ //# sourceMappingURL=application-mortgage.entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"application-mortgage.entity.d.ts","sourceRoot":"","sources":["../../../entities/applications/application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,MAAM,CAAC;IACtB,SAAS,EAAG,IAAI,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;IAGjB,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAChC,aAAa,CAAC,EAAE,YAAY,CAAC;IAC7B,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,aAAa,CAAC,EAAE,YAAY,CAAC;IAC7B,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,SAAS,CAAC,EAAE,YAAY,CAAC;IACzB,eAAe,CAAC,EAAE,YAAY,EAAE,CAAC;IACjC,eAAe,CAAC,EAAE,YAAY,EAAE,CAAC;gBAErB,OAAO,EAAE,OAAO,CAAC,yBAAyB,CAAC;IAKvD,IAAI,oBAAoB,IAAI,MAAM,EAAE,GAAG,IAAI,CAE1C;IAED,IAAI,iBAAiB,IAAI,MAAM,GAAG,IAAI,CAErC;IAED,IAAI,gBAAgB,IAAI,MAAM,GAAG,IAAI,CAEpC;IAED,IAAI,iBAAiB,IAAI,MAAM,GAAG,IAAI,CAErC;IAED,IAAI,YAAY,IAAI,MAAM,GAAG,IAAI,CAEhC;IAED,IAAI,oBAAoB,IAAI,MAAM,EAAE,GAAG,IAAI,CAE1C;IAED,IAAI,aAAa,IAAI,MAAM,GAAG,IAAI,CAEjC;CACJ"}
@@ -0,0 +1,27 @@
1
+ export class ApplicationMortgageEntity {
2
+ constructor(partial) {
3
+ Object.assign(this, partial);
4
+ }
5
+ // Virtual properties from Mongoose model
6
+ get depositComeFromNames() {
7
+ return this.depositComeFrom?.map(d => d.name) ?? null;
8
+ }
9
+ get repaymentTypeName() {
10
+ return this.repaymentType?.name ?? null;
11
+ }
12
+ get exitStrategyName() {
13
+ return this.exitStrategy?.name ?? null;
14
+ }
15
+ get sourceOfFundsName() {
16
+ return this.sourceOfFunds?.name ?? null;
17
+ }
18
+ get saleMadeName() {
19
+ return this.saleMade?.name ?? null;
20
+ }
21
+ get proposedTenantsNames() {
22
+ return this.proposedTenants?.map(t => t.name) ?? null;
23
+ }
24
+ get leaseTypeName() {
25
+ return this.leaseType?.name ?? null;
26
+ }
27
+ }
@@ -0,0 +1,37 @@
1
+ import { LookupEntity } from "../shared/lookup.entity";
2
+ import { ApplicationEntity } from "./application.entity";
3
+ import { UserEntity } from "../users";
4
+ export declare class ApplicationNoteEntity {
5
+ id: string;
6
+ applicationId: string;
7
+ noteId: string;
8
+ createdOn?: string;
9
+ prettyCreatedOn?: string;
10
+ createdBy?: number;
11
+ username?: string;
12
+ createdByUserId?: string;
13
+ typeLid?: string;
14
+ subTypeLid?: string;
15
+ subject?: string;
16
+ note: string;
17
+ reminderDate?: string;
18
+ reminderStatus: number;
19
+ attachmentDocumentId?: string;
20
+ assignedOperation: string;
21
+ autoCreated: boolean;
22
+ additionalData?: string;
23
+ autoCreatedId?: string;
24
+ assignedTo: string;
25
+ assignedBy?: number;
26
+ assignedByUserId?: string;
27
+ comments?: any;
28
+ createdAt: Date;
29
+ updatedAt: Date;
30
+ application?: ApplicationEntity;
31
+ type?: LookupEntity;
32
+ subType?: LookupEntity;
33
+ createdByUser?: UserEntity;
34
+ assignedByUser?: UserEntity;
35
+ constructor(partial: Partial<ApplicationNoteEntity>);
36
+ }
37
+ //# sourceMappingURL=application-note.entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"application-note.entity.d.ts","sourceRoot":"","sources":["../../../entities/applications/application-note.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEtC,qBAAa,qBAAqB;IAChC,EAAE,EAAG,MAAM,CAAC;IACZ,aAAa,EAAG,MAAM,CAAC;IACvB,MAAM,EAAG,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,EAAG,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,EAAG,MAAM,CAAC;IACxB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,iBAAiB,EAAG,MAAM,CAAC;IAC3B,WAAW,EAAG,OAAO,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,EAAG,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,SAAS,EAAG,IAAI,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;IAGjB,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAChC,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,aAAa,CAAC,EAAE,UAAU,CAAC;IAC3B,cAAc,CAAC,EAAE,UAAU,CAAC;gBAEhB,OAAO,EAAE,OAAO,CAAC,qBAAqB,CAAC;CAGpD"}
@@ -0,0 +1,5 @@
1
+ export class ApplicationNoteEntity {
2
+ constructor(partial) {
3
+ Object.assign(this, partial);
4
+ }
5
+ }
@@ -0,0 +1,8 @@
1
+ export declare class ApplicationOfferEntity {
2
+ id: string;
3
+ date: string;
4
+ createdAt: Date;
5
+ updatedAt: Date;
6
+ constructor(partial: Partial<ApplicationOfferEntity>);
7
+ }
8
+ //# sourceMappingURL=application-offer.entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"application-offer.entity.d.ts","sourceRoot":"","sources":["../../../entities/applications/application-offer.entity.ts"],"names":[],"mappings":"AAAA,qBAAa,sBAAsB;IAC/B,EAAE,EAAG,MAAM,CAAC;IACZ,IAAI,EAAG,MAAM,CAAC;IACd,SAAS,EAAG,IAAI,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;gBAEL,OAAO,EAAE,OAAO,CAAC,sBAAsB,CAAC;CAGvD"}
@@ -0,0 +1,5 @@
1
+ export class ApplicationOfferEntity {
2
+ constructor(partial) {
3
+ Object.assign(this, partial);
4
+ }
5
+ }
@@ -0,0 +1,11 @@
1
+ export declare class ApplicationOnboardingEntity {
2
+ id: string;
3
+ errors: string;
4
+ status: string;
5
+ statusDate?: string;
6
+ warnings: string;
7
+ createdAt: Date;
8
+ updatedAt: Date;
9
+ constructor(partial: Partial<ApplicationOnboardingEntity>);
10
+ }
11
+ //# sourceMappingURL=application-onboarding.entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"application-onboarding.entity.d.ts","sourceRoot":"","sources":["../../../entities/applications/application-onboarding.entity.ts"],"names":[],"mappings":"AAAA,qBAAa,2BAA2B;IACpC,EAAE,EAAG,MAAM,CAAC;IACZ,MAAM,EAAG,MAAM,CAAC;IAChB,MAAM,EAAG,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAG,MAAM,CAAC;IAClB,SAAS,EAAG,IAAI,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;gBAEL,OAAO,EAAE,OAAO,CAAC,2BAA2B,CAAC;CAG5D"}
@@ -0,0 +1,5 @@
1
+ export class ApplicationOnboardingEntity {
2
+ constructor(partial) {
3
+ Object.assign(this, partial);
4
+ }
5
+ }
@@ -0,0 +1,33 @@
1
+ import { ApplicationEntity } from '../applications';
2
+ import { LookupEntity } from '../shared/lookup.entity';
3
+ export declare class ApplicationProductEntity {
4
+ id: string;
5
+ applicationId: string;
6
+ selectedProduct: string;
7
+ lendingTypeLid?: string;
8
+ pageValidFlag: boolean;
9
+ repaymentTypeLid?: string;
10
+ numberOfYearsToRepay: number;
11
+ repaymentVehicle: string;
12
+ fixedAmount: number;
13
+ isFinanceRecommendedToApplicantLid?: string;
14
+ procFeeRateLid?: string;
15
+ networkClubSubmission: boolean;
16
+ clubNetworkNameLid?: string;
17
+ introducerSubmission: boolean;
18
+ introducer: string;
19
+ bdm: string;
20
+ tempAppFee: number;
21
+ productFeePaymentTypeLid?: string;
22
+ createdAt: Date;
23
+ updatedAt: Date;
24
+ application?: ApplicationEntity;
25
+ lendingType?: LookupEntity;
26
+ repaymentType?: LookupEntity;
27
+ isFinanceRecommendedToApplicant?: LookupEntity;
28
+ procFeeRate?: LookupEntity;
29
+ clubNetworkName?: LookupEntity;
30
+ productFeePaymentType?: LookupEntity;
31
+ constructor(partial: Partial<ApplicationProductEntity>);
32
+ }
33
+ //# sourceMappingURL=application-product.entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"application-product.entity.d.ts","sourceRoot":"","sources":["../../../entities/applications/application-product.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAEvD,qBAAa,wBAAwB;IACjC,EAAE,EAAG,MAAM,CAAC;IACZ,aAAa,EAAG,MAAM,CAAC;IACvB,eAAe,EAAG,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,EAAG,OAAO,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,oBAAoB,EAAG,MAAM,CAAC;IAC9B,gBAAgB,EAAG,MAAM,CAAC;IAC1B,WAAW,EAAG,MAAM,CAAC;IACrB,kCAAkC,CAAC,EAAE,MAAM,CAAC;IAC5C,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,qBAAqB,EAAG,OAAO,CAAC;IAChC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,oBAAoB,EAAG,OAAO,CAAC;IAC/B,UAAU,EAAG,MAAM,CAAC;IACpB,GAAG,EAAG,MAAM,CAAC;IACb,UAAU,EAAG,MAAM,CAAC;IACpB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,SAAS,EAAG,IAAI,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;IAGjB,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAChC,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,aAAa,CAAC,EAAE,YAAY,CAAC;IAC7B,+BAA+B,CAAC,EAAE,YAAY,CAAC;IAC/C,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,eAAe,CAAC,EAAE,YAAY,CAAC;IAC/B,qBAAqB,CAAC,EAAE,YAAY,CAAC;gBAEzB,OAAO,EAAE,OAAO,CAAC,wBAAwB,CAAC;CAGzD"}
@@ -0,0 +1,5 @@
1
+ export class ApplicationProductEntity {
2
+ constructor(partial) {
3
+ Object.assign(this, partial);
4
+ }
5
+ }
@@ -0,0 +1,51 @@
1
+ import { ApplicationEntity } from '../applications';
2
+ import { LookupEntity } from '../shared/lookup.entity';
3
+ export declare class ApplicationRationaleEntity {
4
+ id: string;
5
+ applicationId: string;
6
+ affordabilityDescription: string;
7
+ affordabilityAreaOfOfferCondition: string;
8
+ affordabilityAreaOfConcern: string;
9
+ affordabilityStatusLid?: string;
10
+ applicantsDescription: string;
11
+ applicantsAreaOfOfferCondition: string;
12
+ applicantsAreaOfConcern: string;
13
+ applicantsStatusLid?: string;
14
+ creditConductDescription: string;
15
+ creditConductAreaOfOfferCondition: string;
16
+ creditConductAreaOfConcern: string;
17
+ creditConductStatusLid?: string;
18
+ fraudCheckDescription: string;
19
+ fraudCheckAreaOfOfferCondition: string;
20
+ fraudCheckAreaOfConcern: string;
21
+ fraudCheckStatusLid?: string;
22
+ incomeSourceDescription: string;
23
+ incomeSourceAreaOfOfferCondition: string;
24
+ incomeSourceAreaOfConcern: string;
25
+ incomeSourceStatusLid?: string;
26
+ loanDescription: string;
27
+ loanAreaOfOfferCondition: string;
28
+ loanAreaOfConcern: string;
29
+ loanStatusLid?: string;
30
+ securityDescription: string;
31
+ securityAreaOfOfferCondition: string;
32
+ securityAreaOfConcern: string;
33
+ securityStatusLid?: string;
34
+ propertyDescription: string;
35
+ propertyAreaOfOfferCondition: string;
36
+ propertyAreaOfConcern: string;
37
+ propertyStatusLid?: string;
38
+ createdAt: Date;
39
+ updatedAt: Date;
40
+ application?: ApplicationEntity;
41
+ affordabilityStatus?: LookupEntity;
42
+ applicantsStatus?: LookupEntity;
43
+ creditConductStatus?: LookupEntity;
44
+ fraudCheckStatus?: LookupEntity;
45
+ incomeSourceStatus?: LookupEntity;
46
+ loanStatus?: LookupEntity;
47
+ securityStatus?: LookupEntity;
48
+ propertyStatus?: LookupEntity;
49
+ constructor(partial: Partial<ApplicationRationaleEntity>);
50
+ }
51
+ //# sourceMappingURL=application-rationale.entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"application-rationale.entity.d.ts","sourceRoot":"","sources":["../../../entities/applications/application-rationale.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAEvD,qBAAa,0BAA0B;IACnC,EAAE,EAAG,MAAM,CAAC;IACZ,aAAa,EAAG,MAAM,CAAC;IACvB,wBAAwB,EAAG,MAAM,CAAC;IAClC,iCAAiC,EAAG,MAAM,CAAC;IAC3C,0BAA0B,EAAG,MAAM,CAAC;IACpC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,qBAAqB,EAAG,MAAM,CAAC;IAC/B,8BAA8B,EAAG,MAAM,CAAC;IACxC,uBAAuB,EAAG,MAAM,CAAC;IACjC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,wBAAwB,EAAG,MAAM,CAAC;IAClC,iCAAiC,EAAG,MAAM,CAA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1,5 @@
1
+ export class ApplicationRationaleEntity {
2
+ constructor(partial) {
3
+ Object.assign(this, partial);
4
+ }
5
+ }
@@ -0,0 +1,102 @@
1
+ import { LookupEntity } from '../shared/lookup.entity';
2
+ import { BrokerEntity } from './broker.entity';
3
+ import { SecurityEntity } from '../properties/security.entity';
4
+ import { SolicitorEntity } from './solicitor.entity';
5
+ import { ProductEntity } from '../product-catalogues/product.entity';
6
+ import { ApplicationDirectDebitEntity } from './application-direct-debit.entity';
7
+ import { ApplicationMortgageEntity } from './application-mortgage.entity';
8
+ import { ApplicationCompanyEntity } from './application-company.entity';
9
+ import { ApplicationRationaleEntity } from './application-rationale.entity';
10
+ import { ApplicantEntity } from '../applicants/applicant.entity';
11
+ import { PropertyEntity } from '../properties/property.entity';
12
+ import { ApplicationCreditProfileEntity } from './application-credit-profile.entity';
13
+ export declare class ApplicationEntity {
14
+ id: string;
15
+ queueId: string[];
16
+ assignedToUserId?: string;
17
+ applicationId: string;
18
+ isApplicationFeePaid: boolean;
19
+ applicationNumber: string;
20
+ applicationTypeLid: string;
21
+ bankSolicitor: string;
22
+ brokerId: string;
23
+ caseManager: string;
24
+ caseManagerAccepted: boolean;
25
+ completedReason: string;
26
+ isIntendToOccupy: boolean;
27
+ introducer: string;
28
+ isIntroducerSubmission: boolean;
29
+ isBrokerAssigned: boolean;
30
+ isFinanceRecommendedToApplicant: boolean;
31
+ isWorkflowTaskCreated: boolean;
32
+ lastUpdated?: Date;
33
+ lendingTypeLid: string;
34
+ networkClubName: string;
35
+ isNetworkClubSubmission: boolean;
36
+ newReason: string;
37
+ purchaseTypeLid: string;
38
+ rejectedReason: string;
39
+ repaymentTypeLid: string;
40
+ selectedProduct?: string;
41
+ sourceOfWealthLids?: string[];
42
+ sowBusiness: string;
43
+ sowInheritance: string;
44
+ sowOther: string;
45
+ sowProperty: string;
46
+ sowSalary: string;
47
+ statusLid: string;
48
+ submitReason: string;
49
+ submittedDate?: Date;
50
+ isValuationFeePaid: boolean;
51
+ withdrawalReason: string;
52
+ withdrawalReasonCode: string;
53
+ productId?: string;
54
+ securityId: string;
55
+ solicitorId: string;
56
+ isActive: boolean;
57
+ isUkResident: boolean;
58
+ riskRating?: string;
59
+ directDebitId?: string;
60
+ mortgageId?: string;
61
+ companyId?: string;
62
+ rationaleId?: string;
63
+ newAuditRecordsCount: string;
64
+ currentApprivoAuditId?: string;
65
+ applicantIds: string[];
66
+ propertyIds: string[];
67
+ createdAt: Date;
68
+ updatedAt: Date;
69
+ applicationType?: LookupEntity;
70
+ lendingType?: LookupEntity;
71
+ purchaseType?: LookupEntity;
72
+ status?: LookupEntity;
73
+ repaymentType?: LookupEntity;
74
+ broker?: BrokerEntity;
75
+ security?: SecurityEntity;
76
+ solicitor?: SolicitorEntity;
77
+ product?: ProductEntity;
78
+ directDebit?: ApplicationDirectDebitEntity;
79
+ creditProfile?: ApplicationCreditProfileEntity;
80
+ mortgage?: ApplicationMortgageEntity;
81
+ company?: ApplicationCompanyEntity;
82
+ rationale?: ApplicationRationaleEntity;
83
+ applicants?: ApplicantEntity[];
84
+ sourceOfWealth?: LookupEntity[];
85
+ properties?: PropertyEntity[];
86
+ companies?: ApplicationCompanyEntity[];
87
+ constructor(partial: Partial<ApplicationEntity>);
88
+ get noOfApplicants(): number;
89
+ get applicationTypeName(): string | null;
90
+ get lendingTypeName(): string | null;
91
+ get purchaseTypeName(): string | null;
92
+ get statusName(): string | null;
93
+ get ltv(): string | null;
94
+ get submittedDateFormatted(): string | null;
95
+ get brokerName(): string | null;
96
+ get brokerEmail(): string | null;
97
+ get solicitorName(): string | null;
98
+ get solicitorEmail(): string | null;
99
+ get brokerPhone(): string | null;
100
+ get solicitorPhone(): string | null;
101
+ }
102
+ //# sourceMappingURL=application.entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"application.entity.d.ts","sourceRoot":"","sources":["../../../entities/applications/application.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CA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IAAI,WAAW,IAAI,MAAM,GAAG,IAAI,CAE/B;IAED,IAAI,cAAc,IAAI,MAAM,GAAG,IAAI,CAElC;CACJ"}
@@ -0,0 +1,66 @@
1
+ export class ApplicationEntity {
2
+ constructor(partial) {
3
+ Object.assign(this, partial);
4
+ }
5
+ // Virtual properties from Mongoose model
6
+ get noOfApplicants() {
7
+ return this.applicantIds?.length ?? 0;
8
+ }
9
+ get applicationTypeName() {
10
+ return this.applicationType?.name ?? null;
11
+ }
12
+ get lendingTypeName() {
13
+ return this.lendingType?.name ?? null;
14
+ }
15
+ get purchaseTypeName() {
16
+ return this.purchaseType?.name ?? null;
17
+ }
18
+ get statusName() {
19
+ return this.status?.name ?? null;
20
+ }
21
+ get ltv() {
22
+ if (this.mortgage?.purchasePrice && this.mortgage?.loanRequired) {
23
+ const parseCurrency = (value) => {
24
+ if (typeof value === 'string') {
25
+ return parseFloat(value.replace(/[^0-9.-]+/g, ""));
26
+ }
27
+ return value;
28
+ };
29
+ const parsedPurchasePrice = parseCurrency(this.mortgage.purchasePrice);
30
+ const parsedLoanRequired = parseCurrency(this.mortgage.loanRequired);
31
+ const ltv = (parsedLoanRequired / parsedPurchasePrice) * 100;
32
+ return ltv.toFixed(2) + "%";
33
+ }
34
+ return null;
35
+ }
36
+ get submittedDateFormatted() {
37
+ if (!this.submittedDate)
38
+ return null;
39
+ const date = new Date(this.submittedDate);
40
+ const day = String(date.getDate()).padStart(2, '0');
41
+ const month = String(date.getMonth() + 1).padStart(2, '0');
42
+ const year = date.getFullYear();
43
+ return `${day}-${month}-${year}`;
44
+ }
45
+ get brokerName() {
46
+ if (this.broker?.firstName && this.broker?.lastName) {
47
+ return `${this.broker.firstName} ${this.broker.lastName}`;
48
+ }
49
+ return null;
50
+ }
51
+ get brokerEmail() {
52
+ return this.broker?.email ?? null;
53
+ }
54
+ get solicitorName() {
55
+ return this.solicitor?.nameOfAccountHolder ?? null;
56
+ }
57
+ get solicitorEmail() {
58
+ return this.solicitor?.email ?? null;
59
+ }
60
+ get brokerPhone() {
61
+ return this.broker?.mobileTelephone ?? null;
62
+ }
63
+ get solicitorPhone() {
64
+ return this.solicitor?.telephone ?? null;
65
+ }
66
+ }
@@ -0,0 +1,23 @@
1
+ export declare class BrokerEntity {
2
+ id: string;
3
+ brokerId: string;
4
+ landlinePhone?: string;
5
+ mobileTelephone?: string;
6
+ addressPostCode?: string;
7
+ addressLine1?: string;
8
+ addressLine2?: string;
9
+ addressLine3?: string;
10
+ addressCity?: string;
11
+ addressCountry?: string;
12
+ tradingName?: string;
13
+ fcaNumber?: string;
14
+ brokerType?: string;
15
+ email?: string;
16
+ network?: string;
17
+ firstName?: string;
18
+ lastName?: string;
19
+ createdAt: Date;
20
+ updatedAt: Date;
21
+ constructor(partial: Partial<BrokerEntity>);
22
+ }
23
+ //# sourceMappingURL=broker.entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"broker.entity.d.ts","sourceRoot":"","sources":["../../../entities/applications/broker.entity.ts"],"names":[],"mappings":"AAAA,qBAAa,YAAY;IACrB,EAAE,EAAG,MAAM,CAAC;IACZ,QAAQ,EAAG,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,EAAG,IAAI,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;gBAEL,OAAO,EAAE,OAAO,CAAC,YAAY,CAAC;CAG7C"}
@@ -0,0 +1,5 @@
1
+ export class BrokerEntity {
2
+ constructor(partial) {
3
+ Object.assign(this, partial);
4
+ }
5
+ }
@@ -0,0 +1,47 @@
1
+ export declare class ChecklistItemEntity {
2
+ id: string;
3
+ additionalOfferConditions: string;
4
+ appFormSignedNotes: string;
5
+ applicationCompletionDate?: string;
6
+ buildingInsuranceInsurerName: string;
7
+ buildingInsurancePolicyNumber: string;
8
+ buildingInsuranceReceived: string;
9
+ buildingInsuranceRenewalDate?: string;
10
+ dateOfValuationReceived?: string;
11
+ feePaidDocumentsDownloaded: string;
12
+ feePaidNotes: string;
13
+ fundsNotes: string;
14
+ fundsReleasedDate?: string;
15
+ hasAllDocsReviewedAndAccepted: string;
16
+ idnPorReceived: string;
17
+ legalCompletionDate?: string;
18
+ legalDocsReceived: string;
19
+ legalNotes: string;
20
+ ninetyDaysValuationAmount: string;
21
+ offerConditionsItems: string;
22
+ offerConditionsMet: string;
23
+ offerNotes: string;
24
+ offerOfferPrepared: string;
25
+ offerOfferReviewed: string;
26
+ offerSignedNotes: string;
27
+ offerSolicitorInstructedDate?: string;
28
+ packagingNotes: string;
29
+ preOfferNotes: string;
30
+ reinstatementAmount: string;
31
+ rotReceived: string;
32
+ rotReceivedDate?: string;
33
+ salesContractReceived: string;
34
+ underwritingNotes: string;
35
+ underwritingValuationNotes: string;
36
+ valuationAccepted?: string;
37
+ valuationFurtherConditions: string;
38
+ valuationNotes: string;
39
+ valuationReceived?: string;
40
+ valuationRequestedDate?: string;
41
+ valuationScheduledDate?: string;
42
+ valuationSurveyorDetails: string;
43
+ createdAt: Date;
44
+ updatedAt: Date;
45
+ constructor(partial: Partial<ChecklistItemEntity>);
46
+ }
47
+ //# sourceMappingURL=checklist-item.entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checklist-item.entity.d.ts","sourceRoot":"","sources":["../../../entities/applications/checklist-item.entity.ts"],"names":[],"mappings":"AAAA,qBAAa,mBAAmB;IAC5B,EAAE,EAAG,MAAM,CAAC;IACZ,yBAAyB,EAAG,MAAM,CAAC;IACnC,kBAAkB,EAAG,MAAM,CAAC;IAC5B,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,4BAA4B,EAAG,MAAM,CAAC;IACtC,6BAA6B,EAAG,MAAM,CAAC;IACvC,yBAAyB,EAAG,MAAM,CAAC;IACnC,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,0BAA0B,EAAG,MAAM,CAAC;IACpC,YAAY,EAAG,MAAM,CAAC;IACtB,UAAU,EAAG,MAAM,CAAC;IACpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,6BAA6B,EAAG,MAAM,CAAC;IACvC,cAAc,EAAG,MAAM,CAAC;IACxB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,iBAAiB,EAAG,MAAM,CAAC;IAC3B,UAAU,EAAG,MAAM,CAAC;IACpB,yBAAyB,EAAG,MAAM,CAAC;IACnC,oBAAoB,EAAG,MAAM,CAAC;IAC9B,kBAAkB,EAAG,MAAM,CAAC;IAC5B,UAAU,EAAG,MAAM,CAAC;IACpB,kBAAkB,EAAG,MAAM,CAAC;IAC5B,kBAAkB,EAAG,MAAM,CAAC;IAC5B,gBAAgB,EAAG,MAAM,CAAC;IAC1B,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC,cAAc,EAAG,MAAM,CAAC;IACxB,aAAa,EAAG,MAAM,CAAC;IACvB,mBAAmB,EAAG,MAAM,CAAC;IAC7B,WAAW,EAAG,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,qBAAqB,EAAG,MAAM,CAAC;IAC/B,iBAAiB,EAAG,MAAM,CAAC;IAC3B,0BAA0B,EAAG,MAAM,CAAC;IACpC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,0BAA0B,EAAG,MAAM,CAAC;IACpC,cAAc,EAAG,MAAM,CAAC;IACxB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,wBAAwB,EAAG,MAAM,CAAC;IAClC,SAAS,EAAG,IAAI,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;gBAEL,OAAO,EAAE,OAAO,CAAC,mBAAmB,CAAC;CAGpD"}
@@ -0,0 +1,5 @@
1
+ export class ChecklistItemEntity {
2
+ constructor(partial) {
3
+ Object.assign(this, partial);
4
+ }
5
+ }
@@ -0,0 +1,22 @@
1
+ import type { Application, ProductFeatures, Solicitor, Broker, ChecklistItem, ApplicationRationale, ApplicationProduct, ApplicationNote, ApplicationOffer, ApplicationOnboarding, ApplicationIllustration, ApplicationLegal, ApplicationMortgage, ApplicationDocument, ApplicationFieldConfig, ApplicationAudit, ApplicationCompany, ApplicationDirectDebit } from '@prisma/client';
2
+ export type { Application, ProductFeatures, Solicitor, Broker, ChecklistItem, ApplicationRationale, ApplicationProduct, ApplicationNote, ApplicationOffer, ApplicationOnboarding, ApplicationIllustration, ApplicationLegal, ApplicationMortgage, ApplicationDocument, ApplicationFieldConfig, ApplicationAudit, ApplicationCompany, ApplicationDirectDebit };
3
+ export * from './application.entity';
4
+ export * from './product-features.entity';
5
+ export * from './solicitor.entity';
6
+ export * from './broker.entity';
7
+ export * from './checklist-item.entity';
8
+ export * from './application-credit-profile.entity';
9
+ export * from './application-rationale.entity';
10
+ export * from './application-product.entity';
11
+ export * from './application-note.entity';
12
+ export * from './application-offer.entity';
13
+ export * from './application-onboarding.entity';
14
+ export * from './application-illustration.entity';
15
+ export * from './application-legal.entity';
16
+ export * from './application-mortgage.entity';
17
+ export * from './application-document.entity';
18
+ export * from './application-fieldconfig.entity';
19
+ export * from './application-audit.entity';
20
+ export * from './application-company.entity';
21
+ export * from './application-direct-debit.entity';
22
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../entities/applications/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,WAAW,EACX,eAAe,EACf,SAAS,EACT,MAAM,EACN,aAAa,EACb,oBAAoB,EACpB,kBAAkB,EAClB,eAAe,EACf,gBAAgB,EAChB,qBAAqB,EACrB,uBAAuB,EACvB,gBAAgB,EAChB,mBAAmB,EACnB,mBAAmB,EACnB,sBAAsB,EACtB,gBAAgB,EAChB,kBAAkB,EAClB,sBAAsB,EACzB,MAAM,gBAAgB,CAAC;AAGxB,YAAY,EACR,WAAW,EACX,eAAe,EACf,SAAS,EACT,MAAM,EACN,aAAa,EACb,oBAAoB,EACpB,kBAAkB,EAClB,eAAe,EACf,gBAAgB,EAChB,qBAAqB,EACrB,uBAAuB,EACvB,gBAAgB,EAChB,mBAAmB,EACnB,mBAAmB,EACnB,sBAAsB,EACtB,gBAAgB,EAChB,kBAAkB,EAClB,sBAAsB,EACzB,CAAC;AAGF,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qCAAqC,CAAC;AACpD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iCAAiC,CAAC;AAChD,cAAc,mCAAmC,CAAC;AAClD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kCAAkC,CAAC;AACjD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mCAAmC,CAAC"}
@@ -0,0 +1,20 @@
1
+ // Export entity classes
2
+ export * from './application.entity';
3
+ export * from './product-features.entity';
4
+ export * from './solicitor.entity';
5
+ export * from './broker.entity';
6
+ export * from './checklist-item.entity';
7
+ export * from './application-credit-profile.entity';
8
+ export * from './application-rationale.entity';
9
+ export * from './application-product.entity';
10
+ export * from './application-note.entity';
11
+ export * from './application-offer.entity';
12
+ export * from './application-onboarding.entity';
13
+ export * from './application-illustration.entity';
14
+ export * from './application-legal.entity';
15
+ export * from './application-mortgage.entity';
16
+ export * from './application-document.entity';
17
+ export * from './application-fieldconfig.entity';
18
+ export * from './application-audit.entity';
19
+ export * from './application-company.entity';
20
+ export * from './application-direct-debit.entity';