@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:
|
|
4
|
-
companyBankruptcyNo:
|
|
5
|
-
companyCCJInLastThreeYearYes:
|
|
6
|
-
companyCCJInLastThreeYearNo:
|
|
7
|
-
companyDefaultsInLastYearYes:
|
|
8
|
-
companyDefaultsInLastYearNo:
|
|
9
|
-
companyAnyVoluntaryEnforcedPossessionYes:
|
|
10
|
-
companyAnyVoluntaryEnforcedPossessionNo:
|
|
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:
|
|
13
|
-
companyBankruptcyNo:
|
|
14
|
-
companyCCJInLastThreeYearYes:
|
|
15
|
-
companyCCJInLastThreeYearNo:
|
|
16
|
-
companyDefaultsInLastYearYes:
|
|
17
|
-
companyDefaultsInLastYearNo:
|
|
18
|
-
companyAnyVoluntaryEnforcedPossessionYes:
|
|
19
|
-
companyAnyVoluntaryEnforcedPossessionNo:
|
|
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:
|
|
22
|
-
companyBankruptcyNo:
|
|
23
|
-
companyCCJInLastThreeYearYes:
|
|
24
|
-
companyCCJInLastThreeYearNo:
|
|
25
|
-
companyDefaultsInLastYearYes:
|
|
26
|
-
companyDefaultsInLastYearNo:
|
|
27
|
-
companyAnyVoluntaryEnforcedPossessionYes:
|
|
28
|
-
companyAnyVoluntaryEnforcedPossessionNo:
|
|
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:
|
|
4
|
-
companyAnyVoluntaryEnforcedPossessionYes: { type:
|
|
5
|
-
companyBankruptcyNo: { type:
|
|
6
|
-
companyBankruptcyYes: { type:
|
|
7
|
-
companyCCJInLastThreeYearNo: { type:
|
|
8
|
-
companyCCJInLastThreeYearYes: { type:
|
|
9
|
-
companyDefaultsInLastYearNo: { type:
|
|
10
|
-
companyDefaultsInLastYearYes: { type:
|
|
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:
|
|
50
|
-
companyBankruptcyNo:
|
|
51
|
-
companyCCJInLastThreeYearYes:
|
|
52
|
-
companyCCJInLastThreeYearNo:
|
|
53
|
-
companyDefaultsInLastYearYes:
|
|
54
|
-
companyDefaultsInLastYearNo:
|
|
55
|
-
companyAnyVoluntaryEnforcedPossessionYes:
|
|
56
|
-
companyAnyVoluntaryEnforcedPossessionNo:
|
|
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:
|
|
116
|
-
companyBankruptcyNo:
|
|
117
|
-
companyCCJInLastThreeYearYes:
|
|
118
|
-
companyCCJInLastThreeYearNo:
|
|
119
|
-
companyDefaultsInLastYearYes:
|
|
120
|
-
companyDefaultsInLastYearNo:
|
|
121
|
-
companyAnyVoluntaryEnforcedPossessionYes:
|
|
122
|
-
companyAnyVoluntaryEnforcedPossessionNo:
|
|
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:
|
|
182
|
-
companyBankruptcyNo:
|
|
183
|
-
companyCCJInLastThreeYearYes:
|
|
184
|
-
companyCCJInLastThreeYearNo:
|
|
185
|
-
companyDefaultsInLastYearYes:
|
|
186
|
-
companyDefaultsInLastYearNo:
|
|
187
|
-
companyAnyVoluntaryEnforcedPossessionYes:
|
|
188
|
-
companyAnyVoluntaryEnforcedPossessionNo:
|
|
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:
|
|
260
|
-
companyBankruptcyNo:
|
|
261
|
-
companyCCJInLastThreeYearYes:
|
|
262
|
-
companyCCJInLastThreeYearNo:
|
|
263
|
-
companyDefaultsInLastYearYes:
|
|
264
|
-
companyDefaultsInLastYearNo:
|
|
265
|
-
companyAnyVoluntaryEnforcedPossessionYes:
|
|
266
|
-
companyAnyVoluntaryEnforcedPossessionNo:
|
|
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:
|
|
326
|
-
companyBankruptcyNo:
|
|
327
|
-
companyCCJInLastThreeYearYes:
|
|
328
|
-
companyCCJInLastThreeYearNo:
|
|
329
|
-
companyDefaultsInLastYearYes:
|
|
330
|
-
companyDefaultsInLastYearNo:
|
|
331
|
-
companyAnyVoluntaryEnforcedPossessionYes:
|
|
332
|
-
companyAnyVoluntaryEnforcedPossessionNo:
|
|
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:
|
|
392
|
-
companyBankruptcyNo:
|
|
393
|
-
companyCCJInLastThreeYearYes:
|
|
394
|
-
companyCCJInLastThreeYearNo:
|
|
395
|
-
companyDefaultsInLastYearYes:
|
|
396
|
-
companyDefaultsInLastYearNo:
|
|
397
|
-
companyAnyVoluntaryEnforcedPossessionYes:
|
|
398
|
-
companyAnyVoluntaryEnforcedPossessionNo:
|
|
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;
|