@dynamatix/gb-schemas 1.2.71 → 1.2.73

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.
@@ -1 +1 @@
1
- {"version":3,"file":"applicant-employment.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-employment.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAE/C,QAAA,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsD7B,CAAC;AAEH,eAAe,yBAAyB,CAAC"}
1
+ {"version":3,"file":"applicant-employment.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-employment.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAE/C,QAAA,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqD7B,CAAC;AAEH,eAAe,yBAAyB,CAAC"}
@@ -25,7 +25,6 @@ const applicantEmploymentSchema = new mongoose.Schema({
25
25
  isUnderTerminationNotice: {
26
26
  type: Boolean,
27
27
  default: false,
28
- get: (v) => v ? "Yes" : "No"
29
28
  },
30
29
  jobTitleLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true },
31
30
  maintenance: { type: Pound, default: 0.00 },
@@ -1 +1 @@
1
- {"version":3,"file":"applicant-income.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-income.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAE/C,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2DhB,CAAC;AAEH,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"applicant-income.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-income.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAE/C,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyDhB,CAAC;AAEH,eAAe,YAAY,CAAC"}
@@ -25,12 +25,10 @@ const incomeSchema = new mongoose.Schema({
25
25
  doYouHaveAccountant: {
26
26
  type: Boolean,
27
27
  required: true,
28
- get: (v) => v ? "Yes" : "No"
29
28
  },
30
29
  isBusinessAddressDifferent: {
31
30
  type: Boolean,
32
31
  required: true,
33
- get: (v) => v ? "Yes" : "No"
34
32
  },
35
33
  nameOfBusiness: { type: String, required: true },
36
34
  natureOfBusiness: { type: String, required: true },
@@ -1 +1 @@
1
- {"version":3,"file":"applicant-other-income.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-other-income.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAE/C,QAAA,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiD9B,CAAC;AAEH,eAAe,0BAA0B,CAAC"}
1
+ {"version":3,"file":"applicant-other-income.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-other-income.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAE/C,QAAA,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6C9B,CAAC;AAEH,eAAe,0BAA0B,CAAC"}
@@ -8,7 +8,6 @@ const applicantOtherIncomeSchema = new mongoose.Schema({
8
8
  guaranteed1: {
9
9
  type: Boolean,
10
10
  default: false,
11
- get: (v) => v ? "Yes" : "No"
12
11
  },
13
12
  // Income Source 2
14
13
  sourceDetails2: { type: String, default: null },
@@ -17,7 +16,6 @@ const applicantOtherIncomeSchema = new mongoose.Schema({
17
16
  guaranteed2: {
18
17
  type: Boolean,
19
18
  default: false,
20
- get: (v) => v ? "Yes" : "No"
21
19
  },
22
20
  // Income Source 3
23
21
  sourceDetails3: { type: String, default: null },
@@ -26,7 +24,6 @@ const applicantOtherIncomeSchema = new mongoose.Schema({
26
24
  guaranteed3: {
27
25
  type: Boolean,
28
26
  default: false,
29
- get: (v) => v ? "Yes" : "No"
30
27
  },
31
28
  // Income Source 4
32
29
  sourceDetails4: { type: String, default: null },
@@ -35,7 +32,6 @@ const applicantOtherIncomeSchema = new mongoose.Schema({
35
32
  guaranteed4: {
36
33
  type: Boolean,
37
34
  default: false,
38
- get: (v) => v ? "Yes" : "No"
39
35
  },
40
36
  taxCredits: { type: Pound, default: 0.00 },
41
37
  maintenance: { type: Pound, default: 0.00 },
@@ -170,7 +170,7 @@ declare const ApplicantModel: mongoose.Model<{
170
170
  dependant9Age?: unknown;
171
171
  employmentStatusDetails?: unknown;
172
172
  isFirstTimelandlord?: unknown;
173
- foreignNationalsId?: unknown;
173
+ foreignIdForNationals?: unknown;
174
174
  gdprEmail?: unknown;
175
175
  gdprPost?: unknown;
176
176
  gdprTelephone?: unknown;
@@ -412,7 +412,7 @@ declare const ApplicantModel: mongoose.Model<{
412
412
  dependant9Age?: unknown;
413
413
  employmentStatusDetails?: unknown;
414
414
  isFirstTimelandlord?: unknown;
415
- foreignNationalsId?: unknown;
415
+ foreignIdForNationals?: unknown;
416
416
  gdprEmail?: unknown;
417
417
  gdprPost?: unknown;
418
418
  gdprTelephone?: unknown;
@@ -654,7 +654,7 @@ declare const ApplicantModel: mongoose.Model<{
654
654
  dependant9Age?: unknown;
655
655
  employmentStatusDetails?: unknown;
656
656
  isFirstTimelandlord?: unknown;
657
- foreignNationalsId?: unknown;
657
+ foreignIdForNationals?: unknown;
658
658
  gdprEmail?: unknown;
659
659
  gdprPost?: unknown;
660
660
  gdprTelephone?: unknown;
@@ -805,7 +805,7 @@ declare const ApplicantModel: mongoose.Model<{
805
805
  dependant9Age: number;
806
806
  employmentStatusDetails: string;
807
807
  isFirstTimelandlord: boolean;
808
- foreignNationalsId: string;
808
+ foreignIdForNationals: string;
809
809
  gdprEmail: boolean;
810
810
  gdprPost: boolean;
811
811
  gdprTelephone: boolean;
@@ -3489,7 +3489,7 @@ declare const ApplicantModel: mongoose.Model<{
3489
3489
  dependant9Age: number;
3490
3490
  employmentStatusDetails: string;
3491
3491
  isFirstTimelandlord: boolean;
3492
- foreignNationalsId: string;
3492
+ foreignIdForNationals: string;
3493
3493
  gdprEmail: boolean;
3494
3494
  gdprPost: boolean;
3495
3495
  gdprTelephone: boolean;
@@ -6173,7 +6173,7 @@ declare const ApplicantModel: mongoose.Model<{
6173
6173
  dependant9Age: number;
6174
6174
  employmentStatusDetails: string;
6175
6175
  isFirstTimelandlord: boolean;
6176
- foreignNationalsId: string;
6176
+ foreignIdForNationals: string;
6177
6177
  gdprEmail: boolean;
6178
6178
  gdprPost: boolean;
6179
6179
  gdprTelephone: boolean;
@@ -45,7 +45,7 @@ const applicantSchema = new mongoose.Schema({
45
45
  type: Boolean,
46
46
  default: false,
47
47
  },
48
- foreignNationalsId: { type: String, default: null },
48
+ foreignIdForNationals: { type: String, default: null },
49
49
  gdprEmail: {
50
50
  type: Boolean,
51
51
  default: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/gb-schemas",
3
- "version": "1.2.71",
3
+ "version": "1.2.73",
4
4
  "description": "All the schemas for gatehouse bank back-end",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",