@dynamatix/gb-schemas 2.3.420 → 2.3.422
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/README.md +308 -308
- package/dist/applicants/applicant-commitment-mortgage.model.d.ts +0 -243
- package/dist/applicants/applicant-commitment-mortgage.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-mortgage.model.js +0 -17
- package/dist/applicants/applicant-expenditure.model.d.ts +6 -6
- package/dist/applicants/applicant-income-source.model.d.ts +26 -0
- package/dist/applicants/applicant-income-source.model.d.ts.map +1 -0
- package/dist/applicants/applicant-income.model.d.ts +160 -0
- package/dist/applicants/applicant-income.model.d.ts.map +1 -0
- package/dist/applicants/applicant-other-income.model.d.ts +85 -0
- package/dist/applicants/applicant-other-income.model.d.ts.map +1 -0
- package/dist/applicants/applicant-welcome-call.model.js +9 -9
- package/dist/applications/application-document.model.d.ts +158 -0
- package/dist/applications/application-document.model.d.ts.map +1 -0
- package/dist/applications/document.model.d.ts +158 -0
- package/dist/applications/document.model.d.ts.map +1 -0
- package/dist/applications/productfeatures.model.d.ts +368 -0
- package/dist/applications/productfeatures.model.d.ts.map +1 -0
- package/dist/shared/document-type-model.d.ts +48 -0
- package/dist/shared/document-type-model.d.ts.map +1 -0
- package/package.json +87 -87
|
@@ -151,70 +151,6 @@ declare const MortgageCommitmentModel: mongoose.Model<{
|
|
|
151
151
|
financeHomeTypeLid?: unknown;
|
|
152
152
|
remainingTermMonth?: unknown;
|
|
153
153
|
chargeTypeLid?: unknown;
|
|
154
|
-
PropertyNotes?: unknown;
|
|
155
|
-
ActualPropertyValue?: {
|
|
156
|
-
validators: mongoose.Types.DocumentArray<{
|
|
157
|
-
type?: unknown;
|
|
158
|
-
message?: unknown;
|
|
159
|
-
validator?: unknown;
|
|
160
|
-
reason?: unknown;
|
|
161
|
-
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
162
|
-
type?: unknown;
|
|
163
|
-
message?: unknown;
|
|
164
|
-
validator?: unknown;
|
|
165
|
-
reason?: unknown;
|
|
166
|
-
}> & {
|
|
167
|
-
type?: unknown;
|
|
168
|
-
message?: unknown;
|
|
169
|
-
validator?: unknown;
|
|
170
|
-
reason?: unknown;
|
|
171
|
-
}>;
|
|
172
|
-
get?: {} | null | undefined;
|
|
173
|
-
schema?: {
|
|
174
|
-
[x: string]: unknown;
|
|
175
|
-
} | null | undefined;
|
|
176
|
-
set?: {} | null | undefined;
|
|
177
|
-
validate?: {} | null | undefined;
|
|
178
|
-
index?: {} | null | undefined;
|
|
179
|
-
default?: {} | null | undefined;
|
|
180
|
-
text?: {} | null | undefined;
|
|
181
|
-
unique?: {} | null | undefined;
|
|
182
|
-
sparse?: {} | null | undefined;
|
|
183
|
-
cast?: {} | null | undefined;
|
|
184
|
-
required?: {} | null | undefined;
|
|
185
|
-
ref?: {} | null | undefined;
|
|
186
|
-
select?: {} | null | undefined;
|
|
187
|
-
immutable?: {} | null | undefined;
|
|
188
|
-
transform?: {} | null | undefined;
|
|
189
|
-
options?: {
|
|
190
|
-
[x: string]: unknown;
|
|
191
|
-
} | null | undefined;
|
|
192
|
-
OptionsConstructor?: {
|
|
193
|
-
[x: string]: unknown;
|
|
194
|
-
} | null | undefined;
|
|
195
|
-
getEmbeddedSchemaType?: {} | null | undefined;
|
|
196
|
-
instance?: unknown;
|
|
197
|
-
isRequired?: unknown;
|
|
198
|
-
path?: unknown;
|
|
199
|
-
toJSONSchema?: {} | null | undefined;
|
|
200
|
-
validateAll?: {} | null | undefined;
|
|
201
|
-
defaultOptions?: unknown;
|
|
202
|
-
} | null | undefined;
|
|
203
|
-
PropertyBuiltType?: unknown;
|
|
204
|
-
hasLift?: unknown;
|
|
205
|
-
AgeofProperty?: unknown;
|
|
206
|
-
Dateofpropertybuilt?: unknown;
|
|
207
|
-
PropertyType?: unknown;
|
|
208
|
-
RegistrationDateandTime?: unknown;
|
|
209
|
-
Age?: unknown;
|
|
210
|
-
CountryMultiselect?: unknown;
|
|
211
|
-
PercentageofEPC?: unknown;
|
|
212
|
-
propertyTypeLid?: unknown;
|
|
213
|
-
rationale?: unknown;
|
|
214
|
-
ApplicantSortcode?: unknown;
|
|
215
|
-
accountnumber?: unknown;
|
|
216
|
-
Postcode?: unknown;
|
|
217
|
-
AddressLine1?: unknown;
|
|
218
154
|
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
219
155
|
isSelected?: unknown;
|
|
220
156
|
source?: unknown;
|
|
@@ -338,70 +274,6 @@ declare const MortgageCommitmentModel: mongoose.Model<{
|
|
|
338
274
|
financeHomeTypeLid?: unknown;
|
|
339
275
|
remainingTermMonth?: unknown;
|
|
340
276
|
chargeTypeLid?: unknown;
|
|
341
|
-
PropertyNotes?: unknown;
|
|
342
|
-
ActualPropertyValue?: {
|
|
343
|
-
validators: mongoose.Types.DocumentArray<{
|
|
344
|
-
type?: unknown;
|
|
345
|
-
message?: unknown;
|
|
346
|
-
validator?: unknown;
|
|
347
|
-
reason?: unknown;
|
|
348
|
-
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
349
|
-
type?: unknown;
|
|
350
|
-
message?: unknown;
|
|
351
|
-
validator?: unknown;
|
|
352
|
-
reason?: unknown;
|
|
353
|
-
}> & {
|
|
354
|
-
type?: unknown;
|
|
355
|
-
message?: unknown;
|
|
356
|
-
validator?: unknown;
|
|
357
|
-
reason?: unknown;
|
|
358
|
-
}>;
|
|
359
|
-
get?: {} | null | undefined;
|
|
360
|
-
schema?: {
|
|
361
|
-
[x: string]: unknown;
|
|
362
|
-
} | null | undefined;
|
|
363
|
-
set?: {} | null | undefined;
|
|
364
|
-
validate?: {} | null | undefined;
|
|
365
|
-
index?: {} | null | undefined;
|
|
366
|
-
default?: {} | null | undefined;
|
|
367
|
-
text?: {} | null | undefined;
|
|
368
|
-
unique?: {} | null | undefined;
|
|
369
|
-
sparse?: {} | null | undefined;
|
|
370
|
-
cast?: {} | null | undefined;
|
|
371
|
-
required?: {} | null | undefined;
|
|
372
|
-
ref?: {} | null | undefined;
|
|
373
|
-
select?: {} | null | undefined;
|
|
374
|
-
immutable?: {} | null | undefined;
|
|
375
|
-
transform?: {} | null | undefined;
|
|
376
|
-
options?: {
|
|
377
|
-
[x: string]: unknown;
|
|
378
|
-
} | null | undefined;
|
|
379
|
-
OptionsConstructor?: {
|
|
380
|
-
[x: string]: unknown;
|
|
381
|
-
} | null | undefined;
|
|
382
|
-
getEmbeddedSchemaType?: {} | null | undefined;
|
|
383
|
-
instance?: unknown;
|
|
384
|
-
isRequired?: unknown;
|
|
385
|
-
path?: unknown;
|
|
386
|
-
toJSONSchema?: {} | null | undefined;
|
|
387
|
-
validateAll?: {} | null | undefined;
|
|
388
|
-
defaultOptions?: unknown;
|
|
389
|
-
} | null | undefined;
|
|
390
|
-
PropertyBuiltType?: unknown;
|
|
391
|
-
hasLift?: unknown;
|
|
392
|
-
AgeofProperty?: unknown;
|
|
393
|
-
Dateofpropertybuilt?: unknown;
|
|
394
|
-
PropertyType?: unknown;
|
|
395
|
-
RegistrationDateandTime?: unknown;
|
|
396
|
-
Age?: unknown;
|
|
397
|
-
CountryMultiselect?: unknown;
|
|
398
|
-
PercentageofEPC?: unknown;
|
|
399
|
-
propertyTypeLid?: unknown;
|
|
400
|
-
rationale?: unknown;
|
|
401
|
-
ApplicantSortcode?: unknown;
|
|
402
|
-
accountnumber?: unknown;
|
|
403
|
-
Postcode?: unknown;
|
|
404
|
-
AddressLine1?: unknown;
|
|
405
277
|
}, {}> & {
|
|
406
278
|
isSelected?: unknown;
|
|
407
279
|
source?: unknown;
|
|
@@ -525,70 +397,6 @@ declare const MortgageCommitmentModel: mongoose.Model<{
|
|
|
525
397
|
financeHomeTypeLid?: unknown;
|
|
526
398
|
remainingTermMonth?: unknown;
|
|
527
399
|
chargeTypeLid?: unknown;
|
|
528
|
-
PropertyNotes?: unknown;
|
|
529
|
-
ActualPropertyValue?: {
|
|
530
|
-
validators: mongoose.Types.DocumentArray<{
|
|
531
|
-
type?: unknown;
|
|
532
|
-
message?: unknown;
|
|
533
|
-
validator?: unknown;
|
|
534
|
-
reason?: unknown;
|
|
535
|
-
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
536
|
-
type?: unknown;
|
|
537
|
-
message?: unknown;
|
|
538
|
-
validator?: unknown;
|
|
539
|
-
reason?: unknown;
|
|
540
|
-
}> & {
|
|
541
|
-
type?: unknown;
|
|
542
|
-
message?: unknown;
|
|
543
|
-
validator?: unknown;
|
|
544
|
-
reason?: unknown;
|
|
545
|
-
}>;
|
|
546
|
-
get?: {} | null | undefined;
|
|
547
|
-
schema?: {
|
|
548
|
-
[x: string]: unknown;
|
|
549
|
-
} | null | undefined;
|
|
550
|
-
set?: {} | null | undefined;
|
|
551
|
-
validate?: {} | null | undefined;
|
|
552
|
-
index?: {} | null | undefined;
|
|
553
|
-
default?: {} | null | undefined;
|
|
554
|
-
text?: {} | null | undefined;
|
|
555
|
-
unique?: {} | null | undefined;
|
|
556
|
-
sparse?: {} | null | undefined;
|
|
557
|
-
cast?: {} | null | undefined;
|
|
558
|
-
required?: {} | null | undefined;
|
|
559
|
-
ref?: {} | null | undefined;
|
|
560
|
-
select?: {} | null | undefined;
|
|
561
|
-
immutable?: {} | null | undefined;
|
|
562
|
-
transform?: {} | null | undefined;
|
|
563
|
-
options?: {
|
|
564
|
-
[x: string]: unknown;
|
|
565
|
-
} | null | undefined;
|
|
566
|
-
OptionsConstructor?: {
|
|
567
|
-
[x: string]: unknown;
|
|
568
|
-
} | null | undefined;
|
|
569
|
-
getEmbeddedSchemaType?: {} | null | undefined;
|
|
570
|
-
instance?: unknown;
|
|
571
|
-
isRequired?: unknown;
|
|
572
|
-
path?: unknown;
|
|
573
|
-
toJSONSchema?: {} | null | undefined;
|
|
574
|
-
validateAll?: {} | null | undefined;
|
|
575
|
-
defaultOptions?: unknown;
|
|
576
|
-
} | null | undefined;
|
|
577
|
-
PropertyBuiltType?: unknown;
|
|
578
|
-
hasLift?: unknown;
|
|
579
|
-
AgeofProperty?: unknown;
|
|
580
|
-
Dateofpropertybuilt?: unknown;
|
|
581
|
-
PropertyType?: unknown;
|
|
582
|
-
RegistrationDateandTime?: unknown;
|
|
583
|
-
Age?: unknown;
|
|
584
|
-
CountryMultiselect?: unknown;
|
|
585
|
-
PercentageofEPC?: unknown;
|
|
586
|
-
propertyTypeLid?: unknown;
|
|
587
|
-
rationale?: unknown;
|
|
588
|
-
ApplicantSortcode?: unknown;
|
|
589
|
-
accountnumber?: unknown;
|
|
590
|
-
Postcode?: unknown;
|
|
591
|
-
AddressLine1?: unknown;
|
|
592
400
|
} & {
|
|
593
401
|
_id: mongoose.Types.ObjectId;
|
|
594
402
|
} & {
|
|
@@ -623,20 +431,6 @@ declare const MortgageCommitmentModel: mongoose.Model<{
|
|
|
623
431
|
accountInArrears: boolean;
|
|
624
432
|
accountInArrearsDetails: string;
|
|
625
433
|
financeTypeHppLid: mongoose.Types.ObjectId;
|
|
626
|
-
PropertyNotes: string;
|
|
627
|
-
ActualPropertyValue: Pound;
|
|
628
|
-
PropertyBuiltType: string;
|
|
629
|
-
hasLift: string;
|
|
630
|
-
Dateofpropertybuilt: string;
|
|
631
|
-
RegistrationDateandTime: string;
|
|
632
|
-
Age: string;
|
|
633
|
-
CountryMultiselect: string;
|
|
634
|
-
PercentageofEPC: string;
|
|
635
|
-
rationale: string;
|
|
636
|
-
ApplicantSortcode: string;
|
|
637
|
-
accountnumber: string;
|
|
638
|
-
Postcode: string;
|
|
639
|
-
AddressLine1: string;
|
|
640
434
|
monthlyPayment?: Pound | null | undefined;
|
|
641
435
|
outstandingBalance?: Pound | null | undefined;
|
|
642
436
|
lenderName?: string | null | undefined;
|
|
@@ -645,9 +439,6 @@ declare const MortgageCommitmentModel: mongoose.Model<{
|
|
|
645
439
|
financeHomeTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
646
440
|
remainingTermMonth?: number | null | undefined;
|
|
647
441
|
chargeTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
648
|
-
AgeofProperty?: number | null | undefined;
|
|
649
|
-
PropertyType?: mongoose.Types.ObjectId | null | undefined;
|
|
650
|
-
propertyTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
651
442
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
652
443
|
isSelected: boolean;
|
|
653
444
|
source: "Broker" | "Credit Report" | "Underwriter";
|
|
@@ -669,20 +460,6 @@ declare const MortgageCommitmentModel: mongoose.Model<{
|
|
|
669
460
|
accountInArrears: boolean;
|
|
670
461
|
accountInArrearsDetails: string;
|
|
671
462
|
financeTypeHppLid: mongoose.Types.ObjectId;
|
|
672
|
-
PropertyNotes: string;
|
|
673
|
-
ActualPropertyValue: Pound;
|
|
674
|
-
PropertyBuiltType: string;
|
|
675
|
-
hasLift: string;
|
|
676
|
-
Dateofpropertybuilt: string;
|
|
677
|
-
RegistrationDateandTime: string;
|
|
678
|
-
Age: string;
|
|
679
|
-
CountryMultiselect: string;
|
|
680
|
-
PercentageofEPC: string;
|
|
681
|
-
rationale: string;
|
|
682
|
-
ApplicantSortcode: string;
|
|
683
|
-
accountnumber: string;
|
|
684
|
-
Postcode: string;
|
|
685
|
-
AddressLine1: string;
|
|
686
463
|
monthlyPayment?: Pound | null | undefined;
|
|
687
464
|
outstandingBalance?: Pound | null | undefined;
|
|
688
465
|
lenderName?: string | null | undefined;
|
|
@@ -691,9 +468,6 @@ declare const MortgageCommitmentModel: mongoose.Model<{
|
|
|
691
468
|
financeHomeTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
692
469
|
remainingTermMonth?: number | null | undefined;
|
|
693
470
|
chargeTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
694
|
-
AgeofProperty?: number | null | undefined;
|
|
695
|
-
PropertyType?: mongoose.Types.ObjectId | null | undefined;
|
|
696
|
-
propertyTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
697
471
|
}>, {}> & mongoose.FlatRecord<{
|
|
698
472
|
isSelected: boolean;
|
|
699
473
|
source: "Broker" | "Credit Report" | "Underwriter";
|
|
@@ -715,20 +489,6 @@ declare const MortgageCommitmentModel: mongoose.Model<{
|
|
|
715
489
|
accountInArrears: boolean;
|
|
716
490
|
accountInArrearsDetails: string;
|
|
717
491
|
financeTypeHppLid: mongoose.Types.ObjectId;
|
|
718
|
-
PropertyNotes: string;
|
|
719
|
-
ActualPropertyValue: Pound;
|
|
720
|
-
PropertyBuiltType: string;
|
|
721
|
-
hasLift: string;
|
|
722
|
-
Dateofpropertybuilt: string;
|
|
723
|
-
RegistrationDateandTime: string;
|
|
724
|
-
Age: string;
|
|
725
|
-
CountryMultiselect: string;
|
|
726
|
-
PercentageofEPC: string;
|
|
727
|
-
rationale: string;
|
|
728
|
-
ApplicantSortcode: string;
|
|
729
|
-
accountnumber: string;
|
|
730
|
-
Postcode: string;
|
|
731
|
-
AddressLine1: string;
|
|
732
492
|
monthlyPayment?: Pound | null | undefined;
|
|
733
493
|
outstandingBalance?: Pound | null | undefined;
|
|
734
494
|
lenderName?: string | null | undefined;
|
|
@@ -737,9 +497,6 @@ declare const MortgageCommitmentModel: mongoose.Model<{
|
|
|
737
497
|
financeHomeTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
738
498
|
remainingTermMonth?: number | null | undefined;
|
|
739
499
|
chargeTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
740
|
-
AgeofProperty?: number | null | undefined;
|
|
741
|
-
PropertyType?: mongoose.Types.ObjectId | null | undefined;
|
|
742
|
-
propertyTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
743
500
|
}> & {
|
|
744
501
|
_id: mongoose.Types.ObjectId;
|
|
745
502
|
} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicant-commitment-mortgage.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-commitment-mortgage.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAEhC,OAAO,EAAE,KAAK,EAAe,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"applicant-commitment-mortgage.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-commitment-mortgage.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAEhC,OAAO,EAAE,KAAK,EAAe,MAAM,wBAAwB,CAAC;AA6E5D,QAAA,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAiE,CAAC;AAC/F,eAAe,uBAAuB,CAAC"}
|
|
@@ -35,23 +35,6 @@ const mortgageCommitmentSchema = new mongoose.Schema({
|
|
|
35
35
|
financeHomeTypeLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup" },
|
|
36
36
|
remainingTermMonth: { type: Number },
|
|
37
37
|
chargeTypeLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup" },
|
|
38
|
-
PropertyNotes: { type: String, default: "" },
|
|
39
|
-
ActualPropertyValue: { type: Pound, default: 0.00, get: formatPound },
|
|
40
|
-
PropertyBuiltType: { type: String, default: "" },
|
|
41
|
-
hasLift: { type: String, default: "" },
|
|
42
|
-
AgeofProperty: { type: Number },
|
|
43
|
-
Dateofpropertybuilt: { type: String, default: null },
|
|
44
|
-
PropertyType: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup" },
|
|
45
|
-
RegistrationDateandTime: { type: String, default: null },
|
|
46
|
-
Age: { type: String, default: "" },
|
|
47
|
-
CountryMultiselect: { type: String, default: "" },
|
|
48
|
-
PercentageofEPC: { type: String, default: "" },
|
|
49
|
-
propertyTypeLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup" },
|
|
50
|
-
rationale: { type: String, default: "" },
|
|
51
|
-
ApplicantSortcode: { type: String, default: "" },
|
|
52
|
-
accountnumber: { type: String, default: "" },
|
|
53
|
-
Postcode: { type: String, default: "" },
|
|
54
|
-
AddressLine1: { type: String, default: "" },
|
|
55
38
|
}, {
|
|
56
39
|
toJSON: { getters: true, virtuals: true },
|
|
57
40
|
toObject: { getters: true, virtuals: true }
|
|
@@ -36,11 +36,11 @@ declare const ApplicantExpenditureModel: mongoose.Model<{
|
|
|
36
36
|
isFixed: boolean;
|
|
37
37
|
expenditureTypeLid: mongoose.Types.ObjectId;
|
|
38
38
|
isActualUpdated: boolean;
|
|
39
|
-
rationale?: string | null | undefined;
|
|
40
39
|
sectionName?: "essentialExpenditure" | "basicCostOfLivingExpenditure" | null | undefined;
|
|
41
40
|
declared?: Pound | null | undefined;
|
|
42
41
|
expected?: string | null | undefined;
|
|
43
42
|
actual?: Pound | null | undefined;
|
|
43
|
+
rationale?: string | null | undefined;
|
|
44
44
|
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
45
45
|
createdAt: NativeDate;
|
|
46
46
|
updatedAt: NativeDate;
|
|
@@ -49,11 +49,11 @@ declare const ApplicantExpenditureModel: mongoose.Model<{
|
|
|
49
49
|
isFixed: boolean;
|
|
50
50
|
expenditureTypeLid: mongoose.Types.ObjectId;
|
|
51
51
|
isActualUpdated: boolean;
|
|
52
|
-
rationale?: string | null | undefined;
|
|
53
52
|
sectionName?: "essentialExpenditure" | "basicCostOfLivingExpenditure" | null | undefined;
|
|
54
53
|
declared?: Pound | null | undefined;
|
|
55
54
|
expected?: string | null | undefined;
|
|
56
55
|
actual?: Pound | null | undefined;
|
|
56
|
+
rationale?: string | null | undefined;
|
|
57
57
|
}, {}> & {
|
|
58
58
|
createdAt: NativeDate;
|
|
59
59
|
updatedAt: NativeDate;
|
|
@@ -62,11 +62,11 @@ declare const ApplicantExpenditureModel: mongoose.Model<{
|
|
|
62
62
|
isFixed: boolean;
|
|
63
63
|
expenditureTypeLid: mongoose.Types.ObjectId;
|
|
64
64
|
isActualUpdated: boolean;
|
|
65
|
-
rationale?: string | null | undefined;
|
|
66
65
|
sectionName?: "essentialExpenditure" | "basicCostOfLivingExpenditure" | null | undefined;
|
|
67
66
|
declared?: Pound | null | undefined;
|
|
68
67
|
expected?: string | null | undefined;
|
|
69
68
|
actual?: Pound | null | undefined;
|
|
69
|
+
rationale?: string | null | undefined;
|
|
70
70
|
} & {
|
|
71
71
|
_id: mongoose.Types.ObjectId;
|
|
72
72
|
} & {
|
|
@@ -87,11 +87,11 @@ declare const ApplicantExpenditureModel: mongoose.Model<{
|
|
|
87
87
|
isFixed: boolean;
|
|
88
88
|
expenditureTypeLid: mongoose.Types.ObjectId;
|
|
89
89
|
isActualUpdated: boolean;
|
|
90
|
-
rationale?: string | null | undefined;
|
|
91
90
|
sectionName?: "essentialExpenditure" | "basicCostOfLivingExpenditure" | null | undefined;
|
|
92
91
|
declared?: Pound | null | undefined;
|
|
93
92
|
expected?: string | null | undefined;
|
|
94
93
|
actual?: Pound | null | undefined;
|
|
94
|
+
rationale?: string | null | undefined;
|
|
95
95
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
96
96
|
createdAt: NativeDate;
|
|
97
97
|
updatedAt: NativeDate;
|
|
@@ -100,11 +100,11 @@ declare const ApplicantExpenditureModel: mongoose.Model<{
|
|
|
100
100
|
isFixed: boolean;
|
|
101
101
|
expenditureTypeLid: mongoose.Types.ObjectId;
|
|
102
102
|
isActualUpdated: boolean;
|
|
103
|
-
rationale?: string | null | undefined;
|
|
104
103
|
sectionName?: "essentialExpenditure" | "basicCostOfLivingExpenditure" | null | undefined;
|
|
105
104
|
declared?: Pound | null | undefined;
|
|
106
105
|
expected?: string | null | undefined;
|
|
107
106
|
actual?: Pound | null | undefined;
|
|
107
|
+
rationale?: string | null | undefined;
|
|
108
108
|
}>, {}> & mongoose.FlatRecord<{
|
|
109
109
|
createdAt: NativeDate;
|
|
110
110
|
updatedAt: NativeDate;
|
|
@@ -113,11 +113,11 @@ declare const ApplicantExpenditureModel: mongoose.Model<{
|
|
|
113
113
|
isFixed: boolean;
|
|
114
114
|
expenditureTypeLid: mongoose.Types.ObjectId;
|
|
115
115
|
isActualUpdated: boolean;
|
|
116
|
-
rationale?: string | null | undefined;
|
|
117
116
|
sectionName?: "essentialExpenditure" | "basicCostOfLivingExpenditure" | null | undefined;
|
|
118
117
|
declared?: Pound | null | undefined;
|
|
119
118
|
expected?: string | null | undefined;
|
|
120
119
|
actual?: Pound | null | undefined;
|
|
120
|
+
rationale?: string | null | undefined;
|
|
121
121
|
}> & {
|
|
122
122
|
_id: mongoose.Types.ObjectId;
|
|
123
123
|
} & {
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import mongoose from "mongoose";
|
|
2
|
+
declare const applicantIncomeSourceSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
|
|
3
|
+
employmentStatusLid: mongoose.Types.ObjectId;
|
|
4
|
+
incomeFromEmployment?: string | null | undefined;
|
|
5
|
+
incomeFromPension?: string | null | undefined;
|
|
6
|
+
incomeFromProperty?: string | null | undefined;
|
|
7
|
+
incomeFromSavings?: string | null | undefined;
|
|
8
|
+
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
9
|
+
employmentStatusLid: mongoose.Types.ObjectId;
|
|
10
|
+
incomeFromEmployment?: string | null | undefined;
|
|
11
|
+
incomeFromPension?: string | null | undefined;
|
|
12
|
+
incomeFromProperty?: string | null | undefined;
|
|
13
|
+
incomeFromSavings?: string | null | undefined;
|
|
14
|
+
}>> & mongoose.FlatRecord<{
|
|
15
|
+
employmentStatusLid: mongoose.Types.ObjectId;
|
|
16
|
+
incomeFromEmployment?: string | null | undefined;
|
|
17
|
+
incomeFromPension?: string | null | undefined;
|
|
18
|
+
incomeFromProperty?: string | null | undefined;
|
|
19
|
+
incomeFromSavings?: string | null | undefined;
|
|
20
|
+
}> & {
|
|
21
|
+
_id: mongoose.Types.ObjectId;
|
|
22
|
+
} & {
|
|
23
|
+
__v: number;
|
|
24
|
+
}>;
|
|
25
|
+
export default applicantIncomeSourceSchema;
|
|
26
|
+
//# sourceMappingURL=applicant-income-source.model.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import mongoose from "mongoose";
|
|
2
|
+
import { Pound } from "../value-objects/pound";
|
|
3
|
+
declare const incomeSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
4
|
+
toJSON: {
|
|
5
|
+
getters: true;
|
|
6
|
+
};
|
|
7
|
+
toObject: {
|
|
8
|
+
getters: true;
|
|
9
|
+
};
|
|
10
|
+
}, {
|
|
11
|
+
pageValidFlag: string;
|
|
12
|
+
businessTypeLid: mongoose.Types.ObjectId;
|
|
13
|
+
natureOfBusiness: string;
|
|
14
|
+
yearEnd1: number;
|
|
15
|
+
yearEnd2: number;
|
|
16
|
+
yearEnd3: number;
|
|
17
|
+
accountantsAddressLine1: string;
|
|
18
|
+
accountantsAddressLine2: string;
|
|
19
|
+
accountantsAddressLine3: string;
|
|
20
|
+
accountantsCity: string;
|
|
21
|
+
accountantsCountryLid: mongoose.Types.ObjectId;
|
|
22
|
+
accountantsEmail: string;
|
|
23
|
+
accountantsPostCode: string;
|
|
24
|
+
accountantsPractice: string;
|
|
25
|
+
accountantsTelephoneNumber: string;
|
|
26
|
+
businessAddressLine1: string;
|
|
27
|
+
businessAddressLine2: string;
|
|
28
|
+
businessAddressLine3: string;
|
|
29
|
+
businessCity: string;
|
|
30
|
+
businessCountryLid: mongoose.Types.ObjectId;
|
|
31
|
+
businessPostCode: string;
|
|
32
|
+
businessTelephoneNumber: string;
|
|
33
|
+
charteredCertifiedOrOtherLid: mongoose.Types.ObjectId;
|
|
34
|
+
contactName: string;
|
|
35
|
+
currentYearEnd: string;
|
|
36
|
+
dateEstablished: string;
|
|
37
|
+
doYouHaveAccountant: boolean;
|
|
38
|
+
isBusinessAddressDifferent: boolean;
|
|
39
|
+
nameOfBusiness: string;
|
|
40
|
+
netAssets1: Pound;
|
|
41
|
+
netAssets2: Pound;
|
|
42
|
+
netAssets3: Pound;
|
|
43
|
+
percentageOfShareholding: number;
|
|
44
|
+
registeredAddressLine1: string;
|
|
45
|
+
registeredAddressLine2: string;
|
|
46
|
+
registeredAddressLine3: string;
|
|
47
|
+
registeredCity: string;
|
|
48
|
+
registeredCountryLid: mongoose.Types.ObjectId;
|
|
49
|
+
registeredPostCode: string;
|
|
50
|
+
registeredTelephone: string;
|
|
51
|
+
selfEmployedDate: string;
|
|
52
|
+
turnover1: Pound;
|
|
53
|
+
turnover2: Pound;
|
|
54
|
+
turnover3: Pound;
|
|
55
|
+
year1: Pound;
|
|
56
|
+
year2: Pound;
|
|
57
|
+
year3: Pound;
|
|
58
|
+
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
59
|
+
pageValidFlag: string;
|
|
60
|
+
businessTypeLid: mongoose.Types.ObjectId;
|
|
61
|
+
natureOfBusiness: string;
|
|
62
|
+
yearEnd1: number;
|
|
63
|
+
yearEnd2: number;
|
|
64
|
+
yearEnd3: number;
|
|
65
|
+
accountantsAddressLine1: string;
|
|
66
|
+
accountantsAddressLine2: string;
|
|
67
|
+
accountantsAddressLine3: string;
|
|
68
|
+
accountantsCity: string;
|
|
69
|
+
accountantsCountryLid: mongoose.Types.ObjectId;
|
|
70
|
+
accountantsEmail: string;
|
|
71
|
+
accountantsPostCode: string;
|
|
72
|
+
accountantsPractice: string;
|
|
73
|
+
accountantsTelephoneNumber: string;
|
|
74
|
+
businessAddressLine1: string;
|
|
75
|
+
businessAddressLine2: string;
|
|
76
|
+
businessAddressLine3: string;
|
|
77
|
+
businessCity: string;
|
|
78
|
+
businessCountryLid: mongoose.Types.ObjectId;
|
|
79
|
+
businessPostCode: string;
|
|
80
|
+
businessTelephoneNumber: string;
|
|
81
|
+
charteredCertifiedOrOtherLid: mongoose.Types.ObjectId;
|
|
82
|
+
contactName: string;
|
|
83
|
+
currentYearEnd: string;
|
|
84
|
+
dateEstablished: string;
|
|
85
|
+
doYouHaveAccountant: boolean;
|
|
86
|
+
isBusinessAddressDifferent: boolean;
|
|
87
|
+
nameOfBusiness: string;
|
|
88
|
+
netAssets1: Pound;
|
|
89
|
+
netAssets2: Pound;
|
|
90
|
+
netAssets3: Pound;
|
|
91
|
+
percentageOfShareholding: number;
|
|
92
|
+
registeredAddressLine1: string;
|
|
93
|
+
registeredAddressLine2: string;
|
|
94
|
+
registeredAddressLine3: string;
|
|
95
|
+
registeredCity: string;
|
|
96
|
+
registeredCountryLid: mongoose.Types.ObjectId;
|
|
97
|
+
registeredPostCode: string;
|
|
98
|
+
registeredTelephone: string;
|
|
99
|
+
selfEmployedDate: string;
|
|
100
|
+
turnover1: Pound;
|
|
101
|
+
turnover2: Pound;
|
|
102
|
+
turnover3: Pound;
|
|
103
|
+
year1: Pound;
|
|
104
|
+
year2: Pound;
|
|
105
|
+
year3: Pound;
|
|
106
|
+
}>> & mongoose.FlatRecord<{
|
|
107
|
+
pageValidFlag: string;
|
|
108
|
+
businessTypeLid: mongoose.Types.ObjectId;
|
|
109
|
+
natureOfBusiness: string;
|
|
110
|
+
yearEnd1: number;
|
|
111
|
+
yearEnd2: number;
|
|
112
|
+
yearEnd3: number;
|
|
113
|
+
accountantsAddressLine1: string;
|
|
114
|
+
accountantsAddressLine2: string;
|
|
115
|
+
accountantsAddressLine3: string;
|
|
116
|
+
accountantsCity: string;
|
|
117
|
+
accountantsCountryLid: mongoose.Types.ObjectId;
|
|
118
|
+
accountantsEmail: string;
|
|
119
|
+
accountantsPostCode: string;
|
|
120
|
+
accountantsPractice: string;
|
|
121
|
+
accountantsTelephoneNumber: string;
|
|
122
|
+
businessAddressLine1: string;
|
|
123
|
+
businessAddressLine2: string;
|
|
124
|
+
businessAddressLine3: string;
|
|
125
|
+
businessCity: string;
|
|
126
|
+
businessCountryLid: mongoose.Types.ObjectId;
|
|
127
|
+
businessPostCode: string;
|
|
128
|
+
businessTelephoneNumber: string;
|
|
129
|
+
charteredCertifiedOrOtherLid: mongoose.Types.ObjectId;
|
|
130
|
+
contactName: string;
|
|
131
|
+
currentYearEnd: string;
|
|
132
|
+
dateEstablished: string;
|
|
133
|
+
doYouHaveAccountant: boolean;
|
|
134
|
+
isBusinessAddressDifferent: boolean;
|
|
135
|
+
nameOfBusiness: string;
|
|
136
|
+
netAssets1: Pound;
|
|
137
|
+
netAssets2: Pound;
|
|
138
|
+
netAssets3: Pound;
|
|
139
|
+
percentageOfShareholding: number;
|
|
140
|
+
registeredAddressLine1: string;
|
|
141
|
+
registeredAddressLine2: string;
|
|
142
|
+
registeredAddressLine3: string;
|
|
143
|
+
registeredCity: string;
|
|
144
|
+
registeredCountryLid: mongoose.Types.ObjectId;
|
|
145
|
+
registeredPostCode: string;
|
|
146
|
+
registeredTelephone: string;
|
|
147
|
+
selfEmployedDate: string;
|
|
148
|
+
turnover1: Pound;
|
|
149
|
+
turnover2: Pound;
|
|
150
|
+
turnover3: Pound;
|
|
151
|
+
year1: Pound;
|
|
152
|
+
year2: Pound;
|
|
153
|
+
year3: Pound;
|
|
154
|
+
}> & {
|
|
155
|
+
_id: mongoose.Types.ObjectId;
|
|
156
|
+
} & {
|
|
157
|
+
__v: number;
|
|
158
|
+
}>;
|
|
159
|
+
export default incomeSchema;
|
|
160
|
+
//# sourceMappingURL=applicant-income.model.d.ts.map
|
|
@@ -0,0 +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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmDhB,CAAC;AAEH,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import mongoose from "mongoose";
|
|
2
|
+
import { Pound } from "../value-objects/pound";
|
|
3
|
+
declare const applicantOtherIncomeSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
4
|
+
toJSON: {
|
|
5
|
+
getters: true;
|
|
6
|
+
};
|
|
7
|
+
toObject: {
|
|
8
|
+
getters: true;
|
|
9
|
+
};
|
|
10
|
+
}, {
|
|
11
|
+
maintenance: Pound;
|
|
12
|
+
sourceDetails1: string;
|
|
13
|
+
amount1: Pound;
|
|
14
|
+
payFrequency1Lid: mongoose.Types.ObjectId;
|
|
15
|
+
guaranteed1: boolean;
|
|
16
|
+
sourceDetails2: string;
|
|
17
|
+
amount2: Pound;
|
|
18
|
+
payFrequency2Lid: mongoose.Types.ObjectId;
|
|
19
|
+
guaranteed2: boolean;
|
|
20
|
+
sourceDetails3: string;
|
|
21
|
+
amount3: Pound;
|
|
22
|
+
payFrequency3Lid: mongoose.Types.ObjectId;
|
|
23
|
+
guaranteed3: boolean;
|
|
24
|
+
sourceDetails4: string;
|
|
25
|
+
amount4: Pound;
|
|
26
|
+
payFrequency4Lid: mongoose.Types.ObjectId;
|
|
27
|
+
guaranteed4: boolean;
|
|
28
|
+
taxCredits: Pound;
|
|
29
|
+
otherBenefits: Pound;
|
|
30
|
+
grossPensionIncome: Pound;
|
|
31
|
+
privatePensionIncome: Pound;
|
|
32
|
+
statePensionIncome: Pound;
|
|
33
|
+
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
34
|
+
maintenance: Pound;
|
|
35
|
+
sourceDetails1: string;
|
|
36
|
+
amount1: Pound;
|
|
37
|
+
payFrequency1Lid: mongoose.Types.ObjectId;
|
|
38
|
+
guaranteed1: boolean;
|
|
39
|
+
sourceDetails2: string;
|
|
40
|
+
amount2: Pound;
|
|
41
|
+
payFrequency2Lid: mongoose.Types.ObjectId;
|
|
42
|
+
guaranteed2: boolean;
|
|
43
|
+
sourceDetails3: string;
|
|
44
|
+
amount3: Pound;
|
|
45
|
+
payFrequency3Lid: mongoose.Types.ObjectId;
|
|
46
|
+
guaranteed3: boolean;
|
|
47
|
+
sourceDetails4: string;
|
|
48
|
+
amount4: Pound;
|
|
49
|
+
payFrequency4Lid: mongoose.Types.ObjectId;
|
|
50
|
+
guaranteed4: boolean;
|
|
51
|
+
taxCredits: Pound;
|
|
52
|
+
otherBenefits: Pound;
|
|
53
|
+
grossPensionIncome: Pound;
|
|
54
|
+
privatePensionIncome: Pound;
|
|
55
|
+
statePensionIncome: Pound;
|
|
56
|
+
}>> & mongoose.FlatRecord<{
|
|
57
|
+
maintenance: Pound;
|
|
58
|
+
sourceDetails1: string;
|
|
59
|
+
amount1: Pound;
|
|
60
|
+
payFrequency1Lid: mongoose.Types.ObjectId;
|
|
61
|
+
guaranteed1: boolean;
|
|
62
|
+
sourceDetails2: string;
|
|
63
|
+
amount2: Pound;
|
|
64
|
+
payFrequency2Lid: mongoose.Types.ObjectId;
|
|
65
|
+
guaranteed2: boolean;
|
|
66
|
+
sourceDetails3: string;
|
|
67
|
+
amount3: Pound;
|
|
68
|
+
payFrequency3Lid: mongoose.Types.ObjectId;
|
|
69
|
+
guaranteed3: boolean;
|
|
70
|
+
sourceDetails4: string;
|
|
71
|
+
amount4: Pound;
|
|
72
|
+
payFrequency4Lid: mongoose.Types.ObjectId;
|
|
73
|
+
guaranteed4: boolean;
|
|
74
|
+
taxCredits: Pound;
|
|
75
|
+
otherBenefits: Pound;
|
|
76
|
+
grossPensionIncome: Pound;
|
|
77
|
+
privatePensionIncome: Pound;
|
|
78
|
+
statePensionIncome: Pound;
|
|
79
|
+
}> & {
|
|
80
|
+
_id: mongoose.Types.ObjectId;
|
|
81
|
+
} & {
|
|
82
|
+
__v: number;
|
|
83
|
+
}>;
|
|
84
|
+
export default applicantOtherIncomeSchema;
|
|
85
|
+
//# sourceMappingURL=applicant-other-income.model.d.ts.map
|
|
@@ -0,0 +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"}
|