@dynamatix/gb-schemas 2.0.1 → 2.0.2

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 (193) hide show
  1. package/dist/applicants/applicant-commitment-creditCard.model.d.ts +26 -0
  2. package/dist/applicants/applicant-commitment-creditCard.model.d.ts.map +1 -1
  3. package/dist/applicants/applicant-commitment-loan.model.d.ts +26 -0
  4. package/dist/applicants/applicant-commitment-loan.model.d.ts.map +1 -1
  5. package/dist/applicants/applicant-commitment-mortgage.model.d.ts +26 -0
  6. package/dist/applicants/applicant-commitment-mortgage.model.d.ts.map +1 -1
  7. package/dist/applicants/applicant-commitment-residence.model.d.ts +26 -0
  8. package/dist/applicants/applicant-commitment-residence.model.d.ts.map +1 -1
  9. package/dist/applicants/applicant-commitment-secureLoan.model.d.ts +26 -0
  10. package/dist/applicants/applicant-commitment-secureLoan.model.d.ts.map +1 -1
  11. package/dist/applicants/applicant-commitment-unsecuredLoan.model.d.ts +26 -0
  12. package/dist/applicants/applicant-commitment-unsecuredLoan.model.d.ts.map +1 -1
  13. package/dist/applicants/applicant-credit-data.model.d.ts +27 -0
  14. package/dist/applicants/applicant-credit-data.model.d.ts.map +1 -1
  15. package/dist/applicants/applicant-credit-profile.model.d.ts +27 -0
  16. package/dist/applicants/applicant-credit-profile.model.d.ts.map +1 -1
  17. package/dist/applicants/applicant-direct-debit.model.d.ts +27 -0
  18. package/dist/applicants/applicant-direct-debit.model.d.ts.map +1 -1
  19. package/dist/applicants/applicant-employment-income.model.d.ts +201 -0
  20. package/dist/applicants/applicant-employment-income.model.d.ts.map +1 -0
  21. package/dist/applicants/applicant-employment-income.model.js +9 -0
  22. package/dist/applicants/applicant-employment.model.d.ts +26 -18
  23. package/dist/applicants/applicant-employment.model.d.ts.map +1 -1
  24. package/dist/applicants/applicant-employment.model.js +0 -6
  25. package/dist/applicants/applicant-expenditure.model.d.ts +99 -50
  26. package/dist/applicants/applicant-expenditure.model.d.ts.map +1 -1
  27. package/dist/applicants/applicant-expenditure.model.js +49 -18
  28. package/dist/applicants/applicant-income-source.model.d.ts +27 -0
  29. package/dist/applicants/applicant-income-source.model.d.ts.map +1 -1
  30. package/dist/applicants/applicant-income.model.d.ts +38 -0
  31. package/dist/applicants/applicant-income.model.d.ts.map +1 -1
  32. package/dist/applicants/applicant-income.model.js +5 -1
  33. package/dist/applicants/applicant-other-income.model.d.ts +26 -0
  34. package/dist/applicants/applicant-other-income.model.d.ts.map +1 -1
  35. package/dist/applicants/applicant-property-income.model.d.ts +26 -0
  36. package/dist/applicants/applicant-property-income.model.d.ts.map +1 -1
  37. package/dist/applicants/applicant-risk-narrative.model.d.ts +27 -0
  38. package/dist/applicants/applicant-risk-narrative.model.d.ts.map +1 -1
  39. package/dist/applicants/applicant.model.d.ts +716 -3096
  40. package/dist/applicants/applicant.model.d.ts.map +1 -1
  41. package/dist/applicants/applicant.model.js +0 -2
  42. package/dist/applicants/index.d.ts +2 -0
  43. package/dist/applicants/index.d.ts.map +1 -1
  44. package/dist/applicants/index.js +2 -0
  45. package/dist/applications/application-audit.model.d.ts +27 -0
  46. package/dist/applications/application-audit.model.d.ts.map +1 -1
  47. package/dist/applications/application-checklist-Item.model.d.ts +27 -0
  48. package/dist/applications/application-checklist-Item.model.d.ts.map +1 -1
  49. package/dist/applications/application-company-model.d.ts +26 -0
  50. package/dist/applications/application-company-model.d.ts.map +1 -1
  51. package/dist/applications/application-credit-profile.model.d.ts +27 -0
  52. package/dist/applications/application-credit-profile.model.d.ts.map +1 -1
  53. package/dist/applications/application-direct-debit.model.d.ts +26 -0
  54. package/dist/applications/application-direct-debit.model.d.ts.map +1 -1
  55. package/dist/applications/application-document.model.d.ts +27 -0
  56. package/dist/applications/application-document.model.d.ts.map +1 -1
  57. package/dist/applications/application-fieldconfig.model.d.ts +27 -0
  58. package/dist/applications/application-fieldconfig.model.d.ts.map +1 -1
  59. package/dist/applications/application-illustration-model.d.ts +27 -0
  60. package/dist/applications/application-illustration-model.d.ts.map +1 -1
  61. package/dist/applications/application-legal.model.d.ts +27 -0
  62. package/dist/applications/application-legal.model.d.ts.map +1 -1
  63. package/dist/applications/application-mortgage.model.d.ts +26 -0
  64. package/dist/applications/application-mortgage.model.d.ts.map +1 -1
  65. package/dist/applications/application-note.model.d.ts +27 -0
  66. package/dist/applications/application-note.model.d.ts.map +1 -1
  67. package/dist/applications/application-offer.model.d.ts +27 -0
  68. package/dist/applications/application-offer.model.d.ts.map +1 -1
  69. package/dist/applications/application-onboarding.model.d.ts +27 -0
  70. package/dist/applications/application-onboarding.model.d.ts.map +1 -1
  71. package/dist/applications/application-product.model.d.ts +27 -0
  72. package/dist/applications/application-product.model.d.ts.map +1 -1
  73. package/dist/applications/application-rationale.model.d.ts +27 -0
  74. package/dist/applications/application-rationale.model.d.ts.map +1 -1
  75. package/dist/applications/application-risk-narrative.model.d.ts +27 -0
  76. package/dist/applications/application-risk-narrative.model.d.ts.map +1 -1
  77. package/dist/applications/application-valuation.model.d.ts +27 -0
  78. package/dist/applications/application-valuation.model.d.ts.map +1 -1
  79. package/dist/applications/application.model.d.ts +27 -0
  80. package/dist/applications/application.model.d.ts.map +1 -1
  81. package/dist/applications/broker.model.d.ts +27 -0
  82. package/dist/applications/broker.model.d.ts.map +1 -1
  83. package/dist/applications/document.model.d.ts +27 -0
  84. package/dist/applications/document.model.d.ts.map +1 -1
  85. package/dist/applications/productfeatures.model.d.ts +27 -0
  86. package/dist/applications/productfeatures.model.d.ts.map +1 -1
  87. package/dist/applications/solicitor.model.d.ts +26 -0
  88. package/dist/applications/solicitor.model.d.ts.map +1 -1
  89. package/dist/entities/applicants/applicant.entity.d.ts +0 -3
  90. package/dist/entities/applicants/applicant.entity.d.ts.map +1 -1
  91. package/dist/entities/applicants/applicant.entity.js +0 -3
  92. package/dist/entities/applicants/employment.entity.d.ts +1 -3
  93. package/dist/entities/applicants/employment.entity.d.ts.map +1 -1
  94. package/dist/entities/applicants/employment.entity.js +1 -9
  95. package/dist/entities/applications/company.entity.d.ts +2 -2
  96. package/dist/entities/applications/solicitor.entity.d.ts +1 -1
  97. package/dist/entities/properties/property.entity.d.ts +2 -2
  98. package/dist/entities/properties/property.entity.d.ts.map +1 -1
  99. package/dist/product-catalogues/product-catalogue.model.d.ts +27 -0
  100. package/dist/product-catalogues/product-catalogue.model.d.ts.map +1 -1
  101. package/dist/product-catalogues/product-definitions.model.d.ts +27 -0
  102. package/dist/product-catalogues/product-definitions.model.d.ts.map +1 -1
  103. package/dist/product-catalogues/product-variant.model.d.ts +27 -0
  104. package/dist/product-catalogues/product-variant.model.d.ts.map +1 -1
  105. package/dist/properties/property.model.d.ts +26 -0
  106. package/dist/properties/property.model.d.ts.map +1 -1
  107. package/dist/properties/security.model.d.ts +27 -0
  108. package/dist/properties/security.model.d.ts.map +1 -1
  109. package/dist/shared/alert.model.d.ts +27 -0
  110. package/dist/shared/alert.model.d.ts.map +1 -1
  111. package/dist/shared/apprivo-sync-journey.model.d.ts +27 -0
  112. package/dist/shared/apprivo-sync-journey.model.d.ts.map +1 -1
  113. package/dist/shared/checklist.model.d.ts +27 -0
  114. package/dist/shared/checklist.model.d.ts.map +1 -1
  115. package/dist/shared/document-type-model.d.ts +27 -0
  116. package/dist/shared/document-type-model.d.ts.map +1 -1
  117. package/dist/shared/job-run.model.d.ts +27 -0
  118. package/dist/shared/job-run.model.d.ts.map +1 -1
  119. package/dist/shared/job-setting.model.d.ts +27 -0
  120. package/dist/shared/job-setting.model.d.ts.map +1 -1
  121. package/dist/shared/lookup-group.model.d.ts +27 -0
  122. package/dist/shared/lookup-group.model.d.ts.map +1 -1
  123. package/dist/shared/lookup.model.d.ts +27 -0
  124. package/dist/shared/lookup.model.d.ts.map +1 -1
  125. package/dist/shared/schema-doc.model.d.ts +27 -0
  126. package/dist/shared/schema-doc.model.d.ts.map +1 -1
  127. package/dist/shared/system-parameter.model.d.ts +27 -0
  128. package/dist/shared/system-parameter.model.d.ts.map +1 -1
  129. package/dist/shared/task-document.model.d.ts +27 -0
  130. package/dist/shared/task-document.model.d.ts.map +1 -1
  131. package/dist/shared/task.model.d.ts +27 -0
  132. package/dist/shared/task.model.d.ts.map +1 -1
  133. package/dist/underwriter/underwriter.model.d.ts +27 -0
  134. package/dist/underwriter/underwriter.model.d.ts.map +1 -1
  135. package/dist/users/auth-log.model.d.ts +27 -0
  136. package/dist/users/auth-log.model.d.ts.map +1 -1
  137. package/dist/users/permission.model.d.ts +27 -0
  138. package/dist/users/permission.model.d.ts.map +1 -1
  139. package/dist/users/role-group.model.d.ts +27 -0
  140. package/dist/users/role-group.model.d.ts.map +1 -1
  141. package/dist/users/role.model.d.ts +27 -0
  142. package/dist/users/role.model.d.ts.map +1 -1
  143. package/dist/users/tasks.model.d.ts +27 -0
  144. package/dist/users/tasks.model.d.ts.map +1 -1
  145. package/dist/users/user.model.d.ts +27 -0
  146. package/dist/users/user.model.d.ts.map +1 -1
  147. package/dist/value-objects/pound.d.ts +26 -0
  148. package/dist/value-objects/pound.d.ts.map +1 -1
  149. package/dist/value-objects/sort-code.d.ts +26 -0
  150. package/dist/value-objects/sort-code.d.ts.map +1 -1
  151. package/entities/applicants/{credit-data.entity.ts → applicant-credit-data.entity.ts} +2 -2
  152. package/entities/{applications/credit-profile.entity.ts → applicants/applicant-credit-profile.entity.ts} +8 -2
  153. package/entities/applicants/applicant-employment-income.entity.ts +14 -0
  154. package/entities/applicants/{employment.entity.ts → applicant-employment.entity.ts} +1 -17
  155. package/entities/applicants/applicant-expenditure.entity.ts +15 -0
  156. package/entities/applicants/{income-source.entity.ts → applicant-income-source.entity.ts} +2 -2
  157. package/entities/applicants/{income.entity.ts → applicant-income.entity.ts} +9 -6
  158. package/entities/applicants/applicant.entity.ts +11 -17
  159. package/entities/applicants/index.ts +6 -6
  160. package/entities/{applicants/credit-profile.entity.ts → applications/application-credit-profile.entity.ts} +2 -2
  161. package/entities/applications/application-rationale.entity.ts +1 -1
  162. package/entities/applications/company.entity.ts +2 -1
  163. package/entities/applications/index.ts +1 -1
  164. package/entities/applications/solicitor.entity.ts +1 -1
  165. package/entities/properties/property.entity.ts +2 -2
  166. package/package.json +1 -1
  167. package/prisma/applicants/{credit-data.prisma → applicant-credit-data.prisma} +2 -2
  168. package/prisma/applicants/{credit-profile.prisma → applicant-credit-profile.prisma} +3 -2
  169. package/prisma/applicants/applicant-employment-income.prisma +14 -0
  170. package/prisma/applicants/applicant-employment.prisma +54 -0
  171. package/prisma/applicants/applicant-expenditure.prisma +14 -0
  172. package/prisma/applicants/{income-source.prisma → applicant-income-source.prisma} +2 -2
  173. package/prisma/applicants/{income.prisma → applicant-income.prisma} +10 -5
  174. package/prisma/applicants/{other-income.prisma → applicant-other-income.prisma} +2 -2
  175. package/prisma/applicants/{property-income.prisma → applicant-property-income.prisma} +3 -2
  176. package/prisma/applicants/applicant.prisma +10 -10
  177. package/prisma/applications/{credit-profile.prisma → application-credit-profile.prisma} +6 -2
  178. package/prisma/applications/application.prisma +1 -1
  179. package/prisma/migrations/{20250430124915_initial_migration → 20250501070203_initial_migration}/migration.sql +309 -382
  180. package/prisma/schema.prisma +1187 -1258
  181. package/prisma/shared/lookup.prisma +17 -26
  182. package/entities/applicants/direct-debit.entity.ts +0 -30
  183. package/entities/applicants/expenditure.entity.ts +0 -29
  184. package/entities/applicants/risk-narrative.entity.ts +0 -28
  185. package/entities/applications/application-risk-narrative.entity.ts +0 -22
  186. package/entities/applications/application-valuation.entity.ts +0 -20
  187. package/prisma/applicants/direct-debit.prisma +0 -26
  188. package/prisma/applicants/employment.prisma +0 -59
  189. package/prisma/applicants/expenditure.prisma +0 -26
  190. package/prisma/applicants/risk-narrative.prisma +0 -23
  191. package/prisma/applications/application-risk-narrative.prisma +0 -18
  192. package/prisma/applications/application-valuation.prisma +0 -18
  193. package/prisma/lookup.entity.ts +0 -9
@@ -1,3 +1,29 @@
1
+ /// <reference path="../value-objects/sort-code.d.ts" />
2
+ /// <reference types="mongoose/types/aggregate" />
3
+ /// <reference types="mongoose/types/callback" />
4
+ /// <reference types="mongoose/types/collection" />
5
+ /// <reference types="mongoose/types/connection" />
6
+ /// <reference types="mongoose/types/cursor" />
7
+ /// <reference types="mongoose/types/document" />
8
+ /// <reference types="mongoose/types/error" />
9
+ /// <reference types="mongoose/types/expressions" />
10
+ /// <reference types="mongoose/types/helpers" />
11
+ /// <reference types="mongoose/types/middlewares" />
12
+ /// <reference types="mongoose/types/indexes" />
13
+ /// <reference types="mongoose/types/models" />
14
+ /// <reference types="mongoose/types/mongooseoptions" />
15
+ /// <reference types="mongoose/types/pipelinestage" />
16
+ /// <reference types="mongoose/types/populate" />
17
+ /// <reference types="mongoose/types/query" />
18
+ /// <reference types="mongoose/types/schemaoptions" />
19
+ /// <reference types="mongoose/types/schematypes" />
20
+ /// <reference types="mongoose/types/session" />
21
+ /// <reference types="mongoose/types/types" />
22
+ /// <reference types="mongoose/types/utility" />
23
+ /// <reference types="mongoose/types/validation" />
24
+ /// <reference types="mongoose/types/virtuals" />
25
+ /// <reference types="mongoose/types/inferschematype" />
26
+ /// <reference types="mongoose/types/inferrawdoctype" />
1
27
  import mongoose from "mongoose";
2
28
  import { Pound } from "../value-objects/pound";
3
29
  declare const applicantEmploymentSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
@@ -19,10 +45,6 @@ declare const applicantEmploymentSchema: mongoose.Schema<any, mongoose.Model<any
19
45
  acceptableIncomeLids: mongoose.Types.ObjectId[];
20
46
  averageBonusPreviousTwoYears: Pound;
21
47
  basicGrossIncome: Pound;
22
- basicPay: Pound;
23
- carAllowance: Pound;
24
- childBenefit: Pound;
25
- childBenefitOrSchoolAllowance: Pound;
26
48
  dateJoined: string;
27
49
  disabilityLiving: Pound;
28
50
  employerName: string;
@@ -49,8 +71,6 @@ declare const applicantEmploymentSchema: mongoose.Schema<any, mongoose.Model<any
49
71
  previousNatureOfBusiness: string;
50
72
  referenceContact: string;
51
73
  referenceContactEmail: string;
52
- secondJob: Pound;
53
- travelAllowance: Pound;
54
74
  underTerminationNoticeNote: string;
55
75
  contractRemaining?: string | null | undefined;
56
76
  }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
@@ -65,10 +85,6 @@ declare const applicantEmploymentSchema: mongoose.Schema<any, mongoose.Model<any
65
85
  acceptableIncomeLids: mongoose.Types.ObjectId[];
66
86
  averageBonusPreviousTwoYears: Pound;
67
87
  basicGrossIncome: Pound;
68
- basicPay: Pound;
69
- carAllowance: Pound;
70
- childBenefit: Pound;
71
- childBenefitOrSchoolAllowance: Pound;
72
88
  dateJoined: string;
73
89
  disabilityLiving: Pound;
74
90
  employerName: string;
@@ -95,8 +111,6 @@ declare const applicantEmploymentSchema: mongoose.Schema<any, mongoose.Model<any
95
111
  previousNatureOfBusiness: string;
96
112
  referenceContact: string;
97
113
  referenceContactEmail: string;
98
- secondJob: Pound;
99
- travelAllowance: Pound;
100
114
  underTerminationNoticeNote: string;
101
115
  contractRemaining?: string | null | undefined;
102
116
  }>> & mongoose.FlatRecord<{
@@ -111,10 +125,6 @@ declare const applicantEmploymentSchema: mongoose.Schema<any, mongoose.Model<any
111
125
  acceptableIncomeLids: mongoose.Types.ObjectId[];
112
126
  averageBonusPreviousTwoYears: Pound;
113
127
  basicGrossIncome: Pound;
114
- basicPay: Pound;
115
- carAllowance: Pound;
116
- childBenefit: Pound;
117
- childBenefitOrSchoolAllowance: Pound;
118
128
  dateJoined: string;
119
129
  disabilityLiving: Pound;
120
130
  employerName: string;
@@ -141,8 +151,6 @@ declare const applicantEmploymentSchema: mongoose.Schema<any, mongoose.Model<any
141
151
  previousNatureOfBusiness: string;
142
152
  referenceContact: string;
143
153
  referenceContactEmail: string;
144
- secondJob: Pound;
145
- travelAllowance: Pound;
146
154
  underTerminationNoticeNote: string;
147
155
  contractRemaining?: string | null | undefined;
148
156
  }> & {
@@ -1 +1 @@
1
- {"version":3,"file":"applicant-employment.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-employment.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAE/C,QAAA,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqD7B,CAAC;AAEH,eAAe,yBAAyB,CAAC"}
1
+ {"version":3,"file":"applicant-employment.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-employment.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAE/C,QAAA,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+C7B,CAAC;AAEH,eAAe,yBAAyB,CAAC"}
@@ -11,10 +11,6 @@ const applicantEmploymentSchema = new mongoose.Schema({
11
11
  addressPostCode: { type: String, required: true },
12
12
  averageBonusPreviousTwoYears: { type: Pound, default: 0.00 },
13
13
  basicGrossIncome: { type: Pound, default: 0.00 },
14
- basicPay: { type: Pound, default: 0.00 },
15
- carAllowance: { type: Pound, default: 0.00 },
16
- childBenefit: { type: Pound, default: 0.00 },
17
- childBenefitOrSchoolAllowance: { type: Pound, default: 0.00 },
18
14
  contractRemaining: { type: String },
19
15
  dateJoined: { type: String, required: true },
20
16
  disabilityLiving: { type: Pound, default: 0.00 },
@@ -46,8 +42,6 @@ const applicantEmploymentSchema = new mongoose.Schema({
46
42
  previousNatureOfBusiness: { type: String, required: true },
47
43
  referenceContact: { type: String, default: null },
48
44
  referenceContactEmail: { type: String, required: true },
49
- secondJob: { type: Pound, default: 0.00 },
50
- travelAllowance: { type: Pound, default: 0.00 },
51
45
  underTerminationNoticeNote: { type: String, default: null }
52
46
  }, {
53
47
  toJSON: { getters: true },
@@ -1,64 +1,113 @@
1
+ /// <reference path="../value-objects/sort-code.d.ts" />
2
+ /// <reference types="mongoose/types/aggregate" />
3
+ /// <reference types="mongoose/types/callback" />
4
+ /// <reference types="mongoose/types/collection" />
5
+ /// <reference types="mongoose/types/connection" />
6
+ /// <reference types="mongoose/types/cursor" />
7
+ /// <reference types="mongoose/types/document" />
8
+ /// <reference types="mongoose/types/error" />
9
+ /// <reference types="mongoose/types/expressions" />
10
+ /// <reference types="mongoose/types/helpers" />
11
+ /// <reference types="mongoose/types/middlewares" />
12
+ /// <reference types="mongoose/types/indexes" />
13
+ /// <reference types="mongoose/types/models" />
14
+ /// <reference types="mongoose/types/mongooseoptions" />
15
+ /// <reference types="mongoose/types/pipelinestage" />
16
+ /// <reference types="mongoose/types/populate" />
17
+ /// <reference types="mongoose/types/query" />
18
+ /// <reference types="mongoose/types/schemaoptions" />
19
+ /// <reference types="mongoose/types/schematypes" />
20
+ /// <reference types="mongoose/types/session" />
21
+ /// <reference types="mongoose/types/types" />
22
+ /// <reference types="mongoose/types/utility" />
23
+ /// <reference types="mongoose/types/validation" />
24
+ /// <reference types="mongoose/types/virtuals" />
25
+ /// <reference types="mongoose/types/inferschematype" />
26
+ /// <reference types="mongoose/types/inferrawdoctype" />
1
27
  import mongoose from "mongoose";
2
28
  import { Pound } from "../value-objects/pound";
3
- declare const applicantExpenditureSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
29
+ declare const ApplicantExpenditureModel: mongoose.Model<{
30
+ createdAt: NativeDate;
31
+ updatedAt: NativeDate;
32
+ } & {
33
+ applicantId: mongoose.Types.ObjectId;
34
+ isFixed: boolean;
35
+ expenditureTypeLid: mongoose.Types.ObjectId;
36
+ declared?: Pound | null | undefined;
37
+ ons?: Pound | null | undefined;
38
+ actual?: Pound | null | undefined;
39
+ rationale?: string | null | undefined;
40
+ }, {}, {}, {}, mongoose.Document<unknown, {}, {
41
+ createdAt: NativeDate;
42
+ updatedAt: NativeDate;
43
+ } & {
44
+ applicantId: mongoose.Types.ObjectId;
45
+ isFixed: boolean;
46
+ expenditureTypeLid: mongoose.Types.ObjectId;
47
+ declared?: Pound | null | undefined;
48
+ ons?: Pound | null | undefined;
49
+ actual?: Pound | null | undefined;
50
+ rationale?: string | null | undefined;
51
+ }> & {
52
+ createdAt: NativeDate;
53
+ updatedAt: NativeDate;
54
+ } & {
55
+ applicantId: mongoose.Types.ObjectId;
56
+ isFixed: boolean;
57
+ expenditureTypeLid: mongoose.Types.ObjectId;
58
+ declared?: Pound | null | undefined;
59
+ ons?: Pound | null | undefined;
60
+ actual?: Pound | null | undefined;
61
+ rationale?: string | null | undefined;
62
+ } & {
63
+ _id: mongoose.Types.ObjectId;
64
+ } & {
65
+ __v: number;
66
+ }, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
67
+ timestamps: true;
4
68
  toJSON: {
5
- getters: true;
69
+ virtuals: true;
6
70
  };
7
71
  toObject: {
8
- getters: true;
72
+ virtuals: true;
9
73
  };
10
74
  }, {
11
- pageValidFlag: boolean;
12
- utilities: Pound;
13
- transport: Pound;
14
- subsistence: Pound;
15
- communication: Pound;
16
- health: Pound;
17
- groundRentOrServiceCharge: Pound;
18
- insurance: Pound;
19
- childCareForDependents: Pound;
20
- councilTax: Pound;
21
- clothingAndFootwear: Pound;
22
- vehicleInsurance: Pound;
23
- mortgagePaymentVehicle: Pound;
24
- other: Pound;
25
- totalMontlyExpenditure?: string | null | undefined;
75
+ createdAt: NativeDate;
76
+ updatedAt: NativeDate;
77
+ } & {
78
+ applicantId: mongoose.Types.ObjectId;
79
+ isFixed: boolean;
80
+ expenditureTypeLid: mongoose.Types.ObjectId;
81
+ declared?: Pound | null | undefined;
82
+ ons?: Pound | null | undefined;
83
+ actual?: Pound | null | undefined;
84
+ rationale?: string | null | undefined;
26
85
  }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
27
- pageValidFlag: boolean;
28
- utilities: Pound;
29
- transport: Pound;
30
- subsistence: Pound;
31
- communication: Pound;
32
- health: Pound;
33
- groundRentOrServiceCharge: Pound;
34
- insurance: Pound;
35
- childCareForDependents: Pound;
36
- councilTax: Pound;
37
- clothingAndFootwear: Pound;
38
- vehicleInsurance: Pound;
39
- mortgagePaymentVehicle: Pound;
40
- other: Pound;
41
- totalMontlyExpenditure?: string | null | undefined;
86
+ createdAt: NativeDate;
87
+ updatedAt: NativeDate;
88
+ } & {
89
+ applicantId: mongoose.Types.ObjectId;
90
+ isFixed: boolean;
91
+ expenditureTypeLid: mongoose.Types.ObjectId;
92
+ declared?: Pound | null | undefined;
93
+ ons?: Pound | null | undefined;
94
+ actual?: Pound | null | undefined;
95
+ rationale?: string | null | undefined;
42
96
  }>> & mongoose.FlatRecord<{
43
- pageValidFlag: boolean;
44
- utilities: Pound;
45
- transport: Pound;
46
- subsistence: Pound;
47
- communication: Pound;
48
- health: Pound;
49
- groundRentOrServiceCharge: Pound;
50
- insurance: Pound;
51
- childCareForDependents: Pound;
52
- councilTax: Pound;
53
- clothingAndFootwear: Pound;
54
- vehicleInsurance: Pound;
55
- mortgagePaymentVehicle: Pound;
56
- other: Pound;
57
- totalMontlyExpenditure?: string | null | undefined;
97
+ createdAt: NativeDate;
98
+ updatedAt: NativeDate;
99
+ } & {
100
+ applicantId: mongoose.Types.ObjectId;
101
+ isFixed: boolean;
102
+ expenditureTypeLid: mongoose.Types.ObjectId;
103
+ declared?: Pound | null | undefined;
104
+ ons?: Pound | null | undefined;
105
+ actual?: Pound | null | undefined;
106
+ rationale?: string | null | undefined;
58
107
  }> & {
59
108
  _id: mongoose.Types.ObjectId;
60
109
  } & {
61
110
  __v: number;
62
- }>;
63
- export default applicantExpenditureSchema;
111
+ }>>;
112
+ export default ApplicantExpenditureModel;
64
113
  //# sourceMappingURL=applicant-expenditure.model.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"applicant-expenditure.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-expenditure.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAE/C,QAAA,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmB9B,CAAC;AAEH,eAAe,0BAA0B,CAAC"}
1
+ {"version":3,"file":"applicant-expenditure.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-expenditure.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAoE/C,QAAA,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAuE,CAAC;AACvG,eAAe,yBAAyB,CAAC"}
@@ -1,23 +1,54 @@
1
1
  import mongoose from "mongoose";
2
2
  import { Pound } from "../value-objects/pound";
3
3
  const applicantExpenditureSchema = new mongoose.Schema({
4
- pageValidFlag: { type: Boolean, default: false },
5
- utilities: { type: Pound, required: true },
6
- transport: { type: Pound, required: true },
7
- subsistence: { type: Pound, required: true },
8
- communication: { type: Pound, required: true },
9
- health: { type: Pound, required: true },
10
- groundRentOrServiceCharge: { type: Pound, required: true },
11
- insurance: { type: Pound, required: true },
12
- childCareForDependents: { type: Pound, required: true },
13
- councilTax: { type: Pound, required: true },
14
- clothingAndFootwear: { type: Pound, required: true },
15
- vehicleInsurance: { type: Pound, required: true },
16
- mortgagePaymentVehicle: { type: Pound, required: true },
17
- other: { type: Pound, required: true },
18
- totalMontlyExpenditure: { type: String, }
4
+ applicantId: {
5
+ type: mongoose.Schema.Types.ObjectId,
6
+ ref: "Applicant",
7
+ required: true,
8
+ description: "Reference to the applicant this expenditure record belongs to.",
9
+ },
10
+ isFixed: {
11
+ type: Boolean,
12
+ default: false,
13
+ description: "True if all mandatory fields have been completed, otherwise false.",
14
+ },
15
+ expenditureTypeLid: {
16
+ type: mongoose.Schema.Types.ObjectId,
17
+ ref: "Lookup",
18
+ default: null,
19
+ description: "Essential expenditure lookup",
20
+ },
21
+ declared: {
22
+ type: Pound,
23
+ description: "Declared monthly expenditure amount provided by the applicant.",
24
+ },
25
+ ons: {
26
+ type: Pound,
27
+ description: "Office for National Statistics (ONS) benchmark monthly expenditure.",
28
+ },
29
+ actual: {
30
+ type: Pound,
31
+ description: "Actual monthly expenditure verified based on applicant's evidence.",
32
+ },
33
+ rationale: {
34
+ type: String,
35
+ description: "Rationalized monthly expenditure used for affordability assessment.",
36
+ },
19
37
  }, {
20
- toJSON: { getters: true },
21
- toObject: { getters: true }
38
+ timestamps: true,
39
+ toJSON: { virtuals: true },
40
+ toObject: { virtuals: true },
22
41
  });
23
- export default applicantExpenditureSchema;
42
+ // Virtual property for essentialExpenditure
43
+ const virtualEssentialExpenditure = applicantExpenditureSchema.virtual("ExpenditureType", {
44
+ ref: "Lookup",
45
+ localField: "expenditureTypeLid",
46
+ foreignField: "_id",
47
+ justOne: true,
48
+ options: {
49
+ select: "label",
50
+ },
51
+ });
52
+ virtualEssentialExpenditure.description = "Populated lookup value for essential expenditure.";
53
+ const ApplicantExpenditureModel = mongoose.model("Applicant_Expenditure", applicantExpenditureSchema);
54
+ export default ApplicantExpenditureModel;
@@ -1,3 +1,30 @@
1
+ /// <reference path="../value-objects/pound.d.ts" />
2
+ /// <reference path="../value-objects/sort-code.d.ts" />
3
+ /// <reference types="mongoose/types/aggregate" />
4
+ /// <reference types="mongoose/types/callback" />
5
+ /// <reference types="mongoose/types/collection" />
6
+ /// <reference types="mongoose/types/connection" />
7
+ /// <reference types="mongoose/types/cursor" />
8
+ /// <reference types="mongoose/types/document" />
9
+ /// <reference types="mongoose/types/error" />
10
+ /// <reference types="mongoose/types/expressions" />
11
+ /// <reference types="mongoose/types/helpers" />
12
+ /// <reference types="mongoose/types/middlewares" />
13
+ /// <reference types="mongoose/types/indexes" />
14
+ /// <reference types="mongoose/types/models" />
15
+ /// <reference types="mongoose/types/mongooseoptions" />
16
+ /// <reference types="mongoose/types/pipelinestage" />
17
+ /// <reference types="mongoose/types/populate" />
18
+ /// <reference types="mongoose/types/query" />
19
+ /// <reference types="mongoose/types/schemaoptions" />
20
+ /// <reference types="mongoose/types/schematypes" />
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/inferschematype" />
27
+ /// <reference types="mongoose/types/inferrawdoctype" />
1
28
  import mongoose from "mongoose";
2
29
  declare const applicantIncomeSourceSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
3
30
  employmentStatusLid: mongoose.Types.ObjectId;
@@ -1 +1 @@
1
- {"version":3,"file":"applicant-income-source.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-income-source.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAEhC,QAAA,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;EAM/B,CAAC;AAEH,eAAe,2BAA2B,CAAC"}
1
+ {"version":3,"file":"applicant-income-source.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-income-source.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAEhC,QAAA,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;EAM/B,CAAC;AAEH,eAAe,2BAA2B,CAAC"}
@@ -1,3 +1,29 @@
1
+ /// <reference path="../value-objects/sort-code.d.ts" />
2
+ /// <reference types="mongoose/types/aggregate" />
3
+ /// <reference types="mongoose/types/callback" />
4
+ /// <reference types="mongoose/types/collection" />
5
+ /// <reference types="mongoose/types/connection" />
6
+ /// <reference types="mongoose/types/cursor" />
7
+ /// <reference types="mongoose/types/document" />
8
+ /// <reference types="mongoose/types/error" />
9
+ /// <reference types="mongoose/types/expressions" />
10
+ /// <reference types="mongoose/types/helpers" />
11
+ /// <reference types="mongoose/types/middlewares" />
12
+ /// <reference types="mongoose/types/indexes" />
13
+ /// <reference types="mongoose/types/models" />
14
+ /// <reference types="mongoose/types/mongooseoptions" />
15
+ /// <reference types="mongoose/types/pipelinestage" />
16
+ /// <reference types="mongoose/types/populate" />
17
+ /// <reference types="mongoose/types/query" />
18
+ /// <reference types="mongoose/types/schemaoptions" />
19
+ /// <reference types="mongoose/types/schematypes" />
20
+ /// <reference types="mongoose/types/session" />
21
+ /// <reference types="mongoose/types/types" />
22
+ /// <reference types="mongoose/types/utility" />
23
+ /// <reference types="mongoose/types/validation" />
24
+ /// <reference types="mongoose/types/virtuals" />
25
+ /// <reference types="mongoose/types/inferschematype" />
26
+ /// <reference types="mongoose/types/inferrawdoctype" />
1
27
  import mongoose from "mongoose";
2
28
  import { Pound } from "../value-objects/pound";
3
29
  declare const incomeSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
@@ -55,6 +81,10 @@ declare const incomeSchema: mongoose.Schema<any, mongoose.Model<any, any, any, a
55
81
  year1: Pound;
56
82
  year2: Pound;
57
83
  year3: Pound;
84
+ totalEmploymentGrossIncome: Pound;
85
+ totalEmploymentNetIncome: Pound;
86
+ isEmploymentIncomeConfirmed: boolean;
87
+ employmentIncomeRationale: string;
58
88
  }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
59
89
  pageValidFlag: string;
60
90
  businessTypeLid: mongoose.Types.ObjectId;
@@ -103,6 +133,10 @@ declare const incomeSchema: mongoose.Schema<any, mongoose.Model<any, any, any, a
103
133
  year1: Pound;
104
134
  year2: Pound;
105
135
  year3: Pound;
136
+ totalEmploymentGrossIncome: Pound;
137
+ totalEmploymentNetIncome: Pound;
138
+ isEmploymentIncomeConfirmed: boolean;
139
+ employmentIncomeRationale: string;
106
140
  }>> & mongoose.FlatRecord<{
107
141
  pageValidFlag: string;
108
142
  businessTypeLid: mongoose.Types.ObjectId;
@@ -151,6 +185,10 @@ declare const incomeSchema: mongoose.Schema<any, mongoose.Model<any, any, any, a
151
185
  year1: Pound;
152
186
  year2: Pound;
153
187
  year3: Pound;
188
+ totalEmploymentGrossIncome: Pound;
189
+ totalEmploymentNetIncome: Pound;
190
+ isEmploymentIncomeConfirmed: boolean;
191
+ employmentIncomeRationale: string;
154
192
  }> & {
155
193
  _id: mongoose.Types.ObjectId;
156
194
  } & {
@@ -1 +1 @@
1
- {"version":3,"file":"applicant-income.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-income.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAE/C,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyDhB,CAAC;AAEH,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"applicant-income.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-income.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAE/C,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+DhB,CAAC;AAEH,eAAe,YAAY,CAAC"}
@@ -53,7 +53,11 @@ const incomeSchema = new mongoose.Schema({
53
53
  year3: { type: Pound, default: 0.00 },
54
54
  yearEnd1: { type: Number, default: '' },
55
55
  yearEnd2: { type: Number, default: '' },
56
- yearEnd3: { type: Number, default: '' }
56
+ yearEnd3: { type: Number, default: '' },
57
+ totalEmploymentGrossIncome: { type: Pound, default: 0.00 },
58
+ totalEmploymentNetIncome: { type: Pound, default: 0.00 },
59
+ isEmploymentIncomeConfirmed: { type: Boolean, default: false },
60
+ employmentIncomeRationale: { type: String, default: null },
57
61
  }, {
58
62
  toJSON: { getters: true },
59
63
  toObject: { getters: true }
@@ -1,3 +1,29 @@
1
+ /// <reference path="../value-objects/sort-code.d.ts" />
2
+ /// <reference types="mongoose/types/aggregate" />
3
+ /// <reference types="mongoose/types/callback" />
4
+ /// <reference types="mongoose/types/collection" />
5
+ /// <reference types="mongoose/types/connection" />
6
+ /// <reference types="mongoose/types/cursor" />
7
+ /// <reference types="mongoose/types/document" />
8
+ /// <reference types="mongoose/types/error" />
9
+ /// <reference types="mongoose/types/expressions" />
10
+ /// <reference types="mongoose/types/helpers" />
11
+ /// <reference types="mongoose/types/middlewares" />
12
+ /// <reference types="mongoose/types/indexes" />
13
+ /// <reference types="mongoose/types/models" />
14
+ /// <reference types="mongoose/types/mongooseoptions" />
15
+ /// <reference types="mongoose/types/pipelinestage" />
16
+ /// <reference types="mongoose/types/populate" />
17
+ /// <reference types="mongoose/types/query" />
18
+ /// <reference types="mongoose/types/schemaoptions" />
19
+ /// <reference types="mongoose/types/schematypes" />
20
+ /// <reference types="mongoose/types/session" />
21
+ /// <reference types="mongoose/types/types" />
22
+ /// <reference types="mongoose/types/utility" />
23
+ /// <reference types="mongoose/types/validation" />
24
+ /// <reference types="mongoose/types/virtuals" />
25
+ /// <reference types="mongoose/types/inferschematype" />
26
+ /// <reference types="mongoose/types/inferrawdoctype" />
1
27
  import mongoose from "mongoose";
2
28
  import { Pound } from "../value-objects/pound";
3
29
  declare const applicantOtherIncomeSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
@@ -1 +1 @@
1
- {"version":3,"file":"applicant-other-income.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-other-income.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAE/C,QAAA,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6C9B,CAAC;AAEH,eAAe,0BAA0B,CAAC"}
1
+ {"version":3,"file":"applicant-other-income.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-other-income.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAE/C,QAAA,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6C9B,CAAC;AAEH,eAAe,0BAA0B,CAAC"}
@@ -1,3 +1,29 @@
1
+ /// <reference path="../value-objects/sort-code.d.ts" />
2
+ /// <reference types="mongoose/types/aggregate" />
3
+ /// <reference types="mongoose/types/callback" />
4
+ /// <reference types="mongoose/types/collection" />
5
+ /// <reference types="mongoose/types/connection" />
6
+ /// <reference types="mongoose/types/cursor" />
7
+ /// <reference types="mongoose/types/document" />
8
+ /// <reference types="mongoose/types/error" />
9
+ /// <reference types="mongoose/types/expressions" />
10
+ /// <reference types="mongoose/types/helpers" />
11
+ /// <reference types="mongoose/types/middlewares" />
12
+ /// <reference types="mongoose/types/indexes" />
13
+ /// <reference types="mongoose/types/models" />
14
+ /// <reference types="mongoose/types/mongooseoptions" />
15
+ /// <reference types="mongoose/types/pipelinestage" />
16
+ /// <reference types="mongoose/types/populate" />
17
+ /// <reference types="mongoose/types/query" />
18
+ /// <reference types="mongoose/types/schemaoptions" />
19
+ /// <reference types="mongoose/types/schematypes" />
20
+ /// <reference types="mongoose/types/session" />
21
+ /// <reference types="mongoose/types/types" />
22
+ /// <reference types="mongoose/types/utility" />
23
+ /// <reference types="mongoose/types/validation" />
24
+ /// <reference types="mongoose/types/virtuals" />
25
+ /// <reference types="mongoose/types/inferschematype" />
26
+ /// <reference types="mongoose/types/inferrawdoctype" />
1
27
  import mongoose from "mongoose";
2
28
  import { Pound } from "../value-objects/pound";
3
29
  declare const propertyIncomeSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
@@ -1 +1 @@
1
- {"version":3,"file":"applicant-property-income.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-property-income.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAE/C,QAAA,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBxB,CAAC;AAEH,eAAe,oBAAoB,CAAC"}
1
+ {"version":3,"file":"applicant-property-income.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-property-income.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAE/C,QAAA,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBxB,CAAC;AAEH,eAAe,oBAAoB,CAAC"}
@@ -1,3 +1,30 @@
1
+ /// <reference path="../value-objects/pound.d.ts" />
2
+ /// <reference path="../value-objects/sort-code.d.ts" />
3
+ /// <reference types="mongoose/types/aggregate" />
4
+ /// <reference types="mongoose/types/callback" />
5
+ /// <reference types="mongoose/types/collection" />
6
+ /// <reference types="mongoose/types/connection" />
7
+ /// <reference types="mongoose/types/cursor" />
8
+ /// <reference types="mongoose/types/document" />
9
+ /// <reference types="mongoose/types/error" />
10
+ /// <reference types="mongoose/types/expressions" />
11
+ /// <reference types="mongoose/types/helpers" />
12
+ /// <reference types="mongoose/types/middlewares" />
13
+ /// <reference types="mongoose/types/indexes" />
14
+ /// <reference types="mongoose/types/models" />
15
+ /// <reference types="mongoose/types/mongooseoptions" />
16
+ /// <reference types="mongoose/types/pipelinestage" />
17
+ /// <reference types="mongoose/types/populate" />
18
+ /// <reference types="mongoose/types/query" />
19
+ /// <reference types="mongoose/types/schemaoptions" />
20
+ /// <reference types="mongoose/types/schematypes" />
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/inferschematype" />
27
+ /// <reference types="mongoose/types/inferrawdoctype" />
1
28
  import mongoose from 'mongoose';
2
29
  declare const applicantRiskNarrativeSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
3
30
  call2StatusLid: mongoose.Types.ObjectId;
@@ -1 +1 @@
1
- {"version":3,"file":"applicant-risk-narrative.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-risk-narrative.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAEhC,QAAA,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUhC,CAAC;AAEH,eAAe,4BAA4B,CAAC"}
1
+ {"version":3,"file":"applicant-risk-narrative.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-risk-narrative.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAEhC,QAAA,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUhC,CAAC;AAEH,eAAe,4BAA4B,CAAC"}