@dynamatix/gb-schemas 2.3.259 → 2.3.261

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.
@@ -31,6 +31,7 @@ declare const WelcomeCallModel: mongoose.Model<{
31
31
  createdAt: NativeDate;
32
32
  updatedAt: NativeDate;
33
33
  } & {
34
+ isActive: boolean;
34
35
  applicantId: mongoose.Types.ObjectId;
35
36
  applicantName: string;
36
37
  bepReference: string;
@@ -83,6 +84,7 @@ declare const WelcomeCallModel: mongoose.Model<{
83
84
  createdAt: NativeDate;
84
85
  updatedAt: NativeDate;
85
86
  } & {
87
+ isActive: boolean;
86
88
  applicantId: mongoose.Types.ObjectId;
87
89
  applicantName: string;
88
90
  bepReference: string;
@@ -135,6 +137,7 @@ declare const WelcomeCallModel: mongoose.Model<{
135
137
  createdAt: NativeDate;
136
138
  updatedAt: NativeDate;
137
139
  } & {
140
+ isActive: boolean;
138
141
  applicantId: mongoose.Types.ObjectId;
139
142
  applicantName: string;
140
143
  bepReference: string;
@@ -199,6 +202,7 @@ declare const WelcomeCallModel: mongoose.Model<{
199
202
  createdAt: NativeDate;
200
203
  updatedAt: NativeDate;
201
204
  } & {
205
+ isActive: boolean;
202
206
  applicantId: mongoose.Types.ObjectId;
203
207
  applicantName: string;
204
208
  bepReference: string;
@@ -251,6 +255,7 @@ declare const WelcomeCallModel: mongoose.Model<{
251
255
  createdAt: NativeDate;
252
256
  updatedAt: NativeDate;
253
257
  } & {
258
+ isActive: boolean;
254
259
  applicantId: mongoose.Types.ObjectId;
255
260
  applicantName: string;
256
261
  bepReference: string;
@@ -303,6 +308,7 @@ declare const WelcomeCallModel: mongoose.Model<{
303
308
  createdAt: NativeDate;
304
309
  updatedAt: NativeDate;
305
310
  } & {
311
+ isActive: boolean;
306
312
  applicantId: mongoose.Types.ObjectId;
307
313
  applicantName: string;
308
314
  bepReference: string;
@@ -1 +1 @@
1
- {"version":3,"file":"applicant-welcome-call.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-welcome-call.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAqYhC,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA4D,CAAC;AAEnF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"applicant-welcome-call.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-welcome-call.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AA2YhC,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA4D,CAAC;AAEnF,eAAe,gBAAgB,CAAC"}
@@ -77,7 +77,8 @@ const welcomeCallSchema = new mongoose.Schema({
77
77
  description: "Who will reside in the property? N.B. This should align with the finance type and other application details",
78
78
  default: null
79
79
  },
80
- propertyTypeStatusLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
80
+ propertyTypeStatusLid: {
81
+ type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null,
81
82
  description: "applicant to confirm type of property"
82
83
  },
83
84
  productFixedPeriodStatusLid: {
@@ -198,6 +199,11 @@ const welcomeCallSchema = new mongoose.Schema({
198
199
  type: String,
199
200
  description: "Failed Call Date",
200
201
  default: null
202
+ },
203
+ isActive: {
204
+ type: Boolean,
205
+ default: true,
206
+ description: "Welcome call active"
201
207
  }
202
208
  }, {
203
209
  timestamps: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/gb-schemas",
3
- "version": "2.3.259",
3
+ "version": "2.3.261",
4
4
  "description": "All the schemas for gatehouse bank back-end",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -35,7 +35,7 @@
35
35
  },
36
36
  "homepage": "https://github.com/DynamatixAnalyticsPvtLtd/gb-schemas#readme",
37
37
  "dependencies": {
38
- "@dynamatix/cat-shared": "^0.0.125",
38
+ "@dynamatix/cat-shared": "^0.0.126",
39
39
  "dotenv": "^16.4.5",
40
40
  "mongodb": "^6.14.2",
41
41
  "mongoose": "^8.9.5"