@dynamatix/gb-schemas 1.2.147 → 1.2.149
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/applications/application-euc.model.d.ts +84 -0
- package/dist/applications/application-euc.model.d.ts.map +1 -0
- package/dist/applications/application-euc.model.js +16 -0
- package/dist/applications/index.d.ts +1 -0
- package/dist/applications/index.d.ts.map +1 -1
- package/dist/applications/index.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import mongoose from "mongoose";
|
|
2
|
+
declare const ApplicationEucModel: mongoose.Model<{
|
|
3
|
+
applicationId: mongoose.Types.ObjectId;
|
|
4
|
+
grossMonthlyIncome: number;
|
|
5
|
+
netMonthlyIncome: number;
|
|
6
|
+
creditExpenditure: number;
|
|
7
|
+
householdExpenditure: number;
|
|
8
|
+
remainingSurplusIncome: number;
|
|
9
|
+
stressedFinanceRate: number;
|
|
10
|
+
stressedFinancePayment: number;
|
|
11
|
+
stressTestSurplusIncome: number;
|
|
12
|
+
incomeExpenditureSummary: string;
|
|
13
|
+
applicationSummary: string;
|
|
14
|
+
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
15
|
+
applicationId: mongoose.Types.ObjectId;
|
|
16
|
+
grossMonthlyIncome: number;
|
|
17
|
+
netMonthlyIncome: number;
|
|
18
|
+
creditExpenditure: number;
|
|
19
|
+
householdExpenditure: number;
|
|
20
|
+
remainingSurplusIncome: number;
|
|
21
|
+
stressedFinanceRate: number;
|
|
22
|
+
stressedFinancePayment: number;
|
|
23
|
+
stressTestSurplusIncome: number;
|
|
24
|
+
incomeExpenditureSummary: string;
|
|
25
|
+
applicationSummary: string;
|
|
26
|
+
}> & {
|
|
27
|
+
applicationId: mongoose.Types.ObjectId;
|
|
28
|
+
grossMonthlyIncome: number;
|
|
29
|
+
netMonthlyIncome: number;
|
|
30
|
+
creditExpenditure: number;
|
|
31
|
+
householdExpenditure: number;
|
|
32
|
+
remainingSurplusIncome: number;
|
|
33
|
+
stressedFinanceRate: number;
|
|
34
|
+
stressedFinancePayment: number;
|
|
35
|
+
stressTestSurplusIncome: number;
|
|
36
|
+
incomeExpenditureSummary: string;
|
|
37
|
+
applicationSummary: string;
|
|
38
|
+
} & {
|
|
39
|
+
_id: mongoose.Types.ObjectId;
|
|
40
|
+
} & {
|
|
41
|
+
__v: number;
|
|
42
|
+
}, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
|
|
43
|
+
applicationId: mongoose.Types.ObjectId;
|
|
44
|
+
grossMonthlyIncome: number;
|
|
45
|
+
netMonthlyIncome: number;
|
|
46
|
+
creditExpenditure: number;
|
|
47
|
+
householdExpenditure: number;
|
|
48
|
+
remainingSurplusIncome: number;
|
|
49
|
+
stressedFinanceRate: number;
|
|
50
|
+
stressedFinancePayment: number;
|
|
51
|
+
stressTestSurplusIncome: number;
|
|
52
|
+
incomeExpenditureSummary: string;
|
|
53
|
+
applicationSummary: string;
|
|
54
|
+
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
55
|
+
applicationId: mongoose.Types.ObjectId;
|
|
56
|
+
grossMonthlyIncome: number;
|
|
57
|
+
netMonthlyIncome: number;
|
|
58
|
+
creditExpenditure: number;
|
|
59
|
+
householdExpenditure: number;
|
|
60
|
+
remainingSurplusIncome: number;
|
|
61
|
+
stressedFinanceRate: number;
|
|
62
|
+
stressedFinancePayment: number;
|
|
63
|
+
stressTestSurplusIncome: number;
|
|
64
|
+
incomeExpenditureSummary: string;
|
|
65
|
+
applicationSummary: string;
|
|
66
|
+
}>> & mongoose.FlatRecord<{
|
|
67
|
+
applicationId: mongoose.Types.ObjectId;
|
|
68
|
+
grossMonthlyIncome: number;
|
|
69
|
+
netMonthlyIncome: number;
|
|
70
|
+
creditExpenditure: number;
|
|
71
|
+
householdExpenditure: number;
|
|
72
|
+
remainingSurplusIncome: number;
|
|
73
|
+
stressedFinanceRate: number;
|
|
74
|
+
stressedFinancePayment: number;
|
|
75
|
+
stressTestSurplusIncome: number;
|
|
76
|
+
incomeExpenditureSummary: string;
|
|
77
|
+
applicationSummary: string;
|
|
78
|
+
}> & {
|
|
79
|
+
_id: mongoose.Types.ObjectId;
|
|
80
|
+
} & {
|
|
81
|
+
__v: number;
|
|
82
|
+
}>>;
|
|
83
|
+
export default ApplicationEucModel;
|
|
84
|
+
//# sourceMappingURL=application-euc.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"application-euc.model.d.ts","sourceRoot":"","sources":["../../applications/application-euc.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAgBhC,QAAA,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAyD,CAAC;AACnF,eAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import mongoose from "mongoose";
|
|
2
|
+
const applicationEucSchema = new mongoose.Schema({
|
|
3
|
+
applicationId: { type: mongoose.Schema.Types.ObjectId, ref: "Application", required: true },
|
|
4
|
+
grossMonthlyIncome: { type: Number, default: 0 },
|
|
5
|
+
netMonthlyIncome: { type: Number, default: 0 },
|
|
6
|
+
creditExpenditure: { type: Number, default: 0 },
|
|
7
|
+
householdExpenditure: { type: Number, default: 0 },
|
|
8
|
+
remainingSurplusIncome: { type: Number, default: 0 },
|
|
9
|
+
stressedFinanceRate: { type: Number, default: 0 },
|
|
10
|
+
stressedFinancePayment: { type: Number, default: 0 },
|
|
11
|
+
stressTestSurplusIncome: { type: Number, default: 0 },
|
|
12
|
+
incomeExpenditureSummary: { type: String, default: null },
|
|
13
|
+
applicationSummary: { type: String, default: null }
|
|
14
|
+
});
|
|
15
|
+
const ApplicationEucModel = mongoose.model("ApplicationEUC", applicationEucSchema);
|
|
16
|
+
export default ApplicationEucModel;
|
|
@@ -18,4 +18,5 @@ export { default as ApplicationFieldConfigModel } from './application-fieldconfi
|
|
|
18
18
|
export { default as DocumentModel } from './document.model';
|
|
19
19
|
export { default as MortgageModel } from './application-mortgage.model';
|
|
20
20
|
export { default as ApplicationProductFeaturesModel } from './application-productfeatures.model';
|
|
21
|
+
export { default as ApplicationEucModel } from './application-euc.model';
|
|
21
22
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../applications/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAC1F,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACpF,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAC9F,OAAO,EAAE,OAAO,IAAI,2BAA2B,EAAC,MAAM,kCAAkC,CAAA;AACxF,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AACnF,OAAO,EAAE,OAAO,IAAI,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AACvF,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AACrF,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AACrF,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,EAA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AACrF,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AACnF,OAAO,EAAE,OAAO,IAAI,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAC9F,OAAO,EAAE,OAAO,IAAI,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AACzF,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,8BAA8B,CAAC;AACxE,OAAO,EAAE,OAAO,IAAI,+BAA+B,EAAE,MAAM,qCAAqC,CAAC;AACjG,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,yBAAyB,CAAC"}
|
|
@@ -18,3 +18,4 @@ export { default as ApplicationFieldConfigModel } from './application-fieldconfi
|
|
|
18
18
|
export { default as DocumentModel } from './document.model';
|
|
19
19
|
export { default as MortgageModel } from './application-mortgage.model';
|
|
20
20
|
export { default as ApplicationProductFeaturesModel } from './application-productfeatures.model';
|
|
21
|
+
export { default as ApplicationEucModel } from './application-euc.model';
|