@dynamatix/gb-schemas 1.3.347 → 1.3.348

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.
@@ -51,8 +51,8 @@ declare const ApplicationModel: mongoose.Model<{
51
51
  isIntendToOccupy: string;
52
52
  isIntroducerSubmission: string;
53
53
  isBrokerAssigned: string;
54
- intendToResideInProperty: boolean;
55
- intendToLetProperty: boolean;
54
+ intendToResideInPropertyLid: mongoose.Types.ObjectId;
55
+ intendToLetPropertyLid: mongoose.Types.ObjectId;
56
56
  isWorkflowTaskCreated: string;
57
57
  networkClubName: string;
58
58
  isNetworkClubSubmission: string;
@@ -119,8 +119,8 @@ declare const ApplicationModel: mongoose.Model<{
119
119
  isIntendToOccupy: string;
120
120
  isIntroducerSubmission: string;
121
121
  isBrokerAssigned: string;
122
- intendToResideInProperty: boolean;
123
- intendToLetProperty: boolean;
122
+ intendToResideInPropertyLid: mongoose.Types.ObjectId;
123
+ intendToLetPropertyLid: mongoose.Types.ObjectId;
124
124
  isWorkflowTaskCreated: string;
125
125
  networkClubName: string;
126
126
  isNetworkClubSubmission: string;
@@ -187,8 +187,8 @@ declare const ApplicationModel: mongoose.Model<{
187
187
  isIntendToOccupy: string;
188
188
  isIntroducerSubmission: string;
189
189
  isBrokerAssigned: string;
190
- intendToResideInProperty: boolean;
191
- intendToLetProperty: boolean;
190
+ intendToResideInPropertyLid: mongoose.Types.ObjectId;
191
+ intendToLetPropertyLid: mongoose.Types.ObjectId;
192
192
  isWorkflowTaskCreated: string;
193
193
  networkClubName: string;
194
194
  isNetworkClubSubmission: string;
@@ -267,8 +267,8 @@ declare const ApplicationModel: mongoose.Model<{
267
267
  isIntendToOccupy: string;
268
268
  isIntroducerSubmission: string;
269
269
  isBrokerAssigned: string;
270
- intendToResideInProperty: boolean;
271
- intendToLetProperty: boolean;
270
+ intendToResideInPropertyLid: mongoose.Types.ObjectId;
271
+ intendToLetPropertyLid: mongoose.Types.ObjectId;
272
272
  isWorkflowTaskCreated: string;
273
273
  networkClubName: string;
274
274
  isNetworkClubSubmission: string;
@@ -335,8 +335,8 @@ declare const ApplicationModel: mongoose.Model<{
335
335
  isIntendToOccupy: string;
336
336
  isIntroducerSubmission: string;
337
337
  isBrokerAssigned: string;
338
- intendToResideInProperty: boolean;
339
- intendToLetProperty: boolean;
338
+ intendToResideInPropertyLid: mongoose.Types.ObjectId;
339
+ intendToLetPropertyLid: mongoose.Types.ObjectId;
340
340
  isWorkflowTaskCreated: string;
341
341
  networkClubName: string;
342
342
  isNetworkClubSubmission: string;
@@ -403,8 +403,8 @@ declare const ApplicationModel: mongoose.Model<{
403
403
  isIntendToOccupy: string;
404
404
  isIntroducerSubmission: string;
405
405
  isBrokerAssigned: string;
406
- intendToResideInProperty: boolean;
407
- intendToLetProperty: boolean;
406
+ intendToResideInPropertyLid: mongoose.Types.ObjectId;
407
+ intendToLetPropertyLid: mongoose.Types.ObjectId;
408
408
  isWorkflowTaskCreated: string;
409
409
  networkClubName: string;
410
410
  isNetworkClubSubmission: string;
@@ -22,13 +22,13 @@ const applicationSchema = new mongoose.Schema({
22
22
  isIntroducerSubmission: { type: String, required: true },
23
23
  isBrokerAssigned: { type: String, default: false },
24
24
  isFinanceRecommendedToApplicant: { type: String, required: true },
25
- intendToResideInProperty: {
26
- type: Boolean,
25
+ intendToResideInPropertyLid: {
26
+ type: mongoose.Schema.Types.ObjectId, ref: "Lookup",
27
27
  required: true,
28
28
  description: "Do you or any close relative intend to reside in the property during the finance term? By selecting 'true', you confirm you hold specific HPP permissions with the FCA. These permissions are not required for Buy to Let business."
29
29
  },
30
- intendToLetProperty: {
31
- type: Boolean,
30
+ intendToLetPropertyLid: {
31
+ type: mongoose.Schema.Types.ObjectId, ref: "Lookup",
32
32
  required: true,
33
33
  description: "Do you intend to let the property?"
34
34
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/gb-schemas",
3
- "version": "1.3.347",
3
+ "version": "1.3.348",
4
4
  "description": "All the schemas for gatehouse bank back-end",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",