@dynamatix/gb-schemas 1.3.349 → 1.3.350

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.
@@ -35,7 +35,6 @@ declare const ApplicationModel: mongoose.Model<{
35
35
  applicationTypeLid: mongoose.Types.ObjectId;
36
36
  applicants: mongoose.Types.ObjectId[];
37
37
  introducer: string;
38
- statusLid: mongoose.Types.ObjectId;
39
38
  queueId: mongoose.Types.ObjectId[];
40
39
  bankSolicitor: string;
41
40
  caseManager: string;
@@ -74,6 +73,7 @@ declare const ApplicationModel: mongoose.Model<{
74
73
  isFinanceRecommendedToApplicant?: string | null | undefined;
75
74
  product?: string | null | undefined;
76
75
  riskRating?: string | null | undefined;
76
+ statusLid?: mongoose.Types.ObjectId | null | undefined;
77
77
  currentApprivoAuditId?: number | null | undefined;
78
78
  assignedToUserId?: mongoose.Types.ObjectId | null | undefined;
79
79
  isApplicationFeePaid?: string | null | undefined;
@@ -103,7 +103,6 @@ declare const ApplicationModel: mongoose.Model<{
103
103
  applicationTypeLid: mongoose.Types.ObjectId;
104
104
  applicants: mongoose.Types.ObjectId[];
105
105
  introducer: string;
106
- statusLid: mongoose.Types.ObjectId;
107
106
  queueId: mongoose.Types.ObjectId[];
108
107
  bankSolicitor: string;
109
108
  caseManager: string;
@@ -142,6 +141,7 @@ declare const ApplicationModel: mongoose.Model<{
142
141
  isFinanceRecommendedToApplicant?: string | null | undefined;
143
142
  product?: string | null | undefined;
144
143
  riskRating?: string | null | undefined;
144
+ statusLid?: mongoose.Types.ObjectId | null | undefined;
145
145
  currentApprivoAuditId?: number | null | undefined;
146
146
  assignedToUserId?: mongoose.Types.ObjectId | null | undefined;
147
147
  isApplicationFeePaid?: string | null | undefined;
@@ -171,7 +171,6 @@ declare const ApplicationModel: mongoose.Model<{
171
171
  applicationTypeLid: mongoose.Types.ObjectId;
172
172
  applicants: mongoose.Types.ObjectId[];
173
173
  introducer: string;
174
- statusLid: mongoose.Types.ObjectId;
175
174
  queueId: mongoose.Types.ObjectId[];
176
175
  bankSolicitor: string;
177
176
  caseManager: string;
@@ -210,6 +209,7 @@ declare const ApplicationModel: mongoose.Model<{
210
209
  isFinanceRecommendedToApplicant?: string | null | undefined;
211
210
  product?: string | null | undefined;
212
211
  riskRating?: string | null | undefined;
212
+ statusLid?: mongoose.Types.ObjectId | null | undefined;
213
213
  currentApprivoAuditId?: number | null | undefined;
214
214
  assignedToUserId?: mongoose.Types.ObjectId | null | undefined;
215
215
  isApplicationFeePaid?: string | null | undefined;
@@ -251,7 +251,6 @@ declare const ApplicationModel: mongoose.Model<{
251
251
  applicationTypeLid: mongoose.Types.ObjectId;
252
252
  applicants: mongoose.Types.ObjectId[];
253
253
  introducer: string;
254
- statusLid: mongoose.Types.ObjectId;
255
254
  queueId: mongoose.Types.ObjectId[];
256
255
  bankSolicitor: string;
257
256
  caseManager: string;
@@ -290,6 +289,7 @@ declare const ApplicationModel: mongoose.Model<{
290
289
  isFinanceRecommendedToApplicant?: string | null | undefined;
291
290
  product?: string | null | undefined;
292
291
  riskRating?: string | null | undefined;
292
+ statusLid?: mongoose.Types.ObjectId | null | undefined;
293
293
  currentApprivoAuditId?: number | null | undefined;
294
294
  assignedToUserId?: mongoose.Types.ObjectId | null | undefined;
295
295
  isApplicationFeePaid?: string | null | undefined;
@@ -319,7 +319,6 @@ declare const ApplicationModel: mongoose.Model<{
319
319
  applicationTypeLid: mongoose.Types.ObjectId;
320
320
  applicants: mongoose.Types.ObjectId[];
321
321
  introducer: string;
322
- statusLid: mongoose.Types.ObjectId;
323
322
  queueId: mongoose.Types.ObjectId[];
324
323
  bankSolicitor: string;
325
324
  caseManager: string;
@@ -358,6 +357,7 @@ declare const ApplicationModel: mongoose.Model<{
358
357
  isFinanceRecommendedToApplicant?: string | null | undefined;
359
358
  product?: string | null | undefined;
360
359
  riskRating?: string | null | undefined;
360
+ statusLid?: mongoose.Types.ObjectId | null | undefined;
361
361
  currentApprivoAuditId?: number | null | undefined;
362
362
  assignedToUserId?: mongoose.Types.ObjectId | null | undefined;
363
363
  isApplicationFeePaid?: string | null | undefined;
@@ -387,7 +387,6 @@ declare const ApplicationModel: mongoose.Model<{
387
387
  applicationTypeLid: mongoose.Types.ObjectId;
388
388
  applicants: mongoose.Types.ObjectId[];
389
389
  introducer: string;
390
- statusLid: mongoose.Types.ObjectId;
391
390
  queueId: mongoose.Types.ObjectId[];
392
391
  bankSolicitor: string;
393
392
  caseManager: string;
@@ -426,6 +425,7 @@ declare const ApplicationModel: mongoose.Model<{
426
425
  isFinanceRecommendedToApplicant?: string | null | undefined;
427
426
  product?: string | null | undefined;
428
427
  riskRating?: string | null | undefined;
428
+ statusLid?: mongoose.Types.ObjectId | null | undefined;
429
429
  currentApprivoAuditId?: number | null | undefined;
430
430
  assignedToUserId?: mongoose.Types.ObjectId | null | undefined;
431
431
  isApplicationFeePaid?: string | null | undefined;
@@ -42,7 +42,7 @@ const applicationSchema = new mongoose.Schema({
42
42
  rejectedReason: { type: String, default: "" },
43
43
  repaymentTypeLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: false },
44
44
  selectedProduct: { type: String, required: false },
45
- statusLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true },
45
+ statusLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: false },
46
46
  submitReason: { type: String, default: "" },
47
47
  submittedDate: { type: String },
48
48
  underwriter: { type: String, default: "" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/gb-schemas",
3
- "version": "1.3.349",
3
+ "version": "1.3.350",
4
4
  "description": "All the schemas for gatehouse bank back-end",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",