@dynamatix/gb-schemas 2.0.67 → 2.3.4

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 (754) hide show
  1. package/README.md +309 -0
  2. package/dist/applicants/applicant-additional-income.model.d.ts +192 -8
  3. package/dist/applicants/applicant-additional-income.model.d.ts.map +1 -1
  4. package/dist/applicants/applicant-additional-income.model.js +24 -3
  5. package/dist/applicants/applicant-additional-income.type.d.ts +40 -0
  6. package/dist/applicants/applicant-additional-income.type.d.ts.map +1 -0
  7. package/dist/applicants/applicant-commitment-creditCard.model.d.ts +90 -47
  8. package/dist/applicants/applicant-commitment-creditCard.model.d.ts.map +1 -1
  9. package/dist/applicants/applicant-commitment-creditCard.model.js +12 -6
  10. package/dist/applicants/applicant-commitment-loan.model.d.ts +81 -41
  11. package/dist/applicants/applicant-commitment-loan.model.d.ts.map +1 -1
  12. package/dist/applicants/applicant-commitment-loan.model.js +13 -8
  13. package/dist/applicants/applicant-commitment-mortgage.model.d.ts +78 -38
  14. package/dist/applicants/applicant-commitment-mortgage.model.d.ts.map +1 -1
  15. package/dist/applicants/applicant-commitment-mortgage.model.js +19 -19
  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 +81 -47
  20. package/dist/applicants/applicant-commitment-secureLoan.model.d.ts.map +1 -1
  21. package/dist/applicants/applicant-commitment-secureLoan.model.js +14 -8
  22. package/dist/applicants/applicant-commitment-unsecuredLoan.model.d.ts +81 -47
  23. package/dist/applicants/applicant-commitment-unsecuredLoan.model.d.ts.map +1 -1
  24. package/dist/applicants/applicant-commitment-unsecuredLoan.model.js +14 -8
  25. package/dist/applicants/applicant-credit-data.model.d.ts +32 -4
  26. package/dist/applicants/applicant-credit-data.model.d.ts.map +1 -1
  27. package/dist/applicants/applicant-credit-profile.model.d.ts +29 -1
  28. package/dist/applicants/applicant-credit-profile.model.d.ts.map +1 -1
  29. package/dist/applicants/applicant-credit-report.model.d.ts +3784 -0
  30. package/dist/applicants/applicant-credit-report.model.d.ts.map +1 -0
  31. package/dist/applicants/applicant-credit-report.model.js +122 -0
  32. package/dist/applicants/applicant-credit-report.type.d.ts +145 -0
  33. package/dist/applicants/applicant-credit-report.type.d.ts.map +1 -0
  34. package/dist/applicants/applicant-credit-report.type.js +1 -0
  35. package/dist/applicants/applicant-direct-debit.model.d.ts +29 -4
  36. package/dist/applicants/applicant-direct-debit.model.d.ts.map +1 -1
  37. package/dist/applicants/applicant-direct-debit.model.js +0 -1
  38. package/dist/applicants/applicant-employment-income.model.d.ts +39 -8
  39. package/dist/applicants/applicant-employment-income.model.d.ts.map +1 -1
  40. package/dist/applicants/applicant-employment-income.model.js +13 -2
  41. package/dist/applicants/applicant-employment-income.type.d.ts +37 -0
  42. package/dist/applicants/applicant-employment-income.type.d.ts.map +1 -0
  43. package/dist/applicants/applicant-employment-income.type.js +1 -0
  44. package/dist/applicants/applicant-employment.model.d.ts +167 -703
  45. package/dist/applicants/applicant-employment.model.d.ts.map +1 -1
  46. package/dist/applicants/applicant-employment.model.js +25 -27
  47. package/dist/applicants/applicant-expenditure.model.d.ts +42 -8
  48. package/dist/applicants/applicant-expenditure.model.d.ts.map +1 -1
  49. package/dist/applicants/applicant-expenditure.model.js +86 -2
  50. package/dist/applicants/applicant-expenditure.type.d.ts +42 -0
  51. package/dist/applicants/applicant-expenditure.type.d.ts.map +1 -0
  52. package/dist/applicants/applicant-expenditure.type.js +1 -0
  53. package/dist/applicants/applicant-income-settings.model.d.ts +30 -2
  54. package/dist/applicants/applicant-income-settings.model.d.ts.map +1 -1
  55. package/dist/applicants/applicant-income-settings.model.js +11 -0
  56. package/dist/applicants/applicant-income-settings.type.d.ts +40 -0
  57. package/dist/applicants/applicant-income-settings.type.d.ts.map +1 -0
  58. package/dist/applicants/applicant-income-settings.type.js +1 -0
  59. package/dist/applicants/applicant-income-source.model.d.ts +26 -0
  60. package/dist/applicants/applicant-income-source.model.d.ts.map +1 -0
  61. package/dist/applicants/applicant-income-summary.model.d.ts +2202 -0
  62. package/dist/applicants/applicant-income-summary.model.d.ts.map +1 -0
  63. package/dist/applicants/applicant-income-summary.model.js +45 -0
  64. package/dist/applicants/applicant-income-summary.type.d.ts +60 -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-income.model.d.ts +30 -2068
  68. package/dist/applicants/applicant-income.model.d.ts.map +1 -1
  69. package/dist/applicants/applicant-other-income.model.d.ts +85 -0
  70. package/dist/applicants/applicant-other-income.model.d.ts.map +1 -0
  71. package/dist/applicants/applicant-pension-income.model.d.ts +51 -302
  72. package/dist/applicants/applicant-pension-income.model.d.ts.map +1 -1
  73. package/dist/applicants/applicant-pension-income.model.js +14 -6
  74. package/dist/applicants/applicant-pension-income.type.d.ts +40 -0
  75. package/dist/applicants/applicant-pension-income.type.d.ts.map +1 -0
  76. package/dist/applicants/applicant-pension-income.type.js +1 -0
  77. package/dist/applicants/applicant-property-income.model.d.ts +102 -56
  78. package/dist/applicants/applicant-property-income.model.d.ts.map +1 -1
  79. package/dist/applicants/applicant-property-income.model.js +18 -7
  80. package/dist/applicants/applicant-risk-narrative.model.d.ts +32 -4
  81. package/dist/applicants/applicant-risk-narrative.model.d.ts.map +1 -1
  82. package/dist/applicants/applicant-self-employed-income.model.d.ts +39 -8
  83. package/dist/applicants/applicant-self-employed-income.model.d.ts.map +1 -1
  84. package/dist/applicants/applicant-self-employed-income.model.js +13 -2
  85. package/dist/applicants/applicant-self-employed-income.type.d.ts +37 -0
  86. package/dist/applicants/applicant-self-employed-income.type.d.ts.map +1 -0
  87. package/dist/applicants/applicant-self-employed-income.type.js +1 -0
  88. package/dist/applicants/applicant-self-employment.model.d.ts +269 -0
  89. package/dist/applicants/applicant-self-employment.model.d.ts.map +1 -0
  90. package/dist/applicants/applicant-self-employment.model.js +55 -0
  91. package/dist/applicants/applicant-sole-trader-income.model.d.ts +39 -8
  92. package/dist/applicants/applicant-sole-trader-income.model.d.ts.map +1 -1
  93. package/dist/applicants/applicant-sole-trader-income.model.js +11 -2
  94. package/dist/applicants/applicant-sole-trader-income.type.d.ts +37 -0
  95. package/dist/applicants/applicant-sole-trader-income.type.d.ts.map +1 -0
  96. package/dist/applicants/applicant-sole-trader-income.type.js +1 -0
  97. package/dist/applicants/applicant-uk-tax-credits.model.d.ts +66 -317
  98. package/dist/applicants/applicant-uk-tax-credits.model.d.ts.map +1 -1
  99. package/dist/applicants/applicant-uk-tax-credits.model.js +15 -7
  100. package/dist/applicants/applicant-uk-tax-credits.type.d.ts +39 -0
  101. package/dist/applicants/applicant-uk-tax-credits.type.d.ts.map +1 -0
  102. package/dist/applicants/applicant-uk-tax-credits.type.js +1 -0
  103. package/dist/applicants/applicant-welcome-call.model.d.ts +384 -0
  104. package/dist/applicants/applicant-welcome-call.model.d.ts.map +1 -0
  105. package/dist/applicants/applicant-welcome-call.model.js +709 -0
  106. package/dist/applicants/applicant-welcome-call.type.d.ts +66 -0
  107. package/dist/applicants/applicant-welcome-call.type.d.ts.map +1 -0
  108. package/dist/applicants/applicant-welcome-call.type.js +1 -0
  109. package/dist/applicants/applicant.model.d.ts +1522 -89
  110. package/dist/applicants/applicant.model.d.ts.map +1 -1
  111. package/dist/applicants/applicant.model.js +40 -9
  112. package/dist/applicants/applicant.type.d.ts +158 -0
  113. package/dist/applicants/applicant.type.d.ts.map +1 -0
  114. package/dist/applicants/applicant.type.js +1 -0
  115. package/dist/applicants/index.d.ts +24 -8
  116. package/dist/applicants/index.d.ts.map +1 -1
  117. package/dist/applicants/index.js +12 -8
  118. package/dist/applications/application-audit.model.d.ts +36 -8
  119. package/dist/applications/application-audit.model.d.ts.map +1 -1
  120. package/dist/applications/application-audit.model.js +3 -0
  121. package/dist/applications/application-checklist-Item.model.d.ts +36 -2
  122. package/dist/applications/application-checklist-Item.model.d.ts.map +1 -1
  123. package/dist/applications/application-checklist-Item.model.js +4 -0
  124. package/dist/applications/application-company-model.d.ts +123 -59
  125. package/dist/applications/application-company-model.d.ts.map +1 -1
  126. package/dist/applications/application-company-model.js +24 -10
  127. package/dist/applications/application-credit-profile.model.d.ts +29 -1
  128. package/dist/applications/application-credit-profile.model.d.ts.map +1 -1
  129. package/dist/applications/application-direct-debit.model.d.ts +178 -32
  130. package/dist/applications/application-direct-debit.model.d.ts.map +1 -1
  131. package/dist/applications/application-direct-debit.model.js +64 -1
  132. package/dist/applications/application-direct-debit.type.d.ts +63 -0
  133. package/dist/applications/application-direct-debit.type.d.ts.map +1 -0
  134. package/dist/applications/application-direct-debit.type.js +1 -0
  135. package/dist/applications/application-euc.model.d.ts +154 -0
  136. package/dist/applications/application-euc.model.d.ts.map +1 -0
  137. package/dist/applications/application-euc.model.js +28 -0
  138. package/dist/applications/application-fieldconfig.model.d.ts +30 -2
  139. package/dist/applications/application-fieldconfig.model.d.ts.map +1 -1
  140. package/dist/applications/application-fieldconfig.model.js +3 -0
  141. package/dist/applications/application-illustration-model.d.ts +30 -2
  142. package/dist/applications/application-illustration-model.d.ts.map +1 -1
  143. package/dist/applications/application-legal.model.d.ts +30 -2
  144. package/dist/applications/application-legal.model.d.ts.map +1 -1
  145. package/dist/applications/application-legal.model.js +3 -0
  146. package/dist/applications/application-mortgage.model.d.ts +201 -1097
  147. package/dist/applications/application-mortgage.model.d.ts.map +1 -1
  148. package/dist/applications/application-mortgage.model.js +24 -21
  149. package/dist/applications/application-mortgage.type.d.ts +76 -0
  150. package/dist/applications/application-mortgage.type.d.ts.map +1 -0
  151. package/dist/applications/application-mortgage.type.js +1 -0
  152. package/dist/applications/application-note.model.d.ts +66 -26
  153. package/dist/applications/application-note.model.d.ts.map +1 -1
  154. package/dist/applications/application-note.model.js +30 -3
  155. package/dist/applications/application-note.type.d.ts +55 -0
  156. package/dist/applications/application-note.type.d.ts.map +1 -0
  157. package/dist/applications/application-note.type.js +1 -0
  158. package/dist/applications/application-offer.model.d.ts +158 -10
  159. package/dist/applications/application-offer.model.d.ts.map +1 -1
  160. package/dist/applications/application-offer.model.js +49 -3
  161. package/dist/applications/application-offer.type.d.ts +54 -0
  162. package/dist/applications/application-offer.type.d.ts.map +1 -0
  163. package/dist/applications/application-offer.type.js +1 -0
  164. package/dist/applications/application-onboarding.model.d.ts +30 -2
  165. package/dist/applications/application-onboarding.model.d.ts.map +1 -1
  166. package/dist/applications/application-onboarding.model.js +3 -0
  167. package/dist/applications/application-product.model.d.ts +185 -15
  168. package/dist/applications/application-product.model.d.ts.map +1 -1
  169. package/dist/applications/application-product.model.js +34 -11
  170. package/dist/applications/application-product.type.d.ts +58 -0
  171. package/dist/applications/application-product.type.d.ts.map +1 -0
  172. package/dist/applications/application-product.type.js +1 -0
  173. package/dist/applications/application-productfeatures.model.d.ts +42 -8
  174. package/dist/applications/application-productfeatures.model.d.ts.map +1 -1
  175. package/dist/applications/application-productfeatures.model.js +5 -1
  176. package/dist/applications/application-productfeatures.type.d.ts +125 -0
  177. package/dist/applications/application-productfeatures.type.d.ts.map +1 -0
  178. package/dist/applications/application-productfeatures.type.js +1 -0
  179. package/dist/applications/application-rationale.model.d.ts +105 -195
  180. package/dist/applications/application-rationale.model.d.ts.map +1 -1
  181. package/dist/applications/application-rationale.model.js +17 -32
  182. package/dist/applications/application-rationale.type.d.ts +44 -0
  183. package/dist/applications/application-rationale.type.d.ts.map +1 -0
  184. package/dist/applications/application-rationale.type.js +1 -0
  185. package/dist/applications/application-risk-narrative.model.d.ts +72 -32
  186. package/dist/applications/application-risk-narrative.model.d.ts.map +1 -1
  187. package/dist/applications/application-risk-narrative.model.js +10 -5
  188. package/dist/applications/application-valuation-report.model.d.ts +1438 -0
  189. package/dist/applications/application-valuation-report.model.d.ts.map +1 -0
  190. package/dist/applications/application-valuation-report.model.js +799 -0
  191. package/dist/applications/application-valuation-report.type.d.ts +256 -0
  192. package/dist/applications/application-valuation-report.type.d.ts.map +1 -0
  193. package/dist/applications/application-valuation-report.type.js +1 -0
  194. package/dist/applications/application-valuation.model.d.ts +730 -19
  195. package/dist/applications/application-valuation.model.d.ts.map +1 -1
  196. package/dist/applications/application-valuation.model.js +34 -7
  197. package/dist/applications/application-valuation.type.d.ts +54 -0
  198. package/dist/applications/application-valuation.type.d.ts.map +1 -0
  199. package/dist/applications/application-valuation.type.js +1 -0
  200. package/dist/applications/application.model.d.ts +318 -116
  201. package/dist/applications/application.model.d.ts.map +1 -1
  202. package/dist/applications/application.model.js +120 -27
  203. package/dist/applications/applications-task.model.d.ts +300 -0
  204. package/dist/applications/applications-task.model.d.ts.map +1 -0
  205. package/dist/applications/applications-task.model.js +50 -0
  206. package/dist/applications/applications-task.type.d.ts +57 -0
  207. package/dist/applications/applications-task.type.d.ts.map +1 -0
  208. package/dist/applications/applications-task.type.js +1 -0
  209. package/dist/applications/broker.model.d.ts +54 -26
  210. package/dist/applications/broker.model.d.ts.map +1 -1
  211. package/dist/applications/broker.model.js +5 -2
  212. package/dist/applications/broker.type.d.ts +51 -0
  213. package/dist/applications/broker.type.d.ts.map +1 -0
  214. package/dist/applications/broker.type.js +1 -0
  215. package/dist/applications/index.d.ts +16 -2
  216. package/dist/applications/index.d.ts.map +1 -1
  217. package/dist/applications/index.js +5 -2
  218. package/dist/applications/productfeatures.model.d.ts +368 -0
  219. package/dist/applications/productfeatures.model.d.ts.map +1 -0
  220. package/dist/applications/solicitor.model.d.ts +43 -14
  221. package/dist/applications/solicitor.model.d.ts.map +1 -1
  222. package/dist/applications/solicitor.model.js +8 -1
  223. package/dist/applications/solicitor.type.d.ts +56 -0
  224. package/dist/applications/solicitor.type.d.ts.map +1 -0
  225. package/dist/applications/solicitor.type.js +1 -0
  226. package/dist/index.d.ts +1 -1
  227. package/dist/index.d.ts.map +1 -1
  228. package/dist/index.js +2 -2
  229. package/dist/product-catalogues/index.d.ts +3 -0
  230. package/dist/product-catalogues/index.d.ts.map +1 -1
  231. package/dist/product-catalogues/product-catalogue.model.d.ts +30 -2
  232. package/dist/product-catalogues/product-catalogue.model.d.ts.map +1 -1
  233. package/dist/product-catalogues/product-catalogue.model.js +4 -0
  234. package/dist/product-catalogues/product-catalogue.type.d.ts +15 -0
  235. package/dist/product-catalogues/product-catalogue.type.d.ts.map +1 -0
  236. package/dist/product-catalogues/product-catalogue.type.js +1 -0
  237. package/dist/product-catalogues/product-definitions.model.d.ts +30 -2
  238. package/dist/product-catalogues/product-definitions.model.d.ts.map +1 -1
  239. package/dist/product-catalogues/product-definitions.model.js +3 -0
  240. package/dist/product-catalogues/product-definitions.type.d.ts +53 -0
  241. package/dist/product-catalogues/product-definitions.type.d.ts.map +1 -0
  242. package/dist/product-catalogues/product-definitions.type.js +1 -0
  243. package/dist/product-catalogues/product-variant.model.d.ts +30 -2
  244. package/dist/product-catalogues/product-variant.model.d.ts.map +1 -1
  245. package/dist/product-catalogues/product-variant.model.js +4 -0
  246. package/dist/product-catalogues/product-variant.type.d.ts +38 -0
  247. package/dist/product-catalogues/product-variant.type.d.ts.map +1 -0
  248. package/dist/product-catalogues/product-variant.type.js +1 -0
  249. package/dist/properties/property.model.d.ts +102 -59
  250. package/dist/properties/property.model.d.ts.map +1 -1
  251. package/dist/properties/property.model.js +16 -8
  252. package/dist/properties/security.model.d.ts +48 -2
  253. package/dist/properties/security.model.d.ts.map +1 -1
  254. package/dist/properties/security.model.js +15 -3
  255. package/dist/shared/alert.model.d.ts +42 -14
  256. package/dist/shared/alert.model.d.ts.map +1 -1
  257. package/dist/shared/api-log.model.d.ts +124 -0
  258. package/dist/shared/api-log.model.d.ts.map +1 -0
  259. package/dist/shared/api-log.model.js +25 -0
  260. package/dist/shared/api-performance.model.d.ts +37 -0
  261. package/dist/shared/api-performance.model.d.ts.map +1 -0
  262. package/dist/shared/api-performance.model.js +22 -0
  263. package/dist/shared/api-performance.type.d.ts +178 -0
  264. package/dist/shared/api-performance.type.d.ts.map +1 -0
  265. package/dist/shared/api-performance.type.js +1 -0
  266. package/dist/shared/apprivo-sync-journey.model.d.ts +36 -8
  267. package/dist/shared/apprivo-sync-journey.model.d.ts.map +1 -1
  268. package/dist/shared/apprivo-sync-journey.model.js +2 -0
  269. package/dist/shared/checklist.model.d.ts +36 -8
  270. package/dist/shared/checklist.model.d.ts.map +1 -1
  271. package/dist/shared/checklist.model.js +5 -0
  272. package/dist/shared/index.d.ts +7 -1
  273. package/dist/shared/index.d.ts.map +1 -1
  274. package/dist/shared/index.js +5 -1
  275. package/dist/shared/job-run.model.d.ts +30 -2
  276. package/dist/shared/job-run.model.d.ts.map +1 -1
  277. package/dist/shared/job-setting.model.d.ts +36 -8
  278. package/dist/shared/job-setting.model.d.ts.map +1 -1
  279. package/dist/shared/lookup-group.model.d.ts +30 -2
  280. package/dist/shared/lookup-group.model.d.ts.map +1 -1
  281. package/dist/shared/lookup-group.model.js +6 -0
  282. package/dist/shared/lookup.model.d.ts +30 -2
  283. package/dist/shared/lookup.model.d.ts.map +1 -1
  284. package/dist/shared/lookup.model.js +7 -0
  285. package/dist/shared/schema-doc.model.d.ts +36 -8
  286. package/dist/shared/schema-doc.model.d.ts.map +1 -1
  287. package/dist/shared/system-parameter.model.d.ts +36 -8
  288. package/dist/shared/system-parameter.model.d.ts.map +1 -1
  289. package/dist/shared/task-document.model.d.ts +36 -8
  290. package/dist/shared/task-document.model.d.ts.map +1 -1
  291. package/dist/shared/task.model.d.ts +36 -8
  292. package/dist/shared/task.model.d.ts.map +1 -1
  293. package/dist/shared/webhook-event.model.d.ts +37 -0
  294. package/dist/shared/webhook-event.model.d.ts.map +1 -0
  295. package/dist/shared/webhook-event.model.js +57 -0
  296. package/dist/shared/webhook-event.type.d.ts +15 -0
  297. package/dist/shared/webhook-event.type.d.ts.map +1 -0
  298. package/dist/shared/webhook-event.type.js +1 -0
  299. package/dist/shared/workflow-trigger.model.d.ts +32 -0
  300. package/dist/shared/workflow-trigger.model.d.ts.map +1 -0
  301. package/dist/shared/workflow-trigger.model.js +49 -0
  302. package/dist/shared/workflow-trigger.type.d.ts +60 -0
  303. package/dist/shared/workflow-trigger.type.d.ts.map +1 -0
  304. package/dist/shared/workflow-trigger.type.js +1 -0
  305. package/dist/shared/workflow.init.d.ts +21 -0
  306. package/dist/shared/workflow.init.d.ts.map +1 -0
  307. package/dist/shared/workflow.init.js +42 -0
  308. package/dist/shared/workflow.logger.d.ts +18 -0
  309. package/dist/shared/workflow.logger.d.ts.map +1 -0
  310. package/dist/shared/workflow.logger.js +41 -0
  311. package/dist/shared/workflow.middleware.d.ts +108 -0
  312. package/dist/shared/workflow.middleware.d.ts.map +1 -0
  313. package/dist/shared/workflow.middleware.js +246 -0
  314. package/dist/shared/workflow.plugin.d.ts +46 -0
  315. package/dist/shared/workflow.plugin.d.ts.map +1 -0
  316. package/dist/shared/workflow.plugin.js +151 -0
  317. package/dist/shared/workflow.service.d.ts +42 -0
  318. package/dist/shared/workflow.service.d.ts.map +1 -0
  319. package/dist/shared/workflow.service.js +134 -0
  320. package/dist/types/base.types.d.ts +35 -0
  321. package/dist/types/base.types.d.ts.map +1 -0
  322. package/dist/types/base.types.js +1 -0
  323. package/dist/types/index.d.ts +2 -0
  324. package/dist/types/index.d.ts.map +1 -0
  325. package/dist/types/index.js +1 -0
  326. package/dist/underwriter/underwriter.model.d.ts +30 -2
  327. package/dist/underwriter/underwriter.model.d.ts.map +1 -1
  328. package/dist/users/auth-log.model.d.ts +30 -2
  329. package/dist/users/auth-log.model.d.ts.map +1 -1
  330. package/dist/users/auth-log.model.js +3 -0
  331. package/dist/users/permission.model.d.ts +30 -2
  332. package/dist/users/permission.model.d.ts.map +1 -1
  333. package/dist/users/permission.model.js +2 -0
  334. package/dist/users/role-group.model.d.ts +30 -2
  335. package/dist/users/role-group.model.d.ts.map +1 -1
  336. package/dist/users/role-group.model.js +3 -0
  337. package/dist/users/role.model.d.ts +30 -2
  338. package/dist/users/role.model.d.ts.map +1 -1
  339. package/dist/users/role.model.js +3 -0
  340. package/dist/users/tasks.model.d.ts +30 -2
  341. package/dist/users/tasks.model.d.ts.map +1 -1
  342. package/dist/users/tasks.model.js +4 -1
  343. package/dist/users/user.model.d.ts +48 -14
  344. package/dist/users/user.model.d.ts.map +1 -1
  345. package/dist/users/user.model.js +13 -2
  346. package/dist/users/user.type.d.ts +55 -0
  347. package/dist/users/user.type.d.ts.map +1 -0
  348. package/dist/users/user.type.js +1 -0
  349. package/dist/value-objects/account-number.d.ts +42 -0
  350. package/dist/value-objects/account-number.d.ts.map +1 -0
  351. package/dist/value-objects/account-number.js +24 -0
  352. package/dist/value-objects/pound.d.ts +28 -0
  353. package/dist/value-objects/pound.d.ts.map +1 -1
  354. package/dist/value-objects/pound.js +33 -9
  355. package/dist/value-objects/sort-code.d.ts +27 -0
  356. package/dist/value-objects/sort-code.d.ts.map +1 -1
  357. package/dist/value-objects/sort-code.js +13 -4
  358. package/package.json +33 -29
  359. package/dist/applicants/applicant-income.model.js +0 -78
  360. package/dist/applications/application-document.model.js +0 -35
  361. package/dist/applications/document.model.js +0 -35
  362. package/dist/entities/applicants/applicant-credit-data.entity.d.ts +0 -19
  363. package/dist/entities/applicants/applicant-credit-data.entity.d.ts.map +0 -1
  364. package/dist/entities/applicants/applicant-credit-data.entity.js +0 -5
  365. package/dist/entities/applicants/applicant-credit-profile.entity.d.ts +0 -14
  366. package/dist/entities/applicants/applicant-credit-profile.entity.d.ts.map +0 -1
  367. package/dist/entities/applicants/applicant-credit-profile.entity.js +0 -5
  368. package/dist/entities/applicants/applicant-employment-income.entity.d.ts +0 -14
  369. package/dist/entities/applicants/applicant-employment-income.entity.d.ts.map +0 -1
  370. package/dist/entities/applicants/applicant-employment-income.entity.js +0 -5
  371. package/dist/entities/applicants/applicant-employment.entity.d.ts +0 -54
  372. package/dist/entities/applicants/applicant-employment.entity.d.ts.map +0 -1
  373. package/dist/entities/applicants/applicant-employment.entity.js +0 -5
  374. package/dist/entities/applicants/applicant-expenditure.entity.d.ts +0 -14
  375. package/dist/entities/applicants/applicant-expenditure.entity.d.ts.map +0 -1
  376. package/dist/entities/applicants/applicant-expenditure.entity.js +0 -5
  377. package/dist/entities/applicants/applicant-income-settings.entity.d.ts +0 -17
  378. package/dist/entities/applicants/applicant-income-settings.entity.d.ts.map +0 -1
  379. package/dist/entities/applicants/applicant-income-settings.entity.js +0 -5
  380. package/dist/entities/applicants/applicant-income.entity.d.ts +0 -77
  381. package/dist/entities/applicants/applicant-income.entity.d.ts.map +0 -1
  382. package/dist/entities/applicants/applicant-income.entity.js +0 -2
  383. package/dist/entities/applicants/applicant-share-holding.entity.d.ts +0 -18
  384. package/dist/entities/applicants/applicant-share-holding.entity.d.ts.map +0 -1
  385. package/dist/entities/applicants/applicant-share-holding.entity.js +0 -5
  386. package/dist/entities/applicants/applicant.entity.d.ts +0 -144
  387. package/dist/entities/applicants/applicant.entity.d.ts.map +0 -1
  388. package/dist/entities/applicants/applicant.entity.js +0 -48
  389. package/dist/entities/applicants/credit-card-commitment.entity.d.ts +0 -22
  390. package/dist/entities/applicants/credit-card-commitment.entity.d.ts.map +0 -1
  391. package/dist/entities/applicants/credit-card-commitment.entity.js +0 -9
  392. package/dist/entities/applicants/index.d.ts +0 -20
  393. package/dist/entities/applicants/index.d.ts.map +0 -1
  394. package/dist/entities/applicants/index.js +0 -18
  395. package/dist/entities/applicants/loan-commitment.entity.d.ts +0 -29
  396. package/dist/entities/applicants/loan-commitment.entity.d.ts.map +0 -1
  397. package/dist/entities/applicants/loan-commitment.entity.js +0 -15
  398. package/dist/entities/applicants/mortgage-commitment.entity.d.ts +0 -50
  399. package/dist/entities/applicants/mortgage-commitment.entity.d.ts.map +0 -1
  400. package/dist/entities/applicants/mortgage-commitment.entity.js +0 -27
  401. package/dist/entities/applicants/other-income.entity.d.ts +0 -41
  402. package/dist/entities/applicants/other-income.entity.d.ts.map +0 -1
  403. package/dist/entities/applicants/other-income.entity.js +0 -19
  404. package/dist/entities/applicants/property-income.entity.d.ts +0 -17
  405. package/dist/entities/applicants/property-income.entity.d.ts.map +0 -1
  406. package/dist/entities/applicants/property-income.entity.js +0 -5
  407. package/dist/entities/applicants/residence-commitment.entity.d.ts +0 -44
  408. package/dist/entities/applicants/residence-commitment.entity.d.ts.map +0 -1
  409. package/dist/entities/applicants/residence-commitment.entity.js +0 -19
  410. package/dist/entities/applicants/secure-loan-commitment.entity.d.ts +0 -29
  411. package/dist/entities/applicants/secure-loan-commitment.entity.d.ts.map +0 -1
  412. package/dist/entities/applicants/secure-loan-commitment.entity.js +0 -12
  413. package/dist/entities/applicants/unsecured-loan-commitment.entity.d.ts +0 -29
  414. package/dist/entities/applicants/unsecured-loan-commitment.entity.d.ts.map +0 -1
  415. package/dist/entities/applicants/unsecured-loan-commitment.entity.js +0 -12
  416. package/dist/entities/applications/application-audit.entity.d.ts +0 -18
  417. package/dist/entities/applications/application-audit.entity.d.ts.map +0 -1
  418. package/dist/entities/applications/application-audit.entity.js +0 -5
  419. package/dist/entities/applications/application-company.entity.d.ts +0 -60
  420. package/dist/entities/applications/application-company.entity.d.ts.map +0 -1
  421. package/dist/entities/applications/application-company.entity.js +0 -15
  422. package/dist/entities/applications/application-credit-profile.entity.d.ts +0 -11
  423. package/dist/entities/applications/application-credit-profile.entity.d.ts.map +0 -1
  424. package/dist/entities/applications/application-credit-profile.entity.js +0 -5
  425. package/dist/entities/applications/application-direct-debit.entity.d.ts +0 -24
  426. package/dist/entities/applications/application-direct-debit.entity.d.ts.map +0 -1
  427. package/dist/entities/applications/application-direct-debit.entity.js +0 -5
  428. package/dist/entities/applications/application-document.entity.d.ts +0 -28
  429. package/dist/entities/applications/application-document.entity.d.ts.map +0 -1
  430. package/dist/entities/applications/application-document.entity.js +0 -5
  431. package/dist/entities/applications/application-fieldconfig.entity.d.ts +0 -9
  432. package/dist/entities/applications/application-fieldconfig.entity.d.ts.map +0 -1
  433. package/dist/entities/applications/application-fieldconfig.entity.js +0 -5
  434. package/dist/entities/applications/application-illustration.entity.d.ts +0 -8
  435. package/dist/entities/applications/application-illustration.entity.d.ts.map +0 -1
  436. package/dist/entities/applications/application-illustration.entity.js +0 -5
  437. package/dist/entities/applications/application-legal.entity.d.ts +0 -9
  438. package/dist/entities/applications/application-legal.entity.d.ts.map +0 -1
  439. package/dist/entities/applications/application-legal.entity.js +0 -5
  440. package/dist/entities/applications/application-mortgage.entity.d.ts +0 -55
  441. package/dist/entities/applications/application-mortgage.entity.d.ts.map +0 -1
  442. package/dist/entities/applications/application-mortgage.entity.js +0 -27
  443. package/dist/entities/applications/application-note.entity.d.ts +0 -37
  444. package/dist/entities/applications/application-note.entity.d.ts.map +0 -1
  445. package/dist/entities/applications/application-note.entity.js +0 -5
  446. package/dist/entities/applications/application-offer.entity.d.ts +0 -8
  447. package/dist/entities/applications/application-offer.entity.d.ts.map +0 -1
  448. package/dist/entities/applications/application-offer.entity.js +0 -5
  449. package/dist/entities/applications/application-onboarding.entity.d.ts +0 -11
  450. package/dist/entities/applications/application-onboarding.entity.d.ts.map +0 -1
  451. package/dist/entities/applications/application-onboarding.entity.js +0 -5
  452. package/dist/entities/applications/application-product.entity.d.ts +0 -33
  453. package/dist/entities/applications/application-product.entity.d.ts.map +0 -1
  454. package/dist/entities/applications/application-product.entity.js +0 -5
  455. package/dist/entities/applications/application-rationale.entity.d.ts +0 -51
  456. package/dist/entities/applications/application-rationale.entity.d.ts.map +0 -1
  457. package/dist/entities/applications/application-rationale.entity.js +0 -5
  458. package/dist/entities/applications/application.entity.d.ts +0 -102
  459. package/dist/entities/applications/application.entity.d.ts.map +0 -1
  460. package/dist/entities/applications/application.entity.js +0 -66
  461. package/dist/entities/applications/broker.entity.d.ts +0 -23
  462. package/dist/entities/applications/broker.entity.d.ts.map +0 -1
  463. package/dist/entities/applications/broker.entity.js +0 -5
  464. package/dist/entities/applications/checklist-item.entity.d.ts +0 -47
  465. package/dist/entities/applications/checklist-item.entity.d.ts.map +0 -1
  466. package/dist/entities/applications/checklist-item.entity.js +0 -5
  467. package/dist/entities/applications/index.d.ts +0 -22
  468. package/dist/entities/applications/index.d.ts.map +0 -1
  469. package/dist/entities/applications/index.js +0 -20
  470. package/dist/entities/applications/product-features.entity.d.ts +0 -104
  471. package/dist/entities/applications/product-features.entity.d.ts.map +0 -1
  472. package/dist/entities/applications/product-features.entity.js +0 -20
  473. package/dist/entities/applications/solicitor.entity.d.ts +0 -33
  474. package/dist/entities/applications/solicitor.entity.d.ts.map +0 -1
  475. package/dist/entities/applications/solicitor.entity.js +0 -5
  476. package/dist/entities/index.d.ts +0 -10
  477. package/dist/entities/index.d.ts.map +0 -1
  478. package/dist/entities/index.js +0 -10
  479. package/dist/entities/prisma.d.ts +0 -3
  480. package/dist/entities/prisma.d.ts.map +0 -1
  481. package/dist/entities/prisma.js +0 -10
  482. package/dist/entities/product-catalogues/index.d.ts +0 -8
  483. package/dist/entities/product-catalogues/index.d.ts.map +0 -1
  484. package/dist/entities/product-catalogues/index.js +0 -6
  485. package/dist/entities/product-catalogues/product-catalogue.entity.d.ts +0 -22
  486. package/dist/entities/product-catalogues/product-catalogue.entity.d.ts.map +0 -1
  487. package/dist/entities/product-catalogues/product-catalogue.entity.js +0 -5
  488. package/dist/entities/product-catalogues/product-definition.entity.d.ts +0 -16
  489. package/dist/entities/product-catalogues/product-definition.entity.d.ts.map +0 -1
  490. package/dist/entities/product-catalogues/product-definition.entity.js +0 -5
  491. package/dist/entities/product-catalogues/product-variant.entity.d.ts +0 -14
  492. package/dist/entities/product-catalogues/product-variant.entity.d.ts.map +0 -1
  493. package/dist/entities/product-catalogues/product-variant.entity.js +0 -5
  494. package/dist/entities/product-catalogues/product.entity.d.ts +0 -11
  495. package/dist/entities/product-catalogues/product.entity.d.ts.map +0 -1
  496. package/dist/entities/product-catalogues/product.entity.js +0 -5
  497. package/dist/entities/product-catalogues/rule.entity.d.ts +0 -21
  498. package/dist/entities/product-catalogues/rule.entity.d.ts.map +0 -1
  499. package/dist/entities/product-catalogues/rule.entity.js +0 -5
  500. package/dist/entities/properties/data-street.entity.d.ts +0 -22
  501. package/dist/entities/properties/data-street.entity.d.ts.map +0 -1
  502. package/dist/entities/properties/data-street.entity.js +0 -5
  503. package/dist/entities/properties/index.d.ts +0 -6
  504. package/dist/entities/properties/index.d.ts.map +0 -1
  505. package/dist/entities/properties/index.js +0 -4
  506. package/dist/entities/properties/property.entity.d.ts +0 -30
  507. package/dist/entities/properties/property.entity.d.ts.map +0 -1
  508. package/dist/entities/properties/property.entity.js +0 -5
  509. package/dist/entities/properties/security.entity.d.ts +0 -58
  510. package/dist/entities/properties/security.entity.d.ts.map +0 -1
  511. package/dist/entities/properties/security.entity.js +0 -5
  512. package/dist/entities/shared/alert.entity.d.ts +0 -14
  513. package/dist/entities/shared/alert.entity.d.ts.map +0 -1
  514. package/dist/entities/shared/alert.entity.js +0 -5
  515. package/dist/entities/shared/apprivo-sync-journey.entity.d.ts +0 -19
  516. package/dist/entities/shared/apprivo-sync-journey.entity.d.ts.map +0 -1
  517. package/dist/entities/shared/apprivo-sync-journey.entity.js +0 -5
  518. package/dist/entities/shared/checklist.entity.d.ts +0 -15
  519. package/dist/entities/shared/checklist.entity.d.ts.map +0 -1
  520. package/dist/entities/shared/checklist.entity.js +0 -5
  521. package/dist/entities/shared/document-type.entity.d.ts +0 -9
  522. package/dist/entities/shared/document-type.entity.d.ts.map +0 -1
  523. package/dist/entities/shared/document-type.entity.js +0 -5
  524. package/dist/entities/shared/index.d.ts +0 -12
  525. package/dist/entities/shared/index.d.ts.map +0 -1
  526. package/dist/entities/shared/index.js +0 -10
  527. package/dist/entities/shared/job-run.entity.d.ts +0 -15
  528. package/dist/entities/shared/job-run.entity.d.ts.map +0 -1
  529. package/dist/entities/shared/job-run.entity.js +0 -5
  530. package/dist/entities/shared/job-run.model.d.ts +0 -11
  531. package/dist/entities/shared/job-run.model.d.ts.map +0 -1
  532. package/dist/entities/shared/job-setting.entity.d.ts +0 -11
  533. package/dist/entities/shared/job-setting.entity.d.ts.map +0 -1
  534. package/dist/entities/shared/job-setting.entity.js +0 -5
  535. package/dist/entities/shared/lookup-group.entity.d.ts +0 -11
  536. package/dist/entities/shared/lookup-group.entity.d.ts.map +0 -1
  537. package/dist/entities/shared/lookup-group.entity.js +0 -5
  538. package/dist/entities/shared/lookup.entity.d.ts +0 -14
  539. package/dist/entities/shared/lookup.entity.d.ts.map +0 -1
  540. package/dist/entities/shared/lookup.entity.js +0 -5
  541. package/dist/entities/shared/system-parameter.entity.d.ts +0 -10
  542. package/dist/entities/shared/system-parameter.entity.d.ts.map +0 -1
  543. package/dist/entities/shared/system-parameter.entity.js +0 -5
  544. package/dist/entities/underwriter/index.d.ts +0 -4
  545. package/dist/entities/underwriter/index.d.ts.map +0 -1
  546. package/dist/entities/underwriter/index.js +0 -2
  547. package/dist/entities/underwriter/underwriter.entity.d.ts +0 -19
  548. package/dist/entities/underwriter/underwriter.entity.d.ts.map +0 -1
  549. package/dist/entities/underwriter/underwriter.entity.js +0 -5
  550. package/dist/entities/users/auth-log.entity.d.ts +0 -11
  551. package/dist/entities/users/auth-log.entity.d.ts.map +0 -1
  552. package/dist/entities/users/auth-log.entity.js +0 -5
  553. package/dist/entities/users/index.d.ts +0 -8
  554. package/dist/entities/users/index.d.ts.map +0 -1
  555. package/dist/entities/users/index.js +0 -6
  556. package/dist/entities/users/permission.entity.d.ts +0 -12
  557. package/dist/entities/users/permission.entity.d.ts.map +0 -1
  558. package/dist/entities/users/permission.entity.js +0 -5
  559. package/dist/entities/users/role-group.entity.d.ts +0 -13
  560. package/dist/entities/users/role-group.entity.d.ts.map +0 -1
  561. package/dist/entities/users/role-group.entity.js +0 -5
  562. package/dist/entities/users/role.entity.d.ts +0 -16
  563. package/dist/entities/users/role.entity.d.ts.map +0 -1
  564. package/dist/entities/users/role.entity.js +0 -5
  565. package/dist/entities/users/user.entity.d.ts +0 -33
  566. package/dist/entities/users/user.entity.d.ts.map +0 -1
  567. package/dist/entities/users/user.entity.js +0 -5
  568. package/dist/shared/document-type-model.js +0 -10
  569. package/entities/applicants/applicant-credit-data.entity.ts +0 -24
  570. package/entities/applicants/applicant-credit-profile.entity.ts +0 -19
  571. package/entities/applicants/applicant-employment-income.entity.ts +0 -18
  572. package/entities/applicants/applicant-employment.entity.ts +0 -60
  573. package/entities/applicants/applicant-expenditure.entity.ts +0 -19
  574. package/entities/applicants/applicant-income-settings.entity.ts +0 -22
  575. package/entities/applicants/applicant-income.entity.ts +0 -79
  576. package/entities/applicants/applicant-share-holding.entity.ts +0 -23
  577. package/entities/applicants/applicant.entity.ts +0 -194
  578. package/entities/applicants/credit-card-commitment.entity.ts +0 -31
  579. package/entities/applicants/index.ts +0 -59
  580. package/entities/applicants/loan-commitment.entity.ts +0 -44
  581. package/entities/applicants/mortgage-commitment.entity.ts +0 -77
  582. package/entities/applicants/other-income.entity.ts +0 -68
  583. package/entities/applicants/property-income.entity.ts +0 -19
  584. package/entities/applicants/residence-commitment.entity.ts +0 -63
  585. package/entities/applicants/secure-loan-commitment.entity.ts +0 -41
  586. package/entities/applicants/unsecured-loan-commitment.entity.ts +0 -41
  587. package/entities/applications/application-audit.entity.ts +0 -23
  588. package/entities/applications/application-company.entity.ts +0 -76
  589. package/entities/applications/application-credit-profile.entity.ts +0 -13
  590. package/entities/applications/application-direct-debit.entity.ts +0 -29
  591. package/entities/applications/application-document.entity.ts +0 -33
  592. package/entities/applications/application-fieldconfig.entity.ts +0 -11
  593. package/entities/applications/application-illustration.entity.ts +0 -10
  594. package/entities/applications/application-legal.entity.ts +0 -11
  595. package/entities/applications/application-mortgage.entity.ts +0 -82
  596. package/entities/applications/application-note.entity.ts +0 -42
  597. package/entities/applications/application-offer.entity.ts +0 -10
  598. package/entities/applications/application-onboarding.entity.ts +0 -13
  599. package/entities/applications/application-product.entity.ts +0 -38
  600. package/entities/applications/application-rationale.entity.ts +0 -56
  601. package/entities/applications/application.entity.ts +0 -168
  602. package/entities/applications/broker.entity.ts +0 -25
  603. package/entities/applications/checklist-item.entity.ts +0 -49
  604. package/entities/applications/index.ts +0 -63
  605. package/entities/applications/product-features.entity.ts +0 -118
  606. package/entities/applications/solicitor.entity.ts +0 -38
  607. package/entities/index.ts +0 -14
  608. package/entities/prisma.ts +0 -13
  609. package/entities/product-catalogues/index.ts +0 -23
  610. package/entities/product-catalogues/product-catalogue.entity.ts +0 -27
  611. package/entities/product-catalogues/product-definition.entity.ts +0 -21
  612. package/entities/product-catalogues/product-variant.entity.ts +0 -19
  613. package/entities/product-catalogues/product.entity.ts +0 -16
  614. package/entities/product-catalogues/rule.entity.ts +0 -26
  615. package/entities/properties/data-street.entity.ts +0 -27
  616. package/entities/properties/index.ts +0 -17
  617. package/entities/properties/property.entity.ts +0 -35
  618. package/entities/properties/security.entity.ts +0 -63
  619. package/entities/shared/alert.entity.ts +0 -19
  620. package/entities/shared/apprivo-sync-journey.entity.ts +0 -25
  621. package/entities/shared/apprivo-sync-journey.model.ts +0 -13
  622. package/entities/shared/checklist.entity.ts +0 -20
  623. package/entities/shared/document-type.entity.ts +0 -11
  624. package/entities/shared/index.ts +0 -35
  625. package/entities/shared/job-run.entity.ts +0 -20
  626. package/entities/shared/job-run.model.ts +0 -10
  627. package/entities/shared/job-setting.entity.ts +0 -13
  628. package/entities/shared/lookup-group.entity.ts +0 -16
  629. package/entities/shared/lookup.entity.ts +0 -19
  630. package/entities/shared/system-parameter.entity.ts +0 -13
  631. package/entities/underwriter/index.ts +0 -7
  632. package/entities/underwriter/underwriter.entity.ts +0 -24
  633. package/entities/users/auth-log.entity.ts +0 -13
  634. package/entities/users/index.ts +0 -23
  635. package/entities/users/permission.entity.ts +0 -17
  636. package/entities/users/role-group.entity.ts +0 -18
  637. package/entities/users/role.entity.ts +0 -21
  638. package/entities/users/user.entity.ts +0 -38
  639. package/prisma/applicants/applicant-credit-data.prisma +0 -19
  640. package/prisma/applicants/applicant-credit-profile.prisma +0 -15
  641. package/prisma/applicants/applicant-employment-income.prisma +0 -15
  642. package/prisma/applicants/applicant-employment.prisma +0 -54
  643. package/prisma/applicants/applicant-expenditure.prisma +0 -14
  644. package/prisma/applicants/applicant-income-settings.prisma +0 -17
  645. package/prisma/applicants/applicant-income.prisma +0 -78
  646. package/prisma/applicants/applicant-other-income.prisma +0 -45
  647. package/prisma/applicants/applicant-property-income.prisma +0 -21
  648. package/prisma/applicants/applicant-share-holding.prisma +0 -17
  649. package/prisma/applicants/applicant.prisma +0 -130
  650. package/prisma/applicants/credit-card-commitment.prisma +0 -21
  651. package/prisma/applicants/loan-commitment.prisma +0 -26
  652. package/prisma/applicants/mortgage-commitment.prisma +0 -43
  653. package/prisma/applicants/residence-commitment.prisma +0 -41
  654. package/prisma/applicants/secured-loan-commitment.prisma +0 -27
  655. package/prisma/applicants/unsecured-loan-commitment.prisma +0 -27
  656. package/prisma/applications/application-audit.prisma +0 -19
  657. package/prisma/applications/application-company.prisma +0 -56
  658. package/prisma/applications/application-credit-profile.prisma +0 -15
  659. package/prisma/applications/application-direct-debit.prisma +0 -27
  660. package/prisma/applications/application-document.prisma +0 -28
  661. package/prisma/applications/application-fieldconfig.prisma +0 -9
  662. package/prisma/applications/application-illustration.prisma +0 -8
  663. package/prisma/applications/application-legal.prisma +0 -9
  664. package/prisma/applications/application-mortgage.prisma +0 -48
  665. package/prisma/applications/application-note.prisma +0 -36
  666. package/prisma/applications/application-offer.prisma +0 -8
  667. package/prisma/applications/application-onboarding.prisma +0 -11
  668. package/prisma/applications/application-product.prisma +0 -33
  669. package/prisma/applications/application-rationale.prisma +0 -51
  670. package/prisma/applications/application.prisma +0 -92
  671. package/prisma/applications/broker.prisma +0 -26
  672. package/prisma/applications/checklist-item.prisma +0 -47
  673. package/prisma/applications/checklist.prisma +0 -19
  674. package/prisma/applications/product-features.prisma +0 -122
  675. package/prisma/applications/solicitor.prisma +0 -33
  676. package/prisma/broker.entity.ts +0 -8
  677. package/prisma/migrations/20250501070203_initial_migration/migration.sql +0 -2044
  678. package/prisma/migrations/20250501102630_job_setting_name_change/migration.sql +0 -10
  679. package/prisma/migrations/20250501104920_milstone_update/migration.sql +0 -30
  680. package/prisma/migrations/20250501105546_apprivo_sync_journey_update/migration.sql +0 -9
  681. package/prisma/migrations/20250501105850_job_run_update/migration.sql +0 -13
  682. package/prisma/migrations/20250505115236_update_application_schema/migration.sql +0 -115
  683. package/prisma/migrations/20250505145328_update_broker_schema/migration.sql +0 -8
  684. package/prisma/migrations/20250505185034_update_direct_debit_schema/migration.sql +0 -27
  685. package/prisma/migrations/20250505190613_update_solicitor_schema/migration.sql +0 -29
  686. package/prisma/migrations/20250506054831_update_note_schema/migration.sql +0 -12
  687. package/prisma/migrations/20250506142218_update_broker_schema/migration.sql +0 -17
  688. package/prisma/migrations/20250506190258_update_application_note_schema/migration.sql +0 -32
  689. package/prisma/migrations/20250506204635_update_mortgage_schema/migration.sql +0 -26
  690. package/prisma/migrations/20250507122847_applicant_retirement_age/migration.sql +0 -9
  691. package/prisma/migrations/20250507184905_update_mortgage_schema/migration.sql +0 -8
  692. package/prisma/migrations/20250507194746_update_direct_debit_schema/migration.sql +0 -5
  693. package/prisma/migrations/20250508092417_update_application_schema/migration.sql +0 -3
  694. package/prisma/migrations/20250508094735_update_direct_debit_schema/migration.sql +0 -2
  695. package/prisma/migrations/20250509073536_update_applicant_schema/migration.sql +0 -4
  696. package/prisma/migrations/20250509111029_update_solicitor_schema/migration.sql +0 -2
  697. package/prisma/migrations/20250509125107_update_mortgage_schema/migration.sql +0 -19
  698. package/prisma/migrations/20250512071728_update_mortgage_schema/migration.sql +0 -15
  699. package/prisma/migrations/20250512094011_update_property_schema/migration.sql +0 -34
  700. package/prisma/migrations/20250512102019_update_mortgage_schema/migration.sql +0 -2
  701. package/prisma/migrations/20250513132704_update_credit_card_commitment_schema/migration.sql +0 -22
  702. package/prisma/migrations/20250513143530_update_credit_card_commitment_schema/migration.sql +0 -8
  703. package/prisma/migrations/20250513170654_update_mortgage_commitment_schema/migration.sql +0 -89
  704. package/prisma/migrations/20250513183558_update_loan_commitment_schema/migration.sql +0 -33
  705. package/prisma/migrations/20250513184341_update_loan_commitment_schema/migration.sql +0 -4
  706. package/prisma/migrations/20250513202307_update_role_schema/migration.sql +0 -12
  707. package/prisma/migrations/20250514062536_update_role_group_schema/migration.sql +0 -12
  708. package/prisma/migrations/20250514064054_update_user_schema/migration.sql +0 -12
  709. package/prisma/migrations/20250514071524_update_user_schema/migration.sql +0 -15
  710. package/prisma/migrations/20250514072729_update_user_schema/migration.sql +0 -18
  711. package/prisma/migrations/20250514102042_update_user_rolegroup_role_schemas/migration.sql +0 -9
  712. package/prisma/migrations/20250514183537_update_application_company_schema/migration.sql +0 -100
  713. package/prisma/migrations/20250514194139_update_applicant_share_holding_schema/migration.sql +0 -11
  714. package/prisma/migrations/20250515132015_update_underwriter_schema/migration.sql +0 -56
  715. package/prisma/migrations/20250515133236_update_underwriter_schema/migration.sql +0 -12
  716. package/prisma/migrations/20250515172824_update_security_schema/migration.sql +0 -43
  717. package/prisma/migrations/20250516053810_update_underwriter_schema/migration.sql +0 -14
  718. package/prisma/migrations/20250516075153_update_commitments_schemas/migration.sql +0 -134
  719. package/prisma/migrations/20250516094438_update_credit_card_commitment_schema/migration.sql +0 -8
  720. package/prisma/migrations/20250519075211_update_product_features_schema/migration.sql +0 -15
  721. package/prisma/migrations/20250519094725_update_product_feature_schema/migration.sql +0 -163
  722. package/prisma/migrations/20250519133154_update_employemnt_income_schema/migration.sql +0 -11
  723. package/prisma/migrations/20250519181411_update_applicant_income_schema/migration.sql +0 -65
  724. package/prisma/migrations/20250520030945_update_income_settings_schema/migration.sql +0 -44
  725. package/prisma/migrations/20250520061455_update_income_settings_schema/migration.sql +0 -11
  726. package/prisma/migrations/20250521173204_update_product_catalogue_schema/migration.sql +0 -28
  727. package/prisma/migrations/20250521180300_update_product_variant_schema/migration.sql +0 -8
  728. package/prisma/migrations/20250521191050_update_product_definition_schema/migration.sql +0 -23
  729. package/prisma/migrations/20250521192012_update_product_definition_schema/migration.sql +0 -9
  730. package/prisma/migrations/migration_lock.toml +0 -3
  731. package/prisma/product-catalogues/product-catalogue.prisma +0 -22
  732. package/prisma/product-catalogues/product-definition.prisma +0 -16
  733. package/prisma/product-catalogues/product-variant.prisma +0 -15
  734. package/prisma/product-catalogues/product.prisma +0 -10
  735. package/prisma/product-catalogues/rule.prisma +0 -22
  736. package/prisma/properties/property.prisma +0 -30
  737. package/prisma/properties/security.prisma +0 -81
  738. package/prisma/schema.prisma +0 -1979
  739. package/prisma/shared/alert.prisma +0 -15
  740. package/prisma/shared/apprivo-sync-journey.prisma +0 -19
  741. package/prisma/shared/checklist.prisma +0 -10
  742. package/prisma/shared/document-type.prisma +0 -9
  743. package/prisma/shared/job-run.prisma +0 -15
  744. package/prisma/shared/job-setting.prisma +0 -11
  745. package/prisma/shared/lookup-group.prisma +0 -12
  746. package/prisma/shared/lookup.prisma +0 -154
  747. package/prisma/shared/system-parameter.prisma +0 -16
  748. package/prisma/underwriter/underwriter.prisma +0 -20
  749. package/prisma/users/auth-log.prisma +0 -11
  750. package/prisma/users/permission.prisma +0 -13
  751. package/prisma/users/role-group.prisma +0 -15
  752. package/prisma/users/role.prisma +0 -15
  753. package/prisma/users/user.prisma +0 -30
  754. /package/dist/{entities/shared/job-run.model.js → applicants/applicant-additional-income.type.js} +0 -0
@@ -0,0 +1,3784 @@
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 ApplicantCreditReportModel: mongoose.Model<{
31
+ applicantId: mongoose.Types.ObjectId;
32
+ applicantName: string;
33
+ isConfirmed: boolean;
34
+ searchDate: NativeDate;
35
+ referenceNumber: string;
36
+ applicantDob: string;
37
+ requestDate: string;
38
+ expiredDate: string;
39
+ hasExpired: boolean;
40
+ creditDefaults: string;
41
+ countyCourtJudgment: string;
42
+ securedArrears: string;
43
+ unsecuredArrears: string;
44
+ bankruptcyOrIva: string;
45
+ notMapped: any;
46
+ aliasNames: mongoose.Types.DocumentArray<{
47
+ dob: string;
48
+ forename: string;
49
+ surname: string;
50
+ middlename: string;
51
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
52
+ dob: string;
53
+ forename: string;
54
+ surname: string;
55
+ middlename: string;
56
+ }> & {
57
+ dob: string;
58
+ forename: string;
59
+ surname: string;
60
+ middlename: string;
61
+ }>;
62
+ associates: mongoose.Types.DocumentArray<{
63
+ dob: string;
64
+ forename: string;
65
+ surname: string;
66
+ middlename: string;
67
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
68
+ dob: string;
69
+ forename: string;
70
+ surname: string;
71
+ middlename: string;
72
+ }> & {
73
+ dob: string;
74
+ forename: string;
75
+ surname: string;
76
+ middlename: string;
77
+ }>;
78
+ linkedAddressData: mongoose.Types.DocumentArray<{
79
+ type: string;
80
+ name: string;
81
+ dob: string;
82
+ startDate: string;
83
+ lastUpdate: string;
84
+ endDate: string;
85
+ nameMatchStatus: string;
86
+ paymentFrequency: string;
87
+ paymentHistory: mongoose.Types.DocumentArray<{
88
+ ageInMonths: string;
89
+ paymentStatus: string;
90
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
91
+ ageInMonths: string;
92
+ paymentStatus: string;
93
+ }> & {
94
+ ageInMonths: string;
95
+ paymentStatus: string;
96
+ }>;
97
+ startBalance?: {
98
+ amount: string;
99
+ currency: string;
100
+ } | null | undefined;
101
+ fixedPaymentTerms?: {
102
+ amount: string;
103
+ currency: string;
104
+ } | null | undefined;
105
+ currentBalance?: {
106
+ amount: string;
107
+ currency: string;
108
+ } | null | undefined;
109
+ delinquentBalance?: {
110
+ amount: string;
111
+ currency: string;
112
+ } | null | undefined;
113
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
114
+ type: string;
115
+ name: string;
116
+ dob: string;
117
+ startDate: string;
118
+ lastUpdate: string;
119
+ endDate: string;
120
+ nameMatchStatus: string;
121
+ paymentFrequency: string;
122
+ paymentHistory: mongoose.Types.DocumentArray<{
123
+ ageInMonths: string;
124
+ paymentStatus: string;
125
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
126
+ ageInMonths: string;
127
+ paymentStatus: string;
128
+ }> & {
129
+ ageInMonths: string;
130
+ paymentStatus: string;
131
+ }>;
132
+ startBalance?: {
133
+ amount: string;
134
+ currency: string;
135
+ } | null | undefined;
136
+ fixedPaymentTerms?: {
137
+ amount: string;
138
+ currency: string;
139
+ } | null | undefined;
140
+ currentBalance?: {
141
+ amount: string;
142
+ currency: string;
143
+ } | null | undefined;
144
+ delinquentBalance?: {
145
+ amount: string;
146
+ currency: string;
147
+ } | null | undefined;
148
+ }> & {
149
+ type: string;
150
+ name: string;
151
+ dob: string;
152
+ startDate: string;
153
+ lastUpdate: string;
154
+ endDate: string;
155
+ nameMatchStatus: string;
156
+ paymentFrequency: string;
157
+ paymentHistory: mongoose.Types.DocumentArray<{
158
+ ageInMonths: string;
159
+ paymentStatus: string;
160
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
161
+ ageInMonths: string;
162
+ paymentStatus: string;
163
+ }> & {
164
+ ageInMonths: string;
165
+ paymentStatus: string;
166
+ }>;
167
+ startBalance?: {
168
+ amount: string;
169
+ currency: string;
170
+ } | null | undefined;
171
+ fixedPaymentTerms?: {
172
+ amount: string;
173
+ currency: string;
174
+ } | null | undefined;
175
+ currentBalance?: {
176
+ amount: string;
177
+ currency: string;
178
+ } | null | undefined;
179
+ delinquentBalance?: {
180
+ amount: string;
181
+ currency: string;
182
+ } | null | undefined;
183
+ }>;
184
+ suppliedAddressData: mongoose.Types.DocumentArray<{
185
+ type: string;
186
+ name: string;
187
+ dob: string;
188
+ startDate: string;
189
+ lastUpdate: string;
190
+ endDate: string;
191
+ nameMatchStatus: string;
192
+ paymentFrequency: string;
193
+ paymentHistory: mongoose.Types.DocumentArray<{
194
+ ageInMonths: string;
195
+ paymentStatus: string;
196
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
197
+ ageInMonths: string;
198
+ paymentStatus: string;
199
+ }> & {
200
+ ageInMonths: string;
201
+ paymentStatus: string;
202
+ }>;
203
+ startBalance?: {
204
+ amount: string;
205
+ currency: string;
206
+ } | null | undefined;
207
+ fixedPaymentTerms?: {
208
+ amount: string;
209
+ currency: string;
210
+ } | null | undefined;
211
+ currentBalance?: {
212
+ amount: string;
213
+ currency: string;
214
+ } | null | undefined;
215
+ delinquentBalance?: {
216
+ amount: string;
217
+ currency: string;
218
+ } | null | undefined;
219
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
220
+ type: string;
221
+ name: string;
222
+ dob: string;
223
+ startDate: string;
224
+ lastUpdate: string;
225
+ endDate: string;
226
+ nameMatchStatus: string;
227
+ paymentFrequency: string;
228
+ paymentHistory: mongoose.Types.DocumentArray<{
229
+ ageInMonths: string;
230
+ paymentStatus: string;
231
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
232
+ ageInMonths: string;
233
+ paymentStatus: string;
234
+ }> & {
235
+ ageInMonths: string;
236
+ paymentStatus: string;
237
+ }>;
238
+ startBalance?: {
239
+ amount: string;
240
+ currency: string;
241
+ } | null | undefined;
242
+ fixedPaymentTerms?: {
243
+ amount: string;
244
+ currency: string;
245
+ } | null | undefined;
246
+ currentBalance?: {
247
+ amount: string;
248
+ currency: string;
249
+ } | null | undefined;
250
+ delinquentBalance?: {
251
+ amount: string;
252
+ currency: string;
253
+ } | null | undefined;
254
+ }> & {
255
+ type: string;
256
+ name: string;
257
+ dob: string;
258
+ startDate: string;
259
+ lastUpdate: string;
260
+ endDate: string;
261
+ nameMatchStatus: string;
262
+ paymentFrequency: string;
263
+ paymentHistory: mongoose.Types.DocumentArray<{
264
+ ageInMonths: string;
265
+ paymentStatus: string;
266
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
267
+ ageInMonths: string;
268
+ paymentStatus: string;
269
+ }> & {
270
+ ageInMonths: string;
271
+ paymentStatus: string;
272
+ }>;
273
+ startBalance?: {
274
+ amount: string;
275
+ currency: string;
276
+ } | null | undefined;
277
+ fixedPaymentTerms?: {
278
+ amount: string;
279
+ currency: string;
280
+ } | null | undefined;
281
+ currentBalance?: {
282
+ amount: string;
283
+ currency: string;
284
+ } | null | undefined;
285
+ delinquentBalance?: {
286
+ amount: string;
287
+ currency: string;
288
+ } | null | undefined;
289
+ }>;
290
+ accountInformation: mongoose.Types.DocumentArray<{
291
+ type: string;
292
+ name: string;
293
+ dob: string;
294
+ startDate: string;
295
+ lastUpdate: string;
296
+ endDate: string;
297
+ nameMatchStatus: string;
298
+ paymentFrequency: string;
299
+ paymentHistory: mongoose.Types.DocumentArray<{
300
+ ageInMonths: string;
301
+ paymentStatus: string;
302
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
303
+ ageInMonths: string;
304
+ paymentStatus: string;
305
+ }> & {
306
+ ageInMonths: string;
307
+ paymentStatus: string;
308
+ }>;
309
+ startBalance?: {
310
+ amount: string;
311
+ currency: string;
312
+ } | null | undefined;
313
+ fixedPaymentTerms?: {
314
+ amount: string;
315
+ currency: string;
316
+ } | null | undefined;
317
+ currentBalance?: {
318
+ amount: string;
319
+ currency: string;
320
+ } | null | undefined;
321
+ delinquentBalance?: {
322
+ amount: string;
323
+ currency: string;
324
+ } | null | undefined;
325
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
326
+ type: string;
327
+ name: string;
328
+ dob: string;
329
+ startDate: string;
330
+ lastUpdate: string;
331
+ endDate: string;
332
+ nameMatchStatus: string;
333
+ paymentFrequency: string;
334
+ paymentHistory: mongoose.Types.DocumentArray<{
335
+ ageInMonths: string;
336
+ paymentStatus: string;
337
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
338
+ ageInMonths: string;
339
+ paymentStatus: string;
340
+ }> & {
341
+ ageInMonths: string;
342
+ paymentStatus: string;
343
+ }>;
344
+ startBalance?: {
345
+ amount: string;
346
+ currency: string;
347
+ } | null | undefined;
348
+ fixedPaymentTerms?: {
349
+ amount: string;
350
+ currency: string;
351
+ } | null | undefined;
352
+ currentBalance?: {
353
+ amount: string;
354
+ currency: string;
355
+ } | null | undefined;
356
+ delinquentBalance?: {
357
+ amount: string;
358
+ currency: string;
359
+ } | null | undefined;
360
+ }> & {
361
+ type: string;
362
+ name: string;
363
+ dob: string;
364
+ startDate: string;
365
+ lastUpdate: string;
366
+ endDate: string;
367
+ nameMatchStatus: string;
368
+ paymentFrequency: string;
369
+ paymentHistory: mongoose.Types.DocumentArray<{
370
+ ageInMonths: string;
371
+ paymentStatus: string;
372
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
373
+ ageInMonths: string;
374
+ paymentStatus: string;
375
+ }> & {
376
+ ageInMonths: string;
377
+ paymentStatus: string;
378
+ }>;
379
+ startBalance?: {
380
+ amount: string;
381
+ currency: string;
382
+ } | null | undefined;
383
+ fixedPaymentTerms?: {
384
+ amount: string;
385
+ currency: string;
386
+ } | null | undefined;
387
+ currentBalance?: {
388
+ amount: string;
389
+ currency: string;
390
+ } | null | undefined;
391
+ delinquentBalance?: {
392
+ amount: string;
393
+ currency: string;
394
+ } | null | undefined;
395
+ }>;
396
+ accountLinkedInformations: mongoose.Types.DocumentArray<{
397
+ type: string;
398
+ name: string;
399
+ dob: string;
400
+ startDate: string;
401
+ lastUpdate: string;
402
+ endDate: string;
403
+ nameMatchStatus: string;
404
+ paymentFrequency: string;
405
+ paymentHistory: mongoose.Types.DocumentArray<{
406
+ ageInMonths: string;
407
+ paymentStatus: string;
408
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
409
+ ageInMonths: string;
410
+ paymentStatus: string;
411
+ }> & {
412
+ ageInMonths: string;
413
+ paymentStatus: string;
414
+ }>;
415
+ startBalance?: {
416
+ amount: string;
417
+ currency: string;
418
+ } | null | undefined;
419
+ fixedPaymentTerms?: {
420
+ amount: string;
421
+ currency: string;
422
+ } | null | undefined;
423
+ currentBalance?: {
424
+ amount: string;
425
+ currency: string;
426
+ } | null | undefined;
427
+ delinquentBalance?: {
428
+ amount: string;
429
+ currency: string;
430
+ } | null | undefined;
431
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
432
+ type: string;
433
+ name: string;
434
+ dob: string;
435
+ startDate: string;
436
+ lastUpdate: string;
437
+ endDate: string;
438
+ nameMatchStatus: string;
439
+ paymentFrequency: string;
440
+ paymentHistory: mongoose.Types.DocumentArray<{
441
+ ageInMonths: string;
442
+ paymentStatus: string;
443
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
444
+ ageInMonths: string;
445
+ paymentStatus: string;
446
+ }> & {
447
+ ageInMonths: string;
448
+ paymentStatus: string;
449
+ }>;
450
+ startBalance?: {
451
+ amount: string;
452
+ currency: string;
453
+ } | null | undefined;
454
+ fixedPaymentTerms?: {
455
+ amount: string;
456
+ currency: string;
457
+ } | null | undefined;
458
+ currentBalance?: {
459
+ amount: string;
460
+ currency: string;
461
+ } | null | undefined;
462
+ delinquentBalance?: {
463
+ amount: string;
464
+ currency: string;
465
+ } | null | undefined;
466
+ }> & {
467
+ type: string;
468
+ name: string;
469
+ dob: string;
470
+ startDate: string;
471
+ lastUpdate: string;
472
+ endDate: string;
473
+ nameMatchStatus: string;
474
+ paymentFrequency: string;
475
+ paymentHistory: mongoose.Types.DocumentArray<{
476
+ ageInMonths: string;
477
+ paymentStatus: string;
478
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
479
+ ageInMonths: string;
480
+ paymentStatus: string;
481
+ }> & {
482
+ ageInMonths: string;
483
+ paymentStatus: string;
484
+ }>;
485
+ startBalance?: {
486
+ amount: string;
487
+ currency: string;
488
+ } | null | undefined;
489
+ fixedPaymentTerms?: {
490
+ amount: string;
491
+ currency: string;
492
+ } | null | undefined;
493
+ currentBalance?: {
494
+ amount: string;
495
+ currency: string;
496
+ } | null | undefined;
497
+ delinquentBalance?: {
498
+ amount: string;
499
+ currency: string;
500
+ } | null | undefined;
501
+ }>;
502
+ electoralInformation: mongoose.Types.DocumentArray<{
503
+ name: string;
504
+ startDate: string;
505
+ endDate: string;
506
+ nameMatchStatus: string;
507
+ seniority: string;
508
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
509
+ name: string;
510
+ startDate: string;
511
+ endDate: string;
512
+ nameMatchStatus: string;
513
+ seniority: string;
514
+ }> & {
515
+ name: string;
516
+ startDate: string;
517
+ endDate: string;
518
+ nameMatchStatus: string;
519
+ seniority: string;
520
+ }>;
521
+ electoralLinkedInformations: mongoose.Types.DocumentArray<{
522
+ name: string;
523
+ startDate: string;
524
+ endDate: string;
525
+ nameMatchStatus: string;
526
+ seniority: string;
527
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
528
+ name: string;
529
+ startDate: string;
530
+ endDate: string;
531
+ nameMatchStatus: string;
532
+ seniority: string;
533
+ }> & {
534
+ name: string;
535
+ startDate: string;
536
+ endDate: string;
537
+ nameMatchStatus: string;
538
+ seniority: string;
539
+ }>;
540
+ linkedAddresses: mongoose.Types.DocumentArray<{
541
+ type: "current" | "previous";
542
+ address?: {
543
+ number: string;
544
+ street: string;
545
+ county: string;
546
+ postcode: string;
547
+ postTown: string;
548
+ addressId: string;
549
+ } | null | undefined;
550
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
551
+ type: "current" | "previous";
552
+ address?: {
553
+ number: string;
554
+ street: string;
555
+ county: string;
556
+ postcode: string;
557
+ postTown: string;
558
+ addressId: string;
559
+ } | null | undefined;
560
+ }> & {
561
+ type: "current" | "previous";
562
+ address?: {
563
+ number: string;
564
+ street: string;
565
+ county: string;
566
+ postcode: string;
567
+ postTown: string;
568
+ addressId: string;
569
+ } | null | undefined;
570
+ }>;
571
+ currentAddresses: mongoose.Types.DocumentArray<{
572
+ address?: {
573
+ number: string;
574
+ name: string;
575
+ postcode: string;
576
+ postTown: string;
577
+ country: string;
578
+ street1: string;
579
+ } | null | undefined;
580
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
581
+ address?: {
582
+ number: string;
583
+ name: string;
584
+ postcode: string;
585
+ postTown: string;
586
+ country: string;
587
+ street1: string;
588
+ } | null | undefined;
589
+ }> & {
590
+ address?: {
591
+ number: string;
592
+ name: string;
593
+ postcode: string;
594
+ postTown: string;
595
+ country: string;
596
+ street1: string;
597
+ } | null | undefined;
598
+ }>;
599
+ previousSearches: mongoose.Types.DocumentArray<{
600
+ name: string;
601
+ dob: string;
602
+ nameMatchStatus: string;
603
+ companyType: string;
604
+ jointApplicant: boolean;
605
+ searchType: string;
606
+ searchDate: string;
607
+ optIn: boolean;
608
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
609
+ name: string;
610
+ dob: string;
611
+ nameMatchStatus: string;
612
+ companyType: string;
613
+ jointApplicant: boolean;
614
+ searchType: string;
615
+ searchDate: string;
616
+ optIn: boolean;
617
+ }> & {
618
+ name: string;
619
+ dob: string;
620
+ nameMatchStatus: string;
621
+ companyType: string;
622
+ jointApplicant: boolean;
623
+ searchType: string;
624
+ searchDate: string;
625
+ optIn: boolean;
626
+ }>;
627
+ noticeofCorrection: mongoose.Types.DocumentArray<{
628
+ type: "active" | "historical";
629
+ noc?: {
630
+ text: string;
631
+ name: string;
632
+ nameMatchStatus: string;
633
+ dataNoticeCreated: string;
634
+ } | null | undefined;
635
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
636
+ type: "active" | "historical";
637
+ noc?: {
638
+ text: string;
639
+ name: string;
640
+ nameMatchStatus: string;
641
+ dataNoticeCreated: string;
642
+ } | null | undefined;
643
+ }> & {
644
+ type: "active" | "historical";
645
+ noc?: {
646
+ text: string;
647
+ name: string;
648
+ nameMatchStatus: string;
649
+ dataNoticeCreated: string;
650
+ } | null | undefined;
651
+ }>;
652
+ isEquifaxData: boolean;
653
+ searchCriteriaDifferences: string;
654
+ }, {}, {}, {}, mongoose.Document<unknown, {}, {
655
+ applicantId: mongoose.Types.ObjectId;
656
+ applicantName: string;
657
+ isConfirmed: boolean;
658
+ searchDate: NativeDate;
659
+ referenceNumber: string;
660
+ applicantDob: string;
661
+ requestDate: string;
662
+ expiredDate: string;
663
+ hasExpired: boolean;
664
+ creditDefaults: string;
665
+ countyCourtJudgment: string;
666
+ securedArrears: string;
667
+ unsecuredArrears: string;
668
+ bankruptcyOrIva: string;
669
+ notMapped: any;
670
+ aliasNames: mongoose.Types.DocumentArray<{
671
+ dob: string;
672
+ forename: string;
673
+ surname: string;
674
+ middlename: string;
675
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
676
+ dob: string;
677
+ forename: string;
678
+ surname: string;
679
+ middlename: string;
680
+ }> & {
681
+ dob: string;
682
+ forename: string;
683
+ surname: string;
684
+ middlename: string;
685
+ }>;
686
+ associates: mongoose.Types.DocumentArray<{
687
+ dob: string;
688
+ forename: string;
689
+ surname: string;
690
+ middlename: string;
691
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
692
+ dob: string;
693
+ forename: string;
694
+ surname: string;
695
+ middlename: string;
696
+ }> & {
697
+ dob: string;
698
+ forename: string;
699
+ surname: string;
700
+ middlename: string;
701
+ }>;
702
+ linkedAddressData: mongoose.Types.DocumentArray<{
703
+ type: string;
704
+ name: string;
705
+ dob: string;
706
+ startDate: string;
707
+ lastUpdate: string;
708
+ endDate: string;
709
+ nameMatchStatus: string;
710
+ paymentFrequency: string;
711
+ paymentHistory: mongoose.Types.DocumentArray<{
712
+ ageInMonths: string;
713
+ paymentStatus: string;
714
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
715
+ ageInMonths: string;
716
+ paymentStatus: string;
717
+ }> & {
718
+ ageInMonths: string;
719
+ paymentStatus: string;
720
+ }>;
721
+ startBalance?: {
722
+ amount: string;
723
+ currency: string;
724
+ } | null | undefined;
725
+ fixedPaymentTerms?: {
726
+ amount: string;
727
+ currency: string;
728
+ } | null | undefined;
729
+ currentBalance?: {
730
+ amount: string;
731
+ currency: string;
732
+ } | null | undefined;
733
+ delinquentBalance?: {
734
+ amount: string;
735
+ currency: string;
736
+ } | null | undefined;
737
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
738
+ type: string;
739
+ name: string;
740
+ dob: string;
741
+ startDate: string;
742
+ lastUpdate: string;
743
+ endDate: string;
744
+ nameMatchStatus: string;
745
+ paymentFrequency: string;
746
+ paymentHistory: mongoose.Types.DocumentArray<{
747
+ ageInMonths: string;
748
+ paymentStatus: string;
749
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
750
+ ageInMonths: string;
751
+ paymentStatus: string;
752
+ }> & {
753
+ ageInMonths: string;
754
+ paymentStatus: string;
755
+ }>;
756
+ startBalance?: {
757
+ amount: string;
758
+ currency: string;
759
+ } | null | undefined;
760
+ fixedPaymentTerms?: {
761
+ amount: string;
762
+ currency: string;
763
+ } | null | undefined;
764
+ currentBalance?: {
765
+ amount: string;
766
+ currency: string;
767
+ } | null | undefined;
768
+ delinquentBalance?: {
769
+ amount: string;
770
+ currency: string;
771
+ } | null | undefined;
772
+ }> & {
773
+ type: string;
774
+ name: string;
775
+ dob: string;
776
+ startDate: string;
777
+ lastUpdate: string;
778
+ endDate: string;
779
+ nameMatchStatus: string;
780
+ paymentFrequency: string;
781
+ paymentHistory: mongoose.Types.DocumentArray<{
782
+ ageInMonths: string;
783
+ paymentStatus: string;
784
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
785
+ ageInMonths: string;
786
+ paymentStatus: string;
787
+ }> & {
788
+ ageInMonths: string;
789
+ paymentStatus: string;
790
+ }>;
791
+ startBalance?: {
792
+ amount: string;
793
+ currency: string;
794
+ } | null | undefined;
795
+ fixedPaymentTerms?: {
796
+ amount: string;
797
+ currency: string;
798
+ } | null | undefined;
799
+ currentBalance?: {
800
+ amount: string;
801
+ currency: string;
802
+ } | null | undefined;
803
+ delinquentBalance?: {
804
+ amount: string;
805
+ currency: string;
806
+ } | null | undefined;
807
+ }>;
808
+ suppliedAddressData: mongoose.Types.DocumentArray<{
809
+ type: string;
810
+ name: string;
811
+ dob: string;
812
+ startDate: string;
813
+ lastUpdate: string;
814
+ endDate: string;
815
+ nameMatchStatus: string;
816
+ paymentFrequency: string;
817
+ paymentHistory: mongoose.Types.DocumentArray<{
818
+ ageInMonths: string;
819
+ paymentStatus: string;
820
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
821
+ ageInMonths: string;
822
+ paymentStatus: string;
823
+ }> & {
824
+ ageInMonths: string;
825
+ paymentStatus: string;
826
+ }>;
827
+ startBalance?: {
828
+ amount: string;
829
+ currency: string;
830
+ } | null | undefined;
831
+ fixedPaymentTerms?: {
832
+ amount: string;
833
+ currency: string;
834
+ } | null | undefined;
835
+ currentBalance?: {
836
+ amount: string;
837
+ currency: string;
838
+ } | null | undefined;
839
+ delinquentBalance?: {
840
+ amount: string;
841
+ currency: string;
842
+ } | null | undefined;
843
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
844
+ type: string;
845
+ name: string;
846
+ dob: string;
847
+ startDate: string;
848
+ lastUpdate: string;
849
+ endDate: string;
850
+ nameMatchStatus: string;
851
+ paymentFrequency: string;
852
+ paymentHistory: mongoose.Types.DocumentArray<{
853
+ ageInMonths: string;
854
+ paymentStatus: string;
855
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
856
+ ageInMonths: string;
857
+ paymentStatus: string;
858
+ }> & {
859
+ ageInMonths: string;
860
+ paymentStatus: string;
861
+ }>;
862
+ startBalance?: {
863
+ amount: string;
864
+ currency: string;
865
+ } | null | undefined;
866
+ fixedPaymentTerms?: {
867
+ amount: string;
868
+ currency: string;
869
+ } | null | undefined;
870
+ currentBalance?: {
871
+ amount: string;
872
+ currency: string;
873
+ } | null | undefined;
874
+ delinquentBalance?: {
875
+ amount: string;
876
+ currency: string;
877
+ } | null | undefined;
878
+ }> & {
879
+ type: string;
880
+ name: string;
881
+ dob: string;
882
+ startDate: string;
883
+ lastUpdate: string;
884
+ endDate: string;
885
+ nameMatchStatus: string;
886
+ paymentFrequency: string;
887
+ paymentHistory: mongoose.Types.DocumentArray<{
888
+ ageInMonths: string;
889
+ paymentStatus: string;
890
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
891
+ ageInMonths: string;
892
+ paymentStatus: string;
893
+ }> & {
894
+ ageInMonths: string;
895
+ paymentStatus: string;
896
+ }>;
897
+ startBalance?: {
898
+ amount: string;
899
+ currency: string;
900
+ } | null | undefined;
901
+ fixedPaymentTerms?: {
902
+ amount: string;
903
+ currency: string;
904
+ } | null | undefined;
905
+ currentBalance?: {
906
+ amount: string;
907
+ currency: string;
908
+ } | null | undefined;
909
+ delinquentBalance?: {
910
+ amount: string;
911
+ currency: string;
912
+ } | null | undefined;
913
+ }>;
914
+ accountInformation: mongoose.Types.DocumentArray<{
915
+ type: string;
916
+ name: string;
917
+ dob: string;
918
+ startDate: string;
919
+ lastUpdate: string;
920
+ endDate: string;
921
+ nameMatchStatus: string;
922
+ paymentFrequency: string;
923
+ paymentHistory: mongoose.Types.DocumentArray<{
924
+ ageInMonths: string;
925
+ paymentStatus: string;
926
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
927
+ ageInMonths: string;
928
+ paymentStatus: string;
929
+ }> & {
930
+ ageInMonths: string;
931
+ paymentStatus: string;
932
+ }>;
933
+ startBalance?: {
934
+ amount: string;
935
+ currency: string;
936
+ } | null | undefined;
937
+ fixedPaymentTerms?: {
938
+ amount: string;
939
+ currency: string;
940
+ } | null | undefined;
941
+ currentBalance?: {
942
+ amount: string;
943
+ currency: string;
944
+ } | null | undefined;
945
+ delinquentBalance?: {
946
+ amount: string;
947
+ currency: string;
948
+ } | null | undefined;
949
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
950
+ type: string;
951
+ name: string;
952
+ dob: string;
953
+ startDate: string;
954
+ lastUpdate: string;
955
+ endDate: string;
956
+ nameMatchStatus: string;
957
+ paymentFrequency: string;
958
+ paymentHistory: mongoose.Types.DocumentArray<{
959
+ ageInMonths: string;
960
+ paymentStatus: string;
961
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
962
+ ageInMonths: string;
963
+ paymentStatus: string;
964
+ }> & {
965
+ ageInMonths: string;
966
+ paymentStatus: string;
967
+ }>;
968
+ startBalance?: {
969
+ amount: string;
970
+ currency: string;
971
+ } | null | undefined;
972
+ fixedPaymentTerms?: {
973
+ amount: string;
974
+ currency: string;
975
+ } | null | undefined;
976
+ currentBalance?: {
977
+ amount: string;
978
+ currency: string;
979
+ } | null | undefined;
980
+ delinquentBalance?: {
981
+ amount: string;
982
+ currency: string;
983
+ } | null | undefined;
984
+ }> & {
985
+ type: string;
986
+ name: string;
987
+ dob: string;
988
+ startDate: string;
989
+ lastUpdate: string;
990
+ endDate: string;
991
+ nameMatchStatus: string;
992
+ paymentFrequency: string;
993
+ paymentHistory: mongoose.Types.DocumentArray<{
994
+ ageInMonths: string;
995
+ paymentStatus: string;
996
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
997
+ ageInMonths: string;
998
+ paymentStatus: string;
999
+ }> & {
1000
+ ageInMonths: string;
1001
+ paymentStatus: string;
1002
+ }>;
1003
+ startBalance?: {
1004
+ amount: string;
1005
+ currency: string;
1006
+ } | null | undefined;
1007
+ fixedPaymentTerms?: {
1008
+ amount: string;
1009
+ currency: string;
1010
+ } | null | undefined;
1011
+ currentBalance?: {
1012
+ amount: string;
1013
+ currency: string;
1014
+ } | null | undefined;
1015
+ delinquentBalance?: {
1016
+ amount: string;
1017
+ currency: string;
1018
+ } | null | undefined;
1019
+ }>;
1020
+ accountLinkedInformations: mongoose.Types.DocumentArray<{
1021
+ type: string;
1022
+ name: string;
1023
+ dob: string;
1024
+ startDate: string;
1025
+ lastUpdate: string;
1026
+ endDate: string;
1027
+ nameMatchStatus: string;
1028
+ paymentFrequency: string;
1029
+ paymentHistory: mongoose.Types.DocumentArray<{
1030
+ ageInMonths: string;
1031
+ paymentStatus: string;
1032
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1033
+ ageInMonths: string;
1034
+ paymentStatus: string;
1035
+ }> & {
1036
+ ageInMonths: string;
1037
+ paymentStatus: string;
1038
+ }>;
1039
+ startBalance?: {
1040
+ amount: string;
1041
+ currency: string;
1042
+ } | null | undefined;
1043
+ fixedPaymentTerms?: {
1044
+ amount: string;
1045
+ currency: string;
1046
+ } | null | undefined;
1047
+ currentBalance?: {
1048
+ amount: string;
1049
+ currency: string;
1050
+ } | null | undefined;
1051
+ delinquentBalance?: {
1052
+ amount: string;
1053
+ currency: string;
1054
+ } | null | undefined;
1055
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1056
+ type: string;
1057
+ name: string;
1058
+ dob: string;
1059
+ startDate: string;
1060
+ lastUpdate: string;
1061
+ endDate: string;
1062
+ nameMatchStatus: string;
1063
+ paymentFrequency: string;
1064
+ paymentHistory: mongoose.Types.DocumentArray<{
1065
+ ageInMonths: string;
1066
+ paymentStatus: string;
1067
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1068
+ ageInMonths: string;
1069
+ paymentStatus: string;
1070
+ }> & {
1071
+ ageInMonths: string;
1072
+ paymentStatus: string;
1073
+ }>;
1074
+ startBalance?: {
1075
+ amount: string;
1076
+ currency: string;
1077
+ } | null | undefined;
1078
+ fixedPaymentTerms?: {
1079
+ amount: string;
1080
+ currency: string;
1081
+ } | null | undefined;
1082
+ currentBalance?: {
1083
+ amount: string;
1084
+ currency: string;
1085
+ } | null | undefined;
1086
+ delinquentBalance?: {
1087
+ amount: string;
1088
+ currency: string;
1089
+ } | null | undefined;
1090
+ }> & {
1091
+ type: string;
1092
+ name: string;
1093
+ dob: string;
1094
+ startDate: string;
1095
+ lastUpdate: string;
1096
+ endDate: string;
1097
+ nameMatchStatus: string;
1098
+ paymentFrequency: string;
1099
+ paymentHistory: mongoose.Types.DocumentArray<{
1100
+ ageInMonths: string;
1101
+ paymentStatus: string;
1102
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1103
+ ageInMonths: string;
1104
+ paymentStatus: string;
1105
+ }> & {
1106
+ ageInMonths: string;
1107
+ paymentStatus: string;
1108
+ }>;
1109
+ startBalance?: {
1110
+ amount: string;
1111
+ currency: string;
1112
+ } | null | undefined;
1113
+ fixedPaymentTerms?: {
1114
+ amount: string;
1115
+ currency: string;
1116
+ } | null | undefined;
1117
+ currentBalance?: {
1118
+ amount: string;
1119
+ currency: string;
1120
+ } | null | undefined;
1121
+ delinquentBalance?: {
1122
+ amount: string;
1123
+ currency: string;
1124
+ } | null | undefined;
1125
+ }>;
1126
+ electoralInformation: mongoose.Types.DocumentArray<{
1127
+ name: string;
1128
+ startDate: string;
1129
+ endDate: string;
1130
+ nameMatchStatus: string;
1131
+ seniority: string;
1132
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1133
+ name: string;
1134
+ startDate: string;
1135
+ endDate: string;
1136
+ nameMatchStatus: string;
1137
+ seniority: string;
1138
+ }> & {
1139
+ name: string;
1140
+ startDate: string;
1141
+ endDate: string;
1142
+ nameMatchStatus: string;
1143
+ seniority: string;
1144
+ }>;
1145
+ electoralLinkedInformations: mongoose.Types.DocumentArray<{
1146
+ name: string;
1147
+ startDate: string;
1148
+ endDate: string;
1149
+ nameMatchStatus: string;
1150
+ seniority: string;
1151
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1152
+ name: string;
1153
+ startDate: string;
1154
+ endDate: string;
1155
+ nameMatchStatus: string;
1156
+ seniority: string;
1157
+ }> & {
1158
+ name: string;
1159
+ startDate: string;
1160
+ endDate: string;
1161
+ nameMatchStatus: string;
1162
+ seniority: string;
1163
+ }>;
1164
+ linkedAddresses: mongoose.Types.DocumentArray<{
1165
+ type: "current" | "previous";
1166
+ address?: {
1167
+ number: string;
1168
+ street: string;
1169
+ county: string;
1170
+ postcode: string;
1171
+ postTown: string;
1172
+ addressId: string;
1173
+ } | null | undefined;
1174
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1175
+ type: "current" | "previous";
1176
+ address?: {
1177
+ number: string;
1178
+ street: string;
1179
+ county: string;
1180
+ postcode: string;
1181
+ postTown: string;
1182
+ addressId: string;
1183
+ } | null | undefined;
1184
+ }> & {
1185
+ type: "current" | "previous";
1186
+ address?: {
1187
+ number: string;
1188
+ street: string;
1189
+ county: string;
1190
+ postcode: string;
1191
+ postTown: string;
1192
+ addressId: string;
1193
+ } | null | undefined;
1194
+ }>;
1195
+ currentAddresses: mongoose.Types.DocumentArray<{
1196
+ address?: {
1197
+ number: string;
1198
+ name: string;
1199
+ postcode: string;
1200
+ postTown: string;
1201
+ country: string;
1202
+ street1: string;
1203
+ } | null | undefined;
1204
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1205
+ address?: {
1206
+ number: string;
1207
+ name: string;
1208
+ postcode: string;
1209
+ postTown: string;
1210
+ country: string;
1211
+ street1: string;
1212
+ } | null | undefined;
1213
+ }> & {
1214
+ address?: {
1215
+ number: string;
1216
+ name: string;
1217
+ postcode: string;
1218
+ postTown: string;
1219
+ country: string;
1220
+ street1: string;
1221
+ } | null | undefined;
1222
+ }>;
1223
+ previousSearches: mongoose.Types.DocumentArray<{
1224
+ name: string;
1225
+ dob: string;
1226
+ nameMatchStatus: string;
1227
+ companyType: string;
1228
+ jointApplicant: boolean;
1229
+ searchType: string;
1230
+ searchDate: string;
1231
+ optIn: boolean;
1232
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1233
+ name: string;
1234
+ dob: string;
1235
+ nameMatchStatus: string;
1236
+ companyType: string;
1237
+ jointApplicant: boolean;
1238
+ searchType: string;
1239
+ searchDate: string;
1240
+ optIn: boolean;
1241
+ }> & {
1242
+ name: string;
1243
+ dob: string;
1244
+ nameMatchStatus: string;
1245
+ companyType: string;
1246
+ jointApplicant: boolean;
1247
+ searchType: string;
1248
+ searchDate: string;
1249
+ optIn: boolean;
1250
+ }>;
1251
+ noticeofCorrection: mongoose.Types.DocumentArray<{
1252
+ type: "active" | "historical";
1253
+ noc?: {
1254
+ text: string;
1255
+ name: string;
1256
+ nameMatchStatus: string;
1257
+ dataNoticeCreated: string;
1258
+ } | null | undefined;
1259
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1260
+ type: "active" | "historical";
1261
+ noc?: {
1262
+ text: string;
1263
+ name: string;
1264
+ nameMatchStatus: string;
1265
+ dataNoticeCreated: string;
1266
+ } | null | undefined;
1267
+ }> & {
1268
+ type: "active" | "historical";
1269
+ noc?: {
1270
+ text: string;
1271
+ name: string;
1272
+ nameMatchStatus: string;
1273
+ dataNoticeCreated: string;
1274
+ } | null | undefined;
1275
+ }>;
1276
+ isEquifaxData: boolean;
1277
+ searchCriteriaDifferences: string;
1278
+ }, {}> & {
1279
+ applicantId: mongoose.Types.ObjectId;
1280
+ applicantName: string;
1281
+ isConfirmed: boolean;
1282
+ searchDate: NativeDate;
1283
+ referenceNumber: string;
1284
+ applicantDob: string;
1285
+ requestDate: string;
1286
+ expiredDate: string;
1287
+ hasExpired: boolean;
1288
+ creditDefaults: string;
1289
+ countyCourtJudgment: string;
1290
+ securedArrears: string;
1291
+ unsecuredArrears: string;
1292
+ bankruptcyOrIva: string;
1293
+ notMapped: any;
1294
+ aliasNames: mongoose.Types.DocumentArray<{
1295
+ dob: string;
1296
+ forename: string;
1297
+ surname: string;
1298
+ middlename: string;
1299
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1300
+ dob: string;
1301
+ forename: string;
1302
+ surname: string;
1303
+ middlename: string;
1304
+ }> & {
1305
+ dob: string;
1306
+ forename: string;
1307
+ surname: string;
1308
+ middlename: string;
1309
+ }>;
1310
+ associates: mongoose.Types.DocumentArray<{
1311
+ dob: string;
1312
+ forename: string;
1313
+ surname: string;
1314
+ middlename: string;
1315
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1316
+ dob: string;
1317
+ forename: string;
1318
+ surname: string;
1319
+ middlename: string;
1320
+ }> & {
1321
+ dob: string;
1322
+ forename: string;
1323
+ surname: string;
1324
+ middlename: string;
1325
+ }>;
1326
+ linkedAddressData: mongoose.Types.DocumentArray<{
1327
+ type: string;
1328
+ name: string;
1329
+ dob: string;
1330
+ startDate: string;
1331
+ lastUpdate: string;
1332
+ endDate: string;
1333
+ nameMatchStatus: string;
1334
+ paymentFrequency: string;
1335
+ paymentHistory: mongoose.Types.DocumentArray<{
1336
+ ageInMonths: string;
1337
+ paymentStatus: string;
1338
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1339
+ ageInMonths: string;
1340
+ paymentStatus: string;
1341
+ }> & {
1342
+ ageInMonths: string;
1343
+ paymentStatus: string;
1344
+ }>;
1345
+ startBalance?: {
1346
+ amount: string;
1347
+ currency: string;
1348
+ } | null | undefined;
1349
+ fixedPaymentTerms?: {
1350
+ amount: string;
1351
+ currency: string;
1352
+ } | null | undefined;
1353
+ currentBalance?: {
1354
+ amount: string;
1355
+ currency: string;
1356
+ } | null | undefined;
1357
+ delinquentBalance?: {
1358
+ amount: string;
1359
+ currency: string;
1360
+ } | null | undefined;
1361
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1362
+ type: string;
1363
+ name: string;
1364
+ dob: string;
1365
+ startDate: string;
1366
+ lastUpdate: string;
1367
+ endDate: string;
1368
+ nameMatchStatus: string;
1369
+ paymentFrequency: string;
1370
+ paymentHistory: mongoose.Types.DocumentArray<{
1371
+ ageInMonths: string;
1372
+ paymentStatus: string;
1373
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1374
+ ageInMonths: string;
1375
+ paymentStatus: string;
1376
+ }> & {
1377
+ ageInMonths: string;
1378
+ paymentStatus: string;
1379
+ }>;
1380
+ startBalance?: {
1381
+ amount: string;
1382
+ currency: string;
1383
+ } | null | undefined;
1384
+ fixedPaymentTerms?: {
1385
+ amount: string;
1386
+ currency: string;
1387
+ } | null | undefined;
1388
+ currentBalance?: {
1389
+ amount: string;
1390
+ currency: string;
1391
+ } | null | undefined;
1392
+ delinquentBalance?: {
1393
+ amount: string;
1394
+ currency: string;
1395
+ } | null | undefined;
1396
+ }> & {
1397
+ type: string;
1398
+ name: string;
1399
+ dob: string;
1400
+ startDate: string;
1401
+ lastUpdate: string;
1402
+ endDate: string;
1403
+ nameMatchStatus: string;
1404
+ paymentFrequency: string;
1405
+ paymentHistory: mongoose.Types.DocumentArray<{
1406
+ ageInMonths: string;
1407
+ paymentStatus: string;
1408
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1409
+ ageInMonths: string;
1410
+ paymentStatus: string;
1411
+ }> & {
1412
+ ageInMonths: string;
1413
+ paymentStatus: string;
1414
+ }>;
1415
+ startBalance?: {
1416
+ amount: string;
1417
+ currency: string;
1418
+ } | null | undefined;
1419
+ fixedPaymentTerms?: {
1420
+ amount: string;
1421
+ currency: string;
1422
+ } | null | undefined;
1423
+ currentBalance?: {
1424
+ amount: string;
1425
+ currency: string;
1426
+ } | null | undefined;
1427
+ delinquentBalance?: {
1428
+ amount: string;
1429
+ currency: string;
1430
+ } | null | undefined;
1431
+ }>;
1432
+ suppliedAddressData: mongoose.Types.DocumentArray<{
1433
+ type: string;
1434
+ name: string;
1435
+ dob: string;
1436
+ startDate: string;
1437
+ lastUpdate: string;
1438
+ endDate: string;
1439
+ nameMatchStatus: string;
1440
+ paymentFrequency: string;
1441
+ paymentHistory: mongoose.Types.DocumentArray<{
1442
+ ageInMonths: string;
1443
+ paymentStatus: string;
1444
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1445
+ ageInMonths: string;
1446
+ paymentStatus: string;
1447
+ }> & {
1448
+ ageInMonths: string;
1449
+ paymentStatus: string;
1450
+ }>;
1451
+ startBalance?: {
1452
+ amount: string;
1453
+ currency: string;
1454
+ } | null | undefined;
1455
+ fixedPaymentTerms?: {
1456
+ amount: string;
1457
+ currency: string;
1458
+ } | null | undefined;
1459
+ currentBalance?: {
1460
+ amount: string;
1461
+ currency: string;
1462
+ } | null | undefined;
1463
+ delinquentBalance?: {
1464
+ amount: string;
1465
+ currency: string;
1466
+ } | null | undefined;
1467
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1468
+ type: string;
1469
+ name: string;
1470
+ dob: string;
1471
+ startDate: string;
1472
+ lastUpdate: string;
1473
+ endDate: string;
1474
+ nameMatchStatus: string;
1475
+ paymentFrequency: string;
1476
+ paymentHistory: mongoose.Types.DocumentArray<{
1477
+ ageInMonths: string;
1478
+ paymentStatus: string;
1479
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1480
+ ageInMonths: string;
1481
+ paymentStatus: string;
1482
+ }> & {
1483
+ ageInMonths: string;
1484
+ paymentStatus: string;
1485
+ }>;
1486
+ startBalance?: {
1487
+ amount: string;
1488
+ currency: string;
1489
+ } | null | undefined;
1490
+ fixedPaymentTerms?: {
1491
+ amount: string;
1492
+ currency: string;
1493
+ } | null | undefined;
1494
+ currentBalance?: {
1495
+ amount: string;
1496
+ currency: string;
1497
+ } | null | undefined;
1498
+ delinquentBalance?: {
1499
+ amount: string;
1500
+ currency: string;
1501
+ } | null | undefined;
1502
+ }> & {
1503
+ type: string;
1504
+ name: string;
1505
+ dob: string;
1506
+ startDate: string;
1507
+ lastUpdate: string;
1508
+ endDate: string;
1509
+ nameMatchStatus: string;
1510
+ paymentFrequency: string;
1511
+ paymentHistory: mongoose.Types.DocumentArray<{
1512
+ ageInMonths: string;
1513
+ paymentStatus: string;
1514
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1515
+ ageInMonths: string;
1516
+ paymentStatus: string;
1517
+ }> & {
1518
+ ageInMonths: string;
1519
+ paymentStatus: string;
1520
+ }>;
1521
+ startBalance?: {
1522
+ amount: string;
1523
+ currency: string;
1524
+ } | null | undefined;
1525
+ fixedPaymentTerms?: {
1526
+ amount: string;
1527
+ currency: string;
1528
+ } | null | undefined;
1529
+ currentBalance?: {
1530
+ amount: string;
1531
+ currency: string;
1532
+ } | null | undefined;
1533
+ delinquentBalance?: {
1534
+ amount: string;
1535
+ currency: string;
1536
+ } | null | undefined;
1537
+ }>;
1538
+ accountInformation: mongoose.Types.DocumentArray<{
1539
+ type: string;
1540
+ name: string;
1541
+ dob: string;
1542
+ startDate: string;
1543
+ lastUpdate: string;
1544
+ endDate: string;
1545
+ nameMatchStatus: string;
1546
+ paymentFrequency: string;
1547
+ paymentHistory: mongoose.Types.DocumentArray<{
1548
+ ageInMonths: string;
1549
+ paymentStatus: string;
1550
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1551
+ ageInMonths: string;
1552
+ paymentStatus: string;
1553
+ }> & {
1554
+ ageInMonths: string;
1555
+ paymentStatus: string;
1556
+ }>;
1557
+ startBalance?: {
1558
+ amount: string;
1559
+ currency: string;
1560
+ } | null | undefined;
1561
+ fixedPaymentTerms?: {
1562
+ amount: string;
1563
+ currency: string;
1564
+ } | null | undefined;
1565
+ currentBalance?: {
1566
+ amount: string;
1567
+ currency: string;
1568
+ } | null | undefined;
1569
+ delinquentBalance?: {
1570
+ amount: string;
1571
+ currency: string;
1572
+ } | null | undefined;
1573
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1574
+ type: string;
1575
+ name: string;
1576
+ dob: string;
1577
+ startDate: string;
1578
+ lastUpdate: string;
1579
+ endDate: string;
1580
+ nameMatchStatus: string;
1581
+ paymentFrequency: string;
1582
+ paymentHistory: mongoose.Types.DocumentArray<{
1583
+ ageInMonths: string;
1584
+ paymentStatus: string;
1585
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1586
+ ageInMonths: string;
1587
+ paymentStatus: string;
1588
+ }> & {
1589
+ ageInMonths: string;
1590
+ paymentStatus: string;
1591
+ }>;
1592
+ startBalance?: {
1593
+ amount: string;
1594
+ currency: string;
1595
+ } | null | undefined;
1596
+ fixedPaymentTerms?: {
1597
+ amount: string;
1598
+ currency: string;
1599
+ } | null | undefined;
1600
+ currentBalance?: {
1601
+ amount: string;
1602
+ currency: string;
1603
+ } | null | undefined;
1604
+ delinquentBalance?: {
1605
+ amount: string;
1606
+ currency: string;
1607
+ } | null | undefined;
1608
+ }> & {
1609
+ type: string;
1610
+ name: string;
1611
+ dob: string;
1612
+ startDate: string;
1613
+ lastUpdate: string;
1614
+ endDate: string;
1615
+ nameMatchStatus: string;
1616
+ paymentFrequency: string;
1617
+ paymentHistory: mongoose.Types.DocumentArray<{
1618
+ ageInMonths: string;
1619
+ paymentStatus: string;
1620
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1621
+ ageInMonths: string;
1622
+ paymentStatus: string;
1623
+ }> & {
1624
+ ageInMonths: string;
1625
+ paymentStatus: string;
1626
+ }>;
1627
+ startBalance?: {
1628
+ amount: string;
1629
+ currency: string;
1630
+ } | null | undefined;
1631
+ fixedPaymentTerms?: {
1632
+ amount: string;
1633
+ currency: string;
1634
+ } | null | undefined;
1635
+ currentBalance?: {
1636
+ amount: string;
1637
+ currency: string;
1638
+ } | null | undefined;
1639
+ delinquentBalance?: {
1640
+ amount: string;
1641
+ currency: string;
1642
+ } | null | undefined;
1643
+ }>;
1644
+ accountLinkedInformations: mongoose.Types.DocumentArray<{
1645
+ type: string;
1646
+ name: string;
1647
+ dob: string;
1648
+ startDate: string;
1649
+ lastUpdate: string;
1650
+ endDate: string;
1651
+ nameMatchStatus: string;
1652
+ paymentFrequency: string;
1653
+ paymentHistory: mongoose.Types.DocumentArray<{
1654
+ ageInMonths: string;
1655
+ paymentStatus: string;
1656
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1657
+ ageInMonths: string;
1658
+ paymentStatus: string;
1659
+ }> & {
1660
+ ageInMonths: string;
1661
+ paymentStatus: string;
1662
+ }>;
1663
+ startBalance?: {
1664
+ amount: string;
1665
+ currency: string;
1666
+ } | null | undefined;
1667
+ fixedPaymentTerms?: {
1668
+ amount: string;
1669
+ currency: string;
1670
+ } | null | undefined;
1671
+ currentBalance?: {
1672
+ amount: string;
1673
+ currency: string;
1674
+ } | null | undefined;
1675
+ delinquentBalance?: {
1676
+ amount: string;
1677
+ currency: string;
1678
+ } | null | undefined;
1679
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1680
+ type: string;
1681
+ name: string;
1682
+ dob: string;
1683
+ startDate: string;
1684
+ lastUpdate: string;
1685
+ endDate: string;
1686
+ nameMatchStatus: string;
1687
+ paymentFrequency: string;
1688
+ paymentHistory: mongoose.Types.DocumentArray<{
1689
+ ageInMonths: string;
1690
+ paymentStatus: string;
1691
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1692
+ ageInMonths: string;
1693
+ paymentStatus: string;
1694
+ }> & {
1695
+ ageInMonths: string;
1696
+ paymentStatus: string;
1697
+ }>;
1698
+ startBalance?: {
1699
+ amount: string;
1700
+ currency: string;
1701
+ } | null | undefined;
1702
+ fixedPaymentTerms?: {
1703
+ amount: string;
1704
+ currency: string;
1705
+ } | null | undefined;
1706
+ currentBalance?: {
1707
+ amount: string;
1708
+ currency: string;
1709
+ } | null | undefined;
1710
+ delinquentBalance?: {
1711
+ amount: string;
1712
+ currency: string;
1713
+ } | null | undefined;
1714
+ }> & {
1715
+ type: string;
1716
+ name: string;
1717
+ dob: string;
1718
+ startDate: string;
1719
+ lastUpdate: string;
1720
+ endDate: string;
1721
+ nameMatchStatus: string;
1722
+ paymentFrequency: string;
1723
+ paymentHistory: mongoose.Types.DocumentArray<{
1724
+ ageInMonths: string;
1725
+ paymentStatus: string;
1726
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1727
+ ageInMonths: string;
1728
+ paymentStatus: string;
1729
+ }> & {
1730
+ ageInMonths: string;
1731
+ paymentStatus: string;
1732
+ }>;
1733
+ startBalance?: {
1734
+ amount: string;
1735
+ currency: string;
1736
+ } | null | undefined;
1737
+ fixedPaymentTerms?: {
1738
+ amount: string;
1739
+ currency: string;
1740
+ } | null | undefined;
1741
+ currentBalance?: {
1742
+ amount: string;
1743
+ currency: string;
1744
+ } | null | undefined;
1745
+ delinquentBalance?: {
1746
+ amount: string;
1747
+ currency: string;
1748
+ } | null | undefined;
1749
+ }>;
1750
+ electoralInformation: mongoose.Types.DocumentArray<{
1751
+ name: string;
1752
+ startDate: string;
1753
+ endDate: string;
1754
+ nameMatchStatus: string;
1755
+ seniority: string;
1756
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1757
+ name: string;
1758
+ startDate: string;
1759
+ endDate: string;
1760
+ nameMatchStatus: string;
1761
+ seniority: string;
1762
+ }> & {
1763
+ name: string;
1764
+ startDate: string;
1765
+ endDate: string;
1766
+ nameMatchStatus: string;
1767
+ seniority: string;
1768
+ }>;
1769
+ electoralLinkedInformations: mongoose.Types.DocumentArray<{
1770
+ name: string;
1771
+ startDate: string;
1772
+ endDate: string;
1773
+ nameMatchStatus: string;
1774
+ seniority: string;
1775
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1776
+ name: string;
1777
+ startDate: string;
1778
+ endDate: string;
1779
+ nameMatchStatus: string;
1780
+ seniority: string;
1781
+ }> & {
1782
+ name: string;
1783
+ startDate: string;
1784
+ endDate: string;
1785
+ nameMatchStatus: string;
1786
+ seniority: string;
1787
+ }>;
1788
+ linkedAddresses: mongoose.Types.DocumentArray<{
1789
+ type: "current" | "previous";
1790
+ address?: {
1791
+ number: string;
1792
+ street: string;
1793
+ county: string;
1794
+ postcode: string;
1795
+ postTown: string;
1796
+ addressId: string;
1797
+ } | null | undefined;
1798
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1799
+ type: "current" | "previous";
1800
+ address?: {
1801
+ number: string;
1802
+ street: string;
1803
+ county: string;
1804
+ postcode: string;
1805
+ postTown: string;
1806
+ addressId: string;
1807
+ } | null | undefined;
1808
+ }> & {
1809
+ type: "current" | "previous";
1810
+ address?: {
1811
+ number: string;
1812
+ street: string;
1813
+ county: string;
1814
+ postcode: string;
1815
+ postTown: string;
1816
+ addressId: string;
1817
+ } | null | undefined;
1818
+ }>;
1819
+ currentAddresses: mongoose.Types.DocumentArray<{
1820
+ address?: {
1821
+ number: string;
1822
+ name: string;
1823
+ postcode: string;
1824
+ postTown: string;
1825
+ country: string;
1826
+ street1: string;
1827
+ } | null | undefined;
1828
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1829
+ address?: {
1830
+ number: string;
1831
+ name: string;
1832
+ postcode: string;
1833
+ postTown: string;
1834
+ country: string;
1835
+ street1: string;
1836
+ } | null | undefined;
1837
+ }> & {
1838
+ address?: {
1839
+ number: string;
1840
+ name: string;
1841
+ postcode: string;
1842
+ postTown: string;
1843
+ country: string;
1844
+ street1: string;
1845
+ } | null | undefined;
1846
+ }>;
1847
+ previousSearches: mongoose.Types.DocumentArray<{
1848
+ name: string;
1849
+ dob: string;
1850
+ nameMatchStatus: string;
1851
+ companyType: string;
1852
+ jointApplicant: boolean;
1853
+ searchType: string;
1854
+ searchDate: string;
1855
+ optIn: boolean;
1856
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1857
+ name: string;
1858
+ dob: string;
1859
+ nameMatchStatus: string;
1860
+ companyType: string;
1861
+ jointApplicant: boolean;
1862
+ searchType: string;
1863
+ searchDate: string;
1864
+ optIn: boolean;
1865
+ }> & {
1866
+ name: string;
1867
+ dob: string;
1868
+ nameMatchStatus: string;
1869
+ companyType: string;
1870
+ jointApplicant: boolean;
1871
+ searchType: string;
1872
+ searchDate: string;
1873
+ optIn: boolean;
1874
+ }>;
1875
+ noticeofCorrection: mongoose.Types.DocumentArray<{
1876
+ type: "active" | "historical";
1877
+ noc?: {
1878
+ text: string;
1879
+ name: string;
1880
+ nameMatchStatus: string;
1881
+ dataNoticeCreated: string;
1882
+ } | null | undefined;
1883
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1884
+ type: "active" | "historical";
1885
+ noc?: {
1886
+ text: string;
1887
+ name: string;
1888
+ nameMatchStatus: string;
1889
+ dataNoticeCreated: string;
1890
+ } | null | undefined;
1891
+ }> & {
1892
+ type: "active" | "historical";
1893
+ noc?: {
1894
+ text: string;
1895
+ name: string;
1896
+ nameMatchStatus: string;
1897
+ dataNoticeCreated: string;
1898
+ } | null | undefined;
1899
+ }>;
1900
+ isEquifaxData: boolean;
1901
+ searchCriteriaDifferences: string;
1902
+ } & {
1903
+ _id: mongoose.Types.ObjectId;
1904
+ } & {
1905
+ __v: number;
1906
+ }, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
1907
+ applicantId: mongoose.Types.ObjectId;
1908
+ applicantName: string;
1909
+ isConfirmed: boolean;
1910
+ searchDate: NativeDate;
1911
+ referenceNumber: string;
1912
+ applicantDob: string;
1913
+ requestDate: string;
1914
+ expiredDate: string;
1915
+ hasExpired: boolean;
1916
+ creditDefaults: string;
1917
+ countyCourtJudgment: string;
1918
+ securedArrears: string;
1919
+ unsecuredArrears: string;
1920
+ bankruptcyOrIva: string;
1921
+ notMapped: any;
1922
+ aliasNames: mongoose.Types.DocumentArray<{
1923
+ dob: string;
1924
+ forename: string;
1925
+ surname: string;
1926
+ middlename: string;
1927
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1928
+ dob: string;
1929
+ forename: string;
1930
+ surname: string;
1931
+ middlename: string;
1932
+ }> & {
1933
+ dob: string;
1934
+ forename: string;
1935
+ surname: string;
1936
+ middlename: string;
1937
+ }>;
1938
+ associates: mongoose.Types.DocumentArray<{
1939
+ dob: string;
1940
+ forename: string;
1941
+ surname: string;
1942
+ middlename: string;
1943
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1944
+ dob: string;
1945
+ forename: string;
1946
+ surname: string;
1947
+ middlename: string;
1948
+ }> & {
1949
+ dob: string;
1950
+ forename: string;
1951
+ surname: string;
1952
+ middlename: string;
1953
+ }>;
1954
+ linkedAddressData: mongoose.Types.DocumentArray<{
1955
+ type: string;
1956
+ name: string;
1957
+ dob: string;
1958
+ startDate: string;
1959
+ lastUpdate: string;
1960
+ endDate: string;
1961
+ nameMatchStatus: string;
1962
+ paymentFrequency: string;
1963
+ paymentHistory: mongoose.Types.DocumentArray<{
1964
+ ageInMonths: string;
1965
+ paymentStatus: string;
1966
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1967
+ ageInMonths: string;
1968
+ paymentStatus: string;
1969
+ }> & {
1970
+ ageInMonths: string;
1971
+ paymentStatus: string;
1972
+ }>;
1973
+ startBalance?: {
1974
+ amount: string;
1975
+ currency: string;
1976
+ } | null | undefined;
1977
+ fixedPaymentTerms?: {
1978
+ amount: string;
1979
+ currency: string;
1980
+ } | null | undefined;
1981
+ currentBalance?: {
1982
+ amount: string;
1983
+ currency: string;
1984
+ } | null | undefined;
1985
+ delinquentBalance?: {
1986
+ amount: string;
1987
+ currency: string;
1988
+ } | null | undefined;
1989
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1990
+ type: string;
1991
+ name: string;
1992
+ dob: string;
1993
+ startDate: string;
1994
+ lastUpdate: string;
1995
+ endDate: string;
1996
+ nameMatchStatus: string;
1997
+ paymentFrequency: string;
1998
+ paymentHistory: mongoose.Types.DocumentArray<{
1999
+ ageInMonths: string;
2000
+ paymentStatus: string;
2001
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
2002
+ ageInMonths: string;
2003
+ paymentStatus: string;
2004
+ }> & {
2005
+ ageInMonths: string;
2006
+ paymentStatus: string;
2007
+ }>;
2008
+ startBalance?: {
2009
+ amount: string;
2010
+ currency: string;
2011
+ } | null | undefined;
2012
+ fixedPaymentTerms?: {
2013
+ amount: string;
2014
+ currency: string;
2015
+ } | null | undefined;
2016
+ currentBalance?: {
2017
+ amount: string;
2018
+ currency: string;
2019
+ } | null | undefined;
2020
+ delinquentBalance?: {
2021
+ amount: string;
2022
+ currency: string;
2023
+ } | null | undefined;
2024
+ }> & {
2025
+ type: string;
2026
+ name: string;
2027
+ dob: string;
2028
+ startDate: string;
2029
+ lastUpdate: string;
2030
+ endDate: string;
2031
+ nameMatchStatus: string;
2032
+ paymentFrequency: string;
2033
+ paymentHistory: mongoose.Types.DocumentArray<{
2034
+ ageInMonths: string;
2035
+ paymentStatus: string;
2036
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
2037
+ ageInMonths: string;
2038
+ paymentStatus: string;
2039
+ }> & {
2040
+ ageInMonths: string;
2041
+ paymentStatus: string;
2042
+ }>;
2043
+ startBalance?: {
2044
+ amount: string;
2045
+ currency: string;
2046
+ } | null | undefined;
2047
+ fixedPaymentTerms?: {
2048
+ amount: string;
2049
+ currency: string;
2050
+ } | null | undefined;
2051
+ currentBalance?: {
2052
+ amount: string;
2053
+ currency: string;
2054
+ } | null | undefined;
2055
+ delinquentBalance?: {
2056
+ amount: string;
2057
+ currency: string;
2058
+ } | null | undefined;
2059
+ }>;
2060
+ suppliedAddressData: mongoose.Types.DocumentArray<{
2061
+ type: string;
2062
+ name: string;
2063
+ dob: string;
2064
+ startDate: string;
2065
+ lastUpdate: string;
2066
+ endDate: string;
2067
+ nameMatchStatus: string;
2068
+ paymentFrequency: string;
2069
+ paymentHistory: mongoose.Types.DocumentArray<{
2070
+ ageInMonths: string;
2071
+ paymentStatus: string;
2072
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
2073
+ ageInMonths: string;
2074
+ paymentStatus: string;
2075
+ }> & {
2076
+ ageInMonths: string;
2077
+ paymentStatus: string;
2078
+ }>;
2079
+ startBalance?: {
2080
+ amount: string;
2081
+ currency: string;
2082
+ } | null | undefined;
2083
+ fixedPaymentTerms?: {
2084
+ amount: string;
2085
+ currency: string;
2086
+ } | null | undefined;
2087
+ currentBalance?: {
2088
+ amount: string;
2089
+ currency: string;
2090
+ } | null | undefined;
2091
+ delinquentBalance?: {
2092
+ amount: string;
2093
+ currency: string;
2094
+ } | null | undefined;
2095
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
2096
+ type: string;
2097
+ name: string;
2098
+ dob: string;
2099
+ startDate: string;
2100
+ lastUpdate: string;
2101
+ endDate: string;
2102
+ nameMatchStatus: string;
2103
+ paymentFrequency: string;
2104
+ paymentHistory: mongoose.Types.DocumentArray<{
2105
+ ageInMonths: string;
2106
+ paymentStatus: string;
2107
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
2108
+ ageInMonths: string;
2109
+ paymentStatus: string;
2110
+ }> & {
2111
+ ageInMonths: string;
2112
+ paymentStatus: string;
2113
+ }>;
2114
+ startBalance?: {
2115
+ amount: string;
2116
+ currency: string;
2117
+ } | null | undefined;
2118
+ fixedPaymentTerms?: {
2119
+ amount: string;
2120
+ currency: string;
2121
+ } | null | undefined;
2122
+ currentBalance?: {
2123
+ amount: string;
2124
+ currency: string;
2125
+ } | null | undefined;
2126
+ delinquentBalance?: {
2127
+ amount: string;
2128
+ currency: string;
2129
+ } | null | undefined;
2130
+ }> & {
2131
+ type: string;
2132
+ name: string;
2133
+ dob: string;
2134
+ startDate: string;
2135
+ lastUpdate: string;
2136
+ endDate: string;
2137
+ nameMatchStatus: string;
2138
+ paymentFrequency: string;
2139
+ paymentHistory: mongoose.Types.DocumentArray<{
2140
+ ageInMonths: string;
2141
+ paymentStatus: string;
2142
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
2143
+ ageInMonths: string;
2144
+ paymentStatus: string;
2145
+ }> & {
2146
+ ageInMonths: string;
2147
+ paymentStatus: string;
2148
+ }>;
2149
+ startBalance?: {
2150
+ amount: string;
2151
+ currency: string;
2152
+ } | null | undefined;
2153
+ fixedPaymentTerms?: {
2154
+ amount: string;
2155
+ currency: string;
2156
+ } | null | undefined;
2157
+ currentBalance?: {
2158
+ amount: string;
2159
+ currency: string;
2160
+ } | null | undefined;
2161
+ delinquentBalance?: {
2162
+ amount: string;
2163
+ currency: string;
2164
+ } | null | undefined;
2165
+ }>;
2166
+ accountInformation: mongoose.Types.DocumentArray<{
2167
+ type: string;
2168
+ name: string;
2169
+ dob: string;
2170
+ startDate: string;
2171
+ lastUpdate: string;
2172
+ endDate: string;
2173
+ nameMatchStatus: string;
2174
+ paymentFrequency: string;
2175
+ paymentHistory: mongoose.Types.DocumentArray<{
2176
+ ageInMonths: string;
2177
+ paymentStatus: string;
2178
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
2179
+ ageInMonths: string;
2180
+ paymentStatus: string;
2181
+ }> & {
2182
+ ageInMonths: string;
2183
+ paymentStatus: string;
2184
+ }>;
2185
+ startBalance?: {
2186
+ amount: string;
2187
+ currency: string;
2188
+ } | null | undefined;
2189
+ fixedPaymentTerms?: {
2190
+ amount: string;
2191
+ currency: string;
2192
+ } | null | undefined;
2193
+ currentBalance?: {
2194
+ amount: string;
2195
+ currency: string;
2196
+ } | null | undefined;
2197
+ delinquentBalance?: {
2198
+ amount: string;
2199
+ currency: string;
2200
+ } | null | undefined;
2201
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
2202
+ type: string;
2203
+ name: string;
2204
+ dob: string;
2205
+ startDate: string;
2206
+ lastUpdate: string;
2207
+ endDate: string;
2208
+ nameMatchStatus: string;
2209
+ paymentFrequency: string;
2210
+ paymentHistory: mongoose.Types.DocumentArray<{
2211
+ ageInMonths: string;
2212
+ paymentStatus: string;
2213
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
2214
+ ageInMonths: string;
2215
+ paymentStatus: string;
2216
+ }> & {
2217
+ ageInMonths: string;
2218
+ paymentStatus: string;
2219
+ }>;
2220
+ startBalance?: {
2221
+ amount: string;
2222
+ currency: string;
2223
+ } | null | undefined;
2224
+ fixedPaymentTerms?: {
2225
+ amount: string;
2226
+ currency: string;
2227
+ } | null | undefined;
2228
+ currentBalance?: {
2229
+ amount: string;
2230
+ currency: string;
2231
+ } | null | undefined;
2232
+ delinquentBalance?: {
2233
+ amount: string;
2234
+ currency: string;
2235
+ } | null | undefined;
2236
+ }> & {
2237
+ type: string;
2238
+ name: string;
2239
+ dob: string;
2240
+ startDate: string;
2241
+ lastUpdate: string;
2242
+ endDate: string;
2243
+ nameMatchStatus: string;
2244
+ paymentFrequency: string;
2245
+ paymentHistory: mongoose.Types.DocumentArray<{
2246
+ ageInMonths: string;
2247
+ paymentStatus: string;
2248
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
2249
+ ageInMonths: string;
2250
+ paymentStatus: string;
2251
+ }> & {
2252
+ ageInMonths: string;
2253
+ paymentStatus: string;
2254
+ }>;
2255
+ startBalance?: {
2256
+ amount: string;
2257
+ currency: string;
2258
+ } | null | undefined;
2259
+ fixedPaymentTerms?: {
2260
+ amount: string;
2261
+ currency: string;
2262
+ } | null | undefined;
2263
+ currentBalance?: {
2264
+ amount: string;
2265
+ currency: string;
2266
+ } | null | undefined;
2267
+ delinquentBalance?: {
2268
+ amount: string;
2269
+ currency: string;
2270
+ } | null | undefined;
2271
+ }>;
2272
+ accountLinkedInformations: mongoose.Types.DocumentArray<{
2273
+ type: string;
2274
+ name: string;
2275
+ dob: string;
2276
+ startDate: string;
2277
+ lastUpdate: string;
2278
+ endDate: string;
2279
+ nameMatchStatus: string;
2280
+ paymentFrequency: string;
2281
+ paymentHistory: mongoose.Types.DocumentArray<{
2282
+ ageInMonths: string;
2283
+ paymentStatus: string;
2284
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
2285
+ ageInMonths: string;
2286
+ paymentStatus: string;
2287
+ }> & {
2288
+ ageInMonths: string;
2289
+ paymentStatus: string;
2290
+ }>;
2291
+ startBalance?: {
2292
+ amount: string;
2293
+ currency: string;
2294
+ } | null | undefined;
2295
+ fixedPaymentTerms?: {
2296
+ amount: string;
2297
+ currency: string;
2298
+ } | null | undefined;
2299
+ currentBalance?: {
2300
+ amount: string;
2301
+ currency: string;
2302
+ } | null | undefined;
2303
+ delinquentBalance?: {
2304
+ amount: string;
2305
+ currency: string;
2306
+ } | null | undefined;
2307
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
2308
+ type: string;
2309
+ name: string;
2310
+ dob: string;
2311
+ startDate: string;
2312
+ lastUpdate: string;
2313
+ endDate: string;
2314
+ nameMatchStatus: string;
2315
+ paymentFrequency: string;
2316
+ paymentHistory: mongoose.Types.DocumentArray<{
2317
+ ageInMonths: string;
2318
+ paymentStatus: string;
2319
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
2320
+ ageInMonths: string;
2321
+ paymentStatus: string;
2322
+ }> & {
2323
+ ageInMonths: string;
2324
+ paymentStatus: string;
2325
+ }>;
2326
+ startBalance?: {
2327
+ amount: string;
2328
+ currency: string;
2329
+ } | null | undefined;
2330
+ fixedPaymentTerms?: {
2331
+ amount: string;
2332
+ currency: string;
2333
+ } | null | undefined;
2334
+ currentBalance?: {
2335
+ amount: string;
2336
+ currency: string;
2337
+ } | null | undefined;
2338
+ delinquentBalance?: {
2339
+ amount: string;
2340
+ currency: string;
2341
+ } | null | undefined;
2342
+ }> & {
2343
+ type: string;
2344
+ name: string;
2345
+ dob: string;
2346
+ startDate: string;
2347
+ lastUpdate: string;
2348
+ endDate: string;
2349
+ nameMatchStatus: string;
2350
+ paymentFrequency: string;
2351
+ paymentHistory: mongoose.Types.DocumentArray<{
2352
+ ageInMonths: string;
2353
+ paymentStatus: string;
2354
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
2355
+ ageInMonths: string;
2356
+ paymentStatus: string;
2357
+ }> & {
2358
+ ageInMonths: string;
2359
+ paymentStatus: string;
2360
+ }>;
2361
+ startBalance?: {
2362
+ amount: string;
2363
+ currency: string;
2364
+ } | null | undefined;
2365
+ fixedPaymentTerms?: {
2366
+ amount: string;
2367
+ currency: string;
2368
+ } | null | undefined;
2369
+ currentBalance?: {
2370
+ amount: string;
2371
+ currency: string;
2372
+ } | null | undefined;
2373
+ delinquentBalance?: {
2374
+ amount: string;
2375
+ currency: string;
2376
+ } | null | undefined;
2377
+ }>;
2378
+ electoralInformation: mongoose.Types.DocumentArray<{
2379
+ name: string;
2380
+ startDate: string;
2381
+ endDate: string;
2382
+ nameMatchStatus: string;
2383
+ seniority: string;
2384
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
2385
+ name: string;
2386
+ startDate: string;
2387
+ endDate: string;
2388
+ nameMatchStatus: string;
2389
+ seniority: string;
2390
+ }> & {
2391
+ name: string;
2392
+ startDate: string;
2393
+ endDate: string;
2394
+ nameMatchStatus: string;
2395
+ seniority: string;
2396
+ }>;
2397
+ electoralLinkedInformations: mongoose.Types.DocumentArray<{
2398
+ name: string;
2399
+ startDate: string;
2400
+ endDate: string;
2401
+ nameMatchStatus: string;
2402
+ seniority: string;
2403
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
2404
+ name: string;
2405
+ startDate: string;
2406
+ endDate: string;
2407
+ nameMatchStatus: string;
2408
+ seniority: string;
2409
+ }> & {
2410
+ name: string;
2411
+ startDate: string;
2412
+ endDate: string;
2413
+ nameMatchStatus: string;
2414
+ seniority: string;
2415
+ }>;
2416
+ linkedAddresses: mongoose.Types.DocumentArray<{
2417
+ type: "current" | "previous";
2418
+ address?: {
2419
+ number: string;
2420
+ street: string;
2421
+ county: string;
2422
+ postcode: string;
2423
+ postTown: string;
2424
+ addressId: string;
2425
+ } | null | undefined;
2426
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
2427
+ type: "current" | "previous";
2428
+ address?: {
2429
+ number: string;
2430
+ street: string;
2431
+ county: string;
2432
+ postcode: string;
2433
+ postTown: string;
2434
+ addressId: string;
2435
+ } | null | undefined;
2436
+ }> & {
2437
+ type: "current" | "previous";
2438
+ address?: {
2439
+ number: string;
2440
+ street: string;
2441
+ county: string;
2442
+ postcode: string;
2443
+ postTown: string;
2444
+ addressId: string;
2445
+ } | null | undefined;
2446
+ }>;
2447
+ currentAddresses: mongoose.Types.DocumentArray<{
2448
+ address?: {
2449
+ number: string;
2450
+ name: string;
2451
+ postcode: string;
2452
+ postTown: string;
2453
+ country: string;
2454
+ street1: string;
2455
+ } | null | undefined;
2456
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
2457
+ address?: {
2458
+ number: string;
2459
+ name: string;
2460
+ postcode: string;
2461
+ postTown: string;
2462
+ country: string;
2463
+ street1: string;
2464
+ } | null | undefined;
2465
+ }> & {
2466
+ address?: {
2467
+ number: string;
2468
+ name: string;
2469
+ postcode: string;
2470
+ postTown: string;
2471
+ country: string;
2472
+ street1: string;
2473
+ } | null | undefined;
2474
+ }>;
2475
+ previousSearches: mongoose.Types.DocumentArray<{
2476
+ name: string;
2477
+ dob: string;
2478
+ nameMatchStatus: string;
2479
+ companyType: string;
2480
+ jointApplicant: boolean;
2481
+ searchType: string;
2482
+ searchDate: string;
2483
+ optIn: boolean;
2484
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
2485
+ name: string;
2486
+ dob: string;
2487
+ nameMatchStatus: string;
2488
+ companyType: string;
2489
+ jointApplicant: boolean;
2490
+ searchType: string;
2491
+ searchDate: string;
2492
+ optIn: boolean;
2493
+ }> & {
2494
+ name: string;
2495
+ dob: string;
2496
+ nameMatchStatus: string;
2497
+ companyType: string;
2498
+ jointApplicant: boolean;
2499
+ searchType: string;
2500
+ searchDate: string;
2501
+ optIn: boolean;
2502
+ }>;
2503
+ noticeofCorrection: mongoose.Types.DocumentArray<{
2504
+ type: "active" | "historical";
2505
+ noc?: {
2506
+ text: string;
2507
+ name: string;
2508
+ nameMatchStatus: string;
2509
+ dataNoticeCreated: string;
2510
+ } | null | undefined;
2511
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
2512
+ type: "active" | "historical";
2513
+ noc?: {
2514
+ text: string;
2515
+ name: string;
2516
+ nameMatchStatus: string;
2517
+ dataNoticeCreated: string;
2518
+ } | null | undefined;
2519
+ }> & {
2520
+ type: "active" | "historical";
2521
+ noc?: {
2522
+ text: string;
2523
+ name: string;
2524
+ nameMatchStatus: string;
2525
+ dataNoticeCreated: string;
2526
+ } | null | undefined;
2527
+ }>;
2528
+ isEquifaxData: boolean;
2529
+ searchCriteriaDifferences: string;
2530
+ }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
2531
+ applicantId: mongoose.Types.ObjectId;
2532
+ applicantName: string;
2533
+ isConfirmed: boolean;
2534
+ searchDate: NativeDate;
2535
+ referenceNumber: string;
2536
+ applicantDob: string;
2537
+ requestDate: string;
2538
+ expiredDate: string;
2539
+ hasExpired: boolean;
2540
+ creditDefaults: string;
2541
+ countyCourtJudgment: string;
2542
+ securedArrears: string;
2543
+ unsecuredArrears: string;
2544
+ bankruptcyOrIva: string;
2545
+ notMapped: any;
2546
+ aliasNames: mongoose.Types.DocumentArray<{
2547
+ dob: string;
2548
+ forename: string;
2549
+ surname: string;
2550
+ middlename: string;
2551
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
2552
+ dob: string;
2553
+ forename: string;
2554
+ surname: string;
2555
+ middlename: string;
2556
+ }> & {
2557
+ dob: string;
2558
+ forename: string;
2559
+ surname: string;
2560
+ middlename: string;
2561
+ }>;
2562
+ associates: mongoose.Types.DocumentArray<{
2563
+ dob: string;
2564
+ forename: string;
2565
+ surname: string;
2566
+ middlename: string;
2567
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
2568
+ dob: string;
2569
+ forename: string;
2570
+ surname: string;
2571
+ middlename: string;
2572
+ }> & {
2573
+ dob: string;
2574
+ forename: string;
2575
+ surname: string;
2576
+ middlename: string;
2577
+ }>;
2578
+ linkedAddressData: mongoose.Types.DocumentArray<{
2579
+ type: string;
2580
+ name: string;
2581
+ dob: string;
2582
+ startDate: string;
2583
+ lastUpdate: string;
2584
+ endDate: string;
2585
+ nameMatchStatus: string;
2586
+ paymentFrequency: string;
2587
+ paymentHistory: mongoose.Types.DocumentArray<{
2588
+ ageInMonths: string;
2589
+ paymentStatus: string;
2590
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
2591
+ ageInMonths: string;
2592
+ paymentStatus: string;
2593
+ }> & {
2594
+ ageInMonths: string;
2595
+ paymentStatus: string;
2596
+ }>;
2597
+ startBalance?: {
2598
+ amount: string;
2599
+ currency: string;
2600
+ } | null | undefined;
2601
+ fixedPaymentTerms?: {
2602
+ amount: string;
2603
+ currency: string;
2604
+ } | null | undefined;
2605
+ currentBalance?: {
2606
+ amount: string;
2607
+ currency: string;
2608
+ } | null | undefined;
2609
+ delinquentBalance?: {
2610
+ amount: string;
2611
+ currency: string;
2612
+ } | null | undefined;
2613
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
2614
+ type: string;
2615
+ name: string;
2616
+ dob: string;
2617
+ startDate: string;
2618
+ lastUpdate: string;
2619
+ endDate: string;
2620
+ nameMatchStatus: string;
2621
+ paymentFrequency: string;
2622
+ paymentHistory: mongoose.Types.DocumentArray<{
2623
+ ageInMonths: string;
2624
+ paymentStatus: string;
2625
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
2626
+ ageInMonths: string;
2627
+ paymentStatus: string;
2628
+ }> & {
2629
+ ageInMonths: string;
2630
+ paymentStatus: string;
2631
+ }>;
2632
+ startBalance?: {
2633
+ amount: string;
2634
+ currency: string;
2635
+ } | null | undefined;
2636
+ fixedPaymentTerms?: {
2637
+ amount: string;
2638
+ currency: string;
2639
+ } | null | undefined;
2640
+ currentBalance?: {
2641
+ amount: string;
2642
+ currency: string;
2643
+ } | null | undefined;
2644
+ delinquentBalance?: {
2645
+ amount: string;
2646
+ currency: string;
2647
+ } | null | undefined;
2648
+ }> & {
2649
+ type: string;
2650
+ name: string;
2651
+ dob: string;
2652
+ startDate: string;
2653
+ lastUpdate: string;
2654
+ endDate: string;
2655
+ nameMatchStatus: string;
2656
+ paymentFrequency: string;
2657
+ paymentHistory: mongoose.Types.DocumentArray<{
2658
+ ageInMonths: string;
2659
+ paymentStatus: string;
2660
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
2661
+ ageInMonths: string;
2662
+ paymentStatus: string;
2663
+ }> & {
2664
+ ageInMonths: string;
2665
+ paymentStatus: string;
2666
+ }>;
2667
+ startBalance?: {
2668
+ amount: string;
2669
+ currency: string;
2670
+ } | null | undefined;
2671
+ fixedPaymentTerms?: {
2672
+ amount: string;
2673
+ currency: string;
2674
+ } | null | undefined;
2675
+ currentBalance?: {
2676
+ amount: string;
2677
+ currency: string;
2678
+ } | null | undefined;
2679
+ delinquentBalance?: {
2680
+ amount: string;
2681
+ currency: string;
2682
+ } | null | undefined;
2683
+ }>;
2684
+ suppliedAddressData: mongoose.Types.DocumentArray<{
2685
+ type: string;
2686
+ name: string;
2687
+ dob: string;
2688
+ startDate: string;
2689
+ lastUpdate: string;
2690
+ endDate: string;
2691
+ nameMatchStatus: string;
2692
+ paymentFrequency: string;
2693
+ paymentHistory: mongoose.Types.DocumentArray<{
2694
+ ageInMonths: string;
2695
+ paymentStatus: string;
2696
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
2697
+ ageInMonths: string;
2698
+ paymentStatus: string;
2699
+ }> & {
2700
+ ageInMonths: string;
2701
+ paymentStatus: string;
2702
+ }>;
2703
+ startBalance?: {
2704
+ amount: string;
2705
+ currency: string;
2706
+ } | null | undefined;
2707
+ fixedPaymentTerms?: {
2708
+ amount: string;
2709
+ currency: string;
2710
+ } | null | undefined;
2711
+ currentBalance?: {
2712
+ amount: string;
2713
+ currency: string;
2714
+ } | null | undefined;
2715
+ delinquentBalance?: {
2716
+ amount: string;
2717
+ currency: string;
2718
+ } | null | undefined;
2719
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
2720
+ type: string;
2721
+ name: string;
2722
+ dob: string;
2723
+ startDate: string;
2724
+ lastUpdate: string;
2725
+ endDate: string;
2726
+ nameMatchStatus: string;
2727
+ paymentFrequency: string;
2728
+ paymentHistory: mongoose.Types.DocumentArray<{
2729
+ ageInMonths: string;
2730
+ paymentStatus: string;
2731
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
2732
+ ageInMonths: string;
2733
+ paymentStatus: string;
2734
+ }> & {
2735
+ ageInMonths: string;
2736
+ paymentStatus: string;
2737
+ }>;
2738
+ startBalance?: {
2739
+ amount: string;
2740
+ currency: string;
2741
+ } | null | undefined;
2742
+ fixedPaymentTerms?: {
2743
+ amount: string;
2744
+ currency: string;
2745
+ } | null | undefined;
2746
+ currentBalance?: {
2747
+ amount: string;
2748
+ currency: string;
2749
+ } | null | undefined;
2750
+ delinquentBalance?: {
2751
+ amount: string;
2752
+ currency: string;
2753
+ } | null | undefined;
2754
+ }> & {
2755
+ type: string;
2756
+ name: string;
2757
+ dob: string;
2758
+ startDate: string;
2759
+ lastUpdate: string;
2760
+ endDate: string;
2761
+ nameMatchStatus: string;
2762
+ paymentFrequency: string;
2763
+ paymentHistory: mongoose.Types.DocumentArray<{
2764
+ ageInMonths: string;
2765
+ paymentStatus: string;
2766
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
2767
+ ageInMonths: string;
2768
+ paymentStatus: string;
2769
+ }> & {
2770
+ ageInMonths: string;
2771
+ paymentStatus: string;
2772
+ }>;
2773
+ startBalance?: {
2774
+ amount: string;
2775
+ currency: string;
2776
+ } | null | undefined;
2777
+ fixedPaymentTerms?: {
2778
+ amount: string;
2779
+ currency: string;
2780
+ } | null | undefined;
2781
+ currentBalance?: {
2782
+ amount: string;
2783
+ currency: string;
2784
+ } | null | undefined;
2785
+ delinquentBalance?: {
2786
+ amount: string;
2787
+ currency: string;
2788
+ } | null | undefined;
2789
+ }>;
2790
+ accountInformation: mongoose.Types.DocumentArray<{
2791
+ type: string;
2792
+ name: string;
2793
+ dob: string;
2794
+ startDate: string;
2795
+ lastUpdate: string;
2796
+ endDate: string;
2797
+ nameMatchStatus: string;
2798
+ paymentFrequency: string;
2799
+ paymentHistory: mongoose.Types.DocumentArray<{
2800
+ ageInMonths: string;
2801
+ paymentStatus: string;
2802
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
2803
+ ageInMonths: string;
2804
+ paymentStatus: string;
2805
+ }> & {
2806
+ ageInMonths: string;
2807
+ paymentStatus: string;
2808
+ }>;
2809
+ startBalance?: {
2810
+ amount: string;
2811
+ currency: string;
2812
+ } | null | undefined;
2813
+ fixedPaymentTerms?: {
2814
+ amount: string;
2815
+ currency: string;
2816
+ } | null | undefined;
2817
+ currentBalance?: {
2818
+ amount: string;
2819
+ currency: string;
2820
+ } | null | undefined;
2821
+ delinquentBalance?: {
2822
+ amount: string;
2823
+ currency: string;
2824
+ } | null | undefined;
2825
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
2826
+ type: string;
2827
+ name: string;
2828
+ dob: string;
2829
+ startDate: string;
2830
+ lastUpdate: string;
2831
+ endDate: string;
2832
+ nameMatchStatus: string;
2833
+ paymentFrequency: string;
2834
+ paymentHistory: mongoose.Types.DocumentArray<{
2835
+ ageInMonths: string;
2836
+ paymentStatus: string;
2837
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
2838
+ ageInMonths: string;
2839
+ paymentStatus: string;
2840
+ }> & {
2841
+ ageInMonths: string;
2842
+ paymentStatus: string;
2843
+ }>;
2844
+ startBalance?: {
2845
+ amount: string;
2846
+ currency: string;
2847
+ } | null | undefined;
2848
+ fixedPaymentTerms?: {
2849
+ amount: string;
2850
+ currency: string;
2851
+ } | null | undefined;
2852
+ currentBalance?: {
2853
+ amount: string;
2854
+ currency: string;
2855
+ } | null | undefined;
2856
+ delinquentBalance?: {
2857
+ amount: string;
2858
+ currency: string;
2859
+ } | null | undefined;
2860
+ }> & {
2861
+ type: string;
2862
+ name: string;
2863
+ dob: string;
2864
+ startDate: string;
2865
+ lastUpdate: string;
2866
+ endDate: string;
2867
+ nameMatchStatus: string;
2868
+ paymentFrequency: string;
2869
+ paymentHistory: mongoose.Types.DocumentArray<{
2870
+ ageInMonths: string;
2871
+ paymentStatus: string;
2872
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
2873
+ ageInMonths: string;
2874
+ paymentStatus: string;
2875
+ }> & {
2876
+ ageInMonths: string;
2877
+ paymentStatus: string;
2878
+ }>;
2879
+ startBalance?: {
2880
+ amount: string;
2881
+ currency: string;
2882
+ } | null | undefined;
2883
+ fixedPaymentTerms?: {
2884
+ amount: string;
2885
+ currency: string;
2886
+ } | null | undefined;
2887
+ currentBalance?: {
2888
+ amount: string;
2889
+ currency: string;
2890
+ } | null | undefined;
2891
+ delinquentBalance?: {
2892
+ amount: string;
2893
+ currency: string;
2894
+ } | null | undefined;
2895
+ }>;
2896
+ accountLinkedInformations: mongoose.Types.DocumentArray<{
2897
+ type: string;
2898
+ name: string;
2899
+ dob: string;
2900
+ startDate: string;
2901
+ lastUpdate: string;
2902
+ endDate: string;
2903
+ nameMatchStatus: string;
2904
+ paymentFrequency: string;
2905
+ paymentHistory: mongoose.Types.DocumentArray<{
2906
+ ageInMonths: string;
2907
+ paymentStatus: string;
2908
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
2909
+ ageInMonths: string;
2910
+ paymentStatus: string;
2911
+ }> & {
2912
+ ageInMonths: string;
2913
+ paymentStatus: string;
2914
+ }>;
2915
+ startBalance?: {
2916
+ amount: string;
2917
+ currency: string;
2918
+ } | null | undefined;
2919
+ fixedPaymentTerms?: {
2920
+ amount: string;
2921
+ currency: string;
2922
+ } | null | undefined;
2923
+ currentBalance?: {
2924
+ amount: string;
2925
+ currency: string;
2926
+ } | null | undefined;
2927
+ delinquentBalance?: {
2928
+ amount: string;
2929
+ currency: string;
2930
+ } | null | undefined;
2931
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
2932
+ type: string;
2933
+ name: string;
2934
+ dob: string;
2935
+ startDate: string;
2936
+ lastUpdate: string;
2937
+ endDate: string;
2938
+ nameMatchStatus: string;
2939
+ paymentFrequency: string;
2940
+ paymentHistory: mongoose.Types.DocumentArray<{
2941
+ ageInMonths: string;
2942
+ paymentStatus: string;
2943
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
2944
+ ageInMonths: string;
2945
+ paymentStatus: string;
2946
+ }> & {
2947
+ ageInMonths: string;
2948
+ paymentStatus: string;
2949
+ }>;
2950
+ startBalance?: {
2951
+ amount: string;
2952
+ currency: string;
2953
+ } | null | undefined;
2954
+ fixedPaymentTerms?: {
2955
+ amount: string;
2956
+ currency: string;
2957
+ } | null | undefined;
2958
+ currentBalance?: {
2959
+ amount: string;
2960
+ currency: string;
2961
+ } | null | undefined;
2962
+ delinquentBalance?: {
2963
+ amount: string;
2964
+ currency: string;
2965
+ } | null | undefined;
2966
+ }> & {
2967
+ type: string;
2968
+ name: string;
2969
+ dob: string;
2970
+ startDate: string;
2971
+ lastUpdate: string;
2972
+ endDate: string;
2973
+ nameMatchStatus: string;
2974
+ paymentFrequency: string;
2975
+ paymentHistory: mongoose.Types.DocumentArray<{
2976
+ ageInMonths: string;
2977
+ paymentStatus: string;
2978
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
2979
+ ageInMonths: string;
2980
+ paymentStatus: string;
2981
+ }> & {
2982
+ ageInMonths: string;
2983
+ paymentStatus: string;
2984
+ }>;
2985
+ startBalance?: {
2986
+ amount: string;
2987
+ currency: string;
2988
+ } | null | undefined;
2989
+ fixedPaymentTerms?: {
2990
+ amount: string;
2991
+ currency: string;
2992
+ } | null | undefined;
2993
+ currentBalance?: {
2994
+ amount: string;
2995
+ currency: string;
2996
+ } | null | undefined;
2997
+ delinquentBalance?: {
2998
+ amount: string;
2999
+ currency: string;
3000
+ } | null | undefined;
3001
+ }>;
3002
+ electoralInformation: mongoose.Types.DocumentArray<{
3003
+ name: string;
3004
+ startDate: string;
3005
+ endDate: string;
3006
+ nameMatchStatus: string;
3007
+ seniority: string;
3008
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
3009
+ name: string;
3010
+ startDate: string;
3011
+ endDate: string;
3012
+ nameMatchStatus: string;
3013
+ seniority: string;
3014
+ }> & {
3015
+ name: string;
3016
+ startDate: string;
3017
+ endDate: string;
3018
+ nameMatchStatus: string;
3019
+ seniority: string;
3020
+ }>;
3021
+ electoralLinkedInformations: mongoose.Types.DocumentArray<{
3022
+ name: string;
3023
+ startDate: string;
3024
+ endDate: string;
3025
+ nameMatchStatus: string;
3026
+ seniority: string;
3027
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
3028
+ name: string;
3029
+ startDate: string;
3030
+ endDate: string;
3031
+ nameMatchStatus: string;
3032
+ seniority: string;
3033
+ }> & {
3034
+ name: string;
3035
+ startDate: string;
3036
+ endDate: string;
3037
+ nameMatchStatus: string;
3038
+ seniority: string;
3039
+ }>;
3040
+ linkedAddresses: mongoose.Types.DocumentArray<{
3041
+ type: "current" | "previous";
3042
+ address?: {
3043
+ number: string;
3044
+ street: string;
3045
+ county: string;
3046
+ postcode: string;
3047
+ postTown: string;
3048
+ addressId: string;
3049
+ } | null | undefined;
3050
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
3051
+ type: "current" | "previous";
3052
+ address?: {
3053
+ number: string;
3054
+ street: string;
3055
+ county: string;
3056
+ postcode: string;
3057
+ postTown: string;
3058
+ addressId: string;
3059
+ } | null | undefined;
3060
+ }> & {
3061
+ type: "current" | "previous";
3062
+ address?: {
3063
+ number: string;
3064
+ street: string;
3065
+ county: string;
3066
+ postcode: string;
3067
+ postTown: string;
3068
+ addressId: string;
3069
+ } | null | undefined;
3070
+ }>;
3071
+ currentAddresses: mongoose.Types.DocumentArray<{
3072
+ address?: {
3073
+ number: string;
3074
+ name: string;
3075
+ postcode: string;
3076
+ postTown: string;
3077
+ country: string;
3078
+ street1: string;
3079
+ } | null | undefined;
3080
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
3081
+ address?: {
3082
+ number: string;
3083
+ name: string;
3084
+ postcode: string;
3085
+ postTown: string;
3086
+ country: string;
3087
+ street1: string;
3088
+ } | null | undefined;
3089
+ }> & {
3090
+ address?: {
3091
+ number: string;
3092
+ name: string;
3093
+ postcode: string;
3094
+ postTown: string;
3095
+ country: string;
3096
+ street1: string;
3097
+ } | null | undefined;
3098
+ }>;
3099
+ previousSearches: mongoose.Types.DocumentArray<{
3100
+ name: string;
3101
+ dob: string;
3102
+ nameMatchStatus: string;
3103
+ companyType: string;
3104
+ jointApplicant: boolean;
3105
+ searchType: string;
3106
+ searchDate: string;
3107
+ optIn: boolean;
3108
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
3109
+ name: string;
3110
+ dob: string;
3111
+ nameMatchStatus: string;
3112
+ companyType: string;
3113
+ jointApplicant: boolean;
3114
+ searchType: string;
3115
+ searchDate: string;
3116
+ optIn: boolean;
3117
+ }> & {
3118
+ name: string;
3119
+ dob: string;
3120
+ nameMatchStatus: string;
3121
+ companyType: string;
3122
+ jointApplicant: boolean;
3123
+ searchType: string;
3124
+ searchDate: string;
3125
+ optIn: boolean;
3126
+ }>;
3127
+ noticeofCorrection: mongoose.Types.DocumentArray<{
3128
+ type: "active" | "historical";
3129
+ noc?: {
3130
+ text: string;
3131
+ name: string;
3132
+ nameMatchStatus: string;
3133
+ dataNoticeCreated: string;
3134
+ } | null | undefined;
3135
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
3136
+ type: "active" | "historical";
3137
+ noc?: {
3138
+ text: string;
3139
+ name: string;
3140
+ nameMatchStatus: string;
3141
+ dataNoticeCreated: string;
3142
+ } | null | undefined;
3143
+ }> & {
3144
+ type: "active" | "historical";
3145
+ noc?: {
3146
+ text: string;
3147
+ name: string;
3148
+ nameMatchStatus: string;
3149
+ dataNoticeCreated: string;
3150
+ } | null | undefined;
3151
+ }>;
3152
+ isEquifaxData: boolean;
3153
+ searchCriteriaDifferences: string;
3154
+ }>, {}> & mongoose.FlatRecord<{
3155
+ applicantId: mongoose.Types.ObjectId;
3156
+ applicantName: string;
3157
+ isConfirmed: boolean;
3158
+ searchDate: NativeDate;
3159
+ referenceNumber: string;
3160
+ applicantDob: string;
3161
+ requestDate: string;
3162
+ expiredDate: string;
3163
+ hasExpired: boolean;
3164
+ creditDefaults: string;
3165
+ countyCourtJudgment: string;
3166
+ securedArrears: string;
3167
+ unsecuredArrears: string;
3168
+ bankruptcyOrIva: string;
3169
+ notMapped: any;
3170
+ aliasNames: mongoose.Types.DocumentArray<{
3171
+ dob: string;
3172
+ forename: string;
3173
+ surname: string;
3174
+ middlename: string;
3175
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
3176
+ dob: string;
3177
+ forename: string;
3178
+ surname: string;
3179
+ middlename: string;
3180
+ }> & {
3181
+ dob: string;
3182
+ forename: string;
3183
+ surname: string;
3184
+ middlename: string;
3185
+ }>;
3186
+ associates: mongoose.Types.DocumentArray<{
3187
+ dob: string;
3188
+ forename: string;
3189
+ surname: string;
3190
+ middlename: string;
3191
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
3192
+ dob: string;
3193
+ forename: string;
3194
+ surname: string;
3195
+ middlename: string;
3196
+ }> & {
3197
+ dob: string;
3198
+ forename: string;
3199
+ surname: string;
3200
+ middlename: string;
3201
+ }>;
3202
+ linkedAddressData: mongoose.Types.DocumentArray<{
3203
+ type: string;
3204
+ name: string;
3205
+ dob: string;
3206
+ startDate: string;
3207
+ lastUpdate: string;
3208
+ endDate: string;
3209
+ nameMatchStatus: string;
3210
+ paymentFrequency: string;
3211
+ paymentHistory: mongoose.Types.DocumentArray<{
3212
+ ageInMonths: string;
3213
+ paymentStatus: string;
3214
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
3215
+ ageInMonths: string;
3216
+ paymentStatus: string;
3217
+ }> & {
3218
+ ageInMonths: string;
3219
+ paymentStatus: string;
3220
+ }>;
3221
+ startBalance?: {
3222
+ amount: string;
3223
+ currency: string;
3224
+ } | null | undefined;
3225
+ fixedPaymentTerms?: {
3226
+ amount: string;
3227
+ currency: string;
3228
+ } | null | undefined;
3229
+ currentBalance?: {
3230
+ amount: string;
3231
+ currency: string;
3232
+ } | null | undefined;
3233
+ delinquentBalance?: {
3234
+ amount: string;
3235
+ currency: string;
3236
+ } | null | undefined;
3237
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
3238
+ type: string;
3239
+ name: string;
3240
+ dob: string;
3241
+ startDate: string;
3242
+ lastUpdate: string;
3243
+ endDate: string;
3244
+ nameMatchStatus: string;
3245
+ paymentFrequency: string;
3246
+ paymentHistory: mongoose.Types.DocumentArray<{
3247
+ ageInMonths: string;
3248
+ paymentStatus: string;
3249
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
3250
+ ageInMonths: string;
3251
+ paymentStatus: string;
3252
+ }> & {
3253
+ ageInMonths: string;
3254
+ paymentStatus: string;
3255
+ }>;
3256
+ startBalance?: {
3257
+ amount: string;
3258
+ currency: string;
3259
+ } | null | undefined;
3260
+ fixedPaymentTerms?: {
3261
+ amount: string;
3262
+ currency: string;
3263
+ } | null | undefined;
3264
+ currentBalance?: {
3265
+ amount: string;
3266
+ currency: string;
3267
+ } | null | undefined;
3268
+ delinquentBalance?: {
3269
+ amount: string;
3270
+ currency: string;
3271
+ } | null | undefined;
3272
+ }> & {
3273
+ type: string;
3274
+ name: string;
3275
+ dob: string;
3276
+ startDate: string;
3277
+ lastUpdate: string;
3278
+ endDate: string;
3279
+ nameMatchStatus: string;
3280
+ paymentFrequency: string;
3281
+ paymentHistory: mongoose.Types.DocumentArray<{
3282
+ ageInMonths: string;
3283
+ paymentStatus: string;
3284
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
3285
+ ageInMonths: string;
3286
+ paymentStatus: string;
3287
+ }> & {
3288
+ ageInMonths: string;
3289
+ paymentStatus: string;
3290
+ }>;
3291
+ startBalance?: {
3292
+ amount: string;
3293
+ currency: string;
3294
+ } | null | undefined;
3295
+ fixedPaymentTerms?: {
3296
+ amount: string;
3297
+ currency: string;
3298
+ } | null | undefined;
3299
+ currentBalance?: {
3300
+ amount: string;
3301
+ currency: string;
3302
+ } | null | undefined;
3303
+ delinquentBalance?: {
3304
+ amount: string;
3305
+ currency: string;
3306
+ } | null | undefined;
3307
+ }>;
3308
+ suppliedAddressData: mongoose.Types.DocumentArray<{
3309
+ type: string;
3310
+ name: string;
3311
+ dob: string;
3312
+ startDate: string;
3313
+ lastUpdate: string;
3314
+ endDate: string;
3315
+ nameMatchStatus: string;
3316
+ paymentFrequency: string;
3317
+ paymentHistory: mongoose.Types.DocumentArray<{
3318
+ ageInMonths: string;
3319
+ paymentStatus: string;
3320
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
3321
+ ageInMonths: string;
3322
+ paymentStatus: string;
3323
+ }> & {
3324
+ ageInMonths: string;
3325
+ paymentStatus: string;
3326
+ }>;
3327
+ startBalance?: {
3328
+ amount: string;
3329
+ currency: string;
3330
+ } | null | undefined;
3331
+ fixedPaymentTerms?: {
3332
+ amount: string;
3333
+ currency: string;
3334
+ } | null | undefined;
3335
+ currentBalance?: {
3336
+ amount: string;
3337
+ currency: string;
3338
+ } | null | undefined;
3339
+ delinquentBalance?: {
3340
+ amount: string;
3341
+ currency: string;
3342
+ } | null | undefined;
3343
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
3344
+ type: string;
3345
+ name: string;
3346
+ dob: string;
3347
+ startDate: string;
3348
+ lastUpdate: string;
3349
+ endDate: string;
3350
+ nameMatchStatus: string;
3351
+ paymentFrequency: string;
3352
+ paymentHistory: mongoose.Types.DocumentArray<{
3353
+ ageInMonths: string;
3354
+ paymentStatus: string;
3355
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
3356
+ ageInMonths: string;
3357
+ paymentStatus: string;
3358
+ }> & {
3359
+ ageInMonths: string;
3360
+ paymentStatus: string;
3361
+ }>;
3362
+ startBalance?: {
3363
+ amount: string;
3364
+ currency: string;
3365
+ } | null | undefined;
3366
+ fixedPaymentTerms?: {
3367
+ amount: string;
3368
+ currency: string;
3369
+ } | null | undefined;
3370
+ currentBalance?: {
3371
+ amount: string;
3372
+ currency: string;
3373
+ } | null | undefined;
3374
+ delinquentBalance?: {
3375
+ amount: string;
3376
+ currency: string;
3377
+ } | null | undefined;
3378
+ }> & {
3379
+ type: string;
3380
+ name: string;
3381
+ dob: string;
3382
+ startDate: string;
3383
+ lastUpdate: string;
3384
+ endDate: string;
3385
+ nameMatchStatus: string;
3386
+ paymentFrequency: string;
3387
+ paymentHistory: mongoose.Types.DocumentArray<{
3388
+ ageInMonths: string;
3389
+ paymentStatus: string;
3390
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
3391
+ ageInMonths: string;
3392
+ paymentStatus: string;
3393
+ }> & {
3394
+ ageInMonths: string;
3395
+ paymentStatus: string;
3396
+ }>;
3397
+ startBalance?: {
3398
+ amount: string;
3399
+ currency: string;
3400
+ } | null | undefined;
3401
+ fixedPaymentTerms?: {
3402
+ amount: string;
3403
+ currency: string;
3404
+ } | null | undefined;
3405
+ currentBalance?: {
3406
+ amount: string;
3407
+ currency: string;
3408
+ } | null | undefined;
3409
+ delinquentBalance?: {
3410
+ amount: string;
3411
+ currency: string;
3412
+ } | null | undefined;
3413
+ }>;
3414
+ accountInformation: mongoose.Types.DocumentArray<{
3415
+ type: string;
3416
+ name: string;
3417
+ dob: string;
3418
+ startDate: string;
3419
+ lastUpdate: string;
3420
+ endDate: string;
3421
+ nameMatchStatus: string;
3422
+ paymentFrequency: string;
3423
+ paymentHistory: mongoose.Types.DocumentArray<{
3424
+ ageInMonths: string;
3425
+ paymentStatus: string;
3426
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
3427
+ ageInMonths: string;
3428
+ paymentStatus: string;
3429
+ }> & {
3430
+ ageInMonths: string;
3431
+ paymentStatus: string;
3432
+ }>;
3433
+ startBalance?: {
3434
+ amount: string;
3435
+ currency: string;
3436
+ } | null | undefined;
3437
+ fixedPaymentTerms?: {
3438
+ amount: string;
3439
+ currency: string;
3440
+ } | null | undefined;
3441
+ currentBalance?: {
3442
+ amount: string;
3443
+ currency: string;
3444
+ } | null | undefined;
3445
+ delinquentBalance?: {
3446
+ amount: string;
3447
+ currency: string;
3448
+ } | null | undefined;
3449
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
3450
+ type: string;
3451
+ name: string;
3452
+ dob: string;
3453
+ startDate: string;
3454
+ lastUpdate: string;
3455
+ endDate: string;
3456
+ nameMatchStatus: string;
3457
+ paymentFrequency: string;
3458
+ paymentHistory: mongoose.Types.DocumentArray<{
3459
+ ageInMonths: string;
3460
+ paymentStatus: string;
3461
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
3462
+ ageInMonths: string;
3463
+ paymentStatus: string;
3464
+ }> & {
3465
+ ageInMonths: string;
3466
+ paymentStatus: string;
3467
+ }>;
3468
+ startBalance?: {
3469
+ amount: string;
3470
+ currency: string;
3471
+ } | null | undefined;
3472
+ fixedPaymentTerms?: {
3473
+ amount: string;
3474
+ currency: string;
3475
+ } | null | undefined;
3476
+ currentBalance?: {
3477
+ amount: string;
3478
+ currency: string;
3479
+ } | null | undefined;
3480
+ delinquentBalance?: {
3481
+ amount: string;
3482
+ currency: string;
3483
+ } | null | undefined;
3484
+ }> & {
3485
+ type: string;
3486
+ name: string;
3487
+ dob: string;
3488
+ startDate: string;
3489
+ lastUpdate: string;
3490
+ endDate: string;
3491
+ nameMatchStatus: string;
3492
+ paymentFrequency: string;
3493
+ paymentHistory: mongoose.Types.DocumentArray<{
3494
+ ageInMonths: string;
3495
+ paymentStatus: string;
3496
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
3497
+ ageInMonths: string;
3498
+ paymentStatus: string;
3499
+ }> & {
3500
+ ageInMonths: string;
3501
+ paymentStatus: string;
3502
+ }>;
3503
+ startBalance?: {
3504
+ amount: string;
3505
+ currency: string;
3506
+ } | null | undefined;
3507
+ fixedPaymentTerms?: {
3508
+ amount: string;
3509
+ currency: string;
3510
+ } | null | undefined;
3511
+ currentBalance?: {
3512
+ amount: string;
3513
+ currency: string;
3514
+ } | null | undefined;
3515
+ delinquentBalance?: {
3516
+ amount: string;
3517
+ currency: string;
3518
+ } | null | undefined;
3519
+ }>;
3520
+ accountLinkedInformations: mongoose.Types.DocumentArray<{
3521
+ type: string;
3522
+ name: string;
3523
+ dob: string;
3524
+ startDate: string;
3525
+ lastUpdate: string;
3526
+ endDate: string;
3527
+ nameMatchStatus: string;
3528
+ paymentFrequency: string;
3529
+ paymentHistory: mongoose.Types.DocumentArray<{
3530
+ ageInMonths: string;
3531
+ paymentStatus: string;
3532
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
3533
+ ageInMonths: string;
3534
+ paymentStatus: string;
3535
+ }> & {
3536
+ ageInMonths: string;
3537
+ paymentStatus: string;
3538
+ }>;
3539
+ startBalance?: {
3540
+ amount: string;
3541
+ currency: string;
3542
+ } | null | undefined;
3543
+ fixedPaymentTerms?: {
3544
+ amount: string;
3545
+ currency: string;
3546
+ } | null | undefined;
3547
+ currentBalance?: {
3548
+ amount: string;
3549
+ currency: string;
3550
+ } | null | undefined;
3551
+ delinquentBalance?: {
3552
+ amount: string;
3553
+ currency: string;
3554
+ } | null | undefined;
3555
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
3556
+ type: string;
3557
+ name: string;
3558
+ dob: string;
3559
+ startDate: string;
3560
+ lastUpdate: string;
3561
+ endDate: string;
3562
+ nameMatchStatus: string;
3563
+ paymentFrequency: string;
3564
+ paymentHistory: mongoose.Types.DocumentArray<{
3565
+ ageInMonths: string;
3566
+ paymentStatus: string;
3567
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
3568
+ ageInMonths: string;
3569
+ paymentStatus: string;
3570
+ }> & {
3571
+ ageInMonths: string;
3572
+ paymentStatus: string;
3573
+ }>;
3574
+ startBalance?: {
3575
+ amount: string;
3576
+ currency: string;
3577
+ } | null | undefined;
3578
+ fixedPaymentTerms?: {
3579
+ amount: string;
3580
+ currency: string;
3581
+ } | null | undefined;
3582
+ currentBalance?: {
3583
+ amount: string;
3584
+ currency: string;
3585
+ } | null | undefined;
3586
+ delinquentBalance?: {
3587
+ amount: string;
3588
+ currency: string;
3589
+ } | null | undefined;
3590
+ }> & {
3591
+ type: string;
3592
+ name: string;
3593
+ dob: string;
3594
+ startDate: string;
3595
+ lastUpdate: string;
3596
+ endDate: string;
3597
+ nameMatchStatus: string;
3598
+ paymentFrequency: string;
3599
+ paymentHistory: mongoose.Types.DocumentArray<{
3600
+ ageInMonths: string;
3601
+ paymentStatus: string;
3602
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
3603
+ ageInMonths: string;
3604
+ paymentStatus: string;
3605
+ }> & {
3606
+ ageInMonths: string;
3607
+ paymentStatus: string;
3608
+ }>;
3609
+ startBalance?: {
3610
+ amount: string;
3611
+ currency: string;
3612
+ } | null | undefined;
3613
+ fixedPaymentTerms?: {
3614
+ amount: string;
3615
+ currency: string;
3616
+ } | null | undefined;
3617
+ currentBalance?: {
3618
+ amount: string;
3619
+ currency: string;
3620
+ } | null | undefined;
3621
+ delinquentBalance?: {
3622
+ amount: string;
3623
+ currency: string;
3624
+ } | null | undefined;
3625
+ }>;
3626
+ electoralInformation: mongoose.Types.DocumentArray<{
3627
+ name: string;
3628
+ startDate: string;
3629
+ endDate: string;
3630
+ nameMatchStatus: string;
3631
+ seniority: string;
3632
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
3633
+ name: string;
3634
+ startDate: string;
3635
+ endDate: string;
3636
+ nameMatchStatus: string;
3637
+ seniority: string;
3638
+ }> & {
3639
+ name: string;
3640
+ startDate: string;
3641
+ endDate: string;
3642
+ nameMatchStatus: string;
3643
+ seniority: string;
3644
+ }>;
3645
+ electoralLinkedInformations: mongoose.Types.DocumentArray<{
3646
+ name: string;
3647
+ startDate: string;
3648
+ endDate: string;
3649
+ nameMatchStatus: string;
3650
+ seniority: string;
3651
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
3652
+ name: string;
3653
+ startDate: string;
3654
+ endDate: string;
3655
+ nameMatchStatus: string;
3656
+ seniority: string;
3657
+ }> & {
3658
+ name: string;
3659
+ startDate: string;
3660
+ endDate: string;
3661
+ nameMatchStatus: string;
3662
+ seniority: string;
3663
+ }>;
3664
+ linkedAddresses: mongoose.Types.DocumentArray<{
3665
+ type: "current" | "previous";
3666
+ address?: {
3667
+ number: string;
3668
+ street: string;
3669
+ county: string;
3670
+ postcode: string;
3671
+ postTown: string;
3672
+ addressId: string;
3673
+ } | null | undefined;
3674
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
3675
+ type: "current" | "previous";
3676
+ address?: {
3677
+ number: string;
3678
+ street: string;
3679
+ county: string;
3680
+ postcode: string;
3681
+ postTown: string;
3682
+ addressId: string;
3683
+ } | null | undefined;
3684
+ }> & {
3685
+ type: "current" | "previous";
3686
+ address?: {
3687
+ number: string;
3688
+ street: string;
3689
+ county: string;
3690
+ postcode: string;
3691
+ postTown: string;
3692
+ addressId: string;
3693
+ } | null | undefined;
3694
+ }>;
3695
+ currentAddresses: mongoose.Types.DocumentArray<{
3696
+ address?: {
3697
+ number: string;
3698
+ name: string;
3699
+ postcode: string;
3700
+ postTown: string;
3701
+ country: string;
3702
+ street1: string;
3703
+ } | null | undefined;
3704
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
3705
+ address?: {
3706
+ number: string;
3707
+ name: string;
3708
+ postcode: string;
3709
+ postTown: string;
3710
+ country: string;
3711
+ street1: string;
3712
+ } | null | undefined;
3713
+ }> & {
3714
+ address?: {
3715
+ number: string;
3716
+ name: string;
3717
+ postcode: string;
3718
+ postTown: string;
3719
+ country: string;
3720
+ street1: string;
3721
+ } | null | undefined;
3722
+ }>;
3723
+ previousSearches: mongoose.Types.DocumentArray<{
3724
+ name: string;
3725
+ dob: string;
3726
+ nameMatchStatus: string;
3727
+ companyType: string;
3728
+ jointApplicant: boolean;
3729
+ searchType: string;
3730
+ searchDate: string;
3731
+ optIn: boolean;
3732
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
3733
+ name: string;
3734
+ dob: string;
3735
+ nameMatchStatus: string;
3736
+ companyType: string;
3737
+ jointApplicant: boolean;
3738
+ searchType: string;
3739
+ searchDate: string;
3740
+ optIn: boolean;
3741
+ }> & {
3742
+ name: string;
3743
+ dob: string;
3744
+ nameMatchStatus: string;
3745
+ companyType: string;
3746
+ jointApplicant: boolean;
3747
+ searchType: string;
3748
+ searchDate: string;
3749
+ optIn: boolean;
3750
+ }>;
3751
+ noticeofCorrection: mongoose.Types.DocumentArray<{
3752
+ type: "active" | "historical";
3753
+ noc?: {
3754
+ text: string;
3755
+ name: string;
3756
+ nameMatchStatus: string;
3757
+ dataNoticeCreated: string;
3758
+ } | null | undefined;
3759
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
3760
+ type: "active" | "historical";
3761
+ noc?: {
3762
+ text: string;
3763
+ name: string;
3764
+ nameMatchStatus: string;
3765
+ dataNoticeCreated: string;
3766
+ } | null | undefined;
3767
+ }> & {
3768
+ type: "active" | "historical";
3769
+ noc?: {
3770
+ text: string;
3771
+ name: string;
3772
+ nameMatchStatus: string;
3773
+ dataNoticeCreated: string;
3774
+ } | null | undefined;
3775
+ }>;
3776
+ isEquifaxData: boolean;
3777
+ searchCriteriaDifferences: string;
3778
+ }> & {
3779
+ _id: mongoose.Types.ObjectId;
3780
+ } & {
3781
+ __v: number;
3782
+ }>>;
3783
+ export default ApplicantCreditReportModel;
3784
+ //# sourceMappingURL=applicant-credit-report.model.d.ts.map