@dynamatix/gb-schemas 2.6.0 → 2.7.0

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":"application-mortgage.model.d.ts","sourceRoot":"","sources":["../../applications/application-mortgage.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAEhC,OAAO,EAAE,KAAK,EAAe,MAAM,wBAAwB,CAAC;AAoU5D,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA6C,CAAC;AAEjE,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"application-mortgage.model.d.ts","sourceRoot":"","sources":["../../applications/application-mortgage.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAEhC,OAAO,EAAE,KAAK,EAAe,MAAM,wBAAwB,CAAC;AAkT5D,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA6C,CAAC;AAEjE,eAAe,aAAa,CAAC"}
@@ -176,24 +176,6 @@ const mortgageSchema = new mongoose.Schema({
176
176
  sowOther: { type: String, default: "" },
177
177
  sowProperty: { type: String, default: "" },
178
178
  sowSalary: { type: String, default: "" },
179
- PropertyNotes: { type: String, default: "" },
180
- ActualPropertyValue: { type: Pound, default: 0.00, get: formatPound },
181
- PropertyBuiltType: { type: String, default: "" },
182
- hasLift: { type: String, default: "" },
183
- AgeofProperty: { type: Number },
184
- Dateofpropertybuilt: { type: String, default: null },
185
- PropertyType: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup" },
186
- RegistrationDateandTime: { type: String, default: null },
187
- Age: { type: String, default: "" },
188
- CountryMultiselect: { type: String, default: "" },
189
- PercentageofEPC: { type: String, default: "" },
190
- PropertyMarketValue: { type: Pound, default: 0.00, get: formatPound },
191
- propertyTypeLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup" },
192
- rationale: { type: String, default: "" },
193
- ApplicantSortcode: { type: String, default: "" },
194
- accountnumber: { type: String, default: "" },
195
- Postcode: { type: String, default: "" },
196
- AddressLine1: { type: String, default: "" },
197
179
  }, {
198
180
  timestamps: true,
199
181
  toJSON: { virtuals: true },
@@ -35,15 +35,6 @@ declare const SolicitorModel: mongoose.Model<{
35
35
  } & {
36
36
  applicationId: mongoose.Types.ObjectId;
37
37
  pageValidFlag: boolean;
38
- isUkResident: string;
39
- IsSolicitorCertified: string;
40
- ApplicantName: string;
41
- SolicitorEmail: string;
42
- SolicitorName: string;
43
- SolicitorDateOfBirth_Time: string;
44
- solicitorNotes: string;
45
- RationaleLabel: string;
46
- Rationale: string;
47
38
  addressPostCode?: string | null | undefined;
48
39
  addressLine1?: string | null | undefined;
49
40
  addressLine2?: string | null | undefined;
@@ -64,23 +55,12 @@ declare const SolicitorModel: mongoose.Model<{
64
55
  nameOfFirm?: string | null | undefined;
65
56
  signatory?: string | null | undefined;
66
57
  solicitorActing?: string | null | undefined;
67
- Solicitorpassedyear?: number | null | undefined;
68
- CountryofEducation?: mongoose.Types.ObjectId | null | undefined;
69
58
  }, {}, {}, {}, mongoose.Document<unknown, {}, {
70
59
  createdAt: NativeDate;
71
60
  updatedAt: NativeDate;
72
61
  } & {
73
62
  applicationId: mongoose.Types.ObjectId;
74
63
  pageValidFlag: boolean;
75
- isUkResident: string;
76
- IsSolicitorCertified: string;
77
- ApplicantName: string;
78
- SolicitorEmail: string;
79
- SolicitorName: string;
80
- SolicitorDateOfBirth_Time: string;
81
- solicitorNotes: string;
82
- RationaleLabel: string;
83
- Rationale: string;
84
64
  addressPostCode?: string | null | undefined;
85
65
  addressLine1?: string | null | undefined;
86
66
  addressLine2?: string | null | undefined;
@@ -101,23 +81,12 @@ declare const SolicitorModel: mongoose.Model<{
101
81
  nameOfFirm?: string | null | undefined;
102
82
  signatory?: string | null | undefined;
103
83
  solicitorActing?: string | null | undefined;
104
- Solicitorpassedyear?: number | null | undefined;
105
- CountryofEducation?: mongoose.Types.ObjectId | null | undefined;
106
84
  }, {}> & {
107
85
  createdAt: NativeDate;
108
86
  updatedAt: NativeDate;
109
87
  } & {
110
88
  applicationId: mongoose.Types.ObjectId;
111
89
  pageValidFlag: boolean;
112
- isUkResident: string;
113
- IsSolicitorCertified: string;
114
- ApplicantName: string;
115
- SolicitorEmail: string;
116
- SolicitorName: string;
117
- SolicitorDateOfBirth_Time: string;
118
- solicitorNotes: string;
119
- RationaleLabel: string;
120
- Rationale: string;
121
90
  addressPostCode?: string | null | undefined;
122
91
  addressLine1?: string | null | undefined;
123
92
  addressLine2?: string | null | undefined;
@@ -138,8 +107,6 @@ declare const SolicitorModel: mongoose.Model<{
138
107
  nameOfFirm?: string | null | undefined;
139
108
  signatory?: string | null | undefined;
140
109
  solicitorActing?: string | null | undefined;
141
- Solicitorpassedyear?: number | null | undefined;
142
- CountryofEducation?: mongoose.Types.ObjectId | null | undefined;
143
110
  } & {
144
111
  _id: mongoose.Types.ObjectId;
145
112
  } & {
@@ -158,15 +125,6 @@ declare const SolicitorModel: mongoose.Model<{
158
125
  } & {
159
126
  applicationId: mongoose.Types.ObjectId;
160
127
  pageValidFlag: boolean;
161
- isUkResident: string;
162
- IsSolicitorCertified: string;
163
- ApplicantName: string;
164
- SolicitorEmail: string;
165
- SolicitorName: string;
166
- SolicitorDateOfBirth_Time: string;
167
- solicitorNotes: string;
168
- RationaleLabel: string;
169
- Rationale: string;
170
128
  addressPostCode?: string | null | undefined;
171
129
  addressLine1?: string | null | undefined;
172
130
  addressLine2?: string | null | undefined;
@@ -187,23 +145,12 @@ declare const SolicitorModel: mongoose.Model<{
187
145
  nameOfFirm?: string | null | undefined;
188
146
  signatory?: string | null | undefined;
189
147
  solicitorActing?: string | null | undefined;
190
- Solicitorpassedyear?: number | null | undefined;
191
- CountryofEducation?: mongoose.Types.ObjectId | null | undefined;
192
148
  }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
193
149
  createdAt: NativeDate;
194
150
  updatedAt: NativeDate;
195
151
  } & {
196
152
  applicationId: mongoose.Types.ObjectId;
197
153
  pageValidFlag: boolean;
198
- isUkResident: string;
199
- IsSolicitorCertified: string;
200
- ApplicantName: string;
201
- SolicitorEmail: string;
202
- SolicitorName: string;
203
- SolicitorDateOfBirth_Time: string;
204
- solicitorNotes: string;
205
- RationaleLabel: string;
206
- Rationale: string;
207
154
  addressPostCode?: string | null | undefined;
208
155
  addressLine1?: string | null | undefined;
209
156
  addressLine2?: string | null | undefined;
@@ -224,23 +171,12 @@ declare const SolicitorModel: mongoose.Model<{
224
171
  nameOfFirm?: string | null | undefined;
225
172
  signatory?: string | null | undefined;
226
173
  solicitorActing?: string | null | undefined;
227
- Solicitorpassedyear?: number | null | undefined;
228
- CountryofEducation?: mongoose.Types.ObjectId | null | undefined;
229
174
  }>, {}> & mongoose.FlatRecord<{
230
175
  createdAt: NativeDate;
231
176
  updatedAt: NativeDate;
232
177
  } & {
233
178
  applicationId: mongoose.Types.ObjectId;
234
179
  pageValidFlag: boolean;
235
- isUkResident: string;
236
- IsSolicitorCertified: string;
237
- ApplicantName: string;
238
- SolicitorEmail: string;
239
- SolicitorName: string;
240
- SolicitorDateOfBirth_Time: string;
241
- solicitorNotes: string;
242
- RationaleLabel: string;
243
- Rationale: string;
244
180
  addressPostCode?: string | null | undefined;
245
181
  addressLine1?: string | null | undefined;
246
182
  addressLine2?: string | null | undefined;
@@ -261,8 +197,6 @@ declare const SolicitorModel: mongoose.Model<{
261
197
  nameOfFirm?: string | null | undefined;
262
198
  signatory?: string | null | undefined;
263
199
  solicitorActing?: string | null | undefined;
264
- Solicitorpassedyear?: number | null | undefined;
265
- CountryofEducation?: mongoose.Types.ObjectId | null | undefined;
266
200
  }> & {
267
201
  _id: mongoose.Types.ObjectId;
268
202
  } & {
@@ -1 +1 @@
1
- {"version":3,"file":"solicitor.model.d.ts","sourceRoot":"","sources":["../../applications/solicitor.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAGhC,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAyIhE,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA+C,CAAC;AACpE,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"solicitor.model.d.ts","sourceRoot":"","sources":["../../applications/solicitor.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAGhC,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AA8HhE,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA+C,CAAC;AACpE,eAAe,cAAc,CAAC"}
@@ -101,17 +101,6 @@ const solicitorSchema = new Schema({
101
101
  maxLength: 15,
102
102
  description: "Telephone number of the solicitor"
103
103
  },
104
- IsSolicitorCertified: { type: String, default: "" },
105
- ApplicantName: { type: String, default: "" },
106
- SolicitorEmail: { type: String, default: "" },
107
- SolicitorName: { type: String, default: "" },
108
- Solicitorpassedyear: { type: Number },
109
- SolicitorDateOfBirth_Time: { type: String, default: null },
110
- isUkResident: { type: String, default: "" },
111
- CountryofEducation: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup" },
112
- solicitorNotes: { type: String, default: "" },
113
- RationaleLabel: { type: String, default: "" },
114
- Rationale: { type: String, default: "" },
115
104
  }, {
116
105
  timestamps: true,
117
106
  toJSON: { virtuals: true },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/gb-schemas",
3
- "version": "2.6.0",
3
+ "version": "2.7.0",
4
4
  "description": "All the schemas for gatehouse bank back-end .",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",