@dynamatix/gb-schemas 1.3.256 → 1.3.257
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-expenditure.type.d.ts +42 -0
- package/dist/applicants/applicant-expenditure.type.d.ts.map +1 -0
- package/dist/applicants/applicant-expenditure.type.js +1 -0
- package/dist/applicants/applicant-income-settings.type.d.ts +40 -0
- package/dist/applicants/applicant-income-settings.type.d.ts.map +1 -0
- package/dist/applicants/applicant-income-settings.type.js +1 -0
- package/dist/applicants/applicant-income-summary.type.d.ts +60 -0
- package/dist/applicants/applicant-income-summary.type.d.ts.map +1 -0
- package/dist/applicants/applicant-income-summary.type.js +1 -0
- package/dist/applicants/applicant-pension-income.type.d.ts +40 -0
- package/dist/applicants/applicant-pension-income.type.d.ts.map +1 -0
- package/dist/applicants/applicant-pension-income.type.js +1 -0
- package/dist/applicants/applicant-self-employed-income.type.d.ts +37 -0
- package/dist/applicants/applicant-self-employed-income.type.d.ts.map +1 -0
- package/dist/applicants/applicant-self-employed-income.type.js +1 -0
- package/dist/applicants/applicant-sole-trader-income.type.d.ts +37 -0
- package/dist/applicants/applicant-sole-trader-income.type.d.ts.map +1 -0
- package/dist/applicants/applicant-sole-trader-income.type.js +1 -0
- package/dist/applicants/applicant-uk-tax-credits.type.d.ts +39 -0
- package/dist/applicants/applicant-uk-tax-credits.type.d.ts.map +1 -0
- package/dist/applicants/applicant-uk-tax-credits.type.js +1 -0
- package/dist/applicants/applicant.type.d.ts +158 -0
- package/dist/applicants/applicant.type.d.ts.map +1 -0
- package/dist/applicants/applicant.type.js +1 -0
- package/dist/applicants/index.d.ts +8 -0
- package/dist/applicants/index.d.ts.map +1 -1
- package/dist/applications/applications-task.model.d.ts +159 -67
- package/dist/applications/applications-task.model.d.ts.map +1 -1
- package/dist/applications/applications-task.model.js +26 -46
- package/dist/applications/applications-task.type.d.ts +28 -0
- package/dist/applications/applications-task.type.d.ts.map +1 -0
- package/dist/applications/applications-task.type.js +1 -0
- package/dist/applications/index.d.ts +1 -0
- package/dist/applications/index.d.ts.map +1 -1
- package/package.json +2 -1
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/// <reference path="../value-objects/pound.d.ts" />
|
|
2
|
+
/// <reference path="../value-objects/account-number.d.ts" />
|
|
3
|
+
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
4
|
+
/// <reference types="mongoose/types/aggregate" />
|
|
5
|
+
/// <reference types="mongoose/types/callback" />
|
|
6
|
+
/// <reference types="mongoose/types/collection" />
|
|
7
|
+
/// <reference types="mongoose/types/connection" />
|
|
8
|
+
/// <reference types="mongoose/types/cursor" />
|
|
9
|
+
/// <reference types="mongoose/types/document" />
|
|
10
|
+
/// <reference types="mongoose/types/error" />
|
|
11
|
+
/// <reference types="mongoose/types/expressions" />
|
|
12
|
+
/// <reference types="mongoose/types/helpers" />
|
|
13
|
+
/// <reference types="mongoose/types/middlewares" />
|
|
14
|
+
/// <reference types="mongoose/types/indexes" />
|
|
15
|
+
/// <reference types="mongoose/types/models" />
|
|
16
|
+
/// <reference types="mongoose/types/mongooseoptions" />
|
|
17
|
+
/// <reference types="mongoose/types/pipelinestage" />
|
|
18
|
+
/// <reference types="mongoose/types/populate" />
|
|
19
|
+
/// <reference types="mongoose/types/query" />
|
|
20
|
+
/// <reference types="mongoose/types/schemaoptions" />
|
|
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/schematypes" />
|
|
27
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
28
|
+
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
29
|
+
import { Types } from "mongoose";
|
|
30
|
+
import { IBaseType } from "../types/base.types";
|
|
31
|
+
export default interface IApplicantExpenditure extends IBaseType {
|
|
32
|
+
applicantId: Types.ObjectId;
|
|
33
|
+
isFixed?: boolean;
|
|
34
|
+
expenditureTypeLid?: Types.ObjectId | null;
|
|
35
|
+
sectionName?: "essentialExpenditure" | "basicCostOfLivingExpenditure";
|
|
36
|
+
declared?: number;
|
|
37
|
+
expected?: string;
|
|
38
|
+
actual?: number;
|
|
39
|
+
rationale?: string;
|
|
40
|
+
ExpenditureType?: any;
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=applicant-expenditure.type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"applicant-expenditure.type.d.ts","sourceRoot":"","sources":["../../applicants/applicant-expenditure.type.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,MAAM,CAAC,OAAO,WAAW,qBAAsB,SAAQ,SAAS;IAC5D,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kBAAkB,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC;IAC3C,WAAW,CAAC,EAAE,sBAAsB,GAAG,8BAA8B,CAAC;IACtE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,GAAG,CAAC;CACzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/// <reference path="../value-objects/pound.d.ts" />
|
|
2
|
+
/// <reference path="../value-objects/account-number.d.ts" />
|
|
3
|
+
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
4
|
+
/// <reference types="mongoose/types/aggregate" />
|
|
5
|
+
/// <reference types="mongoose/types/callback" />
|
|
6
|
+
/// <reference types="mongoose/types/collection" />
|
|
7
|
+
/// <reference types="mongoose/types/connection" />
|
|
8
|
+
/// <reference types="mongoose/types/cursor" />
|
|
9
|
+
/// <reference types="mongoose/types/document" />
|
|
10
|
+
/// <reference types="mongoose/types/error" />
|
|
11
|
+
/// <reference types="mongoose/types/expressions" />
|
|
12
|
+
/// <reference types="mongoose/types/helpers" />
|
|
13
|
+
/// <reference types="mongoose/types/middlewares" />
|
|
14
|
+
/// <reference types="mongoose/types/indexes" />
|
|
15
|
+
/// <reference types="mongoose/types/models" />
|
|
16
|
+
/// <reference types="mongoose/types/mongooseoptions" />
|
|
17
|
+
/// <reference types="mongoose/types/pipelinestage" />
|
|
18
|
+
/// <reference types="mongoose/types/populate" />
|
|
19
|
+
/// <reference types="mongoose/types/query" />
|
|
20
|
+
/// <reference types="mongoose/types/schemaoptions" />
|
|
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/schematypes" />
|
|
27
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
28
|
+
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
29
|
+
import { Types } from "mongoose";
|
|
30
|
+
import { IBaseType } from "../types/base.types";
|
|
31
|
+
export default interface IApplicantIncomeSettings extends IBaseType {
|
|
32
|
+
applicantId: Types.ObjectId;
|
|
33
|
+
employmentStatusLid?: Types.ObjectId | null;
|
|
34
|
+
incomeFromEmployment?: boolean;
|
|
35
|
+
incomeFromPension?: boolean;
|
|
36
|
+
incomeFromProperty?: boolean;
|
|
37
|
+
incomeFromSavings?: boolean;
|
|
38
|
+
lendingType?: string | null;
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=applicant-income-settings.type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"applicant-income-settings.type.d.ts","sourceRoot":"","sources":["../../applicants/applicant-income-settings.type.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,MAAM,CAAC,OAAO,WAAW,wBAAyB,SAAQ,SAAS;IAC/D,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC;IAC5B,mBAAmB,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC;IAC5C,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/// <reference path="../value-objects/pound.d.ts" />
|
|
2
|
+
/// <reference path="../value-objects/account-number.d.ts" />
|
|
3
|
+
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
4
|
+
/// <reference types="mongoose/types/aggregate" />
|
|
5
|
+
/// <reference types="mongoose/types/callback" />
|
|
6
|
+
/// <reference types="mongoose/types/collection" />
|
|
7
|
+
/// <reference types="mongoose/types/connection" />
|
|
8
|
+
/// <reference types="mongoose/types/cursor" />
|
|
9
|
+
/// <reference types="mongoose/types/document" />
|
|
10
|
+
/// <reference types="mongoose/types/error" />
|
|
11
|
+
/// <reference types="mongoose/types/expressions" />
|
|
12
|
+
/// <reference types="mongoose/types/helpers" />
|
|
13
|
+
/// <reference types="mongoose/types/middlewares" />
|
|
14
|
+
/// <reference types="mongoose/types/indexes" />
|
|
15
|
+
/// <reference types="mongoose/types/models" />
|
|
16
|
+
/// <reference types="mongoose/types/mongooseoptions" />
|
|
17
|
+
/// <reference types="mongoose/types/pipelinestage" />
|
|
18
|
+
/// <reference types="mongoose/types/populate" />
|
|
19
|
+
/// <reference types="mongoose/types/query" />
|
|
20
|
+
/// <reference types="mongoose/types/schemaoptions" />
|
|
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/schematypes" />
|
|
27
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
28
|
+
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
29
|
+
import { Types } from "mongoose";
|
|
30
|
+
import { IBaseType } from "../types/base.types";
|
|
31
|
+
export default interface IApplicantIncomeSummary extends IBaseType {
|
|
32
|
+
applicantId: Types.ObjectId;
|
|
33
|
+
totalEmploymentGrossIncome?: number;
|
|
34
|
+
totalEmploymentNetIncome?: number;
|
|
35
|
+
isEmploymentIncomeConfirmed?: boolean;
|
|
36
|
+
employmentIncomeRationale?: string | null;
|
|
37
|
+
isPensionIncomeConfirmed?: boolean;
|
|
38
|
+
pensionIncomeRationale?: string | null;
|
|
39
|
+
totalPensionGrossIncome?: number;
|
|
40
|
+
totalPensionNetIncome?: number;
|
|
41
|
+
totalAdditionalGrossIncome?: number;
|
|
42
|
+
totalAdditionalNetIncome?: number;
|
|
43
|
+
isAdditionalIncomeConfirmed?: boolean;
|
|
44
|
+
additionalIncomeRationale?: string | null;
|
|
45
|
+
isUKTaxCreditsIncomeConfirmed?: boolean;
|
|
46
|
+
totalUKTaxCreditsNetIncome?: number;
|
|
47
|
+
ukTaxCreditsIncomeRationale?: string | null;
|
|
48
|
+
totalUKTaxCreditsGrossIncome?: number;
|
|
49
|
+
isPropertyIncomeConfirmed?: boolean;
|
|
50
|
+
propertyIncomeRationale?: string | null;
|
|
51
|
+
selfEmployedIncomeRationale?: string | null;
|
|
52
|
+
isSelfEmployedIncomeConfirmed?: boolean;
|
|
53
|
+
totalSelfEmployedGrossIncome?: number;
|
|
54
|
+
totalSelfEmployedNetIncome?: number;
|
|
55
|
+
soleTraderIncomeRationale?: string | null;
|
|
56
|
+
isSoleTraderIncomeConfirmed?: boolean;
|
|
57
|
+
soleTraderGrossIncome?: number;
|
|
58
|
+
soleTraderNetIncome?: number;
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=applicant-income-summary.type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"applicant-income-summary.type.d.ts","sourceRoot":"","sources":["../../applicants/applicant-income-summary.type.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,MAAM,CAAC,OAAO,WAAW,uBAAwB,SAAQ,SAAS;IAC9D,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC;IAC5B,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC,yBAAyB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1C,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,sBAAsB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC,yBAAyB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1C,6BAA6B,CAAC,EAAE,OAAO,CAAC;IACxC,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,2BAA2B,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5C,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,uBAAuB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC,2BAA2B,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5C,6BAA6B,CAAC,EAAE,OAAO,CAAC;IACxC,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,yBAAyB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1C,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAChC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/// <reference path="../value-objects/pound.d.ts" />
|
|
2
|
+
/// <reference path="../value-objects/account-number.d.ts" />
|
|
3
|
+
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
4
|
+
/// <reference types="mongoose/types/aggregate" />
|
|
5
|
+
/// <reference types="mongoose/types/callback" />
|
|
6
|
+
/// <reference types="mongoose/types/collection" />
|
|
7
|
+
/// <reference types="mongoose/types/connection" />
|
|
8
|
+
/// <reference types="mongoose/types/cursor" />
|
|
9
|
+
/// <reference types="mongoose/types/document" />
|
|
10
|
+
/// <reference types="mongoose/types/error" />
|
|
11
|
+
/// <reference types="mongoose/types/expressions" />
|
|
12
|
+
/// <reference types="mongoose/types/helpers" />
|
|
13
|
+
/// <reference types="mongoose/types/middlewares" />
|
|
14
|
+
/// <reference types="mongoose/types/indexes" />
|
|
15
|
+
/// <reference types="mongoose/types/models" />
|
|
16
|
+
/// <reference types="mongoose/types/mongooseoptions" />
|
|
17
|
+
/// <reference types="mongoose/types/pipelinestage" />
|
|
18
|
+
/// <reference types="mongoose/types/populate" />
|
|
19
|
+
/// <reference types="mongoose/types/query" />
|
|
20
|
+
/// <reference types="mongoose/types/schemaoptions" />
|
|
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/schematypes" />
|
|
27
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
28
|
+
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
29
|
+
import { Types } from "mongoose";
|
|
30
|
+
import { IBaseType } from "../types/base.types";
|
|
31
|
+
export default interface IApplicantPensionIncome extends IBaseType {
|
|
32
|
+
applicantId: Types.ObjectId;
|
|
33
|
+
monthlyPrivatePension?: number;
|
|
34
|
+
monthlyStatePension?: number;
|
|
35
|
+
monthlyPensionIncome?: number;
|
|
36
|
+
applicationType?: string | null;
|
|
37
|
+
lendingType?: string | null;
|
|
38
|
+
incomeSourceId?: string | null;
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=applicant-pension-income.type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"applicant-pension-income.type.d.ts","sourceRoot":"","sources":["../../applicants/applicant-pension-income.type.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,MAAM,CAAC,OAAO,WAAW,uBAAwB,SAAQ,SAAS;IAC9D,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC;IAC5B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/// <reference path="../value-objects/pound.d.ts" />
|
|
2
|
+
/// <reference path="../value-objects/account-number.d.ts" />
|
|
3
|
+
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
4
|
+
/// <reference types="mongoose/types/aggregate" />
|
|
5
|
+
/// <reference types="mongoose/types/callback" />
|
|
6
|
+
/// <reference types="mongoose/types/collection" />
|
|
7
|
+
/// <reference types="mongoose/types/connection" />
|
|
8
|
+
/// <reference types="mongoose/types/cursor" />
|
|
9
|
+
/// <reference types="mongoose/types/document" />
|
|
10
|
+
/// <reference types="mongoose/types/error" />
|
|
11
|
+
/// <reference types="mongoose/types/expressions" />
|
|
12
|
+
/// <reference types="mongoose/types/helpers" />
|
|
13
|
+
/// <reference types="mongoose/types/middlewares" />
|
|
14
|
+
/// <reference types="mongoose/types/indexes" />
|
|
15
|
+
/// <reference types="mongoose/types/models" />
|
|
16
|
+
/// <reference types="mongoose/types/mongooseoptions" />
|
|
17
|
+
/// <reference types="mongoose/types/pipelinestage" />
|
|
18
|
+
/// <reference types="mongoose/types/populate" />
|
|
19
|
+
/// <reference types="mongoose/types/query" />
|
|
20
|
+
/// <reference types="mongoose/types/schemaoptions" />
|
|
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/schematypes" />
|
|
27
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
28
|
+
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
29
|
+
import { Types } from "mongoose";
|
|
30
|
+
import { IBaseType } from "../types/base.types";
|
|
31
|
+
export default interface IApplicantSelfEmployedIncome extends IBaseType {
|
|
32
|
+
applicantId: Types.ObjectId;
|
|
33
|
+
incomeSourceLid: Types.ObjectId;
|
|
34
|
+
amount: number;
|
|
35
|
+
incomeSourceId?: string | null;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=applicant-self-employed-income.type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"applicant-self-employed-income.type.d.ts","sourceRoot":"","sources":["../../applicants/applicant-self-employed-income.type.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,MAAM,CAAC,OAAO,WAAW,4BAA6B,SAAQ,SAAS;IACnE,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC;IAC5B,eAAe,EAAE,KAAK,CAAC,QAAQ,CAAC;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/// <reference path="../value-objects/pound.d.ts" />
|
|
2
|
+
/// <reference path="../value-objects/account-number.d.ts" />
|
|
3
|
+
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
4
|
+
/// <reference types="mongoose/types/aggregate" />
|
|
5
|
+
/// <reference types="mongoose/types/callback" />
|
|
6
|
+
/// <reference types="mongoose/types/collection" />
|
|
7
|
+
/// <reference types="mongoose/types/connection" />
|
|
8
|
+
/// <reference types="mongoose/types/cursor" />
|
|
9
|
+
/// <reference types="mongoose/types/document" />
|
|
10
|
+
/// <reference types="mongoose/types/error" />
|
|
11
|
+
/// <reference types="mongoose/types/expressions" />
|
|
12
|
+
/// <reference types="mongoose/types/helpers" />
|
|
13
|
+
/// <reference types="mongoose/types/middlewares" />
|
|
14
|
+
/// <reference types="mongoose/types/indexes" />
|
|
15
|
+
/// <reference types="mongoose/types/models" />
|
|
16
|
+
/// <reference types="mongoose/types/mongooseoptions" />
|
|
17
|
+
/// <reference types="mongoose/types/pipelinestage" />
|
|
18
|
+
/// <reference types="mongoose/types/populate" />
|
|
19
|
+
/// <reference types="mongoose/types/query" />
|
|
20
|
+
/// <reference types="mongoose/types/schemaoptions" />
|
|
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/schematypes" />
|
|
27
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
28
|
+
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
29
|
+
import { Types } from "mongoose";
|
|
30
|
+
import { IBaseType } from "../types/base.types";
|
|
31
|
+
export default interface IApplicantSoleTraderIncome extends IBaseType {
|
|
32
|
+
applicantId: Types.ObjectId;
|
|
33
|
+
incomeSourceLid: Types.ObjectId;
|
|
34
|
+
amount?: number;
|
|
35
|
+
incomeSourceId?: string | null;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=applicant-sole-trader-income.type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"applicant-sole-trader-income.type.d.ts","sourceRoot":"","sources":["../../applicants/applicant-sole-trader-income.type.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,MAAM,CAAC,OAAO,WAAW,0BAA2B,SAAQ,SAAS;IACjE,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC;IAC5B,eAAe,EAAE,KAAK,CAAC,QAAQ,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/// <reference path="../value-objects/pound.d.ts" />
|
|
2
|
+
/// <reference path="../value-objects/account-number.d.ts" />
|
|
3
|
+
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
4
|
+
/// <reference types="mongoose/types/aggregate" />
|
|
5
|
+
/// <reference types="mongoose/types/callback" />
|
|
6
|
+
/// <reference types="mongoose/types/collection" />
|
|
7
|
+
/// <reference types="mongoose/types/connection" />
|
|
8
|
+
/// <reference types="mongoose/types/cursor" />
|
|
9
|
+
/// <reference types="mongoose/types/document" />
|
|
10
|
+
/// <reference types="mongoose/types/error" />
|
|
11
|
+
/// <reference types="mongoose/types/expressions" />
|
|
12
|
+
/// <reference types="mongoose/types/helpers" />
|
|
13
|
+
/// <reference types="mongoose/types/middlewares" />
|
|
14
|
+
/// <reference types="mongoose/types/indexes" />
|
|
15
|
+
/// <reference types="mongoose/types/models" />
|
|
16
|
+
/// <reference types="mongoose/types/mongooseoptions" />
|
|
17
|
+
/// <reference types="mongoose/types/pipelinestage" />
|
|
18
|
+
/// <reference types="mongoose/types/populate" />
|
|
19
|
+
/// <reference types="mongoose/types/query" />
|
|
20
|
+
/// <reference types="mongoose/types/schemaoptions" />
|
|
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/schematypes" />
|
|
27
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
28
|
+
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
29
|
+
import { Types } from "mongoose";
|
|
30
|
+
import { IBaseType } from "../types/base.types";
|
|
31
|
+
export default interface IApplicantUKTaxCredits extends IBaseType {
|
|
32
|
+
applicantId: Types.ObjectId;
|
|
33
|
+
taxCredits?: number;
|
|
34
|
+
maintenance?: number;
|
|
35
|
+
otherBenefits?: number;
|
|
36
|
+
otherBenefitsExplanation?: string | null;
|
|
37
|
+
incomeSourceId?: string | null;
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=applicant-uk-tax-credits.type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"applicant-uk-tax-credits.type.d.ts","sourceRoot":"","sources":["../../applicants/applicant-uk-tax-credits.type.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,MAAM,CAAC,OAAO,WAAW,sBAAuB,SAAQ,SAAS;IAC7D,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,wBAAwB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzC,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
/// <reference path="../value-objects/pound.d.ts" />
|
|
2
|
+
/// <reference path="../value-objects/account-number.d.ts" />
|
|
3
|
+
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
4
|
+
/// <reference types="mongoose/types/aggregate" />
|
|
5
|
+
/// <reference types="mongoose/types/callback" />
|
|
6
|
+
/// <reference types="mongoose/types/collection" />
|
|
7
|
+
/// <reference types="mongoose/types/connection" />
|
|
8
|
+
/// <reference types="mongoose/types/cursor" />
|
|
9
|
+
/// <reference types="mongoose/types/document" />
|
|
10
|
+
/// <reference types="mongoose/types/error" />
|
|
11
|
+
/// <reference types="mongoose/types/expressions" />
|
|
12
|
+
/// <reference types="mongoose/types/helpers" />
|
|
13
|
+
/// <reference types="mongoose/types/middlewares" />
|
|
14
|
+
/// <reference types="mongoose/types/indexes" />
|
|
15
|
+
/// <reference types="mongoose/types/models" />
|
|
16
|
+
/// <reference types="mongoose/types/mongooseoptions" />
|
|
17
|
+
/// <reference types="mongoose/types/pipelinestage" />
|
|
18
|
+
/// <reference types="mongoose/types/populate" />
|
|
19
|
+
/// <reference types="mongoose/types/query" />
|
|
20
|
+
/// <reference types="mongoose/types/schemaoptions" />
|
|
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/schematypes" />
|
|
27
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
28
|
+
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
29
|
+
import { Types } from "mongoose";
|
|
30
|
+
import { IBaseType } from "../types/base.types";
|
|
31
|
+
export default interface IApplicant extends IBaseType {
|
|
32
|
+
applicantId: string;
|
|
33
|
+
applicationId: Types.ObjectId;
|
|
34
|
+
serialName?: string;
|
|
35
|
+
addressCity?: string | null;
|
|
36
|
+
addressCountryLid?: Types.ObjectId | null;
|
|
37
|
+
addressLine1?: string | null;
|
|
38
|
+
addressLine2?: string | null;
|
|
39
|
+
addressLine3?: string | null;
|
|
40
|
+
addressMovedDate?: string | null;
|
|
41
|
+
addressPostCode?: string | null;
|
|
42
|
+
correspondenceAddressCity?: string | null;
|
|
43
|
+
correspondenceAddressCountryLid?: Types.ObjectId | null;
|
|
44
|
+
correspondenceAddressLine1?: string | null;
|
|
45
|
+
correspondenceAddressLine2?: string | null;
|
|
46
|
+
correspondenceAddressLine3?: string | null;
|
|
47
|
+
correspondenceAddressPostCode?: string | null;
|
|
48
|
+
countryOfResidenceLid: Types.ObjectId;
|
|
49
|
+
dateOfBirth: string;
|
|
50
|
+
dependant10Age?: number;
|
|
51
|
+
dependant1Age?: number;
|
|
52
|
+
dependant2Age?: number;
|
|
53
|
+
dependant3Age?: number;
|
|
54
|
+
dependant4Age?: number;
|
|
55
|
+
dependant5Age?: number;
|
|
56
|
+
dependant6Age?: number;
|
|
57
|
+
dependant7Age?: number;
|
|
58
|
+
dependant8Age?: number;
|
|
59
|
+
dependant9Age?: number;
|
|
60
|
+
email: string;
|
|
61
|
+
employmentStatusDetails?: string | null;
|
|
62
|
+
firstName: string;
|
|
63
|
+
isFirstTimelandlord?: boolean;
|
|
64
|
+
foreignIdForNationals?: string | null;
|
|
65
|
+
gdprEmail?: boolean;
|
|
66
|
+
gdprPost?: boolean;
|
|
67
|
+
gdprTelephone?: boolean;
|
|
68
|
+
gdprTextMessage?: boolean;
|
|
69
|
+
gender: string;
|
|
70
|
+
hasBrokerGivenConsentForVulnerabilities: boolean;
|
|
71
|
+
hasLinkedJurisdiction?: boolean;
|
|
72
|
+
isCorrespondence?: boolean;
|
|
73
|
+
isCreditCardCommitmentConfirmed?: boolean;
|
|
74
|
+
isMortgageHPPCommitmentConfirmed?: boolean;
|
|
75
|
+
isSecuredLoanCommitmentConfirmed?: boolean;
|
|
76
|
+
isUnsecuredLoanCommitmentConfirmed?: boolean;
|
|
77
|
+
isExpenditureConfirmed?: boolean;
|
|
78
|
+
creditCardRationale?: string;
|
|
79
|
+
mortgageHPPRationale?: string;
|
|
80
|
+
securedLoanRationale?: string;
|
|
81
|
+
unsecuredLoanRationale?: string;
|
|
82
|
+
isCurrentContract?: boolean;
|
|
83
|
+
isCustomerVulnerable?: boolean;
|
|
84
|
+
isExpat?: boolean;
|
|
85
|
+
isFirstApplicant?: boolean;
|
|
86
|
+
isUkPassport?: boolean;
|
|
87
|
+
isUkResident: boolean;
|
|
88
|
+
classLid?: Types.ObjectId | null;
|
|
89
|
+
isExpenseOwner?: boolean;
|
|
90
|
+
pageValidFlag?: boolean;
|
|
91
|
+
lastName: string;
|
|
92
|
+
linkedJurisdictionCountryLid?: Types.ObjectId | null;
|
|
93
|
+
linkedJurisdictionDetails?: string | null;
|
|
94
|
+
maidenName?: string | null;
|
|
95
|
+
maritalStatusLid: Types.ObjectId;
|
|
96
|
+
mobileNumber?: string | null;
|
|
97
|
+
nationalityLid: Types.ObjectId;
|
|
98
|
+
netIncome?: number;
|
|
99
|
+
niNumber: string;
|
|
100
|
+
numberOfDependants?: number;
|
|
101
|
+
isOneYearPrior?: boolean;
|
|
102
|
+
phoneNumber?: string | null;
|
|
103
|
+
previous1AddressCity?: string | null;
|
|
104
|
+
previous1AddressCountryLid?: Types.ObjectId | null;
|
|
105
|
+
previous1AddressLine1?: string | null;
|
|
106
|
+
previous1AddressLine2?: string | null;
|
|
107
|
+
previous1AddressLine3?: string | null;
|
|
108
|
+
previous1AddressMovedDate?: string | null;
|
|
109
|
+
previous1AddressPostCode?: string | null;
|
|
110
|
+
previous1AddressPropertyOwnedBy?: string | null;
|
|
111
|
+
previous2AddressCity?: string | null;
|
|
112
|
+
previous2AddressCountryLid?: Types.ObjectId | null;
|
|
113
|
+
previous2AddressLine1?: string | null;
|
|
114
|
+
previous2AddressLine2?: string | null;
|
|
115
|
+
previous2AddressLine3?: string | null;
|
|
116
|
+
previous2AddressMovedDate?: string | null;
|
|
117
|
+
previous2AddressPostCode?: string | null;
|
|
118
|
+
previous2AddressPropertyOwnedBy?: string | null;
|
|
119
|
+
relationshipToOthers: string;
|
|
120
|
+
residentialStatusLid?: Types.ObjectId | null;
|
|
121
|
+
retirementAge: string;
|
|
122
|
+
taxJurisdictionLid: Types.ObjectId;
|
|
123
|
+
taxPayerLid: Types.ObjectId;
|
|
124
|
+
timeResidedAtCountryOfResidence: number;
|
|
125
|
+
title: string;
|
|
126
|
+
isTwoYearPrior?: boolean;
|
|
127
|
+
understandEnglish: boolean;
|
|
128
|
+
vulnerabilityNotes?: string | null;
|
|
129
|
+
vulnerabilityTypeLids: Types.ObjectId[];
|
|
130
|
+
ukPassportProfessionLid?: Types.ObjectId;
|
|
131
|
+
proposedFinanceAmount?: number;
|
|
132
|
+
topupAmount?: number;
|
|
133
|
+
creditCommitments?: number;
|
|
134
|
+
creditData?: any;
|
|
135
|
+
riskNarrative?: any;
|
|
136
|
+
incomeSourceId?: Types.ObjectId | null;
|
|
137
|
+
directDebit?: any;
|
|
138
|
+
creditProfile?: any;
|
|
139
|
+
employmentInformationId?: Types.ObjectId | null;
|
|
140
|
+
selfEmployedInformationId?: Types.ObjectId | null;
|
|
141
|
+
incomeSummaryId?: Types.ObjectId | null;
|
|
142
|
+
expenseONSVersion?: string | null;
|
|
143
|
+
nationality?: string | null;
|
|
144
|
+
residence?: string | null;
|
|
145
|
+
employmentClass?: string | null;
|
|
146
|
+
addressCountry?: string | null;
|
|
147
|
+
previous1AddressCountry?: string | null;
|
|
148
|
+
previous2AddressCountry?: string | null;
|
|
149
|
+
maritalStatus?: string | null;
|
|
150
|
+
residentialStatus?: string | null;
|
|
151
|
+
taxPayer?: string | null;
|
|
152
|
+
vulnerabilityType?: string[];
|
|
153
|
+
fullName?: string;
|
|
154
|
+
applicationType?: string | null;
|
|
155
|
+
lendingType?: string | null;
|
|
156
|
+
numberOfApplicants?: number;
|
|
157
|
+
}
|
|
158
|
+
//# sourceMappingURL=applicant.type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"applicant.type.d.ts","sourceRoot":"","sources":["../../appl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AC,QAAQ,GAAG,IAAI,CAAC;IAClD,eAAe,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC;IACxC,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGlC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,uBAAuB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC,uBAAuB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -19,4 +19,12 @@ export { default as ApplicantIncomeSettingsModel } from './applicant-income-sett
|
|
|
19
19
|
export { default as ApplicantIncomeSummaryModel } from './applicant-income-summary.model';
|
|
20
20
|
export { default as ApplicantAdditionalIncomeType } from './applicant-additional-income.type';
|
|
21
21
|
export { default as ApplicantEmploymentIncomeType } from './applicant-employment-income.type';
|
|
22
|
+
export { default as ApplicantPensionIncomeType } from './applicant-pension-income.type';
|
|
23
|
+
export { default as ApplicantIncomeSettingsType } from './applicant-income-settings.type';
|
|
24
|
+
export { default as ApplicantIncomeSummaryType } from './applicant-income-summary.type';
|
|
25
|
+
export { default as ApplicantSelfEmployedIncomeType } from './applicant-self-employed-income.type';
|
|
26
|
+
export { default as ApplicantSoleTraderIncomeType } from './applicant-sole-trader-income.type';
|
|
27
|
+
export { default as ApplicantUKTaxCreditsType } from './applicant-uk-tax-credits.type';
|
|
28
|
+
export { default as ApplicantExpenditureType } from './applicant-expenditure.type';
|
|
29
|
+
export { default as ApplicantType } from './applicant.type';
|
|
22
30
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../applicants/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAEhG,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AAC/F,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAC3F,OAAO,EAAE,OAAO,IAAI,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAChG,OAAO,EAAE,OAAO,IAAI,4BAA4B,EAAE,MAAM,4CAA4C,CAAC;AAErG,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAC7F,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAEnF,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AACrF,OAAO,EAAE,OAAO,IAAI,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAE1F,OAAO,EAAE,OAAO,IAAI,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAChG,OAAO,EAAE,OAAO,IAAI,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AACzF,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,8B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AAE,OAAO,IAAI,aAAa,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -28,81 +28,173 @@
|
|
|
28
28
|
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
29
29
|
import mongoose from "mongoose";
|
|
30
30
|
declare const ApplicationsTaskModel: mongoose.Model<{
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
31
|
+
createdAt: NativeDate;
|
|
32
|
+
updatedAt: NativeDate;
|
|
33
|
+
} & {
|
|
34
|
+
Status: number;
|
|
35
|
+
CheckflowId: string;
|
|
36
|
+
InstanceId: string;
|
|
37
|
+
StatusReason: string;
|
|
38
|
+
StatusDate: string;
|
|
39
|
+
AdditionalData: {
|
|
40
|
+
RequesterId: string;
|
|
41
|
+
ResponderId: string;
|
|
42
|
+
ApplicationId: string;
|
|
43
|
+
Status: number;
|
|
44
|
+
ConcernType: number;
|
|
45
|
+
ConcernComments: string;
|
|
46
|
+
ResolvedComments: string;
|
|
47
|
+
RejectionReason: string;
|
|
48
|
+
RejectionDate: string;
|
|
49
|
+
ResponderRemarks: string;
|
|
50
|
+
RequesterAttachmentId: string;
|
|
51
|
+
ResponderAttachmentId: string;
|
|
52
|
+
RequesterFileName: string;
|
|
53
|
+
ResponderFileName: string;
|
|
54
|
+
RespondedDate: string;
|
|
55
|
+
};
|
|
56
|
+
CreatedOn: string;
|
|
42
57
|
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
58
|
+
createdAt: NativeDate;
|
|
59
|
+
updatedAt: NativeDate;
|
|
60
|
+
} & {
|
|
61
|
+
Status: number;
|
|
62
|
+
CheckflowId: string;
|
|
63
|
+
InstanceId: string;
|
|
64
|
+
StatusReason: string;
|
|
65
|
+
StatusDate: string;
|
|
66
|
+
AdditionalData: {
|
|
67
|
+
RequesterId: string;
|
|
68
|
+
ResponderId: string;
|
|
69
|
+
ApplicationId: string;
|
|
70
|
+
Status: number;
|
|
71
|
+
ConcernType: number;
|
|
72
|
+
ConcernComments: string;
|
|
73
|
+
ResolvedComments: string;
|
|
74
|
+
RejectionReason: string;
|
|
75
|
+
RejectionDate: string;
|
|
76
|
+
ResponderRemarks: string;
|
|
77
|
+
RequesterAttachmentId: string;
|
|
78
|
+
ResponderAttachmentId: string;
|
|
79
|
+
RequesterFileName: string;
|
|
80
|
+
ResponderFileName: string;
|
|
81
|
+
RespondedDate: string;
|
|
82
|
+
};
|
|
83
|
+
CreatedOn: string;
|
|
54
84
|
}, {}> & {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
85
|
+
createdAt: NativeDate;
|
|
86
|
+
updatedAt: NativeDate;
|
|
87
|
+
} & {
|
|
88
|
+
Status: number;
|
|
89
|
+
CheckflowId: string;
|
|
90
|
+
InstanceId: string;
|
|
91
|
+
StatusReason: string;
|
|
92
|
+
StatusDate: string;
|
|
93
|
+
AdditionalData: {
|
|
94
|
+
RequesterId: string;
|
|
95
|
+
ResponderId: string;
|
|
96
|
+
ApplicationId: string;
|
|
97
|
+
Status: number;
|
|
98
|
+
ConcernType: number;
|
|
99
|
+
ConcernComments: string;
|
|
100
|
+
ResolvedComments: string;
|
|
101
|
+
RejectionReason: string;
|
|
102
|
+
RejectionDate: string;
|
|
103
|
+
ResponderRemarks: string;
|
|
104
|
+
RequesterAttachmentId: string;
|
|
105
|
+
ResponderAttachmentId: string;
|
|
106
|
+
RequesterFileName: string;
|
|
107
|
+
ResponderFileName: string;
|
|
108
|
+
RespondedDate: string;
|
|
109
|
+
};
|
|
110
|
+
CreatedOn: string;
|
|
66
111
|
} & {
|
|
67
112
|
_id: mongoose.Types.ObjectId;
|
|
68
113
|
} & {
|
|
69
114
|
__v: number;
|
|
70
|
-
}, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {},
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
115
|
+
}, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
116
|
+
timestamps: true;
|
|
117
|
+
}, {
|
|
118
|
+
createdAt: NativeDate;
|
|
119
|
+
updatedAt: NativeDate;
|
|
120
|
+
} & {
|
|
121
|
+
Status: number;
|
|
122
|
+
CheckflowId: string;
|
|
123
|
+
InstanceId: string;
|
|
124
|
+
StatusReason: string;
|
|
125
|
+
StatusDate: string;
|
|
126
|
+
AdditionalData: {
|
|
127
|
+
RequesterId: string;
|
|
128
|
+
ResponderId: string;
|
|
129
|
+
ApplicationId: string;
|
|
130
|
+
Status: number;
|
|
131
|
+
ConcernType: number;
|
|
132
|
+
ConcernComments: string;
|
|
133
|
+
ResolvedComments: string;
|
|
134
|
+
RejectionReason: string;
|
|
135
|
+
RejectionDate: string;
|
|
136
|
+
ResponderRemarks: string;
|
|
137
|
+
RequesterAttachmentId: string;
|
|
138
|
+
ResponderAttachmentId: string;
|
|
139
|
+
RequesterFileName: string;
|
|
140
|
+
ResponderFileName: string;
|
|
141
|
+
RespondedDate: string;
|
|
142
|
+
};
|
|
143
|
+
CreatedOn: string;
|
|
82
144
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
145
|
+
createdAt: NativeDate;
|
|
146
|
+
updatedAt: NativeDate;
|
|
147
|
+
} & {
|
|
148
|
+
Status: number;
|
|
149
|
+
CheckflowId: string;
|
|
150
|
+
InstanceId: string;
|
|
151
|
+
StatusReason: string;
|
|
152
|
+
StatusDate: string;
|
|
153
|
+
AdditionalData: {
|
|
154
|
+
RequesterId: string;
|
|
155
|
+
ResponderId: string;
|
|
156
|
+
ApplicationId: string;
|
|
157
|
+
Status: number;
|
|
158
|
+
ConcernType: number;
|
|
159
|
+
ConcernComments: string;
|
|
160
|
+
ResolvedComments: string;
|
|
161
|
+
RejectionReason: string;
|
|
162
|
+
RejectionDate: string;
|
|
163
|
+
ResponderRemarks: string;
|
|
164
|
+
RequesterAttachmentId: string;
|
|
165
|
+
ResponderAttachmentId: string;
|
|
166
|
+
RequesterFileName: string;
|
|
167
|
+
ResponderFileName: string;
|
|
168
|
+
RespondedDate: string;
|
|
169
|
+
};
|
|
170
|
+
CreatedOn: string;
|
|
94
171
|
}>, {}> & mongoose.FlatRecord<{
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
172
|
+
createdAt: NativeDate;
|
|
173
|
+
updatedAt: NativeDate;
|
|
174
|
+
} & {
|
|
175
|
+
Status: number;
|
|
176
|
+
CheckflowId: string;
|
|
177
|
+
InstanceId: string;
|
|
178
|
+
StatusReason: string;
|
|
179
|
+
StatusDate: string;
|
|
180
|
+
AdditionalData: {
|
|
181
|
+
RequesterId: string;
|
|
182
|
+
ResponderId: string;
|
|
183
|
+
ApplicationId: string;
|
|
184
|
+
Status: number;
|
|
185
|
+
ConcernType: number;
|
|
186
|
+
ConcernComments: string;
|
|
187
|
+
ResolvedComments: string;
|
|
188
|
+
RejectionReason: string;
|
|
189
|
+
RejectionDate: string;
|
|
190
|
+
ResponderRemarks: string;
|
|
191
|
+
RequesterAttachmentId: string;
|
|
192
|
+
ResponderAttachmentId: string;
|
|
193
|
+
RequesterFileName: string;
|
|
194
|
+
ResponderFileName: string;
|
|
195
|
+
RespondedDate: string;
|
|
196
|
+
};
|
|
197
|
+
CreatedOn: string;
|
|
106
198
|
}> & {
|
|
107
199
|
_id: mongoose.Types.ObjectId;
|
|
108
200
|
} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applications-task.model.d.ts","sourceRoot":"","sources":["../../applications/applications-task.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"applications-task.model.d.ts","sourceRoot":"","sources":["../../applications/applications-task.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AA+BhC,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA6D,CAAC;AACzF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,50 +1,30 @@
|
|
|
1
1
|
import mongoose from "mongoose";
|
|
2
|
+
// Additional Data schema for the nested object
|
|
3
|
+
const additionalDataSchema = new mongoose.Schema({
|
|
4
|
+
RequesterId: { type: String, required: true },
|
|
5
|
+
ResponderId: { type: String, required: true },
|
|
6
|
+
ApplicationId: { type: String, required: true },
|
|
7
|
+
Status: { type: Number, required: true },
|
|
8
|
+
ConcernType: { type: Number, required: true },
|
|
9
|
+
ConcernComments: { type: String, required: true },
|
|
10
|
+
ResolvedComments: { type: String, default: "" },
|
|
11
|
+
RejectionReason: { type: String, default: null },
|
|
12
|
+
RejectionDate: { type: String, default: null },
|
|
13
|
+
ResponderRemarks: { type: String, default: "" },
|
|
14
|
+
RequesterAttachmentId: { type: String, default: null },
|
|
15
|
+
ResponderAttachmentId: { type: String, default: null },
|
|
16
|
+
RequesterFileName: { type: String, default: null },
|
|
17
|
+
ResponderFileName: { type: String, default: null },
|
|
18
|
+
RespondedDate: { type: String, default: null }
|
|
19
|
+
}, { _id: false });
|
|
2
20
|
const applicationsTaskSchema = new mongoose.Schema({
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
},
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
taskType: {
|
|
12
|
-
type: String,
|
|
13
|
-
enum: ["DocumentTasks", "InformationTasks", "FeePaymentTasks"],
|
|
14
|
-
required: true
|
|
15
|
-
},
|
|
16
|
-
brokerId: {
|
|
17
|
-
type: String,
|
|
18
|
-
default: ""
|
|
19
|
-
},
|
|
20
|
-
activityName: {
|
|
21
|
-
type: String,
|
|
22
|
-
default: ""
|
|
23
|
-
},
|
|
24
|
-
description: {
|
|
25
|
-
type: String,
|
|
26
|
-
default: ""
|
|
27
|
-
},
|
|
28
|
-
instanceId: {
|
|
29
|
-
type: String,
|
|
30
|
-
default: ""
|
|
31
|
-
},
|
|
32
|
-
checkFlowId: {
|
|
33
|
-
type: String,
|
|
34
|
-
default: ""
|
|
35
|
-
},
|
|
36
|
-
status: {
|
|
37
|
-
type: String,
|
|
38
|
-
default: ""
|
|
39
|
-
},
|
|
40
|
-
hasAttachment: {
|
|
41
|
-
type: String,
|
|
42
|
-
default: ""
|
|
43
|
-
},
|
|
44
|
-
feeType: {
|
|
45
|
-
type: String,
|
|
46
|
-
default: ""
|
|
47
|
-
},
|
|
48
|
-
});
|
|
21
|
+
CheckflowId: { type: String, required: true },
|
|
22
|
+
InstanceId: { type: String, required: true },
|
|
23
|
+
Status: { type: Number, required: true },
|
|
24
|
+
StatusReason: { type: String, default: "" },
|
|
25
|
+
StatusDate: { type: String, default: null },
|
|
26
|
+
AdditionalData: { type: additionalDataSchema, required: true },
|
|
27
|
+
CreatedOn: { type: String, required: true }
|
|
28
|
+
}, { timestamps: true });
|
|
49
29
|
const ApplicationsTaskModel = mongoose.model("ApplicationsTask", applicationsTaskSchema);
|
|
50
30
|
export default ApplicationsTaskModel;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { IBaseType } from "../types/base.types";
|
|
2
|
+
export interface IApplicationsTaskAdditionalData {
|
|
3
|
+
RequesterId: string;
|
|
4
|
+
ResponderId: string;
|
|
5
|
+
ApplicationId: string;
|
|
6
|
+
Status: number;
|
|
7
|
+
ConcernType: number;
|
|
8
|
+
ConcernComments: string;
|
|
9
|
+
ResolvedComments?: string;
|
|
10
|
+
RejectionReason?: string | null;
|
|
11
|
+
RejectionDate?: string | null;
|
|
12
|
+
ResponderRemarks?: string;
|
|
13
|
+
RequesterAttachmentId?: string | null;
|
|
14
|
+
ResponderAttachmentId?: string | null;
|
|
15
|
+
RequesterFileName?: string | null;
|
|
16
|
+
ResponderFileName?: string | null;
|
|
17
|
+
RespondedDate?: string | null;
|
|
18
|
+
}
|
|
19
|
+
export default interface IApplicationsTaskType extends IBaseType {
|
|
20
|
+
CheckflowId: string;
|
|
21
|
+
InstanceId: string;
|
|
22
|
+
Status: number;
|
|
23
|
+
StatusReason?: string;
|
|
24
|
+
StatusDate?: string | null;
|
|
25
|
+
AdditionalData: IApplicationsTaskAdditionalData;
|
|
26
|
+
CreatedOn: string;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=applications-task.type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"applications-task.type.d.ts","sourceRoot":"","sources":["../../applications/applications-task.type.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,MAAM,WAAW,+BAA+B;IAC5C,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACjC;AAED,MAAM,CAAC,OAAO,WAAW,qBAAsB,SAAQ,SAAS;IAC5D,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,cAAc,EAAE,+BAA+B,CAAC;IAChD,SAAS,EAAE,MAAM,CAAC;CACrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -22,4 +22,5 @@ export { default as ApplicationEucModel } from './application-euc.model';
|
|
|
22
22
|
export { default as ApplicationsTaskModel } from './applications-task.model';
|
|
23
23
|
export { default as ApplicationProductType } from './application-product.type';
|
|
24
24
|
export { default as ApplicationProductFeaturesType } from './application-productfeatures.type';
|
|
25
|
+
export { default as IApplicationsTaskType } from './applications-task.type';
|
|
25
26
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../applications/index.ts"],"names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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,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAC9D,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,8BAA8B,CAAC;AACxE,OAAO,EAAE,OAAO,IAAI,+BAA+B,EAAE,MAAM,qCAAqC,CAAC;AACjG,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAC7E,OAAO,EAAC,OAAO,IAAI,sBAAsB,EAAC,MAAM,4BAA4B,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAC/F,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,0BAA0B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamatix/gb-schemas",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.257",
|
|
4
4
|
"description": "All the schemas for gatehouse bank back-end",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"homepage": "https://github.com/DynamatixAnalyticsPvtLtd/gb-schemas#readme",
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@dynamatix/cat-shared": "^0.0.113",
|
|
29
|
+
"@dynamatix/gb-schemas": "^1.3.256",
|
|
29
30
|
"dotenv": "^16.4.5",
|
|
30
31
|
"mongodb": "^6.14.2",
|
|
31
32
|
"mongoose": "^8.9.5"
|