@dynamatix/gb-schemas 2.3.237 → 2.3.238

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