@dynamatix/gb-schemas 2.3.309 → 2.3.311

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.
@@ -45,6 +45,14 @@ declare const applicantDirectDebitSchema: mongoose.Schema<any, mongoose.Model<an
45
45
  sortCode?: string | null | undefined;
46
46
  selectedPaymentDay?: string | null | undefined;
47
47
  Applicants?: string | null | undefined;
48
+ bankWizardCheck?: {
49
+ validation?: string | null | undefined;
50
+ status?: string | null | undefined;
51
+ nameAndDobMatch?: string | null | undefined;
52
+ addressMatch?: string | null | undefined;
53
+ ddCapable?: string | null | undefined;
54
+ failedMessage?: string | null | undefined;
55
+ } | null | undefined;
48
56
  }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
49
57
  createdAt: NativeDate;
50
58
  updatedAt: NativeDate;
@@ -61,6 +69,14 @@ declare const applicantDirectDebitSchema: mongoose.Schema<any, mongoose.Model<an
61
69
  sortCode?: string | null | undefined;
62
70
  selectedPaymentDay?: string | null | undefined;
63
71
  Applicants?: string | null | undefined;
72
+ bankWizardCheck?: {
73
+ validation?: string | null | undefined;
74
+ status?: string | null | undefined;
75
+ nameAndDobMatch?: string | null | undefined;
76
+ addressMatch?: string | null | undefined;
77
+ ddCapable?: string | null | undefined;
78
+ failedMessage?: string | null | undefined;
79
+ } | null | undefined;
64
80
  }>, {}> & mongoose.FlatRecord<{
65
81
  createdAt: NativeDate;
66
82
  updatedAt: NativeDate;
@@ -77,6 +93,14 @@ declare const applicantDirectDebitSchema: mongoose.Schema<any, mongoose.Model<an
77
93
  sortCode?: string | null | undefined;
78
94
  selectedPaymentDay?: string | null | undefined;
79
95
  Applicants?: string | null | undefined;
96
+ bankWizardCheck?: {
97
+ validation?: string | null | undefined;
98
+ status?: string | null | undefined;
99
+ nameAndDobMatch?: string | null | undefined;
100
+ addressMatch?: string | null | undefined;
101
+ ddCapable?: string | null | undefined;
102
+ failedMessage?: string | null | undefined;
103
+ } | null | undefined;
80
104
  }> & {
81
105
  _id: mongoose.Types.ObjectId;
82
106
  } & {
@@ -1 +1 @@
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
+ {"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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqBR,CAAC;AAEzB,eAAe,0BAA0B,CAAC"}
@@ -11,6 +11,14 @@ const applicantDirectDebitSchema = new mongoose.Schema({
11
11
  isConfirmDeclaration: { type: String, default: false },
12
12
  nameOfAccountHolder: { type: String },
13
13
  selectedPaymentDay: { type: String },
14
- sortCode: { type: String }
14
+ sortCode: { type: String },
15
+ bankWizardCheck: {
16
+ nameAndDobMatch: { type: String },
17
+ addressMatch: { type: String },
18
+ ddCapable: { type: String },
19
+ validation: { type: String },
20
+ status: { type: String },
21
+ failedMessage: { type: String },
22
+ },
15
23
  }, { timestamps: true });
16
24
  export default applicantDirectDebitSchema;
@@ -1247,6 +1247,14 @@ declare const ApplicantModel: mongoose.Model<{
1247
1247
  sortCode?: string | null | undefined;
1248
1248
  selectedPaymentDay?: string | null | undefined;
1249
1249
  Applicants?: string | null | undefined;
1250
+ bankWizardCheck?: {
1251
+ validation?: string | null | undefined;
1252
+ status?: string | null | undefined;
1253
+ nameAndDobMatch?: string | null | undefined;
1254
+ addressMatch?: string | null | undefined;
1255
+ ddCapable?: string | null | undefined;
1256
+ failedMessage?: string | null | undefined;
1257
+ } | null | undefined;
1250
1258
  }) | null | undefined;
1251
1259
  serialName?: string | null | undefined;
1252
1260
  ukPassportProfessionLid?: mongoose.Types.ObjectId | null | undefined;
@@ -1402,6 +1410,14 @@ declare const ApplicantModel: mongoose.Model<{
1402
1410
  sortCode?: string | null | undefined;
1403
1411
  selectedPaymentDay?: string | null | undefined;
1404
1412
  Applicants?: string | null | undefined;
1413
+ bankWizardCheck?: {
1414
+ validation?: string | null | undefined;
1415
+ status?: string | null | undefined;
1416
+ nameAndDobMatch?: string | null | undefined;
1417
+ addressMatch?: string | null | undefined;
1418
+ ddCapable?: string | null | undefined;
1419
+ failedMessage?: string | null | undefined;
1420
+ } | null | undefined;
1405
1421
  }) | null | undefined;
1406
1422
  serialName?: string | null | undefined;
1407
1423
  ukPassportProfessionLid?: mongoose.Types.ObjectId | null | undefined;
@@ -1557,6 +1573,14 @@ declare const ApplicantModel: mongoose.Model<{
1557
1573
  sortCode?: string | null | undefined;
1558
1574
  selectedPaymentDay?: string | null | undefined;
1559
1575
  Applicants?: string | null | undefined;
1576
+ bankWizardCheck?: {
1577
+ validation?: string | null | undefined;
1578
+ status?: string | null | undefined;
1579
+ nameAndDobMatch?: string | null | undefined;
1580
+ addressMatch?: string | null | undefined;
1581
+ ddCapable?: string | null | undefined;
1582
+ failedMessage?: string | null | undefined;
1583
+ } | null | undefined;
1560
1584
  }) | null | undefined;
1561
1585
  serialName?: string | null | undefined;
1562
1586
  ukPassportProfessionLid?: mongoose.Types.ObjectId | null | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"applicant.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAOhC,OAAO,EAAE,KAAK,EAAe,MA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA+C,CAAC;AACpE,eAAe,cAAc,CAAC"}
@@ -61,6 +61,8 @@ declare const ApplicationModel: mongoose.Model<{
61
61
  underwriter: string;
62
62
  isValuationFeePaid: string;
63
63
  withdrawalReasonLid: mongoose.Types.ObjectId;
64
+ declineReasonLid: mongoose.Types.ObjectId;
65
+ isPortfolioConfirmed: boolean;
64
66
  securityId: mongoose.Types.ObjectId;
65
67
  solicitorId: mongoose.Types.ObjectId;
66
68
  newAuditRecordsCount: number;
@@ -135,6 +137,8 @@ declare const ApplicationModel: mongoose.Model<{
135
137
  underwriter: string;
136
138
  isValuationFeePaid: string;
137
139
  withdrawalReasonLid: mongoose.Types.ObjectId;
140
+ declineReasonLid: mongoose.Types.ObjectId;
141
+ isPortfolioConfirmed: boolean;
138
142
  securityId: mongoose.Types.ObjectId;
139
143
  solicitorId: mongoose.Types.ObjectId;
140
144
  newAuditRecordsCount: number;
@@ -209,6 +213,8 @@ declare const ApplicationModel: mongoose.Model<{
209
213
  underwriter: string;
210
214
  isValuationFeePaid: string;
211
215
  withdrawalReasonLid: mongoose.Types.ObjectId;
216
+ declineReasonLid: mongoose.Types.ObjectId;
217
+ isPortfolioConfirmed: boolean;
212
218
  securityId: mongoose.Types.ObjectId;
213
219
  solicitorId: mongoose.Types.ObjectId;
214
220
  newAuditRecordsCount: number;
@@ -295,6 +301,8 @@ declare const ApplicationModel: mongoose.Model<{
295
301
  underwriter: string;
296
302
  isValuationFeePaid: string;
297
303
  withdrawalReasonLid: mongoose.Types.ObjectId;
304
+ declineReasonLid: mongoose.Types.ObjectId;
305
+ isPortfolioConfirmed: boolean;
298
306
  securityId: mongoose.Types.ObjectId;
299
307
  solicitorId: mongoose.Types.ObjectId;
300
308
  newAuditRecordsCount: number;
@@ -369,6 +377,8 @@ declare const ApplicationModel: mongoose.Model<{
369
377
  underwriter: string;
370
378
  isValuationFeePaid: string;
371
379
  withdrawalReasonLid: mongoose.Types.ObjectId;
380
+ declineReasonLid: mongoose.Types.ObjectId;
381
+ isPortfolioConfirmed: boolean;
372
382
  securityId: mongoose.Types.ObjectId;
373
383
  solicitorId: mongoose.Types.ObjectId;
374
384
  newAuditRecordsCount: number;
@@ -443,6 +453,8 @@ declare const ApplicationModel: mongoose.Model<{
443
453
  underwriter: string;
444
454
  isValuationFeePaid: string;
445
455
  withdrawalReasonLid: mongoose.Types.ObjectId;
456
+ declineReasonLid: mongoose.Types.ObjectId;
457
+ isPortfolioConfirmed: boolean;
446
458
  securityId: mongoose.Types.ObjectId;
447
459
  solicitorId: mongoose.Types.ObjectId;
448
460
  newAuditRecordsCount: number;
@@ -1 +1 @@
1
- {"version":3,"file":"application.model.d.ts","sourceRoot":"","sources":["../../applications/application.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAsPhC,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;AAwPhC,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAmD,CAAC;AAC1E,eAAe,gBAAgB,CAAC"}
@@ -38,6 +38,8 @@ const applicationSchema = new mongoose.Schema({
38
38
  underwriter: { type: String, default: "" },
39
39
  isValuationFeePaid: { type: String, required: true },
40
40
  withdrawalReasonLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null },
41
+ declineReasonLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null },
42
+ isPortfolioConfirmed: { type: Boolean, default: false },
41
43
  productId: { type: mongoose.Schema.Types.ObjectId, ref: "Product", required: false },
42
44
  product: { type: String },
43
45
  securityId: { type: mongoose.Schema.Types.ObjectId, ref: "Security", required: true },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/gb-schemas",
3
- "version": "2.3.309",
3
+ "version": "2.3.311",
4
4
  "description": "All the schemas for gatehouse bank back-end",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",