@dynamatix/gb-schemas 1.3.339 → 1.3.340

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,31 +1,31 @@
1
1
  import mongoose from "mongoose";
2
2
  declare const creditProfileSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
3
- companyBankruptcyYes: string;
4
- companyBankruptcyNo: string;
5
- companyCCJInLastThreeYearYes: string;
6
- companyCCJInLastThreeYearNo: string;
7
- companyDefaultsInLastYearYes: string;
8
- companyDefaultsInLastYearNo: string;
9
- companyAnyVoluntaryEnforcedPossessionYes: string;
10
- companyAnyVoluntaryEnforcedPossessionNo: string;
3
+ companyBankruptcyYes: boolean;
4
+ companyBankruptcyNo: boolean;
5
+ companyCCJInLastThreeYearYes: boolean;
6
+ companyCCJInLastThreeYearNo: boolean;
7
+ companyDefaultsInLastYearYes: boolean;
8
+ companyDefaultsInLastYearNo: boolean;
9
+ companyAnyVoluntaryEnforcedPossessionYes: boolean;
10
+ companyAnyVoluntaryEnforcedPossessionNo: boolean;
11
11
  }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
12
- companyBankruptcyYes: string;
13
- companyBankruptcyNo: string;
14
- companyCCJInLastThreeYearYes: string;
15
- companyCCJInLastThreeYearNo: string;
16
- companyDefaultsInLastYearYes: string;
17
- companyDefaultsInLastYearNo: string;
18
- companyAnyVoluntaryEnforcedPossessionYes: string;
19
- companyAnyVoluntaryEnforcedPossessionNo: string;
12
+ companyBankruptcyYes: boolean;
13
+ companyBankruptcyNo: boolean;
14
+ companyCCJInLastThreeYearYes: boolean;
15
+ companyCCJInLastThreeYearNo: boolean;
16
+ companyDefaultsInLastYearYes: boolean;
17
+ companyDefaultsInLastYearNo: boolean;
18
+ companyAnyVoluntaryEnforcedPossessionYes: boolean;
19
+ companyAnyVoluntaryEnforcedPossessionNo: boolean;
20
20
  }>> & mongoose.FlatRecord<{
21
- companyBankruptcyYes: string;
22
- companyBankruptcyNo: string;
23
- companyCCJInLastThreeYearYes: string;
24
- companyCCJInLastThreeYearNo: string;
25
- companyDefaultsInLastYearYes: string;
26
- companyDefaultsInLastYearNo: string;
27
- companyAnyVoluntaryEnforcedPossessionYes: string;
28
- companyAnyVoluntaryEnforcedPossessionNo: string;
21
+ companyBankruptcyYes: boolean;
22
+ companyBankruptcyNo: boolean;
23
+ companyCCJInLastThreeYearYes: boolean;
24
+ companyCCJInLastThreeYearNo: boolean;
25
+ companyDefaultsInLastYearYes: boolean;
26
+ companyDefaultsInLastYearNo: boolean;
27
+ companyAnyVoluntaryEnforcedPossessionYes: boolean;
28
+ companyAnyVoluntaryEnforcedPossessionNo: boolean;
29
29
  }> & {
30
30
  _id: mongoose.Types.ObjectId;
31
31
  } & {
@@ -1,12 +1,12 @@
1
1
  import mongoose from "mongoose";
2
2
  const creditProfileSchema = new mongoose.Schema({
3
- companyAnyVoluntaryEnforcedPossessionNo: { type: String, default: false },
4
- companyAnyVoluntaryEnforcedPossessionYes: { type: String, default: "" },
5
- companyBankruptcyNo: { type: String, default: false },
6
- companyBankruptcyYes: { type: String, default: "" },
7
- companyCCJInLastThreeYearNo: { type: String, default: false },
8
- companyCCJInLastThreeYearYes: { type: String, default: "" },
9
- companyDefaultsInLastYearNo: { type: String, default: false },
10
- companyDefaultsInLastYearYes: { type: String, default: "" }
3
+ companyAnyVoluntaryEnforcedPossessionNo: { type: Boolean, default: false },
4
+ companyAnyVoluntaryEnforcedPossessionYes: { type: Boolean, default: "" },
5
+ companyBankruptcyNo: { type: Boolean, default: false },
6
+ companyBankruptcyYes: { type: Boolean, default: "" },
7
+ companyCCJInLastThreeYearNo: { type: Boolean, default: false },
8
+ companyCCJInLastThreeYearYes: { type: Boolean, default: "" },
9
+ companyDefaultsInLastYearNo: { type: Boolean, default: false },
10
+ companyDefaultsInLastYearYes: { type: Boolean, default: "" }
11
11
  });
12
12
  export default creditProfileSchema;
@@ -46,14 +46,14 @@ declare const ApplicationModel: mongoose.Model<{
46
46
  selectedProduct?: string | null | undefined;
47
47
  riskRating?: string | null | undefined;
48
48
  creditProfile?: {
49
- companyBankruptcyYes: string;
50
- companyBankruptcyNo: string;
51
- companyCCJInLastThreeYearYes: string;
52
- companyCCJInLastThreeYearNo: string;
53
- companyDefaultsInLastYearYes: string;
54
- companyDefaultsInLastYearNo: string;
55
- companyAnyVoluntaryEnforcedPossessionYes: string;
56
- companyAnyVoluntaryEnforcedPossessionNo: string;
49
+ companyBankruptcyYes: boolean;
50
+ companyBankruptcyNo: boolean;
51
+ companyCCJInLastThreeYearYes: boolean;
52
+ companyCCJInLastThreeYearNo: boolean;
53
+ companyDefaultsInLastYearYes: boolean;
54
+ companyDefaultsInLastYearNo: boolean;
55
+ companyAnyVoluntaryEnforcedPossessionYes: boolean;
56
+ companyAnyVoluntaryEnforcedPossessionNo: boolean;
57
57
  } | null | undefined;
58
58
  currentApprivoAuditId?: number | null | undefined;
59
59
  assignedToUserId?: mongoose.Types.ObjectId | null | undefined;
@@ -112,14 +112,14 @@ declare const ApplicationModel: mongoose.Model<{
112
112
  selectedProduct?: string | null | undefined;
113
113
  riskRating?: string | null | undefined;
114
114
  creditProfile?: {
115
- companyBankruptcyYes: string;
116
- companyBankruptcyNo: string;
117
- companyCCJInLastThreeYearYes: string;
118
- companyCCJInLastThreeYearNo: string;
119
- companyDefaultsInLastYearYes: string;
120
- companyDefaultsInLastYearNo: string;
121
- companyAnyVoluntaryEnforcedPossessionYes: string;
122
- companyAnyVoluntaryEnforcedPossessionNo: string;
115
+ companyBankruptcyYes: boolean;
116
+ companyBankruptcyNo: boolean;
117
+ companyCCJInLastThreeYearYes: boolean;
118
+ companyCCJInLastThreeYearNo: boolean;
119
+ companyDefaultsInLastYearYes: boolean;
120
+ companyDefaultsInLastYearNo: boolean;
121
+ companyAnyVoluntaryEnforcedPossessionYes: boolean;
122
+ companyAnyVoluntaryEnforcedPossessionNo: boolean;
123
123
  } | null | undefined;
124
124
  currentApprivoAuditId?: number | null | undefined;
125
125
  assignedToUserId?: mongoose.Types.ObjectId | null | undefined;
@@ -178,14 +178,14 @@ declare const ApplicationModel: mongoose.Model<{
178
178
  selectedProduct?: string | null | undefined;
179
179
  riskRating?: string | null | undefined;
180
180
  creditProfile?: {
181
- companyBankruptcyYes: string;
182
- companyBankruptcyNo: string;
183
- companyCCJInLastThreeYearYes: string;
184
- companyCCJInLastThreeYearNo: string;
185
- companyDefaultsInLastYearYes: string;
186
- companyDefaultsInLastYearNo: string;
187
- companyAnyVoluntaryEnforcedPossessionYes: string;
188
- companyAnyVoluntaryEnforcedPossessionNo: string;
181
+ companyBankruptcyYes: boolean;
182
+ companyBankruptcyNo: boolean;
183
+ companyCCJInLastThreeYearYes: boolean;
184
+ companyCCJInLastThreeYearNo: boolean;
185
+ companyDefaultsInLastYearYes: boolean;
186
+ companyDefaultsInLastYearNo: boolean;
187
+ companyAnyVoluntaryEnforcedPossessionYes: boolean;
188
+ companyAnyVoluntaryEnforcedPossessionNo: boolean;
189
189
  } | null | undefined;
190
190
  currentApprivoAuditId?: number | null | undefined;
191
191
  assignedToUserId?: mongoose.Types.ObjectId | null | undefined;
@@ -256,14 +256,14 @@ declare const ApplicationModel: mongoose.Model<{
256
256
  selectedProduct?: string | null | undefined;
257
257
  riskRating?: string | null | undefined;
258
258
  creditProfile?: {
259
- companyBankruptcyYes: string;
260
- companyBankruptcyNo: string;
261
- companyCCJInLastThreeYearYes: string;
262
- companyCCJInLastThreeYearNo: string;
263
- companyDefaultsInLastYearYes: string;
264
- companyDefaultsInLastYearNo: string;
265
- companyAnyVoluntaryEnforcedPossessionYes: string;
266
- companyAnyVoluntaryEnforcedPossessionNo: string;
259
+ companyBankruptcyYes: boolean;
260
+ companyBankruptcyNo: boolean;
261
+ companyCCJInLastThreeYearYes: boolean;
262
+ companyCCJInLastThreeYearNo: boolean;
263
+ companyDefaultsInLastYearYes: boolean;
264
+ companyDefaultsInLastYearNo: boolean;
265
+ companyAnyVoluntaryEnforcedPossessionYes: boolean;
266
+ companyAnyVoluntaryEnforcedPossessionNo: boolean;
267
267
  } | null | undefined;
268
268
  currentApprivoAuditId?: number | null | undefined;
269
269
  assignedToUserId?: mongoose.Types.ObjectId | null | undefined;
@@ -322,14 +322,14 @@ declare const ApplicationModel: mongoose.Model<{
322
322
  selectedProduct?: string | null | undefined;
323
323
  riskRating?: string | null | undefined;
324
324
  creditProfile?: {
325
- companyBankruptcyYes: string;
326
- companyBankruptcyNo: string;
327
- companyCCJInLastThreeYearYes: string;
328
- companyCCJInLastThreeYearNo: string;
329
- companyDefaultsInLastYearYes: string;
330
- companyDefaultsInLastYearNo: string;
331
- companyAnyVoluntaryEnforcedPossessionYes: string;
332
- companyAnyVoluntaryEnforcedPossessionNo: string;
325
+ companyBankruptcyYes: boolean;
326
+ companyBankruptcyNo: boolean;
327
+ companyCCJInLastThreeYearYes: boolean;
328
+ companyCCJInLastThreeYearNo: boolean;
329
+ companyDefaultsInLastYearYes: boolean;
330
+ companyDefaultsInLastYearNo: boolean;
331
+ companyAnyVoluntaryEnforcedPossessionYes: boolean;
332
+ companyAnyVoluntaryEnforcedPossessionNo: boolean;
333
333
  } | null | undefined;
334
334
  currentApprivoAuditId?: number | null | undefined;
335
335
  assignedToUserId?: mongoose.Types.ObjectId | null | undefined;
@@ -388,14 +388,14 @@ declare const ApplicationModel: mongoose.Model<{
388
388
  selectedProduct?: string | null | undefined;
389
389
  riskRating?: string | null | undefined;
390
390
  creditProfile?: {
391
- companyBankruptcyYes: string;
392
- companyBankruptcyNo: string;
393
- companyCCJInLastThreeYearYes: string;
394
- companyCCJInLastThreeYearNo: string;
395
- companyDefaultsInLastYearYes: string;
396
- companyDefaultsInLastYearNo: string;
397
- companyAnyVoluntaryEnforcedPossessionYes: string;
398
- companyAnyVoluntaryEnforcedPossessionNo: string;
391
+ companyBankruptcyYes: boolean;
392
+ companyBankruptcyNo: boolean;
393
+ companyCCJInLastThreeYearYes: boolean;
394
+ companyCCJInLastThreeYearNo: boolean;
395
+ companyDefaultsInLastYearYes: boolean;
396
+ companyDefaultsInLastYearNo: boolean;
397
+ companyAnyVoluntaryEnforcedPossessionYes: boolean;
398
+ companyAnyVoluntaryEnforcedPossessionNo: boolean;
399
399
  } | null | undefined;
400
400
  currentApprivoAuditId?: number | null | undefined;
401
401
  assignedToUserId?: mongoose.Types.ObjectId | null | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/gb-schemas",
3
- "version": "1.3.339",
3
+ "version": "1.3.340",
4
4
  "description": "All the schemas for gatehouse bank back-end",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",