@dynamatix/gb-schemas 2.20.4 → 2.20.5

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 (34) hide show
  1. package/README.md +308 -308
  2. package/dist/applicants/applicant-credit-report.model.d.ts +24 -18
  3. package/dist/applicants/applicant-credit-report.model.d.ts.map +1 -1
  4. package/dist/applicants/applicant-credit-report.model.js +1 -0
  5. package/dist/applicants/applicant-credit-report.type.d.ts +1 -0
  6. package/dist/applicants/applicant-credit-report.type.d.ts.map +1 -1
  7. package/dist/applicants/applicant-welcome-call.model.js +9 -9
  8. package/dist/applications/index.d.ts +0 -2
  9. package/dist/applications/index.d.ts.map +1 -1
  10. package/dist/applications/index.js +0 -1
  11. package/package.json +90 -90
  12. package/dist/applicants/applicant-direct-debit.model.d.ts +0 -86
  13. package/dist/applicants/applicant-direct-debit.model.d.ts.map +0 -1
  14. package/dist/applicants/applicant-direct-debit.model.js +0 -16
  15. package/dist/applicants/applicant-income-source.model.d.ts +0 -26
  16. package/dist/applicants/applicant-income-source.model.d.ts.map +0 -1
  17. package/dist/applicants/applicant-income.model.d.ts +0 -160
  18. package/dist/applicants/applicant-income.model.d.ts.map +0 -1
  19. package/dist/applicants/applicant-other-income.model.d.ts +0 -85
  20. package/dist/applicants/applicant-other-income.model.d.ts.map +0 -1
  21. package/dist/applications/application-document.model.d.ts +0 -158
  22. package/dist/applications/application-document.model.d.ts.map +0 -1
  23. package/dist/applications/document.model.d.ts +0 -158
  24. package/dist/applications/document.model.d.ts.map +0 -1
  25. package/dist/applications/euc-country-tier.model.d.ts +0 -65
  26. package/dist/applications/euc-country-tier.model.d.ts.map +0 -1
  27. package/dist/applications/euc-country-tier.model.js +0 -24
  28. package/dist/applications/euc-country-tier.type.d.ts +0 -7
  29. package/dist/applications/euc-country-tier.type.d.ts.map +0 -1
  30. package/dist/applications/euc-country-tier.type.js +0 -1
  31. package/dist/applications/productfeatures.model.d.ts +0 -368
  32. package/dist/applications/productfeatures.model.d.ts.map +0 -1
  33. package/dist/shared/document-type-model.d.ts +0 -48
  34. package/dist/shared/document-type-model.d.ts.map +0 -1
@@ -48,6 +48,7 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
48
48
  unsecuredArrears: string;
49
49
  bankruptcyOrIva: string;
50
50
  notMapped: any;
51
+ apprivoResponse: any;
51
52
  aliasNames: mongoose.Types.DocumentArray<{
52
53
  dob: string;
53
54
  forename: string;
@@ -578,8 +579,8 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
578
579
  number: string;
579
580
  name: string;
580
581
  postcode: string;
581
- country: string;
582
582
  postTown: string;
583
+ country: string;
583
584
  street1: string;
584
585
  } | null | undefined;
585
586
  }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
@@ -587,8 +588,8 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
587
588
  number: string;
588
589
  name: string;
589
590
  postcode: string;
590
- country: string;
591
591
  postTown: string;
592
+ country: string;
592
593
  street1: string;
593
594
  } | null | undefined;
594
595
  }> & {
@@ -596,8 +597,8 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
596
597
  number: string;
597
598
  name: string;
598
599
  postcode: string;
599
- country: string;
600
600
  postTown: string;
601
+ country: string;
601
602
  street1: string;
602
603
  } | null | undefined;
603
604
  }>;
@@ -677,6 +678,7 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
677
678
  unsecuredArrears: string;
678
679
  bankruptcyOrIva: string;
679
680
  notMapped: any;
681
+ apprivoResponse: any;
680
682
  aliasNames: mongoose.Types.DocumentArray<{
681
683
  dob: string;
682
684
  forename: string;
@@ -1207,8 +1209,8 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
1207
1209
  number: string;
1208
1210
  name: string;
1209
1211
  postcode: string;
1210
- country: string;
1211
1212
  postTown: string;
1213
+ country: string;
1212
1214
  street1: string;
1213
1215
  } | null | undefined;
1214
1216
  }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
@@ -1216,8 +1218,8 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
1216
1218
  number: string;
1217
1219
  name: string;
1218
1220
  postcode: string;
1219
- country: string;
1220
1221
  postTown: string;
1222
+ country: string;
1221
1223
  street1: string;
1222
1224
  } | null | undefined;
1223
1225
  }> & {
@@ -1225,8 +1227,8 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
1225
1227
  number: string;
1226
1228
  name: string;
1227
1229
  postcode: string;
1228
- country: string;
1229
1230
  postTown: string;
1231
+ country: string;
1230
1232
  street1: string;
1231
1233
  } | null | undefined;
1232
1234
  }>;
@@ -1306,6 +1308,7 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
1306
1308
  unsecuredArrears: string;
1307
1309
  bankruptcyOrIva: string;
1308
1310
  notMapped: any;
1311
+ apprivoResponse: any;
1309
1312
  aliasNames: mongoose.Types.DocumentArray<{
1310
1313
  dob: string;
1311
1314
  forename: string;
@@ -1836,8 +1839,8 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
1836
1839
  number: string;
1837
1840
  name: string;
1838
1841
  postcode: string;
1839
- country: string;
1840
1842
  postTown: string;
1843
+ country: string;
1841
1844
  street1: string;
1842
1845
  } | null | undefined;
1843
1846
  }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
@@ -1845,8 +1848,8 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
1845
1848
  number: string;
1846
1849
  name: string;
1847
1850
  postcode: string;
1848
- country: string;
1849
1851
  postTown: string;
1852
+ country: string;
1850
1853
  street1: string;
1851
1854
  } | null | undefined;
1852
1855
  }> & {
@@ -1854,8 +1857,8 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
1854
1857
  number: string;
1855
1858
  name: string;
1856
1859
  postcode: string;
1857
- country: string;
1858
1860
  postTown: string;
1861
+ country: string;
1859
1862
  street1: string;
1860
1863
  } | null | undefined;
1861
1864
  }>;
@@ -1941,6 +1944,7 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
1941
1944
  unsecuredArrears: string;
1942
1945
  bankruptcyOrIva: string;
1943
1946
  notMapped: any;
1947
+ apprivoResponse: any;
1944
1948
  aliasNames: mongoose.Types.DocumentArray<{
1945
1949
  dob: string;
1946
1950
  forename: string;
@@ -2471,8 +2475,8 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
2471
2475
  number: string;
2472
2476
  name: string;
2473
2477
  postcode: string;
2474
- country: string;
2475
2478
  postTown: string;
2479
+ country: string;
2476
2480
  street1: string;
2477
2481
  } | null | undefined;
2478
2482
  }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
@@ -2480,8 +2484,8 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
2480
2484
  number: string;
2481
2485
  name: string;
2482
2486
  postcode: string;
2483
- country: string;
2484
2487
  postTown: string;
2488
+ country: string;
2485
2489
  street1: string;
2486
2490
  } | null | undefined;
2487
2491
  }> & {
@@ -2489,8 +2493,8 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
2489
2493
  number: string;
2490
2494
  name: string;
2491
2495
  postcode: string;
2492
- country: string;
2493
2496
  postTown: string;
2497
+ country: string;
2494
2498
  street1: string;
2495
2499
  } | null | undefined;
2496
2500
  }>;
@@ -2570,6 +2574,7 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
2570
2574
  unsecuredArrears: string;
2571
2575
  bankruptcyOrIva: string;
2572
2576
  notMapped: any;
2577
+ apprivoResponse: any;
2573
2578
  aliasNames: mongoose.Types.DocumentArray<{
2574
2579
  dob: string;
2575
2580
  forename: string;
@@ -3100,8 +3105,8 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
3100
3105
  number: string;
3101
3106
  name: string;
3102
3107
  postcode: string;
3103
- country: string;
3104
3108
  postTown: string;
3109
+ country: string;
3105
3110
  street1: string;
3106
3111
  } | null | undefined;
3107
3112
  }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
@@ -3109,8 +3114,8 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
3109
3114
  number: string;
3110
3115
  name: string;
3111
3116
  postcode: string;
3112
- country: string;
3113
3117
  postTown: string;
3118
+ country: string;
3114
3119
  street1: string;
3115
3120
  } | null | undefined;
3116
3121
  }> & {
@@ -3118,8 +3123,8 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
3118
3123
  number: string;
3119
3124
  name: string;
3120
3125
  postcode: string;
3121
- country: string;
3122
3126
  postTown: string;
3127
+ country: string;
3123
3128
  street1: string;
3124
3129
  } | null | undefined;
3125
3130
  }>;
@@ -3199,6 +3204,7 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
3199
3204
  unsecuredArrears: string;
3200
3205
  bankruptcyOrIva: string;
3201
3206
  notMapped: any;
3207
+ apprivoResponse: any;
3202
3208
  aliasNames: mongoose.Types.DocumentArray<{
3203
3209
  dob: string;
3204
3210
  forename: string;
@@ -3729,8 +3735,8 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
3729
3735
  number: string;
3730
3736
  name: string;
3731
3737
  postcode: string;
3732
- country: string;
3733
3738
  postTown: string;
3739
+ country: string;
3734
3740
  street1: string;
3735
3741
  } | null | undefined;
3736
3742
  }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
@@ -3738,8 +3744,8 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
3738
3744
  number: string;
3739
3745
  name: string;
3740
3746
  postcode: string;
3741
- country: string;
3742
3747
  postTown: string;
3748
+ country: string;
3743
3749
  street1: string;
3744
3750
  } | null | undefined;
3745
3751
  }> & {
@@ -3747,8 +3753,8 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
3747
3753
  number: string;
3748
3754
  name: string;
3749
3755
  postcode: string;
3750
- country: string;
3751
3756
  postTown: string;
3757
+ country: string;
3752
3758
  street1: string;
3753
3759
  } | null | undefined;
3754
3760
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"applicant-credit-report.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-credit-report.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAuE,CAAC;AACxG,eAAe,0BAA0B,CAAC"}
@@ -98,6 +98,7 @@ const applicantCreditReportSchema = new Schema({
98
98
  unsecuredArrears: { type: String, default: "" },
99
99
  bankruptcyOrIva: { type: String, default: "" },
100
100
  notMapped: { type: mongoose.Schema.Types.Mixed, default: null },
101
+ apprivoResponse: { type: mongoose.Schema.Types.Mixed, default: null },
101
102
  aliasNames: [aliasNameSchema],
102
103
  associates: [associateSchema],
103
104
  linkedAddressData: [addressSpecificData],
@@ -125,6 +125,7 @@ export default interface IApplicantCreditReport extends IBaseType {
125
125
  unsecuredArrears: string;
126
126
  bankruptcyOrIva: string;
127
127
  notMapped: any;
128
+ apprivoResponse: any;
128
129
  aliasNames: IAliasName[];
129
130
  associates: IAssociate[];
130
131
  linkedAddressData: IAddressSpecificData[];
@@ -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,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B,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IAEpB,cAAc,EAAE,MAAM,CAAC;IACvB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;IACzB,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,GAAG,CAAC;IAEf,UAAU,EAAE,UAAU,EAAE,CAAC;IACzB,UAAU,EAAE,UAAU,EAAE,CAAC;IAEzB,iBAAiB,EAAE,oBAAoB,EAAE,CAAC;IAC1C,mBAAmB,EAAE,oBAAoB,EAAE,CAAC;IAE5C,kBAAkB,EAAE,oBAAoB,EAAE,CAAC;IAC3C,yBAAyB,EAAE,oBAAoB,EAAE,CAAC;IAElD,oBAAoB,EAAE,qBAAqB,EAAE,CAAC;IAC9C,2BAA2B,EAAE,qBAAqB,EAAE,CAAC;IAErD,eAAe,EAAE,cAAc,EAAE,CAAC;IAClC,gBAAgB,EAAE,eAAe,EAAE,CAAC;IAEpC,gBAAgB,EAAE,iBAAiB,EAAE,CAAC;IACtC,kBAAkB,EAAE,mBAAmB,EAAE,CAAC;IAC1C,aAAa,EAAE,OAAO,CAAC;IACvB,WAAW,EAAE,OAAO,CAAC;IACrB,UAAU,EAAE,IAAI,CAAC;IACjB,yBAAyB,EAAE,MAAM,CAAC;CACrC"}
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,WAA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AAS,EAAE,GAAG,CAAC;IACf,eAAe,EAAE,GAAG,CAAC;IAErB,UAAU,EAAE,UAAU,EAAE,CAAC;IACzB,UAAU,EAAE,UAAU,EAAE,CAAC;IAEzB,iBAAiB,EAAE,oBAAoB,EAAE,CAAC;IAC1C,mBAAmB,EAAE,oBAAoB,EAAE,CAAC;IAE5C,kBAAkB,EAAE,oBAAoB,EAAE,CAAC;IAC3C,yBAAyB,EAAE,oBAAoB,EAAE,CAAC;IAElD,oBAAoB,EAAE,qBAAqB,EAAE,CAAC;IAC9C,2BAA2B,EAAE,qBAAqB,EAAE,CAAC;IAErD,eAAe,EAAE,cAAc,EAAE,CAAC;IAClC,gBAAgB,EAAE,eAAe,EAAE,CAAC;IAEpC,gBAAgB,EAAE,iBAAiB,EAAE,CAAC;IACtC,kBAAkB,EAAE,mBAAmB,EAAE,CAAC;IAC1C,aAAa,EAAE,OAAO,CAAC;IACvB,WAAW,EAAE,OAAO,CAAC;IACrB,UAAU,EAAE,IAAI,CAAC;IACjB,yBAAyB,EAAE,MAAM,CAAC;CACrC"}
@@ -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":[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,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';
package/package.json CHANGED
@@ -1,90 +1,90 @@
1
- {
2
- "name": "@dynamatix/gb-schemas",
3
- "version": "2.20.4",
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.5",
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,16 +0,0 @@
1
- import mongoose from 'mongoose';
2
- const applicantDirectDebitSchema = new mongoose.Schema({
3
- accountNumber: { type: String },
4
- addressLine1: { type: String },
5
- addressLine2: { type: String },
6
- Applicants: { type: String },
7
- branch: { type: String },
8
- city: { type: String },
9
- contactPostcode: { type: String },
10
- institution: { type: String },
11
- isConfirmDeclaration: { type: String, default: false },
12
- nameOfAccountHolder: { type: String },
13
- selectedPaymentDay: { type: String },
14
- sortCode: { type: String }
15
- }, { timestamps: true });
16
- export default applicantDirectDebitSchema;