@dynamatix/gb-schemas 1.2.35 → 1.2.37
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/dist/applications/application-direct-debit.model.d.ts.map +1 -1
- package/dist/applications/application-direct-debit.model.js +1 -2
- package/dist/applications/solicitor.model.d.ts.map +1 -1
- package/dist/applications/solicitor.model.js +0 -1
- package/dist/properties/property.model.d.ts +3 -3
- package/dist/properties/property.model.js +2 -2
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-direct-debit.model.d.ts","sourceRoot":"","sources":["../../applications/application-direct-debit.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"application-direct-debit.model.d.ts","sourceRoot":"","sources":["../../applications/application-direct-debit.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAkGtD,QAAA,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA0E,CAAC;AAC5G,eAAe,2BAA2B,CAAC"}
|
|
@@ -47,8 +47,7 @@ const applicationDirectDebitSchema = new mongoose.Schema({
|
|
|
47
47
|
isConfirmDeclaration: {
|
|
48
48
|
type: Boolean,
|
|
49
49
|
description: 'Whether the applicant has confirmed the declaration',
|
|
50
|
-
get: (value) => value ? 'Yes' : 'No'
|
|
51
|
-
set: (value) => value?.toLowerCase() === 'yes',
|
|
50
|
+
get: (value) => value ? 'Yes' : 'No'
|
|
52
51
|
},
|
|
53
52
|
nameOfAccountHolder: {
|
|
54
53
|
type: String,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"solicitor.model.d.ts","sourceRoot":"","sources":["../../applications/solicitor.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"solicitor.model.d.ts","sourceRoot":"","sources":["../../applications/solicitor.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAwHtD,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA+C,CAAC;AACpE,eAAe,cAAc,CAAC"}
|
|
@@ -1099,7 +1099,7 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
1099
1099
|
addressLine2?: string | null | undefined;
|
|
1100
1100
|
addressLine3?: string | null | undefined;
|
|
1101
1101
|
city?: string | null | undefined;
|
|
1102
|
-
associatedLoanParties?:
|
|
1102
|
+
associatedLoanParties?: mongoose.Types.ObjectId[] | null | undefined;
|
|
1103
1103
|
otherOwnershipParties?: string | null | undefined;
|
|
1104
1104
|
portfolioFile?: string | null | undefined;
|
|
1105
1105
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
@@ -1122,7 +1122,7 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
1122
1122
|
addressLine2?: string | null | undefined;
|
|
1123
1123
|
addressLine3?: string | null | undefined;
|
|
1124
1124
|
city?: string | null | undefined;
|
|
1125
|
-
associatedLoanParties?:
|
|
1125
|
+
associatedLoanParties?: mongoose.Types.ObjectId[] | null | undefined;
|
|
1126
1126
|
otherOwnershipParties?: string | null | undefined;
|
|
1127
1127
|
portfolioFile?: string | null | undefined;
|
|
1128
1128
|
}>> & mongoose.FlatRecord<{
|
|
@@ -1145,7 +1145,7 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
1145
1145
|
addressLine2?: string | null | undefined;
|
|
1146
1146
|
addressLine3?: string | null | undefined;
|
|
1147
1147
|
city?: string | null | undefined;
|
|
1148
|
-
associatedLoanParties?:
|
|
1148
|
+
associatedLoanParties?: mongoose.Types.ObjectId[] | null | undefined;
|
|
1149
1149
|
otherOwnershipParties?: string | null | undefined;
|
|
1150
1150
|
portfolioFile?: string | null | undefined;
|
|
1151
1151
|
}> & {
|
|
@@ -37,9 +37,9 @@ const propertySchema = new mongoose.Schema({
|
|
|
37
37
|
description: "Third line of the property address"
|
|
38
38
|
},
|
|
39
39
|
associatedLoanParties: {
|
|
40
|
-
type:
|
|
40
|
+
type: [mongoose.Schema.Types.ObjectId],
|
|
41
41
|
required: false,
|
|
42
|
-
description: "
|
|
42
|
+
description: "List of associated loan parties (either applicant or company)"
|
|
43
43
|
},
|
|
44
44
|
city: {
|
|
45
45
|
type: String,
|