@dynamatix/gb-schemas 2.5.0 → 2.7.0

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.
@@ -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;AA6F5D,QAAA,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAiE,CAAC;AAC/F,eAAe,uBAAuB,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;AA4E5D,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
  } & {
@@ -716,8 +716,6 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
716
716
  validateAll?: {} | null | undefined;
717
717
  defaultOptions?: unknown;
718
718
  } | null | undefined;
719
- NewTest?: unknown;
720
- test83839?: unknown;
721
719
  }, {}, {}, {}, mongoose.Document<unknown, {}, {
722
720
  applicantId?: mongoose.Types.ObjectId | null | undefined;
723
721
  totalEmploymentGrossIncome?: {
@@ -1406,8 +1404,6 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
1406
1404
  validateAll?: {} | null | undefined;
1407
1405
  defaultOptions?: unknown;
1408
1406
  } | null | undefined;
1409
- NewTest?: unknown;
1410
- test83839?: unknown;
1411
1407
  }, {}> & {
1412
1408
  applicantId?: mongoose.Types.ObjectId | null | undefined;
1413
1409
  totalEmploymentGrossIncome?: {
@@ -2096,8 +2092,6 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
2096
2092
  validateAll?: {} | null | undefined;
2097
2093
  defaultOptions?: unknown;
2098
2094
  } | null | undefined;
2099
- NewTest?: unknown;
2100
- test83839?: unknown;
2101
2095
  } & {
2102
2096
  _id: mongoose.Types.ObjectId;
2103
2097
  } & {
@@ -2139,8 +2133,6 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
2139
2133
  soleTraderNetIncome: Pound;
2140
2134
  totalAnnualGrossIncome: Pound;
2141
2135
  totalAnnualNetIncome: Pound;
2142
- NewTest: string;
2143
- test83839: string;
2144
2136
  }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
2145
2137
  applicantId: mongoose.Types.ObjectId;
2146
2138
  totalEmploymentGrossIncome: Pound;
@@ -2171,8 +2163,6 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
2171
2163
  soleTraderNetIncome: Pound;
2172
2164
  totalAnnualGrossIncome: Pound;
2173
2165
  totalAnnualNetIncome: Pound;
2174
- NewTest: string;
2175
- test83839: string;
2176
2166
  }>, {}> & mongoose.FlatRecord<{
2177
2167
  applicantId: mongoose.Types.ObjectId;
2178
2168
  totalEmploymentGrossIncome: Pound;
@@ -2203,8 +2193,6 @@ declare const ApplicantIncomeSummaryModel: mongoose.Model<{
2203
2193
  soleTraderNetIncome: Pound;
2204
2194
  totalAnnualGrossIncome: Pound;
2205
2195
  totalAnnualNetIncome: Pound;
2206
- NewTest: string;
2207
- test83839: string;
2208
2196
  }> & {
2209
2197
  _id: mongoose.Types.ObjectId;
2210
2198
  } & {
@@ -1 +1 @@
1
- {"version":3,"file":"applicant-income-summary.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-income-summary.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAEhC,OAAO,EAAE,KAAK,EAAe,MAAM,wBAAwB,CAAC;AAoD5D,QAAA,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA2E,CAAC;AAE7G,eAAe,2BAA2B,CAAC"}
@@ -32,8 +32,6 @@ const applicantIncomeSummarySchema = new mongoose.Schema({
32
32
  soleTraderNetIncome: { type: Pound, get: formatPound, default: 0.00 },
33
33
  totalAnnualGrossIncome: { type: Pound, get: formatPound, default: 0.00 },
34
34
  totalAnnualNetIncome: { type: Pound, get: formatPound, default: 0.00 },
35
- NewTest: { type: String, default: "" },
36
- test83839: { type: String, default: "" },
37
35
  }, {
38
36
  toJSON: { getters: true },
39
37
  toObject: { getters: true }
@@ -35,13 +35,6 @@ declare const SolicitorModel: mongoose.Model<{
35
35
  } & {
36
36
  applicationId: mongoose.Types.ObjectId;
37
37
  pageValidFlag: boolean;
38
- isUkResident: string;
39
- IsSolicitorCertified: string;
40
- ApplicantName: string;
41
- SolicitorEmail: string;
42
- SolicitorName: string;
43
- SolicitorDateOfBirth_Time: string;
44
- solicitorNotes: string;
45
38
  addressPostCode?: string | null | undefined;
46
39
  addressLine1?: string | null | undefined;
47
40
  addressLine2?: string | null | undefined;
@@ -62,21 +55,12 @@ declare const SolicitorModel: mongoose.Model<{
62
55
  nameOfFirm?: string | null | undefined;
63
56
  signatory?: string | null | undefined;
64
57
  solicitorActing?: string | null | undefined;
65
- Solicitorpassedyear?: number | null | undefined;
66
- CountryofEducation?: mongoose.Types.ObjectId | null | undefined;
67
58
  }, {}, {}, {}, mongoose.Document<unknown, {}, {
68
59
  createdAt: NativeDate;
69
60
  updatedAt: NativeDate;
70
61
  } & {
71
62
  applicationId: mongoose.Types.ObjectId;
72
63
  pageValidFlag: boolean;
73
- isUkResident: string;
74
- IsSolicitorCertified: string;
75
- ApplicantName: string;
76
- SolicitorEmail: string;
77
- SolicitorName: string;
78
- SolicitorDateOfBirth_Time: string;
79
- solicitorNotes: string;
80
64
  addressPostCode?: string | null | undefined;
81
65
  addressLine1?: string | null | undefined;
82
66
  addressLine2?: string | null | undefined;
@@ -97,21 +81,12 @@ declare const SolicitorModel: mongoose.Model<{
97
81
  nameOfFirm?: string | null | undefined;
98
82
  signatory?: string | null | undefined;
99
83
  solicitorActing?: string | null | undefined;
100
- Solicitorpassedyear?: number | null | undefined;
101
- CountryofEducation?: mongoose.Types.ObjectId | null | undefined;
102
84
  }, {}> & {
103
85
  createdAt: NativeDate;
104
86
  updatedAt: NativeDate;
105
87
  } & {
106
88
  applicationId: mongoose.Types.ObjectId;
107
89
  pageValidFlag: boolean;
108
- isUkResident: string;
109
- IsSolicitorCertified: string;
110
- ApplicantName: string;
111
- SolicitorEmail: string;
112
- SolicitorName: string;
113
- SolicitorDateOfBirth_Time: string;
114
- solicitorNotes: string;
115
90
  addressPostCode?: string | null | undefined;
116
91
  addressLine1?: string | null | undefined;
117
92
  addressLine2?: string | null | undefined;
@@ -132,8 +107,6 @@ declare const SolicitorModel: mongoose.Model<{
132
107
  nameOfFirm?: string | null | undefined;
133
108
  signatory?: string | null | undefined;
134
109
  solicitorActing?: string | null | undefined;
135
- Solicitorpassedyear?: number | null | undefined;
136
- CountryofEducation?: mongoose.Types.ObjectId | null | undefined;
137
110
  } & {
138
111
  _id: mongoose.Types.ObjectId;
139
112
  } & {
@@ -152,13 +125,6 @@ declare const SolicitorModel: mongoose.Model<{
152
125
  } & {
153
126
  applicationId: mongoose.Types.ObjectId;
154
127
  pageValidFlag: boolean;
155
- isUkResident: string;
156
- IsSolicitorCertified: string;
157
- ApplicantName: string;
158
- SolicitorEmail: string;
159
- SolicitorName: string;
160
- SolicitorDateOfBirth_Time: string;
161
- solicitorNotes: string;
162
128
  addressPostCode?: string | null | undefined;
163
129
  addressLine1?: string | null | undefined;
164
130
  addressLine2?: string | null | undefined;
@@ -179,21 +145,12 @@ declare const SolicitorModel: mongoose.Model<{
179
145
  nameOfFirm?: string | null | undefined;
180
146
  signatory?: string | null | undefined;
181
147
  solicitorActing?: string | null | undefined;
182
- Solicitorpassedyear?: number | null | undefined;
183
- CountryofEducation?: mongoose.Types.ObjectId | null | undefined;
184
148
  }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
185
149
  createdAt: NativeDate;
186
150
  updatedAt: NativeDate;
187
151
  } & {
188
152
  applicationId: mongoose.Types.ObjectId;
189
153
  pageValidFlag: boolean;
190
- isUkResident: string;
191
- IsSolicitorCertified: string;
192
- ApplicantName: string;
193
- SolicitorEmail: string;
194
- SolicitorName: string;
195
- SolicitorDateOfBirth_Time: string;
196
- solicitorNotes: string;
197
154
  addressPostCode?: string | null | undefined;
198
155
  addressLine1?: string | null | undefined;
199
156
  addressLine2?: string | null | undefined;
@@ -214,21 +171,12 @@ declare const SolicitorModel: mongoose.Model<{
214
171
  nameOfFirm?: string | null | undefined;
215
172
  signatory?: string | null | undefined;
216
173
  solicitorActing?: string | null | undefined;
217
- Solicitorpassedyear?: number | null | undefined;
218
- CountryofEducation?: mongoose.Types.ObjectId | null | undefined;
219
174
  }>, {}> & mongoose.FlatRecord<{
220
175
  createdAt: NativeDate;
221
176
  updatedAt: NativeDate;
222
177
  } & {
223
178
  applicationId: mongoose.Types.ObjectId;
224
179
  pageValidFlag: boolean;
225
- isUkResident: string;
226
- IsSolicitorCertified: string;
227
- ApplicantName: string;
228
- SolicitorEmail: string;
229
- SolicitorName: string;
230
- SolicitorDateOfBirth_Time: string;
231
- solicitorNotes: string;
232
180
  addressPostCode?: string | null | undefined;
233
181
  addressLine1?: string | null | undefined;
234
182
  addressLine2?: string | null | undefined;
@@ -249,8 +197,6 @@ declare const SolicitorModel: mongoose.Model<{
249
197
  nameOfFirm?: string | null | undefined;
250
198
  signatory?: string | null | undefined;
251
199
  solicitorActing?: string | null | undefined;
252
- Solicitorpassedyear?: number | null | undefined;
253
- CountryofEducation?: mongoose.Types.ObjectId | null | undefined;
254
200
  }> & {
255
201
  _id: mongoose.Types.ObjectId;
256
202
  } & {
@@ -1 +1 @@
1
- {"version":3,"file":"solicitor.model.d.ts","sourceRoot":"","sources":["../../applications/solicitor.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAGhC,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAuIhE,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA+C,CAAC;AACpE,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"solicitor.model.d.ts","sourceRoot":"","sources":["../../applications/solicitor.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAGhC,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AA8HhE,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA+C,CAAC;AACpE,eAAe,cAAc,CAAC"}
@@ -101,15 +101,6 @@ const solicitorSchema = new Schema({
101
101
  maxLength: 15,
102
102
  description: "Telephone number of the solicitor"
103
103
  },
104
- IsSolicitorCertified: { type: String, default: "" },
105
- ApplicantName: { type: String, default: "" },
106
- SolicitorEmail: { type: String, default: "" },
107
- SolicitorName: { type: String, default: "" },
108
- Solicitorpassedyear: { type: Number },
109
- SolicitorDateOfBirth_Time: { type: String, default: null },
110
- isUkResident: { type: String, default: "" },
111
- CountryofEducation: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup" },
112
- solicitorNotes: { type: String, default: "" },
113
104
  }, {
114
105
  timestamps: true,
115
106
  toJSON: { virtuals: true },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/gb-schemas",
3
- "version": "2.5.0",
3
+ "version": "2.7.0",
4
4
  "description": "All the schemas for gatehouse bank back-end .",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",