@dynamatix/gb-schemas 1.3.346 → 1.3.347

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.
@@ -156,6 +156,7 @@ declare const ApplicantModel: mongoose.Model<{
156
156
  correspondenceAddressLine3?: unknown;
157
157
  correspondenceAddressPostCode?: unknown;
158
158
  countryOfResidenceLid?: mongoose.Types.ObjectId | null | undefined;
159
+ positionLid?: mongoose.Types.ObjectId | null | undefined;
159
160
  dateOfBirth?: unknown;
160
161
  dependant10Age?: unknown;
161
162
  dependant1Age?: unknown;
@@ -506,6 +507,7 @@ declare const ApplicantModel: mongoose.Model<{
506
507
  correspondenceAddressLine3?: unknown;
507
508
  correspondenceAddressPostCode?: unknown;
508
509
  countryOfResidenceLid?: mongoose.Types.ObjectId | null | undefined;
510
+ positionLid?: mongoose.Types.ObjectId | null | undefined;
509
511
  dateOfBirth?: unknown;
510
512
  dependant10Age?: unknown;
511
513
  dependant1Age?: unknown;
@@ -856,6 +858,7 @@ declare const ApplicantModel: mongoose.Model<{
856
858
  correspondenceAddressLine3?: unknown;
857
859
  correspondenceAddressPostCode?: unknown;
858
860
  countryOfResidenceLid?: mongoose.Types.ObjectId | null | undefined;
861
+ positionLid?: mongoose.Types.ObjectId | null | undefined;
859
862
  dateOfBirth?: unknown;
860
863
  dependant10Age?: unknown;
861
864
  dependant1Age?: unknown;
@@ -1119,6 +1122,7 @@ declare const ApplicantModel: mongoose.Model<{
1119
1122
  correspondenceAddressLine3: string;
1120
1123
  correspondenceAddressPostCode: string;
1121
1124
  countryOfResidenceLid: mongoose.Types.ObjectId;
1125
+ positionLid: mongoose.Types.ObjectId;
1122
1126
  dateOfBirth: string;
1123
1127
  dependant10Age: number;
1124
1128
  dependant1Age: number;
@@ -1274,6 +1278,7 @@ declare const ApplicantModel: mongoose.Model<{
1274
1278
  correspondenceAddressLine3: string;
1275
1279
  correspondenceAddressPostCode: string;
1276
1280
  countryOfResidenceLid: mongoose.Types.ObjectId;
1281
+ positionLid: mongoose.Types.ObjectId;
1277
1282
  dateOfBirth: string;
1278
1283
  dependant10Age: number;
1279
1284
  dependant1Age: number;
@@ -1429,6 +1434,7 @@ declare const ApplicantModel: mongoose.Model<{
1429
1434
  correspondenceAddressLine3: string;
1430
1435
  correspondenceAddressPostCode: string;
1431
1436
  countryOfResidenceLid: mongoose.Types.ObjectId;
1437
+ positionLid: mongoose.Types.ObjectId;
1432
1438
  dateOfBirth: string;
1433
1439
  dependant10Age: number;
1434
1440
  dependant1Age: number;
@@ -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,MAAM,wBAAwB,CAAC;AAkQ5D,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA+C,CAAC;AACpE,eAAe,cAAc,CAAC"}
@@ -24,6 +24,7 @@ const applicantSchema = new mongoose.Schema({
24
24
  correspondenceAddressLine3: { type: String, default: null },
25
25
  correspondenceAddressPostCode: { type: String, default: null },
26
26
  countryOfResidenceLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true },
27
+ positionLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true },
27
28
  dateOfBirth: { type: String, required: true },
28
29
  dependant10Age: { type: Number, default: 0 },
29
30
  dependant1Age: { type: Number, default: 0 },
@@ -432,6 +432,7 @@ declare const ApplicationCompanyModel: mongoose.Model<{
432
432
  registeredName?: unknown;
433
433
  businessTypeLid?: unknown;
434
434
  registeredNumber?: unknown;
435
+ isRegisteredNumber?: unknown;
435
436
  taxJurisdictionLid?: unknown;
436
437
  natureOfBusiness?: unknown;
437
438
  addressPostCode?: unknown;
@@ -862,6 +863,7 @@ declare const ApplicationCompanyModel: mongoose.Model<{
862
863
  registeredName?: unknown;
863
864
  businessTypeLid?: unknown;
864
865
  registeredNumber?: unknown;
866
+ isRegisteredNumber?: unknown;
865
867
  taxJurisdictionLid?: unknown;
866
868
  natureOfBusiness?: unknown;
867
869
  addressPostCode?: unknown;
@@ -1292,6 +1294,7 @@ declare const ApplicationCompanyModel: mongoose.Model<{
1292
1294
  registeredName?: unknown;
1293
1295
  businessTypeLid?: unknown;
1294
1296
  registeredNumber?: unknown;
1297
+ isRegisteredNumber?: unknown;
1295
1298
  taxJurisdictionLid?: unknown;
1296
1299
  natureOfBusiness?: unknown;
1297
1300
  addressPostCode?: unknown;
@@ -1369,6 +1372,7 @@ declare const ApplicationCompanyModel: mongoose.Model<{
1369
1372
  registeredName?: unknown;
1370
1373
  businessTypeLid?: unknown;
1371
1374
  registeredNumber?: unknown;
1375
+ isRegisteredNumber?: unknown;
1372
1376
  taxJurisdictionLid?: unknown;
1373
1377
  natureOfBusiness?: unknown;
1374
1378
  addressPostCode?: unknown;
@@ -1432,6 +1436,7 @@ declare const ApplicationCompanyModel: mongoose.Model<{
1432
1436
  registeredName?: unknown;
1433
1437
  businessTypeLid?: unknown;
1434
1438
  registeredNumber?: unknown;
1439
+ isRegisteredNumber?: unknown;
1435
1440
  taxJurisdictionLid?: unknown;
1436
1441
  natureOfBusiness?: unknown;
1437
1442
  addressPostCode?: unknown;
@@ -1495,6 +1500,7 @@ declare const ApplicationCompanyModel: mongoose.Model<{
1495
1500
  registeredName?: unknown;
1496
1501
  businessTypeLid?: unknown;
1497
1502
  registeredNumber?: unknown;
1503
+ isRegisteredNumber?: unknown;
1498
1504
  taxJurisdictionLid?: unknown;
1499
1505
  natureOfBusiness?: unknown;
1500
1506
  addressPostCode?: unknown;
@@ -1 +1 @@
1
- {"version":3,"file":"application-company-model.d.ts","sourceRoot":"","sources":["../../applications/application-company-model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAe,MAAM,0BAA0B,CAAA;AA6I7D,QAAA,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAsD,CAAC;AACpF,eAAe,uBAAuB,CAAC"}
@@ -16,6 +16,7 @@ const companySchema = new mongoose.Schema({
16
16
  registeredName: { type: String, required: true, maxlength: 70, default: '' }, // form
17
17
  businessTypeLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true }, // form
18
18
  registeredNumber: { type: AccountNumber, max: 99999999, default: 0 }, // form
19
+ isRegisteredNumber: { type: Boolean, default: false, }, // form
19
20
  taxJurisdictionLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true }, // form
20
21
  tradingSince: { type: String, default: null }, // form
21
22
  natureOfBusiness: { type: String, maxlength: 100, default: '' }, // form
@@ -51,6 +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
56
  isWorkflowTaskCreated: string;
55
57
  networkClubName: string;
56
58
  isNetworkClubSubmission: string;
@@ -117,6 +119,8 @@ declare const ApplicationModel: mongoose.Model<{
117
119
  isIntendToOccupy: string;
118
120
  isIntroducerSubmission: string;
119
121
  isBrokerAssigned: string;
122
+ intendToResideInProperty: boolean;
123
+ intendToLetProperty: boolean;
120
124
  isWorkflowTaskCreated: string;
121
125
  networkClubName: string;
122
126
  isNetworkClubSubmission: string;
@@ -183,6 +187,8 @@ declare const ApplicationModel: mongoose.Model<{
183
187
  isIntendToOccupy: string;
184
188
  isIntroducerSubmission: string;
185
189
  isBrokerAssigned: string;
190
+ intendToResideInProperty: boolean;
191
+ intendToLetProperty: boolean;
186
192
  isWorkflowTaskCreated: string;
187
193
  networkClubName: string;
188
194
  isNetworkClubSubmission: string;
@@ -261,6 +267,8 @@ declare const ApplicationModel: mongoose.Model<{
261
267
  isIntendToOccupy: string;
262
268
  isIntroducerSubmission: string;
263
269
  isBrokerAssigned: string;
270
+ intendToResideInProperty: boolean;
271
+ intendToLetProperty: boolean;
264
272
  isWorkflowTaskCreated: string;
265
273
  networkClubName: string;
266
274
  isNetworkClubSubmission: string;
@@ -327,6 +335,8 @@ declare const ApplicationModel: mongoose.Model<{
327
335
  isIntendToOccupy: string;
328
336
  isIntroducerSubmission: string;
329
337
  isBrokerAssigned: string;
338
+ intendToResideInProperty: boolean;
339
+ intendToLetProperty: boolean;
330
340
  isWorkflowTaskCreated: string;
331
341
  networkClubName: string;
332
342
  isNetworkClubSubmission: string;
@@ -393,6 +403,8 @@ declare const ApplicationModel: mongoose.Model<{
393
403
  isIntendToOccupy: string;
394
404
  isIntroducerSubmission: string;
395
405
  isBrokerAssigned: string;
406
+ intendToResideInProperty: boolean;
407
+ intendToLetProperty: boolean;
396
408
  isWorkflowTaskCreated: string;
397
409
  networkClubName: string;
398
410
  isNetworkClubSubmission: string;
@@ -1 +1 @@
1
- {"version":3,"file":"application.model.d.ts","sourceRoot":"","sources":["../../applications/application.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAgOhC,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;AA0OhC,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAmD,CAAC;AAC1E,eAAe,gBAAgB,CAAC"}
@@ -22,6 +22,16 @@ 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,
27
+ required: true,
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
+ },
30
+ intendToLetProperty: {
31
+ type: Boolean,
32
+ required: true,
33
+ description: "Do you intend to let the property?"
34
+ },
25
35
  isWorkflowTaskCreated: { type: String, required: true },
26
36
  lastUpdated: { type: String },
27
37
  lendingTypeLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true },
@@ -51,6 +51,7 @@ declare const SecurityModel: mongoose.Model<{
51
51
  houseNumberOfBathrooms: any;
52
52
  houseNumberOfTenancies: any;
53
53
  hasHousePlanningPermission: any;
54
+ isFirstHome: any;
54
55
  isGarage: any;
55
56
  isNewBuild: any;
56
57
  propertyAddressCity: any;
@@ -95,6 +96,7 @@ declare const SecurityModel: mongoose.Model<{
95
96
  houseNumberOfBathrooms: any;
96
97
  houseNumberOfTenancies: any;
97
98
  hasHousePlanningPermission: any;
99
+ isFirstHome: any;
98
100
  isGarage: any;
99
101
  isNewBuild: any;
100
102
  propertyAddressCity: any;
@@ -139,6 +141,7 @@ declare const SecurityModel: mongoose.Model<{
139
141
  houseNumberOfBathrooms: any;
140
142
  houseNumberOfTenancies: any;
141
143
  hasHousePlanningPermission: any;
144
+ isFirstHome: any;
142
145
  isGarage: any;
143
146
  isNewBuild: any;
144
147
  propertyAddressCity: any;
@@ -196,6 +199,7 @@ declare const SecurityModel: mongoose.Model<{
196
199
  houseNumberOfBathrooms: any;
197
200
  houseNumberOfTenancies: any;
198
201
  hasHousePlanningPermission: any;
202
+ isFirstHome: any;
199
203
  isGarage: any;
200
204
  isNewBuild: any;
201
205
  propertyAddressCity: any;
@@ -240,6 +244,7 @@ declare const SecurityModel: mongoose.Model<{
240
244
  houseNumberOfBathrooms: any;
241
245
  houseNumberOfTenancies: any;
242
246
  hasHousePlanningPermission: any;
247
+ isFirstHome: any;
243
248
  isGarage: any;
244
249
  isNewBuild: any;
245
250
  propertyAddressCity: any;
@@ -284,6 +289,7 @@ declare const SecurityModel: mongoose.Model<{
284
289
  houseNumberOfBathrooms: any;
285
290
  houseNumberOfTenancies: any;
286
291
  hasHousePlanningPermission: any;
292
+ isFirstHome: any;
287
293
  isGarage: any;
288
294
  isNewBuild: any;
289
295
  propertyAddressCity: any;
@@ -1 +1 @@
1
- {"version":3,"file":"security.model.d.ts","sourceRoot":"","sources":["../../properties/security.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,OAAO,QAAQ,MAAM,UAAU,CAAC;AA4JhC,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA6C,CAAC;AACjE,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"security.model.d.ts","sourceRoot":"","sources":["../../properties/security.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,OAAO,QAAQ,MAAM,UAAU,CAAC;AA6JhC,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA6C,CAAC;AACjE,eAAe,aAAa,CAAC"}
@@ -82,6 +82,7 @@ const securitySchema = new mongoose.Schema({
82
82
  houseNumberOfBathrooms: { type: Number, required: true, default: 0 }, // form
83
83
  houseNumberOfTenancies: { type: Number, required: true, default: 0 }, // form
84
84
  hasHousePlanningPermission: { type: Boolean, required: true, default: false }, // not-form securityData
85
+ isFirstHome: { type: Boolean, required: true, default: false }, // form
85
86
  isGarage: { type: Boolean, default: false }, // form
86
87
  isNewBuild: { type: Boolean, required: true, default: false }, // form
87
88
  propertyAddressCity: { type: String, default: '', maxlength: 30 }, // form
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/gb-schemas",
3
- "version": "1.3.346",
3
+ "version": "1.3.347",
4
4
  "description": "All the schemas for gatehouse bank back-end",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -21,7 +21,8 @@
21
21
  "check:applicants-employment": "node check-applicants-without-employment.js",
22
22
  "delete:applications-by-type": "node delete-applications-by-type.js",
23
23
  "find:applications-many-audits": "node find-applications-with-many-audits.js",
24
- "update:apiconfigs-paths": "node scripts/update-apiconfigs-paths.js"
24
+ "update:apiconfigs-paths": "node scripts/update-apiconfigs-paths.js",
25
+ "seed:property-metadata": "node scripts/seed-property-metadata.js"
25
26
  },
26
27
  "repository": {
27
28
  "type": "git",
@@ -34,7 +35,7 @@
34
35
  },
35
36
  "homepage": "https://github.com/DynamatixAnalyticsPvtLtd/gb-schemas#readme",
36
37
  "dependencies": {
37
- "@dynamatix/cat-shared": "^0.0.121",
38
+ "@dynamatix/cat-shared": "^0.0.123",
38
39
  "@dynamatix/gb-schemas": "^1.3.256",
39
40
  "dotenv": "^16.4.5",
40
41
  "mongodb": "^6.14.2",