@dynamatix/gb-schemas 2.3.374 → 2.3.376

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/README.md +308 -308
  2. package/dist/applicants/applicant-income-source.model.d.ts +26 -0
  3. package/dist/applicants/applicant-income-source.model.d.ts.map +1 -0
  4. package/dist/applicants/applicant-income.model.d.ts +160 -0
  5. package/dist/applicants/applicant-income.model.d.ts.map +1 -0
  6. package/dist/applicants/applicant-other-income.model.d.ts +85 -0
  7. package/dist/applicants/applicant-other-income.model.d.ts.map +1 -0
  8. package/dist/applicants/applicant-welcome-call.model.js +9 -9
  9. package/dist/applications/application-company-model.d.ts +0 -6
  10. package/dist/applications/application-company-model.d.ts.map +1 -1
  11. package/dist/applications/application-company-model.js +0 -1
  12. package/dist/applications/application-document.model.d.ts +158 -0
  13. package/dist/applications/application-document.model.d.ts.map +1 -0
  14. package/dist/applications/application-valuation-report.model.d.ts +90 -18
  15. package/dist/applications/application-valuation-report.model.d.ts.map +1 -1
  16. package/dist/applications/application-valuation-report.model.js +5 -3
  17. package/dist/applications/application-valuation-report.type.d.ts +4 -2
  18. package/dist/applications/application-valuation-report.type.d.ts.map +1 -1
  19. package/dist/applications/document.model.d.ts +158 -0
  20. package/dist/applications/document.model.d.ts.map +1 -0
  21. package/dist/applications/productfeatures.model.d.ts +368 -0
  22. package/dist/applications/productfeatures.model.d.ts.map +1 -0
  23. package/dist/properties/security.model.d.ts +6 -0
  24. package/dist/properties/security.model.d.ts.map +1 -1
  25. package/dist/properties/security.model.js +2 -1
  26. package/dist/shared/document-type-model.d.ts +48 -0
  27. package/dist/shared/document-type-model.d.ts.map +1 -0
  28. package/package.json +87 -87
@@ -33,6 +33,7 @@ declare const ApplicationValuationReportModel: mongoose.Model<{
33
33
  applicationType: string;
34
34
  documentId: mongoose.Types.ObjectId;
35
35
  applicationNumber: string;
36
+ dateOfInspection: NativeDate;
36
37
  propertyAddress: string;
37
38
  postCode: string;
38
39
  generalRemarks: string;
@@ -219,7 +220,18 @@ declare const ApplicationValuationReportModel: mongoose.Model<{
219
220
  investorOnlyDemand: boolean;
220
221
  investorOnlyDemandDetails: string;
221
222
  } | null | undefined;
222
- valuationForFinancePurpose?: {
223
+ valuationForFinancePurposeBTL?: {
224
+ valuationComparativeOnly: string;
225
+ isSuitableForFinance: boolean;
226
+ financeSuitabilityDetails: string;
227
+ marketValuePresentCondition: number;
228
+ marketValueAfterRepairs: number;
229
+ purchasePriceOrBorrowerEstimate: number;
230
+ buildingInsuranceReinstatementCost: number;
231
+ isInsurancePremiumLoadingRisk: boolean;
232
+ insurancePremiumLoadingDetails: string;
233
+ } | null | undefined;
234
+ valuationForFinancePurposeHPP?: {
223
235
  valuationComparativeOnly: string;
224
236
  isSuitableForFinance: boolean;
225
237
  financeSuitabilityDetails: string;
@@ -231,7 +243,7 @@ declare const ApplicationValuationReportModel: mongoose.Model<{
231
243
  insurancePremiumLoadingDetails: string;
232
244
  } | null | undefined;
233
245
  valuersDeclaration?: {
234
- valuerSignature: number;
246
+ valuerSignature: string;
235
247
  valuerName: string;
236
248
  onBehalfOf: string;
237
249
  telephone: number;
@@ -240,7 +252,7 @@ declare const ApplicationValuationReportModel: mongoose.Model<{
240
252
  ricsNumber: number;
241
253
  valuerAddress: string;
242
254
  valuerPostcode: string;
243
- reportDate: number;
255
+ reportDate: NativeDate;
244
256
  valuerQualifications?: {
245
257
  mrics: boolean;
246
258
  frics: boolean;
@@ -253,6 +265,7 @@ declare const ApplicationValuationReportModel: mongoose.Model<{
253
265
  applicationType: string;
254
266
  documentId: mongoose.Types.ObjectId;
255
267
  applicationNumber: string;
268
+ dateOfInspection: NativeDate;
256
269
  propertyAddress: string;
257
270
  postCode: string;
258
271
  generalRemarks: string;
@@ -439,7 +452,18 @@ declare const ApplicationValuationReportModel: mongoose.Model<{
439
452
  investorOnlyDemand: boolean;
440
453
  investorOnlyDemandDetails: string;
441
454
  } | null | undefined;
442
- valuationForFinancePurpose?: {
455
+ valuationForFinancePurposeBTL?: {
456
+ valuationComparativeOnly: string;
457
+ isSuitableForFinance: boolean;
458
+ financeSuitabilityDetails: string;
459
+ marketValuePresentCondition: number;
460
+ marketValueAfterRepairs: number;
461
+ purchasePriceOrBorrowerEstimate: number;
462
+ buildingInsuranceReinstatementCost: number;
463
+ isInsurancePremiumLoadingRisk: boolean;
464
+ insurancePremiumLoadingDetails: string;
465
+ } | null | undefined;
466
+ valuationForFinancePurposeHPP?: {
443
467
  valuationComparativeOnly: string;
444
468
  isSuitableForFinance: boolean;
445
469
  financeSuitabilityDetails: string;
@@ -451,7 +475,7 @@ declare const ApplicationValuationReportModel: mongoose.Model<{
451
475
  insurancePremiumLoadingDetails: string;
452
476
  } | null | undefined;
453
477
  valuersDeclaration?: {
454
- valuerSignature: number;
478
+ valuerSignature: string;
455
479
  valuerName: string;
456
480
  onBehalfOf: string;
457
481
  telephone: number;
@@ -460,7 +484,7 @@ declare const ApplicationValuationReportModel: mongoose.Model<{
460
484
  ricsNumber: number;
461
485
  valuerAddress: string;
462
486
  valuerPostcode: string;
463
- reportDate: number;
487
+ reportDate: NativeDate;
464
488
  valuerQualifications?: {
465
489
  mrics: boolean;
466
490
  frics: boolean;
@@ -473,6 +497,7 @@ declare const ApplicationValuationReportModel: mongoose.Model<{
473
497
  applicationType: string;
474
498
  documentId: mongoose.Types.ObjectId;
475
499
  applicationNumber: string;
500
+ dateOfInspection: NativeDate;
476
501
  propertyAddress: string;
477
502
  postCode: string;
478
503
  generalRemarks: string;
@@ -659,7 +684,18 @@ declare const ApplicationValuationReportModel: mongoose.Model<{
659
684
  investorOnlyDemand: boolean;
660
685
  investorOnlyDemandDetails: string;
661
686
  } | null | undefined;
662
- valuationForFinancePurpose?: {
687
+ valuationForFinancePurposeBTL?: {
688
+ valuationComparativeOnly: string;
689
+ isSuitableForFinance: boolean;
690
+ financeSuitabilityDetails: string;
691
+ marketValuePresentCondition: number;
692
+ marketValueAfterRepairs: number;
693
+ purchasePriceOrBorrowerEstimate: number;
694
+ buildingInsuranceReinstatementCost: number;
695
+ isInsurancePremiumLoadingRisk: boolean;
696
+ insurancePremiumLoadingDetails: string;
697
+ } | null | undefined;
698
+ valuationForFinancePurposeHPP?: {
663
699
  valuationComparativeOnly: string;
664
700
  isSuitableForFinance: boolean;
665
701
  financeSuitabilityDetails: string;
@@ -671,7 +707,7 @@ declare const ApplicationValuationReportModel: mongoose.Model<{
671
707
  insurancePremiumLoadingDetails: string;
672
708
  } | null | undefined;
673
709
  valuersDeclaration?: {
674
- valuerSignature: number;
710
+ valuerSignature: string;
675
711
  valuerName: string;
676
712
  onBehalfOf: string;
677
713
  telephone: number;
@@ -680,7 +716,7 @@ declare const ApplicationValuationReportModel: mongoose.Model<{
680
716
  ricsNumber: number;
681
717
  valuerAddress: string;
682
718
  valuerPostcode: string;
683
- reportDate: number;
719
+ reportDate: NativeDate;
684
720
  valuerQualifications?: {
685
721
  mrics: boolean;
686
722
  frics: boolean;
@@ -697,6 +733,7 @@ declare const ApplicationValuationReportModel: mongoose.Model<{
697
733
  applicationType: string;
698
734
  documentId: mongoose.Types.ObjectId;
699
735
  applicationNumber: string;
736
+ dateOfInspection: NativeDate;
700
737
  propertyAddress: string;
701
738
  postCode: string;
702
739
  generalRemarks: string;
@@ -883,7 +920,18 @@ declare const ApplicationValuationReportModel: mongoose.Model<{
883
920
  investorOnlyDemand: boolean;
884
921
  investorOnlyDemandDetails: string;
885
922
  } | null | undefined;
886
- valuationForFinancePurpose?: {
923
+ valuationForFinancePurposeBTL?: {
924
+ valuationComparativeOnly: string;
925
+ isSuitableForFinance: boolean;
926
+ financeSuitabilityDetails: string;
927
+ marketValuePresentCondition: number;
928
+ marketValueAfterRepairs: number;
929
+ purchasePriceOrBorrowerEstimate: number;
930
+ buildingInsuranceReinstatementCost: number;
931
+ isInsurancePremiumLoadingRisk: boolean;
932
+ insurancePremiumLoadingDetails: string;
933
+ } | null | undefined;
934
+ valuationForFinancePurposeHPP?: {
887
935
  valuationComparativeOnly: string;
888
936
  isSuitableForFinance: boolean;
889
937
  financeSuitabilityDetails: string;
@@ -895,7 +943,7 @@ declare const ApplicationValuationReportModel: mongoose.Model<{
895
943
  insurancePremiumLoadingDetails: string;
896
944
  } | null | undefined;
897
945
  valuersDeclaration?: {
898
- valuerSignature: number;
946
+ valuerSignature: string;
899
947
  valuerName: string;
900
948
  onBehalfOf: string;
901
949
  telephone: number;
@@ -904,7 +952,7 @@ declare const ApplicationValuationReportModel: mongoose.Model<{
904
952
  ricsNumber: number;
905
953
  valuerAddress: string;
906
954
  valuerPostcode: string;
907
- reportDate: number;
955
+ reportDate: NativeDate;
908
956
  valuerQualifications?: {
909
957
  mrics: boolean;
910
958
  frics: boolean;
@@ -917,6 +965,7 @@ declare const ApplicationValuationReportModel: mongoose.Model<{
917
965
  applicationType: string;
918
966
  documentId: mongoose.Types.ObjectId;
919
967
  applicationNumber: string;
968
+ dateOfInspection: NativeDate;
920
969
  propertyAddress: string;
921
970
  postCode: string;
922
971
  generalRemarks: string;
@@ -1103,7 +1152,18 @@ declare const ApplicationValuationReportModel: mongoose.Model<{
1103
1152
  investorOnlyDemand: boolean;
1104
1153
  investorOnlyDemandDetails: string;
1105
1154
  } | null | undefined;
1106
- valuationForFinancePurpose?: {
1155
+ valuationForFinancePurposeBTL?: {
1156
+ valuationComparativeOnly: string;
1157
+ isSuitableForFinance: boolean;
1158
+ financeSuitabilityDetails: string;
1159
+ marketValuePresentCondition: number;
1160
+ marketValueAfterRepairs: number;
1161
+ purchasePriceOrBorrowerEstimate: number;
1162
+ buildingInsuranceReinstatementCost: number;
1163
+ isInsurancePremiumLoadingRisk: boolean;
1164
+ insurancePremiumLoadingDetails: string;
1165
+ } | null | undefined;
1166
+ valuationForFinancePurposeHPP?: {
1107
1167
  valuationComparativeOnly: string;
1108
1168
  isSuitableForFinance: boolean;
1109
1169
  financeSuitabilityDetails: string;
@@ -1115,7 +1175,7 @@ declare const ApplicationValuationReportModel: mongoose.Model<{
1115
1175
  insurancePremiumLoadingDetails: string;
1116
1176
  } | null | undefined;
1117
1177
  valuersDeclaration?: {
1118
- valuerSignature: number;
1178
+ valuerSignature: string;
1119
1179
  valuerName: string;
1120
1180
  onBehalfOf: string;
1121
1181
  telephone: number;
@@ -1124,7 +1184,7 @@ declare const ApplicationValuationReportModel: mongoose.Model<{
1124
1184
  ricsNumber: number;
1125
1185
  valuerAddress: string;
1126
1186
  valuerPostcode: string;
1127
- reportDate: number;
1187
+ reportDate: NativeDate;
1128
1188
  valuerQualifications?: {
1129
1189
  mrics: boolean;
1130
1190
  frics: boolean;
@@ -1137,6 +1197,7 @@ declare const ApplicationValuationReportModel: mongoose.Model<{
1137
1197
  applicationType: string;
1138
1198
  documentId: mongoose.Types.ObjectId;
1139
1199
  applicationNumber: string;
1200
+ dateOfInspection: NativeDate;
1140
1201
  propertyAddress: string;
1141
1202
  postCode: string;
1142
1203
  generalRemarks: string;
@@ -1323,7 +1384,18 @@ declare const ApplicationValuationReportModel: mongoose.Model<{
1323
1384
  investorOnlyDemand: boolean;
1324
1385
  investorOnlyDemandDetails: string;
1325
1386
  } | null | undefined;
1326
- valuationForFinancePurpose?: {
1387
+ valuationForFinancePurposeBTL?: {
1388
+ valuationComparativeOnly: string;
1389
+ isSuitableForFinance: boolean;
1390
+ financeSuitabilityDetails: string;
1391
+ marketValuePresentCondition: number;
1392
+ marketValueAfterRepairs: number;
1393
+ purchasePriceOrBorrowerEstimate: number;
1394
+ buildingInsuranceReinstatementCost: number;
1395
+ isInsurancePremiumLoadingRisk: boolean;
1396
+ insurancePremiumLoadingDetails: string;
1397
+ } | null | undefined;
1398
+ valuationForFinancePurposeHPP?: {
1327
1399
  valuationComparativeOnly: string;
1328
1400
  isSuitableForFinance: boolean;
1329
1401
  financeSuitabilityDetails: string;
@@ -1335,7 +1407,7 @@ declare const ApplicationValuationReportModel: mongoose.Model<{
1335
1407
  insurancePremiumLoadingDetails: string;
1336
1408
  } | null | undefined;
1337
1409
  valuersDeclaration?: {
1338
- valuerSignature: number;
1410
+ valuerSignature: string;
1339
1411
  valuerName: string;
1340
1412
  onBehalfOf: string;
1341
1413
  telephone: number;
@@ -1344,7 +1416,7 @@ declare const ApplicationValuationReportModel: mongoose.Model<{
1344
1416
  ricsNumber: number;
1345
1417
  valuerAddress: string;
1346
1418
  valuerPostcode: string;
1347
- reportDate: number;
1419
+ reportDate: NativeDate;
1348
1420
  valuerQualifications?: {
1349
1421
  mrics: boolean;
1350
1422
  frics: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"application-valuation-report.model.d.ts","sourceRoot":"","sources":["../../applications/application-valuation-report.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAg0BhC,QAAA,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAsE,CAAC;AAC5G,eAAe,+BAA+B,CAAC"}
1
+ {"version":3,"file":"application-valuation-report.model.d.ts","sourceRoot":"","sources":["../../applications/application-valuation-report.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAk0BhC,QAAA,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAsE,CAAC;AAC5G,eAAe,+BAA+B,CAAC"}
@@ -719,7 +719,7 @@ const valuerQualificationsSchema = new mongoose.Schema({
719
719
  });
720
720
  const valuersDeclarationSchema = new mongoose.Schema({
721
721
  valuerSignature: {
722
- type: Number,
722
+ type: String,
723
723
  default: null
724
724
  },
725
725
  valuerName: {
@@ -756,7 +756,7 @@ const valuersDeclarationSchema = new mongoose.Schema({
756
756
  default: null
757
757
  },
758
758
  reportDate: {
759
- type: Number,
759
+ type: Date,
760
760
  default: null
761
761
  }
762
762
  });
@@ -774,6 +774,7 @@ const valuationReportSchema = new mongoose.Schema({
774
774
  applicationType: { type: String, default: "" },
775
775
  applicationNumber: { type: String, default: "" },
776
776
  applicantName: { type: String, default: "" },
777
+ dateOfInspection: { type: Date, default: null },
777
778
  propertyAddress: { type: String, default: "" },
778
779
  postCode: { type: String, default: "" },
779
780
  propertyType: propertyTypeSchema,
@@ -788,7 +789,8 @@ const valuationReportSchema = new mongoose.Schema({
788
789
  energyEfficiency: energyEfficiencySchema,
789
790
  essentialRepairs: essentialRepairsSchema,
790
791
  rentalInformation: rentalInformationSchema,
791
- valuationForFinancePurpose: valuationForFinancePurposeSchema,
792
+ valuationForFinancePurposeBTL: valuationForFinancePurposeSchema,
793
+ valuationForFinancePurposeHPP: valuationForFinancePurposeSchema,
792
794
  generalRemarks: { type: String, default: "" },
793
795
  valuersDeclaration: valuersDeclarationSchema,
794
796
  extractedText: { type: String, default: "" }
@@ -222,7 +222,7 @@ interface IValuersDeclaration {
222
222
  ricsNumber: string;
223
223
  valuerAddress: string;
224
224
  valuerPostcode: string;
225
- reportDate: string;
225
+ reportDate: Date;
226
226
  }
227
227
  export default interface IApplicationValuationReport extends IBaseType {
228
228
  applicationId: Types.ObjectId;
@@ -230,6 +230,7 @@ export default interface IApplicationValuationReport extends IBaseType {
230
230
  applicationNumber: string;
231
231
  applicantName: string;
232
232
  propertyAddress: string;
233
+ dateOfInspection: Date;
233
234
  postCode: string;
234
235
  propertyType: IPropertyType[];
235
236
  accommodation: IAccommodation[];
@@ -243,7 +244,8 @@ export default interface IApplicationValuationReport extends IBaseType {
243
244
  energyEfficiency: IEnergyEfficiency[];
244
245
  essentialRepairs: IEssentialRepairs[];
245
246
  rentalInformation: IRentalInformation[];
246
- valuationForFinancePurpose: IValuationForFinancePurpose[];
247
+ valuationForFinancePurposeBTL: IValuationForFinancePurpose[];
248
+ valuationForFinancePurposeHPP: IValuationForFinancePurpose[];
247
249
  generalRemarks: string;
248
250
  valuersDeclaration: IValuersDeclaration[];
249
251
  extractedText: string;
@@ -1 +1 @@
1
- {"version":3,"file":"application-valuation-report.type.d.ts","sourceRoot":"","sources":["../../applications/application-valuation-report.type.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,UAAU,aAAa;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,qBAAqB,EAAE,MAAM,CAAC;IAC9B,4BAA4B,EAAE,MAAM,CAAC;IACrC,yBA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"file":"application-valuation-report.type.d.ts","sourceRoot":"","sources":["../../applications/application-valuation-report.type.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,UAAU,aAAa;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,qBAAqB,EAAE,MAAM,CAAC;IAC9B,4BAA4B,EAAE,MAAM,CAAC;IACrC,yBAAyB,EAAE,MAAM,CAAC;IAClC,yBAAyB,EAAE,MAAM,CAAC;IAClC,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,eAAe,EAAE,MAAM,CAAC;IACxB,uBAAuB,EAAE,MAAM,CAAC;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,MAAM,CAAC;IACvB,wBAAwB,EAAE,MAAM,CAAC;IACjC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,uBAAuB,EAAE,MAAM,CAAC;IAChC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,uBAAuB,EAAE,MAAM,CAAC;IAChC,6BAA6B,EAAE,MAAM,CAAC;IACtC,SAAS,EAAE,MAAM,CAAC;CACrB;AAED,UAAU,cAAc;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EA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AgB,EAAE,iBAAiB,EAAE,CAAC;IACtC,QAAQ,EAAE,SAAS,EAAE,CAAC;IACtB,YAAY,EAAE,aAAa,EAAE,CAAC;IAC9B,iBAAiB,EAAE,kBAAkB,EAAE,CAAC;IACxC,QAAQ,EAAE,SAAS,EAAE,CAAC;IACtB,oBAAoB,EAAE,qBAAqB,EAAE,CAAC;IAC9C,OAAO,EAAE,QAAQ,EAAE,CAAC;IACpB,gBAAgB,EAAE,iBAAiB,EAAE,CAAC;IACtC,gBAAgB,EAAE,iBAAiB,EAAE,CAAC;IACtC,iBAAiB,EAAE,kBAAkB,EAAE,CAAC;IACxC,6BAA6B,EAAE,2BAA2B,EAAE,CAAC;IAC7D,6BAA6B,EAAE,2BAA2B,EAAE,CAAC;IAC7D,cAAc,EAAE,MAAM,CAAC;IACvB,kBAAkB,EAAE,mBAAmB,EAAE,CAAC;IAC1C,aAAa,EAAE,MAAM,CAAC;CACvB"}
@@ -0,0 +1,158 @@
1
+ import mongoose from "mongoose";
2
+ declare const DocumentModel: mongoose.Model<{
3
+ createdAt: NativeDate;
4
+ updatedAt: NativeDate;
5
+ } & {
6
+ documentId: string;
7
+ signers: any[];
8
+ applicationId?: mongoose.Types.ObjectId | null | undefined;
9
+ data?: string | null | undefined;
10
+ owningEntityId?: string | null | undefined;
11
+ documentTypeLid?: mongoose.Types.ObjectId | null | undefined;
12
+ documentTypeId?: mongoose.Types.ObjectId | null | undefined;
13
+ fileName?: string | null | undefined;
14
+ contentType?: string | null | undefined;
15
+ created?: string | null | undefined;
16
+ createdBy?: string | null | undefined;
17
+ isGenerated?: string | null | undefined;
18
+ envelopeId?: string | null | undefined;
19
+ documentType?: {
20
+ data?: any;
21
+ value?: string | null | undefined;
22
+ documentTypeId?: string | null | undefined;
23
+ displayName?: string | null | undefined;
24
+ } | null | undefined;
25
+ documentUrl?: string | null | undefined;
26
+ }, {}, {}, {}, mongoose.Document<unknown, {}, {
27
+ createdAt: NativeDate;
28
+ updatedAt: NativeDate;
29
+ } & {
30
+ documentId: string;
31
+ signers: any[];
32
+ applicationId?: mongoose.Types.ObjectId | null | undefined;
33
+ data?: string | null | undefined;
34
+ owningEntityId?: string | null | undefined;
35
+ documentTypeLid?: mongoose.Types.ObjectId | null | undefined;
36
+ documentTypeId?: mongoose.Types.ObjectId | null | undefined;
37
+ fileName?: string | null | undefined;
38
+ contentType?: string | null | undefined;
39
+ created?: string | null | undefined;
40
+ createdBy?: string | null | undefined;
41
+ isGenerated?: string | null | undefined;
42
+ envelopeId?: string | null | undefined;
43
+ documentType?: {
44
+ data?: any;
45
+ value?: string | null | undefined;
46
+ documentTypeId?: string | null | undefined;
47
+ displayName?: string | null | undefined;
48
+ } | null | undefined;
49
+ documentUrl?: string | null | undefined;
50
+ }> & {
51
+ createdAt: NativeDate;
52
+ updatedAt: NativeDate;
53
+ } & {
54
+ documentId: string;
55
+ signers: any[];
56
+ applicationId?: mongoose.Types.ObjectId | null | undefined;
57
+ data?: string | null | undefined;
58
+ owningEntityId?: string | null | undefined;
59
+ documentTypeLid?: mongoose.Types.ObjectId | null | undefined;
60
+ documentTypeId?: mongoose.Types.ObjectId | null | undefined;
61
+ fileName?: string | null | undefined;
62
+ contentType?: string | null | undefined;
63
+ created?: string | null | undefined;
64
+ createdBy?: string | null | undefined;
65
+ isGenerated?: string | null | undefined;
66
+ envelopeId?: string | null | undefined;
67
+ documentType?: {
68
+ data?: any;
69
+ value?: string | null | undefined;
70
+ documentTypeId?: string | null | undefined;
71
+ displayName?: string | null | undefined;
72
+ } | null | undefined;
73
+ documentUrl?: string | null | undefined;
74
+ } & {
75
+ _id: mongoose.Types.ObjectId;
76
+ } & {
77
+ __v: number;
78
+ }, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
79
+ timestamps: true;
80
+ }, {
81
+ createdAt: NativeDate;
82
+ updatedAt: NativeDate;
83
+ } & {
84
+ documentId: string;
85
+ signers: any[];
86
+ applicationId?: mongoose.Types.ObjectId | null | undefined;
87
+ data?: string | null | undefined;
88
+ owningEntityId?: string | null | undefined;
89
+ documentTypeLid?: mongoose.Types.ObjectId | null | undefined;
90
+ documentTypeId?: mongoose.Types.ObjectId | null | undefined;
91
+ fileName?: string | null | undefined;
92
+ contentType?: string | null | undefined;
93
+ created?: string | null | undefined;
94
+ createdBy?: string | null | undefined;
95
+ isGenerated?: string | null | undefined;
96
+ envelopeId?: string | null | undefined;
97
+ documentType?: {
98
+ data?: any;
99
+ value?: string | null | undefined;
100
+ documentTypeId?: string | null | undefined;
101
+ displayName?: string | null | undefined;
102
+ } | null | undefined;
103
+ documentUrl?: string | null | undefined;
104
+ }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
105
+ createdAt: NativeDate;
106
+ updatedAt: NativeDate;
107
+ } & {
108
+ documentId: string;
109
+ signers: any[];
110
+ applicationId?: mongoose.Types.ObjectId | null | undefined;
111
+ data?: string | null | undefined;
112
+ owningEntityId?: string | null | undefined;
113
+ documentTypeLid?: mongoose.Types.ObjectId | null | undefined;
114
+ documentTypeId?: mongoose.Types.ObjectId | null | undefined;
115
+ fileName?: string | null | undefined;
116
+ contentType?: string | null | undefined;
117
+ created?: string | null | undefined;
118
+ createdBy?: string | null | undefined;
119
+ isGenerated?: string | null | undefined;
120
+ envelopeId?: string | null | undefined;
121
+ documentType?: {
122
+ data?: any;
123
+ value?: string | null | undefined;
124
+ documentTypeId?: string | null | undefined;
125
+ displayName?: string | null | undefined;
126
+ } | null | undefined;
127
+ documentUrl?: string | null | undefined;
128
+ }>> & mongoose.FlatRecord<{
129
+ createdAt: NativeDate;
130
+ updatedAt: NativeDate;
131
+ } & {
132
+ documentId: string;
133
+ signers: any[];
134
+ applicationId?: mongoose.Types.ObjectId | null | undefined;
135
+ data?: string | null | undefined;
136
+ owningEntityId?: string | null | undefined;
137
+ documentTypeLid?: mongoose.Types.ObjectId | null | undefined;
138
+ documentTypeId?: mongoose.Types.ObjectId | null | undefined;
139
+ fileName?: string | null | undefined;
140
+ contentType?: string | null | undefined;
141
+ created?: string | null | undefined;
142
+ createdBy?: string | null | undefined;
143
+ isGenerated?: string | null | undefined;
144
+ envelopeId?: string | null | undefined;
145
+ documentType?: {
146
+ data?: any;
147
+ value?: string | null | undefined;
148
+ documentTypeId?: string | null | undefined;
149
+ displayName?: string | null | undefined;
150
+ } | null | undefined;
151
+ documentUrl?: string | null | undefined;
152
+ }> & {
153
+ _id: mongoose.Types.ObjectId;
154
+ } & {
155
+ __v: number;
156
+ }>>;
157
+ export default DocumentModel;
158
+ //# sourceMappingURL=document.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"document.model.d.ts","sourceRoot":"","sources":["../../applications/document.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAoChC,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA6C,CAAC;AACjE,eAAe,aAAa,CAAC"}