@dynamatix/gb-schemas 1.2.72 → 1.2.74
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 +41 -3
- package/dist/applicants/applicant-commitment-creditCard.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-creditCard.model.js +12 -7
- package/dist/applicants/applicant-commitment-loan.model.d.ts +41 -3
- package/dist/applicants/applicant-commitment-loan.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-loan.model.js +14 -9
- package/dist/applicants/applicant-commitment-mortgage.model.d.ts +50 -12
- package/dist/applicants/applicant-commitment-mortgage.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-mortgage.model.js +19 -17
- 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-commitment.model.d.ts +7866 -0
- package/dist/applicants/applicant-commitment.model.d.ts.map +1 -0
- package/dist/applicants/applicant-commitment.model.js +19 -19
- 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.model.d.ts +26 -0
- package/dist/applicants/applicant-employment.model.d.ts.map +1 -1
- package/dist/applicants/applicant-employment.model.js +0 -1
- package/dist/applicants/applicant-expenditure.model.d.ts +26 -0
- package/dist/applicants/applicant-expenditure.model.d.ts.map +1 -1
- 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 +26 -0
- package/dist/applicants/applicant-income.model.d.ts.map +1 -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-other-income.model.js +0 -4
- 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 +32 -0
- package/dist/applicants/applicant.model.d.ts.map +1 -1
- package/dist/applicants/applicant.model.js +4 -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/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-potfolio.model.d.ts +1113 -0
- package/dist/properties/property-potfolio.model.d.ts.map +1 -0
- package/dist/properties/property-potfolio.model.js +116 -0
- 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/package.json +70 -70
|
@@ -1,6 +1,34 @@
|
|
|
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 CreditCardCommitmentModel: mongoose.Model<{
|
|
30
|
+
isSelected?: unknown;
|
|
31
|
+
source?: unknown;
|
|
4
32
|
applicantId?: mongoose.Types.ObjectId | null | undefined;
|
|
5
33
|
outstandingBalance?: {
|
|
6
34
|
validators: mongoose.Types.DocumentArray<{
|
|
@@ -149,6 +177,8 @@ declare const CreditCardCommitmentModel: mongoose.Model<{
|
|
|
149
177
|
} | null | undefined;
|
|
150
178
|
jointNames?: unknown;
|
|
151
179
|
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
180
|
+
isSelected?: unknown;
|
|
181
|
+
source?: unknown;
|
|
152
182
|
applicantId?: mongoose.Types.ObjectId | null | undefined;
|
|
153
183
|
outstandingBalance?: {
|
|
154
184
|
validators: mongoose.Types.DocumentArray<{
|
|
@@ -297,6 +327,8 @@ declare const CreditCardCommitmentModel: mongoose.Model<{
|
|
|
297
327
|
} | null | undefined;
|
|
298
328
|
jointNames?: unknown;
|
|
299
329
|
}> & {
|
|
330
|
+
isSelected?: unknown;
|
|
331
|
+
source?: unknown;
|
|
300
332
|
applicantId?: mongoose.Types.ObjectId | null | undefined;
|
|
301
333
|
outstandingBalance?: {
|
|
302
334
|
validators: mongoose.Types.DocumentArray<{
|
|
@@ -456,6 +488,8 @@ declare const CreditCardCommitmentModel: mongoose.Model<{
|
|
|
456
488
|
getters: true;
|
|
457
489
|
};
|
|
458
490
|
}, {
|
|
491
|
+
isSelected: boolean;
|
|
492
|
+
source: "Broker" | "Credit Report";
|
|
459
493
|
applicantId: mongoose.Types.ObjectId;
|
|
460
494
|
outstandingBalance: Pound;
|
|
461
495
|
commitmentId: string;
|
|
@@ -464,8 +498,10 @@ declare const CreditCardCommitmentModel: mongoose.Model<{
|
|
|
464
498
|
creditLimit: Pound;
|
|
465
499
|
creditCardRepaymentTypeLid: mongoose.Types.ObjectId;
|
|
466
500
|
monthlyPayment: Pound;
|
|
467
|
-
jointNames
|
|
501
|
+
jointNames?: boolean | null | undefined;
|
|
468
502
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
503
|
+
isSelected: boolean;
|
|
504
|
+
source: "Broker" | "Credit Report";
|
|
469
505
|
applicantId: mongoose.Types.ObjectId;
|
|
470
506
|
outstandingBalance: Pound;
|
|
471
507
|
commitmentId: string;
|
|
@@ -474,8 +510,10 @@ declare const CreditCardCommitmentModel: mongoose.Model<{
|
|
|
474
510
|
creditLimit: Pound;
|
|
475
511
|
creditCardRepaymentTypeLid: mongoose.Types.ObjectId;
|
|
476
512
|
monthlyPayment: Pound;
|
|
477
|
-
jointNames
|
|
513
|
+
jointNames?: boolean | null | undefined;
|
|
478
514
|
}>> & mongoose.FlatRecord<{
|
|
515
|
+
isSelected: boolean;
|
|
516
|
+
source: "Broker" | "Credit Report";
|
|
479
517
|
applicantId: mongoose.Types.ObjectId;
|
|
480
518
|
outstandingBalance: Pound;
|
|
481
519
|
commitmentId: string;
|
|
@@ -484,7 +522,7 @@ declare const CreditCardCommitmentModel: mongoose.Model<{
|
|
|
484
522
|
creditLimit: Pound;
|
|
485
523
|
creditCardRepaymentTypeLid: mongoose.Types.ObjectId;
|
|
486
524
|
monthlyPayment: Pound;
|
|
487
|
-
jointNames
|
|
525
|
+
jointNames?: boolean | null | undefined;
|
|
488
526
|
}> & {
|
|
489
527
|
_id: mongoose.Types.ObjectId;
|
|
490
528
|
} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicant-commitment-creditCard.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-commitment-creditCard.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"applicant-commitment-creditCard.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-commitment-creditCard.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AA0B/C,QAAA,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAqE,CAAC;AACrG,eAAe,yBAAyB,CAAC"}
|
|
@@ -2,18 +2,23 @@ import mongoose from "mongoose";
|
|
|
2
2
|
import { Pound } from "../value-objects/pound";
|
|
3
3
|
const creditCardCommitmentSchema = new mongoose.Schema({
|
|
4
4
|
applicantId: { type: mongoose.Schema.Types.ObjectId, ref: "Applicant", required: true },
|
|
5
|
-
commitmentId: { type: String,
|
|
5
|
+
commitmentId: { type: String, default: null },
|
|
6
6
|
commitmentTypeLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null },
|
|
7
|
-
lenderName: { type: String, required: true },
|
|
7
|
+
lenderName: { type: String, required: true }, // Provider Name / Provider category
|
|
8
8
|
creditLimit: { type: Pound, required: true },
|
|
9
|
-
outstandingBalance: { type: Pound, required: true },
|
|
10
|
-
creditCardRepaymentTypeLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup",
|
|
11
|
-
monthlyPayment: { type: Pound, required: true },
|
|
9
|
+
outstandingBalance: { type: Pound, required: true }, // Balance
|
|
10
|
+
creditCardRepaymentTypeLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null },
|
|
11
|
+
monthlyPayment: { type: Pound, required: true }, // Monthly payment
|
|
12
12
|
jointNames: {
|
|
13
13
|
type: Boolean,
|
|
14
|
-
required: true,
|
|
15
14
|
get: (v) => v ? "Yes" : "No"
|
|
16
|
-
}
|
|
15
|
+
},
|
|
16
|
+
source: {
|
|
17
|
+
type: String,
|
|
18
|
+
enum: ["Broker", "Credit Report"],
|
|
19
|
+
default: "Broker"
|
|
20
|
+
},
|
|
21
|
+
isSelected: { type: Boolean, default: true }, // mark as selected for summary calculation
|
|
17
22
|
}, {
|
|
18
23
|
toJSON: { getters: true },
|
|
19
24
|
toObject: { getters: true }
|
|
@@ -1,6 +1,34 @@
|
|
|
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 LoanCommitmentModel: mongoose.Model<{
|
|
30
|
+
isSelected?: unknown;
|
|
31
|
+
source?: unknown;
|
|
4
32
|
applicantId?: mongoose.Types.ObjectId | null | undefined;
|
|
5
33
|
outstandingBalance?: {
|
|
6
34
|
validators: mongoose.Types.DocumentArray<{
|
|
@@ -107,6 +135,8 @@ declare const LoanCommitmentModel: mongoose.Model<{
|
|
|
107
135
|
remainingTerm?: unknown;
|
|
108
136
|
startDate?: unknown;
|
|
109
137
|
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
138
|
+
isSelected?: unknown;
|
|
139
|
+
source?: unknown;
|
|
110
140
|
applicantId?: mongoose.Types.ObjectId | null | undefined;
|
|
111
141
|
outstandingBalance?: {
|
|
112
142
|
validators: mongoose.Types.DocumentArray<{
|
|
@@ -213,6 +243,8 @@ declare const LoanCommitmentModel: mongoose.Model<{
|
|
|
213
243
|
remainingTerm?: unknown;
|
|
214
244
|
startDate?: unknown;
|
|
215
245
|
}> & {
|
|
246
|
+
isSelected?: unknown;
|
|
247
|
+
source?: unknown;
|
|
216
248
|
applicantId?: mongoose.Types.ObjectId | null | undefined;
|
|
217
249
|
outstandingBalance?: {
|
|
218
250
|
validators: mongoose.Types.DocumentArray<{
|
|
@@ -330,6 +362,8 @@ declare const LoanCommitmentModel: mongoose.Model<{
|
|
|
330
362
|
getters: true;
|
|
331
363
|
};
|
|
332
364
|
}, {
|
|
365
|
+
isSelected: boolean;
|
|
366
|
+
source: "Broker" | "Credit Report";
|
|
333
367
|
applicantId: mongoose.Types.ObjectId;
|
|
334
368
|
outstandingBalance: Pound;
|
|
335
369
|
commitmentId: string;
|
|
@@ -339,11 +373,13 @@ declare const LoanCommitmentModel: mongoose.Model<{
|
|
|
339
373
|
loanTypeLid: mongoose.Types.ObjectId;
|
|
340
374
|
securityDetails: string;
|
|
341
375
|
purpose: string;
|
|
342
|
-
doHaveSharedResponsibility: boolean;
|
|
343
376
|
sharedMortgage: string;
|
|
344
377
|
remainingTerm: string;
|
|
345
378
|
startDate: string;
|
|
379
|
+
doHaveSharedResponsibility?: boolean | null | undefined;
|
|
346
380
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
381
|
+
isSelected: boolean;
|
|
382
|
+
source: "Broker" | "Credit Report";
|
|
347
383
|
applicantId: mongoose.Types.ObjectId;
|
|
348
384
|
outstandingBalance: Pound;
|
|
349
385
|
commitmentId: string;
|
|
@@ -353,11 +389,13 @@ declare const LoanCommitmentModel: mongoose.Model<{
|
|
|
353
389
|
loanTypeLid: mongoose.Types.ObjectId;
|
|
354
390
|
securityDetails: string;
|
|
355
391
|
purpose: string;
|
|
356
|
-
doHaveSharedResponsibility: boolean;
|
|
357
392
|
sharedMortgage: string;
|
|
358
393
|
remainingTerm: string;
|
|
359
394
|
startDate: string;
|
|
395
|
+
doHaveSharedResponsibility?: boolean | null | undefined;
|
|
360
396
|
}>> & mongoose.FlatRecord<{
|
|
397
|
+
isSelected: boolean;
|
|
398
|
+
source: "Broker" | "Credit Report";
|
|
361
399
|
applicantId: mongoose.Types.ObjectId;
|
|
362
400
|
outstandingBalance: Pound;
|
|
363
401
|
commitmentId: string;
|
|
@@ -367,10 +405,10 @@ declare const LoanCommitmentModel: mongoose.Model<{
|
|
|
367
405
|
loanTypeLid: mongoose.Types.ObjectId;
|
|
368
406
|
securityDetails: string;
|
|
369
407
|
purpose: string;
|
|
370
|
-
doHaveSharedResponsibility: boolean;
|
|
371
408
|
sharedMortgage: string;
|
|
372
409
|
remainingTerm: string;
|
|
373
410
|
startDate: string;
|
|
411
|
+
doHaveSharedResponsibility?: boolean | null | undefined;
|
|
374
412
|
}> & {
|
|
375
413
|
_id: mongoose.Types.ObjectId;
|
|
376
414
|
} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicant-commitment-loan.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-commitment-loan.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"applicant-commitment-loan.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-commitment-loan.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AA8B/C,QAAA,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAyD,CAAC;AACnF,eAAe,mBAAmB,CAAC"}
|
|
@@ -2,22 +2,27 @@ import mongoose from "mongoose";
|
|
|
2
2
|
import { Pound } from "../value-objects/pound";
|
|
3
3
|
const loanCommitmentSchema = new mongoose.Schema({
|
|
4
4
|
applicantId: { type: mongoose.Schema.Types.ObjectId, ref: "Applicant", required: true },
|
|
5
|
-
commitmentId: { type: String,
|
|
5
|
+
commitmentId: { type: String, default: null },
|
|
6
6
|
commitmentTypeLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null },
|
|
7
|
-
lenderName: { type: String, required: true },
|
|
8
|
-
loanTypeLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup",
|
|
9
|
-
securityDetails: { type: String,
|
|
7
|
+
lenderName: { type: String, required: true }, // Provider Name / Provider category
|
|
8
|
+
loanTypeLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null },
|
|
9
|
+
securityDetails: { type: String, default: null },
|
|
10
10
|
purpose: { type: String, default: null },
|
|
11
11
|
doHaveSharedResponsibility: {
|
|
12
12
|
type: Boolean,
|
|
13
|
-
required: true,
|
|
14
13
|
get: (v) => v ? "Yes" : "No"
|
|
15
14
|
},
|
|
16
|
-
sharedMortgage: { type: String,
|
|
15
|
+
sharedMortgage: { type: String, default: null },
|
|
17
16
|
remainingTerm: { type: String, default: null },
|
|
18
|
-
startDate: { type: String,
|
|
19
|
-
outstandingBalance: { type: Pound, required: true },
|
|
20
|
-
monthlyPayment: { type: Pound, required: true }
|
|
17
|
+
startDate: { type: String, default: null },
|
|
18
|
+
outstandingBalance: { type: Pound, required: true }, // Balance
|
|
19
|
+
monthlyPayment: { type: Pound, required: true }, // Monthly payment
|
|
20
|
+
source: {
|
|
21
|
+
type: String,
|
|
22
|
+
enum: ["Broker", "Credit Report"],
|
|
23
|
+
default: "Broker"
|
|
24
|
+
},
|
|
25
|
+
isSelected: { type: Boolean, default: true }, // mark as selected for summary calculation
|
|
21
26
|
}, {
|
|
22
27
|
toJSON: { getters: true },
|
|
23
28
|
toObject: { getters: true }
|
|
@@ -1,6 +1,34 @@
|
|
|
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 MortgageCommitmentModel: mongoose.Model<{
|
|
30
|
+
isSelected?: unknown;
|
|
31
|
+
source?: unknown;
|
|
4
32
|
applicantId?: mongoose.Types.ObjectId | null | undefined;
|
|
5
33
|
repaymentTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
6
34
|
outstandingBalance?: {
|
|
@@ -206,6 +234,8 @@ declare const MortgageCommitmentModel: mongoose.Model<{
|
|
|
206
234
|
accountInArrears?: unknown;
|
|
207
235
|
accountInArrearsDetails?: unknown;
|
|
208
236
|
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
237
|
+
isSelected?: unknown;
|
|
238
|
+
source?: unknown;
|
|
209
239
|
applicantId?: mongoose.Types.ObjectId | null | undefined;
|
|
210
240
|
repaymentTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
211
241
|
outstandingBalance?: {
|
|
@@ -411,6 +441,8 @@ declare const MortgageCommitmentModel: mongoose.Model<{
|
|
|
411
441
|
accountInArrears?: unknown;
|
|
412
442
|
accountInArrearsDetails?: unknown;
|
|
413
443
|
}> & {
|
|
444
|
+
isSelected?: unknown;
|
|
445
|
+
source?: unknown;
|
|
414
446
|
applicantId?: mongoose.Types.ObjectId | null | undefined;
|
|
415
447
|
repaymentTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
416
448
|
outstandingBalance?: {
|
|
@@ -627,6 +659,8 @@ declare const MortgageCommitmentModel: mongoose.Model<{
|
|
|
627
659
|
getters: true;
|
|
628
660
|
};
|
|
629
661
|
}, {
|
|
662
|
+
isSelected: boolean;
|
|
663
|
+
source: "Broker" | "Credit Report";
|
|
630
664
|
applicantId: mongoose.Types.ObjectId;
|
|
631
665
|
repaymentTypeLid: mongoose.Types.ObjectId;
|
|
632
666
|
outstandingBalance: Pound;
|
|
@@ -635,19 +669,21 @@ declare const MortgageCommitmentModel: mongoose.Model<{
|
|
|
635
669
|
commitmentTypeLid: mongoose.Types.ObjectId;
|
|
636
670
|
lenderName: string;
|
|
637
671
|
monthlyPayment: Pound;
|
|
638
|
-
doHaveSharedResponsibility: boolean;
|
|
639
672
|
sharedMortgage: string;
|
|
640
673
|
startDate: string;
|
|
641
674
|
propertyValue: Pound;
|
|
642
675
|
mortgageTypeLid: mongoose.Types.ObjectId;
|
|
643
676
|
originalLoanAmount: Pound;
|
|
644
|
-
furtherAdvances: boolean;
|
|
645
677
|
furtherAdvanceDetails: string;
|
|
646
|
-
accountUptoDate: boolean;
|
|
647
678
|
accountUptoDateFailDetails: string;
|
|
648
|
-
accountInArrears: boolean;
|
|
649
679
|
accountInArrearsDetails: string;
|
|
680
|
+
doHaveSharedResponsibility?: boolean | null | undefined;
|
|
681
|
+
furtherAdvances?: boolean | null | undefined;
|
|
682
|
+
accountUptoDate?: boolean | null | undefined;
|
|
683
|
+
accountInArrears?: boolean | null | undefined;
|
|
650
684
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
685
|
+
isSelected: boolean;
|
|
686
|
+
source: "Broker" | "Credit Report";
|
|
651
687
|
applicantId: mongoose.Types.ObjectId;
|
|
652
688
|
repaymentTypeLid: mongoose.Types.ObjectId;
|
|
653
689
|
outstandingBalance: Pound;
|
|
@@ -656,19 +692,21 @@ declare const MortgageCommitmentModel: mongoose.Model<{
|
|
|
656
692
|
commitmentTypeLid: mongoose.Types.ObjectId;
|
|
657
693
|
lenderName: string;
|
|
658
694
|
monthlyPayment: Pound;
|
|
659
|
-
doHaveSharedResponsibility: boolean;
|
|
660
695
|
sharedMortgage: string;
|
|
661
696
|
startDate: string;
|
|
662
697
|
propertyValue: Pound;
|
|
663
698
|
mortgageTypeLid: mongoose.Types.ObjectId;
|
|
664
699
|
originalLoanAmount: Pound;
|
|
665
|
-
furtherAdvances: boolean;
|
|
666
700
|
furtherAdvanceDetails: string;
|
|
667
|
-
accountUptoDate: boolean;
|
|
668
701
|
accountUptoDateFailDetails: string;
|
|
669
|
-
accountInArrears: boolean;
|
|
670
702
|
accountInArrearsDetails: string;
|
|
703
|
+
doHaveSharedResponsibility?: boolean | null | undefined;
|
|
704
|
+
furtherAdvances?: boolean | null | undefined;
|
|
705
|
+
accountUptoDate?: boolean | null | undefined;
|
|
706
|
+
accountInArrears?: boolean | null | undefined;
|
|
671
707
|
}>> & mongoose.FlatRecord<{
|
|
708
|
+
isSelected: boolean;
|
|
709
|
+
source: "Broker" | "Credit Report";
|
|
672
710
|
applicantId: mongoose.Types.ObjectId;
|
|
673
711
|
repaymentTypeLid: mongoose.Types.ObjectId;
|
|
674
712
|
outstandingBalance: Pound;
|
|
@@ -677,18 +715,18 @@ declare const MortgageCommitmentModel: mongoose.Model<{
|
|
|
677
715
|
commitmentTypeLid: mongoose.Types.ObjectId;
|
|
678
716
|
lenderName: string;
|
|
679
717
|
monthlyPayment: Pound;
|
|
680
|
-
doHaveSharedResponsibility: boolean;
|
|
681
718
|
sharedMortgage: string;
|
|
682
719
|
startDate: string;
|
|
683
720
|
propertyValue: Pound;
|
|
684
721
|
mortgageTypeLid: mongoose.Types.ObjectId;
|
|
685
722
|
originalLoanAmount: Pound;
|
|
686
|
-
furtherAdvances: boolean;
|
|
687
723
|
furtherAdvanceDetails: string;
|
|
688
|
-
accountUptoDate: boolean;
|
|
689
724
|
accountUptoDateFailDetails: string;
|
|
690
|
-
accountInArrears: boolean;
|
|
691
725
|
accountInArrearsDetails: string;
|
|
726
|
+
doHaveSharedResponsibility?: boolean | null | undefined;
|
|
727
|
+
furtherAdvances?: boolean | null | undefined;
|
|
728
|
+
accountUptoDate?: boolean | null | undefined;
|
|
729
|
+
accountInArrears?: boolean | null | undefined;
|
|
692
730
|
}> & {
|
|
693
731
|
_id: mongoose.Types.ObjectId;
|
|
694
732
|
} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicant-commitment-mortgage.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-commitment-mortgage.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"applicant-commitment-mortgage.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-commitment-mortgage.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AA8C/C,QAAA,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAiE,CAAC;AAC/F,eAAe,uBAAuB,CAAC"}
|
|
@@ -2,41 +2,43 @@ import mongoose from "mongoose";
|
|
|
2
2
|
import { Pound } from "../value-objects/pound";
|
|
3
3
|
const mortgageCommitmentSchema = new mongoose.Schema({
|
|
4
4
|
applicantId: { type: mongoose.Schema.Types.ObjectId, ref: "Applicant", required: true },
|
|
5
|
-
lenderName: { type: String, required: true },
|
|
6
|
-
propertyValue: { type: Pound,
|
|
7
|
-
repaymentTypeLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup",
|
|
5
|
+
lenderName: { type: String, required: true }, // Provider Name / Provider category
|
|
6
|
+
propertyValue: { type: Pound, default: null },
|
|
7
|
+
repaymentTypeLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null },
|
|
8
8
|
mortgageTypeLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null },
|
|
9
|
-
fixedTerm: { type: String,
|
|
10
|
-
originalLoanAmount: { type: Pound,
|
|
11
|
-
outstandingBalance: { type: Pound, required: true },
|
|
12
|
-
startDate: { type: String,
|
|
13
|
-
monthlyPayment: { type: Pound, required: true },
|
|
14
|
-
commitmentId: { type: String,
|
|
9
|
+
fixedTerm: { type: String, default: null },
|
|
10
|
+
originalLoanAmount: { type: Pound, default: null },
|
|
11
|
+
outstandingBalance: { type: Pound, required: true }, // Balance
|
|
12
|
+
startDate: { type: String, default: null },
|
|
13
|
+
monthlyPayment: { type: Pound, required: true }, // Monthly payment
|
|
14
|
+
commitmentId: { type: String, default: null },
|
|
15
15
|
commitmentTypeLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null },
|
|
16
16
|
furtherAdvances: {
|
|
17
17
|
type: Boolean,
|
|
18
|
-
required: true,
|
|
19
18
|
get: (v) => v ? "Yes" : "No"
|
|
20
19
|
},
|
|
21
|
-
furtherAdvanceDetails: { type: String,
|
|
20
|
+
furtherAdvanceDetails: { type: String, default: null },
|
|
22
21
|
accountUptoDate: {
|
|
23
22
|
type: Boolean,
|
|
24
|
-
required: true,
|
|
25
23
|
get: (v) => v ? "Yes" : "No"
|
|
26
24
|
},
|
|
27
|
-
accountUptoDateFailDetails: { type: String,
|
|
25
|
+
accountUptoDateFailDetails: { type: String, default: null },
|
|
28
26
|
accountInArrears: {
|
|
29
27
|
type: Boolean,
|
|
30
|
-
required: true,
|
|
31
28
|
get: (v) => v ? "Yes" : "No"
|
|
32
29
|
},
|
|
33
|
-
accountInArrearsDetails: { type: String,
|
|
30
|
+
accountInArrearsDetails: { type: String, default: null },
|
|
34
31
|
doHaveSharedResponsibility: {
|
|
35
32
|
type: Boolean,
|
|
36
|
-
required: true,
|
|
37
33
|
get: (v) => v ? "Yes" : "No"
|
|
38
34
|
},
|
|
39
|
-
sharedMortgage: { type: String,
|
|
35
|
+
sharedMortgage: { type: String, default: null },
|
|
36
|
+
source: {
|
|
37
|
+
type: String,
|
|
38
|
+
enum: ["Broker", "Credit Report"],
|
|
39
|
+
default: "Broker"
|
|
40
|
+
},
|
|
41
|
+
isSelected: { type: Boolean, default: true }, // mark as selected for summary calculation
|
|
40
42
|
}, {
|
|
41
43
|
toJSON: { getters: true },
|
|
42
44
|
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 ResidenceCommitmentModel: mongoose.Model<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicant-commitment-residence.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-commitment-residence.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAiD/C,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAmE,CAAC;AAClG,eAAe,wBAAwB,CAAC"}
|
|
1
|
+
{"version":3,"file":"applicant-commitment-residence.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-commitment-residence.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAiD/C,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAmE,CAAC;AAClG,eAAe,wBAAwB,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 SecuredLoanCommitmentModel: mongoose.Model<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicant-commitment-secureLoan.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-commitment-secureLoan.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAuB/C,QAAA,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAuE,CAAC;AACxG,eAAe,0BAA0B,CAAC"}
|
|
1
|
+
{"version":3,"file":"applicant-commitment-secureLoan.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-commitment-secureLoan.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAuB/C,QAAA,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAuE,CAAC;AACxG,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 UnsecuredLoanCommitmentModel: mongoose.Model<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicant-commitment-unsecuredLoan.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-commitment-unsecuredLoan.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAsB/C,QAAA,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA2E,CAAC;AAC9G,eAAe,4BAA4B,CAAC"}
|
|
1
|
+
{"version":3,"file":"applicant-commitment-unsecuredLoan.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-commitment-unsecuredLoan.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAsB/C,QAAA,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA2E,CAAC;AAC9G,eAAe,4BAA4B,CAAC"}
|