@dynamatix/gb-schemas 1.3.364 → 1.3.366

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.
@@ -34,7 +34,6 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
34
34
  applicantDob: string;
35
35
  requestDate: string;
36
36
  expiredDate: string;
37
- noticeofCorrection: any;
38
37
  creditDefaults: string;
39
38
  countyCourtJudgment: string;
40
39
  securedArrears: string;
@@ -497,6 +496,25 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
497
496
  currency: string;
498
497
  } | null | undefined;
499
498
  }>;
499
+ electoralInformation: mongoose.Types.DocumentArray<{
500
+ name: string;
501
+ startDate: string;
502
+ endDate: string;
503
+ nameMatchStatus: string;
504
+ seniority: string;
505
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
506
+ name: string;
507
+ startDate: string;
508
+ endDate: string;
509
+ nameMatchStatus: string;
510
+ seniority: string;
511
+ }> & {
512
+ name: string;
513
+ startDate: string;
514
+ endDate: string;
515
+ nameMatchStatus: string;
516
+ seniority: string;
517
+ }>;
500
518
  electoralLinkedInformations: mongoose.Types.DocumentArray<{
501
519
  name: string;
502
520
  startDate: string;
@@ -603,13 +621,31 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
603
621
  searchDate: string;
604
622
  optIn: boolean;
605
623
  }>;
606
- electoralInformation?: {
607
- name: string;
608
- startDate: string;
609
- endDate: string;
610
- nameMatchStatus: string;
611
- seniority: string;
612
- } | null | undefined;
624
+ noticeofCorrection: mongoose.Types.DocumentArray<{
625
+ type: "active" | "historical";
626
+ noc?: {
627
+ text: string;
628
+ name: string;
629
+ nameMatchStatus: string;
630
+ dataNoticeCreated: string;
631
+ } | null | undefined;
632
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
633
+ type: "active" | "historical";
634
+ noc?: {
635
+ text: string;
636
+ name: string;
637
+ nameMatchStatus: string;
638
+ dataNoticeCreated: string;
639
+ } | null | undefined;
640
+ }> & {
641
+ type: "active" | "historical";
642
+ noc?: {
643
+ text: string;
644
+ name: string;
645
+ nameMatchStatus: string;
646
+ dataNoticeCreated: string;
647
+ } | null | undefined;
648
+ }>;
613
649
  }, {}, {}, {}, mongoose.Document<unknown, {}, {
614
650
  applicantId: mongoose.Types.ObjectId;
615
651
  applicantName: string;
@@ -617,7 +653,6 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
617
653
  applicantDob: string;
618
654
  requestDate: string;
619
655
  expiredDate: string;
620
- noticeofCorrection: any;
621
656
  creditDefaults: string;
622
657
  countyCourtJudgment: string;
623
658
  securedArrears: string;
@@ -1080,6 +1115,25 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
1080
1115
  currency: string;
1081
1116
  } | null | undefined;
1082
1117
  }>;
1118
+ electoralInformation: mongoose.Types.DocumentArray<{
1119
+ name: string;
1120
+ startDate: string;
1121
+ endDate: string;
1122
+ nameMatchStatus: string;
1123
+ seniority: string;
1124
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1125
+ name: string;
1126
+ startDate: string;
1127
+ endDate: string;
1128
+ nameMatchStatus: string;
1129
+ seniority: string;
1130
+ }> & {
1131
+ name: string;
1132
+ startDate: string;
1133
+ endDate: string;
1134
+ nameMatchStatus: string;
1135
+ seniority: string;
1136
+ }>;
1083
1137
  electoralLinkedInformations: mongoose.Types.DocumentArray<{
1084
1138
  name: string;
1085
1139
  startDate: string;
@@ -1186,13 +1240,31 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
1186
1240
  searchDate: string;
1187
1241
  optIn: boolean;
1188
1242
  }>;
1189
- electoralInformation?: {
1190
- name: string;
1191
- startDate: string;
1192
- endDate: string;
1193
- nameMatchStatus: string;
1194
- seniority: string;
1195
- } | null | undefined;
1243
+ noticeofCorrection: mongoose.Types.DocumentArray<{
1244
+ type: "active" | "historical";
1245
+ noc?: {
1246
+ text: string;
1247
+ name: string;
1248
+ nameMatchStatus: string;
1249
+ dataNoticeCreated: string;
1250
+ } | null | undefined;
1251
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1252
+ type: "active" | "historical";
1253
+ noc?: {
1254
+ text: string;
1255
+ name: string;
1256
+ nameMatchStatus: string;
1257
+ dataNoticeCreated: string;
1258
+ } | null | undefined;
1259
+ }> & {
1260
+ type: "active" | "historical";
1261
+ noc?: {
1262
+ text: string;
1263
+ name: string;
1264
+ nameMatchStatus: string;
1265
+ dataNoticeCreated: string;
1266
+ } | null | undefined;
1267
+ }>;
1196
1268
  }, {}> & {
1197
1269
  applicantId: mongoose.Types.ObjectId;
1198
1270
  applicantName: string;
@@ -1200,7 +1272,6 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
1200
1272
  applicantDob: string;
1201
1273
  requestDate: string;
1202
1274
  expiredDate: string;
1203
- noticeofCorrection: any;
1204
1275
  creditDefaults: string;
1205
1276
  countyCourtJudgment: string;
1206
1277
  securedArrears: string;
@@ -1663,6 +1734,25 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
1663
1734
  currency: string;
1664
1735
  } | null | undefined;
1665
1736
  }>;
1737
+ electoralInformation: mongoose.Types.DocumentArray<{
1738
+ name: string;
1739
+ startDate: string;
1740
+ endDate: string;
1741
+ nameMatchStatus: string;
1742
+ seniority: string;
1743
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1744
+ name: string;
1745
+ startDate: string;
1746
+ endDate: string;
1747
+ nameMatchStatus: string;
1748
+ seniority: string;
1749
+ }> & {
1750
+ name: string;
1751
+ startDate: string;
1752
+ endDate: string;
1753
+ nameMatchStatus: string;
1754
+ seniority: string;
1755
+ }>;
1666
1756
  electoralLinkedInformations: mongoose.Types.DocumentArray<{
1667
1757
  name: string;
1668
1758
  startDate: string;
@@ -1769,13 +1859,31 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
1769
1859
  searchDate: string;
1770
1860
  optIn: boolean;
1771
1861
  }>;
1772
- electoralInformation?: {
1773
- name: string;
1774
- startDate: string;
1775
- endDate: string;
1776
- nameMatchStatus: string;
1777
- seniority: string;
1778
- } | null | undefined;
1862
+ noticeofCorrection: mongoose.Types.DocumentArray<{
1863
+ type: "active" | "historical";
1864
+ noc?: {
1865
+ text: string;
1866
+ name: string;
1867
+ nameMatchStatus: string;
1868
+ dataNoticeCreated: string;
1869
+ } | null | undefined;
1870
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
1871
+ type: "active" | "historical";
1872
+ noc?: {
1873
+ text: string;
1874
+ name: string;
1875
+ nameMatchStatus: string;
1876
+ dataNoticeCreated: string;
1877
+ } | null | undefined;
1878
+ }> & {
1879
+ type: "active" | "historical";
1880
+ noc?: {
1881
+ text: string;
1882
+ name: string;
1883
+ nameMatchStatus: string;
1884
+ dataNoticeCreated: string;
1885
+ } | null | undefined;
1886
+ }>;
1779
1887
  } & {
1780
1888
  _id: mongoose.Types.ObjectId;
1781
1889
  } & {
@@ -1787,7 +1895,6 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
1787
1895
  applicantDob: string;
1788
1896
  requestDate: string;
1789
1897
  expiredDate: string;
1790
- noticeofCorrection: any;
1791
1898
  creditDefaults: string;
1792
1899
  countyCourtJudgment: string;
1793
1900
  securedArrears: string;
@@ -2250,6 +2357,25 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
2250
2357
  currency: string;
2251
2358
  } | null | undefined;
2252
2359
  }>;
2360
+ electoralInformation: mongoose.Types.DocumentArray<{
2361
+ name: string;
2362
+ startDate: string;
2363
+ endDate: string;
2364
+ nameMatchStatus: string;
2365
+ seniority: string;
2366
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
2367
+ name: string;
2368
+ startDate: string;
2369
+ endDate: string;
2370
+ nameMatchStatus: string;
2371
+ seniority: string;
2372
+ }> & {
2373
+ name: string;
2374
+ startDate: string;
2375
+ endDate: string;
2376
+ nameMatchStatus: string;
2377
+ seniority: string;
2378
+ }>;
2253
2379
  electoralLinkedInformations: mongoose.Types.DocumentArray<{
2254
2380
  name: string;
2255
2381
  startDate: string;
@@ -2356,13 +2482,31 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
2356
2482
  searchDate: string;
2357
2483
  optIn: boolean;
2358
2484
  }>;
2359
- electoralInformation?: {
2360
- name: string;
2361
- startDate: string;
2362
- endDate: string;
2363
- nameMatchStatus: string;
2364
- seniority: string;
2365
- } | null | undefined;
2485
+ noticeofCorrection: mongoose.Types.DocumentArray<{
2486
+ type: "active" | "historical";
2487
+ noc?: {
2488
+ text: string;
2489
+ name: string;
2490
+ nameMatchStatus: string;
2491
+ dataNoticeCreated: string;
2492
+ } | null | undefined;
2493
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
2494
+ type: "active" | "historical";
2495
+ noc?: {
2496
+ text: string;
2497
+ name: string;
2498
+ nameMatchStatus: string;
2499
+ dataNoticeCreated: string;
2500
+ } | null | undefined;
2501
+ }> & {
2502
+ type: "active" | "historical";
2503
+ noc?: {
2504
+ text: string;
2505
+ name: string;
2506
+ nameMatchStatus: string;
2507
+ dataNoticeCreated: string;
2508
+ } | null | undefined;
2509
+ }>;
2366
2510
  }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
2367
2511
  applicantId: mongoose.Types.ObjectId;
2368
2512
  applicantName: string;
@@ -2370,7 +2514,6 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
2370
2514
  applicantDob: string;
2371
2515
  requestDate: string;
2372
2516
  expiredDate: string;
2373
- noticeofCorrection: any;
2374
2517
  creditDefaults: string;
2375
2518
  countyCourtJudgment: string;
2376
2519
  securedArrears: string;
@@ -2833,6 +2976,25 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
2833
2976
  currency: string;
2834
2977
  } | null | undefined;
2835
2978
  }>;
2979
+ electoralInformation: mongoose.Types.DocumentArray<{
2980
+ name: string;
2981
+ startDate: string;
2982
+ endDate: string;
2983
+ nameMatchStatus: string;
2984
+ seniority: string;
2985
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
2986
+ name: string;
2987
+ startDate: string;
2988
+ endDate: string;
2989
+ nameMatchStatus: string;
2990
+ seniority: string;
2991
+ }> & {
2992
+ name: string;
2993
+ startDate: string;
2994
+ endDate: string;
2995
+ nameMatchStatus: string;
2996
+ seniority: string;
2997
+ }>;
2836
2998
  electoralLinkedInformations: mongoose.Types.DocumentArray<{
2837
2999
  name: string;
2838
3000
  startDate: string;
@@ -2939,13 +3101,31 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
2939
3101
  searchDate: string;
2940
3102
  optIn: boolean;
2941
3103
  }>;
2942
- electoralInformation?: {
2943
- name: string;
2944
- startDate: string;
2945
- endDate: string;
2946
- nameMatchStatus: string;
2947
- seniority: string;
2948
- } | null | undefined;
3104
+ noticeofCorrection: mongoose.Types.DocumentArray<{
3105
+ type: "active" | "historical";
3106
+ noc?: {
3107
+ text: string;
3108
+ name: string;
3109
+ nameMatchStatus: string;
3110
+ dataNoticeCreated: string;
3111
+ } | null | undefined;
3112
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
3113
+ type: "active" | "historical";
3114
+ noc?: {
3115
+ text: string;
3116
+ name: string;
3117
+ nameMatchStatus: string;
3118
+ dataNoticeCreated: string;
3119
+ } | null | undefined;
3120
+ }> & {
3121
+ type: "active" | "historical";
3122
+ noc?: {
3123
+ text: string;
3124
+ name: string;
3125
+ nameMatchStatus: string;
3126
+ dataNoticeCreated: string;
3127
+ } | null | undefined;
3128
+ }>;
2949
3129
  }>, {}> & mongoose.FlatRecord<{
2950
3130
  applicantId: mongoose.Types.ObjectId;
2951
3131
  applicantName: string;
@@ -2953,7 +3133,6 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
2953
3133
  applicantDob: string;
2954
3134
  requestDate: string;
2955
3135
  expiredDate: string;
2956
- noticeofCorrection: any;
2957
3136
  creditDefaults: string;
2958
3137
  countyCourtJudgment: string;
2959
3138
  securedArrears: string;
@@ -3416,6 +3595,25 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
3416
3595
  currency: string;
3417
3596
  } | null | undefined;
3418
3597
  }>;
3598
+ electoralInformation: mongoose.Types.DocumentArray<{
3599
+ name: string;
3600
+ startDate: string;
3601
+ endDate: string;
3602
+ nameMatchStatus: string;
3603
+ seniority: string;
3604
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
3605
+ name: string;
3606
+ startDate: string;
3607
+ endDate: string;
3608
+ nameMatchStatus: string;
3609
+ seniority: string;
3610
+ }> & {
3611
+ name: string;
3612
+ startDate: string;
3613
+ endDate: string;
3614
+ nameMatchStatus: string;
3615
+ seniority: string;
3616
+ }>;
3419
3617
  electoralLinkedInformations: mongoose.Types.DocumentArray<{
3420
3618
  name: string;
3421
3619
  startDate: string;
@@ -3522,13 +3720,31 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
3522
3720
  searchDate: string;
3523
3721
  optIn: boolean;
3524
3722
  }>;
3525
- electoralInformation?: {
3526
- name: string;
3527
- startDate: string;
3528
- endDate: string;
3529
- nameMatchStatus: string;
3530
- seniority: string;
3531
- } | null | undefined;
3723
+ noticeofCorrection: mongoose.Types.DocumentArray<{
3724
+ type: "active" | "historical";
3725
+ noc?: {
3726
+ text: string;
3727
+ name: string;
3728
+ nameMatchStatus: string;
3729
+ dataNoticeCreated: string;
3730
+ } | null | undefined;
3731
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
3732
+ type: "active" | "historical";
3733
+ noc?: {
3734
+ text: string;
3735
+ name: string;
3736
+ nameMatchStatus: string;
3737
+ dataNoticeCreated: string;
3738
+ } | null | undefined;
3739
+ }> & {
3740
+ type: "active" | "historical";
3741
+ noc?: {
3742
+ text: string;
3743
+ name: string;
3744
+ nameMatchStatus: string;
3745
+ dataNoticeCreated: string;
3746
+ } | null | undefined;
3747
+ }>;
3532
3748
  }> & {
3533
3749
  _id: mongoose.Types.ObjectId;
3534
3750
  } & {
@@ -1 +1 @@
1
- {"version":3,"file":"applic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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAuE,CAAC;AACxG,eAAe,0BAA0B,CAAC"}
@@ -74,6 +74,15 @@ const previousSearchesSchema = new Schema({
74
74
  searchDate: { type: String, default: "" },
75
75
  optIn: { type: Boolean, default: false },
76
76
  }, { _id: false });
77
+ const noticeofCorrectionSchema = new Schema({
78
+ type: { type: String, enum: ["active", "historical"], default: "" }, // deduced from linkType
79
+ noc: {
80
+ name: { type: String, default: "" },
81
+ nameMatchStatus: { type: String, default: "" },
82
+ dataNoticeCreated: { type: String, default: "" },
83
+ text: { type: String, default: "" },
84
+ }
85
+ }, { _id: false });
77
86
  const applicantCreditReportSchema = new Schema({
78
87
  applicantId: { type: mongoose.Schema.Types.ObjectId, ref: "Applicant", required: true },
79
88
  referenceNumber: { type: String, default: "" },
@@ -81,7 +90,6 @@ const applicantCreditReportSchema = new Schema({
81
90
  applicantName: { type: String, required: true }, // concat of forename + ' ' + surname
82
91
  requestDate: { type: String, default: "" },
83
92
  expiredDate: { type: String, default: "" },
84
- noticeofCorrection: { type: mongoose.Schema.Types.Mixed, default: null },
85
93
  // Credit profile fields for credit report
86
94
  creditDefaults: { type: String, default: "" },
87
95
  countyCourtJudgment: { type: String, default: "" },
@@ -95,11 +103,12 @@ const applicantCreditReportSchema = new Schema({
95
103
  suppliedAddressData: [addressSpecificData],
96
104
  accountInformation: [addressSpecificData],
97
105
  accountLinkedInformations: [addressSpecificData],
98
- electoralInformation: electoralInformationSchema,
106
+ electoralInformation: [electoralInformationSchema],
99
107
  electoralLinkedInformations: [electoralInformationSchema],
100
108
  linkedAddresses: [linkedAddressSchema],
101
109
  currentAddresses: [currentAddressData],
102
110
  previousSearches: [previousSearchesSchema],
111
+ noticeofCorrection: [noticeofCorrectionSchema],
103
112
  });
104
113
  // Apply workflow plugin to the schema
105
114
  applyWorkflowPlugin(applicantCreditReportSchema, 'applicantcreditreport');
@@ -101,6 +101,15 @@ interface IPreviousSearches {
101
101
  searchDate: string;
102
102
  optIn: boolean;
103
103
  }
104
+ interface INoticeOfCorrection {
105
+ type: "active" | "historical";
106
+ noc: {
107
+ name: string;
108
+ nameMatchStatus: string;
109
+ dataNoticeCreated: string;
110
+ text: string;
111
+ };
112
+ }
104
113
  export default interface IApplicantCreditReport extends IBaseType {
105
114
  applicantId: Types.ObjectId;
106
115
  referenceNumber: string;
@@ -108,7 +117,6 @@ export default interface IApplicantCreditReport extends IBaseType {
108
117
  applicantName: string;
109
118
  requestDate: string;
110
119
  expiredDate: string;
111
- noticeofCorrection: any;
112
120
  creditDefaults: string;
113
121
  countyCourtJudgment: string;
114
122
  securedArrears: string;
@@ -121,11 +129,12 @@ export default interface IApplicantCreditReport extends IBaseType {
121
129
  suppliedAddressData: IAddressSpecificData[];
122
130
  accountInformation: IAddressSpecificData[];
123
131
  accountLinkedInformations: IAddressSpecificData[];
124
- electoralInformation: IElectoralInformation;
132
+ electoralInformation: IElectoralInformation[];
125
133
  electoralLinkedInformations: IElectoralInformation[];
126
134
  linkedAddresses: ILinkedAddress[];
127
135
  currentAddresses: ICurrentAddress[];
128
136
  previousSearches: IPreviousSearches[];
137
+ noticeofCorrection: INoticeOfCorrection[];
129
138
  }
130
139
  export {};
131
140
  //# sourceMappingURL=applicant-credit-report.type.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"applicant-credit-report.type.d.ts","sourceRoot":"","sources":["../../applicants/applicant-credit-report.type.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,UAAU,mBAAmB;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;CACzB;AAED,UAAU,eAAe;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,UAAU,oBAAoB;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,eAAe,CAAC;IAC9B,iBAAiB,EAAE,eAAe,CAAC;IACnC,cAAc,EAAE,eAAe,CAAC;IAChC,iBAAiB,EAAE,eAAe,CAAC;IACnC,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,mBAAmB,EAAE,CAAC;CACzC;AAED,UAAU,UAAU;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,GAAG,EAAE,MAAM,CAAC;CACf;AAED,UAAU,UAAU;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,GAAG,EAAE,MAAM,CAAC;CACf;AAED,UAAU,qBAAqB;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,SA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IACzB,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,GAAG,CAAC;IACf,UAAU,EAAE,UAAU,EAAE,CAAC;IACzB,UAAU,EAAE,UAAU,EAAE,CAAC;IACzB,iBAAiB,EAAE,oBAAoB,EAAE,CAAC;IAC1C,mBAAmB,EAAE,oBAAoB,EAAE,CAAC;IAC5C,kBAAkB,EAAE,oBAAoB,EAAE,CAAC;IAC3C,yBAAyB,EAAE,oBAAoB,EAAE,CAAC;IAClD,oBAAoB,EAAE,qBAAqB,CAAC;IAC5C,2BAA2B,EAAE,qBAAqB,EAAE,CAAC;IACrD,eAAe,EAAE,cAAc,EAAE,CAAC;IAClC,gBAAgB,EAAE,eAAe,EAAE,CAAC;IACpC,gBAAgB,EAAE,iBAAiB,EAAE,CAAC;CACzC"}
1
+ {"version":3,"file":"applicant-credit-report.type.d.ts","sourceRoot":"","sources":["../../applicants/applicant-credit-report.type.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,UAAU,mBAAmB;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;CACzB;AAED,UAAU,eAAe;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,UAAU,oBAAoB;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,eAAe,CAAC;IAC9B,iBAAiB,EAAE,eAAe,CAAC;IACnC,cAAc,EAAE,eAAe,CAAC;IAChC,iBAAiB,EAAE,eAAe,CAAC;IACnC,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,EAA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"}
@@ -70,6 +70,7 @@ declare const ApplicationModel: mongoose.Model<{
70
70
  pendingTaskCountForUser: number;
71
71
  applicationFormSignedDate: NativeDate;
72
72
  isUkResident: boolean;
73
+ creditReportId: string;
73
74
  selectedProduct?: string | null | undefined;
74
75
  product?: string | null | undefined;
75
76
  riskRating?: string | null | undefined;
@@ -135,6 +136,7 @@ declare const ApplicationModel: mongoose.Model<{
135
136
  pendingTaskCountForUser: number;
136
137
  applicationFormSignedDate: NativeDate;
137
138
  isUkResident: boolean;
139
+ creditReportId: string;
138
140
  selectedProduct?: string | null | undefined;
139
141
  product?: string | null | undefined;
140
142
  riskRating?: string | null | undefined;
@@ -200,6 +202,7 @@ declare const ApplicationModel: mongoose.Model<{
200
202
  pendingTaskCountForUser: number;
201
203
  applicationFormSignedDate: NativeDate;
202
204
  isUkResident: boolean;
205
+ creditReportId: string;
203
206
  selectedProduct?: string | null | undefined;
204
207
  product?: string | null | undefined;
205
208
  riskRating?: string | null | undefined;
@@ -277,6 +280,7 @@ declare const ApplicationModel: mongoose.Model<{
277
280
  pendingTaskCountForUser: number;
278
281
  applicationFormSignedDate: NativeDate;
279
282
  isUkResident: boolean;
283
+ creditReportId: string;
280
284
  selectedProduct?: string | null | undefined;
281
285
  product?: string | null | undefined;
282
286
  riskRating?: string | null | undefined;
@@ -342,6 +346,7 @@ declare const ApplicationModel: mongoose.Model<{
342
346
  pendingTaskCountForUser: number;
343
347
  applicationFormSignedDate: NativeDate;
344
348
  isUkResident: boolean;
349
+ creditReportId: string;
345
350
  selectedProduct?: string | null | undefined;
346
351
  product?: string | null | undefined;
347
352
  riskRating?: string | null | undefined;
@@ -407,6 +412,7 @@ declare const ApplicationModel: mongoose.Model<{
407
412
  pendingTaskCountForUser: number;
408
413
  applicationFormSignedDate: NativeDate;
409
414
  isUkResident: boolean;
415
+ creditReportId: string;
410
416
  selectedProduct?: string | null | undefined;
411
417
  product?: string | null | undefined;
412
418
  riskRating?: string | null | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"application.model.d.ts","sourceRoot":"","sources":["../../applications/application.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AA+NhC,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAmD,CAAC;AAC1E,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"application.model.d.ts","sourceRoot":"","sources":["../../applications/application.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAgOhC,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAmD,CAAC;AAC1E,eAAe,gBAAgB,CAAC"}
@@ -74,7 +74,8 @@ const applicationSchema = new mongoose.Schema({
74
74
  isUkResident: {
75
75
  type: Boolean,
76
76
  default: false
77
- }
77
+ },
78
+ creditReportId: { type: String, default: null },
78
79
  }, {
79
80
  timestamps: true,
80
81
  toJSON: { virtuals: true },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/gb-schemas",
3
- "version": "1.3.364",
3
+ "version": "1.3.366",
4
4
  "description": "All the schemas for gatehouse bank back-end",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",