@dynamatix/gb-schemas 2.3.403 → 2.3.404

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.
@@ -28,6 +28,7 @@
28
28
  /// <reference types="mongoose/types/inferrawdoctype" />
29
29
  import mongoose from 'mongoose';
30
30
  declare const ApplicantCreditReportModel: mongoose.Model<{
31
+ comment: string;
31
32
  applicantId: mongoose.Types.ObjectId;
32
33
  applicantName: string;
33
34
  isConfirmed: boolean;
@@ -652,6 +653,7 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
652
653
  isEquifaxData: boolean;
653
654
  searchCriteriaDifferences: string;
654
655
  }, {}, {}, {}, mongoose.Document<unknown, {}, {
656
+ comment: string;
655
657
  applicantId: mongoose.Types.ObjectId;
656
658
  applicantName: string;
657
659
  isConfirmed: boolean;
@@ -1276,6 +1278,7 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
1276
1278
  isEquifaxData: boolean;
1277
1279
  searchCriteriaDifferences: string;
1278
1280
  }, {}> & {
1281
+ comment: string;
1279
1282
  applicantId: mongoose.Types.ObjectId;
1280
1283
  applicantName: string;
1281
1284
  isConfirmed: boolean;
@@ -1904,6 +1907,7 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
1904
1907
  } & {
1905
1908
  __v: number;
1906
1909
  }, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
1910
+ comment: string;
1907
1911
  applicantId: mongoose.Types.ObjectId;
1908
1912
  applicantName: string;
1909
1913
  isConfirmed: boolean;
@@ -2528,6 +2532,7 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
2528
2532
  isEquifaxData: boolean;
2529
2533
  searchCriteriaDifferences: string;
2530
2534
  }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
2535
+ comment: string;
2531
2536
  applicantId: mongoose.Types.ObjectId;
2532
2537
  applicantName: string;
2533
2538
  isConfirmed: boolean;
@@ -3152,6 +3157,7 @@ declare const ApplicantCreditReportModel: mongoose.Model<{
3152
3157
  isEquifaxData: boolean;
3153
3158
  searchCriteriaDifferences: string;
3154
3159
  }>, {}> & mongoose.FlatRecord<{
3160
+ comment: string;
3155
3161
  applicantId: mongoose.Types.ObjectId;
3156
3162
  applicantName: string;
3157
3163
  isConfirmed: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"applicant-credit-report.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-credit-report.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AA+IhC,QAAA,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAuE,CAAC;AACxG,eAAe,0BAA0B,CAAC"}
@@ -114,6 +114,7 @@ const applicantCreditReportSchema = new Schema({
114
114
  isConfirmed: { type: Boolean, default: false },
115
115
  searchDate: { type: Date, default: null },
116
116
  searchCriteriaDifferences: { type: String, default: "" },
117
+ comment: { type: String, default: "" },
117
118
  });
118
119
  // Apply workflow plugin to the schema
119
120
  applicantCreditReportSchema.index({ applicantId: 1 });
@@ -193,8 +193,6 @@ declare const ApplicantModel: mongoose.Model<{
193
193
  isExpat?: unknown;
194
194
  isFirstApplicant?: unknown;
195
195
  isUkPassport?: unknown;
196
- previousIsUkResident?: unknown;
197
- isOnsDataUpdated?: unknown;
198
196
  classLid?: mongoose.Types.ObjectId | null | undefined;
199
197
  linkedJurisdictionCountryLid?: mongoose.Types.ObjectId | null | undefined;
200
198
  linkedJurisdictionDetails?: unknown;
@@ -546,8 +544,6 @@ declare const ApplicantModel: mongoose.Model<{
546
544
  isExpat?: unknown;
547
545
  isFirstApplicant?: unknown;
548
546
  isUkPassport?: unknown;
549
- previousIsUkResident?: unknown;
550
- isOnsDataUpdated?: unknown;
551
547
  classLid?: mongoose.Types.ObjectId | null | undefined;
552
548
  linkedJurisdictionCountryLid?: mongoose.Types.ObjectId | null | undefined;
553
549
  linkedJurisdictionDetails?: unknown;
@@ -899,8 +895,6 @@ declare const ApplicantModel: mongoose.Model<{
899
895
  isExpat?: unknown;
900
896
  isFirstApplicant?: unknown;
901
897
  isUkPassport?: unknown;
902
- previousIsUkResident?: unknown;
903
- isOnsDataUpdated?: unknown;
904
898
  classLid?: mongoose.Types.ObjectId | null | undefined;
905
899
  linkedJurisdictionCountryLid?: mongoose.Types.ObjectId | null | undefined;
906
900
  linkedJurisdictionDetails?: unknown;
@@ -1165,8 +1159,6 @@ declare const ApplicantModel: mongoose.Model<{
1165
1159
  isExpat: boolean;
1166
1160
  isFirstApplicant: boolean;
1167
1161
  isUkPassport: boolean;
1168
- previousIsUkResident: boolean;
1169
- isOnsDataUpdated: boolean;
1170
1162
  classLid: mongoose.Types.ObjectId;
1171
1163
  linkedJurisdictionCountryLid: mongoose.Types.ObjectId;
1172
1164
  linkedJurisdictionDetails: string;
@@ -1322,8 +1314,6 @@ declare const ApplicantModel: mongoose.Model<{
1322
1314
  isExpat: boolean;
1323
1315
  isFirstApplicant: boolean;
1324
1316
  isUkPassport: boolean;
1325
- previousIsUkResident: boolean;
1326
- isOnsDataUpdated: boolean;
1327
1317
  classLid: mongoose.Types.ObjectId;
1328
1318
  linkedJurisdictionCountryLid: mongoose.Types.ObjectId;
1329
1319
  linkedJurisdictionDetails: string;
@@ -1479,8 +1469,6 @@ declare const ApplicantModel: mongoose.Model<{
1479
1469
  isExpat: boolean;
1480
1470
  isFirstApplicant: boolean;
1481
1471
  isUkPassport: boolean;
1482
- previousIsUkResident: boolean;
1483
- isOnsDataUpdated: boolean;
1484
1472
  classLid: mongoose.Types.ObjectId;
1485
1473
  linkedJurisdictionCountryLid: mongoose.Types.ObjectId;
1486
1474
  linkedJurisdictionDetails: string;
@@ -1 +1 @@
1
- {"version":3,"file":"applicant.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAOhC,OAAO,EAAE,KAAK,EAAe,MAAM,wBAAwB,CAAC;AAgS5D,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA+C,CAAC;AACpE,eAAe,cAAc,CAAC"}
@@ -103,14 +103,6 @@ const applicantSchema = new mongoose.Schema({
103
103
  type: Boolean,
104
104
  required: true,
105
105
  },
106
- previousIsUkResident: {
107
- type: Boolean,
108
- default: false,
109
- },
110
- isOnsDataUpdated: {
111
- type: Boolean,
112
- default: false
113
- },
114
106
  classLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null },
115
107
  isExpenseOwner: Boolean,
116
108
  pageValidFlag: { type: Boolean, default: false },
@@ -11,7 +11,7 @@ const lookupGroupSchema = new mongoose.Schema({
11
11
  type: mongoose.Schema.Types.ObjectId,
12
12
  ref: "Lookup", // References the Lookup collection
13
13
  },
14
- ],
14
+ ]
15
15
  });
16
16
  // Apply workflow plugin to the schema
17
17
  applyWorkflowPlugin(lookupGroupSchema, 'lookupgroup');
@@ -28,16 +28,19 @@
28
28
  /// <reference types="mongoose/types/inferrawdoctype" />
29
29
  import mongoose from "mongoose";
30
30
  declare const LookupModel: mongoose.Model<{
31
+ isActive: boolean;
31
32
  text: string;
32
33
  name: string;
33
34
  value?: string | null | undefined;
34
35
  lookupGroupId?: mongoose.Types.ObjectId | null | undefined;
35
36
  }, {}, {}, {}, mongoose.Document<unknown, {}, {
37
+ isActive: boolean;
36
38
  text: string;
37
39
  name: string;
38
40
  value?: string | null | undefined;
39
41
  lookupGroupId?: mongoose.Types.ObjectId | null | undefined;
40
42
  }, {}> & {
43
+ isActive: boolean;
41
44
  text: string;
42
45
  name: string;
43
46
  value?: string | null | undefined;
@@ -47,16 +50,19 @@ declare const LookupModel: mongoose.Model<{
47
50
  } & {
48
51
  __v: number;
49
52
  }, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
53
+ isActive: boolean;
50
54
  text: string;
51
55
  name: string;
52
56
  value?: string | null | undefined;
53
57
  lookupGroupId?: mongoose.Types.ObjectId | null | undefined;
54
58
  }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
59
+ isActive: boolean;
55
60
  text: string;
56
61
  name: string;
57
62
  value?: string | null | undefined;
58
63
  lookupGroupId?: mongoose.Types.ObjectId | null | undefined;
59
64
  }>, {}> & mongoose.FlatRecord<{
65
+ isActive: boolean;
60
66
  text: string;
61
67
  name: string;
62
68
  value?: string | null | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"lookup.model.d.ts","sourceRoot":"","sources":["../../shared/lookup.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAgChC,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAyC,CAAC;AAC3D,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"lookup.model.d.ts","sourceRoot":"","sources":["../../shared/lookup.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAqChC,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAyC,CAAC;AAC3D,eAAe,WAAW,CAAC"}
@@ -14,6 +14,11 @@ const lookupSchema = new mongoose.Schema({
14
14
  },
15
15
  value: {
16
16
  type: String
17
+ },
18
+ isActive: {
19
+ type: Boolean,
20
+ default: true,
21
+ description: "Whether the lookup is active"
17
22
  }
18
23
  });
19
24
  lookupSchema.index({ lookupGroupId: 1 });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/gb-schemas",
3
- "version": "2.3.403",
3
+ "version": "2.3.404",
4
4
  "description": "All the schemas for gatehouse bank back-end",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",