@dynamatix/gb-schemas 1.2.132 → 1.2.134

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-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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0DhB,CAAC;AAEH,eAAe,YAAY,CAAC"}
@@ -30,7 +30,6 @@ const incomeSchema = new mongoose.Schema({
30
30
  isBusinessAddressDifferent: {
31
31
  type: Boolean,
32
32
  required: true,
33
- get: (v) => v ? "Yes" : "No"
34
33
  },
35
34
  nameOfBusiness: { type: String, required: true },
36
35
  natureOfBusiness: { type: String, required: true },
@@ -12,6 +12,7 @@ declare const ApplicationAuditModel: mongoose.Model<{
12
12
  applicationId: mongoose.Types.ObjectId;
13
13
  oldValue: string;
14
14
  newValue: string;
15
+ formEntityDescription: string;
15
16
  }, {}, {}, {}, mongoose.Document<unknown, {}, {
16
17
  createdAt: NativeDate;
17
18
  updatedAt: NativeDate;
@@ -25,6 +26,7 @@ declare const ApplicationAuditModel: mongoose.Model<{
25
26
  applicationId: mongoose.Types.ObjectId;
26
27
  oldValue: string;
27
28
  newValue: string;
29
+ formEntityDescription: string;
28
30
  }> & {
29
31
  createdAt: NativeDate;
30
32
  updatedAt: NativeDate;
@@ -38,6 +40,7 @@ declare const ApplicationAuditModel: mongoose.Model<{
38
40
  applicationId: mongoose.Types.ObjectId;
39
41
  oldValue: string;
40
42
  newValue: string;
43
+ formEntityDescription: string;
41
44
  } & {
42
45
  _id: mongoose.Types.ObjectId;
43
46
  } & {
@@ -57,6 +60,7 @@ declare const ApplicationAuditModel: mongoose.Model<{
57
60
  applicationId: mongoose.Types.ObjectId;
58
61
  oldValue: string;
59
62
  newValue: string;
63
+ formEntityDescription: string;
60
64
  }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
61
65
  createdAt: NativeDate;
62
66
  updatedAt: NativeDate;
@@ -70,6 +74,7 @@ declare const ApplicationAuditModel: mongoose.Model<{
70
74
  applicationId: mongoose.Types.ObjectId;
71
75
  oldValue: string;
72
76
  newValue: string;
77
+ formEntityDescription: string;
73
78
  }>> & mongoose.FlatRecord<{
74
79
  createdAt: NativeDate;
75
80
  updatedAt: NativeDate;
@@ -83,6 +88,7 @@ declare const ApplicationAuditModel: mongoose.Model<{
83
88
  applicationId: mongoose.Types.ObjectId;
84
89
  oldValue: string;
85
90
  newValue: string;
91
+ formEntityDescription: string;
86
92
  }> & {
87
93
  _id: mongoose.Types.ObjectId;
88
94
  } & {
@@ -1 +1 @@
1
- {"version":3,"file":"application-audit.model.d.ts","sourceRoot":"","sources":["../../applications/application-audit.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AA2ChC,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA6D,CAAC;AACzF,eAAe,qBAAqB,CAAC"}
1
+ {"version":3,"file":"application-audit.model.d.ts","sourceRoot":"","sources":["../../applications/application-audit.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AA+ChC,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA6D,CAAC;AACzF,eAAe,qBAAqB,CAAC"}
@@ -36,6 +36,10 @@ const applicationAuditSchema = new mongoose.Schema({
36
36
  newValue: {
37
37
  type: String,
38
38
  required: true
39
+ },
40
+ formEntityDescription: {
41
+ type: String,
42
+ required: true
39
43
  }
40
44
  }, { timestamps: true });
41
45
  const ApplicationAuditModel = mongoose.model('ApplicationAudit', applicationAuditSchema);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/gb-schemas",
3
- "version": "1.2.132",
3
+ "version": "1.2.134",
4
4
  "description": "All the schemas for gatehouse bank back-end",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",