@dynamatix/gb-schemas 2.0.1 → 2.0.2
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-commitment-creditCard.model.d.ts +26 -0
- package/dist/applicants/applicant-commitment-creditCard.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-loan.model.d.ts +26 -0
- package/dist/applicants/applicant-commitment-loan.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-mortgage.model.d.ts +26 -0
- package/dist/applicants/applicant-commitment-mortgage.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-residence.model.d.ts +26 -0
- package/dist/applicants/applicant-commitment-residence.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-secureLoan.model.d.ts +26 -0
- package/dist/applicants/applicant-commitment-secureLoan.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-unsecuredLoan.model.d.ts +26 -0
- package/dist/applicants/applicant-commitment-unsecuredLoan.model.d.ts.map +1 -1
- package/dist/applicants/applicant-credit-data.model.d.ts +27 -0
- package/dist/applicants/applicant-credit-data.model.d.ts.map +1 -1
- package/dist/applicants/applicant-credit-profile.model.d.ts +27 -0
- package/dist/applicants/applicant-credit-profile.model.d.ts.map +1 -1
- package/dist/applicants/applicant-direct-debit.model.d.ts +27 -0
- package/dist/applicants/applicant-direct-debit.model.d.ts.map +1 -1
- 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 +26 -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-expenditure.model.d.ts +99 -50
- package/dist/applicants/applicant-expenditure.model.d.ts.map +1 -1
- package/dist/applicants/applicant-expenditure.model.js +49 -18
- package/dist/applicants/applicant-income-source.model.d.ts +27 -0
- package/dist/applicants/applicant-income-source.model.d.ts.map +1 -1
- package/dist/applicants/applicant-income.model.d.ts +38 -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-other-income.model.d.ts +26 -0
- package/dist/applicants/applicant-other-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-property-income.model.d.ts +26 -0
- package/dist/applicants/applicant-property-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-risk-narrative.model.d.ts +27 -0
- package/dist/applicants/applicant-risk-narrative.model.d.ts.map +1 -1
- package/dist/applicants/applicant.model.d.ts +716 -3096
- package/dist/applicants/applicant.model.d.ts.map +1 -1
- package/dist/applicants/applicant.model.js +0 -2
- package/dist/applicants/index.d.ts +2 -0
- package/dist/applicants/index.d.ts.map +1 -1
- package/dist/applicants/index.js +2 -0
- package/dist/applications/application-audit.model.d.ts +27 -0
- package/dist/applications/application-audit.model.d.ts.map +1 -1
- package/dist/applications/application-checklist-Item.model.d.ts +27 -0
- package/dist/applications/application-checklist-Item.model.d.ts.map +1 -1
- package/dist/applications/application-company-model.d.ts +26 -0
- package/dist/applications/application-company-model.d.ts.map +1 -1
- package/dist/applications/application-credit-profile.model.d.ts +27 -0
- package/dist/applications/application-credit-profile.model.d.ts.map +1 -1
- package/dist/applications/application-direct-debit.model.d.ts +26 -0
- package/dist/applications/application-direct-debit.model.d.ts.map +1 -1
- package/dist/applications/application-document.model.d.ts +27 -0
- package/dist/applications/application-document.model.d.ts.map +1 -1
- package/dist/applications/application-fieldconfig.model.d.ts +27 -0
- package/dist/applications/application-fieldconfig.model.d.ts.map +1 -1
- package/dist/applications/application-illustration-model.d.ts +27 -0
- package/dist/applications/application-illustration-model.d.ts.map +1 -1
- package/dist/applications/application-legal.model.d.ts +27 -0
- package/dist/applications/application-legal.model.d.ts.map +1 -1
- package/dist/applications/application-mortgage.model.d.ts +26 -0
- package/dist/applications/application-mortgage.model.d.ts.map +1 -1
- package/dist/applications/application-note.model.d.ts +27 -0
- package/dist/applications/application-note.model.d.ts.map +1 -1
- package/dist/applications/application-offer.model.d.ts +27 -0
- package/dist/applications/application-offer.model.d.ts.map +1 -1
- package/dist/applications/application-onboarding.model.d.ts +27 -0
- package/dist/applications/application-onboarding.model.d.ts.map +1 -1
- package/dist/applications/application-product.model.d.ts +27 -0
- package/dist/applications/application-product.model.d.ts.map +1 -1
- package/dist/applications/application-rationale.model.d.ts +27 -0
- package/dist/applications/application-rationale.model.d.ts.map +1 -1
- package/dist/applications/application-risk-narrative.model.d.ts +27 -0
- package/dist/applications/application-risk-narrative.model.d.ts.map +1 -1
- package/dist/applications/application-valuation.model.d.ts +27 -0
- package/dist/applications/application-valuation.model.d.ts.map +1 -1
- package/dist/applications/application.model.d.ts +27 -0
- package/dist/applications/application.model.d.ts.map +1 -1
- package/dist/applications/broker.model.d.ts +27 -0
- package/dist/applications/broker.model.d.ts.map +1 -1
- package/dist/applications/document.model.d.ts +27 -0
- package/dist/applications/document.model.d.ts.map +1 -1
- package/dist/applications/productfeatures.model.d.ts +27 -0
- package/dist/applications/productfeatures.model.d.ts.map +1 -1
- package/dist/applications/solicitor.model.d.ts +26 -0
- package/dist/applications/solicitor.model.d.ts.map +1 -1
- package/dist/entities/applicants/applicant.entity.d.ts +0 -3
- package/dist/entities/applicants/applicant.entity.d.ts.map +1 -1
- package/dist/entities/applicants/applicant.entity.js +0 -3
- package/dist/entities/applicants/employment.entity.d.ts +1 -3
- package/dist/entities/applicants/employment.entity.d.ts.map +1 -1
- package/dist/entities/applicants/employment.entity.js +1 -9
- package/dist/entities/applications/company.entity.d.ts +2 -2
- package/dist/entities/applications/solicitor.entity.d.ts +1 -1
- package/dist/entities/properties/property.entity.d.ts +2 -2
- package/dist/entities/properties/property.entity.d.ts.map +1 -1
- package/dist/product-catalogues/product-catalogue.model.d.ts +27 -0
- package/dist/product-catalogues/product-catalogue.model.d.ts.map +1 -1
- package/dist/product-catalogues/product-definitions.model.d.ts +27 -0
- package/dist/product-catalogues/product-definitions.model.d.ts.map +1 -1
- package/dist/product-catalogues/product-variant.model.d.ts +27 -0
- package/dist/product-catalogues/product-variant.model.d.ts.map +1 -1
- package/dist/properties/property.model.d.ts +26 -0
- package/dist/properties/property.model.d.ts.map +1 -1
- package/dist/properties/security.model.d.ts +27 -0
- package/dist/properties/security.model.d.ts.map +1 -1
- package/dist/shared/alert.model.d.ts +27 -0
- package/dist/shared/alert.model.d.ts.map +1 -1
- package/dist/shared/apprivo-sync-journey.model.d.ts +27 -0
- package/dist/shared/apprivo-sync-journey.model.d.ts.map +1 -1
- package/dist/shared/checklist.model.d.ts +27 -0
- package/dist/shared/checklist.model.d.ts.map +1 -1
- package/dist/shared/document-type-model.d.ts +27 -0
- package/dist/shared/document-type-model.d.ts.map +1 -1
- package/dist/shared/job-run.model.d.ts +27 -0
- package/dist/shared/job-run.model.d.ts.map +1 -1
- package/dist/shared/job-setting.model.d.ts +27 -0
- package/dist/shared/job-setting.model.d.ts.map +1 -1
- package/dist/shared/lookup-group.model.d.ts +27 -0
- package/dist/shared/lookup-group.model.d.ts.map +1 -1
- package/dist/shared/lookup.model.d.ts +27 -0
- package/dist/shared/lookup.model.d.ts.map +1 -1
- package/dist/shared/schema-doc.model.d.ts +27 -0
- package/dist/shared/schema-doc.model.d.ts.map +1 -1
- package/dist/shared/system-parameter.model.d.ts +27 -0
- package/dist/shared/system-parameter.model.d.ts.map +1 -1
- package/dist/shared/task-document.model.d.ts +27 -0
- package/dist/shared/task-document.model.d.ts.map +1 -1
- package/dist/shared/task.model.d.ts +27 -0
- package/dist/shared/task.model.d.ts.map +1 -1
- package/dist/underwriter/underwriter.model.d.ts +27 -0
- package/dist/underwriter/underwriter.model.d.ts.map +1 -1
- package/dist/users/auth-log.model.d.ts +27 -0
- package/dist/users/auth-log.model.d.ts.map +1 -1
- package/dist/users/permission.model.d.ts +27 -0
- package/dist/users/permission.model.d.ts.map +1 -1
- package/dist/users/role-group.model.d.ts +27 -0
- package/dist/users/role-group.model.d.ts.map +1 -1
- package/dist/users/role.model.d.ts +27 -0
- package/dist/users/role.model.d.ts.map +1 -1
- package/dist/users/tasks.model.d.ts +27 -0
- package/dist/users/tasks.model.d.ts.map +1 -1
- package/dist/users/user.model.d.ts +27 -0
- package/dist/users/user.model.d.ts.map +1 -1
- package/dist/value-objects/pound.d.ts +26 -0
- package/dist/value-objects/pound.d.ts.map +1 -1
- package/dist/value-objects/sort-code.d.ts +26 -0
- package/dist/value-objects/sort-code.d.ts.map +1 -1
- package/entities/applicants/{credit-data.entity.ts → applicant-credit-data.entity.ts} +2 -2
- package/entities/{applications/credit-profile.entity.ts → applicants/applicant-credit-profile.entity.ts} +8 -2
- package/entities/applicants/applicant-employment-income.entity.ts +14 -0
- package/entities/applicants/{employment.entity.ts → applicant-employment.entity.ts} +1 -17
- package/entities/applicants/applicant-expenditure.entity.ts +15 -0
- package/entities/applicants/{income-source.entity.ts → applicant-income-source.entity.ts} +2 -2
- package/entities/applicants/{income.entity.ts → applicant-income.entity.ts} +9 -6
- package/entities/applicants/applicant.entity.ts +11 -17
- package/entities/applicants/index.ts +6 -6
- package/entities/{applicants/credit-profile.entity.ts → applications/application-credit-profile.entity.ts} +2 -2
- package/entities/applications/application-rationale.entity.ts +1 -1
- package/entities/applications/company.entity.ts +2 -1
- package/entities/applications/index.ts +1 -1
- package/entities/applications/solicitor.entity.ts +1 -1
- package/entities/properties/property.entity.ts +2 -2
- package/package.json +1 -1
- package/prisma/applicants/{credit-data.prisma → applicant-credit-data.prisma} +2 -2
- package/prisma/applicants/{credit-profile.prisma → applicant-credit-profile.prisma} +3 -2
- package/prisma/applicants/applicant-employment-income.prisma +14 -0
- package/prisma/applicants/applicant-employment.prisma +54 -0
- package/prisma/applicants/applicant-expenditure.prisma +14 -0
- package/prisma/applicants/{income-source.prisma → applicant-income-source.prisma} +2 -2
- package/prisma/applicants/{income.prisma → applicant-income.prisma} +10 -5
- package/prisma/applicants/{other-income.prisma → applicant-other-income.prisma} +2 -2
- package/prisma/applicants/{property-income.prisma → applicant-property-income.prisma} +3 -2
- package/prisma/applicants/applicant.prisma +10 -10
- package/prisma/applications/{credit-profile.prisma → application-credit-profile.prisma} +6 -2
- package/prisma/applications/application.prisma +1 -1
- package/prisma/migrations/{20250430124915_initial_migration → 20250501070203_initial_migration}/migration.sql +309 -382
- package/prisma/schema.prisma +1187 -1258
- package/prisma/shared/lookup.prisma +17 -26
- package/entities/applicants/direct-debit.entity.ts +0 -30
- package/entities/applicants/expenditure.entity.ts +0 -29
- package/entities/applicants/risk-narrative.entity.ts +0 -28
- package/entities/applications/application-risk-narrative.entity.ts +0 -22
- package/entities/applications/application-valuation.entity.ts +0 -20
- package/prisma/applicants/direct-debit.prisma +0 -26
- package/prisma/applicants/employment.prisma +0 -59
- package/prisma/applicants/expenditure.prisma +0 -26
- package/prisma/applicants/risk-narrative.prisma +0 -23
- package/prisma/applications/application-risk-narrative.prisma +0 -18
- package/prisma/applications/application-valuation.prisma +0 -18
- package/prisma/lookup.entity.ts +0 -9
|
@@ -1,3 +1,29 @@
|
|
|
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" />
|
|
1
27
|
import mongoose from "mongoose";
|
|
2
28
|
import { Pound } from "../value-objects/pound";
|
|
3
29
|
declare const applicantEmploymentSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
@@ -19,10 +45,6 @@ declare const applicantEmploymentSchema: mongoose.Schema<any, mongoose.Model<any
|
|
|
19
45
|
acceptableIncomeLids: mongoose.Types.ObjectId[];
|
|
20
46
|
averageBonusPreviousTwoYears: Pound;
|
|
21
47
|
basicGrossIncome: Pound;
|
|
22
|
-
basicPay: Pound;
|
|
23
|
-
carAllowance: Pound;
|
|
24
|
-
childBenefit: Pound;
|
|
25
|
-
childBenefitOrSchoolAllowance: Pound;
|
|
26
48
|
dateJoined: string;
|
|
27
49
|
disabilityLiving: Pound;
|
|
28
50
|
employerName: string;
|
|
@@ -49,8 +71,6 @@ declare const applicantEmploymentSchema: mongoose.Schema<any, mongoose.Model<any
|
|
|
49
71
|
previousNatureOfBusiness: string;
|
|
50
72
|
referenceContact: string;
|
|
51
73
|
referenceContactEmail: string;
|
|
52
|
-
secondJob: Pound;
|
|
53
|
-
travelAllowance: Pound;
|
|
54
74
|
underTerminationNoticeNote: string;
|
|
55
75
|
contractRemaining?: string | null | undefined;
|
|
56
76
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
@@ -65,10 +85,6 @@ declare const applicantEmploymentSchema: mongoose.Schema<any, mongoose.Model<any
|
|
|
65
85
|
acceptableIncomeLids: mongoose.Types.ObjectId[];
|
|
66
86
|
averageBonusPreviousTwoYears: Pound;
|
|
67
87
|
basicGrossIncome: Pound;
|
|
68
|
-
basicPay: Pound;
|
|
69
|
-
carAllowance: Pound;
|
|
70
|
-
childBenefit: Pound;
|
|
71
|
-
childBenefitOrSchoolAllowance: Pound;
|
|
72
88
|
dateJoined: string;
|
|
73
89
|
disabilityLiving: Pound;
|
|
74
90
|
employerName: string;
|
|
@@ -95,8 +111,6 @@ declare const applicantEmploymentSchema: mongoose.Schema<any, mongoose.Model<any
|
|
|
95
111
|
previousNatureOfBusiness: string;
|
|
96
112
|
referenceContact: string;
|
|
97
113
|
referenceContactEmail: string;
|
|
98
|
-
secondJob: Pound;
|
|
99
|
-
travelAllowance: Pound;
|
|
100
114
|
underTerminationNoticeNote: string;
|
|
101
115
|
contractRemaining?: string | null | undefined;
|
|
102
116
|
}>> & mongoose.FlatRecord<{
|
|
@@ -111,10 +125,6 @@ declare const applicantEmploymentSchema: mongoose.Schema<any, mongoose.Model<any
|
|
|
111
125
|
acceptableIncomeLids: mongoose.Types.ObjectId[];
|
|
112
126
|
averageBonusPreviousTwoYears: Pound;
|
|
113
127
|
basicGrossIncome: Pound;
|
|
114
|
-
basicPay: Pound;
|
|
115
|
-
carAllowance: Pound;
|
|
116
|
-
childBenefit: Pound;
|
|
117
|
-
childBenefitOrSchoolAllowance: Pound;
|
|
118
128
|
dateJoined: string;
|
|
119
129
|
disabilityLiving: Pound;
|
|
120
130
|
employerName: string;
|
|
@@ -141,8 +151,6 @@ declare const applicantEmploymentSchema: mongoose.Schema<any, mongoose.Model<any
|
|
|
141
151
|
previousNatureOfBusiness: string;
|
|
142
152
|
referenceContact: string;
|
|
143
153
|
referenceContactEmail: string;
|
|
144
|
-
secondJob: Pound;
|
|
145
|
-
travelAllowance: Pound;
|
|
146
154
|
underTerminationNoticeNote: string;
|
|
147
155
|
contractRemaining?: string | null | undefined;
|
|
148
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 },
|
|
@@ -1,64 +1,113 @@
|
|
|
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" />
|
|
1
27
|
import mongoose from "mongoose";
|
|
2
28
|
import { Pound } from "../value-objects/pound";
|
|
3
|
-
declare const
|
|
29
|
+
declare const ApplicantExpenditureModel: mongoose.Model<{
|
|
30
|
+
createdAt: NativeDate;
|
|
31
|
+
updatedAt: NativeDate;
|
|
32
|
+
} & {
|
|
33
|
+
applicantId: mongoose.Types.ObjectId;
|
|
34
|
+
isFixed: boolean;
|
|
35
|
+
expenditureTypeLid: mongoose.Types.ObjectId;
|
|
36
|
+
declared?: Pound | null | undefined;
|
|
37
|
+
ons?: Pound | null | undefined;
|
|
38
|
+
actual?: Pound | null | undefined;
|
|
39
|
+
rationale?: string | null | undefined;
|
|
40
|
+
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
41
|
+
createdAt: NativeDate;
|
|
42
|
+
updatedAt: NativeDate;
|
|
43
|
+
} & {
|
|
44
|
+
applicantId: mongoose.Types.ObjectId;
|
|
45
|
+
isFixed: boolean;
|
|
46
|
+
expenditureTypeLid: mongoose.Types.ObjectId;
|
|
47
|
+
declared?: Pound | null | undefined;
|
|
48
|
+
ons?: Pound | null | undefined;
|
|
49
|
+
actual?: Pound | null | undefined;
|
|
50
|
+
rationale?: string | null | undefined;
|
|
51
|
+
}> & {
|
|
52
|
+
createdAt: NativeDate;
|
|
53
|
+
updatedAt: NativeDate;
|
|
54
|
+
} & {
|
|
55
|
+
applicantId: mongoose.Types.ObjectId;
|
|
56
|
+
isFixed: boolean;
|
|
57
|
+
expenditureTypeLid: mongoose.Types.ObjectId;
|
|
58
|
+
declared?: Pound | null | undefined;
|
|
59
|
+
ons?: Pound | null | undefined;
|
|
60
|
+
actual?: Pound | null | undefined;
|
|
61
|
+
rationale?: string | null | undefined;
|
|
62
|
+
} & {
|
|
63
|
+
_id: mongoose.Types.ObjectId;
|
|
64
|
+
} & {
|
|
65
|
+
__v: number;
|
|
66
|
+
}, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
67
|
+
timestamps: true;
|
|
4
68
|
toJSON: {
|
|
5
|
-
|
|
69
|
+
virtuals: true;
|
|
6
70
|
};
|
|
7
71
|
toObject: {
|
|
8
|
-
|
|
72
|
+
virtuals: true;
|
|
9
73
|
};
|
|
10
74
|
}, {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
clothingAndFootwear: Pound;
|
|
22
|
-
vehicleInsurance: Pound;
|
|
23
|
-
mortgagePaymentVehicle: Pound;
|
|
24
|
-
other: Pound;
|
|
25
|
-
totalMontlyExpenditure?: string | null | undefined;
|
|
75
|
+
createdAt: NativeDate;
|
|
76
|
+
updatedAt: NativeDate;
|
|
77
|
+
} & {
|
|
78
|
+
applicantId: mongoose.Types.ObjectId;
|
|
79
|
+
isFixed: boolean;
|
|
80
|
+
expenditureTypeLid: mongoose.Types.ObjectId;
|
|
81
|
+
declared?: Pound | null | undefined;
|
|
82
|
+
ons?: Pound | null | undefined;
|
|
83
|
+
actual?: Pound | null | undefined;
|
|
84
|
+
rationale?: string | null | undefined;
|
|
26
85
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
clothingAndFootwear: Pound;
|
|
38
|
-
vehicleInsurance: Pound;
|
|
39
|
-
mortgagePaymentVehicle: Pound;
|
|
40
|
-
other: Pound;
|
|
41
|
-
totalMontlyExpenditure?: string | null | undefined;
|
|
86
|
+
createdAt: NativeDate;
|
|
87
|
+
updatedAt: NativeDate;
|
|
88
|
+
} & {
|
|
89
|
+
applicantId: mongoose.Types.ObjectId;
|
|
90
|
+
isFixed: boolean;
|
|
91
|
+
expenditureTypeLid: mongoose.Types.ObjectId;
|
|
92
|
+
declared?: Pound | null | undefined;
|
|
93
|
+
ons?: Pound | null | undefined;
|
|
94
|
+
actual?: Pound | null | undefined;
|
|
95
|
+
rationale?: string | null | undefined;
|
|
42
96
|
}>> & mongoose.FlatRecord<{
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
clothingAndFootwear: Pound;
|
|
54
|
-
vehicleInsurance: Pound;
|
|
55
|
-
mortgagePaymentVehicle: Pound;
|
|
56
|
-
other: Pound;
|
|
57
|
-
totalMontlyExpenditure?: string | null | undefined;
|
|
97
|
+
createdAt: NativeDate;
|
|
98
|
+
updatedAt: NativeDate;
|
|
99
|
+
} & {
|
|
100
|
+
applicantId: mongoose.Types.ObjectId;
|
|
101
|
+
isFixed: boolean;
|
|
102
|
+
expenditureTypeLid: mongoose.Types.ObjectId;
|
|
103
|
+
declared?: Pound | null | undefined;
|
|
104
|
+
ons?: Pound | null | undefined;
|
|
105
|
+
actual?: Pound | null | undefined;
|
|
106
|
+
rationale?: string | null | undefined;
|
|
58
107
|
}> & {
|
|
59
108
|
_id: mongoose.Types.ObjectId;
|
|
60
109
|
} & {
|
|
61
110
|
__v: number;
|
|
62
|
-
}
|
|
63
|
-
export default
|
|
111
|
+
}>>;
|
|
112
|
+
export default ApplicantExpenditureModel;
|
|
64
113
|
//# sourceMappingURL=applicant-expenditure.model.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicant-expenditure.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-expenditure.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"applicant-expenditure.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-expenditure.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAoE/C,QAAA,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAuE,CAAC;AACvG,eAAe,yBAAyB,CAAC"}
|
|
@@ -1,23 +1,54 @@
|
|
|
1
1
|
import mongoose from "mongoose";
|
|
2
2
|
import { Pound } from "../value-objects/pound";
|
|
3
3
|
const applicantExpenditureSchema = new mongoose.Schema({
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
4
|
+
applicantId: {
|
|
5
|
+
type: mongoose.Schema.Types.ObjectId,
|
|
6
|
+
ref: "Applicant",
|
|
7
|
+
required: true,
|
|
8
|
+
description: "Reference to the applicant this expenditure record belongs to.",
|
|
9
|
+
},
|
|
10
|
+
isFixed: {
|
|
11
|
+
type: Boolean,
|
|
12
|
+
default: false,
|
|
13
|
+
description: "True if all mandatory fields have been completed, otherwise false.",
|
|
14
|
+
},
|
|
15
|
+
expenditureTypeLid: {
|
|
16
|
+
type: mongoose.Schema.Types.ObjectId,
|
|
17
|
+
ref: "Lookup",
|
|
18
|
+
default: null,
|
|
19
|
+
description: "Essential expenditure lookup",
|
|
20
|
+
},
|
|
21
|
+
declared: {
|
|
22
|
+
type: Pound,
|
|
23
|
+
description: "Declared monthly expenditure amount provided by the applicant.",
|
|
24
|
+
},
|
|
25
|
+
ons: {
|
|
26
|
+
type: Pound,
|
|
27
|
+
description: "Office for National Statistics (ONS) benchmark monthly expenditure.",
|
|
28
|
+
},
|
|
29
|
+
actual: {
|
|
30
|
+
type: Pound,
|
|
31
|
+
description: "Actual monthly expenditure verified based on applicant's evidence.",
|
|
32
|
+
},
|
|
33
|
+
rationale: {
|
|
34
|
+
type: String,
|
|
35
|
+
description: "Rationalized monthly expenditure used for affordability assessment.",
|
|
36
|
+
},
|
|
19
37
|
}, {
|
|
20
|
-
|
|
21
|
-
|
|
38
|
+
timestamps: true,
|
|
39
|
+
toJSON: { virtuals: true },
|
|
40
|
+
toObject: { virtuals: true },
|
|
22
41
|
});
|
|
23
|
-
|
|
42
|
+
// Virtual property for essentialExpenditure
|
|
43
|
+
const virtualEssentialExpenditure = applicantExpenditureSchema.virtual("ExpenditureType", {
|
|
44
|
+
ref: "Lookup",
|
|
45
|
+
localField: "expenditureTypeLid",
|
|
46
|
+
foreignField: "_id",
|
|
47
|
+
justOne: true,
|
|
48
|
+
options: {
|
|
49
|
+
select: "label",
|
|
50
|
+
},
|
|
51
|
+
});
|
|
52
|
+
virtualEssentialExpenditure.description = "Populated lookup value for essential expenditure.";
|
|
53
|
+
const ApplicantExpenditureModel = mongoose.model("Applicant_Expenditure", applicantExpenditureSchema);
|
|
54
|
+
export default ApplicantExpenditureModel;
|
|
@@ -1,3 +1,30 @@
|
|
|
1
|
+
/// <reference path="../value-objects/pound.d.ts" />
|
|
2
|
+
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
3
|
+
/// <reference types="mongoose/types/aggregate" />
|
|
4
|
+
/// <reference types="mongoose/types/callback" />
|
|
5
|
+
/// <reference types="mongoose/types/collection" />
|
|
6
|
+
/// <reference types="mongoose/types/connection" />
|
|
7
|
+
/// <reference types="mongoose/types/cursor" />
|
|
8
|
+
/// <reference types="mongoose/types/document" />
|
|
9
|
+
/// <reference types="mongoose/types/error" />
|
|
10
|
+
/// <reference types="mongoose/types/expressions" />
|
|
11
|
+
/// <reference types="mongoose/types/helpers" />
|
|
12
|
+
/// <reference types="mongoose/types/middlewares" />
|
|
13
|
+
/// <reference types="mongoose/types/indexes" />
|
|
14
|
+
/// <reference types="mongoose/types/models" />
|
|
15
|
+
/// <reference types="mongoose/types/mongooseoptions" />
|
|
16
|
+
/// <reference types="mongoose/types/pipelinestage" />
|
|
17
|
+
/// <reference types="mongoose/types/populate" />
|
|
18
|
+
/// <reference types="mongoose/types/query" />
|
|
19
|
+
/// <reference types="mongoose/types/schemaoptions" />
|
|
20
|
+
/// <reference types="mongoose/types/schematypes" />
|
|
21
|
+
/// <reference types="mongoose/types/session" />
|
|
22
|
+
/// <reference types="mongoose/types/types" />
|
|
23
|
+
/// <reference types="mongoose/types/utility" />
|
|
24
|
+
/// <reference types="mongoose/types/validation" />
|
|
25
|
+
/// <reference types="mongoose/types/virtuals" />
|
|
26
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
27
|
+
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
1
28
|
import mongoose from "mongoose";
|
|
2
29
|
declare const applicantIncomeSourceSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
|
|
3
30
|
employmentStatusLid: mongoose.Types.ObjectId;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicant-income-source.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-income-source.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAEhC,QAAA,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;EAM/B,CAAC;AAEH,eAAe,2BAA2B,CAAC"}
|
|
1
|
+
{"version":3,"file":"applicant-income-source.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-income-source.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAEhC,QAAA,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;EAM/B,CAAC;AAEH,eAAe,2BAA2B,CAAC"}
|
|
@@ -1,3 +1,29 @@
|
|
|
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" />
|
|
1
27
|
import mongoose from "mongoose";
|
|
2
28
|
import { Pound } from "../value-objects/pound";
|
|
3
29
|
declare const incomeSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
@@ -55,6 +81,10 @@ declare const incomeSchema: mongoose.Schema<any, mongoose.Model<any, any, any, a
|
|
|
55
81
|
year1: Pound;
|
|
56
82
|
year2: Pound;
|
|
57
83
|
year3: Pound;
|
|
84
|
+
totalEmploymentGrossIncome: Pound;
|
|
85
|
+
totalEmploymentNetIncome: Pound;
|
|
86
|
+
isEmploymentIncomeConfirmed: boolean;
|
|
87
|
+
employmentIncomeRationale: string;
|
|
58
88
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
59
89
|
pageValidFlag: string;
|
|
60
90
|
businessTypeLid: mongoose.Types.ObjectId;
|
|
@@ -103,6 +133,10 @@ declare const incomeSchema: mongoose.Schema<any, mongoose.Model<any, any, any, a
|
|
|
103
133
|
year1: Pound;
|
|
104
134
|
year2: Pound;
|
|
105
135
|
year3: Pound;
|
|
136
|
+
totalEmploymentGrossIncome: Pound;
|
|
137
|
+
totalEmploymentNetIncome: Pound;
|
|
138
|
+
isEmploymentIncomeConfirmed: boolean;
|
|
139
|
+
employmentIncomeRationale: string;
|
|
106
140
|
}>> & mongoose.FlatRecord<{
|
|
107
141
|
pageValidFlag: string;
|
|
108
142
|
businessTypeLid: mongoose.Types.ObjectId;
|
|
@@ -151,6 +185,10 @@ declare const incomeSchema: mongoose.Schema<any, mongoose.Model<any, any, any, a
|
|
|
151
185
|
year1: Pound;
|
|
152
186
|
year2: Pound;
|
|
153
187
|
year3: Pound;
|
|
188
|
+
totalEmploymentGrossIncome: Pound;
|
|
189
|
+
totalEmploymentNetIncome: Pound;
|
|
190
|
+
isEmploymentIncomeConfirmed: boolean;
|
|
191
|
+
employmentIncomeRationale: string;
|
|
154
192
|
}> & {
|
|
155
193
|
_id: mongoose.Types.ObjectId;
|
|
156
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,3 +1,29 @@
|
|
|
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" />
|
|
1
27
|
import mongoose from "mongoose";
|
|
2
28
|
import { Pound } from "../value-objects/pound";
|
|
3
29
|
declare const applicantOtherIncomeSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicant-other-income.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-other-income.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAE/C,QAAA,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6C9B,CAAC;AAEH,eAAe,0BAA0B,CAAC"}
|
|
1
|
+
{"version":3,"file":"applicant-other-income.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-other-income.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAE/C,QAAA,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6C9B,CAAC;AAEH,eAAe,0BAA0B,CAAC"}
|
|
@@ -1,3 +1,29 @@
|
|
|
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" />
|
|
1
27
|
import mongoose from "mongoose";
|
|
2
28
|
import { Pound } from "../value-objects/pound";
|
|
3
29
|
declare const propertyIncomeSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicant-property-income.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-property-income.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAE/C,QAAA,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBxB,CAAC;AAEH,eAAe,oBAAoB,CAAC"}
|
|
1
|
+
{"version":3,"file":"applicant-property-income.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-property-income.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAE/C,QAAA,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBxB,CAAC;AAEH,eAAe,oBAAoB,CAAC"}
|
|
@@ -1,3 +1,30 @@
|
|
|
1
|
+
/// <reference path="../value-objects/pound.d.ts" />
|
|
2
|
+
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
3
|
+
/// <reference types="mongoose/types/aggregate" />
|
|
4
|
+
/// <reference types="mongoose/types/callback" />
|
|
5
|
+
/// <reference types="mongoose/types/collection" />
|
|
6
|
+
/// <reference types="mongoose/types/connection" />
|
|
7
|
+
/// <reference types="mongoose/types/cursor" />
|
|
8
|
+
/// <reference types="mongoose/types/document" />
|
|
9
|
+
/// <reference types="mongoose/types/error" />
|
|
10
|
+
/// <reference types="mongoose/types/expressions" />
|
|
11
|
+
/// <reference types="mongoose/types/helpers" />
|
|
12
|
+
/// <reference types="mongoose/types/middlewares" />
|
|
13
|
+
/// <reference types="mongoose/types/indexes" />
|
|
14
|
+
/// <reference types="mongoose/types/models" />
|
|
15
|
+
/// <reference types="mongoose/types/mongooseoptions" />
|
|
16
|
+
/// <reference types="mongoose/types/pipelinestage" />
|
|
17
|
+
/// <reference types="mongoose/types/populate" />
|
|
18
|
+
/// <reference types="mongoose/types/query" />
|
|
19
|
+
/// <reference types="mongoose/types/schemaoptions" />
|
|
20
|
+
/// <reference types="mongoose/types/schematypes" />
|
|
21
|
+
/// <reference types="mongoose/types/session" />
|
|
22
|
+
/// <reference types="mongoose/types/types" />
|
|
23
|
+
/// <reference types="mongoose/types/utility" />
|
|
24
|
+
/// <reference types="mongoose/types/validation" />
|
|
25
|
+
/// <reference types="mongoose/types/virtuals" />
|
|
26
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
27
|
+
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
1
28
|
import mongoose from 'mongoose';
|
|
2
29
|
declare const applicantRiskNarrativeSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
|
|
3
30
|
call2StatusLid: mongoose.Types.ObjectId;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicant-risk-narrative.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-risk-narrative.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAEhC,QAAA,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUhC,CAAC;AAEH,eAAe,4BAA4B,CAAC"}
|
|
1
|
+
{"version":3,"file":"applicant-risk-narrative.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-risk-narrative.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAEhC,QAAA,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUhC,CAAC;AAEH,eAAe,4BAA4B,CAAC"}
|