@dynamatix/gb-schemas 1.2.23 → 1.2.24

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.
@@ -55,7 +55,7 @@ declare const ApplicationModel: mongoose.Model<{
55
55
  newReason: string;
56
56
  purchaseTypeLid: mongoose.Types.ObjectId;
57
57
  rejectedReason: string;
58
- sourceOfWealthLid: mongoose.Types.ObjectId;
58
+ sourceOfWealthLids: mongoose.Types.ObjectId[];
59
59
  sowBusiness: string;
60
60
  sowInheritance: string;
61
61
  sowOther: string;
@@ -243,7 +243,7 @@ declare const ApplicationModel: mongoose.Model<{
243
243
  newReason: string;
244
244
  purchaseTypeLid: mongoose.Types.ObjectId;
245
245
  rejectedReason: string;
246
- sourceOfWealthLid: mongoose.Types.ObjectId;
246
+ sourceOfWealthLids: mongoose.Types.ObjectId[];
247
247
  sowBusiness: string;
248
248
  sowInheritance: string;
249
249
  sowOther: string;
@@ -431,7 +431,7 @@ declare const ApplicationModel: mongoose.Model<{
431
431
  newReason: string;
432
432
  purchaseTypeLid: mongoose.Types.ObjectId;
433
433
  rejectedReason: string;
434
- sourceOfWealthLid: mongoose.Types.ObjectId;
434
+ sourceOfWealthLids: mongoose.Types.ObjectId[];
435
435
  sowBusiness: string;
436
436
  sowInheritance: string;
437
437
  sowOther: string;
@@ -631,7 +631,7 @@ declare const ApplicationModel: mongoose.Model<{
631
631
  newReason: string;
632
632
  purchaseTypeLid: mongoose.Types.ObjectId;
633
633
  rejectedReason: string;
634
- sourceOfWealthLid: mongoose.Types.ObjectId;
634
+ sourceOfWealthLids: mongoose.Types.ObjectId[];
635
635
  sowBusiness: string;
636
636
  sowInheritance: string;
637
637
  sowOther: string;
@@ -819,7 +819,7 @@ declare const ApplicationModel: mongoose.Model<{
819
819
  newReason: string;
820
820
  purchaseTypeLid: mongoose.Types.ObjectId;
821
821
  rejectedReason: string;
822
- sourceOfWealthLid: mongoose.Types.ObjectId;
822
+ sourceOfWealthLids: mongoose.Types.ObjectId[];
823
823
  sowBusiness: string;
824
824
  sowInheritance: string;
825
825
  sowOther: string;
@@ -1007,7 +1007,7 @@ declare const ApplicationModel: mongoose.Model<{
1007
1007
  newReason: string;
1008
1008
  purchaseTypeLid: mongoose.Types.ObjectId;
1009
1009
  rejectedReason: string;
1010
- sourceOfWealthLid: mongoose.Types.ObjectId;
1010
+ sourceOfWealthLids: mongoose.Types.ObjectId[];
1011
1011
  sowBusiness: string;
1012
1012
  sowInheritance: string;
1013
1013
  sowOther: string;
@@ -32,7 +32,7 @@ const applicationSchema = new mongoose.Schema({
32
32
  rejectedReason: { type: String, default: "" },
33
33
  repaymentTypeLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true },
34
34
  selectedProduct: { type: String, required: false },
35
- sourceOfWealthLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true },
35
+ sourceOfWealthLids: [{ type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true }],
36
36
  sowBusiness: { type: String, default: "" },
37
37
  sowInheritance: { type: String, default: "" },
38
38
  sowOther: { type: String, default: "" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/gb-schemas",
3
- "version": "1.2.23",
3
+ "version": "1.2.24",
4
4
  "description": "All the schemas for gatehouse bank back-end",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",