@dynamatix/gb-schemas 1.3.291 → 1.3.292

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.
@@ -31,7 +31,54 @@ import { Pound } from "../value-objects/pound";
31
31
  declare const ApplicationValuationModel: mongoose.Model<{
32
32
  version?: unknown;
33
33
  applicationId?: mongoose.Types.ObjectId | null | undefined;
34
- amount?: {
34
+ dateOfValuationReceived?: {
35
+ toJSON?: {} | null | undefined;
36
+ [Symbol.toPrimitive]?: {} | null | undefined;
37
+ toString: {} | null;
38
+ toLocaleString: {} | null;
39
+ valueOf: {} | null;
40
+ toDateString?: {} | null | undefined;
41
+ toTimeString?: {} | null | undefined;
42
+ toLocaleDateString?: {} | null | undefined;
43
+ toLocaleTimeString?: {} | null | undefined;
44
+ getTime?: {} | null | undefined;
45
+ getFullYear?: {} | null | undefined;
46
+ getUTCFullYear?: {} | null | undefined;
47
+ getMonth?: {} | null | undefined;
48
+ getUTCMonth?: {} | null | undefined;
49
+ getDate?: {} | null | undefined;
50
+ getUTCDate?: {} | null | undefined;
51
+ getDay?: {} | null | undefined;
52
+ getUTCDay?: {} | null | undefined;
53
+ getHours?: {} | null | undefined;
54
+ getUTCHours?: {} | null | undefined;
55
+ getMinutes?: {} | null | undefined;
56
+ getUTCMinutes?: {} | null | undefined;
57
+ getSeconds?: {} | null | undefined;
58
+ getUTCSeconds?: {} | null | undefined;
59
+ getMilliseconds?: {} | null | undefined;
60
+ getUTCMilliseconds?: {} | null | undefined;
61
+ getTimezoneOffset?: {} | null | undefined;
62
+ setTime?: {} | null | undefined;
63
+ setMilliseconds?: {} | null | undefined;
64
+ setUTCMilliseconds?: {} | null | undefined;
65
+ setSeconds?: {} | null | undefined;
66
+ setUTCSeconds?: {} | null | undefined;
67
+ setMinutes?: {} | null | undefined;
68
+ setUTCMinutes?: {} | null | undefined;
69
+ setHours?: {} | null | undefined;
70
+ setUTCHours?: {} | null | undefined;
71
+ setDate?: {} | null | undefined;
72
+ setUTCDate?: {} | null | undefined;
73
+ setMonth?: {} | null | undefined;
74
+ setUTCMonth?: {} | null | undefined;
75
+ setFullYear?: {} | null | undefined;
76
+ setUTCFullYear?: {} | null | undefined;
77
+ toUTCString?: {} | null | undefined;
78
+ toISOString?: {} | null | undefined;
79
+ getVarDate?: {} | null | undefined;
80
+ } | null | undefined;
81
+ ninetyDaysValuationAmount?: {
35
82
  validators: mongoose.Types.DocumentArray<{
36
83
  type?: unknown;
37
84
  message?: unknown;
@@ -79,20 +126,7 @@ declare const ApplicationValuationModel: mongoose.Model<{
79
126
  validateAll?: {} | null | undefined;
80
127
  defaultOptions?: unknown;
81
128
  } | null | undefined;
82
- epcRatingLid?: unknown;
83
- epcScore?: unknown;
84
- estimatedRentalValue?: unknown;
85
- instructionId?: unknown;
86
- instructionStatus?: unknown;
87
- instructionStatusComment?: unknown;
88
- isManual?: unknown;
89
- squareMetres?: unknown;
90
- valuerNotes?: unknown;
91
- ValuationRequestedDate?: unknown;
92
- ValuationScheduledDate?: unknown;
93
- ValuationSurveyorDetails?: unknown;
94
- DateOfValuationReceived?: unknown;
95
- NinetyDaysValuationAmount?: {
129
+ reinstatementAmount?: {
96
130
  validators: mongoose.Types.DocumentArray<{
97
131
  type?: unknown;
98
132
  message?: unknown;
@@ -140,7 +174,102 @@ declare const ApplicationValuationModel: mongoose.Model<{
140
174
  validateAll?: {} | null | undefined;
141
175
  defaultOptions?: unknown;
142
176
  } | null | undefined;
143
- ReinstatementAmount?: {
177
+ valuationRequestedDate?: {
178
+ toJSON?: {} | null | undefined;
179
+ [Symbol.toPrimitive]?: {} | null | undefined;
180
+ toString: {} | null;
181
+ toLocaleString: {} | null;
182
+ valueOf: {} | null;
183
+ toDateString?: {} | null | undefined;
184
+ toTimeString?: {} | null | undefined;
185
+ toLocaleDateString?: {} | null | undefined;
186
+ toLocaleTimeString?: {} | null | undefined;
187
+ getTime?: {} | null | undefined;
188
+ getFullYear?: {} | null | undefined;
189
+ getUTCFullYear?: {} | null | undefined;
190
+ getMonth?: {} | null | undefined;
191
+ getUTCMonth?: {} | null | undefined;
192
+ getDate?: {} | null | undefined;
193
+ getUTCDate?: {} | null | undefined;
194
+ getDay?: {} | null | undefined;
195
+ getUTCDay?: {} | null | undefined;
196
+ getHours?: {} | null | undefined;
197
+ getUTCHours?: {} | null | undefined;
198
+ getMinutes?: {} | null | undefined;
199
+ getUTCMinutes?: {} | null | undefined;
200
+ getSeconds?: {} | null | undefined;
201
+ getUTCSeconds?: {} | null | undefined;
202
+ getMilliseconds?: {} | null | undefined;
203
+ getUTCMilliseconds?: {} | null | undefined;
204
+ getTimezoneOffset?: {} | null | undefined;
205
+ setTime?: {} | null | undefined;
206
+ setMilliseconds?: {} | null | undefined;
207
+ setUTCMilliseconds?: {} | null | undefined;
208
+ setSeconds?: {} | null | undefined;
209
+ setUTCSeconds?: {} | null | undefined;
210
+ setMinutes?: {} | null | undefined;
211
+ setUTCMinutes?: {} | null | undefined;
212
+ setHours?: {} | null | undefined;
213
+ setUTCHours?: {} | null | undefined;
214
+ setDate?: {} | null | undefined;
215
+ setUTCDate?: {} | null | undefined;
216
+ setMonth?: {} | null | undefined;
217
+ setUTCMonth?: {} | null | undefined;
218
+ setFullYear?: {} | null | undefined;
219
+ setUTCFullYear?: {} | null | undefined;
220
+ toUTCString?: {} | null | undefined;
221
+ toISOString?: {} | null | undefined;
222
+ getVarDate?: {} | null | undefined;
223
+ } | null | undefined;
224
+ valuationScheduledDate?: {
225
+ toJSON?: {} | null | undefined;
226
+ [Symbol.toPrimitive]?: {} | null | undefined;
227
+ toString: {} | null;
228
+ toLocaleString: {} | null;
229
+ valueOf: {} | null;
230
+ toDateString?: {} | null | undefined;
231
+ toTimeString?: {} | null | undefined;
232
+ toLocaleDateString?: {} | null | undefined;
233
+ toLocaleTimeString?: {} | null | undefined;
234
+ getTime?: {} | null | undefined;
235
+ getFullYear?: {} | null | undefined;
236
+ getUTCFullYear?: {} | null | undefined;
237
+ getMonth?: {} | null | undefined;
238
+ getUTCMonth?: {} | null | undefined;
239
+ getDate?: {} | null | undefined;
240
+ getUTCDate?: {} | null | undefined;
241
+ getDay?: {} | null | undefined;
242
+ getUTCDay?: {} | null | undefined;
243
+ getHours?: {} | null | undefined;
244
+ getUTCHours?: {} | null | undefined;
245
+ getMinutes?: {} | null | undefined;
246
+ getUTCMinutes?: {} | null | undefined;
247
+ getSeconds?: {} | null | undefined;
248
+ getUTCSeconds?: {} | null | undefined;
249
+ getMilliseconds?: {} | null | undefined;
250
+ getUTCMilliseconds?: {} | null | undefined;
251
+ getTimezoneOffset?: {} | null | undefined;
252
+ setTime?: {} | null | undefined;
253
+ setMilliseconds?: {} | null | undefined;
254
+ setUTCMilliseconds?: {} | null | undefined;
255
+ setSeconds?: {} | null | undefined;
256
+ setUTCSeconds?: {} | null | undefined;
257
+ setMinutes?: {} | null | undefined;
258
+ setUTCMinutes?: {} | null | undefined;
259
+ setHours?: {} | null | undefined;
260
+ setUTCHours?: {} | null | undefined;
261
+ setDate?: {} | null | undefined;
262
+ setUTCDate?: {} | null | undefined;
263
+ setMonth?: {} | null | undefined;
264
+ setUTCMonth?: {} | null | undefined;
265
+ setFullYear?: {} | null | undefined;
266
+ setUTCFullYear?: {} | null | undefined;
267
+ toUTCString?: {} | null | undefined;
268
+ toISOString?: {} | null | undefined;
269
+ getVarDate?: {} | null | undefined;
270
+ } | null | undefined;
271
+ valuationSurveyorDetails?: unknown;
272
+ amount?: {
144
273
  validators: mongoose.Types.DocumentArray<{
145
274
  type?: unknown;
146
275
  message?: unknown;
@@ -188,10 +317,66 @@ declare const ApplicationValuationModel: mongoose.Model<{
188
317
  validateAll?: {} | null | undefined;
189
318
  defaultOptions?: unknown;
190
319
  } | null | undefined;
320
+ epcRatingLid?: unknown;
321
+ epcScore?: unknown;
322
+ estimatedRentalValue?: unknown;
323
+ instructionId?: unknown;
324
+ instructionStatus?: unknown;
325
+ instructionStatusComment?: unknown;
326
+ isManual?: unknown;
327
+ squareMetres?: unknown;
328
+ valuerNotes?: unknown;
191
329
  }, {}, {}, {}, mongoose.Document<unknown, {}, {
192
330
  version?: unknown;
193
331
  applicationId?: mongoose.Types.ObjectId | null | undefined;
194
- amount?: {
332
+ dateOfValuationReceived?: {
333
+ toJSON?: {} | null | undefined;
334
+ [Symbol.toPrimitive]?: {} | null | undefined;
335
+ toString: {} | null;
336
+ toLocaleString: {} | null;
337
+ valueOf: {} | null;
338
+ toDateString?: {} | null | undefined;
339
+ toTimeString?: {} | null | undefined;
340
+ toLocaleDateString?: {} | null | undefined;
341
+ toLocaleTimeString?: {} | null | undefined;
342
+ getTime?: {} | null | undefined;
343
+ getFullYear?: {} | null | undefined;
344
+ getUTCFullYear?: {} | null | undefined;
345
+ getMonth?: {} | null | undefined;
346
+ getUTCMonth?: {} | null | undefined;
347
+ getDate?: {} | null | undefined;
348
+ getUTCDate?: {} | null | undefined;
349
+ getDay?: {} | null | undefined;
350
+ getUTCDay?: {} | null | undefined;
351
+ getHours?: {} | null | undefined;
352
+ getUTCHours?: {} | null | undefined;
353
+ getMinutes?: {} | null | undefined;
354
+ getUTCMinutes?: {} | null | undefined;
355
+ getSeconds?: {} | null | undefined;
356
+ getUTCSeconds?: {} | null | undefined;
357
+ getMilliseconds?: {} | null | undefined;
358
+ getUTCMilliseconds?: {} | null | undefined;
359
+ getTimezoneOffset?: {} | null | undefined;
360
+ setTime?: {} | null | undefined;
361
+ setMilliseconds?: {} | null | undefined;
362
+ setUTCMilliseconds?: {} | null | undefined;
363
+ setSeconds?: {} | null | undefined;
364
+ setUTCSeconds?: {} | null | undefined;
365
+ setMinutes?: {} | null | undefined;
366
+ setUTCMinutes?: {} | null | undefined;
367
+ setHours?: {} | null | undefined;
368
+ setUTCHours?: {} | null | undefined;
369
+ setDate?: {} | null | undefined;
370
+ setUTCDate?: {} | null | undefined;
371
+ setMonth?: {} | null | undefined;
372
+ setUTCMonth?: {} | null | undefined;
373
+ setFullYear?: {} | null | undefined;
374
+ setUTCFullYear?: {} | null | undefined;
375
+ toUTCString?: {} | null | undefined;
376
+ toISOString?: {} | null | undefined;
377
+ getVarDate?: {} | null | undefined;
378
+ } | null | undefined;
379
+ ninetyDaysValuationAmount?: {
195
380
  validators: mongoose.Types.DocumentArray<{
196
381
  type?: unknown;
197
382
  message?: unknown;
@@ -239,20 +424,7 @@ declare const ApplicationValuationModel: mongoose.Model<{
239
424
  validateAll?: {} | null | undefined;
240
425
  defaultOptions?: unknown;
241
426
  } | null | undefined;
242
- epcRatingLid?: unknown;
243
- epcScore?: unknown;
244
- estimatedRentalValue?: unknown;
245
- instructionId?: unknown;
246
- instructionStatus?: unknown;
247
- instructionStatusComment?: unknown;
248
- isManual?: unknown;
249
- squareMetres?: unknown;
250
- valuerNotes?: unknown;
251
- ValuationRequestedDate?: unknown;
252
- ValuationScheduledDate?: unknown;
253
- ValuationSurveyorDetails?: unknown;
254
- DateOfValuationReceived?: unknown;
255
- NinetyDaysValuationAmount?: {
427
+ reinstatementAmount?: {
256
428
  validators: mongoose.Types.DocumentArray<{
257
429
  type?: unknown;
258
430
  message?: unknown;
@@ -300,7 +472,102 @@ declare const ApplicationValuationModel: mongoose.Model<{
300
472
  validateAll?: {} | null | undefined;
301
473
  defaultOptions?: unknown;
302
474
  } | null | undefined;
303
- ReinstatementAmount?: {
475
+ valuationRequestedDate?: {
476
+ toJSON?: {} | null | undefined;
477
+ [Symbol.toPrimitive]?: {} | null | undefined;
478
+ toString: {} | null;
479
+ toLocaleString: {} | null;
480
+ valueOf: {} | null;
481
+ toDateString?: {} | null | undefined;
482
+ toTimeString?: {} | null | undefined;
483
+ toLocaleDateString?: {} | null | undefined;
484
+ toLocaleTimeString?: {} | null | undefined;
485
+ getTime?: {} | null | undefined;
486
+ getFullYear?: {} | null | undefined;
487
+ getUTCFullYear?: {} | null | undefined;
488
+ getMonth?: {} | null | undefined;
489
+ getUTCMonth?: {} | null | undefined;
490
+ getDate?: {} | null | undefined;
491
+ getUTCDate?: {} | null | undefined;
492
+ getDay?: {} | null | undefined;
493
+ getUTCDay?: {} | null | undefined;
494
+ getHours?: {} | null | undefined;
495
+ getUTCHours?: {} | null | undefined;
496
+ getMinutes?: {} | null | undefined;
497
+ getUTCMinutes?: {} | null | undefined;
498
+ getSeconds?: {} | null | undefined;
499
+ getUTCSeconds?: {} | null | undefined;
500
+ getMilliseconds?: {} | null | undefined;
501
+ getUTCMilliseconds?: {} | null | undefined;
502
+ getTimezoneOffset?: {} | null | undefined;
503
+ setTime?: {} | null | undefined;
504
+ setMilliseconds?: {} | null | undefined;
505
+ setUTCMilliseconds?: {} | null | undefined;
506
+ setSeconds?: {} | null | undefined;
507
+ setUTCSeconds?: {} | null | undefined;
508
+ setMinutes?: {} | null | undefined;
509
+ setUTCMinutes?: {} | null | undefined;
510
+ setHours?: {} | null | undefined;
511
+ setUTCHours?: {} | null | undefined;
512
+ setDate?: {} | null | undefined;
513
+ setUTCDate?: {} | null | undefined;
514
+ setMonth?: {} | null | undefined;
515
+ setUTCMonth?: {} | null | undefined;
516
+ setFullYear?: {} | null | undefined;
517
+ setUTCFullYear?: {} | null | undefined;
518
+ toUTCString?: {} | null | undefined;
519
+ toISOString?: {} | null | undefined;
520
+ getVarDate?: {} | null | undefined;
521
+ } | null | undefined;
522
+ valuationScheduledDate?: {
523
+ toJSON?: {} | null | undefined;
524
+ [Symbol.toPrimitive]?: {} | null | undefined;
525
+ toString: {} | null;
526
+ toLocaleString: {} | null;
527
+ valueOf: {} | null;
528
+ toDateString?: {} | null | undefined;
529
+ toTimeString?: {} | null | undefined;
530
+ toLocaleDateString?: {} | null | undefined;
531
+ toLocaleTimeString?: {} | null | undefined;
532
+ getTime?: {} | null | undefined;
533
+ getFullYear?: {} | null | undefined;
534
+ getUTCFullYear?: {} | null | undefined;
535
+ getMonth?: {} | null | undefined;
536
+ getUTCMonth?: {} | null | undefined;
537
+ getDate?: {} | null | undefined;
538
+ getUTCDate?: {} | null | undefined;
539
+ getDay?: {} | null | undefined;
540
+ getUTCDay?: {} | null | undefined;
541
+ getHours?: {} | null | undefined;
542
+ getUTCHours?: {} | null | undefined;
543
+ getMinutes?: {} | null | undefined;
544
+ getUTCMinutes?: {} | null | undefined;
545
+ getSeconds?: {} | null | undefined;
546
+ getUTCSeconds?: {} | null | undefined;
547
+ getMilliseconds?: {} | null | undefined;
548
+ getUTCMilliseconds?: {} | null | undefined;
549
+ getTimezoneOffset?: {} | null | undefined;
550
+ setTime?: {} | null | undefined;
551
+ setMilliseconds?: {} | null | undefined;
552
+ setUTCMilliseconds?: {} | null | undefined;
553
+ setSeconds?: {} | null | undefined;
554
+ setUTCSeconds?: {} | null | undefined;
555
+ setMinutes?: {} | null | undefined;
556
+ setUTCMinutes?: {} | null | undefined;
557
+ setHours?: {} | null | undefined;
558
+ setUTCHours?: {} | null | undefined;
559
+ setDate?: {} | null | undefined;
560
+ setUTCDate?: {} | null | undefined;
561
+ setMonth?: {} | null | undefined;
562
+ setUTCMonth?: {} | null | undefined;
563
+ setFullYear?: {} | null | undefined;
564
+ setUTCFullYear?: {} | null | undefined;
565
+ toUTCString?: {} | null | undefined;
566
+ toISOString?: {} | null | undefined;
567
+ getVarDate?: {} | null | undefined;
568
+ } | null | undefined;
569
+ valuationSurveyorDetails?: unknown;
570
+ amount?: {
304
571
  validators: mongoose.Types.DocumentArray<{
305
572
  type?: unknown;
306
573
  message?: unknown;
@@ -348,10 +615,66 @@ declare const ApplicationValuationModel: mongoose.Model<{
348
615
  validateAll?: {} | null | undefined;
349
616
  defaultOptions?: unknown;
350
617
  } | null | undefined;
618
+ epcRatingLid?: unknown;
619
+ epcScore?: unknown;
620
+ estimatedRentalValue?: unknown;
621
+ instructionId?: unknown;
622
+ instructionStatus?: unknown;
623
+ instructionStatusComment?: unknown;
624
+ isManual?: unknown;
625
+ squareMetres?: unknown;
626
+ valuerNotes?: unknown;
351
627
  }, {}> & {
352
628
  version?: unknown;
353
629
  applicationId?: mongoose.Types.ObjectId | null | undefined;
354
- amount?: {
630
+ dateOfValuationReceived?: {
631
+ toJSON?: {} | null | undefined;
632
+ [Symbol.toPrimitive]?: {} | null | undefined;
633
+ toString: {} | null;
634
+ toLocaleString: {} | null;
635
+ valueOf: {} | null;
636
+ toDateString?: {} | null | undefined;
637
+ toTimeString?: {} | null | undefined;
638
+ toLocaleDateString?: {} | null | undefined;
639
+ toLocaleTimeString?: {} | null | undefined;
640
+ getTime?: {} | null | undefined;
641
+ getFullYear?: {} | null | undefined;
642
+ getUTCFullYear?: {} | null | undefined;
643
+ getMonth?: {} | null | undefined;
644
+ getUTCMonth?: {} | null | undefined;
645
+ getDate?: {} | null | undefined;
646
+ getUTCDate?: {} | null | undefined;
647
+ getDay?: {} | null | undefined;
648
+ getUTCDay?: {} | null | undefined;
649
+ getHours?: {} | null | undefined;
650
+ getUTCHours?: {} | null | undefined;
651
+ getMinutes?: {} | null | undefined;
652
+ getUTCMinutes?: {} | null | undefined;
653
+ getSeconds?: {} | null | undefined;
654
+ getUTCSeconds?: {} | null | undefined;
655
+ getMilliseconds?: {} | null | undefined;
656
+ getUTCMilliseconds?: {} | null | undefined;
657
+ getTimezoneOffset?: {} | null | undefined;
658
+ setTime?: {} | null | undefined;
659
+ setMilliseconds?: {} | null | undefined;
660
+ setUTCMilliseconds?: {} | null | undefined;
661
+ setSeconds?: {} | null | undefined;
662
+ setUTCSeconds?: {} | null | undefined;
663
+ setMinutes?: {} | null | undefined;
664
+ setUTCMinutes?: {} | null | undefined;
665
+ setHours?: {} | null | undefined;
666
+ setUTCHours?: {} | null | undefined;
667
+ setDate?: {} | null | undefined;
668
+ setUTCDate?: {} | null | undefined;
669
+ setMonth?: {} | null | undefined;
670
+ setUTCMonth?: {} | null | undefined;
671
+ setFullYear?: {} | null | undefined;
672
+ setUTCFullYear?: {} | null | undefined;
673
+ toUTCString?: {} | null | undefined;
674
+ toISOString?: {} | null | undefined;
675
+ getVarDate?: {} | null | undefined;
676
+ } | null | undefined;
677
+ ninetyDaysValuationAmount?: {
355
678
  validators: mongoose.Types.DocumentArray<{
356
679
  type?: unknown;
357
680
  message?: unknown;
@@ -399,20 +722,7 @@ declare const ApplicationValuationModel: mongoose.Model<{
399
722
  validateAll?: {} | null | undefined;
400
723
  defaultOptions?: unknown;
401
724
  } | null | undefined;
402
- epcRatingLid?: unknown;
403
- epcScore?: unknown;
404
- estimatedRentalValue?: unknown;
405
- instructionId?: unknown;
406
- instructionStatus?: unknown;
407
- instructionStatusComment?: unknown;
408
- isManual?: unknown;
409
- squareMetres?: unknown;
410
- valuerNotes?: unknown;
411
- ValuationRequestedDate?: unknown;
412
- ValuationScheduledDate?: unknown;
413
- ValuationSurveyorDetails?: unknown;
414
- DateOfValuationReceived?: unknown;
415
- NinetyDaysValuationAmount?: {
725
+ reinstatementAmount?: {
416
726
  validators: mongoose.Types.DocumentArray<{
417
727
  type?: unknown;
418
728
  message?: unknown;
@@ -460,7 +770,102 @@ declare const ApplicationValuationModel: mongoose.Model<{
460
770
  validateAll?: {} | null | undefined;
461
771
  defaultOptions?: unknown;
462
772
  } | null | undefined;
463
- ReinstatementAmount?: {
773
+ valuationRequestedDate?: {
774
+ toJSON?: {} | null | undefined;
775
+ [Symbol.toPrimitive]?: {} | null | undefined;
776
+ toString: {} | null;
777
+ toLocaleString: {} | null;
778
+ valueOf: {} | null;
779
+ toDateString?: {} | null | undefined;
780
+ toTimeString?: {} | null | undefined;
781
+ toLocaleDateString?: {} | null | undefined;
782
+ toLocaleTimeString?: {} | null | undefined;
783
+ getTime?: {} | null | undefined;
784
+ getFullYear?: {} | null | undefined;
785
+ getUTCFullYear?: {} | null | undefined;
786
+ getMonth?: {} | null | undefined;
787
+ getUTCMonth?: {} | null | undefined;
788
+ getDate?: {} | null | undefined;
789
+ getUTCDate?: {} | null | undefined;
790
+ getDay?: {} | null | undefined;
791
+ getUTCDay?: {} | null | undefined;
792
+ getHours?: {} | null | undefined;
793
+ getUTCHours?: {} | null | undefined;
794
+ getMinutes?: {} | null | undefined;
795
+ getUTCMinutes?: {} | null | undefined;
796
+ getSeconds?: {} | null | undefined;
797
+ getUTCSeconds?: {} | null | undefined;
798
+ getMilliseconds?: {} | null | undefined;
799
+ getUTCMilliseconds?: {} | null | undefined;
800
+ getTimezoneOffset?: {} | null | undefined;
801
+ setTime?: {} | null | undefined;
802
+ setMilliseconds?: {} | null | undefined;
803
+ setUTCMilliseconds?: {} | null | undefined;
804
+ setSeconds?: {} | null | undefined;
805
+ setUTCSeconds?: {} | null | undefined;
806
+ setMinutes?: {} | null | undefined;
807
+ setUTCMinutes?: {} | null | undefined;
808
+ setHours?: {} | null | undefined;
809
+ setUTCHours?: {} | null | undefined;
810
+ setDate?: {} | null | undefined;
811
+ setUTCDate?: {} | null | undefined;
812
+ setMonth?: {} | null | undefined;
813
+ setUTCMonth?: {} | null | undefined;
814
+ setFullYear?: {} | null | undefined;
815
+ setUTCFullYear?: {} | null | undefined;
816
+ toUTCString?: {} | null | undefined;
817
+ toISOString?: {} | null | undefined;
818
+ getVarDate?: {} | null | undefined;
819
+ } | null | undefined;
820
+ valuationScheduledDate?: {
821
+ toJSON?: {} | null | undefined;
822
+ [Symbol.toPrimitive]?: {} | null | undefined;
823
+ toString: {} | null;
824
+ toLocaleString: {} | null;
825
+ valueOf: {} | null;
826
+ toDateString?: {} | null | undefined;
827
+ toTimeString?: {} | null | undefined;
828
+ toLocaleDateString?: {} | null | undefined;
829
+ toLocaleTimeString?: {} | null | undefined;
830
+ getTime?: {} | null | undefined;
831
+ getFullYear?: {} | null | undefined;
832
+ getUTCFullYear?: {} | null | undefined;
833
+ getMonth?: {} | null | undefined;
834
+ getUTCMonth?: {} | null | undefined;
835
+ getDate?: {} | null | undefined;
836
+ getUTCDate?: {} | null | undefined;
837
+ getDay?: {} | null | undefined;
838
+ getUTCDay?: {} | null | undefined;
839
+ getHours?: {} | null | undefined;
840
+ getUTCHours?: {} | null | undefined;
841
+ getMinutes?: {} | null | undefined;
842
+ getUTCMinutes?: {} | null | undefined;
843
+ getSeconds?: {} | null | undefined;
844
+ getUTCSeconds?: {} | null | undefined;
845
+ getMilliseconds?: {} | null | undefined;
846
+ getUTCMilliseconds?: {} | null | undefined;
847
+ getTimezoneOffset?: {} | null | undefined;
848
+ setTime?: {} | null | undefined;
849
+ setMilliseconds?: {} | null | undefined;
850
+ setUTCMilliseconds?: {} | null | undefined;
851
+ setSeconds?: {} | null | undefined;
852
+ setUTCSeconds?: {} | null | undefined;
853
+ setMinutes?: {} | null | undefined;
854
+ setUTCMinutes?: {} | null | undefined;
855
+ setHours?: {} | null | undefined;
856
+ setUTCHours?: {} | null | undefined;
857
+ setDate?: {} | null | undefined;
858
+ setUTCDate?: {} | null | undefined;
859
+ setMonth?: {} | null | undefined;
860
+ setUTCMonth?: {} | null | undefined;
861
+ setFullYear?: {} | null | undefined;
862
+ setUTCFullYear?: {} | null | undefined;
863
+ toUTCString?: {} | null | undefined;
864
+ toISOString?: {} | null | undefined;
865
+ getVarDate?: {} | null | undefined;
866
+ } | null | undefined;
867
+ valuationSurveyorDetails?: unknown;
868
+ amount?: {
464
869
  validators: mongoose.Types.DocumentArray<{
465
870
  type?: unknown;
466
871
  message?: unknown;
@@ -508,6 +913,15 @@ declare const ApplicationValuationModel: mongoose.Model<{
508
913
  validateAll?: {} | null | undefined;
509
914
  defaultOptions?: unknown;
510
915
  } | null | undefined;
916
+ epcRatingLid?: unknown;
917
+ epcScore?: unknown;
918
+ estimatedRentalValue?: unknown;
919
+ instructionId?: unknown;
920
+ instructionStatus?: unknown;
921
+ instructionStatusComment?: unknown;
922
+ isManual?: unknown;
923
+ squareMetres?: unknown;
924
+ valuerNotes?: unknown;
511
925
  } & {
512
926
  _id: mongoose.Types.ObjectId;
513
927
  } & {
@@ -515,60 +929,60 @@ declare const ApplicationValuationModel: mongoose.Model<{
515
929
  }, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
516
930
  version: string;
517
931
  applicationId: mongoose.Types.ObjectId;
932
+ dateOfValuationReceived: NativeDate;
933
+ ninetyDaysValuationAmount: Pound;
934
+ reinstatementAmount: Pound;
935
+ valuationRequestedDate: NativeDate;
936
+ valuationScheduledDate: NativeDate;
937
+ valuationSurveyorDetails: string;
518
938
  amount: Pound;
519
939
  instructionId: string;
520
940
  instructionStatus: string;
521
941
  instructionStatusComment: string;
522
942
  isManual: string;
523
943
  valuerNotes: string;
524
- ValuationSurveyorDetails: string;
525
- NinetyDaysValuationAmount: Pound;
526
- ReinstatementAmount: Pound;
527
944
  epcRatingLid?: mongoose.Types.ObjectId | null | undefined;
528
- epcScore?: string | null | undefined;
945
+ epcScore?: number | null | undefined;
529
946
  estimatedRentalValue?: string | null | undefined;
530
947
  squareMetres?: string | null | undefined;
531
- ValuationRequestedDate?: NativeDate | null | undefined;
532
- ValuationScheduledDate?: NativeDate | null | undefined;
533
- DateOfValuationReceived?: NativeDate | null | undefined;
534
948
  }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
535
949
  version: string;
536
950
  applicationId: mongoose.Types.ObjectId;
951
+ dateOfValuationReceived: NativeDate;
952
+ ninetyDaysValuationAmount: Pound;
953
+ reinstatementAmount: Pound;
954
+ valuationRequestedDate: NativeDate;
955
+ valuationScheduledDate: NativeDate;
956
+ valuationSurveyorDetails: string;
537
957
  amount: Pound;
538
958
  instructionId: string;
539
959
  instructionStatus: string;
540
960
  instructionStatusComment: string;
541
961
  isManual: string;
542
962
  valuerNotes: string;
543
- ValuationSurveyorDetails: string;
544
- NinetyDaysValuationAmount: Pound;
545
- ReinstatementAmount: Pound;
546
963
  epcRatingLid?: mongoose.Types.ObjectId | null | undefined;
547
- epcScore?: string | null | undefined;
964
+ epcScore?: number | null | undefined;
548
965
  estimatedRentalValue?: string | null | undefined;
549
966
  squareMetres?: string | null | undefined;
550
- ValuationRequestedDate?: NativeDate | null | undefined;
551
- ValuationScheduledDate?: NativeDate | null | undefined;
552
- DateOfValuationReceived?: NativeDate | null | undefined;
553
967
  }>, {}> & mongoose.FlatRecord<{
554
968
  version: string;
555
969
  applicationId: mongoose.Types.ObjectId;
970
+ dateOfValuationReceived: NativeDate;
971
+ ninetyDaysValuationAmount: Pound;
972
+ reinstatementAmount: Pound;
973
+ valuationRequestedDate: NativeDate;
974
+ valuationScheduledDate: NativeDate;
975
+ valuationSurveyorDetails: string;
556
976
  amount: Pound;
557
977
  instructionId: string;
558
978
  instructionStatus: string;
559
979
  instructionStatusComment: string;
560
980
  isManual: string;
561
981
  valuerNotes: string;
562
- ValuationSurveyorDetails: string;
563
- NinetyDaysValuationAmount: Pound;
564
- ReinstatementAmount: Pound;
565
982
  epcRatingLid?: mongoose.Types.ObjectId | null | undefined;
566
- epcScore?: string | null | undefined;
983
+ epcScore?: number | null | undefined;
567
984
  estimatedRentalValue?: string | null | undefined;
568
985
  squareMetres?: string | null | undefined;
569
- ValuationRequestedDate?: NativeDate | null | undefined;
570
- ValuationScheduledDate?: NativeDate | null | undefined;
571
- DateOfValuationReceived?: NativeDate | null | undefined;
572
986
  }> & {
573
987
  _id: mongoose.Types.ObjectId;
574
988
  } & {
@@ -1 +1 @@
1
- {"version":3,"file":"application-valuation.model.d.ts","sourceRoot":"","sources":["../../applications/application-valuation.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAe,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAwB5D,QAAA,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA0D,CAAC;AAC1F,eAAe,yBAAyB,CAAC"}
1
+ {"version":3,"file":"application-valuation.model.d.ts","sourceRoot":"","sources":["../../applications/application-valuation.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAe,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAsB5D,QAAA,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA0D,CAAC;AAC1F,eAAe,yBAAyB,CAAC"}
@@ -4,7 +4,7 @@ const valuationSchema = new mongoose.Schema({
4
4
  applicationId: { type: mongoose.Schema.Types.ObjectId, ref: "Application", required: true },
5
5
  amount: { type: Pound, default: 0.00, get: formatPound },
6
6
  epcRatingLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", },
7
- epcScore: { type: String },
7
+ epcScore: { type: Number },
8
8
  estimatedRentalValue: { type: String },
9
9
  instructionId: { type: String, default: "" },
10
10
  instructionStatus: { type: String, default: "" },
@@ -13,12 +13,12 @@ const valuationSchema = new mongoose.Schema({
13
13
  squareMetres: { type: String },
14
14
  valuerNotes: { type: String, default: "" },
15
15
  version: { type: String, default: "" },
16
- ValuationRequestedDate: { type: Date },
17
- ValuationScheduledDate: { type: Date },
18
- ValuationSurveyorDetails: { type: String, default: "" },
19
- DateOfValuationReceived: { type: Date },
20
- NinetyDaysValuationAmount: { type: Pound, default: 0.00, get: formatPound },
21
- ReinstatementAmount: { type: Pound, default: 0.00, get: formatPound },
16
+ valuationRequestedDate: { type: Date, default: null },
17
+ valuationScheduledDate: { type: Date, default: null },
18
+ valuationSurveyorDetails: { type: String, default: "" },
19
+ dateOfValuationReceived: { type: Date, default: null },
20
+ ninetyDaysValuationAmount: { type: Pound, default: 0.00, get: formatPound },
21
+ reinstatementAmount: { type: Pound, default: 0.00, get: formatPound },
22
22
  });
23
23
  const ApplicationValuationModel = mongoose.model("ApplicationValuation", valuationSchema);
24
24
  export default ApplicationValuationModel;
@@ -13,7 +13,7 @@ const propertySchema = new mongoose.Schema({
13
13
  },
14
14
  propertyId: {
15
15
  type: String,
16
- required: true,
16
+ default: null,
17
17
  unique: true,
18
18
  description: "Unique identifier for the property"
19
19
  },
@@ -108,7 +108,6 @@ const propertySchema = new mongoose.Schema({
108
108
  remainingTerm: {
109
109
  type: Number,
110
110
  required: true,
111
- max: 4,
112
111
  description: "The remaining term of the loan in years"
113
112
  },
114
113
  portfolioFile: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/gb-schemas",
3
- "version": "1.3.291",
3
+ "version": "1.3.292",
4
4
  "description": "All the schemas for gatehouse bank back-end",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",