@dynamatix/gb-schemas 2.20.2 → 2.20.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +308 -308
- package/dist/applicants/applicant-credit-report.model.d.ts +18 -18
- package/dist/applicants/applicant-welcome-call.model.js +9 -9
- package/dist/applications/index.d.ts +0 -2
- package/dist/applications/index.d.ts.map +1 -1
- package/dist/applications/index.js +0 -1
- package/dist/shared/encryption/encryption.plugin.d.ts +4 -0
- package/dist/shared/encryption/encryption.plugin.d.ts.map +1 -1
- package/dist/shared/encryption/encryption.plugin.js +7 -0
- package/package.json +90 -90
- package/dist/applicants/applicant-direct-debit.model.d.ts +0 -86
- package/dist/applicants/applicant-direct-debit.model.d.ts.map +0 -1
- package/dist/applicants/applicant-income-source.model.d.ts +0 -26
- package/dist/applicants/applicant-income-source.model.d.ts.map +0 -1
- package/dist/applicants/applicant-income.model.d.ts +0 -160
- package/dist/applicants/applicant-income.model.d.ts.map +0 -1
- package/dist/applicants/applicant-other-income.model.d.ts +0 -85
- package/dist/applicants/applicant-other-income.model.d.ts.map +0 -1
- package/dist/applications/application-document.model.d.ts +0 -158
- package/dist/applications/application-document.model.d.ts.map +0 -1
- package/dist/applications/document.model.d.ts +0 -158
- package/dist/applications/document.model.d.ts.map +0 -1
- package/dist/applications/euc-country-tier.model.d.ts +0 -65
- package/dist/applications/euc-country-tier.model.d.ts.map +0 -1
- package/dist/applications/euc-country-tier.model.js +0 -24
- package/dist/applications/euc-country-tier.type.d.ts +0 -7
- package/dist/applications/euc-country-tier.type.d.ts.map +0 -1
- package/dist/applications/euc-country-tier.type.js +0 -1
- package/dist/applications/productfeatures.model.d.ts +0 -368
- package/dist/applications/productfeatures.model.d.ts.map +0 -1
- package/dist/shared/document-type-model.d.ts +0 -48
- package/dist/shared/document-type-model.d.ts.map +0 -1
|
@@ -578,8 +578,8 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
|
|
|
578
578
|
number: string;
|
|
579
579
|
name: string;
|
|
580
580
|
postcode: string;
|
|
581
|
-
country: string;
|
|
582
581
|
postTown: string;
|
|
582
|
+
country: string;
|
|
583
583
|
street1: string;
|
|
584
584
|
} | null | undefined;
|
|
585
585
|
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
@@ -587,8 +587,8 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
|
|
|
587
587
|
number: string;
|
|
588
588
|
name: string;
|
|
589
589
|
postcode: string;
|
|
590
|
-
country: string;
|
|
591
590
|
postTown: string;
|
|
591
|
+
country: string;
|
|
592
592
|
street1: string;
|
|
593
593
|
} | null | undefined;
|
|
594
594
|
}> & {
|
|
@@ -596,8 +596,8 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
|
|
|
596
596
|
number: string;
|
|
597
597
|
name: string;
|
|
598
598
|
postcode: string;
|
|
599
|
-
country: string;
|
|
600
599
|
postTown: string;
|
|
600
|
+
country: string;
|
|
601
601
|
street1: string;
|
|
602
602
|
} | null | undefined;
|
|
603
603
|
}>;
|
|
@@ -1207,8 +1207,8 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
|
|
|
1207
1207
|
number: string;
|
|
1208
1208
|
name: string;
|
|
1209
1209
|
postcode: string;
|
|
1210
|
-
country: string;
|
|
1211
1210
|
postTown: string;
|
|
1211
|
+
country: string;
|
|
1212
1212
|
street1: string;
|
|
1213
1213
|
} | null | undefined;
|
|
1214
1214
|
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
@@ -1216,8 +1216,8 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
|
|
|
1216
1216
|
number: string;
|
|
1217
1217
|
name: string;
|
|
1218
1218
|
postcode: string;
|
|
1219
|
-
country: string;
|
|
1220
1219
|
postTown: string;
|
|
1220
|
+
country: string;
|
|
1221
1221
|
street1: string;
|
|
1222
1222
|
} | null | undefined;
|
|
1223
1223
|
}> & {
|
|
@@ -1225,8 +1225,8 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
|
|
|
1225
1225
|
number: string;
|
|
1226
1226
|
name: string;
|
|
1227
1227
|
postcode: string;
|
|
1228
|
-
country: string;
|
|
1229
1228
|
postTown: string;
|
|
1229
|
+
country: string;
|
|
1230
1230
|
street1: string;
|
|
1231
1231
|
} | null | undefined;
|
|
1232
1232
|
}>;
|
|
@@ -1836,8 +1836,8 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
|
|
|
1836
1836
|
number: string;
|
|
1837
1837
|
name: string;
|
|
1838
1838
|
postcode: string;
|
|
1839
|
-
country: string;
|
|
1840
1839
|
postTown: string;
|
|
1840
|
+
country: string;
|
|
1841
1841
|
street1: string;
|
|
1842
1842
|
} | null | undefined;
|
|
1843
1843
|
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
@@ -1845,8 +1845,8 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
|
|
|
1845
1845
|
number: string;
|
|
1846
1846
|
name: string;
|
|
1847
1847
|
postcode: string;
|
|
1848
|
-
country: string;
|
|
1849
1848
|
postTown: string;
|
|
1849
|
+
country: string;
|
|
1850
1850
|
street1: string;
|
|
1851
1851
|
} | null | undefined;
|
|
1852
1852
|
}> & {
|
|
@@ -1854,8 +1854,8 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
|
|
|
1854
1854
|
number: string;
|
|
1855
1855
|
name: string;
|
|
1856
1856
|
postcode: string;
|
|
1857
|
-
country: string;
|
|
1858
1857
|
postTown: string;
|
|
1858
|
+
country: string;
|
|
1859
1859
|
street1: string;
|
|
1860
1860
|
} | null | undefined;
|
|
1861
1861
|
}>;
|
|
@@ -2471,8 +2471,8 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
|
|
|
2471
2471
|
number: string;
|
|
2472
2472
|
name: string;
|
|
2473
2473
|
postcode: string;
|
|
2474
|
-
country: string;
|
|
2475
2474
|
postTown: string;
|
|
2475
|
+
country: string;
|
|
2476
2476
|
street1: string;
|
|
2477
2477
|
} | null | undefined;
|
|
2478
2478
|
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
@@ -2480,8 +2480,8 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
|
|
|
2480
2480
|
number: string;
|
|
2481
2481
|
name: string;
|
|
2482
2482
|
postcode: string;
|
|
2483
|
-
country: string;
|
|
2484
2483
|
postTown: string;
|
|
2484
|
+
country: string;
|
|
2485
2485
|
street1: string;
|
|
2486
2486
|
} | null | undefined;
|
|
2487
2487
|
}> & {
|
|
@@ -2489,8 +2489,8 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
|
|
|
2489
2489
|
number: string;
|
|
2490
2490
|
name: string;
|
|
2491
2491
|
postcode: string;
|
|
2492
|
-
country: string;
|
|
2493
2492
|
postTown: string;
|
|
2493
|
+
country: string;
|
|
2494
2494
|
street1: string;
|
|
2495
2495
|
} | null | undefined;
|
|
2496
2496
|
}>;
|
|
@@ -3100,8 +3100,8 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
|
|
|
3100
3100
|
number: string;
|
|
3101
3101
|
name: string;
|
|
3102
3102
|
postcode: string;
|
|
3103
|
-
country: string;
|
|
3104
3103
|
postTown: string;
|
|
3104
|
+
country: string;
|
|
3105
3105
|
street1: string;
|
|
3106
3106
|
} | null | undefined;
|
|
3107
3107
|
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
@@ -3109,8 +3109,8 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
|
|
|
3109
3109
|
number: string;
|
|
3110
3110
|
name: string;
|
|
3111
3111
|
postcode: string;
|
|
3112
|
-
country: string;
|
|
3113
3112
|
postTown: string;
|
|
3113
|
+
country: string;
|
|
3114
3114
|
street1: string;
|
|
3115
3115
|
} | null | undefined;
|
|
3116
3116
|
}> & {
|
|
@@ -3118,8 +3118,8 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
|
|
|
3118
3118
|
number: string;
|
|
3119
3119
|
name: string;
|
|
3120
3120
|
postcode: string;
|
|
3121
|
-
country: string;
|
|
3122
3121
|
postTown: string;
|
|
3122
|
+
country: string;
|
|
3123
3123
|
street1: string;
|
|
3124
3124
|
} | null | undefined;
|
|
3125
3125
|
}>;
|
|
@@ -3729,8 +3729,8 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
|
|
|
3729
3729
|
number: string;
|
|
3730
3730
|
name: string;
|
|
3731
3731
|
postcode: string;
|
|
3732
|
-
country: string;
|
|
3733
3732
|
postTown: string;
|
|
3733
|
+
country: string;
|
|
3734
3734
|
street1: string;
|
|
3735
3735
|
} | null | undefined;
|
|
3736
3736
|
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
@@ -3738,8 +3738,8 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
|
|
|
3738
3738
|
number: string;
|
|
3739
3739
|
name: string;
|
|
3740
3740
|
postcode: string;
|
|
3741
|
-
country: string;
|
|
3742
3741
|
postTown: string;
|
|
3742
|
+
country: string;
|
|
3743
3743
|
street1: string;
|
|
3744
3744
|
} | null | undefined;
|
|
3745
3745
|
}> & {
|
|
@@ -3747,8 +3747,8 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
|
|
|
3747
3747
|
number: string;
|
|
3748
3748
|
name: string;
|
|
3749
3749
|
postcode: string;
|
|
3750
|
-
country: string;
|
|
3751
3750
|
postTown: string;
|
|
3751
|
+
country: string;
|
|
3752
3752
|
street1: string;
|
|
3753
3753
|
} | null | undefined;
|
|
3754
3754
|
}>;
|
|
@@ -403,10 +403,10 @@ welcomeCallSchema.virtual('otherApplicantsNameAndDOB').get(function () {
|
|
|
403
403
|
const isLast = index === otherApplicants.length - 1;
|
|
404
404
|
const comma = isLast ? '' : ',';
|
|
405
405
|
// Format as an HTML line (with bold labels and inline values)
|
|
406
|
-
return `
|
|
407
|
-
<div class="applicant-line">
|
|
408
|
-
<span class="readonly-data">${fullFirstName}, ${lastName}, ${formattedDOB}${comma}</span>
|
|
409
|
-
</div>
|
|
406
|
+
return `
|
|
407
|
+
<div class="applicant-line">
|
|
408
|
+
<span class="readonly-data">${fullFirstName}, ${lastName}, ${formattedDOB}${comma}</span>
|
|
409
|
+
</div>
|
|
410
410
|
`;
|
|
411
411
|
}).filter((line) => line && line.trim() !== '');
|
|
412
412
|
// Join all applicants as HTML (no \n needed)
|
|
@@ -686,14 +686,14 @@ welcomeCallSchema.virtual('financeSummaryHtml').get(async function () {
|
|
|
686
686
|
application.lendingTypeLid.name === 'BTL';
|
|
687
687
|
const monthlyRepaymentClass = isBTL ? 'mb-2' : '';
|
|
688
688
|
// Create HTML content
|
|
689
|
-
let summaryContent = `
|
|
690
|
-
<div class="flex align-items-center mb-2"><p class="text-bold m-0 readonly-data">Product:</p> <span class="readonly-data ml-2">${product}</span></div>
|
|
691
|
-
<div class="flex align-items-center mb-2"><p class="text-bold m-0 readonly-data">Finance Term:</p> <span class="readonly-data ml-2">${financeTerm}</span></div>
|
|
689
|
+
let summaryContent = `
|
|
690
|
+
<div class="flex align-items-center mb-2"><p class="text-bold m-0 readonly-data">Product:</p> <span class="readonly-data ml-2">${product}</span></div>
|
|
691
|
+
<div class="flex align-items-center mb-2"><p class="text-bold m-0 readonly-data">Finance Term:</p> <span class="readonly-data ml-2">${financeTerm}</span></div>
|
|
692
692
|
<div class="flex align-items-center ${monthlyRepaymentClass}"><p class="text-bold m-0 readonly-data">Monthly Repayment:</p> <span class="readonly-data ml-2">${monthlyRepayment}</span></div>`;
|
|
693
693
|
// Only show rental income and occupancy for BTL applications
|
|
694
694
|
if (isBTL) {
|
|
695
|
-
summaryContent += `
|
|
696
|
-
<div class="flex align-items-center mb-2"><p class="text-bold m-0 readonly-data">Rental Income:</p> <span class="readonly-data ml-2">${rentalIncome}</span></div>
|
|
695
|
+
summaryContent += `
|
|
696
|
+
<div class="flex align-items-center mb-2"><p class="text-bold m-0 readonly-data">Rental Income:</p> <span class="readonly-data ml-2">${rentalIncome}</span></div>
|
|
697
697
|
<div class="flex align-items-center"><p class="text-bold m-0 readonly-data">Occupancy:</p> <span class="readonly-data ml-2">${occupancy}</span></div>`;
|
|
698
698
|
}
|
|
699
699
|
return summaryContent;
|
|
@@ -26,8 +26,6 @@ export { default as MortgageModel } from './application-mortgage.model';
|
|
|
26
26
|
export { default as ApplicationProductFeaturesModel } from './application-productfeatures.model';
|
|
27
27
|
export { default as ApplicationEucModel } from './application-euc.model';
|
|
28
28
|
export { default as ApplicationEuc } from './application-euc.type';
|
|
29
|
-
export { default as EucCountryTierModel } from './euc-country-tier.model';
|
|
30
|
-
export { default as EucCountryTier } from './euc-country-tier.type';
|
|
31
29
|
export { default as ApplicationsTaskModel } from './applications-task.model';
|
|
32
30
|
export { default as ApplicationProductType } from './application-product.type';
|
|
33
31
|
export { default as ApplicationProductFeaturesType } from './application-productfeatures.type';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../applications/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAC1F,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACpF,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC1E,OAAO,EAAE,OAAO,IAAI,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAC9F,OAAO,EAAE,OAAO,IAAI,2BAA2B,EAAE,MAAM,kCAAkC,CAAA;AACzF,OAAO,EAAE,OAAO,IAAI,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AACxF,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AACnF,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AACjF,OAAO,EAAE,OAAO,IAAI,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AACvF,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AACrF,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AACnF,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AACrF,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AACnF,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAC9F,OAAO,EAAE,OAAO,IAAI,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AACzF,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,8BAA8B,CAAC;AACxE,OAAO,EAAE,OAAO,IAAI,+BAA+B,EAAE,MAAM,qCAAqC,CAAC;AACjG,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../applications/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAC1F,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACpF,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC1E,OAAO,EAAE,OAAO,IAAI,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAC9F,OAAO,EAAE,OAAO,IAAI,2BAA2B,EAAE,MAAM,kCAAkC,CAAA;AACzF,OAAO,EAAE,OAAO,IAAI,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AACxF,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AACnF,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AACjF,OAAO,EAAE,OAAO,IAAI,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AACvF,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AACrF,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AACnF,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AACrF,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AACnF,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAC9F,OAAO,EAAE,OAAO,IAAI,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AACzF,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,8BAA8B,CAAC;AACxE,OAAO,EAAE,OAAO,IAAI,+BAA+B,EAAE,MAAM,qCAAqC,CAAC;AACjG,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAC7E,OAAO,EAAC,OAAO,IAAI,sBAAsB,EAAC,MAAM,4BAA4B,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAC/F,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAAE,OAAO,IAAI,0BAA0B,EAAE,MAAM,6CAA6C,CAAC;AACpG,OAAO,EAAE,OAAO,IAAI,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AAClG,OAAO,EAAE,OAAO,IAAI,8BAA8B,EAAE,MAAM,qCAAqC,CAAC"}
|
|
@@ -18,7 +18,6 @@ export { default as ApplicationFieldConfigModel } from './application-fieldconfi
|
|
|
18
18
|
export { default as MortgageModel } from './application-mortgage.model';
|
|
19
19
|
export { default as ApplicationProductFeaturesModel } from './application-productfeatures.model';
|
|
20
20
|
export { default as ApplicationEucModel } from './application-euc.model';
|
|
21
|
-
export { default as EucCountryTierModel } from './euc-country-tier.model';
|
|
22
21
|
export { default as ApplicationsTaskModel } from './applications-task.model';
|
|
23
22
|
export { default as ApplicantCreditReportModel } from '../applicants/applicant-credit-report.model';
|
|
24
23
|
export { default as ApplicationValuationReportModel } from './application-valuation-report.model';
|
|
@@ -117,6 +117,10 @@ export declare class EncryptionPlugin {
|
|
|
117
117
|
* keys, parent-object values containing encrypted leaves, and full
|
|
118
118
|
* replacement documents (updates without atomic operators).
|
|
119
119
|
*
|
|
120
|
+
* `null`/`undefined` operator values pass through untouched so callers
|
|
121
|
+
* can clear encrypted fields (`$set: { field: null }`) — libmongocrypt
|
|
122
|
+
* rejects those BSON types for explicit encryption.
|
|
123
|
+
*
|
|
120
124
|
* @param update - The mutable update object from `Query.getUpdate()`.
|
|
121
125
|
* @param paths - Encrypted dot paths of the schema.
|
|
122
126
|
* @example
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"encryption.plugin.d.ts","sourceRoot":"","sources":["../../../shared/encryption/encryption.plugin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAmB,MAAM,UAAU,CAAC;AAuBnD;;;;;;;;;;;;;;;GAeG;AACH,qBAAa,gBAAgB;IACzB,OAAO;IAEP;;;;;;;;;;;;;;OAcG;WACW,KAAK,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IAczC;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,MAAM,CAAC,aAAa;IAc5B;;;;;;;;;OASG;IACH,OAAO,CAAC,MAAM,CAAC,kBAAkB;IAUjC;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,MAAM,CAAC,kBAAkB;IAiBjC;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,MAAM,CAAC,iBAAiB;IAgChC
|
|
1
|
+
{"version":3,"file":"encryption.plugin.d.ts","sourceRoot":"","sources":["../../../shared/encryption/encryption.plugin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAmB,MAAM,UAAU,CAAC;AAuBnD;;;;;;;;;;;;;;;GAeG;AACH,qBAAa,gBAAgB;IACzB,OAAO;IAEP;;;;;;;;;;;;;;OAcG;WACW,KAAK,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IAczC;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,MAAM,CAAC,aAAa;IAc5B;;;;;;;;;OASG;IACH,OAAO,CAAC,MAAM,CAAC,kBAAkB;IAUjC;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,MAAM,CAAC,kBAAkB;IAiBjC;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,MAAM,CAAC,iBAAiB;IAgChC;;;;;;;;;;;;;;;OAeG;mBACkB,aAAa;IA6BlC;;;;;;;;;;;;OAYG;mBACkB,eAAe;IAiBpC;;;;;;;;;;OAUG;mBACkB,iBAAiB;IAQtC;;;;;;;;;;;OAWG;mBACkB,gBAAgB;IAarC;;;;;;;;;;;OAWG;mBACkB,cAAc;IAuBnC;;;;;;;;;OASG;IACH,OAAO,CAAC,MAAM,CAAC,gBAAgB;IAU/B;;;;;;;;;OASG;IACH,OAAO,CAAC,MAAM,CAAC,gBAAgB;IAU/B;;;;;;;;;OASG;IACH,OAAO,CAAC,MAAM,CAAC,aAAa;IAI5B;;;;;;;;;OASG;IACH,OAAO,CAAC,MAAM,CAAC,YAAY;CAO9B"}
|
|
@@ -174,6 +174,10 @@ export class EncryptionPlugin {
|
|
|
174
174
|
* keys, parent-object values containing encrypted leaves, and full
|
|
175
175
|
* replacement documents (updates without atomic operators).
|
|
176
176
|
*
|
|
177
|
+
* `null`/`undefined` operator values pass through untouched so callers
|
|
178
|
+
* can clear encrypted fields (`$set: { field: null }`) — libmongocrypt
|
|
179
|
+
* rejects those BSON types for explicit encryption.
|
|
180
|
+
*
|
|
177
181
|
* @param update - The mutable update object from `Query.getUpdate()`.
|
|
178
182
|
* @param paths - Encrypted dot paths of the schema.
|
|
179
183
|
* @example
|
|
@@ -194,6 +198,9 @@ export class EncryptionPlugin {
|
|
|
194
198
|
continue;
|
|
195
199
|
}
|
|
196
200
|
for (const [key, value] of Object.entries(target)) {
|
|
201
|
+
if (value === null || value === undefined) {
|
|
202
|
+
continue;
|
|
203
|
+
}
|
|
197
204
|
for (const path of paths) {
|
|
198
205
|
if (key === path) {
|
|
199
206
|
target[key] = await transform(value);
|
package/package.json
CHANGED
|
@@ -1,90 +1,90 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@dynamatix/gb-schemas",
|
|
3
|
-
"version": "2.20.
|
|
4
|
-
"description": "All the schemas for gatehouse bank back-end .",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"types": "dist/index.d.ts",
|
|
7
|
-
"type": "module",
|
|
8
|
-
"scripts": {
|
|
9
|
-
"build": "tsc",
|
|
10
|
-
"test": "vitest run",
|
|
11
|
-
"test:workflow": "npm run build && node test-workflow.js",
|
|
12
|
-
"test:workflow:env": "npm run build && WORKFLOW_API_KEY=test-key WORKFLOW_API_URL=http://localhost:3000/api/workflows node test-workflow-with-env.js",
|
|
13
|
-
"example:app": "npm run build && node example-app-usage.js",
|
|
14
|
-
"test:workflow:triggers": "npm run build && node test-workflow-with-triggers.js",
|
|
15
|
-
"test:workflow:direct": "npm run build && node test-direct-middleware.js",
|
|
16
|
-
"patch": "tsc && npm version patch && npm publish --access public && exit 0",
|
|
17
|
-
"generate-docs": "NODE_OPTIONS='--loader ts-node/esm' ts-node schema-docs/docs.seeder.ts",
|
|
18
|
-
"example:income": "NODE_OPTIONS='--loader ts-node/esm' ts-node examples/add-applicant-income.ts",
|
|
19
|
-
"migrate:applicant-income": "node migrate-applicant-income.js",
|
|
20
|
-
"migrate:self-employed-id": "node migrate-self-employed-id.js",
|
|
21
|
-
"check:applicants-employment": "node check-applicants-without-employment.js",
|
|
22
|
-
"delete:applications-by-type": "node delete-applications-by-type.js",
|
|
23
|
-
"find:applications-many-audits": "node find-applications-with-many-audits.js",
|
|
24
|
-
"update:apiconfigs-paths": "node scripts/update-apiconfigs-paths.js",
|
|
25
|
-
"seed:property-metadata": "node scripts/seed-property-metadata.js",
|
|
26
|
-
"migrate:lookups-qa-to-uat": "node scripts/update-lookups-qa-to-uat.js"
|
|
27
|
-
},
|
|
28
|
-
"repository": {
|
|
29
|
-
"type": "git",
|
|
30
|
-
"url": "git+https://github.com/DynamatixAnalyticsPvtLtd/gb-schemas.git"
|
|
31
|
-
},
|
|
32
|
-
"author": "Dynamatix",
|
|
33
|
-
"license": "ISC",
|
|
34
|
-
"bugs": {
|
|
35
|
-
"url": "https://github.com/DynamatixAnalyticsPvtLtd/gb-schemas/issues"
|
|
36
|
-
},
|
|
37
|
-
"homepage": "https://github.com/DynamatixAnalyticsPvtLtd/gb-schemas#readme",
|
|
38
|
-
"dependencies": {
|
|
39
|
-
"@dynamatix/cat-shared": "^0.0.169",
|
|
40
|
-
"dotenv": "^16.4.5",
|
|
41
|
-
"mongodb": "^6.14.2",
|
|
42
|
-
"mongodb-client-encryption": "^6.5.0",
|
|
43
|
-
"mongoose": "^8.9.5"
|
|
44
|
-
},
|
|
45
|
-
"files": [
|
|
46
|
-
"dist"
|
|
47
|
-
],
|
|
48
|
-
"exports": {
|
|
49
|
-
".": {
|
|
50
|
-
"import": "./dist/index.js",
|
|
51
|
-
"types": "./dist/index.d.ts"
|
|
52
|
-
},
|
|
53
|
-
"./applications": {
|
|
54
|
-
"import": "./dist/applications/index.js",
|
|
55
|
-
"types": "./dist/applications/index.d.ts"
|
|
56
|
-
},
|
|
57
|
-
"./applicants": {
|
|
58
|
-
"import": "./dist/applicants/index.js",
|
|
59
|
-
"types": "./dist/applicants/index.d.ts"
|
|
60
|
-
},
|
|
61
|
-
"./shared": {
|
|
62
|
-
"import": "./dist/shared/index.js",
|
|
63
|
-
"types": "./dist/shared/index.d.ts"
|
|
64
|
-
},
|
|
65
|
-
"./properties": {
|
|
66
|
-
"import": "./dist/properties/index.js",
|
|
67
|
-
"types": "./dist/properties/index.d.ts"
|
|
68
|
-
},
|
|
69
|
-
"./users": {
|
|
70
|
-
"import": "./dist/users/index.js",
|
|
71
|
-
"types": "./dist/users/index.d.ts"
|
|
72
|
-
},
|
|
73
|
-
"./product-catalogues": {
|
|
74
|
-
"import": "./dist/product-catalogues/index.js",
|
|
75
|
-
"types": "./dist/product-catalogues/index.d.ts"
|
|
76
|
-
},
|
|
77
|
-
"./underwriter": {
|
|
78
|
-
"import": "./dist/underwriter/index.js",
|
|
79
|
-
"types": "./dist/underwriter/index.d.ts"
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
"devDependencies": {
|
|
83
|
-
"@types/mongoose": "^5.11.96",
|
|
84
|
-
"@types/node": "^22.14.0",
|
|
85
|
-
"mongodb-memory-server": "^11.2.0",
|
|
86
|
-
"ts-node": "^10.9.2",
|
|
87
|
-
"typescript": "^5.3.3",
|
|
88
|
-
"vitest": "^4.1.10"
|
|
89
|
-
}
|
|
90
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@dynamatix/gb-schemas",
|
|
3
|
+
"version": "2.20.3",
|
|
4
|
+
"description": "All the schemas for gatehouse bank back-end .",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"build": "tsc",
|
|
10
|
+
"test": "vitest run",
|
|
11
|
+
"test:workflow": "npm run build && node test-workflow.js",
|
|
12
|
+
"test:workflow:env": "npm run build && WORKFLOW_API_KEY=test-key WORKFLOW_API_URL=http://localhost:3000/api/workflows node test-workflow-with-env.js",
|
|
13
|
+
"example:app": "npm run build && node example-app-usage.js",
|
|
14
|
+
"test:workflow:triggers": "npm run build && node test-workflow-with-triggers.js",
|
|
15
|
+
"test:workflow:direct": "npm run build && node test-direct-middleware.js",
|
|
16
|
+
"patch": "tsc && npm version patch && npm publish --access public && exit 0",
|
|
17
|
+
"generate-docs": "NODE_OPTIONS='--loader ts-node/esm' ts-node schema-docs/docs.seeder.ts",
|
|
18
|
+
"example:income": "NODE_OPTIONS='--loader ts-node/esm' ts-node examples/add-applicant-income.ts",
|
|
19
|
+
"migrate:applicant-income": "node migrate-applicant-income.js",
|
|
20
|
+
"migrate:self-employed-id": "node migrate-self-employed-id.js",
|
|
21
|
+
"check:applicants-employment": "node check-applicants-without-employment.js",
|
|
22
|
+
"delete:applications-by-type": "node delete-applications-by-type.js",
|
|
23
|
+
"find:applications-many-audits": "node find-applications-with-many-audits.js",
|
|
24
|
+
"update:apiconfigs-paths": "node scripts/update-apiconfigs-paths.js",
|
|
25
|
+
"seed:property-metadata": "node scripts/seed-property-metadata.js",
|
|
26
|
+
"migrate:lookups-qa-to-uat": "node scripts/update-lookups-qa-to-uat.js"
|
|
27
|
+
},
|
|
28
|
+
"repository": {
|
|
29
|
+
"type": "git",
|
|
30
|
+
"url": "git+https://github.com/DynamatixAnalyticsPvtLtd/gb-schemas.git"
|
|
31
|
+
},
|
|
32
|
+
"author": "Dynamatix",
|
|
33
|
+
"license": "ISC",
|
|
34
|
+
"bugs": {
|
|
35
|
+
"url": "https://github.com/DynamatixAnalyticsPvtLtd/gb-schemas/issues"
|
|
36
|
+
},
|
|
37
|
+
"homepage": "https://github.com/DynamatixAnalyticsPvtLtd/gb-schemas#readme",
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"@dynamatix/cat-shared": "^0.0.169",
|
|
40
|
+
"dotenv": "^16.4.5",
|
|
41
|
+
"mongodb": "^6.14.2",
|
|
42
|
+
"mongodb-client-encryption": "^6.5.0",
|
|
43
|
+
"mongoose": "^8.9.5"
|
|
44
|
+
},
|
|
45
|
+
"files": [
|
|
46
|
+
"dist"
|
|
47
|
+
],
|
|
48
|
+
"exports": {
|
|
49
|
+
".": {
|
|
50
|
+
"import": "./dist/index.js",
|
|
51
|
+
"types": "./dist/index.d.ts"
|
|
52
|
+
},
|
|
53
|
+
"./applications": {
|
|
54
|
+
"import": "./dist/applications/index.js",
|
|
55
|
+
"types": "./dist/applications/index.d.ts"
|
|
56
|
+
},
|
|
57
|
+
"./applicants": {
|
|
58
|
+
"import": "./dist/applicants/index.js",
|
|
59
|
+
"types": "./dist/applicants/index.d.ts"
|
|
60
|
+
},
|
|
61
|
+
"./shared": {
|
|
62
|
+
"import": "./dist/shared/index.js",
|
|
63
|
+
"types": "./dist/shared/index.d.ts"
|
|
64
|
+
},
|
|
65
|
+
"./properties": {
|
|
66
|
+
"import": "./dist/properties/index.js",
|
|
67
|
+
"types": "./dist/properties/index.d.ts"
|
|
68
|
+
},
|
|
69
|
+
"./users": {
|
|
70
|
+
"import": "./dist/users/index.js",
|
|
71
|
+
"types": "./dist/users/index.d.ts"
|
|
72
|
+
},
|
|
73
|
+
"./product-catalogues": {
|
|
74
|
+
"import": "./dist/product-catalogues/index.js",
|
|
75
|
+
"types": "./dist/product-catalogues/index.d.ts"
|
|
76
|
+
},
|
|
77
|
+
"./underwriter": {
|
|
78
|
+
"import": "./dist/underwriter/index.js",
|
|
79
|
+
"types": "./dist/underwriter/index.d.ts"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"devDependencies": {
|
|
83
|
+
"@types/mongoose": "^5.11.96",
|
|
84
|
+
"@types/node": "^22.14.0",
|
|
85
|
+
"mongodb-memory-server": "^11.2.0",
|
|
86
|
+
"ts-node": "^10.9.2",
|
|
87
|
+
"typescript": "^5.3.3",
|
|
88
|
+
"vitest": "^4.1.10"
|
|
89
|
+
}
|
|
90
|
+
}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
/// <reference path="../value-objects/pound.d.ts" />
|
|
2
|
-
/// <reference path="../value-objects/account-number.d.ts" />
|
|
3
|
-
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
4
|
-
/// <reference types="mongoose/types/aggregate" />
|
|
5
|
-
/// <reference types="mongoose/types/callback" />
|
|
6
|
-
/// <reference types="mongoose/types/collection" />
|
|
7
|
-
/// <reference types="mongoose/types/connection" />
|
|
8
|
-
/// <reference types="mongoose/types/cursor" />
|
|
9
|
-
/// <reference types="mongoose/types/document" />
|
|
10
|
-
/// <reference types="mongoose/types/error" />
|
|
11
|
-
/// <reference types="mongoose/types/expressions" />
|
|
12
|
-
/// <reference types="mongoose/types/helpers" />
|
|
13
|
-
/// <reference types="mongoose/types/middlewares" />
|
|
14
|
-
/// <reference types="mongoose/types/indexes" />
|
|
15
|
-
/// <reference types="mongoose/types/models" />
|
|
16
|
-
/// <reference types="mongoose/types/mongooseoptions" />
|
|
17
|
-
/// <reference types="mongoose/types/pipelinestage" />
|
|
18
|
-
/// <reference types="mongoose/types/populate" />
|
|
19
|
-
/// <reference types="mongoose/types/query" />
|
|
20
|
-
/// <reference types="mongoose/types/schemaoptions" />
|
|
21
|
-
/// <reference types="mongoose/types/session" />
|
|
22
|
-
/// <reference types="mongoose/types/types" />
|
|
23
|
-
/// <reference types="mongoose/types/utility" />
|
|
24
|
-
/// <reference types="mongoose/types/validation" />
|
|
25
|
-
/// <reference types="mongoose/types/virtuals" />
|
|
26
|
-
/// <reference types="mongoose/types/schematypes" />
|
|
27
|
-
/// <reference types="mongoose/types/inferschematype" />
|
|
28
|
-
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
29
|
-
import mongoose from 'mongoose';
|
|
30
|
-
declare const applicantDirectDebitSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
31
|
-
timestamps: true;
|
|
32
|
-
}, {
|
|
33
|
-
createdAt: NativeDate;
|
|
34
|
-
updatedAt: NativeDate;
|
|
35
|
-
} & {
|
|
36
|
-
isConfirmDeclaration: string;
|
|
37
|
-
addressLine1?: string | null | undefined;
|
|
38
|
-
addressLine2?: string | null | undefined;
|
|
39
|
-
accountNumber?: string | null | undefined;
|
|
40
|
-
branch?: string | null | undefined;
|
|
41
|
-
city?: string | null | undefined;
|
|
42
|
-
contactPostcode?: string | null | undefined;
|
|
43
|
-
institution?: string | null | undefined;
|
|
44
|
-
nameOfAccountHolder?: string | null | undefined;
|
|
45
|
-
sortCode?: string | null | undefined;
|
|
46
|
-
selectedPaymentDay?: string | null | undefined;
|
|
47
|
-
Applicants?: string | null | undefined;
|
|
48
|
-
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
49
|
-
createdAt: NativeDate;
|
|
50
|
-
updatedAt: NativeDate;
|
|
51
|
-
} & {
|
|
52
|
-
isConfirmDeclaration: string;
|
|
53
|
-
addressLine1?: string | null | undefined;
|
|
54
|
-
addressLine2?: string | null | undefined;
|
|
55
|
-
accountNumber?: string | null | undefined;
|
|
56
|
-
branch?: string | null | undefined;
|
|
57
|
-
city?: string | null | undefined;
|
|
58
|
-
contactPostcode?: string | null | undefined;
|
|
59
|
-
institution?: string | null | undefined;
|
|
60
|
-
nameOfAccountHolder?: string | null | undefined;
|
|
61
|
-
sortCode?: string | null | undefined;
|
|
62
|
-
selectedPaymentDay?: string | null | undefined;
|
|
63
|
-
Applicants?: string | null | undefined;
|
|
64
|
-
}>, {}> & mongoose.FlatRecord<{
|
|
65
|
-
createdAt: NativeDate;
|
|
66
|
-
updatedAt: NativeDate;
|
|
67
|
-
} & {
|
|
68
|
-
isConfirmDeclaration: string;
|
|
69
|
-
addressLine1?: string | null | undefined;
|
|
70
|
-
addressLine2?: string | null | undefined;
|
|
71
|
-
accountNumber?: string | null | undefined;
|
|
72
|
-
branch?: string | null | undefined;
|
|
73
|
-
city?: string | null | undefined;
|
|
74
|
-
contactPostcode?: string | null | undefined;
|
|
75
|
-
institution?: string | null | undefined;
|
|
76
|
-
nameOfAccountHolder?: string | null | undefined;
|
|
77
|
-
sortCode?: string | null | undefined;
|
|
78
|
-
selectedPaymentDay?: string | null | undefined;
|
|
79
|
-
Applicants?: string | null | undefined;
|
|
80
|
-
}> & {
|
|
81
|
-
_id: mongoose.Types.ObjectId;
|
|
82
|
-
} & {
|
|
83
|
-
__v: number;
|
|
84
|
-
}>;
|
|
85
|
-
export default applicantDirectDebitSchema;
|
|
86
|
-
//# sourceMappingURL=applicant-direct-debit.model.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"applicant-direct-debit.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-direct-debit.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAGhC,QAAA,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAaR,CAAC;AAEzB,eAAe,0BAA0B,CAAC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import mongoose from "mongoose";
|
|
2
|
-
declare const applicantIncomeSourceSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
|
|
3
|
-
employmentStatusLid: mongoose.Types.ObjectId;
|
|
4
|
-
incomeFromEmployment?: string | null | undefined;
|
|
5
|
-
incomeFromPension?: string | null | undefined;
|
|
6
|
-
incomeFromProperty?: string | null | undefined;
|
|
7
|
-
incomeFromSavings?: string | null | undefined;
|
|
8
|
-
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
9
|
-
employmentStatusLid: mongoose.Types.ObjectId;
|
|
10
|
-
incomeFromEmployment?: string | null | undefined;
|
|
11
|
-
incomeFromPension?: string | null | undefined;
|
|
12
|
-
incomeFromProperty?: string | null | undefined;
|
|
13
|
-
incomeFromSavings?: string | null | undefined;
|
|
14
|
-
}>> & mongoose.FlatRecord<{
|
|
15
|
-
employmentStatusLid: mongoose.Types.ObjectId;
|
|
16
|
-
incomeFromEmployment?: string | null | undefined;
|
|
17
|
-
incomeFromPension?: string | null | undefined;
|
|
18
|
-
incomeFromProperty?: string | null | undefined;
|
|
19
|
-
incomeFromSavings?: string | null | undefined;
|
|
20
|
-
}> & {
|
|
21
|
-
_id: mongoose.Types.ObjectId;
|
|
22
|
-
} & {
|
|
23
|
-
__v: number;
|
|
24
|
-
}>;
|
|
25
|
-
export default applicantIncomeSourceSchema;
|
|
26
|
-
//# sourceMappingURL=applicant-income-source.model.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"applicant-income-source.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-income-source.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAEhC,QAAA,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;EAM/B,CAAC;AAEH,eAAe,2BAA2B,CAAC"}
|