@dynamatix/gb-schemas 2.17.12 → 2.17.13

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