@dynamatix/gb-schemas 1.3.358 → 1.3.359

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.
@@ -9,7 +9,7 @@ const ApplicantShareholdingSchema = new mongoose.Schema({
9
9
  }, { _id: false });
10
10
  const companySchema = new mongoose.Schema({
11
11
  applicationId: {
12
- type: mongoose.Schema.Types.ObjectId, ref: "Application", required: false,
12
+ type: mongoose.Schema.Types.ObjectId, ref: "Application", required: true,
13
13
  description: "Unique identifier for the application"
14
14
  },
15
15
  pageValidFlag: { type: Boolean, default: true, },
@@ -37,6 +37,7 @@ declare const ApplicationsTaskModel: mongoose.Model<{
37
37
  createdOn?: string | null | undefined;
38
38
  additionalData?: {
39
39
  resolvedComments: string;
40
+ taskType: "internal" | "broker";
40
41
  rejectionReason: string;
41
42
  rejectionDate: string;
42
43
  responderRemarks: string;
@@ -65,6 +66,7 @@ declare const ApplicationsTaskModel: mongoose.Model<{
65
66
  createdOn?: string | null | undefined;
66
67
  additionalData?: {
67
68
  resolvedComments: string;
69
+ taskType: "internal" | "broker";
68
70
  rejectionReason: string;
69
71
  rejectionDate: string;
70
72
  responderRemarks: string;
@@ -93,6 +95,7 @@ declare const ApplicationsTaskModel: mongoose.Model<{
93
95
  createdOn?: string | null | undefined;
94
96
  additionalData?: {
95
97
  resolvedComments: string;
98
+ taskType: "internal" | "broker";
96
99
  rejectionReason: string;
97
100
  rejectionDate: string;
98
101
  responderRemarks: string;
@@ -127,6 +130,7 @@ declare const ApplicationsTaskModel: mongoose.Model<{
127
130
  createdOn?: string | null | undefined;
128
131
  additionalData?: {
129
132
  resolvedComments: string;
133
+ taskType: "internal" | "broker";
130
134
  rejectionReason: string;
131
135
  rejectionDate: string;
132
136
  responderRemarks: string;
@@ -155,6 +159,7 @@ declare const ApplicationsTaskModel: mongoose.Model<{
155
159
  createdOn?: string | null | undefined;
156
160
  additionalData?: {
157
161
  resolvedComments: string;
162
+ taskType: "internal" | "broker";
158
163
  rejectionReason: string;
159
164
  rejectionDate: string;
160
165
  responderRemarks: string;
@@ -183,6 +188,7 @@ declare const ApplicationsTaskModel: mongoose.Model<{
183
188
  createdOn?: string | null | undefined;
184
189
  additionalData?: {
185
190
  resolvedComments: string;
191
+ taskType: "internal" | "broker";
186
192
  rejectionReason: string;
187
193
  rejectionDate: string;
188
194
  responderRemarks: string;
@@ -1 +1 @@
1
- {"version":3,"file":"applications-task.model.d.ts","sourceRoot":"","sources":["../../applications/applications-task.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAsChC,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA6D,CAAC;AACzF,eAAe,qBAAqB,CAAC"}
1
+ {"version":3,"file":"applications-task.model.d.ts","sourceRoot":"","sources":["../../applications/applications-task.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,OAAO,QAAQ,MAAM,UAAU,CAAC;AA2ChC,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA6D,CAAC;AACzF,eAAe,qBAAqB,CAAC"}
@@ -9,6 +9,11 @@ const additionalDataSchema = new mongoose.Schema({
9
9
  concernTypeLid: { type: mongoose.Schema.Types.ObjectId, ref: "ConcernType", required: false },
10
10
  concernComments: { type: String, required: false },
11
11
  resolvedComments: { type: String, default: "" },
12
+ taskType: {
13
+ type: String,
14
+ enum: ["internal", "broker"], // allowed values
15
+ required: true
16
+ },
12
17
  acceptedDate: { type: String },
13
18
  rejectionReason: { type: String, default: null },
14
19
  rejectionDate: { type: String, default: null },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/gb-schemas",
3
- "version": "1.3.358",
3
+ "version": "1.3.359",
4
4
  "description": "All the schemas for gatehouse bank back-end",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,26 +0,0 @@
1
- import mongoose from "mongoose";
2
- declare const applicantIncomeSourceSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
3
- employmentStatusLid: mongoose.Types.ObjectId;
4
- incomeFromEmployment?: string | null | undefined;
5
- incomeFromPension?: string | null | undefined;
6
- incomeFromProperty?: string | null | undefined;
7
- incomeFromSavings?: string | null | undefined;
8
- }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
9
- employmentStatusLid: mongoose.Types.ObjectId;
10
- incomeFromEmployment?: string | null | undefined;
11
- incomeFromPension?: string | null | undefined;
12
- incomeFromProperty?: string | null | undefined;
13
- incomeFromSavings?: string | null | undefined;
14
- }>> & mongoose.FlatRecord<{
15
- employmentStatusLid: mongoose.Types.ObjectId;
16
- incomeFromEmployment?: string | null | undefined;
17
- incomeFromPension?: string | null | undefined;
18
- incomeFromProperty?: string | null | undefined;
19
- incomeFromSavings?: string | null | undefined;
20
- }> & {
21
- _id: mongoose.Types.ObjectId;
22
- } & {
23
- __v: number;
24
- }>;
25
- export default applicantIncomeSourceSchema;
26
- //# sourceMappingURL=applicant-income-source.model.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"applicant-income-source.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-income-source.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAEhC,QAAA,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;EAM/B,CAAC;AAEH,eAAe,2BAA2B,CAAC"}
@@ -1,160 +0,0 @@
1
- import mongoose from "mongoose";
2
- import { Pound } from "../value-objects/pound";
3
- declare const incomeSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
4
- toJSON: {
5
- getters: true;
6
- };
7
- toObject: {
8
- getters: true;
9
- };
10
- }, {
11
- pageValidFlag: string;
12
- businessTypeLid: mongoose.Types.ObjectId;
13
- natureOfBusiness: string;
14
- yearEnd1: number;
15
- yearEnd2: number;
16
- yearEnd3: number;
17
- accountantsAddressLine1: string;
18
- accountantsAddressLine2: string;
19
- accountantsAddressLine3: string;
20
- accountantsCity: string;
21
- accountantsCountryLid: mongoose.Types.ObjectId;
22
- accountantsEmail: string;
23
- accountantsPostCode: string;
24
- accountantsPractice: string;
25
- accountantsTelephoneNumber: string;
26
- businessAddressLine1: string;
27
- businessAddressLine2: string;
28
- businessAddressLine3: string;
29
- businessCity: string;
30
- businessCountryLid: mongoose.Types.ObjectId;
31
- businessPostCode: string;
32
- businessTelephoneNumber: string;
33
- charteredCertifiedOrOtherLid: mongoose.Types.ObjectId;
34
- contactName: string;
35
- currentYearEnd: string;
36
- dateEstablished: string;
37
- doYouHaveAccountant: boolean;
38
- isBusinessAddressDifferent: boolean;
39
- nameOfBusiness: string;
40
- netAssets1: Pound;
41
- netAssets2: Pound;
42
- netAssets3: Pound;
43
- percentageOfShareholding: number;
44
- registeredAddressLine1: string;
45
- registeredAddressLine2: string;
46
- registeredAddressLine3: string;
47
- registeredCity: string;
48
- registeredCountryLid: mongoose.Types.ObjectId;
49
- registeredPostCode: string;
50
- registeredTelephone: string;
51
- selfEmployedDate: string;
52
- turnover1: Pound;
53
- turnover2: Pound;
54
- turnover3: Pound;
55
- year1: Pound;
56
- year2: Pound;
57
- year3: Pound;
58
- }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
59
- pageValidFlag: string;
60
- businessTypeLid: mongoose.Types.ObjectId;
61
- natureOfBusiness: string;
62
- yearEnd1: number;
63
- yearEnd2: number;
64
- yearEnd3: number;
65
- accountantsAddressLine1: string;
66
- accountantsAddressLine2: string;
67
- accountantsAddressLine3: string;
68
- accountantsCity: string;
69
- accountantsCountryLid: mongoose.Types.ObjectId;
70
- accountantsEmail: string;
71
- accountantsPostCode: string;
72
- accountantsPractice: string;
73
- accountantsTelephoneNumber: string;
74
- businessAddressLine1: string;
75
- businessAddressLine2: string;
76
- businessAddressLine3: string;
77
- businessCity: string;
78
- businessCountryLid: mongoose.Types.ObjectId;
79
- businessPostCode: string;
80
- businessTelephoneNumber: string;
81
- charteredCertifiedOrOtherLid: mongoose.Types.ObjectId;
82
- contactName: string;
83
- currentYearEnd: string;
84
- dateEstablished: string;
85
- doYouHaveAccountant: boolean;
86
- isBusinessAddressDifferent: boolean;
87
- nameOfBusiness: string;
88
- netAssets1: Pound;
89
- netAssets2: Pound;
90
- netAssets3: Pound;
91
- percentageOfShareholding: number;
92
- registeredAddressLine1: string;
93
- registeredAddressLine2: string;
94
- registeredAddressLine3: string;
95
- registeredCity: string;
96
- registeredCountryLid: mongoose.Types.ObjectId;
97
- registeredPostCode: string;
98
- registeredTelephone: string;
99
- selfEmployedDate: string;
100
- turnover1: Pound;
101
- turnover2: Pound;
102
- turnover3: Pound;
103
- year1: Pound;
104
- year2: Pound;
105
- year3: Pound;
106
- }>> & mongoose.FlatRecord<{
107
- pageValidFlag: string;
108
- businessTypeLid: mongoose.Types.ObjectId;
109
- natureOfBusiness: string;
110
- yearEnd1: number;
111
- yearEnd2: number;
112
- yearEnd3: number;
113
- accountantsAddressLine1: string;
114
- accountantsAddressLine2: string;
115
- accountantsAddressLine3: string;
116
- accountantsCity: string;
117
- accountantsCountryLid: mongoose.Types.ObjectId;
118
- accountantsEmail: string;
119
- accountantsPostCode: string;
120
- accountantsPractice: string;
121
- accountantsTelephoneNumber: string;
122
- businessAddressLine1: string;
123
- businessAddressLine2: string;
124
- businessAddressLine3: string;
125
- businessCity: string;
126
- businessCountryLid: mongoose.Types.ObjectId;
127
- businessPostCode: string;
128
- businessTelephoneNumber: string;
129
- charteredCertifiedOrOtherLid: mongoose.Types.ObjectId;
130
- contactName: string;
131
- currentYearEnd: string;
132
- dateEstablished: string;
133
- doYouHaveAccountant: boolean;
134
- isBusinessAddressDifferent: boolean;
135
- nameOfBusiness: string;
136
- netAssets1: Pound;
137
- netAssets2: Pound;
138
- netAssets3: Pound;
139
- percentageOfShareholding: number;
140
- registeredAddressLine1: string;
141
- registeredAddressLine2: string;
142
- registeredAddressLine3: string;
143
- registeredCity: string;
144
- registeredCountryLid: mongoose.Types.ObjectId;
145
- registeredPostCode: string;
146
- registeredTelephone: string;
147
- selfEmployedDate: string;
148
- turnover1: Pound;
149
- turnover2: Pound;
150
- turnover3: Pound;
151
- year1: Pound;
152
- year2: Pound;
153
- year3: Pound;
154
- }> & {
155
- _id: mongoose.Types.ObjectId;
156
- } & {
157
- __v: number;
158
- }>;
159
- export default incomeSchema;
160
- //# sourceMappingURL=applicant-income.model.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"applicant-income.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-income.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAE/C,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmDhB,CAAC;AAEH,eAAe,YAAY,CAAC"}
@@ -1,85 +0,0 @@
1
- import mongoose from "mongoose";
2
- import { Pound } from "../value-objects/pound";
3
- declare const applicantOtherIncomeSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
4
- toJSON: {
5
- getters: true;
6
- };
7
- toObject: {
8
- getters: true;
9
- };
10
- }, {
11
- maintenance: Pound;
12
- sourceDetails1: string;
13
- amount1: Pound;
14
- payFrequency1Lid: mongoose.Types.ObjectId;
15
- guaranteed1: boolean;
16
- sourceDetails2: string;
17
- amount2: Pound;
18
- payFrequency2Lid: mongoose.Types.ObjectId;
19
- guaranteed2: boolean;
20
- sourceDetails3: string;
21
- amount3: Pound;
22
- payFrequency3Lid: mongoose.Types.ObjectId;
23
- guaranteed3: boolean;
24
- sourceDetails4: string;
25
- amount4: Pound;
26
- payFrequency4Lid: mongoose.Types.ObjectId;
27
- guaranteed4: boolean;
28
- taxCredits: Pound;
29
- otherBenefits: Pound;
30
- grossPensionIncome: Pound;
31
- privatePensionIncome: Pound;
32
- statePensionIncome: Pound;
33
- }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
34
- maintenance: Pound;
35
- sourceDetails1: string;
36
- amount1: Pound;
37
- payFrequency1Lid: mongoose.Types.ObjectId;
38
- guaranteed1: boolean;
39
- sourceDetails2: string;
40
- amount2: Pound;
41
- payFrequency2Lid: mongoose.Types.ObjectId;
42
- guaranteed2: boolean;
43
- sourceDetails3: string;
44
- amount3: Pound;
45
- payFrequency3Lid: mongoose.Types.ObjectId;
46
- guaranteed3: boolean;
47
- sourceDetails4: string;
48
- amount4: Pound;
49
- payFrequency4Lid: mongoose.Types.ObjectId;
50
- guaranteed4: boolean;
51
- taxCredits: Pound;
52
- otherBenefits: Pound;
53
- grossPensionIncome: Pound;
54
- privatePensionIncome: Pound;
55
- statePensionIncome: Pound;
56
- }>> & mongoose.FlatRecord<{
57
- maintenance: Pound;
58
- sourceDetails1: string;
59
- amount1: Pound;
60
- payFrequency1Lid: mongoose.Types.ObjectId;
61
- guaranteed1: boolean;
62
- sourceDetails2: string;
63
- amount2: Pound;
64
- payFrequency2Lid: mongoose.Types.ObjectId;
65
- guaranteed2: boolean;
66
- sourceDetails3: string;
67
- amount3: Pound;
68
- payFrequency3Lid: mongoose.Types.ObjectId;
69
- guaranteed3: boolean;
70
- sourceDetails4: string;
71
- amount4: Pound;
72
- payFrequency4Lid: mongoose.Types.ObjectId;
73
- guaranteed4: boolean;
74
- taxCredits: Pound;
75
- otherBenefits: Pound;
76
- grossPensionIncome: Pound;
77
- privatePensionIncome: Pound;
78
- statePensionIncome: Pound;
79
- }> & {
80
- _id: mongoose.Types.ObjectId;
81
- } & {
82
- __v: number;
83
- }>;
84
- export default applicantOtherIncomeSchema;
85
- //# sourceMappingURL=applicant-other-income.model.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"applicant-other-income.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-other-income.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAE/C,QAAA,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6C9B,CAAC;AAEH,eAAe,0BAA0B,CAAC"}
@@ -1,158 +0,0 @@
1
- import mongoose from "mongoose";
2
- declare const ApplicationDocumentModel: mongoose.Model<{
3
- createdAt: NativeDate;
4
- updatedAt: NativeDate;
5
- } & {
6
- documentId: string;
7
- signers: any[];
8
- applicationId?: mongoose.Types.ObjectId | null | undefined;
9
- data?: string | null | undefined;
10
- owningEntityId?: string | null | undefined;
11
- documentTypeLid?: mongoose.Types.ObjectId | null | undefined;
12
- documentTypeId?: string | null | undefined;
13
- fileName?: string | null | undefined;
14
- contentType?: string | null | undefined;
15
- created?: string | null | undefined;
16
- createdBy?: string | null | undefined;
17
- isGenerated?: string | null | undefined;
18
- envelopeId?: string | null | undefined;
19
- documentType?: {
20
- data?: any;
21
- value?: string | null | undefined;
22
- documentTypeId?: string | null | undefined;
23
- displayName?: string | null | undefined;
24
- } | null | undefined;
25
- documentUrl?: string | null | undefined;
26
- }, {}, {}, {}, mongoose.Document<unknown, {}, {
27
- createdAt: NativeDate;
28
- updatedAt: NativeDate;
29
- } & {
30
- documentId: string;
31
- signers: any[];
32
- applicationId?: mongoose.Types.ObjectId | null | undefined;
33
- data?: string | null | undefined;
34
- owningEntityId?: string | null | undefined;
35
- documentTypeLid?: mongoose.Types.ObjectId | null | undefined;
36
- documentTypeId?: string | null | undefined;
37
- fileName?: string | null | undefined;
38
- contentType?: string | null | undefined;
39
- created?: string | null | undefined;
40
- createdBy?: string | null | undefined;
41
- isGenerated?: string | null | undefined;
42
- envelopeId?: string | null | undefined;
43
- documentType?: {
44
- data?: any;
45
- value?: string | null | undefined;
46
- documentTypeId?: string | null | undefined;
47
- displayName?: string | null | undefined;
48
- } | null | undefined;
49
- documentUrl?: string | null | undefined;
50
- }> & {
51
- createdAt: NativeDate;
52
- updatedAt: NativeDate;
53
- } & {
54
- documentId: string;
55
- signers: any[];
56
- applicationId?: mongoose.Types.ObjectId | null | undefined;
57
- data?: string | null | undefined;
58
- owningEntityId?: string | null | undefined;
59
- documentTypeLid?: mongoose.Types.ObjectId | null | undefined;
60
- documentTypeId?: string | null | undefined;
61
- fileName?: string | null | undefined;
62
- contentType?: string | null | undefined;
63
- created?: string | null | undefined;
64
- createdBy?: string | null | undefined;
65
- isGenerated?: string | null | undefined;
66
- envelopeId?: string | null | undefined;
67
- documentType?: {
68
- data?: any;
69
- value?: string | null | undefined;
70
- documentTypeId?: string | null | undefined;
71
- displayName?: string | null | undefined;
72
- } | null | undefined;
73
- documentUrl?: string | null | undefined;
74
- } & {
75
- _id: mongoose.Types.ObjectId;
76
- } & {
77
- __v: number;
78
- }, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
79
- timestamps: true;
80
- }, {
81
- createdAt: NativeDate;
82
- updatedAt: NativeDate;
83
- } & {
84
- documentId: string;
85
- signers: any[];
86
- applicationId?: mongoose.Types.ObjectId | null | undefined;
87
- data?: string | null | undefined;
88
- owningEntityId?: string | null | undefined;
89
- documentTypeLid?: mongoose.Types.ObjectId | null | undefined;
90
- documentTypeId?: string | null | undefined;
91
- fileName?: string | null | undefined;
92
- contentType?: string | null | undefined;
93
- created?: string | null | undefined;
94
- createdBy?: string | null | undefined;
95
- isGenerated?: string | null | undefined;
96
- envelopeId?: string | null | undefined;
97
- documentType?: {
98
- data?: any;
99
- value?: string | null | undefined;
100
- documentTypeId?: string | null | undefined;
101
- displayName?: string | null | undefined;
102
- } | null | undefined;
103
- documentUrl?: string | null | undefined;
104
- }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
105
- createdAt: NativeDate;
106
- updatedAt: NativeDate;
107
- } & {
108
- documentId: string;
109
- signers: any[];
110
- applicationId?: mongoose.Types.ObjectId | null | undefined;
111
- data?: string | null | undefined;
112
- owningEntityId?: string | null | undefined;
113
- documentTypeLid?: mongoose.Types.ObjectId | null | undefined;
114
- documentTypeId?: string | null | undefined;
115
- fileName?: string | null | undefined;
116
- contentType?: string | null | undefined;
117
- created?: string | null | undefined;
118
- createdBy?: string | null | undefined;
119
- isGenerated?: string | null | undefined;
120
- envelopeId?: string | null | undefined;
121
- documentType?: {
122
- data?: any;
123
- value?: string | null | undefined;
124
- documentTypeId?: string | null | undefined;
125
- displayName?: string | null | undefined;
126
- } | null | undefined;
127
- documentUrl?: string | null | undefined;
128
- }>> & mongoose.FlatRecord<{
129
- createdAt: NativeDate;
130
- updatedAt: NativeDate;
131
- } & {
132
- documentId: string;
133
- signers: any[];
134
- applicationId?: mongoose.Types.ObjectId | null | undefined;
135
- data?: string | null | undefined;
136
- owningEntityId?: string | null | undefined;
137
- documentTypeLid?: mongoose.Types.ObjectId | null | undefined;
138
- documentTypeId?: string | null | undefined;
139
- fileName?: string | null | undefined;
140
- contentType?: string | null | undefined;
141
- created?: string | null | undefined;
142
- createdBy?: string | null | undefined;
143
- isGenerated?: string | null | undefined;
144
- envelopeId?: string | null | undefined;
145
- documentType?: {
146
- data?: any;
147
- value?: string | null | undefined;
148
- documentTypeId?: string | null | undefined;
149
- displayName?: string | null | undefined;
150
- } | null | undefined;
151
- documentUrl?: string | null | undefined;
152
- }> & {
153
- _id: mongoose.Types.ObjectId;
154
- } & {
155
- __v: number;
156
- }>>;
157
- export default ApplicationDocumentModel;
158
- //# sourceMappingURL=application-document.model.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"application-document.model.d.ts","sourceRoot":"","sources":["../../applications/application-document.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAoChC,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAwD,CAAC;AACvF,eAAe,wBAAwB,CAAC"}
@@ -1,158 +0,0 @@
1
- import mongoose from "mongoose";
2
- declare const DocumentModel: mongoose.Model<{
3
- createdAt: NativeDate;
4
- updatedAt: NativeDate;
5
- } & {
6
- documentId: string;
7
- signers: any[];
8
- applicationId?: mongoose.Types.ObjectId | null | undefined;
9
- data?: string | null | undefined;
10
- owningEntityId?: string | null | undefined;
11
- documentTypeLid?: mongoose.Types.ObjectId | null | undefined;
12
- documentTypeId?: mongoose.Types.ObjectId | null | undefined;
13
- fileName?: string | null | undefined;
14
- contentType?: string | null | undefined;
15
- created?: string | null | undefined;
16
- createdBy?: string | null | undefined;
17
- isGenerated?: string | null | undefined;
18
- envelopeId?: string | null | undefined;
19
- documentType?: {
20
- data?: any;
21
- value?: string | null | undefined;
22
- documentTypeId?: string | null | undefined;
23
- displayName?: string | null | undefined;
24
- } | null | undefined;
25
- documentUrl?: string | null | undefined;
26
- }, {}, {}, {}, mongoose.Document<unknown, {}, {
27
- createdAt: NativeDate;
28
- updatedAt: NativeDate;
29
- } & {
30
- documentId: string;
31
- signers: any[];
32
- applicationId?: mongoose.Types.ObjectId | null | undefined;
33
- data?: string | null | undefined;
34
- owningEntityId?: string | null | undefined;
35
- documentTypeLid?: mongoose.Types.ObjectId | null | undefined;
36
- documentTypeId?: mongoose.Types.ObjectId | null | undefined;
37
- fileName?: string | null | undefined;
38
- contentType?: string | null | undefined;
39
- created?: string | null | undefined;
40
- createdBy?: string | null | undefined;
41
- isGenerated?: string | null | undefined;
42
- envelopeId?: string | null | undefined;
43
- documentType?: {
44
- data?: any;
45
- value?: string | null | undefined;
46
- documentTypeId?: string | null | undefined;
47
- displayName?: string | null | undefined;
48
- } | null | undefined;
49
- documentUrl?: string | null | undefined;
50
- }> & {
51
- createdAt: NativeDate;
52
- updatedAt: NativeDate;
53
- } & {
54
- documentId: string;
55
- signers: any[];
56
- applicationId?: mongoose.Types.ObjectId | null | undefined;
57
- data?: string | null | undefined;
58
- owningEntityId?: string | null | undefined;
59
- documentTypeLid?: mongoose.Types.ObjectId | null | undefined;
60
- documentTypeId?: mongoose.Types.ObjectId | null | undefined;
61
- fileName?: string | null | undefined;
62
- contentType?: string | null | undefined;
63
- created?: string | null | undefined;
64
- createdBy?: string | null | undefined;
65
- isGenerated?: string | null | undefined;
66
- envelopeId?: string | null | undefined;
67
- documentType?: {
68
- data?: any;
69
- value?: string | null | undefined;
70
- documentTypeId?: string | null | undefined;
71
- displayName?: string | null | undefined;
72
- } | null | undefined;
73
- documentUrl?: string | null | undefined;
74
- } & {
75
- _id: mongoose.Types.ObjectId;
76
- } & {
77
- __v: number;
78
- }, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
79
- timestamps: true;
80
- }, {
81
- createdAt: NativeDate;
82
- updatedAt: NativeDate;
83
- } & {
84
- documentId: string;
85
- signers: any[];
86
- applicationId?: mongoose.Types.ObjectId | null | undefined;
87
- data?: string | null | undefined;
88
- owningEntityId?: string | null | undefined;
89
- documentTypeLid?: mongoose.Types.ObjectId | null | undefined;
90
- documentTypeId?: mongoose.Types.ObjectId | null | undefined;
91
- fileName?: string | null | undefined;
92
- contentType?: string | null | undefined;
93
- created?: string | null | undefined;
94
- createdBy?: string | null | undefined;
95
- isGenerated?: string | null | undefined;
96
- envelopeId?: string | null | undefined;
97
- documentType?: {
98
- data?: any;
99
- value?: string | null | undefined;
100
- documentTypeId?: string | null | undefined;
101
- displayName?: string | null | undefined;
102
- } | null | undefined;
103
- documentUrl?: string | null | undefined;
104
- }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
105
- createdAt: NativeDate;
106
- updatedAt: NativeDate;
107
- } & {
108
- documentId: string;
109
- signers: any[];
110
- applicationId?: mongoose.Types.ObjectId | null | undefined;
111
- data?: string | null | undefined;
112
- owningEntityId?: string | null | undefined;
113
- documentTypeLid?: mongoose.Types.ObjectId | null | undefined;
114
- documentTypeId?: mongoose.Types.ObjectId | null | undefined;
115
- fileName?: string | null | undefined;
116
- contentType?: string | null | undefined;
117
- created?: string | null | undefined;
118
- createdBy?: string | null | undefined;
119
- isGenerated?: string | null | undefined;
120
- envelopeId?: string | null | undefined;
121
- documentType?: {
122
- data?: any;
123
- value?: string | null | undefined;
124
- documentTypeId?: string | null | undefined;
125
- displayName?: string | null | undefined;
126
- } | null | undefined;
127
- documentUrl?: string | null | undefined;
128
- }>> & mongoose.FlatRecord<{
129
- createdAt: NativeDate;
130
- updatedAt: NativeDate;
131
- } & {
132
- documentId: string;
133
- signers: any[];
134
- applicationId?: mongoose.Types.ObjectId | null | undefined;
135
- data?: string | null | undefined;
136
- owningEntityId?: string | null | undefined;
137
- documentTypeLid?: mongoose.Types.ObjectId | null | undefined;
138
- documentTypeId?: mongoose.Types.ObjectId | null | undefined;
139
- fileName?: string | null | undefined;
140
- contentType?: string | null | undefined;
141
- created?: string | null | undefined;
142
- createdBy?: string | null | undefined;
143
- isGenerated?: string | null | undefined;
144
- envelopeId?: string | null | undefined;
145
- documentType?: {
146
- data?: any;
147
- value?: string | null | undefined;
148
- documentTypeId?: string | null | undefined;
149
- displayName?: string | null | undefined;
150
- } | null | undefined;
151
- documentUrl?: string | null | undefined;
152
- }> & {
153
- _id: mongoose.Types.ObjectId;
154
- } & {
155
- __v: number;
156
- }>>;
157
- export default DocumentModel;
158
- //# sourceMappingURL=document.model.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"document.model.d.ts","sourceRoot":"","sources":["../../applications/document.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAoChC,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA6C,CAAC;AACjE,eAAe,aAAa,CAAC"}
@@ -1,368 +0,0 @@
1
- import mongoose from "mongoose";
2
- declare const productFeaturesSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
3
- name: string;
4
- repaymentType: string;
5
- ltv: string;
6
- reimbursementPerPound: string;
7
- stressedPayment: string;
8
- stressedPaymentRate: string;
9
- rentalCoverage: string;
10
- clientAdvance: string;
11
- repayment: string;
12
- variableRepayment: string;
13
- reversionRateWithoutBaseRate: string;
14
- totalReversionRate: string;
15
- initialRate: string;
16
- fixedTerm: string;
17
- fixedTermEndDate: string;
18
- baseRate: string;
19
- productRate: string;
20
- apr: string;
21
- applicationCategory: string;
22
- securityType: string;
23
- erc: string;
24
- loanType: string;
25
- maxLtvLimit: string;
26
- reimbursement: string;
27
- stressedApr: string;
28
- stressedRate: string;
29
- stressedRepayment: string;
30
- liborFloorRate: string;
31
- totalTermInMonths: string;
32
- chargeType: string;
33
- productCategory: string;
34
- ercCode: string;
35
- variableTerm: string;
36
- totalFeePayable: string;
37
- dipIssueDate: string;
38
- estimatedCompletionDate: string;
39
- dipExpiryDate: string;
40
- fixedRepaymentUntillDate: string;
41
- rentalReviewDate: string;
42
- totalReimbursementWithFee: string;
43
- finalRentPayment: string;
44
- clientDeposit: string;
45
- firstRentPayment: string;
46
- fees: mongoose.Types.DocumentArray<{
47
- description: string;
48
- additionalData: any;
49
- feeType: string;
50
- feeAmount: string;
51
- rate: string;
52
- addedToLoan: string;
53
- allowOverride: string;
54
- }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
55
- description: string;
56
- additionalData: any;
57
- feeType: string;
58
- feeAmount: string;
59
- rate: string;
60
- addedToLoan: string;
61
- allowOverride: string;
62
- }> & {
63
- description: string;
64
- additionalData: any;
65
- feeType: string;
66
- feeAmount: string;
67
- rate: string;
68
- addedToLoan: string;
69
- allowOverride: string;
70
- }>;
71
- ercFeatures: any;
72
- icr: string;
73
- ufssProductCode: string;
74
- ufssInterestRateCode: string;
75
- calculations?: {
76
- ltv: string;
77
- rentalCoverageRatioRate: string;
78
- bankContributionRate: string;
79
- bankInitialShareRate: string;
80
- totalAmountPayable: string;
81
- fixedMonthlyPayment: string;
82
- fixedMonthlyCapital: string;
83
- fixedMonthlyInterest: string;
84
- variableMonthlyPayment: string;
85
- summaryTotal: string;
86
- reimbursementPerPound: string;
87
- stressedPayment: string;
88
- stressedPaymentRate: string;
89
- rentalCoverage: string;
90
- rentalCoverageWithoutTopUp: string;
91
- } | null | undefined;
92
- cashflowPeriods?: {
93
- totalNoOfPayments: string;
94
- fixed?: {
95
- from: string;
96
- to: string;
97
- instalmentAmount: string;
98
- instalmentInterest: string;
99
- instalmentCapitalRepaid: string;
100
- otherCosts: string;
101
- outstandingCapital: string;
102
- } | null | undefined;
103
- variable?: {
104
- from: string;
105
- to: string;
106
- instalmentAmount: string;
107
- instalmentInterest: string;
108
- instalmentCapitalRepaid: string;
109
- otherCosts: string;
110
- outstandingCapital: string;
111
- } | null | undefined;
112
- total?: {
113
- from: string;
114
- to: string;
115
- instalmentAmount: string;
116
- instalmentInterest: string;
117
- instalmentCapitalRepaid: string;
118
- otherCosts: string;
119
- outstandingCapital: string;
120
- } | null | undefined;
121
- } | null | undefined;
122
- }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
123
- name: string;
124
- repaymentType: string;
125
- ltv: string;
126
- reimbursementPerPound: string;
127
- stressedPayment: string;
128
- stressedPaymentRate: string;
129
- rentalCoverage: string;
130
- clientAdvance: string;
131
- repayment: string;
132
- variableRepayment: string;
133
- reversionRateWithoutBaseRate: string;
134
- totalReversionRate: string;
135
- initialRate: string;
136
- fixedTerm: string;
137
- fixedTermEndDate: string;
138
- baseRate: string;
139
- productRate: string;
140
- apr: string;
141
- applicationCategory: string;
142
- securityType: string;
143
- erc: string;
144
- loanType: string;
145
- maxLtvLimit: string;
146
- reimbursement: string;
147
- stressedApr: string;
148
- stressedRate: string;
149
- stressedRepayment: string;
150
- liborFloorRate: string;
151
- totalTermInMonths: string;
152
- chargeType: string;
153
- productCategory: string;
154
- ercCode: string;
155
- variableTerm: string;
156
- totalFeePayable: string;
157
- dipIssueDate: string;
158
- estimatedCompletionDate: string;
159
- dipExpiryDate: string;
160
- fixedRepaymentUntillDate: string;
161
- rentalReviewDate: string;
162
- totalReimbursementWithFee: string;
163
- finalRentPayment: string;
164
- clientDeposit: string;
165
- firstRentPayment: string;
166
- fees: mongoose.Types.DocumentArray<{
167
- description: string;
168
- additionalData: any;
169
- feeType: string;
170
- feeAmount: string;
171
- rate: string;
172
- addedToLoan: string;
173
- allowOverride: string;
174
- }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
175
- description: string;
176
- additionalData: any;
177
- feeType: string;
178
- feeAmount: string;
179
- rate: string;
180
- addedToLoan: string;
181
- allowOverride: string;
182
- }> & {
183
- description: string;
184
- additionalData: any;
185
- feeType: string;
186
- feeAmount: string;
187
- rate: string;
188
- addedToLoan: string;
189
- allowOverride: string;
190
- }>;
191
- ercFeatures: any;
192
- icr: string;
193
- ufssProductCode: string;
194
- ufssInterestRateCode: string;
195
- calculations?: {
196
- ltv: string;
197
- rentalCoverageRatioRate: string;
198
- bankContributionRate: string;
199
- bankInitialShareRate: string;
200
- totalAmountPayable: string;
201
- fixedMonthlyPayment: string;
202
- fixedMonthlyCapital: string;
203
- fixedMonthlyInterest: string;
204
- variableMonthlyPayment: string;
205
- summaryTotal: string;
206
- reimbursementPerPound: string;
207
- stressedPayment: string;
208
- stressedPaymentRate: string;
209
- rentalCoverage: string;
210
- rentalCoverageWithoutTopUp: string;
211
- } | null | undefined;
212
- cashflowPeriods?: {
213
- totalNoOfPayments: string;
214
- fixed?: {
215
- from: string;
216
- to: string;
217
- instalmentAmount: string;
218
- instalmentInterest: string;
219
- instalmentCapitalRepaid: string;
220
- otherCosts: string;
221
- outstandingCapital: string;
222
- } | null | undefined;
223
- variable?: {
224
- from: string;
225
- to: string;
226
- instalmentAmount: string;
227
- instalmentInterest: string;
228
- instalmentCapitalRepaid: string;
229
- otherCosts: string;
230
- outstandingCapital: string;
231
- } | null | undefined;
232
- total?: {
233
- from: string;
234
- to: string;
235
- instalmentAmount: string;
236
- instalmentInterest: string;
237
- instalmentCapitalRepaid: string;
238
- otherCosts: string;
239
- outstandingCapital: string;
240
- } | null | undefined;
241
- } | null | undefined;
242
- }>> & mongoose.FlatRecord<{
243
- name: string;
244
- repaymentType: string;
245
- ltv: string;
246
- reimbursementPerPound: string;
247
- stressedPayment: string;
248
- stressedPaymentRate: string;
249
- rentalCoverage: string;
250
- clientAdvance: string;
251
- repayment: string;
252
- variableRepayment: string;
253
- reversionRateWithoutBaseRate: string;
254
- totalReversionRate: string;
255
- initialRate: string;
256
- fixedTerm: string;
257
- fixedTermEndDate: string;
258
- baseRate: string;
259
- productRate: string;
260
- apr: string;
261
- applicationCategory: string;
262
- securityType: string;
263
- erc: string;
264
- loanType: string;
265
- maxLtvLimit: string;
266
- reimbursement: string;
267
- stressedApr: string;
268
- stressedRate: string;
269
- stressedRepayment: string;
270
- liborFloorRate: string;
271
- totalTermInMonths: string;
272
- chargeType: string;
273
- productCategory: string;
274
- ercCode: string;
275
- variableTerm: string;
276
- totalFeePayable: string;
277
- dipIssueDate: string;
278
- estimatedCompletionDate: string;
279
- dipExpiryDate: string;
280
- fixedRepaymentUntillDate: string;
281
- rentalReviewDate: string;
282
- totalReimbursementWithFee: string;
283
- finalRentPayment: string;
284
- clientDeposit: string;
285
- firstRentPayment: string;
286
- fees: mongoose.Types.DocumentArray<{
287
- description: string;
288
- additionalData: any;
289
- feeType: string;
290
- feeAmount: string;
291
- rate: string;
292
- addedToLoan: string;
293
- allowOverride: string;
294
- }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
295
- description: string;
296
- additionalData: any;
297
- feeType: string;
298
- feeAmount: string;
299
- rate: string;
300
- addedToLoan: string;
301
- allowOverride: string;
302
- }> & {
303
- description: string;
304
- additionalData: any;
305
- feeType: string;
306
- feeAmount: string;
307
- rate: string;
308
- addedToLoan: string;
309
- allowOverride: string;
310
- }>;
311
- ercFeatures: any;
312
- icr: string;
313
- ufssProductCode: string;
314
- ufssInterestRateCode: string;
315
- calculations?: {
316
- ltv: string;
317
- rentalCoverageRatioRate: string;
318
- bankContributionRate: string;
319
- bankInitialShareRate: string;
320
- totalAmountPayable: string;
321
- fixedMonthlyPayment: string;
322
- fixedMonthlyCapital: string;
323
- fixedMonthlyInterest: string;
324
- variableMonthlyPayment: string;
325
- summaryTotal: string;
326
- reimbursementPerPound: string;
327
- stressedPayment: string;
328
- stressedPaymentRate: string;
329
- rentalCoverage: string;
330
- rentalCoverageWithoutTopUp: string;
331
- } | null | undefined;
332
- cashflowPeriods?: {
333
- totalNoOfPayments: string;
334
- fixed?: {
335
- from: string;
336
- to: string;
337
- instalmentAmount: string;
338
- instalmentInterest: string;
339
- instalmentCapitalRepaid: string;
340
- otherCosts: string;
341
- outstandingCapital: string;
342
- } | null | undefined;
343
- variable?: {
344
- from: string;
345
- to: string;
346
- instalmentAmount: string;
347
- instalmentInterest: string;
348
- instalmentCapitalRepaid: string;
349
- otherCosts: string;
350
- outstandingCapital: string;
351
- } | null | undefined;
352
- total?: {
353
- from: string;
354
- to: string;
355
- instalmentAmount: string;
356
- instalmentInterest: string;
357
- instalmentCapitalRepaid: string;
358
- otherCosts: string;
359
- outstandingCapital: string;
360
- } | null | undefined;
361
- } | null | undefined;
362
- }> & {
363
- _id: mongoose.Types.ObjectId;
364
- } & {
365
- __v: number;
366
- }>;
367
- export default productFeaturesSchema;
368
- //# sourceMappingURL=productfeatures.model.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"productfeatures.model.d.ts","sourceRoot":"","sources":["../../applications/productfeatures.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAyChC,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwDzB,CAAC;AAEH,eAAe,qBAAqB,CAAC"}
@@ -1,48 +0,0 @@
1
- import mongoose from "mongoose";
2
- declare const DocumentTypeModel: mongoose.Model<{
3
- name: string;
4
- source: string;
5
- parentDocumentTypeId: mongoose.Types.ObjectId;
6
- label?: string | null | undefined;
7
- matchRules?: any;
8
- }, {}, {}, {}, mongoose.Document<unknown, {}, {
9
- name: string;
10
- source: string;
11
- parentDocumentTypeId: mongoose.Types.ObjectId;
12
- label?: string | null | undefined;
13
- matchRules?: any;
14
- }> & {
15
- name: string;
16
- source: string;
17
- parentDocumentTypeId: mongoose.Types.ObjectId;
18
- label?: string | null | undefined;
19
- matchRules?: any;
20
- } & {
21
- _id: mongoose.Types.ObjectId;
22
- } & {
23
- __v: number;
24
- }, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
25
- name: string;
26
- source: string;
27
- parentDocumentTypeId: mongoose.Types.ObjectId;
28
- label?: string | null | undefined;
29
- matchRules?: any;
30
- }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
31
- name: string;
32
- source: string;
33
- parentDocumentTypeId: mongoose.Types.ObjectId;
34
- label?: string | null | undefined;
35
- matchRules?: any;
36
- }>> & mongoose.FlatRecord<{
37
- name: string;
38
- source: string;
39
- parentDocumentTypeId: mongoose.Types.ObjectId;
40
- label?: string | null | undefined;
41
- matchRules?: any;
42
- }> & {
43
- _id: mongoose.Types.ObjectId;
44
- } & {
45
- __v: number;
46
- }>>;
47
- export default DocumentTypeModel;
48
- //# sourceMappingURL=document-type-model.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"document-type-model.d.ts","sourceRoot":"","sources":["../../shared/document-type-model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAUhC,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAqD,CAAC;AAE7E,eAAe,iBAAiB,CAAC"}