@dynamatix/gb-schemas 2.17.12 → 2.19.1

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 (397) hide show
  1. package/dist/applicants/applicant-additional-income.model.d.ts +379 -0
  2. package/dist/applicants/applicant-additional-income.model.d.ts.map +1 -0
  3. package/dist/applicants/applicant-additional-income.model.js +35 -0
  4. package/dist/applicants/applicant-additional-income.type.d.ts +41 -0
  5. package/dist/applicants/applicant-additional-income.type.d.ts.map +1 -0
  6. package/dist/applicants/applicant-additional-income.type.js +1 -0
  7. package/dist/applicants/applicant-commitment-creditCard.model.d.ts +546 -0
  8. package/dist/applicants/applicant-commitment-creditCard.model.d.ts.map +1 -0
  9. package/dist/applicants/applicant-commitment-creditCard.model.js +40 -0
  10. package/dist/applicants/applicant-commitment-loan.model.d.ts +435 -0
  11. package/dist/applicants/applicant-commitment-loan.model.d.ts.map +1 -0
  12. package/dist/applicants/applicant-commitment-loan.model.js +51 -0
  13. package/dist/applicants/applicant-commitment-mortgage.model.d.ts +507 -0
  14. package/dist/applicants/applicant-commitment-mortgage.model.d.ts.map +1 -0
  15. package/dist/applicants/applicant-commitment-mortgage.model.js +69 -0
  16. package/dist/applicants/applicant-commitment-residence.model.d.ts +769 -0
  17. package/dist/applicants/applicant-commitment-residence.model.d.ts.map +1 -0
  18. package/dist/applicants/applicant-commitment-residence.model.js +57 -0
  19. package/dist/applicants/applicant-commitment-secureLoan.model.d.ts +427 -0
  20. package/dist/applicants/applicant-commitment-secureLoan.model.d.ts.map +1 -0
  21. package/dist/applicants/applicant-commitment-secureLoan.model.js +43 -0
  22. package/dist/applicants/applicant-commitment-unsecuredLoan.model.d.ts +427 -0
  23. package/dist/applicants/applicant-commitment-unsecuredLoan.model.d.ts.map +1 -0
  24. package/dist/applicants/applicant-commitment-unsecuredLoan.model.js +43 -0
  25. package/dist/applicants/applicant-credit-data.model.d.ts +61 -0
  26. package/dist/applicants/applicant-credit-data.model.d.ts.map +1 -0
  27. package/dist/applicants/applicant-credit-data.model.js +11 -0
  28. package/dist/applicants/applicant-credit-profile.model.d.ts +52 -0
  29. package/dist/applicants/applicant-credit-profile.model.d.ts.map +1 -0
  30. package/dist/applicants/applicant-credit-profile.model.js +20 -0
  31. package/dist/applicants/applicant-credit-report.model.d.ts +3817 -0
  32. package/dist/applicants/applicant-credit-report.model.d.ts.map +1 -0
  33. package/dist/applicants/applicant-credit-report.model.js +126 -0
  34. package/dist/applicants/applicant-credit-report.type.d.ts +146 -0
  35. package/dist/applicants/applicant-credit-report.type.d.ts.map +1 -0
  36. package/dist/applicants/applicant-credit-report.type.js +1 -0
  37. package/dist/applicants/applicant-employment-income.model.d.ts +207 -0
  38. package/dist/applicants/applicant-employment-income.model.d.ts.map +1 -0
  39. package/dist/applicants/applicant-employment-income.model.js +20 -0
  40. package/dist/applicants/applicant-employment-income.type.d.ts +38 -0
  41. package/dist/applicants/applicant-employment-income.type.d.ts.map +1 -0
  42. package/dist/applicants/applicant-employment-income.type.js +1 -0
  43. package/dist/applicants/applicant-employment.model.d.ts +829 -0
  44. package/dist/applicants/applicant-employment.model.d.ts.map +1 -0
  45. package/dist/applicants/applicant-employment.model.js +46 -0
  46. package/dist/applicants/applicant-expenditure.model.d.ts +128 -0
  47. package/dist/applicants/applicant-expenditure.model.d.ts.map +1 -0
  48. package/dist/applicants/applicant-expenditure.model.js +146 -0
  49. package/dist/applicants/applicant-expenditure.type.d.ts +43 -0
  50. package/dist/applicants/applicant-expenditure.type.d.ts.map +1 -0
  51. package/dist/applicants/applicant-expenditure.type.js +1 -0
  52. package/dist/applicants/applicant-income-settings.model.d.ts +83 -0
  53. package/dist/applicants/applicant-income-settings.model.d.ts.map +1 -0
  54. package/dist/applicants/applicant-income-settings.model.js +22 -0
  55. package/dist/applicants/applicant-income-settings.type.d.ts +41 -0
  56. package/dist/applicants/applicant-income-settings.type.d.ts.map +1 -0
  57. package/dist/applicants/applicant-income-settings.type.js +1 -0
  58. package/dist/applicants/applicant-income-summary.model.d.ts +2965 -0
  59. package/dist/applicants/applicant-income-summary.model.d.ts.map +1 -0
  60. package/dist/applicants/applicant-income-summary.model.js +59 -0
  61. package/dist/applicants/applicant-income-summary.type.d.ts +73 -0
  62. package/dist/applicants/applicant-income-summary.type.d.ts.map +1 -0
  63. package/dist/applicants/applicant-income-summary.type.js +1 -0
  64. package/dist/applicants/applicant-large-exposure.model.d.ts +668 -0
  65. package/dist/applicants/applicant-large-exposure.model.d.ts.map +1 -0
  66. package/dist/applicants/applicant-large-exposure.model.js +16 -0
  67. package/dist/applicants/applicant-large-exposure.type.d.ts +40 -0
  68. package/dist/applicants/applicant-large-exposure.type.d.ts.map +1 -0
  69. package/dist/applicants/applicant-large-exposure.type.js +1 -0
  70. package/dist/applicants/applicant-pension-income.model.d.ts +495 -0
  71. package/dist/applicants/applicant-pension-income.model.d.ts.map +1 -0
  72. package/dist/applicants/applicant-pension-income.model.js +35 -0
  73. package/dist/applicants/applicant-pension-income.type.d.ts +41 -0
  74. package/dist/applicants/applicant-pension-income.type.d.ts.map +1 -0
  75. package/dist/applicants/applicant-pension-income.type.js +1 -0
  76. package/dist/applicants/applicant-property-income.model.d.ts +954 -0
  77. package/dist/applicants/applicant-property-income.model.d.ts.map +1 -0
  78. package/dist/applicants/applicant-property-income.model.js +34 -0
  79. package/dist/applicants/applicant-property-income.type.d.ts +45 -0
  80. package/dist/applicants/applicant-property-income.type.d.ts.map +1 -0
  81. package/dist/applicants/applicant-property-income.type.js +1 -0
  82. package/dist/applicants/applicant-risk-narrative.model.d.ts +67 -0
  83. package/dist/applicants/applicant-risk-narrative.model.d.ts.map +1 -0
  84. package/dist/applicants/applicant-risk-narrative.model.js +13 -0
  85. package/dist/applicants/applicant-self-employed-income.model.d.ts +214 -0
  86. package/dist/applicants/applicant-self-employed-income.model.d.ts.map +1 -0
  87. package/dist/applicants/applicant-self-employed-income.model.js +23 -0
  88. package/dist/applicants/applicant-self-employed-income.type.d.ts +38 -0
  89. package/dist/applicants/applicant-self-employed-income.type.d.ts.map +1 -0
  90. package/dist/applicants/applicant-self-employed-income.type.js +1 -0
  91. package/dist/applicants/applicant-self-employment.model.d.ts +270 -0
  92. package/dist/applicants/applicant-self-employment.model.d.ts.map +1 -0
  93. package/dist/applicants/applicant-self-employment.model.js +55 -0
  94. package/dist/applicants/applicant-sole-trader-income.model.d.ts +214 -0
  95. package/dist/applicants/applicant-sole-trader-income.model.d.ts.map +1 -0
  96. package/dist/applicants/applicant-sole-trader-income.model.js +21 -0
  97. package/dist/applicants/applicant-sole-trader-income.type.d.ts +38 -0
  98. package/dist/applicants/applicant-sole-trader-income.type.d.ts.map +1 -0
  99. package/dist/applicants/applicant-sole-trader-income.type.js +1 -0
  100. package/dist/applicants/applicant-uk-tax-credits.model.d.ts +501 -0
  101. package/dist/applicants/applicant-uk-tax-credits.model.d.ts.map +1 -0
  102. package/dist/applicants/applicant-uk-tax-credits.model.js +21 -0
  103. package/dist/applicants/applicant-uk-tax-credits.type.d.ts +40 -0
  104. package/dist/applicants/applicant-uk-tax-credits.type.d.ts.map +1 -0
  105. package/dist/applicants/applicant-uk-tax-credits.type.js +1 -0
  106. package/dist/applicants/applicant-welcome-call.model.d.ts +385 -0
  107. package/dist/applicants/applicant-welcome-call.model.d.ts.map +1 -0
  108. package/dist/applicants/applicant-welcome-call.model.js +709 -0
  109. package/dist/applicants/applicant-welcome-call.type.d.ts +67 -0
  110. package/dist/applicants/applicant-welcome-call.type.d.ts.map +1 -0
  111. package/dist/applicants/applicant-welcome-call.type.js +1 -0
  112. package/dist/applicants/applicant.model.d.ts +1516 -0
  113. package/dist/applicants/applicant.model.d.ts.map +1 -0
  114. package/dist/applicants/applicant.model.js +260 -0
  115. package/dist/applicants/applicant.type.d.ts +161 -0
  116. package/dist/applicants/applicant.type.d.ts.map +1 -0
  117. package/dist/applicants/applicant.type.js +1 -0
  118. package/dist/applicants/index.d.ts +37 -0
  119. package/dist/applicants/index.d.ts.map +1 -0
  120. package/dist/applicants/index.js +22 -0
  121. package/dist/applications/application-audit.model.d.ts +121 -0
  122. package/dist/applications/application-audit.model.d.ts.map +1 -0
  123. package/dist/applications/application-audit.model.js +45 -0
  124. package/dist/applications/application-checklist-Item.model.d.ts +293 -0
  125. package/dist/applications/application-checklist-Item.model.d.ts.map +1 -0
  126. package/dist/applications/application-checklist-Item.model.js +49 -0
  127. package/dist/applications/application-company-model.d.ts +1549 -0
  128. package/dist/applications/application-company-model.d.ts.map +1 -0
  129. package/dist/applications/application-company-model.js +134 -0
  130. package/dist/applications/application-credit-profile.model.d.ts +64 -0
  131. package/dist/applications/application-credit-profile.model.d.ts.map +1 -0
  132. package/dist/applications/application-credit-profile.model.js +12 -0
  133. package/dist/applications/application-direct-debit.model.d.ts +698 -0
  134. package/dist/applications/application-direct-debit.model.d.ts.map +1 -0
  135. package/dist/applications/application-direct-debit.model.js +181 -0
  136. package/dist/applications/application-direct-debit.type.d.ts +64 -0
  137. package/dist/applications/application-direct-debit.type.d.ts.map +1 -0
  138. package/dist/applications/application-direct-debit.type.js +1 -0
  139. package/dist/applications/application-euc.model.d.ts +197 -0
  140. package/dist/applications/application-euc.model.d.ts.map +1 -0
  141. package/dist/applications/application-euc.model.js +39 -0
  142. package/dist/applications/application-euc.type.d.ts +59 -0
  143. package/dist/applications/application-euc.type.d.ts.map +1 -0
  144. package/dist/applications/application-euc.type.js +1 -0
  145. package/dist/applications/application-fieldconfig.model.d.ts +59 -0
  146. package/dist/applications/application-fieldconfig.model.d.ts.map +1 -0
  147. package/dist/applications/application-fieldconfig.model.js +10 -0
  148. package/dist/applications/application-illustration-model.d.ts +53 -0
  149. package/dist/applications/application-illustration-model.d.ts.map +1 -0
  150. package/dist/applications/application-illustration-model.js +6 -0
  151. package/dist/applications/application-legal.model.d.ts +59 -0
  152. package/dist/applications/application-legal.model.d.ts.map +1 -0
  153. package/dist/applications/application-legal.model.js +10 -0
  154. package/dist/applications/application-mortgage.model.d.ts +308 -0
  155. package/dist/applications/application-mortgage.model.d.ts.map +1 -0
  156. package/dist/applications/application-mortgage.model.js +274 -0
  157. package/dist/applications/application-mortgage.type.d.ts +77 -0
  158. package/dist/applications/application-mortgage.type.d.ts.map +1 -0
  159. package/dist/applications/application-mortgage.type.js +1 -0
  160. package/dist/applications/application-note.model.d.ts +185 -0
  161. package/dist/applications/application-note.model.d.ts.map +1 -0
  162. package/dist/applications/application-note.model.js +105 -0
  163. package/dist/applications/application-note.type.d.ts +56 -0
  164. package/dist/applications/application-note.type.d.ts.map +1 -0
  165. package/dist/applications/application-note.type.js +1 -0
  166. package/dist/applications/application-offer.model.d.ts +197 -0
  167. package/dist/applications/application-offer.model.d.ts.map +1 -0
  168. package/dist/applications/application-offer.model.js +56 -0
  169. package/dist/applications/application-offer.type.d.ts +55 -0
  170. package/dist/applications/application-offer.type.d.ts.map +1 -0
  171. package/dist/applications/application-offer.type.js +1 -0
  172. package/dist/applications/application-onboarding.model.d.ts +71 -0
  173. package/dist/applications/application-onboarding.model.d.ts.map +1 -0
  174. package/dist/applications/application-onboarding.model.js +12 -0
  175. package/dist/applications/application-product.model.d.ts +291 -0
  176. package/dist/applications/application-product.model.d.ts.map +1 -0
  177. package/dist/applications/application-product.model.js +90 -0
  178. package/dist/applications/application-product.type.d.ts +59 -0
  179. package/dist/applications/application-product.type.d.ts.map +1 -0
  180. package/dist/applications/application-product.type.js +1 -0
  181. package/dist/applications/application-productfeatures.model.d.ts +773 -0
  182. package/dist/applications/application-productfeatures.model.d.ts.map +1 -0
  183. package/dist/applications/application-productfeatures.model.js +100 -0
  184. package/dist/applications/application-productfeatures.type.d.ts +126 -0
  185. package/dist/applications/application-productfeatures.type.d.ts.map +1 -0
  186. package/dist/applications/application-productfeatures.type.js +1 -0
  187. package/dist/applications/application-rationale.model.d.ts +127 -0
  188. package/dist/applications/application-rationale.model.d.ts.map +1 -0
  189. package/dist/applications/application-rationale.model.js +23 -0
  190. package/dist/applications/application-rationale.type.d.ts +45 -0
  191. package/dist/applications/application-rationale.type.d.ts.map +1 -0
  192. package/dist/applications/application-rationale.type.js +1 -0
  193. package/dist/applications/application-risk-narrative.model.d.ts +101 -0
  194. package/dist/applications/application-risk-narrative.model.d.ts.map +1 -0
  195. package/dist/applications/application-risk-narrative.model.js +17 -0
  196. package/dist/applications/application-valuation-report.model.d.ts +1439 -0
  197. package/dist/applications/application-valuation-report.model.d.ts.map +1 -0
  198. package/dist/applications/application-valuation-report.model.js +799 -0
  199. package/dist/applications/application-valuation-report.type.d.ts +257 -0
  200. package/dist/applications/application-valuation-report.type.d.ts.map +1 -0
  201. package/dist/applications/application-valuation-report.type.js +1 -0
  202. package/dist/applications/application-valuation.model.d.ts +1359 -0
  203. package/dist/applications/application-valuation.model.d.ts.map +1 -0
  204. package/dist/applications/application-valuation.model.js +72 -0
  205. package/dist/applications/application-valuation.type.d.ts +56 -0
  206. package/dist/applications/application-valuation.type.d.ts.map +1 -0
  207. package/dist/applications/application-valuation.type.js +1 -0
  208. package/dist/applications/application.model.d.ts +643 -0
  209. package/dist/applications/application.model.d.ts.map +1 -0
  210. package/dist/applications/application.model.js +254 -0
  211. package/dist/applications/applications-task.model.d.ts +313 -0
  212. package/dist/applications/applications-task.model.d.ts.map +1 -0
  213. package/dist/applications/applications-task.model.js +58 -0
  214. package/dist/applications/applications-task.type.d.ts +60 -0
  215. package/dist/applications/applications-task.type.d.ts.map +1 -0
  216. package/dist/applications/applications-task.type.js +1 -0
  217. package/dist/applications/broker.model.d.ts +163 -0
  218. package/dist/applications/broker.model.d.ts.map +1 -0
  219. package/dist/applications/broker.model.js +24 -0
  220. package/dist/applications/broker.type.d.ts +52 -0
  221. package/dist/applications/broker.type.d.ts.map +1 -0
  222. package/dist/applications/broker.type.js +1 -0
  223. package/dist/applications/index.d.ts +36 -0
  224. package/dist/applications/index.d.ts.map +1 -0
  225. package/dist/applications/index.js +23 -0
  226. package/dist/applications/solicitor.model.d.ts +207 -0
  227. package/dist/applications/solicitor.model.d.ts.map +1 -0
  228. package/dist/applications/solicitor.model.js +121 -0
  229. package/dist/applications/solicitor.type.d.ts +57 -0
  230. package/dist/applications/solicitor.type.d.ts.map +1 -0
  231. package/dist/applications/solicitor.type.js +1 -0
  232. package/dist/index.d.ts +9 -0
  233. package/dist/index.d.ts.map +1 -0
  234. package/dist/index.js +9 -0
  235. package/dist/product-catalogues/index.d.ts +7 -0
  236. package/dist/product-catalogues/index.d.ts.map +1 -0
  237. package/dist/product-catalogues/index.js +3 -0
  238. package/dist/product-catalogues/product-catalogue.model.d.ts +133 -0
  239. package/dist/product-catalogues/product-catalogue.model.d.ts.map +1 -0
  240. package/dist/product-catalogues/product-catalogue.model.js +22 -0
  241. package/dist/product-catalogues/product-catalogue.type.d.ts +15 -0
  242. package/dist/product-catalogues/product-catalogue.type.d.ts.map +1 -0
  243. package/dist/product-catalogues/product-catalogue.type.js +1 -0
  244. package/dist/product-catalogues/product-definitions.model.d.ts +319 -0
  245. package/dist/product-catalogues/product-definitions.model.d.ts.map +1 -0
  246. package/dist/product-catalogues/product-definitions.model.js +29 -0
  247. package/dist/product-catalogues/product-definitions.type.d.ts +54 -0
  248. package/dist/product-catalogues/product-definitions.type.d.ts.map +1 -0
  249. package/dist/product-catalogues/product-definitions.type.js +1 -0
  250. package/dist/product-catalogues/product-variant.model.d.ts +97 -0
  251. package/dist/product-catalogues/product-variant.model.d.ts.map +1 -0
  252. package/dist/product-catalogues/product-variant.model.js +16 -0
  253. package/dist/product-catalogues/product-variant.type.d.ts +39 -0
  254. package/dist/product-catalogues/product-variant.type.d.ts.map +1 -0
  255. package/dist/product-catalogues/product-variant.type.js +1 -0
  256. package/dist/properties/index.d.ts +3 -0
  257. package/dist/properties/index.d.ts.map +1 -0
  258. package/dist/properties/index.js +2 -0
  259. package/dist/properties/property.model.d.ts +1175 -0
  260. package/dist/properties/property.model.d.ts.map +1 -0
  261. package/dist/properties/property.model.js +152 -0
  262. package/dist/properties/security.model.d.ts +332 -0
  263. package/dist/properties/security.model.d.ts.map +1 -0
  264. package/dist/properties/security.model.js +159 -0
  265. package/dist/shared/alert.model.d.ts +103 -0
  266. package/dist/shared/alert.model.d.ts.map +1 -0
  267. package/dist/shared/alert.model.js +24 -0
  268. package/dist/shared/api-log.model.d.ts +125 -0
  269. package/dist/shared/api-log.model.d.ts.map +1 -0
  270. package/dist/shared/api-log.model.js +25 -0
  271. package/dist/shared/api-performance.model.d.ts +38 -0
  272. package/dist/shared/api-performance.model.d.ts.map +1 -0
  273. package/dist/shared/api-performance.model.js +22 -0
  274. package/dist/shared/api-performance.type.d.ts +179 -0
  275. package/dist/shared/api-performance.type.d.ts.map +1 -0
  276. package/dist/shared/api-performance.type.js +1 -0
  277. package/dist/shared/apprivo-sync-journey.model.d.ts +115 -0
  278. package/dist/shared/apprivo-sync-journey.model.d.ts.map +1 -0
  279. package/dist/shared/apprivo-sync-journey.model.js +19 -0
  280. package/dist/shared/checklist.model.d.ts +103 -0
  281. package/dist/shared/checklist.model.d.ts.map +1 -0
  282. package/dist/shared/checklist.model.js +35 -0
  283. package/dist/shared/encryption/encrypted-field-map.d.ts +141 -0
  284. package/dist/shared/encryption/encrypted-field-map.d.ts.map +1 -0
  285. package/dist/shared/encryption/encrypted-field-map.js +126 -0
  286. package/dist/shared/encryption/encryption.config.d.ts +55 -0
  287. package/dist/shared/encryption/encryption.config.d.ts.map +1 -0
  288. package/dist/shared/encryption/encryption.config.js +76 -0
  289. package/dist/shared/encryption/encryption.init.d.ts +66 -0
  290. package/dist/shared/encryption/encryption.init.d.ts.map +1 -0
  291. package/dist/shared/encryption/encryption.init.js +86 -0
  292. package/dist/shared/encryption/encryption.service.d.ts +110 -0
  293. package/dist/shared/encryption/encryption.service.d.ts.map +1 -0
  294. package/dist/shared/encryption/encryption.service.js +151 -0
  295. package/dist/shared/encryption/index.d.ts +6 -0
  296. package/dist/shared/encryption/index.d.ts.map +1 -0
  297. package/dist/shared/encryption/index.js +4 -0
  298. package/dist/shared/index.d.ts +21 -0
  299. package/dist/shared/index.d.ts.map +1 -0
  300. package/dist/shared/index.js +18 -0
  301. package/dist/shared/job-run.model.d.ts +77 -0
  302. package/dist/shared/job-run.model.d.ts.map +1 -0
  303. package/dist/shared/job-run.model.js +14 -0
  304. package/dist/shared/job-setting.model.d.ts +71 -0
  305. package/dist/shared/job-setting.model.d.ts.map +1 -0
  306. package/dist/shared/job-setting.model.js +11 -0
  307. package/dist/shared/lookup-group.model.d.ts +79 -0
  308. package/dist/shared/lookup-group.model.d.ts.map +1 -0
  309. package/dist/shared/lookup-group.model.js +22 -0
  310. package/dist/shared/lookup.model.d.ts +103 -0
  311. package/dist/shared/lookup.model.d.ts.map +1 -0
  312. package/dist/shared/lookup.model.js +37 -0
  313. package/dist/shared/schema-doc.model.d.ts +77 -0
  314. package/dist/shared/schema-doc.model.d.ts.map +1 -0
  315. package/dist/shared/schema-doc.model.js +11 -0
  316. package/dist/shared/system-parameter.model.d.ts +89 -0
  317. package/dist/shared/system-parameter.model.d.ts.map +1 -0
  318. package/dist/shared/system-parameter.model.js +32 -0
  319. package/dist/shared/task-document.model.d.ts +71 -0
  320. package/dist/shared/task-document.model.d.ts.map +1 -0
  321. package/dist/shared/task-document.model.js +23 -0
  322. package/dist/shared/task.model.d.ts +235 -0
  323. package/dist/shared/task.model.d.ts.map +1 -0
  324. package/dist/shared/task.model.js +15 -0
  325. package/dist/shared/webhook-event.model.d.ts +38 -0
  326. package/dist/shared/webhook-event.model.d.ts.map +1 -0
  327. package/dist/shared/webhook-event.model.js +57 -0
  328. package/dist/shared/webhook-event.type.d.ts +15 -0
  329. package/dist/shared/webhook-event.type.d.ts.map +1 -0
  330. package/dist/shared/webhook-event.type.js +1 -0
  331. package/dist/shared/workflow-trigger.model.d.ts +33 -0
  332. package/dist/shared/workflow-trigger.model.d.ts.map +1 -0
  333. package/dist/shared/workflow-trigger.model.js +49 -0
  334. package/dist/shared/workflow-trigger.type.d.ts +61 -0
  335. package/dist/shared/workflow-trigger.type.d.ts.map +1 -0
  336. package/dist/shared/workflow-trigger.type.js +1 -0
  337. package/dist/shared/workflow.init.d.ts +21 -0
  338. package/dist/shared/workflow.init.d.ts.map +1 -0
  339. package/dist/shared/workflow.init.js +42 -0
  340. package/dist/shared/workflow.logger.d.ts +18 -0
  341. package/dist/shared/workflow.logger.d.ts.map +1 -0
  342. package/dist/shared/workflow.logger.js +41 -0
  343. package/dist/shared/workflow.middleware.d.ts +109 -0
  344. package/dist/shared/workflow.middleware.d.ts.map +1 -0
  345. package/dist/shared/workflow.middleware.js +246 -0
  346. package/dist/shared/workflow.plugin.d.ts +47 -0
  347. package/dist/shared/workflow.plugin.d.ts.map +1 -0
  348. package/dist/shared/workflow.plugin.js +151 -0
  349. package/dist/shared/workflow.service.d.ts +42 -0
  350. package/dist/shared/workflow.service.d.ts.map +1 -0
  351. package/dist/shared/workflow.service.js +134 -0
  352. package/dist/types/base.types.d.ts +36 -0
  353. package/dist/types/base.types.d.ts.map +1 -0
  354. package/dist/types/base.types.js +1 -0
  355. package/dist/types/index.d.ts +2 -0
  356. package/dist/types/index.d.ts.map +1 -0
  357. package/dist/types/index.js +1 -0
  358. package/dist/underwriter/index.d.ts +2 -0
  359. package/dist/underwriter/index.d.ts.map +1 -0
  360. package/dist/underwriter/index.js +1 -0
  361. package/dist/underwriter/underwriter.model.d.ts +127 -0
  362. package/dist/underwriter/underwriter.model.d.ts.map +1 -0
  363. package/dist/underwriter/underwriter.model.js +17 -0
  364. package/dist/users/auth-log.model.d.ts +71 -0
  365. package/dist/users/auth-log.model.d.ts.map +1 -0
  366. package/dist/users/auth-log.model.js +24 -0
  367. package/dist/users/index.d.ts +7 -0
  368. package/dist/users/index.d.ts.map +1 -0
  369. package/dist/users/index.js +6 -0
  370. package/dist/users/permission.model.d.ts +85 -0
  371. package/dist/users/permission.model.d.ts.map +1 -0
  372. package/dist/users/permission.model.js +12 -0
  373. package/dist/users/role-group.model.d.ts +91 -0
  374. package/dist/users/role-group.model.d.ts.map +1 -0
  375. package/dist/users/role-group.model.js +17 -0
  376. package/dist/users/role.model.d.ts +91 -0
  377. package/dist/users/role.model.d.ts.map +1 -0
  378. package/dist/users/role.model.js +16 -0
  379. package/dist/users/tasks.model.d.ts +115 -0
  380. package/dist/users/tasks.model.d.ts.map +1 -0
  381. package/dist/users/tasks.model.js +18 -0
  382. package/dist/users/user.model.d.ts +223 -0
  383. package/dist/users/user.model.d.ts.map +1 -0
  384. package/dist/users/user.model.js +41 -0
  385. package/dist/users/user.type.d.ts +56 -0
  386. package/dist/users/user.type.d.ts.map +1 -0
  387. package/dist/users/user.type.js +1 -0
  388. package/dist/value-objects/account-number.d.ts +43 -0
  389. package/dist/value-objects/account-number.d.ts.map +1 -0
  390. package/dist/value-objects/account-number.js +24 -0
  391. package/dist/value-objects/pound.d.ts +44 -0
  392. package/dist/value-objects/pound.d.ts.map +1 -0
  393. package/dist/value-objects/pound.js +50 -0
  394. package/dist/value-objects/sort-code.d.ts +43 -0
  395. package/dist/value-objects/sort-code.d.ts.map +1 -0
  396. package/dist/value-objects/sort-code.js +34 -0
  397. package/package.json +6 -3
@@ -0,0 +1 @@
1
+ {"version":3,"file":"applicant.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAMhC,OAAO,EAAE,KAAK,EAAe,MAAM,wBAAwB,CAAC;AAiS5D,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA+C,CAAC;AACpE,eAAe,cAAc,CAAC"}
@@ -0,0 +1,260 @@
1
+ import mongoose from "mongoose";
2
+ import applicantCreditDataSchema from "./applicant-credit-data.model";
3
+ import applicantRiskNarrativeSchema from "./applicant-risk-narrative.model";
4
+ import creditProfileSchema from "./applicant-credit-profile.model";
5
+ import { Pound, formatPound } from "../value-objects/pound";
6
+ import { applyAuditMiddleware } from "@dynamatix/cat-shared/middlewares";
7
+ import { applyWorkflowPlugin } from "../shared/workflow.plugin";
8
+ const applicantSchema = new mongoose.Schema({
9
+ applicantId: { type: String, required: true },
10
+ applicationId: { type: mongoose.Schema.Types.ObjectId, ref: "Application", required: true },
11
+ serialName: { type: String, ghEncrypt: true },
12
+ addressCity: { type: String, default: null, ghEncrypt: true },
13
+ addressCountryLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null },
14
+ addressLine1: { type: String, default: null, ghEncrypt: true },
15
+ addressLine2: { type: String, default: null, ghEncrypt: true },
16
+ addressLine3: { type: String, default: null, ghEncrypt: true },
17
+ addressMovedDate: { type: String, default: null },
18
+ addressPostCode: { type: String, default: null, ghEncrypt: true },
19
+ correspondenceAddressCity: { type: String, default: null, ghEncrypt: true },
20
+ correspondenceAddressCountryLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null },
21
+ correspondenceAddressLine1: { type: String, default: null, ghEncrypt: true },
22
+ correspondenceAddressLine2: { type: String, default: null, ghEncrypt: true },
23
+ correspondenceAddressLine3: { type: String, default: null, ghEncrypt: true },
24
+ correspondenceAddressPostCode: { type: String, default: null, ghEncrypt: true },
25
+ countryOfResidenceLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true },
26
+ positionLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true },
27
+ dateOfBirth: { type: String, required: true, ghEncrypt: true },
28
+ dependant10Age: { type: Number, default: 0 },
29
+ dependant1Age: { type: Number, default: 0 },
30
+ dependant2Age: { type: Number, default: 0 },
31
+ dependant3Age: { type: Number, default: 0 },
32
+ dependant4Age: { type: Number, default: 0 },
33
+ dependant5Age: { type: Number, default: 0 },
34
+ dependant6Age: { type: Number, default: 0 },
35
+ dependant7Age: { type: Number, default: 0 },
36
+ dependant8Age: { type: Number, default: 0 },
37
+ dependant9Age: { type: Number, default: 0 },
38
+ email: { type: String, required: true, ghEncrypt: true },
39
+ employmentStatusDetails: { type: String, default: null },
40
+ firstName: { type: String, required: true, ghEncrypt: true },
41
+ isFirstTimelandlord: {
42
+ type: Boolean,
43
+ default: false,
44
+ },
45
+ foreignIdForNationals: { type: String, default: null, ghEncrypt: true },
46
+ gdprEmail: {
47
+ type: Boolean,
48
+ default: false,
49
+ },
50
+ gdprPost: {
51
+ type: Boolean,
52
+ default: false,
53
+ },
54
+ gdprTelephone: {
55
+ type: Boolean,
56
+ default: false,
57
+ },
58
+ gdprTextMessage: {
59
+ type: Boolean,
60
+ default: false,
61
+ },
62
+ genderLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true },
63
+ hasBrokerGivenConsentForVulnerabilities: {
64
+ type: Boolean,
65
+ default: false,
66
+ },
67
+ hasLinkedJurisdiction: {
68
+ type: Boolean,
69
+ default: false,
70
+ },
71
+ isCorrespondence: {
72
+ type: Boolean,
73
+ default: true,
74
+ },
75
+ isCreditCardCommitmentConfirmed: { type: Boolean, default: false, },
76
+ isMortgageHPPCommitmentConfirmed: { type: Boolean, default: false, },
77
+ isSecuredLoanCommitmentConfirmed: { type: Boolean, default: false, },
78
+ isUnsecuredLoanCommitmentConfirmed: { type: Boolean, default: false, },
79
+ isExpenditureConfirmed: { type: Boolean, default: false, },
80
+ creditCardRationale: { type: String, default: "" }, // Rationale for credit card
81
+ mortgageHPPRationale: { type: String, default: "" }, // Rationale for mortgageHPP
82
+ securedLoanRationale: { type: String, default: "" }, // Rationale for secured loan
83
+ unsecuredLoanRationale: { type: String, default: "" }, // Rationale for unsecured loan
84
+ isCurrentContract: { type: Boolean, default: false, },
85
+ isCustomerVulnerable: {
86
+ type: Boolean,
87
+ default: false,
88
+ },
89
+ isExpat: {
90
+ type: Boolean,
91
+ default: false,
92
+ },
93
+ isFirstApplicant: {
94
+ type: Boolean,
95
+ default: false,
96
+ },
97
+ isUkPassport: {
98
+ type: Boolean,
99
+ default: false,
100
+ },
101
+ isUkResident: {
102
+ type: Boolean,
103
+ required: true,
104
+ },
105
+ classLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null },
106
+ isExpenseOwner: Boolean,
107
+ pageValidFlag: { type: Boolean, default: false },
108
+ lastName: { type: String, required: true, ghEncrypt: true },
109
+ linkedJurisdictionCountryLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null },
110
+ linkedJurisdictionDetails: { type: String, default: null },
111
+ maidenName: { type: String, default: null, ghEncrypt: true },
112
+ maritalStatusLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true },
113
+ mobileNumber: { type: String, default: null, ghEncrypt: true },
114
+ nationalityLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true },
115
+ netIncome: { type: Number, default: 0.00, ghEncrypt: true },
116
+ niNumber: { type: String, required: true, ghEncrypt: true },
117
+ numberOfDependants: { type: Number, default: 0 },
118
+ isOneYearPrior: {
119
+ type: Boolean,
120
+ default: false,
121
+ },
122
+ phoneNumber: { type: String, default: null, ghEncrypt: true },
123
+ previous1AddressCity: { type: String, default: null, ghEncrypt: true },
124
+ previous1AddressCountryLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null },
125
+ previous1AddressLine1: { type: String, default: null, ghEncrypt: true },
126
+ previous1AddressLine2: { type: String, default: null, ghEncrypt: true },
127
+ previous1AddressLine3: { type: String, default: null, ghEncrypt: true },
128
+ previous1AddressMovedDate: { type: String, default: null },
129
+ previous1AddressPostCode: { type: String, default: null, ghEncrypt: true },
130
+ previous1AddressPropertyOwnedBy: { type: String, default: null },
131
+ previous2AddressCity: { type: String, default: null, ghEncrypt: true },
132
+ previous2AddressCountryLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null },
133
+ previous2AddressLine1: { type: String, default: null, ghEncrypt: true },
134
+ previous2AddressLine2: { type: String, default: null, ghEncrypt: true },
135
+ previous2AddressLine3: { type: String, default: null, ghEncrypt: true },
136
+ previous2AddressMovedDate: { type: String, default: null },
137
+ previous2AddressPostCode: { type: String, default: null, ghEncrypt: true },
138
+ previous2AddressPropertyOwnedBy: { type: String, default: null },
139
+ relationshipToOthers: { type: String, required: true },
140
+ residentialStatusLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null },
141
+ retirementAge: { type: String, required: true },
142
+ taxJurisdictionLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true },
143
+ taxPayerLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true },
144
+ timeResidedAtCountryOfResidence: { type: Number, required: true },
145
+ titleLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true },
146
+ isTwoYearPrior: {
147
+ type: Boolean,
148
+ default: false,
149
+ },
150
+ understandEnglish: {
151
+ type: Boolean,
152
+ required: true,
153
+ },
154
+ vulnerabilityNotes: { type: String, default: null },
155
+ vulnerabilityTypeLids: [{ type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true }],
156
+ ukPassportProfessionLid: {
157
+ type: mongoose.Schema.Types.ObjectId,
158
+ ref: "Lookup",
159
+ required: function () {
160
+ return this.isUkResident;
161
+ }
162
+ },
163
+ proposedFinanceAmount: { type: Pound, default: 0, description: "Proposed finance amount for fixed expenditures, defaults to 0.", get: formatPound },
164
+ topupAmount: { type: Pound, default: 0, description: "Top-up amount for fixed expenditures, defaults to 0.", get: formatPound },
165
+ creditCommitments: { type: Pound, default: 0, description: "Total credit commitments amount, defaults to 0.", get: formatPound },
166
+ creditData: applicantCreditDataSchema,
167
+ riskNarrative: applicantRiskNarrativeSchema,
168
+ incomeSourceId: { type: mongoose.Schema.Types.ObjectId, ref: "Applicant_IncomeSettings", default: null },
169
+ creditProfile: creditProfileSchema,
170
+ employmentInformationId: { type: mongoose.Schema.Types.ObjectId, ref: "Applicant_Employment_Information", default: null },
171
+ selfEmployedInformationId: { type: mongoose.Schema.Types.ObjectId, ref: "Applicant_Self_Employment", default: null },
172
+ incomeSummaryId: { type: mongoose.Schema.Types.ObjectId, ref: "Applicant_Income_Summary", default: null },
173
+ expenseONSVersion: { type: String, default: null },
174
+ }, {
175
+ timestamps: true,
176
+ toJSON: { virtuals: true, getters: true },
177
+ toObject: { virtuals: true, getters: true }
178
+ });
179
+ applicantSchema.virtual('nationality').get(function () {
180
+ return this.nationalityLid?.name ?? null;
181
+ });
182
+ applicantSchema.virtual('residence').get(function () {
183
+ return this.countryOfResidenceLid?.name ?? null;
184
+ });
185
+ applicantSchema.virtual('employmentClass').get(function () {
186
+ return this.classLid?.name ?? null;
187
+ });
188
+ applicantSchema.virtual('addressCountry').get(function () {
189
+ return this.addressCountryLid?.name ?? null;
190
+ });
191
+ applicantSchema.virtual('previous1AddressCountry').get(function () {
192
+ return this.previous1AddressCountryLid?.name ?? null;
193
+ });
194
+ applicantSchema.virtual('previous2AddressCountry').get(function () {
195
+ return this.previous2AddressCountryLid?.name ?? null;
196
+ });
197
+ applicantSchema.virtual('maritalStatus').get(function () {
198
+ return this.maritalStatusLid?.name ?? null;
199
+ });
200
+ applicantSchema.virtual('residentialStatus').get(function () {
201
+ return this.residentialStatusLid?.name ?? null;
202
+ });
203
+ applicantSchema.virtual('taxPayer').get(function () {
204
+ return this.taxPayerLid?.name ?? null;
205
+ });
206
+ applicantSchema.virtual('vulnerabilityType').get(function () {
207
+ return this.vulnerabilityTypeLids?.map((v) => v.name);
208
+ });
209
+ applicantSchema.virtual('title').get(function () {
210
+ return this.titleLid?.name ?? null;
211
+ });
212
+ applicantSchema.virtual('gender').get(function () {
213
+ return this.genderLid?.name ?? null;
214
+ });
215
+ applicantSchema.virtual('fullName').get(function () {
216
+ return `${this.firstName ?? ''} ${this.lastName ?? ''}`.trim();
217
+ });
218
+ applicantSchema.virtual('displayName').get(function () {
219
+ return `${this.titleLid?.name ?? ''} ${this.firstName ?? ''} ${this.lastName ?? ''}`.trim();
220
+ });
221
+ // virtual property 'applicationType'
222
+ applicantSchema.virtual('applicationType').get(function () {
223
+ return this.applicationId?.applicationTypeLid instanceof mongoose.Types.ObjectId
224
+ ? null
225
+ : this.applicationId?.applicationTypeLid?.name || null;
226
+ });
227
+ // virtual property 'lendingType'
228
+ applicantSchema.virtual('lendingType').get(function () {
229
+ return this.applicationId?.lendingTypeLid instanceof mongoose.Types.ObjectId
230
+ ? null
231
+ : this.applicationId?.lendingTypeLid?.name || null;
232
+ });
233
+ // numberOfApplicants – how many applicants are on the associated Application
234
+ applicantSchema.virtual('numberOfApplicants').get(function () {
235
+ // `this.applicationId` must be populated (with its `applicants` field)
236
+ const app = this.applicationId;
237
+ // if it's populated and has an applicants array, return its length, otherwise 0
238
+ return Array.isArray(app?.applicants) ? app.applicants.length : 0;
239
+ });
240
+ applyAuditMiddleware(applicantSchema, "Applicant");
241
+ // Apply workflow plugin to the schema
242
+ applyWorkflowPlugin(applicantSchema, 'applicant');
243
+ // Database indexes for performance optimization
244
+ // Single field indexes
245
+ applicantSchema.index({ applicationId: 1 });
246
+ applicantSchema.index({ applicantId: 1 });
247
+ // Compound indexes
248
+ applicantSchema.index({ applicationId: 1, isExpenseOwner: 1 }); // For expense owner queries
249
+ applicantSchema.index({ applicationId: 1, _id: 1 }); // For application-scoped queries
250
+ // Indexes for lookup operations
251
+ applicantSchema.index({ nationalityLid: 1 });
252
+ applicantSchema.index({ countryOfResidenceLid: 1 });
253
+ applicantSchema.index({ maritalStatusLid: 1 });
254
+ applicantSchema.index({ residentialStatusLid: 1 });
255
+ applicantSchema.index({ addressCountryLid: 1 });
256
+ applicantSchema.index({ titleLid: 1 });
257
+ applicantSchema.index({ genderLid: 1 });
258
+ applicantSchema.index({ incomeSummaryId: 1 });
259
+ const ApplicantModel = mongoose.model("Applicant", applicantSchema);
260
+ export default ApplicantModel;
@@ -0,0 +1,161 @@
1
+ /// <reference path="../value-objects/pound.d.ts" />
2
+ /// <reference path="../value-objects/account-number.d.ts" />
3
+ /// <reference path="../value-objects/sort-code.d.ts" />
4
+ /// <reference path="../shared/encryption/encrypted-field-map.d.ts" />
5
+ /// <reference types="mongoose/types/aggregate" />
6
+ /// <reference types="mongoose/types/callback" />
7
+ /// <reference types="mongoose/types/collection" />
8
+ /// <reference types="mongoose/types/connection" />
9
+ /// <reference types="mongoose/types/cursor" />
10
+ /// <reference types="mongoose/types/document" />
11
+ /// <reference types="mongoose/types/error" />
12
+ /// <reference types="mongoose/types/expressions" />
13
+ /// <reference types="mongoose/types/helpers" />
14
+ /// <reference types="mongoose/types/middlewares" />
15
+ /// <reference types="mongoose/types/indexes" />
16
+ /// <reference types="mongoose/types/models" />
17
+ /// <reference types="mongoose/types/mongooseoptions" />
18
+ /// <reference types="mongoose/types/pipelinestage" />
19
+ /// <reference types="mongoose/types/populate" />
20
+ /// <reference types="mongoose/types/query" />
21
+ /// <reference types="mongoose/types/schemaoptions" />
22
+ /// <reference types="mongoose/types/session" />
23
+ /// <reference types="mongoose/types/types" />
24
+ /// <reference types="mongoose/types/utility" />
25
+ /// <reference types="mongoose/types/validation" />
26
+ /// <reference types="mongoose/types/virtuals" />
27
+ /// <reference types="mongoose/types/schematypes" />
28
+ /// <reference types="mongoose/types/inferschematype" />
29
+ /// <reference types="mongoose/types/inferrawdoctype" />
30
+ import { Types } from "mongoose";
31
+ import { IBaseType } from "../types/base.types";
32
+ export default interface IApplicant extends IBaseType {
33
+ applicantId: string;
34
+ applicationId: Types.ObjectId;
35
+ serialName?: string;
36
+ addressCity?: string | null;
37
+ addressCountryLid?: Types.ObjectId | null;
38
+ addressLine1?: string | null;
39
+ addressLine2?: string | null;
40
+ addressLine3?: string | null;
41
+ addressMovedDate?: string | null;
42
+ addressPostCode?: string | null;
43
+ correspondenceAddressCity?: string | null;
44
+ correspondenceAddressCountryLid?: Types.ObjectId | null;
45
+ correspondenceAddressLine1?: string | null;
46
+ correspondenceAddressLine2?: string | null;
47
+ correspondenceAddressLine3?: string | null;
48
+ correspondenceAddressPostCode?: string | null;
49
+ countryOfResidenceLid: Types.ObjectId;
50
+ dateOfBirth: string;
51
+ dependant10Age?: number;
52
+ dependant1Age?: number;
53
+ dependant2Age?: number;
54
+ dependant3Age?: number;
55
+ dependant4Age?: number;
56
+ dependant5Age?: number;
57
+ dependant6Age?: number;
58
+ dependant7Age?: number;
59
+ dependant8Age?: number;
60
+ dependant9Age?: number;
61
+ email: string;
62
+ employmentStatusDetails?: string | null;
63
+ firstName: string;
64
+ isFirstTimelandlord?: boolean;
65
+ foreignIdForNationals?: string | null;
66
+ gdprEmail?: boolean;
67
+ gdprPost?: boolean;
68
+ gdprTelephone?: boolean;
69
+ gdprTextMessage?: boolean;
70
+ genderLid: Types.ObjectId;
71
+ hasBrokerGivenConsentForVulnerabilities: boolean;
72
+ hasLinkedJurisdiction?: boolean;
73
+ isCorrespondence?: boolean;
74
+ isCreditCardCommitmentConfirmed?: boolean;
75
+ isMortgageHPPCommitmentConfirmed?: boolean;
76
+ isSecuredLoanCommitmentConfirmed?: boolean;
77
+ isUnsecuredLoanCommitmentConfirmed?: boolean;
78
+ isExpenditureConfirmed?: boolean;
79
+ creditCardRationale?: string;
80
+ mortgageHPPRationale?: string;
81
+ securedLoanRationale?: string;
82
+ unsecuredLoanRationale?: string;
83
+ isCurrentContract?: boolean;
84
+ isCustomerVulnerable?: boolean;
85
+ isExpat?: boolean;
86
+ isFirstApplicant?: boolean;
87
+ isUkPassport?: boolean;
88
+ isUkResident: boolean;
89
+ classLid?: Types.ObjectId | null;
90
+ isExpenseOwner?: boolean;
91
+ pageValidFlag?: boolean;
92
+ lastName: string;
93
+ linkedJurisdictionCountryLid?: Types.ObjectId | null;
94
+ linkedJurisdictionDetails?: string | null;
95
+ maidenName?: string | null;
96
+ maritalStatusLid: Types.ObjectId;
97
+ mobileNumber?: string | null;
98
+ nationalityLid: Types.ObjectId;
99
+ netIncome?: number;
100
+ niNumber: string;
101
+ numberOfDependants?: number;
102
+ isOneYearPrior?: boolean;
103
+ phoneNumber?: string | null;
104
+ previous1AddressCity?: string | null;
105
+ previous1AddressCountryLid?: Types.ObjectId | null;
106
+ previous1AddressLine1?: string | null;
107
+ previous1AddressLine2?: string | null;
108
+ previous1AddressLine3?: string | null;
109
+ previous1AddressMovedDate?: string | null;
110
+ previous1AddressPostCode?: string | null;
111
+ previous1AddressPropertyOwnedBy?: string | null;
112
+ previous2AddressCity?: string | null;
113
+ previous2AddressCountryLid?: Types.ObjectId | null;
114
+ previous2AddressLine1?: string | null;
115
+ previous2AddressLine2?: string | null;
116
+ previous2AddressLine3?: string | null;
117
+ previous2AddressMovedDate?: string | null;
118
+ previous2AddressPostCode?: string | null;
119
+ previous2AddressPropertyOwnedBy?: string | null;
120
+ relationshipToOthers: string;
121
+ residentialStatusLid?: Types.ObjectId | null;
122
+ retirementAge: string;
123
+ taxJurisdictionLid: Types.ObjectId;
124
+ taxPayerLid: Types.ObjectId;
125
+ timeResidedAtCountryOfResidence: number;
126
+ titleLid: Types.ObjectId;
127
+ isTwoYearPrior?: boolean;
128
+ understandEnglish: boolean;
129
+ vulnerabilityNotes?: string | null;
130
+ vulnerabilityTypeLids: Types.ObjectId[];
131
+ ukPassportProfessionLid?: Types.ObjectId;
132
+ proposedFinanceAmount?: number;
133
+ topupAmount?: number;
134
+ creditCommitments?: number;
135
+ creditData?: any;
136
+ riskNarrative?: any;
137
+ incomeSourceId?: Types.ObjectId | null;
138
+ creditProfile?: any;
139
+ employmentInformationId?: Types.ObjectId | null;
140
+ selfEmployedInformationId?: Types.ObjectId | null;
141
+ incomeSummaryId?: Types.ObjectId | null;
142
+ expenseONSVersion?: string | null;
143
+ nationality?: string | null;
144
+ residence?: string | null;
145
+ employmentClass?: string | null;
146
+ addressCountry?: string | null;
147
+ previous1AddressCountry?: string | null;
148
+ previous2AddressCountry?: string | null;
149
+ maritalStatus?: string | null;
150
+ residentialStatus?: string | null;
151
+ taxPayer?: string | null;
152
+ vulnerabilityType?: string[];
153
+ title?: string | null;
154
+ gender?: string | null;
155
+ fullName?: string;
156
+ displayName?: string;
157
+ applicationType?: string | null;
158
+ lendingType?: string | null;
159
+ numberOfApplicants?: number;
160
+ }
161
+ //# sourceMappingURL=applicant.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"applicant.type.d.ts","sourceRoot":"","sources":["../../applicants/applicant.type.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,MAAM,CAAC,OAAO,WAAW,UAAW,SAAQ,SAAS;IACjD,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,KAAK,CAAC,QAAQ,CAAC;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,iBAAiB,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC;IAC1C,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,yBAAyB,CAAC,EAAE,MA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G,IAAI,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC/B"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,37 @@
1
+ export { default as ApplicantModel } from './applicant.model';
2
+ export { default as ApplicantEmploymentIncomeModel } from './applicant-employment-income.model';
3
+ export { default as CreditCardCommitmentModel } from './applicant-commitment-creditCard.model';
4
+ export { default as MortgageCommitmentModel } from './applicant-commitment-mortgage.model';
5
+ export { default as SecuredLoanCommitmentModel } from './applicant-commitment-secureLoan.model';
6
+ export { default as UnsecuredLoanCommitmentModel } from './applicant-commitment-unsecuredLoan.model';
7
+ export { default as ResidenceCommitmentModel } from './applicant-commitment-residence.model';
8
+ export { default as LoanCommitmentModel } from './applicant-commitment-loan.model';
9
+ export { default as ApplicantExpenditureModel } from './applicant-expenditure.model';
10
+ export { default as ApplicantPensionIncomeModel } from './applicant-pension-income.model';
11
+ export { default as ApplicantAdditionalIncomeModel } from './applicant-additional-income.model';
12
+ export { default as ApplicantUKTaxCreditsModel } from './applicant-uk-tax-credits.model';
13
+ export { default as ApplicantEmploymentModel } from './applicant-employment.model';
14
+ export { default as ApplicantPropertyIncomeModel } from './applicant-property-income.model';
15
+ export { default as ApplicantPropertyIncomeType } from './applicant-property-income.type';
16
+ export { default as ApplicantSoleTraderIncomeModel } from './applicant-sole-trader-income.model';
17
+ export { default as ApplicantSelfEmployedIncomeModel } from './applicant-self-employed-income.model';
18
+ export { default as ApplicantSelfEmploymentModel } from './applicant-self-employment.model';
19
+ export { default as ApplicantIncomeSettingsModel } from './applicant-income-settings.model';
20
+ export { default as ApplicantIncomeSummaryModel } from './applicant-income-summary.model';
21
+ export { default as ApplicantCreditReportModel } from './applicant-credit-report.model';
22
+ export { default as ApplicantLargeExposureModel } from './applicant-large-exposure.model';
23
+ export { default as ApplicantLargeExposureType } from './applicant-large-exposure.type';
24
+ export { default as ApplicantAdditionalIncomeType } from './applicant-additional-income.type';
25
+ export { default as ApplicantEmploymentIncomeType } from './applicant-employment-income.type';
26
+ export { default as ApplicantPensionIncomeType } from './applicant-pension-income.type';
27
+ export { default as ApplicantIncomeSettingsType } from './applicant-income-settings.type';
28
+ export { default as ApplicantIncomeSummaryType } from './applicant-income-summary.type';
29
+ export { default as ApplicantSelfEmployedIncomeType } from './applicant-self-employed-income.type';
30
+ export { default as ApplicantSoleTraderIncomeType } from './applicant-sole-trader-income.type';
31
+ export { default as ApplicantUKTaxCreditsType } from './applicant-uk-tax-credits.type';
32
+ export { default as ApplicantExpenditureType } from './applicant-expenditure.type';
33
+ export { default as ApplicantType } from './applicant.type';
34
+ export { default as ApplicantCreditReportType } from './applicant-credit-report.type';
35
+ export { default as ApplicantWelcomeCallModel } from './applicant-welcome-call.model';
36
+ export { default as IApplicantWelcomeCallType } from './applicant-welcome-call.type';
37
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../applicants/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAEhG,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AAC/F,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAC3F,OAAO,EAAE,OAAO,IAAI,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAChG,OAAO,EAAE,OAAO,IAAI,4BAA4B,EAAE,MAAM,4CAA4C,CAAC;AAErG,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,wCAA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AAE,MAAM,iCAAiC,CAAC;AACxF,OAAO,EAAE,OAAO,IAAI,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC1F,OAAO,EAAE,OAAO,IAAI,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AACxF,OAAO,EAAE,OAAO,IAAI,+BAA+B,EAAE,MAAM,uCAAuC,CAAC;AACnG,OAAO,EAAE,OAAO,IAAI,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AAC/F,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AACvF,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AACnF,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AACtF,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AACtF,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,+BAA+B,CAAC"}
@@ -0,0 +1,22 @@
1
+ export { default as ApplicantModel } from './applicant.model';
2
+ export { default as ApplicantEmploymentIncomeModel } from './applicant-employment-income.model';
3
+ export { default as CreditCardCommitmentModel } from './applicant-commitment-creditCard.model';
4
+ export { default as MortgageCommitmentModel } from './applicant-commitment-mortgage.model';
5
+ export { default as SecuredLoanCommitmentModel } from './applicant-commitment-secureLoan.model';
6
+ export { default as UnsecuredLoanCommitmentModel } from './applicant-commitment-unsecuredLoan.model';
7
+ export { default as ResidenceCommitmentModel } from './applicant-commitment-residence.model';
8
+ export { default as LoanCommitmentModel } from './applicant-commitment-loan.model';
9
+ export { default as ApplicantExpenditureModel } from './applicant-expenditure.model';
10
+ export { default as ApplicantPensionIncomeModel } from './applicant-pension-income.model';
11
+ export { default as ApplicantAdditionalIncomeModel } from './applicant-additional-income.model';
12
+ export { default as ApplicantUKTaxCreditsModel } from './applicant-uk-tax-credits.model';
13
+ export { default as ApplicantEmploymentModel } from './applicant-employment.model';
14
+ export { default as ApplicantPropertyIncomeModel } from './applicant-property-income.model';
15
+ export { default as ApplicantSoleTraderIncomeModel } from './applicant-sole-trader-income.model';
16
+ export { default as ApplicantSelfEmployedIncomeModel } from './applicant-self-employed-income.model';
17
+ export { default as ApplicantSelfEmploymentModel } from './applicant-self-employment.model';
18
+ export { default as ApplicantIncomeSettingsModel } from './applicant-income-settings.model';
19
+ export { default as ApplicantIncomeSummaryModel } from './applicant-income-summary.model';
20
+ export { default as ApplicantCreditReportModel } from './applicant-credit-report.model';
21
+ export { default as ApplicantLargeExposureModel } from './applicant-large-exposure.model';
22
+ export { default as ApplicantWelcomeCallModel } from './applicant-welcome-call.model';
@@ -0,0 +1,121 @@
1
+ /// <reference path="../value-objects/pound.d.ts" />
2
+ /// <reference path="../value-objects/account-number.d.ts" />
3
+ /// <reference path="../value-objects/sort-code.d.ts" />
4
+ /// <reference path="../shared/encryption/encrypted-field-map.d.ts" />
5
+ /// <reference types="mongoose/types/aggregate" />
6
+ /// <reference types="mongoose/types/callback" />
7
+ /// <reference types="mongoose/types/collection" />
8
+ /// <reference types="mongoose/types/connection" />
9
+ /// <reference types="mongoose/types/cursor" />
10
+ /// <reference types="mongoose/types/document" />
11
+ /// <reference types="mongoose/types/error" />
12
+ /// <reference types="mongoose/types/expressions" />
13
+ /// <reference types="mongoose/types/helpers" />
14
+ /// <reference types="mongoose/types/middlewares" />
15
+ /// <reference types="mongoose/types/indexes" />
16
+ /// <reference types="mongoose/types/models" />
17
+ /// <reference types="mongoose/types/mongooseoptions" />
18
+ /// <reference types="mongoose/types/pipelinestage" />
19
+ /// <reference types="mongoose/types/populate" />
20
+ /// <reference types="mongoose/types/query" />
21
+ /// <reference types="mongoose/types/schemaoptions" />
22
+ /// <reference types="mongoose/types/session" />
23
+ /// <reference types="mongoose/types/types" />
24
+ /// <reference types="mongoose/types/utility" />
25
+ /// <reference types="mongoose/types/validation" />
26
+ /// <reference types="mongoose/types/virtuals" />
27
+ /// <reference types="mongoose/types/schematypes" />
28
+ /// <reference types="mongoose/types/inferschematype" />
29
+ /// <reference types="mongoose/types/inferrawdoctype" />
30
+ import mongoose from "mongoose";
31
+ declare const ApplicationAuditModel: mongoose.Model<{
32
+ createdAt: NativeDate;
33
+ updatedAt: NativeDate;
34
+ } & {
35
+ name: string;
36
+ auditId: string;
37
+ accountId: string;
38
+ auditCorrelationId: string;
39
+ auditDate: NativeDate;
40
+ changeType: string;
41
+ applicationId: mongoose.Types.ObjectId;
42
+ oldValue: string;
43
+ newValue: string;
44
+ }, {}, {}, {}, mongoose.Document<unknown, {}, {
45
+ createdAt: NativeDate;
46
+ updatedAt: NativeDate;
47
+ } & {
48
+ name: string;
49
+ auditId: string;
50
+ accountId: string;
51
+ auditCorrelationId: string;
52
+ auditDate: NativeDate;
53
+ changeType: string;
54
+ applicationId: mongoose.Types.ObjectId;
55
+ oldValue: string;
56
+ newValue: string;
57
+ }, {}> & {
58
+ createdAt: NativeDate;
59
+ updatedAt: NativeDate;
60
+ } & {
61
+ name: string;
62
+ auditId: string;
63
+ accountId: string;
64
+ auditCorrelationId: string;
65
+ auditDate: NativeDate;
66
+ changeType: string;
67
+ applicationId: mongoose.Types.ObjectId;
68
+ oldValue: string;
69
+ newValue: string;
70
+ } & {
71
+ _id: mongoose.Types.ObjectId;
72
+ } & {
73
+ __v: number;
74
+ }, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
75
+ timestamps: true;
76
+ }, {
77
+ createdAt: NativeDate;
78
+ updatedAt: NativeDate;
79
+ } & {
80
+ name: string;
81
+ auditId: string;
82
+ accountId: string;
83
+ auditCorrelationId: string;
84
+ auditDate: NativeDate;
85
+ changeType: string;
86
+ applicationId: mongoose.Types.ObjectId;
87
+ oldValue: string;
88
+ newValue: string;
89
+ }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
90
+ createdAt: NativeDate;
91
+ updatedAt: NativeDate;
92
+ } & {
93
+ name: string;
94
+ auditId: string;
95
+ accountId: string;
96
+ auditCorrelationId: string;
97
+ auditDate: NativeDate;
98
+ changeType: string;
99
+ applicationId: mongoose.Types.ObjectId;
100
+ oldValue: string;
101
+ newValue: string;
102
+ }>, {}> & mongoose.FlatRecord<{
103
+ createdAt: NativeDate;
104
+ updatedAt: NativeDate;
105
+ } & {
106
+ name: string;
107
+ auditId: string;
108
+ accountId: string;
109
+ auditCorrelationId: string;
110
+ auditDate: NativeDate;
111
+ changeType: string;
112
+ applicationId: mongoose.Types.ObjectId;
113
+ oldValue: string;
114
+ newValue: string;
115
+ }> & {
116
+ _id: mongoose.Types.ObjectId;
117
+ } & {
118
+ __v: number;
119
+ }>>;
120
+ export default ApplicationAuditModel;
121
+ //# sourceMappingURL=application-audit.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"application-audit.model.d.ts","sourceRoot":"","sources":["../../applications/application-audit.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAmDhC,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA6D,CAAC;AACzF,eAAe,qBAAqB,CAAC"}