@dynamatix/gb-schemas 1.2.145 → 1.2.146
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.
- package/dist/applicants/applicant.model.d.ts +57 -57
- package/dist/applicants/applicant.model.d.ts.map +1 -1
- package/dist/applicants/applicant.model.js +4 -4
- package/dist/applications/application-mortgage.model.d.ts +36 -0
- package/dist/applications/application-mortgage.model.d.ts.map +1 -1
- package/dist/applications/application-mortgage.model.js +6 -0
- package/dist/applications/application.model.d.ts +0 -36
- package/dist/applications/application.model.d.ts.map +1 -1
- package/dist/applications/application.model.js +0 -6
- package/package.json +1 -1
|
@@ -119,8 +119,8 @@ declare const ApplicantModel: mongoose.Model<{
|
|
|
119
119
|
otherIncome?: unknown;
|
|
120
120
|
incomeSource?: unknown;
|
|
121
121
|
expenditure?: unknown;
|
|
122
|
-
employment?: unknown;
|
|
123
122
|
directDebit?: unknown;
|
|
123
|
+
employment?: unknown;
|
|
124
124
|
propertyIncome?: unknown;
|
|
125
125
|
income?: unknown;
|
|
126
126
|
addressMovedDate?: unknown;
|
|
@@ -361,8 +361,8 @@ declare const ApplicantModel: mongoose.Model<{
|
|
|
361
361
|
otherIncome?: unknown;
|
|
362
362
|
incomeSource?: unknown;
|
|
363
363
|
expenditure?: unknown;
|
|
364
|
-
employment?: unknown;
|
|
365
364
|
directDebit?: unknown;
|
|
365
|
+
employment?: unknown;
|
|
366
366
|
propertyIncome?: unknown;
|
|
367
367
|
income?: unknown;
|
|
368
368
|
addressMovedDate?: unknown;
|
|
@@ -603,8 +603,8 @@ declare const ApplicantModel: mongoose.Model<{
|
|
|
603
603
|
otherIncome?: unknown;
|
|
604
604
|
incomeSource?: unknown;
|
|
605
605
|
expenditure?: unknown;
|
|
606
|
-
employment?: unknown;
|
|
607
606
|
directDebit?: unknown;
|
|
607
|
+
employment?: unknown;
|
|
608
608
|
propertyIncome?: unknown;
|
|
609
609
|
income?: unknown;
|
|
610
610
|
addressMovedDate?: unknown;
|
|
@@ -1963,6 +1963,24 @@ declare const ApplicantModel: mongoose.Model<{
|
|
|
1963
1963
|
} | null | undefined;
|
|
1964
1964
|
totalMontlyExpenditure?: unknown;
|
|
1965
1965
|
} | null | undefined;
|
|
1966
|
+
directDebit?: ({
|
|
1967
|
+
createdAt: NativeDate;
|
|
1968
|
+
updatedAt: NativeDate;
|
|
1969
|
+
} & {
|
|
1970
|
+
isConfirmDeclaration: string;
|
|
1971
|
+
applicationId?: mongoose.Types.ObjectId | null | undefined;
|
|
1972
|
+
addressLine1?: string | null | undefined;
|
|
1973
|
+
addressLine2?: string | null | undefined;
|
|
1974
|
+
accountNumber?: string | null | undefined;
|
|
1975
|
+
branch?: string | null | undefined;
|
|
1976
|
+
city?: string | null | undefined;
|
|
1977
|
+
contactPostcode?: string | null | undefined;
|
|
1978
|
+
institution?: string | null | undefined;
|
|
1979
|
+
nameOfAccountHolder?: string | null | undefined;
|
|
1980
|
+
sortCode?: string | null | undefined;
|
|
1981
|
+
selectedPaymentDay?: string | null | undefined;
|
|
1982
|
+
Applicants?: string | null | undefined;
|
|
1983
|
+
}) | null | undefined;
|
|
1966
1984
|
employment?: {
|
|
1967
1985
|
acceptableIncomeLids: mongoose.Types.ObjectId[];
|
|
1968
1986
|
applicantId?: mongoose.Types.ObjectId | null | undefined;
|
|
@@ -2655,24 +2673,6 @@ declare const ApplicantModel: mongoose.Model<{
|
|
|
2655
2673
|
} | null | undefined;
|
|
2656
2674
|
underTerminationNoticeNote?: unknown;
|
|
2657
2675
|
} | null | undefined;
|
|
2658
|
-
directDebit?: ({
|
|
2659
|
-
createdAt: NativeDate;
|
|
2660
|
-
updatedAt: NativeDate;
|
|
2661
|
-
} & {
|
|
2662
|
-
isConfirmDeclaration: string;
|
|
2663
|
-
applicationId?: mongoose.Types.ObjectId | null | undefined;
|
|
2664
|
-
addressLine1?: string | null | undefined;
|
|
2665
|
-
addressLine2?: string | null | undefined;
|
|
2666
|
-
accountNumber?: string | null | undefined;
|
|
2667
|
-
branch?: string | null | undefined;
|
|
2668
|
-
city?: string | null | undefined;
|
|
2669
|
-
contactPostcode?: string | null | undefined;
|
|
2670
|
-
institution?: string | null | undefined;
|
|
2671
|
-
nameOfAccountHolder?: string | null | undefined;
|
|
2672
|
-
sortCode?: string | null | undefined;
|
|
2673
|
-
selectedPaymentDay?: string | null | undefined;
|
|
2674
|
-
Applicants?: string | null | undefined;
|
|
2675
|
-
}) | null | undefined;
|
|
2676
2676
|
propertyIncome?: {
|
|
2677
2677
|
pageValidFlag?: unknown;
|
|
2678
2678
|
yearEnd1?: unknown;
|
|
@@ -4648,6 +4648,24 @@ declare const ApplicantModel: mongoose.Model<{
|
|
|
4648
4648
|
} | null | undefined;
|
|
4649
4649
|
totalMontlyExpenditure?: unknown;
|
|
4650
4650
|
} | null | undefined;
|
|
4651
|
+
directDebit?: ({
|
|
4652
|
+
createdAt: NativeDate;
|
|
4653
|
+
updatedAt: NativeDate;
|
|
4654
|
+
} & {
|
|
4655
|
+
isConfirmDeclaration: string;
|
|
4656
|
+
applicationId?: mongoose.Types.ObjectId | null | undefined;
|
|
4657
|
+
addressLine1?: string | null | undefined;
|
|
4658
|
+
addressLine2?: string | null | undefined;
|
|
4659
|
+
accountNumber?: string | null | undefined;
|
|
4660
|
+
branch?: string | null | undefined;
|
|
4661
|
+
city?: string | null | undefined;
|
|
4662
|
+
contactPostcode?: string | null | undefined;
|
|
4663
|
+
institution?: string | null | undefined;
|
|
4664
|
+
nameOfAccountHolder?: string | null | undefined;
|
|
4665
|
+
sortCode?: string | null | undefined;
|
|
4666
|
+
selectedPaymentDay?: string | null | undefined;
|
|
4667
|
+
Applicants?: string | null | undefined;
|
|
4668
|
+
}) | null | undefined;
|
|
4651
4669
|
employment?: {
|
|
4652
4670
|
acceptableIncomeLids: mongoose.Types.ObjectId[];
|
|
4653
4671
|
applicantId?: mongoose.Types.ObjectId | null | undefined;
|
|
@@ -5340,24 +5358,6 @@ declare const ApplicantModel: mongoose.Model<{
|
|
|
5340
5358
|
} | null | undefined;
|
|
5341
5359
|
underTerminationNoticeNote?: unknown;
|
|
5342
5360
|
} | null | undefined;
|
|
5343
|
-
directDebit?: ({
|
|
5344
|
-
createdAt: NativeDate;
|
|
5345
|
-
updatedAt: NativeDate;
|
|
5346
|
-
} & {
|
|
5347
|
-
isConfirmDeclaration: string;
|
|
5348
|
-
applicationId?: mongoose.Types.ObjectId | null | undefined;
|
|
5349
|
-
addressLine1?: string | null | undefined;
|
|
5350
|
-
addressLine2?: string | null | undefined;
|
|
5351
|
-
accountNumber?: string | null | undefined;
|
|
5352
|
-
branch?: string | null | undefined;
|
|
5353
|
-
city?: string | null | undefined;
|
|
5354
|
-
contactPostcode?: string | null | undefined;
|
|
5355
|
-
institution?: string | null | undefined;
|
|
5356
|
-
nameOfAccountHolder?: string | null | undefined;
|
|
5357
|
-
sortCode?: string | null | undefined;
|
|
5358
|
-
selectedPaymentDay?: string | null | undefined;
|
|
5359
|
-
Applicants?: string | null | undefined;
|
|
5360
|
-
}) | null | undefined;
|
|
5361
5361
|
propertyIncome?: {
|
|
5362
5362
|
pageValidFlag?: unknown;
|
|
5363
5363
|
yearEnd1?: unknown;
|
|
@@ -7333,6 +7333,24 @@ declare const ApplicantModel: mongoose.Model<{
|
|
|
7333
7333
|
} | null | undefined;
|
|
7334
7334
|
totalMontlyExpenditure?: unknown;
|
|
7335
7335
|
} | null | undefined;
|
|
7336
|
+
directDebit?: ({
|
|
7337
|
+
createdAt: NativeDate;
|
|
7338
|
+
updatedAt: NativeDate;
|
|
7339
|
+
} & {
|
|
7340
|
+
isConfirmDeclaration: string;
|
|
7341
|
+
applicationId?: mongoose.Types.ObjectId | null | undefined;
|
|
7342
|
+
addressLine1?: string | null | undefined;
|
|
7343
|
+
addressLine2?: string | null | undefined;
|
|
7344
|
+
accountNumber?: string | null | undefined;
|
|
7345
|
+
branch?: string | null | undefined;
|
|
7346
|
+
city?: string | null | undefined;
|
|
7347
|
+
contactPostcode?: string | null | undefined;
|
|
7348
|
+
institution?: string | null | undefined;
|
|
7349
|
+
nameOfAccountHolder?: string | null | undefined;
|
|
7350
|
+
sortCode?: string | null | undefined;
|
|
7351
|
+
selectedPaymentDay?: string | null | undefined;
|
|
7352
|
+
Applicants?: string | null | undefined;
|
|
7353
|
+
}) | null | undefined;
|
|
7336
7354
|
employment?: {
|
|
7337
7355
|
acceptableIncomeLids: mongoose.Types.ObjectId[];
|
|
7338
7356
|
applicantId?: mongoose.Types.ObjectId | null | undefined;
|
|
@@ -8025,24 +8043,6 @@ declare const ApplicantModel: mongoose.Model<{
|
|
|
8025
8043
|
} | null | undefined;
|
|
8026
8044
|
underTerminationNoticeNote?: unknown;
|
|
8027
8045
|
} | null | undefined;
|
|
8028
|
-
directDebit?: ({
|
|
8029
|
-
createdAt: NativeDate;
|
|
8030
|
-
updatedAt: NativeDate;
|
|
8031
|
-
} & {
|
|
8032
|
-
isConfirmDeclaration: string;
|
|
8033
|
-
applicationId?: mongoose.Types.ObjectId | null | undefined;
|
|
8034
|
-
addressLine1?: string | null | undefined;
|
|
8035
|
-
addressLine2?: string | null | undefined;
|
|
8036
|
-
accountNumber?: string | null | undefined;
|
|
8037
|
-
branch?: string | null | undefined;
|
|
8038
|
-
city?: string | null | undefined;
|
|
8039
|
-
contactPostcode?: string | null | undefined;
|
|
8040
|
-
institution?: string | null | undefined;
|
|
8041
|
-
nameOfAccountHolder?: string | null | undefined;
|
|
8042
|
-
sortCode?: string | null | undefined;
|
|
8043
|
-
selectedPaymentDay?: string | null | undefined;
|
|
8044
|
-
Applicants?: string | null | undefined;
|
|
8045
|
-
}) | null | undefined;
|
|
8046
8046
|
propertyIncome?: {
|
|
8047
8047
|
pageValidFlag?: unknown;
|
|
8048
8048
|
yearEnd1?: unknown;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicant.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA+C,CAAC;AACpE,eAAe,cAAc,CAAC"}
|
|
@@ -161,9 +161,9 @@ const applicantSchema = new mongoose.Schema({
|
|
|
161
161
|
otherIncome: applicantOtherIncomeSchema,
|
|
162
162
|
incomeSource: applicantIncomeSourceSchema,
|
|
163
163
|
expenditure: applicantExpenditureSchema,
|
|
164
|
-
employment: applicantEmploymentSchema,
|
|
165
164
|
directDebit: applicantDirectDebitSchema,
|
|
166
165
|
creditProfile: creditProfileSchema,
|
|
166
|
+
employment: applicantEmploymentSchema,
|
|
167
167
|
propertyIncome: propertyIncomeSchema,
|
|
168
168
|
income: incomeSchema
|
|
169
169
|
}, {
|
|
@@ -189,12 +189,12 @@ applicantSchema.virtual('previous1AddressCountry').get(function () {
|
|
|
189
189
|
applicantSchema.virtual('previous2AddressCountry').get(function () {
|
|
190
190
|
return this.previous2AddressCountryLid?.name ?? null;
|
|
191
191
|
});
|
|
192
|
-
applicantSchema.virtual('maritalStatus').get(function () {
|
|
193
|
-
return this.maritalStatusLid?.name ?? null;
|
|
194
|
-
});
|
|
195
192
|
applicantSchema.virtual('industry').get(function () {
|
|
196
193
|
return this.employment?.industryLid?.name ?? null;
|
|
197
194
|
});
|
|
195
|
+
applicantSchema.virtual('maritalStatus').get(function () {
|
|
196
|
+
return this.maritalStatusLid?.name ?? null;
|
|
197
|
+
});
|
|
198
198
|
applicantSchema.virtual('residentialStatus').get(function () {
|
|
199
199
|
return this.residentialStatusLid?.name ?? null;
|
|
200
200
|
});
|
|
@@ -21,6 +21,12 @@ declare const MortgageModel: mongoose.Model<{
|
|
|
21
21
|
isTheIntentionToLet: boolean;
|
|
22
22
|
proposedTenantsLids: mongoose.Types.ObjectId[];
|
|
23
23
|
leaseTypeLid: mongoose.Types.ObjectId;
|
|
24
|
+
sourceOfWealthLids: mongoose.Types.ObjectId[];
|
|
25
|
+
sowBusiness: string;
|
|
26
|
+
sowInheritance: string;
|
|
27
|
+
sowOther: string;
|
|
28
|
+
sowProperty: string;
|
|
29
|
+
sowSalary: string;
|
|
24
30
|
existingMortgageLender?: string | null | undefined;
|
|
25
31
|
purposeOfMortgage?: string | null | undefined;
|
|
26
32
|
ifOtherDetails?: string | null | undefined;
|
|
@@ -57,6 +63,12 @@ declare const MortgageModel: mongoose.Model<{
|
|
|
57
63
|
isTheIntentionToLet: boolean;
|
|
58
64
|
proposedTenantsLids: mongoose.Types.ObjectId[];
|
|
59
65
|
leaseTypeLid: mongoose.Types.ObjectId;
|
|
66
|
+
sourceOfWealthLids: mongoose.Types.ObjectId[];
|
|
67
|
+
sowBusiness: string;
|
|
68
|
+
sowInheritance: string;
|
|
69
|
+
sowOther: string;
|
|
70
|
+
sowProperty: string;
|
|
71
|
+
sowSalary: string;
|
|
60
72
|
existingMortgageLender?: string | null | undefined;
|
|
61
73
|
purposeOfMortgage?: string | null | undefined;
|
|
62
74
|
ifOtherDetails?: string | null | undefined;
|
|
@@ -93,6 +105,12 @@ declare const MortgageModel: mongoose.Model<{
|
|
|
93
105
|
isTheIntentionToLet: boolean;
|
|
94
106
|
proposedTenantsLids: mongoose.Types.ObjectId[];
|
|
95
107
|
leaseTypeLid: mongoose.Types.ObjectId;
|
|
108
|
+
sourceOfWealthLids: mongoose.Types.ObjectId[];
|
|
109
|
+
sowBusiness: string;
|
|
110
|
+
sowInheritance: string;
|
|
111
|
+
sowOther: string;
|
|
112
|
+
sowProperty: string;
|
|
113
|
+
sowSalary: string;
|
|
96
114
|
existingMortgageLender?: string | null | undefined;
|
|
97
115
|
purposeOfMortgage?: string | null | undefined;
|
|
98
116
|
ifOtherDetails?: string | null | undefined;
|
|
@@ -141,6 +159,12 @@ declare const MortgageModel: mongoose.Model<{
|
|
|
141
159
|
isTheIntentionToLet: boolean;
|
|
142
160
|
proposedTenantsLids: mongoose.Types.ObjectId[];
|
|
143
161
|
leaseTypeLid: mongoose.Types.ObjectId;
|
|
162
|
+
sourceOfWealthLids: mongoose.Types.ObjectId[];
|
|
163
|
+
sowBusiness: string;
|
|
164
|
+
sowInheritance: string;
|
|
165
|
+
sowOther: string;
|
|
166
|
+
sowProperty: string;
|
|
167
|
+
sowSalary: string;
|
|
144
168
|
existingMortgageLender?: string | null | undefined;
|
|
145
169
|
purposeOfMortgage?: string | null | undefined;
|
|
146
170
|
ifOtherDetails?: string | null | undefined;
|
|
@@ -177,6 +201,12 @@ declare const MortgageModel: mongoose.Model<{
|
|
|
177
201
|
isTheIntentionToLet: boolean;
|
|
178
202
|
proposedTenantsLids: mongoose.Types.ObjectId[];
|
|
179
203
|
leaseTypeLid: mongoose.Types.ObjectId;
|
|
204
|
+
sourceOfWealthLids: mongoose.Types.ObjectId[];
|
|
205
|
+
sowBusiness: string;
|
|
206
|
+
sowInheritance: string;
|
|
207
|
+
sowOther: string;
|
|
208
|
+
sowProperty: string;
|
|
209
|
+
sowSalary: string;
|
|
180
210
|
existingMortgageLender?: string | null | undefined;
|
|
181
211
|
purposeOfMortgage?: string | null | undefined;
|
|
182
212
|
ifOtherDetails?: string | null | undefined;
|
|
@@ -213,6 +243,12 @@ declare const MortgageModel: mongoose.Model<{
|
|
|
213
243
|
isTheIntentionToLet: boolean;
|
|
214
244
|
proposedTenantsLids: mongoose.Types.ObjectId[];
|
|
215
245
|
leaseTypeLid: mongoose.Types.ObjectId;
|
|
246
|
+
sourceOfWealthLids: mongoose.Types.ObjectId[];
|
|
247
|
+
sowBusiness: string;
|
|
248
|
+
sowInheritance: string;
|
|
249
|
+
sowOther: string;
|
|
250
|
+
sowProperty: string;
|
|
251
|
+
sowSalary: string;
|
|
216
252
|
existingMortgageLender?: string | null | undefined;
|
|
217
253
|
purposeOfMortgage?: string | null | undefined;
|
|
218
254
|
ifOtherDetails?: string | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-mortgage.model.d.ts","sourceRoot":"","sources":["../../applications/application-mortgage.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"application-mortgage.model.d.ts","sourceRoot":"","sources":["../../applications/application-mortgage.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAiS/C,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA6C,CAAC;AAEjE,eAAe,aAAa,CAAC"}
|
|
@@ -162,6 +162,12 @@ const mortgageSchema = new mongoose.Schema({
|
|
|
162
162
|
maxlength: 50,
|
|
163
163
|
description: "Details of the gift for the mortgage",
|
|
164
164
|
},
|
|
165
|
+
sourceOfWealthLids: [{ type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true }],
|
|
166
|
+
sowBusiness: { type: String, default: "" },
|
|
167
|
+
sowInheritance: { type: String, default: "" },
|
|
168
|
+
sowOther: { type: String, default: "" },
|
|
169
|
+
sowProperty: { type: String, default: "" },
|
|
170
|
+
sowSalary: { type: String, default: "" },
|
|
165
171
|
}, {
|
|
166
172
|
timestamps: true,
|
|
167
173
|
toJSON: { virtuals: true },
|
|
@@ -28,12 +28,6 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
28
28
|
newReason: string;
|
|
29
29
|
purchaseTypeLid: mongoose.Types.ObjectId;
|
|
30
30
|
rejectedReason: string;
|
|
31
|
-
sourceOfWealthLids: mongoose.Types.ObjectId[];
|
|
32
|
-
sowBusiness: string;
|
|
33
|
-
sowInheritance: string;
|
|
34
|
-
sowOther: string;
|
|
35
|
-
sowProperty: string;
|
|
36
|
-
sowSalary: string;
|
|
37
31
|
submitReason: string;
|
|
38
32
|
underwriter: string;
|
|
39
33
|
isValuationFeePaid: string;
|
|
@@ -217,12 +211,6 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
217
211
|
newReason: string;
|
|
218
212
|
purchaseTypeLid: mongoose.Types.ObjectId;
|
|
219
213
|
rejectedReason: string;
|
|
220
|
-
sourceOfWealthLids: mongoose.Types.ObjectId[];
|
|
221
|
-
sowBusiness: string;
|
|
222
|
-
sowInheritance: string;
|
|
223
|
-
sowOther: string;
|
|
224
|
-
sowProperty: string;
|
|
225
|
-
sowSalary: string;
|
|
226
214
|
submitReason: string;
|
|
227
215
|
underwriter: string;
|
|
228
216
|
isValuationFeePaid: string;
|
|
@@ -406,12 +394,6 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
406
394
|
newReason: string;
|
|
407
395
|
purchaseTypeLid: mongoose.Types.ObjectId;
|
|
408
396
|
rejectedReason: string;
|
|
409
|
-
sourceOfWealthLids: mongoose.Types.ObjectId[];
|
|
410
|
-
sowBusiness: string;
|
|
411
|
-
sowInheritance: string;
|
|
412
|
-
sowOther: string;
|
|
413
|
-
sowProperty: string;
|
|
414
|
-
sowSalary: string;
|
|
415
397
|
submitReason: string;
|
|
416
398
|
underwriter: string;
|
|
417
399
|
isValuationFeePaid: string;
|
|
@@ -607,12 +589,6 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
607
589
|
newReason: string;
|
|
608
590
|
purchaseTypeLid: mongoose.Types.ObjectId;
|
|
609
591
|
rejectedReason: string;
|
|
610
|
-
sourceOfWealthLids: mongoose.Types.ObjectId[];
|
|
611
|
-
sowBusiness: string;
|
|
612
|
-
sowInheritance: string;
|
|
613
|
-
sowOther: string;
|
|
614
|
-
sowProperty: string;
|
|
615
|
-
sowSalary: string;
|
|
616
592
|
submitReason: string;
|
|
617
593
|
underwriter: string;
|
|
618
594
|
isValuationFeePaid: string;
|
|
@@ -796,12 +772,6 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
796
772
|
newReason: string;
|
|
797
773
|
purchaseTypeLid: mongoose.Types.ObjectId;
|
|
798
774
|
rejectedReason: string;
|
|
799
|
-
sourceOfWealthLids: mongoose.Types.ObjectId[];
|
|
800
|
-
sowBusiness: string;
|
|
801
|
-
sowInheritance: string;
|
|
802
|
-
sowOther: string;
|
|
803
|
-
sowProperty: string;
|
|
804
|
-
sowSalary: string;
|
|
805
775
|
submitReason: string;
|
|
806
776
|
underwriter: string;
|
|
807
777
|
isValuationFeePaid: string;
|
|
@@ -985,12 +955,6 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
985
955
|
newReason: string;
|
|
986
956
|
purchaseTypeLid: mongoose.Types.ObjectId;
|
|
987
957
|
rejectedReason: string;
|
|
988
|
-
sourceOfWealthLids: mongoose.Types.ObjectId[];
|
|
989
|
-
sowBusiness: string;
|
|
990
|
-
sowInheritance: string;
|
|
991
|
-
sowOther: string;
|
|
992
|
-
sowProperty: string;
|
|
993
|
-
sowSalary: string;
|
|
994
958
|
submitReason: string;
|
|
995
959
|
underwriter: string;
|
|
996
960
|
isValuationFeePaid: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application.model.d.ts","sourceRoot":"","sources":["../../applications/application.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"application.model.d.ts","sourceRoot":"","sources":["../../applications/application.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAyKhC,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAmD,CAAC;AAC1E,eAAe,gBAAgB,CAAC"}
|
|
@@ -32,12 +32,6 @@ const applicationSchema = new mongoose.Schema({
|
|
|
32
32
|
rejectedReason: { type: String, default: "" },
|
|
33
33
|
repaymentTypeLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true },
|
|
34
34
|
selectedProduct: { type: String, required: false },
|
|
35
|
-
sourceOfWealthLids: [{ type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true }],
|
|
36
|
-
sowBusiness: { type: String, default: "" },
|
|
37
|
-
sowInheritance: { type: String, default: "" },
|
|
38
|
-
sowOther: { type: String, default: "" },
|
|
39
|
-
sowProperty: { type: String, default: "" },
|
|
40
|
-
sowSalary: { type: String, default: "" },
|
|
41
35
|
statusLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true },
|
|
42
36
|
submitReason: { type: String, default: "" },
|
|
43
37
|
submittedDate: { type: String },
|