@dynamatix/gb-schemas 1.2.80 → 1.2.81
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.
- package/dist/applicants/applicant-employment-income.model.d.ts +201 -0
- package/dist/applicants/applicant-employment-income.model.d.ts.map +1 -0
- package/dist/applicants/applicant-employment-income.model.js +9 -0
- package/dist/applicants/applicant-employment.model.d.ts +0 -18
- package/dist/applicants/applicant-employment.model.d.ts.map +1 -1
- package/dist/applicants/applicant-employment.model.js +0 -6
- package/dist/applicants/applicant-income.model.d.ts +12 -0
- package/dist/applicants/applicant-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-income.model.js +5 -1
- package/dist/applicants/applicant.model.d.ts +0 -26
- package/dist/applicants/applicant.model.d.ts.map +1 -1
- package/dist/entities/applicants/applicant.entity.d.ts +148 -0
- package/dist/entities/applicants/applicant.entity.d.ts.map +1 -0
- package/dist/entities/applicants/applicant.entity.js +51 -0
- package/dist/entities/applicants/credit-card-commitment.entity.d.ts +16 -0
- package/dist/entities/applicants/credit-card-commitment.entity.d.ts.map +1 -0
- package/dist/entities/applicants/credit-card-commitment.entity.js +5 -0
- package/dist/entities/applicants/credit-data.entity.d.ts +19 -0
- package/dist/entities/applicants/credit-data.entity.d.ts.map +1 -0
- package/dist/entities/applicants/credit-data.entity.js +5 -0
- package/dist/entities/applicants/credit-profile.entity.d.ts +11 -0
- package/dist/entities/applicants/credit-profile.entity.d.ts.map +1 -0
- package/dist/entities/applicants/credit-profile.entity.js +5 -0
- package/dist/entities/applicants/direct-debit.entity.d.ts +25 -0
- package/dist/entities/applicants/direct-debit.entity.d.ts.map +1 -0
- package/dist/entities/applicants/direct-debit.entity.js +5 -0
- package/dist/entities/applicants/employment.entity.d.ts +61 -0
- package/dist/entities/applicants/employment.entity.d.ts.map +1 -0
- package/dist/entities/applicants/employment.entity.js +10 -0
- package/dist/entities/applicants/expenditure.entity.d.ts +24 -0
- package/dist/entities/applicants/expenditure.entity.d.ts.map +1 -0
- package/dist/entities/applicants/expenditure.entity.js +5 -0
- package/dist/entities/applicants/income-source.entity.d.ts +17 -0
- package/dist/entities/applicants/income-source.entity.d.ts.map +1 -0
- package/dist/entities/applicants/income-source.entity.js +5 -0
- package/dist/entities/applicants/income.entity.d.ts +54 -0
- package/dist/entities/applicants/income.entity.d.ts.map +1 -0
- package/dist/entities/applicants/income.entity.js +5 -0
- package/dist/entities/applicants/index.d.ts +20 -0
- package/dist/entities/applicants/index.d.ts.map +1 -0
- package/dist/entities/applicants/index.js +18 -0
- package/dist/entities/applicants/loan-commitment.entity.d.ts +20 -0
- package/dist/entities/applicants/loan-commitment.entity.d.ts.map +1 -0
- package/dist/entities/applicants/loan-commitment.entity.js +5 -0
- package/dist/entities/applicants/lookup.entity.d.ts +10 -0
- package/dist/entities/applicants/lookup.entity.d.ts.map +1 -0
- package/dist/entities/applicants/lookup.entity.js +5 -0
- package/dist/entities/applicants/mortgage-commitment.entity.d.ts +37 -0
- package/dist/entities/applicants/mortgage-commitment.entity.d.ts.map +1 -0
- package/dist/entities/applicants/mortgage-commitment.entity.js +19 -0
- package/dist/entities/applicants/other-income.entity.d.ts +41 -0
- package/dist/entities/applicants/other-income.entity.d.ts.map +1 -0
- package/dist/entities/applicants/other-income.entity.js +19 -0
- package/dist/entities/applicants/property-income.entity.d.ts +17 -0
- package/dist/entities/applicants/property-income.entity.d.ts.map +1 -0
- package/dist/entities/applicants/property-income.entity.js +5 -0
- package/dist/entities/applicants/residence-commitment.entity.d.ts +44 -0
- package/dist/entities/applicants/residence-commitment.entity.d.ts.map +1 -0
- package/dist/entities/applicants/residence-commitment.entity.js +19 -0
- package/dist/entities/applicants/risk-narrative.entity.d.ts +23 -0
- package/dist/entities/applicants/risk-narrative.entity.d.ts.map +1 -0
- package/dist/entities/applicants/risk-narrative.entity.js +5 -0
- package/dist/entities/applicants/secure-loan-commitment.entity.d.ts +21 -0
- package/dist/entities/applicants/secure-loan-commitment.entity.d.ts.map +1 -0
- package/dist/entities/applicants/secure-loan-commitment.entity.js +9 -0
- package/dist/entities/applicants/unsecured-loan-commitment.entity.d.ts +20 -0
- package/dist/entities/applicants/unsecured-loan-commitment.entity.d.ts.map +1 -0
- package/dist/entities/applicants/unsecured-loan-commitment.entity.js +10 -0
- package/dist/entities/applications/application-audit.entity.d.ts +18 -0
- package/dist/entities/applications/application-audit.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-audit.entity.js +5 -0
- package/dist/entities/applications/application-company.entity.d.ts +12 -0
- package/dist/entities/applications/application-company.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-company.entity.js +5 -0
- package/dist/entities/applications/application-direct-debit.entity.d.ts +12 -0
- package/dist/entities/applications/application-direct-debit.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-direct-debit.entity.js +5 -0
- package/dist/entities/applications/application-document.entity.d.ts +28 -0
- package/dist/entities/applications/application-document.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-document.entity.js +5 -0
- package/dist/entities/applications/application-fieldconfig.entity.d.ts +9 -0
- package/dist/entities/applications/application-fieldconfig.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-fieldconfig.entity.js +5 -0
- package/dist/entities/applications/application-illustration.entity.d.ts +8 -0
- package/dist/entities/applications/application-illustration.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-illustration.entity.js +5 -0
- package/dist/entities/applications/application-legal.entity.d.ts +9 -0
- package/dist/entities/applications/application-legal.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-legal.entity.js +5 -0
- package/dist/entities/applications/application-mortgage.entity.d.ts +55 -0
- package/dist/entities/applications/application-mortgage.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-mortgage.entity.js +27 -0
- package/dist/entities/applications/application-note.entity.d.ts +36 -0
- package/dist/entities/applications/application-note.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-note.entity.js +5 -0
- package/dist/entities/applications/application-offer.entity.d.ts +8 -0
- package/dist/entities/applications/application-offer.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-offer.entity.js +5 -0
- package/dist/entities/applications/application-onboarding.entity.d.ts +11 -0
- package/dist/entities/applications/application-onboarding.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-onboarding.entity.js +5 -0
- package/dist/entities/applications/application-product.entity.d.ts +33 -0
- package/dist/entities/applications/application-product.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-product.entity.js +5 -0
- package/dist/entities/applications/application-rationale.entity.d.ts +51 -0
- package/dist/entities/applications/application-rationale.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-rationale.entity.js +5 -0
- package/dist/entities/applications/application-risk-narrative.entity.d.ts +17 -0
- package/dist/entities/applications/application-risk-narrative.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-risk-narrative.entity.js +5 -0
- package/dist/entities/applications/application-valuation.entity.d.ts +18 -0
- package/dist/entities/applications/application-valuation.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-valuation.entity.js +5 -0
- package/dist/entities/applications/application.entity.d.ts +99 -0
- package/dist/entities/applications/application.entity.d.ts.map +1 -0
- package/dist/entities/applications/application.entity.js +66 -0
- package/dist/entities/applications/broker.entity.d.ts +23 -0
- package/dist/entities/applications/broker.entity.d.ts.map +1 -0
- package/dist/entities/applications/broker.entity.js +5 -0
- package/dist/entities/applications/checklist-item.entity.d.ts +47 -0
- package/dist/entities/applications/checklist-item.entity.d.ts.map +1 -0
- package/dist/entities/applications/checklist-item.entity.js +5 -0
- package/dist/entities/applications/company.entity.d.ts +77 -0
- package/dist/entities/applications/company.entity.d.ts.map +1 -0
- package/dist/entities/applications/company.entity.js +23 -0
- package/dist/entities/applications/credit-profile.entity.d.ts +11 -0
- package/dist/entities/applications/credit-profile.entity.d.ts.map +1 -0
- package/dist/entities/applications/credit-profile.entity.js +5 -0
- package/dist/entities/applications/index.d.ts +25 -0
- package/dist/entities/applications/index.d.ts.map +1 -0
- package/dist/entities/applications/index.js +23 -0
- package/dist/entities/applications/product-features.entity.d.ts +54 -0
- package/dist/entities/applications/product-features.entity.d.ts.map +1 -0
- package/dist/entities/applications/product-features.entity.js +5 -0
- package/dist/entities/applications/solicitor.entity.d.ts +33 -0
- package/dist/entities/applications/solicitor.entity.d.ts.map +1 -0
- package/dist/entities/applications/solicitor.entity.js +5 -0
- package/dist/entities/index.d.ts +10 -0
- package/dist/entities/index.d.ts.map +1 -0
- package/dist/entities/index.js +10 -0
- package/dist/entities/prisma.d.ts +3 -0
- package/dist/entities/prisma.d.ts.map +1 -0
- package/dist/entities/prisma.js +10 -0
- package/dist/entities/product-catalogues/index.d.ts +8 -0
- package/dist/entities/product-catalogues/index.d.ts.map +1 -0
- package/dist/entities/product-catalogues/index.js +6 -0
- package/dist/entities/product-catalogues/product-catalogue.entity.d.ts +22 -0
- package/dist/entities/product-catalogues/product-catalogue.entity.d.ts.map +1 -0
- package/dist/entities/product-catalogues/product-catalogue.entity.js +5 -0
- package/dist/entities/product-catalogues/product-definition.entity.d.ts +16 -0
- package/dist/entities/product-catalogues/product-definition.entity.d.ts.map +1 -0
- package/dist/entities/product-catalogues/product-definition.entity.js +5 -0
- package/dist/entities/product-catalogues/product-variant.entity.d.ts +14 -0
- package/dist/entities/product-catalogues/product-variant.entity.d.ts.map +1 -0
- package/dist/entities/product-catalogues/product-variant.entity.js +5 -0
- package/dist/entities/product-catalogues/product.entity.d.ts +11 -0
- package/dist/entities/product-catalogues/product.entity.d.ts.map +1 -0
- package/dist/entities/product-catalogues/product.entity.js +5 -0
- package/dist/entities/product-catalogues/rule.entity.d.ts +21 -0
- package/dist/entities/product-catalogues/rule.entity.d.ts.map +1 -0
- package/dist/entities/product-catalogues/rule.entity.js +5 -0
- package/dist/entities/properties/data-street.entity.d.ts +22 -0
- package/dist/entities/properties/data-street.entity.d.ts.map +1 -0
- package/dist/entities/properties/data-street.entity.js +5 -0
- package/dist/entities/properties/index.d.ts +6 -0
- package/dist/entities/properties/index.d.ts.map +1 -0
- package/dist/entities/properties/index.js +4 -0
- package/dist/entities/properties/property.entity.d.ts +30 -0
- package/dist/entities/properties/property.entity.d.ts.map +1 -0
- package/dist/entities/properties/property.entity.js +5 -0
- package/dist/entities/properties/security.entity.d.ts +57 -0
- package/dist/entities/properties/security.entity.d.ts.map +1 -0
- package/dist/entities/properties/security.entity.js +5 -0
- package/dist/entities/shared/alert.entity.d.ts +14 -0
- package/dist/entities/shared/alert.entity.d.ts.map +1 -0
- package/dist/entities/shared/alert.entity.js +5 -0
- package/dist/entities/shared/apprivo-sync-journey.entity.d.ts +16 -0
- package/dist/entities/shared/apprivo-sync-journey.entity.d.ts.map +1 -0
- package/dist/entities/shared/apprivo-sync-journey.entity.js +5 -0
- package/dist/entities/shared/checklist.entity.d.ts +15 -0
- package/dist/entities/shared/checklist.entity.d.ts.map +1 -0
- package/dist/entities/shared/checklist.entity.js +5 -0
- package/dist/entities/shared/document-type.entity.d.ts +9 -0
- package/dist/entities/shared/document-type.entity.d.ts.map +1 -0
- package/dist/entities/shared/document-type.entity.js +5 -0
- package/dist/entities/shared/index.d.ts +12 -0
- package/dist/entities/shared/index.d.ts.map +1 -0
- package/dist/entities/shared/index.js +10 -0
- package/dist/entities/shared/job-run.entity.d.ts +11 -0
- package/dist/entities/shared/job-run.entity.d.ts.map +1 -0
- package/dist/entities/shared/job-run.entity.js +5 -0
- package/dist/entities/shared/job-setting.entity.d.ts +11 -0
- package/dist/entities/shared/job-setting.entity.d.ts.map +1 -0
- package/dist/entities/shared/job-setting.entity.js +5 -0
- package/dist/entities/shared/lookup-group.entity.d.ts +11 -0
- package/dist/entities/shared/lookup-group.entity.d.ts.map +1 -0
- package/dist/entities/shared/lookup-group.entity.js +5 -0
- package/dist/entities/shared/lookup.entity.d.ts +14 -0
- package/dist/entities/shared/lookup.entity.d.ts.map +1 -0
- package/dist/entities/shared/lookup.entity.js +5 -0
- package/dist/entities/shared/system-parameter.entity.d.ts +10 -0
- package/dist/entities/shared/system-parameter.entity.d.ts.map +1 -0
- package/dist/entities/shared/system-parameter.entity.js +5 -0
- package/dist/entities/underwriter/index.d.ts +4 -0
- package/dist/entities/underwriter/index.d.ts.map +1 -0
- package/dist/entities/underwriter/index.js +2 -0
- package/dist/entities/underwriter/underwriter.entity.d.ts +16 -0
- package/dist/entities/underwriter/underwriter.entity.d.ts.map +1 -0
- package/dist/entities/underwriter/underwriter.entity.js +5 -0
- package/dist/entities/users/auth-log.entity.d.ts +11 -0
- package/dist/entities/users/auth-log.entity.d.ts.map +1 -0
- package/dist/entities/users/auth-log.entity.js +5 -0
- package/dist/entities/users/index.d.ts +8 -0
- package/dist/entities/users/index.d.ts.map +1 -0
- package/dist/entities/users/index.js +6 -0
- package/dist/entities/users/permission.entity.d.ts +12 -0
- package/dist/entities/users/permission.entity.d.ts.map +1 -0
- package/dist/entities/users/permission.entity.js +5 -0
- package/dist/entities/users/role-group.entity.d.ts +12 -0
- package/dist/entities/users/role-group.entity.d.ts.map +1 -0
- package/dist/entities/users/role-group.entity.js +5 -0
- package/dist/entities/users/role.entity.d.ts +14 -0
- package/dist/entities/users/role.entity.d.ts.map +1 -0
- package/dist/entities/users/role.entity.js +5 -0
- package/dist/entities/users/user.entity.d.ts +35 -0
- package/dist/entities/users/user.entity.d.ts.map +1 -0
- package/dist/entities/users/user.entity.js +10 -0
- package/package.json +1 -1
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
2
|
+
/// <reference types="mongoose/types/aggregate" />
|
|
3
|
+
/// <reference types="mongoose/types/callback" />
|
|
4
|
+
/// <reference types="mongoose/types/collection" />
|
|
5
|
+
/// <reference types="mongoose/types/connection" />
|
|
6
|
+
/// <reference types="mongoose/types/cursor" />
|
|
7
|
+
/// <reference types="mongoose/types/document" />
|
|
8
|
+
/// <reference types="mongoose/types/error" />
|
|
9
|
+
/// <reference types="mongoose/types/expressions" />
|
|
10
|
+
/// <reference types="mongoose/types/helpers" />
|
|
11
|
+
/// <reference types="mongoose/types/middlewares" />
|
|
12
|
+
/// <reference types="mongoose/types/indexes" />
|
|
13
|
+
/// <reference types="mongoose/types/models" />
|
|
14
|
+
/// <reference types="mongoose/types/mongooseoptions" />
|
|
15
|
+
/// <reference types="mongoose/types/pipelinestage" />
|
|
16
|
+
/// <reference types="mongoose/types/populate" />
|
|
17
|
+
/// <reference types="mongoose/types/query" />
|
|
18
|
+
/// <reference types="mongoose/types/schemaoptions" />
|
|
19
|
+
/// <reference types="mongoose/types/schematypes" />
|
|
20
|
+
/// <reference types="mongoose/types/session" />
|
|
21
|
+
/// <reference types="mongoose/types/types" />
|
|
22
|
+
/// <reference types="mongoose/types/utility" />
|
|
23
|
+
/// <reference types="mongoose/types/validation" />
|
|
24
|
+
/// <reference types="mongoose/types/virtuals" />
|
|
25
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
26
|
+
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
27
|
+
import mongoose from "mongoose";
|
|
28
|
+
import { Pound } from "../value-objects/pound";
|
|
29
|
+
declare const EmploymentIncomeModel: mongoose.Model<{
|
|
30
|
+
applicantId?: unknown;
|
|
31
|
+
amount?: {
|
|
32
|
+
validators: mongoose.Types.DocumentArray<{
|
|
33
|
+
type?: unknown;
|
|
34
|
+
message?: unknown;
|
|
35
|
+
validator?: unknown;
|
|
36
|
+
reason?: unknown;
|
|
37
|
+
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
38
|
+
type?: unknown;
|
|
39
|
+
message?: unknown;
|
|
40
|
+
validator?: unknown;
|
|
41
|
+
reason?: unknown;
|
|
42
|
+
}> & {
|
|
43
|
+
type?: unknown;
|
|
44
|
+
message?: unknown;
|
|
45
|
+
validator?: unknown;
|
|
46
|
+
reason?: unknown;
|
|
47
|
+
}>;
|
|
48
|
+
get?: {} | null | undefined;
|
|
49
|
+
schema?: {
|
|
50
|
+
[x: string]: unknown;
|
|
51
|
+
} | null | undefined;
|
|
52
|
+
set?: {} | null | undefined;
|
|
53
|
+
validate?: {} | null | undefined;
|
|
54
|
+
default?: {} | null | undefined;
|
|
55
|
+
text?: {} | null | undefined;
|
|
56
|
+
unique?: {} | null | undefined;
|
|
57
|
+
index?: {} | null | undefined;
|
|
58
|
+
sparse?: {} | null | undefined;
|
|
59
|
+
required?: {} | null | undefined;
|
|
60
|
+
ref?: {} | null | undefined;
|
|
61
|
+
cast?: {} | null | undefined;
|
|
62
|
+
select?: {} | null | undefined;
|
|
63
|
+
immutable?: {} | null | undefined;
|
|
64
|
+
transform?: {} | null | undefined;
|
|
65
|
+
options?: {
|
|
66
|
+
[x: string]: unknown;
|
|
67
|
+
} | null | undefined;
|
|
68
|
+
OptionsConstructor?: {
|
|
69
|
+
[x: string]: unknown;
|
|
70
|
+
} | null | undefined;
|
|
71
|
+
getEmbeddedSchemaType?: {} | null | undefined;
|
|
72
|
+
instance?: unknown;
|
|
73
|
+
isRequired?: unknown;
|
|
74
|
+
path?: unknown;
|
|
75
|
+
validateAll?: {} | null | undefined;
|
|
76
|
+
defaultOptions?: unknown;
|
|
77
|
+
} | null | undefined;
|
|
78
|
+
incomeTyppeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
79
|
+
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
80
|
+
applicantId?: unknown;
|
|
81
|
+
amount?: {
|
|
82
|
+
validators: mongoose.Types.DocumentArray<{
|
|
83
|
+
type?: unknown;
|
|
84
|
+
message?: unknown;
|
|
85
|
+
validator?: unknown;
|
|
86
|
+
reason?: unknown;
|
|
87
|
+
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
88
|
+
type?: unknown;
|
|
89
|
+
message?: unknown;
|
|
90
|
+
validator?: unknown;
|
|
91
|
+
reason?: unknown;
|
|
92
|
+
}> & {
|
|
93
|
+
type?: unknown;
|
|
94
|
+
message?: unknown;
|
|
95
|
+
validator?: unknown;
|
|
96
|
+
reason?: unknown;
|
|
97
|
+
}>;
|
|
98
|
+
get?: {} | null | undefined;
|
|
99
|
+
schema?: {
|
|
100
|
+
[x: string]: unknown;
|
|
101
|
+
} | null | undefined;
|
|
102
|
+
set?: {} | null | undefined;
|
|
103
|
+
validate?: {} | null | undefined;
|
|
104
|
+
default?: {} | null | undefined;
|
|
105
|
+
text?: {} | null | undefined;
|
|
106
|
+
unique?: {} | null | undefined;
|
|
107
|
+
index?: {} | null | undefined;
|
|
108
|
+
sparse?: {} | null | undefined;
|
|
109
|
+
required?: {} | null | undefined;
|
|
110
|
+
ref?: {} | null | undefined;
|
|
111
|
+
cast?: {} | null | undefined;
|
|
112
|
+
select?: {} | null | undefined;
|
|
113
|
+
immutable?: {} | null | undefined;
|
|
114
|
+
transform?: {} | null | undefined;
|
|
115
|
+
options?: {
|
|
116
|
+
[x: string]: unknown;
|
|
117
|
+
} | null | undefined;
|
|
118
|
+
OptionsConstructor?: {
|
|
119
|
+
[x: string]: unknown;
|
|
120
|
+
} | null | undefined;
|
|
121
|
+
getEmbeddedSchemaType?: {} | null | undefined;
|
|
122
|
+
instance?: unknown;
|
|
123
|
+
isRequired?: unknown;
|
|
124
|
+
path?: unknown;
|
|
125
|
+
validateAll?: {} | null | undefined;
|
|
126
|
+
defaultOptions?: unknown;
|
|
127
|
+
} | null | undefined;
|
|
128
|
+
incomeTyppeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
129
|
+
}> & {
|
|
130
|
+
applicantId?: unknown;
|
|
131
|
+
amount?: {
|
|
132
|
+
validators: mongoose.Types.DocumentArray<{
|
|
133
|
+
type?: unknown;
|
|
134
|
+
message?: unknown;
|
|
135
|
+
validator?: unknown;
|
|
136
|
+
reason?: unknown;
|
|
137
|
+
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
138
|
+
type?: unknown;
|
|
139
|
+
message?: unknown;
|
|
140
|
+
validator?: unknown;
|
|
141
|
+
reason?: unknown;
|
|
142
|
+
}> & {
|
|
143
|
+
type?: unknown;
|
|
144
|
+
message?: unknown;
|
|
145
|
+
validator?: unknown;
|
|
146
|
+
reason?: unknown;
|
|
147
|
+
}>;
|
|
148
|
+
get?: {} | null | undefined;
|
|
149
|
+
schema?: {
|
|
150
|
+
[x: string]: unknown;
|
|
151
|
+
} | null | undefined;
|
|
152
|
+
set?: {} | null | undefined;
|
|
153
|
+
validate?: {} | null | undefined;
|
|
154
|
+
default?: {} | null | undefined;
|
|
155
|
+
text?: {} | null | undefined;
|
|
156
|
+
unique?: {} | null | undefined;
|
|
157
|
+
index?: {} | null | undefined;
|
|
158
|
+
sparse?: {} | null | undefined;
|
|
159
|
+
required?: {} | null | undefined;
|
|
160
|
+
ref?: {} | null | undefined;
|
|
161
|
+
cast?: {} | null | undefined;
|
|
162
|
+
select?: {} | null | undefined;
|
|
163
|
+
immutable?: {} | null | undefined;
|
|
164
|
+
transform?: {} | null | undefined;
|
|
165
|
+
options?: {
|
|
166
|
+
[x: string]: unknown;
|
|
167
|
+
} | null | undefined;
|
|
168
|
+
OptionsConstructor?: {
|
|
169
|
+
[x: string]: unknown;
|
|
170
|
+
} | null | undefined;
|
|
171
|
+
getEmbeddedSchemaType?: {} | null | undefined;
|
|
172
|
+
instance?: unknown;
|
|
173
|
+
isRequired?: unknown;
|
|
174
|
+
path?: unknown;
|
|
175
|
+
validateAll?: {} | null | undefined;
|
|
176
|
+
defaultOptions?: unknown;
|
|
177
|
+
} | null | undefined;
|
|
178
|
+
incomeTyppeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
179
|
+
} & {
|
|
180
|
+
_id: mongoose.Types.ObjectId;
|
|
181
|
+
} & {
|
|
182
|
+
__v: number;
|
|
183
|
+
}, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
|
|
184
|
+
applicantId: string;
|
|
185
|
+
amount: Pound;
|
|
186
|
+
incomeTyppeLid: mongoose.Types.ObjectId;
|
|
187
|
+
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
188
|
+
applicantId: string;
|
|
189
|
+
amount: Pound;
|
|
190
|
+
incomeTyppeLid: mongoose.Types.ObjectId;
|
|
191
|
+
}>> & mongoose.FlatRecord<{
|
|
192
|
+
applicantId: string;
|
|
193
|
+
amount: Pound;
|
|
194
|
+
incomeTyppeLid: mongoose.Types.ObjectId;
|
|
195
|
+
}> & {
|
|
196
|
+
_id: mongoose.Types.ObjectId;
|
|
197
|
+
} & {
|
|
198
|
+
__v: number;
|
|
199
|
+
}>>;
|
|
200
|
+
export default EmploymentIncomeModel;
|
|
201
|
+
//# sourceMappingURL=applicant-employment-income.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"applicant-employment-income.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-employment-income.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAQ/C,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAuE,CAAC;AAEnG,eAAe,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import mongoose from "mongoose";
|
|
2
|
+
import { Pound } from "../value-objects/pound";
|
|
3
|
+
const employmentIncomeSchema = new mongoose.Schema({
|
|
4
|
+
applicantId: { type: String, required: true },
|
|
5
|
+
incomeTyppeLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true },
|
|
6
|
+
amount: { type: Pound, required: true },
|
|
7
|
+
});
|
|
8
|
+
const EmploymentIncomeModel = mongoose.model("Applicant_EmploymentIncome", employmentIncomeSchema);
|
|
9
|
+
export default EmploymentIncomeModel;
|
|
@@ -45,10 +45,6 @@ declare const applicantEmploymentSchema: mongoose.Schema<any, mongoose.Model<any
|
|
|
45
45
|
acceptableIncomeLids: mongoose.Types.ObjectId[];
|
|
46
46
|
averageBonusPreviousTwoYears: Pound;
|
|
47
47
|
basicGrossIncome: Pound;
|
|
48
|
-
basicPay: Pound;
|
|
49
|
-
carAllowance: Pound;
|
|
50
|
-
childBenefit: Pound;
|
|
51
|
-
childBenefitOrSchoolAllowance: Pound;
|
|
52
48
|
dateJoined: string;
|
|
53
49
|
disabilityLiving: Pound;
|
|
54
50
|
employerName: string;
|
|
@@ -75,8 +71,6 @@ declare const applicantEmploymentSchema: mongoose.Schema<any, mongoose.Model<any
|
|
|
75
71
|
previousNatureOfBusiness: string;
|
|
76
72
|
referenceContact: string;
|
|
77
73
|
referenceContactEmail: string;
|
|
78
|
-
secondJob: Pound;
|
|
79
|
-
travelAllowance: Pound;
|
|
80
74
|
underTerminationNoticeNote: string;
|
|
81
75
|
contractRemaining?: string | null | undefined;
|
|
82
76
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
@@ -91,10 +85,6 @@ declare const applicantEmploymentSchema: mongoose.Schema<any, mongoose.Model<any
|
|
|
91
85
|
acceptableIncomeLids: mongoose.Types.ObjectId[];
|
|
92
86
|
averageBonusPreviousTwoYears: Pound;
|
|
93
87
|
basicGrossIncome: Pound;
|
|
94
|
-
basicPay: Pound;
|
|
95
|
-
carAllowance: Pound;
|
|
96
|
-
childBenefit: Pound;
|
|
97
|
-
childBenefitOrSchoolAllowance: Pound;
|
|
98
88
|
dateJoined: string;
|
|
99
89
|
disabilityLiving: Pound;
|
|
100
90
|
employerName: string;
|
|
@@ -121,8 +111,6 @@ declare const applicantEmploymentSchema: mongoose.Schema<any, mongoose.Model<any
|
|
|
121
111
|
previousNatureOfBusiness: string;
|
|
122
112
|
referenceContact: string;
|
|
123
113
|
referenceContactEmail: string;
|
|
124
|
-
secondJob: Pound;
|
|
125
|
-
travelAllowance: Pound;
|
|
126
114
|
underTerminationNoticeNote: string;
|
|
127
115
|
contractRemaining?: string | null | undefined;
|
|
128
116
|
}>> & mongoose.FlatRecord<{
|
|
@@ -137,10 +125,6 @@ declare const applicantEmploymentSchema: mongoose.Schema<any, mongoose.Model<any
|
|
|
137
125
|
acceptableIncomeLids: mongoose.Types.ObjectId[];
|
|
138
126
|
averageBonusPreviousTwoYears: Pound;
|
|
139
127
|
basicGrossIncome: Pound;
|
|
140
|
-
basicPay: Pound;
|
|
141
|
-
carAllowance: Pound;
|
|
142
|
-
childBenefit: Pound;
|
|
143
|
-
childBenefitOrSchoolAllowance: Pound;
|
|
144
128
|
dateJoined: string;
|
|
145
129
|
disabilityLiving: Pound;
|
|
146
130
|
employerName: string;
|
|
@@ -167,8 +151,6 @@ declare const applicantEmploymentSchema: mongoose.Schema<any, mongoose.Model<any
|
|
|
167
151
|
previousNatureOfBusiness: string;
|
|
168
152
|
referenceContact: string;
|
|
169
153
|
referenceContactEmail: string;
|
|
170
|
-
secondJob: Pound;
|
|
171
|
-
travelAllowance: Pound;
|
|
172
154
|
underTerminationNoticeNote: string;
|
|
173
155
|
contractRemaining?: string | null | undefined;
|
|
174
156
|
}> & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicant-employment.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-employment.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAE/C,QAAA,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"applicant-employment.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-employment.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAE/C,QAAA,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+C7B,CAAC;AAEH,eAAe,yBAAyB,CAAC"}
|
|
@@ -11,10 +11,6 @@ const applicantEmploymentSchema = new mongoose.Schema({
|
|
|
11
11
|
addressPostCode: { type: String, required: true },
|
|
12
12
|
averageBonusPreviousTwoYears: { type: Pound, default: 0.00 },
|
|
13
13
|
basicGrossIncome: { type: Pound, default: 0.00 },
|
|
14
|
-
basicPay: { type: Pound, default: 0.00 },
|
|
15
|
-
carAllowance: { type: Pound, default: 0.00 },
|
|
16
|
-
childBenefit: { type: Pound, default: 0.00 },
|
|
17
|
-
childBenefitOrSchoolAllowance: { type: Pound, default: 0.00 },
|
|
18
14
|
contractRemaining: { type: String },
|
|
19
15
|
dateJoined: { type: String, required: true },
|
|
20
16
|
disabilityLiving: { type: Pound, default: 0.00 },
|
|
@@ -46,8 +42,6 @@ const applicantEmploymentSchema = new mongoose.Schema({
|
|
|
46
42
|
previousNatureOfBusiness: { type: String, required: true },
|
|
47
43
|
referenceContact: { type: String, default: null },
|
|
48
44
|
referenceContactEmail: { type: String, required: true },
|
|
49
|
-
secondJob: { type: Pound, default: 0.00 },
|
|
50
|
-
travelAllowance: { type: Pound, default: 0.00 },
|
|
51
45
|
underTerminationNoticeNote: { type: String, default: null }
|
|
52
46
|
}, {
|
|
53
47
|
toJSON: { getters: true },
|
|
@@ -81,6 +81,10 @@ declare const incomeSchema: mongoose.Schema<any, mongoose.Model<any, any, any, a
|
|
|
81
81
|
year1: Pound;
|
|
82
82
|
year2: Pound;
|
|
83
83
|
year3: Pound;
|
|
84
|
+
totalEmploymentGrossIncome: Pound;
|
|
85
|
+
totalEmploymentNetIncome: Pound;
|
|
86
|
+
isEmploymentIncomeConfirmed: boolean;
|
|
87
|
+
employmentIncomeRationale: string;
|
|
84
88
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
85
89
|
pageValidFlag: string;
|
|
86
90
|
businessTypeLid: mongoose.Types.ObjectId;
|
|
@@ -129,6 +133,10 @@ declare const incomeSchema: mongoose.Schema<any, mongoose.Model<any, any, any, a
|
|
|
129
133
|
year1: Pound;
|
|
130
134
|
year2: Pound;
|
|
131
135
|
year3: Pound;
|
|
136
|
+
totalEmploymentGrossIncome: Pound;
|
|
137
|
+
totalEmploymentNetIncome: Pound;
|
|
138
|
+
isEmploymentIncomeConfirmed: boolean;
|
|
139
|
+
employmentIncomeRationale: string;
|
|
132
140
|
}>> & mongoose.FlatRecord<{
|
|
133
141
|
pageValidFlag: string;
|
|
134
142
|
businessTypeLid: mongoose.Types.ObjectId;
|
|
@@ -177,6 +185,10 @@ declare const incomeSchema: mongoose.Schema<any, mongoose.Model<any, any, any, a
|
|
|
177
185
|
year1: Pound;
|
|
178
186
|
year2: Pound;
|
|
179
187
|
year3: Pound;
|
|
188
|
+
totalEmploymentGrossIncome: Pound;
|
|
189
|
+
totalEmploymentNetIncome: Pound;
|
|
190
|
+
isEmploymentIncomeConfirmed: boolean;
|
|
191
|
+
employmentIncomeRationale: string;
|
|
180
192
|
}> & {
|
|
181
193
|
_id: mongoose.Types.ObjectId;
|
|
182
194
|
} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicant-income.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-income.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAE/C,QAAA,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"applicant-income.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-income.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAE/C,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+DhB,CAAC;AAEH,eAAe,YAAY,CAAC"}
|
|
@@ -53,7 +53,11 @@ const incomeSchema = new mongoose.Schema({
|
|
|
53
53
|
year3: { type: Pound, default: 0.00 },
|
|
54
54
|
yearEnd1: { type: Number, default: '' },
|
|
55
55
|
yearEnd2: { type: Number, default: '' },
|
|
56
|
-
yearEnd3: { type: Number, default: '' }
|
|
56
|
+
yearEnd3: { type: Number, default: '' },
|
|
57
|
+
totalEmploymentGrossIncome: { type: Pound, default: 0.00 },
|
|
58
|
+
totalEmploymentNetIncome: { type: Pound, default: 0.00 },
|
|
59
|
+
isEmploymentIncomeConfirmed: { type: Boolean, default: false },
|
|
60
|
+
employmentIncomeRationale: { type: String, default: null },
|
|
57
61
|
}, {
|
|
58
62
|
toJSON: { getters: true },
|
|
59
63
|
toObject: { getters: true }
|
|
@@ -1,29 +1,3 @@
|
|
|
1
|
-
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
2
|
-
/// <reference types="mongoose/types/aggregate" />
|
|
3
|
-
/// <reference types="mongoose/types/callback" />
|
|
4
|
-
/// <reference types="mongoose/types/collection" />
|
|
5
|
-
/// <reference types="mongoose/types/connection" />
|
|
6
|
-
/// <reference types="mongoose/types/cursor" />
|
|
7
|
-
/// <reference types="mongoose/types/document" />
|
|
8
|
-
/// <reference types="mongoose/types/error" />
|
|
9
|
-
/// <reference types="mongoose/types/expressions" />
|
|
10
|
-
/// <reference types="mongoose/types/helpers" />
|
|
11
|
-
/// <reference types="mongoose/types/middlewares" />
|
|
12
|
-
/// <reference types="mongoose/types/indexes" />
|
|
13
|
-
/// <reference types="mongoose/types/models" />
|
|
14
|
-
/// <reference types="mongoose/types/mongooseoptions" />
|
|
15
|
-
/// <reference types="mongoose/types/pipelinestage" />
|
|
16
|
-
/// <reference types="mongoose/types/populate" />
|
|
17
|
-
/// <reference types="mongoose/types/query" />
|
|
18
|
-
/// <reference types="mongoose/types/schemaoptions" />
|
|
19
|
-
/// <reference types="mongoose/types/schematypes" />
|
|
20
|
-
/// <reference types="mongoose/types/session" />
|
|
21
|
-
/// <reference types="mongoose/types/types" />
|
|
22
|
-
/// <reference types="mongoose/types/utility" />
|
|
23
|
-
/// <reference types="mongoose/types/validation" />
|
|
24
|
-
/// <reference types="mongoose/types/virtuals" />
|
|
25
|
-
/// <reference types="mongoose/types/inferschematype" />
|
|
26
|
-
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
27
1
|
import mongoose from "mongoose";
|
|
28
2
|
import { Pound } from "../value-objects/pound";
|
|
29
3
|
declare const ApplicantModel: mongoose.Model<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicant.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant.model.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"applicant.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAWhC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAwP/C,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA+C,CAAC;AACpE,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import { ApplicationEntity } from '../applications/application.entity';
|
|
2
|
+
import { LookupEntity } from '../shared/lookup.entity';
|
|
3
|
+
import { RiskNarrativeEntity } from './risk-narrative.entity';
|
|
4
|
+
import { OtherIncomeEntity } from './other-income.entity';
|
|
5
|
+
import { IncomeSourceEntity } from './income-source.entity';
|
|
6
|
+
import { ExpenditureEntity } from './expenditure.entity';
|
|
7
|
+
import { EmploymentEntity } from './employment.entity';
|
|
8
|
+
import { DirectDebitEntity } from './direct-debit.entity';
|
|
9
|
+
import { CreditProfileEntity } from './credit-profile.entity';
|
|
10
|
+
import { PropertyIncomeEntity } from './property-income.entity';
|
|
11
|
+
import { IncomeEntity } from './income.entity';
|
|
12
|
+
import { CreditDataEntity } from './credit-data.entity';
|
|
13
|
+
export declare class ApplicantEntity {
|
|
14
|
+
id: string;
|
|
15
|
+
applicantId: string;
|
|
16
|
+
applicationId: string;
|
|
17
|
+
addressCity?: string;
|
|
18
|
+
addressCountryLid?: string;
|
|
19
|
+
addressLine1?: string;
|
|
20
|
+
addressLine2?: string;
|
|
21
|
+
addressLine3?: string;
|
|
22
|
+
addressMovedDate?: string;
|
|
23
|
+
addressPostCode?: string;
|
|
24
|
+
correspondenceAddressCity?: string;
|
|
25
|
+
correspondenceAddressCountryLid?: string;
|
|
26
|
+
correspondenceAddressLine1?: string;
|
|
27
|
+
correspondenceAddressLine2?: string;
|
|
28
|
+
correspondenceAddressLine3?: string;
|
|
29
|
+
correspondenceAddressPostCode?: string;
|
|
30
|
+
countryOfResidenceLid: string;
|
|
31
|
+
dateOfBirth: string;
|
|
32
|
+
dependant10Age: number;
|
|
33
|
+
dependant1Age: number;
|
|
34
|
+
dependant2Age: number;
|
|
35
|
+
dependant3Age: number;
|
|
36
|
+
dependant4Age: number;
|
|
37
|
+
dependant5Age: number;
|
|
38
|
+
dependant6Age: number;
|
|
39
|
+
dependant7Age: number;
|
|
40
|
+
dependant8Age: number;
|
|
41
|
+
dependant9Age: number;
|
|
42
|
+
email: string;
|
|
43
|
+
employmentStatusDetails?: string;
|
|
44
|
+
firstName: string;
|
|
45
|
+
isFirstTimelandlord: boolean;
|
|
46
|
+
foreignIdForNationals?: string;
|
|
47
|
+
gdprEmail: boolean;
|
|
48
|
+
gdprPost: boolean;
|
|
49
|
+
gdprTelephone: boolean;
|
|
50
|
+
gdprTextMessage: boolean;
|
|
51
|
+
gender: string;
|
|
52
|
+
hasBrokerGivenConsentForVulnerabilities: boolean;
|
|
53
|
+
hasLinkedJurisdiction: boolean;
|
|
54
|
+
isCorrespondence: boolean;
|
|
55
|
+
isCommitmentConfirmed: boolean;
|
|
56
|
+
isCurrentContract: boolean;
|
|
57
|
+
isCustomerVulnerable: boolean;
|
|
58
|
+
isExpat: boolean;
|
|
59
|
+
isFirstApplicant: boolean;
|
|
60
|
+
isUkPassport: boolean;
|
|
61
|
+
isUkResident: boolean;
|
|
62
|
+
classLid?: string;
|
|
63
|
+
pageValidFlag: boolean;
|
|
64
|
+
lastName: string;
|
|
65
|
+
linkedJurisdictionCountryLid?: string;
|
|
66
|
+
linkedJurisdictionDetails?: string;
|
|
67
|
+
maidenName?: string;
|
|
68
|
+
maritalStatusLid: string;
|
|
69
|
+
mobileNumber?: string;
|
|
70
|
+
nationalityLid: string;
|
|
71
|
+
netIncome: number;
|
|
72
|
+
niNumber: string;
|
|
73
|
+
numberOfDependants: number;
|
|
74
|
+
isOneYearPrior: boolean;
|
|
75
|
+
phoneNumber?: string;
|
|
76
|
+
previous1AddressCity?: string;
|
|
77
|
+
previous1AddressCountryLid?: string;
|
|
78
|
+
previous1AddressLine1?: string;
|
|
79
|
+
previous1AddressLine2?: string;
|
|
80
|
+
previous1AddressLine3?: string;
|
|
81
|
+
previous1AddressMovedDate?: string;
|
|
82
|
+
previous1AddressPostCode?: string;
|
|
83
|
+
previous1AddressPropertyOwnedBy?: string;
|
|
84
|
+
previous2AddressCity?: string;
|
|
85
|
+
previous2AddressCountryLid?: string;
|
|
86
|
+
previous2AddressLine1?: string;
|
|
87
|
+
previous2AddressLine2?: string;
|
|
88
|
+
previous2AddressLine3?: string;
|
|
89
|
+
previous2AddressMovedDate?: string;
|
|
90
|
+
previous2AddressPostCode?: string;
|
|
91
|
+
previous2AddressPropertyOwnedBy?: string;
|
|
92
|
+
relationshipToOthers: string;
|
|
93
|
+
residentialStatusLid?: string;
|
|
94
|
+
retirementAge: string;
|
|
95
|
+
taxJurisdictionLid: string;
|
|
96
|
+
taxPayerLid: string;
|
|
97
|
+
timeResidedAtCountryOfResidence: number;
|
|
98
|
+
title: string;
|
|
99
|
+
isTwoYearPrior: boolean;
|
|
100
|
+
understandEnglish: boolean;
|
|
101
|
+
vulnerabilityNotes?: string;
|
|
102
|
+
vulnerabilityTypeLids: string[];
|
|
103
|
+
ukPassportProfessionLid?: string;
|
|
104
|
+
createdAt: Date;
|
|
105
|
+
updatedAt: Date;
|
|
106
|
+
application?: ApplicationEntity;
|
|
107
|
+
addressCountry?: LookupEntity;
|
|
108
|
+
correspondenceAddressCountry?: LookupEntity;
|
|
109
|
+
countryOfResidence?: LookupEntity;
|
|
110
|
+
class?: LookupEntity;
|
|
111
|
+
linkedJurisdictionCountry?: LookupEntity;
|
|
112
|
+
maritalStatus?: LookupEntity;
|
|
113
|
+
nationality?: LookupEntity;
|
|
114
|
+
previous1AddressCountry?: LookupEntity;
|
|
115
|
+
previous2AddressCountry?: LookupEntity;
|
|
116
|
+
residentialStatus?: LookupEntity;
|
|
117
|
+
taxJurisdiction?: LookupEntity;
|
|
118
|
+
taxPayer?: LookupEntity;
|
|
119
|
+
ukPassportProfession?: LookupEntity;
|
|
120
|
+
vulnerabilityTypes?: LookupEntity[];
|
|
121
|
+
creditData?: CreditDataEntity;
|
|
122
|
+
riskNarrative?: RiskNarrativeEntity;
|
|
123
|
+
otherIncome?: OtherIncomeEntity;
|
|
124
|
+
incomeSource?: IncomeSourceEntity;
|
|
125
|
+
expenditure?: ExpenditureEntity;
|
|
126
|
+
employment?: EmploymentEntity;
|
|
127
|
+
directDebit?: DirectDebitEntity;
|
|
128
|
+
creditProfile?: CreditProfileEntity;
|
|
129
|
+
propertyIncome?: PropertyIncomeEntity;
|
|
130
|
+
income?: IncomeEntity;
|
|
131
|
+
constructor(partial: Partial<ApplicantEntity>);
|
|
132
|
+
get nationalityName(): string | null;
|
|
133
|
+
get residenceName(): string | null;
|
|
134
|
+
get industryName(): string | null;
|
|
135
|
+
get employmentClassName(): string | null;
|
|
136
|
+
get addressCountryName(): string | null;
|
|
137
|
+
get previous1AddressCountryName(): string | null;
|
|
138
|
+
get previous2AddressCountryName(): string | null;
|
|
139
|
+
get maritalStatusName(): string | null;
|
|
140
|
+
get residentialStatusName(): string | null;
|
|
141
|
+
get taxPayerName(): string | null;
|
|
142
|
+
get vulnerabilityTypeNames(): string[] | null;
|
|
143
|
+
get fullName(): string;
|
|
144
|
+
get applicationTypeName(): string | null;
|
|
145
|
+
get lendingTypeName(): string | null;
|
|
146
|
+
get numberOfApplicants(): number | null;
|
|
147
|
+
}
|
|
148
|
+
//# sourceMappingURL=applicant.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"applicant.entity.d.ts","sourceRoot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AI,aAAa,IAAI,MAAM,GAAG,IAAI,CAEjC;IAED,IAAI,YAAY,IAAI,MAAM,GAAG,IAAI,CAEhC;IAED,IAAI,mBAAmB,IAAI,MAAM,GAAG,IAAI,CAEvC;IAED,IAAI,kBAAkB,IAAI,MAAM,GAAG,IAAI,CAEtC;IAED,IAAI,2BAA2B,IAAI,MAAM,GAAG,IAAI,CAE/C;IAED,IAAI,2BAA2B,IAAI,MAAM,GAAG,IAAI,CAE/C;IAED,IAAI,iBAAiB,IAAI,MAAM,GAAG,IAAI,CAErC;IAED,IAAI,qBAAqB,IAAI,MAAM,GAAG,IAAI,CAEzC;IAED,IAAI,YAAY,IAAI,MAAM,GAAG,IAAI,CAEhC;IAED,IAAI,sBAAsB,IAAI,MAAM,EAAE,GAAG,IAAI,CAE5C;IAED,IAAI,QAAQ,IAAI,MAAM,CAErB;IAED,IAAI,mBAAmB,IAAI,MAAM,GAAG,IAAI,CAEvC;IAED,IAAI,eAAe,IAAI,MAAM,GAAG,IAAI,CAEnC;IAED,IAAI,kBAAkB,IAAI,MAAM,GAAG,IAAI,CAEtC;CACJ"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export class ApplicantEntity {
|
|
2
|
+
constructor(partial) {
|
|
3
|
+
Object.assign(this, partial);
|
|
4
|
+
}
|
|
5
|
+
// Virtual fields from Mongoose model
|
|
6
|
+
get nationalityName() {
|
|
7
|
+
return this.nationality?.name ?? null;
|
|
8
|
+
}
|
|
9
|
+
get residenceName() {
|
|
10
|
+
return this.countryOfResidence?.name ?? null;
|
|
11
|
+
}
|
|
12
|
+
get industryName() {
|
|
13
|
+
return this.employment?.industry?.name ?? null;
|
|
14
|
+
}
|
|
15
|
+
get employmentClassName() {
|
|
16
|
+
return this.class?.name ?? null;
|
|
17
|
+
}
|
|
18
|
+
get addressCountryName() {
|
|
19
|
+
return this.addressCountry?.name ?? null;
|
|
20
|
+
}
|
|
21
|
+
get previous1AddressCountryName() {
|
|
22
|
+
return this.previous1AddressCountry?.name ?? null;
|
|
23
|
+
}
|
|
24
|
+
get previous2AddressCountryName() {
|
|
25
|
+
return this.previous2AddressCountry?.name ?? null;
|
|
26
|
+
}
|
|
27
|
+
get maritalStatusName() {
|
|
28
|
+
return this.maritalStatus?.name ?? null;
|
|
29
|
+
}
|
|
30
|
+
get residentialStatusName() {
|
|
31
|
+
return this.residentialStatus?.name ?? null;
|
|
32
|
+
}
|
|
33
|
+
get taxPayerName() {
|
|
34
|
+
return this.taxPayer?.name ?? null;
|
|
35
|
+
}
|
|
36
|
+
get vulnerabilityTypeNames() {
|
|
37
|
+
return this.vulnerabilityTypes?.map(v => v.name) ?? null;
|
|
38
|
+
}
|
|
39
|
+
get fullName() {
|
|
40
|
+
return `${this.firstName ?? ''} ${this.lastName ?? ''}`.trim();
|
|
41
|
+
}
|
|
42
|
+
get applicationTypeName() {
|
|
43
|
+
return this.application?.applicationType?.name ?? null;
|
|
44
|
+
}
|
|
45
|
+
get lendingTypeName() {
|
|
46
|
+
return this.application?.lendingType?.name ?? null;
|
|
47
|
+
}
|
|
48
|
+
get numberOfApplicants() {
|
|
49
|
+
return this.application?.applicants?.length ?? null;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare class CreditCardCommitmentEntity {
|
|
2
|
+
id: string;
|
|
3
|
+
applicantId: string;
|
|
4
|
+
commitmentId: string;
|
|
5
|
+
commitmentTypeLid?: string;
|
|
6
|
+
lenderName: string;
|
|
7
|
+
creditLimit: number;
|
|
8
|
+
outstandingBalance: number;
|
|
9
|
+
creditCardRepaymentTypeLid: string;
|
|
10
|
+
monthlyPayment: number;
|
|
11
|
+
jointNames: boolean;
|
|
12
|
+
createdAt: Date;
|
|
13
|
+
updatedAt: Date;
|
|
14
|
+
constructor(partial: Partial<CreditCardCommitmentEntity>);
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=credit-card-commitment.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"credit-card-commitment.entity.d.ts","sourceRoot":"","sources":["../../../entities/applicants/credit-card-commitment.entity.ts"],"names":[],"mappings":"AAAA,qBAAa,0BAA0B;IACnC,EAAE,EAAG,MAAM,CAAC;IACZ,WAAW,EAAG,MAAM,CAAC;IACrB,YAAY,EAAG,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,UAAU,EAAG,MAAM,CAAC;IACpB,WAAW,EAAG,MAAM,CAAC;IACrB,kBAAkB,EAAG,MAAM,CAAC;IAC5B,0BAA0B,EAAG,MAAM,CAAC;IACpC,cAAc,EAAG,MAAM,CAAC;IACxB,UAAU,EAAG,OAAO,CAAC;IACrB,SAAS,EAAG,IAAI,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;gBAEL,OAAO,EAAE,OAAO,CAAC,0BAA0B,CAAC;CAK3D"}
|