@dynamatix/gb-schemas 2.3.241 → 2.3.242
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/README.md +308 -308
- package/dist/applicants/applicant.model.d.ts +6 -6
- package/dist/applicants/applicant.model.d.ts.map +1 -1
- package/dist/applicants/applicant.model.js +0 -3
- package/dist/applications/application-valuation-report.model.d.ts +2520 -0
- package/dist/applications/application-valuation-report.model.d.ts.map +1 -1
- package/dist/applications/application-valuation-report.model.js +445 -0
- package/dist/applications/application-valuation-report.type.d.ts +142 -0
- package/dist/applications/application-valuation-report.type.d.ts.map +1 -1
- package/dist/applications/application-valuation.model.d.ts +6 -6
- package/dist/applications/application.model.d.ts +6 -6
- package/dist/applications/broker.model.d.ts +6 -6
- package/dist/applications/solicitor.model.d.ts +6 -6
- package/dist/properties/property.model.d.ts +6 -6
- package/package.json +87 -87
- package/dist/applicants/applicant-income-source.model.d.ts +0 -26
- package/dist/applicants/applicant-income-source.model.d.ts.map +0 -1
- package/dist/applicants/applicant-income.model.d.ts +0 -160
- package/dist/applicants/applicant-income.model.d.ts.map +0 -1
- package/dist/applicants/applicant-other-income.model.d.ts +0 -85
- package/dist/applicants/applicant-other-income.model.d.ts.map +0 -1
- package/dist/applications/application-document.model.d.ts +0 -158
- package/dist/applications/application-document.model.d.ts.map +0 -1
- package/dist/applications/document.model.d.ts +0 -158
- package/dist/applications/document.model.d.ts.map +0 -1
- package/dist/applications/productfeatures.model.d.ts +0 -368
- package/dist/applications/productfeatures.model.d.ts.map +0 -1
- package/dist/shared/document-type-model.d.ts +0 -48
- package/dist/shared/document-type-model.d.ts.map +0 -1
|
@@ -133,6 +133,7 @@ declare const ApplicationValuationModel: mongoose.Model<{
|
|
|
133
133
|
valuationRequestedDate?: unknown;
|
|
134
134
|
valuationScheduledDate?: unknown;
|
|
135
135
|
valuationSurveyorDetails?: unknown;
|
|
136
|
+
epcScore?: unknown;
|
|
136
137
|
amount?: {
|
|
137
138
|
validators: mongoose.Types.DocumentArray<{
|
|
138
139
|
type?: unknown;
|
|
@@ -182,7 +183,6 @@ declare const ApplicationValuationModel: mongoose.Model<{
|
|
|
182
183
|
defaultOptions?: unknown;
|
|
183
184
|
} | null | undefined;
|
|
184
185
|
epcRatingLid?: unknown;
|
|
185
|
-
epcScore?: unknown;
|
|
186
186
|
estimatedRentalValue?: {
|
|
187
187
|
validators: mongoose.Types.DocumentArray<{
|
|
188
188
|
type?: unknown;
|
|
@@ -345,6 +345,7 @@ declare const ApplicationValuationModel: mongoose.Model<{
|
|
|
345
345
|
valuationRequestedDate?: unknown;
|
|
346
346
|
valuationScheduledDate?: unknown;
|
|
347
347
|
valuationSurveyorDetails?: unknown;
|
|
348
|
+
epcScore?: unknown;
|
|
348
349
|
amount?: {
|
|
349
350
|
validators: mongoose.Types.DocumentArray<{
|
|
350
351
|
type?: unknown;
|
|
@@ -394,7 +395,6 @@ declare const ApplicationValuationModel: mongoose.Model<{
|
|
|
394
395
|
defaultOptions?: unknown;
|
|
395
396
|
} | null | undefined;
|
|
396
397
|
epcRatingLid?: unknown;
|
|
397
|
-
epcScore?: unknown;
|
|
398
398
|
estimatedRentalValue?: {
|
|
399
399
|
validators: mongoose.Types.DocumentArray<{
|
|
400
400
|
type?: unknown;
|
|
@@ -557,6 +557,7 @@ declare const ApplicationValuationModel: mongoose.Model<{
|
|
|
557
557
|
valuationRequestedDate?: unknown;
|
|
558
558
|
valuationScheduledDate?: unknown;
|
|
559
559
|
valuationSurveyorDetails?: unknown;
|
|
560
|
+
epcScore?: unknown;
|
|
560
561
|
amount?: {
|
|
561
562
|
validators: mongoose.Types.DocumentArray<{
|
|
562
563
|
type?: unknown;
|
|
@@ -606,7 +607,6 @@ declare const ApplicationValuationModel: mongoose.Model<{
|
|
|
606
607
|
defaultOptions?: unknown;
|
|
607
608
|
} | null | undefined;
|
|
608
609
|
epcRatingLid?: unknown;
|
|
609
|
-
epcScore?: unknown;
|
|
610
610
|
estimatedRentalValue?: {
|
|
611
611
|
validators: mongoose.Types.DocumentArray<{
|
|
612
612
|
type?: unknown;
|
|
@@ -689,8 +689,8 @@ declare const ApplicationValuationModel: mongoose.Model<{
|
|
|
689
689
|
pvqRaisedDate: string;
|
|
690
690
|
pvqClosedDate: string;
|
|
691
691
|
inspectionDate: string;
|
|
692
|
-
epcRatingLid?: mongoose.Types.ObjectId | null | undefined;
|
|
693
692
|
epcScore?: number | null | undefined;
|
|
693
|
+
epcRatingLid?: mongoose.Types.ObjectId | null | undefined;
|
|
694
694
|
squareMetres?: string | null | undefined;
|
|
695
695
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
696
696
|
version: string;
|
|
@@ -713,8 +713,8 @@ declare const ApplicationValuationModel: mongoose.Model<{
|
|
|
713
713
|
pvqRaisedDate: string;
|
|
714
714
|
pvqClosedDate: string;
|
|
715
715
|
inspectionDate: string;
|
|
716
|
-
epcRatingLid?: mongoose.Types.ObjectId | null | undefined;
|
|
717
716
|
epcScore?: number | null | undefined;
|
|
717
|
+
epcRatingLid?: mongoose.Types.ObjectId | null | undefined;
|
|
718
718
|
squareMetres?: string | null | undefined;
|
|
719
719
|
}>, {}> & mongoose.FlatRecord<{
|
|
720
720
|
version: string;
|
|
@@ -737,8 +737,8 @@ declare const ApplicationValuationModel: mongoose.Model<{
|
|
|
737
737
|
pvqRaisedDate: string;
|
|
738
738
|
pvqClosedDate: string;
|
|
739
739
|
inspectionDate: string;
|
|
740
|
-
epcRatingLid?: mongoose.Types.ObjectId | null | undefined;
|
|
741
740
|
epcScore?: number | null | undefined;
|
|
741
|
+
epcRatingLid?: mongoose.Types.ObjectId | null | undefined;
|
|
742
742
|
squareMetres?: string | null | undefined;
|
|
743
743
|
}> & {
|
|
744
744
|
_id: mongoose.Types.ObjectId;
|
|
@@ -40,9 +40,9 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
40
40
|
introducer: string;
|
|
41
41
|
isFinanceRecommendedToApplicant: string;
|
|
42
42
|
statusLid: mongoose.Types.ObjectId;
|
|
43
|
+
applicationNumber: string;
|
|
43
44
|
queueId: mongoose.Types.ObjectId[];
|
|
44
45
|
isApplicationFeePaid: string;
|
|
45
|
-
applicationNumber: string;
|
|
46
46
|
bankSolicitor: string;
|
|
47
47
|
brokerId: mongoose.Types.ObjectId;
|
|
48
48
|
caseManager: string;
|
|
@@ -106,9 +106,9 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
106
106
|
introducer: string;
|
|
107
107
|
isFinanceRecommendedToApplicant: string;
|
|
108
108
|
statusLid: mongoose.Types.ObjectId;
|
|
109
|
+
applicationNumber: string;
|
|
109
110
|
queueId: mongoose.Types.ObjectId[];
|
|
110
111
|
isApplicationFeePaid: string;
|
|
111
|
-
applicationNumber: string;
|
|
112
112
|
bankSolicitor: string;
|
|
113
113
|
brokerId: mongoose.Types.ObjectId;
|
|
114
114
|
caseManager: string;
|
|
@@ -172,9 +172,9 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
172
172
|
introducer: string;
|
|
173
173
|
isFinanceRecommendedToApplicant: string;
|
|
174
174
|
statusLid: mongoose.Types.ObjectId;
|
|
175
|
+
applicationNumber: string;
|
|
175
176
|
queueId: mongoose.Types.ObjectId[];
|
|
176
177
|
isApplicationFeePaid: string;
|
|
177
|
-
applicationNumber: string;
|
|
178
178
|
bankSolicitor: string;
|
|
179
179
|
brokerId: mongoose.Types.ObjectId;
|
|
180
180
|
caseManager: string;
|
|
@@ -250,9 +250,9 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
250
250
|
introducer: string;
|
|
251
251
|
isFinanceRecommendedToApplicant: string;
|
|
252
252
|
statusLid: mongoose.Types.ObjectId;
|
|
253
|
+
applicationNumber: string;
|
|
253
254
|
queueId: mongoose.Types.ObjectId[];
|
|
254
255
|
isApplicationFeePaid: string;
|
|
255
|
-
applicationNumber: string;
|
|
256
256
|
bankSolicitor: string;
|
|
257
257
|
brokerId: mongoose.Types.ObjectId;
|
|
258
258
|
caseManager: string;
|
|
@@ -316,9 +316,9 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
316
316
|
introducer: string;
|
|
317
317
|
isFinanceRecommendedToApplicant: string;
|
|
318
318
|
statusLid: mongoose.Types.ObjectId;
|
|
319
|
+
applicationNumber: string;
|
|
319
320
|
queueId: mongoose.Types.ObjectId[];
|
|
320
321
|
isApplicationFeePaid: string;
|
|
321
|
-
applicationNumber: string;
|
|
322
322
|
bankSolicitor: string;
|
|
323
323
|
brokerId: mongoose.Types.ObjectId;
|
|
324
324
|
caseManager: string;
|
|
@@ -382,9 +382,9 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
382
382
|
introducer: string;
|
|
383
383
|
isFinanceRecommendedToApplicant: string;
|
|
384
384
|
statusLid: mongoose.Types.ObjectId;
|
|
385
|
+
applicationNumber: string;
|
|
385
386
|
queueId: mongoose.Types.ObjectId[];
|
|
386
387
|
isApplicationFeePaid: string;
|
|
387
|
-
applicationNumber: string;
|
|
388
388
|
bankSolicitor: string;
|
|
389
389
|
brokerId: mongoose.Types.ObjectId;
|
|
390
390
|
caseManager: string;
|
|
@@ -37,13 +37,13 @@ declare const BrokerModel: mongoose.Model<{
|
|
|
37
37
|
addressLine3?: string | null | undefined;
|
|
38
38
|
addressCity?: string | null | undefined;
|
|
39
39
|
addressCountry?: string | null | undefined;
|
|
40
|
+
email?: string | null | undefined;
|
|
40
41
|
brokerId?: string | null | undefined;
|
|
41
42
|
landlinePhone?: string | null | undefined;
|
|
42
43
|
mobileTelephone?: string | null | undefined;
|
|
43
44
|
tradingName?: string | null | undefined;
|
|
44
45
|
fcaNumber?: string | null | undefined;
|
|
45
46
|
brokerType?: string | null | undefined;
|
|
46
|
-
email?: string | null | undefined;
|
|
47
47
|
network?: string | null | undefined;
|
|
48
48
|
firstName?: string | null | undefined;
|
|
49
49
|
lastName?: string | null | undefined;
|
|
@@ -57,13 +57,13 @@ declare const BrokerModel: mongoose.Model<{
|
|
|
57
57
|
addressLine3?: string | null | undefined;
|
|
58
58
|
addressCity?: string | null | undefined;
|
|
59
59
|
addressCountry?: string | null | undefined;
|
|
60
|
+
email?: string | null | undefined;
|
|
60
61
|
brokerId?: string | null | undefined;
|
|
61
62
|
landlinePhone?: string | null | undefined;
|
|
62
63
|
mobileTelephone?: string | null | undefined;
|
|
63
64
|
tradingName?: string | null | undefined;
|
|
64
65
|
fcaNumber?: string | null | undefined;
|
|
65
66
|
brokerType?: string | null | undefined;
|
|
66
|
-
email?: string | null | undefined;
|
|
67
67
|
network?: string | null | undefined;
|
|
68
68
|
firstName?: string | null | undefined;
|
|
69
69
|
lastName?: string | null | undefined;
|
|
@@ -77,13 +77,13 @@ declare const BrokerModel: mongoose.Model<{
|
|
|
77
77
|
addressLine3?: string | null | undefined;
|
|
78
78
|
addressCity?: string | null | undefined;
|
|
79
79
|
addressCountry?: string | null | undefined;
|
|
80
|
+
email?: string | null | undefined;
|
|
80
81
|
brokerId?: string | null | undefined;
|
|
81
82
|
landlinePhone?: string | null | undefined;
|
|
82
83
|
mobileTelephone?: string | null | undefined;
|
|
83
84
|
tradingName?: string | null | undefined;
|
|
84
85
|
fcaNumber?: string | null | undefined;
|
|
85
86
|
brokerType?: string | null | undefined;
|
|
86
|
-
email?: string | null | undefined;
|
|
87
87
|
network?: string | null | undefined;
|
|
88
88
|
firstName?: string | null | undefined;
|
|
89
89
|
lastName?: string | null | undefined;
|
|
@@ -103,13 +103,13 @@ declare const BrokerModel: mongoose.Model<{
|
|
|
103
103
|
addressLine3?: string | null | undefined;
|
|
104
104
|
addressCity?: string | null | undefined;
|
|
105
105
|
addressCountry?: string | null | undefined;
|
|
106
|
+
email?: string | null | undefined;
|
|
106
107
|
brokerId?: string | null | undefined;
|
|
107
108
|
landlinePhone?: string | null | undefined;
|
|
108
109
|
mobileTelephone?: string | null | undefined;
|
|
109
110
|
tradingName?: string | null | undefined;
|
|
110
111
|
fcaNumber?: string | null | undefined;
|
|
111
112
|
brokerType?: string | null | undefined;
|
|
112
|
-
email?: string | null | undefined;
|
|
113
113
|
network?: string | null | undefined;
|
|
114
114
|
firstName?: string | null | undefined;
|
|
115
115
|
lastName?: string | null | undefined;
|
|
@@ -123,13 +123,13 @@ declare const BrokerModel: mongoose.Model<{
|
|
|
123
123
|
addressLine3?: string | null | undefined;
|
|
124
124
|
addressCity?: string | null | undefined;
|
|
125
125
|
addressCountry?: string | null | undefined;
|
|
126
|
+
email?: string | null | undefined;
|
|
126
127
|
brokerId?: string | null | undefined;
|
|
127
128
|
landlinePhone?: string | null | undefined;
|
|
128
129
|
mobileTelephone?: string | null | undefined;
|
|
129
130
|
tradingName?: string | null | undefined;
|
|
130
131
|
fcaNumber?: string | null | undefined;
|
|
131
132
|
brokerType?: string | null | undefined;
|
|
132
|
-
email?: string | null | undefined;
|
|
133
133
|
network?: string | null | undefined;
|
|
134
134
|
firstName?: string | null | undefined;
|
|
135
135
|
lastName?: string | null | undefined;
|
|
@@ -143,13 +143,13 @@ declare const BrokerModel: mongoose.Model<{
|
|
|
143
143
|
addressLine3?: string | null | undefined;
|
|
144
144
|
addressCity?: string | null | undefined;
|
|
145
145
|
addressCountry?: string | null | undefined;
|
|
146
|
+
email?: string | null | undefined;
|
|
146
147
|
brokerId?: string | null | undefined;
|
|
147
148
|
landlinePhone?: string | null | undefined;
|
|
148
149
|
mobileTelephone?: string | null | undefined;
|
|
149
150
|
tradingName?: string | null | undefined;
|
|
150
151
|
fcaNumber?: string | null | undefined;
|
|
151
152
|
brokerType?: string | null | undefined;
|
|
152
|
-
email?: string | null | undefined;
|
|
153
153
|
network?: string | null | undefined;
|
|
154
154
|
firstName?: string | null | undefined;
|
|
155
155
|
lastName?: string | null | undefined;
|
|
@@ -46,6 +46,7 @@ declare const SolicitorModel: mongoose.Model<{
|
|
|
46
46
|
institution?: string | null | undefined;
|
|
47
47
|
nameOfAccountHolder?: string | null | undefined;
|
|
48
48
|
sortCode?: SortCode | null | undefined;
|
|
49
|
+
telephone?: string | null | undefined;
|
|
49
50
|
email?: string | null | undefined;
|
|
50
51
|
bankAddressLine1?: string | null | undefined;
|
|
51
52
|
bankAddressLine2?: string | null | undefined;
|
|
@@ -54,7 +55,6 @@ declare const SolicitorModel: mongoose.Model<{
|
|
|
54
55
|
nameOfFirm?: string | null | undefined;
|
|
55
56
|
signatory?: string | null | undefined;
|
|
56
57
|
solicitorActing?: string | null | undefined;
|
|
57
|
-
telephone?: string | null | undefined;
|
|
58
58
|
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
59
59
|
createdAt: NativeDate;
|
|
60
60
|
updatedAt: NativeDate;
|
|
@@ -72,6 +72,7 @@ declare const SolicitorModel: mongoose.Model<{
|
|
|
72
72
|
institution?: string | null | undefined;
|
|
73
73
|
nameOfAccountHolder?: string | null | undefined;
|
|
74
74
|
sortCode?: SortCode | null | undefined;
|
|
75
|
+
telephone?: string | null | undefined;
|
|
75
76
|
email?: string | null | undefined;
|
|
76
77
|
bankAddressLine1?: string | null | undefined;
|
|
77
78
|
bankAddressLine2?: string | null | undefined;
|
|
@@ -80,7 +81,6 @@ declare const SolicitorModel: mongoose.Model<{
|
|
|
80
81
|
nameOfFirm?: string | null | undefined;
|
|
81
82
|
signatory?: string | null | undefined;
|
|
82
83
|
solicitorActing?: string | null | undefined;
|
|
83
|
-
telephone?: string | null | undefined;
|
|
84
84
|
}, {}> & {
|
|
85
85
|
createdAt: NativeDate;
|
|
86
86
|
updatedAt: NativeDate;
|
|
@@ -98,6 +98,7 @@ declare const SolicitorModel: mongoose.Model<{
|
|
|
98
98
|
institution?: string | null | undefined;
|
|
99
99
|
nameOfAccountHolder?: string | null | undefined;
|
|
100
100
|
sortCode?: SortCode | null | undefined;
|
|
101
|
+
telephone?: string | null | undefined;
|
|
101
102
|
email?: string | null | undefined;
|
|
102
103
|
bankAddressLine1?: string | null | undefined;
|
|
103
104
|
bankAddressLine2?: string | null | undefined;
|
|
@@ -106,7 +107,6 @@ declare const SolicitorModel: mongoose.Model<{
|
|
|
106
107
|
nameOfFirm?: string | null | undefined;
|
|
107
108
|
signatory?: string | null | undefined;
|
|
108
109
|
solicitorActing?: string | null | undefined;
|
|
109
|
-
telephone?: string | null | undefined;
|
|
110
110
|
} & {
|
|
111
111
|
_id: mongoose.Types.ObjectId;
|
|
112
112
|
} & {
|
|
@@ -136,6 +136,7 @@ declare const SolicitorModel: mongoose.Model<{
|
|
|
136
136
|
institution?: string | null | undefined;
|
|
137
137
|
nameOfAccountHolder?: string | null | undefined;
|
|
138
138
|
sortCode?: SortCode | null | undefined;
|
|
139
|
+
telephone?: string | null | undefined;
|
|
139
140
|
email?: string | null | undefined;
|
|
140
141
|
bankAddressLine1?: string | null | undefined;
|
|
141
142
|
bankAddressLine2?: string | null | undefined;
|
|
@@ -144,7 +145,6 @@ declare const SolicitorModel: mongoose.Model<{
|
|
|
144
145
|
nameOfFirm?: string | null | undefined;
|
|
145
146
|
signatory?: string | null | undefined;
|
|
146
147
|
solicitorActing?: string | null | undefined;
|
|
147
|
-
telephone?: string | null | undefined;
|
|
148
148
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
149
149
|
createdAt: NativeDate;
|
|
150
150
|
updatedAt: NativeDate;
|
|
@@ -162,6 +162,7 @@ declare const SolicitorModel: mongoose.Model<{
|
|
|
162
162
|
institution?: string | null | undefined;
|
|
163
163
|
nameOfAccountHolder?: string | null | undefined;
|
|
164
164
|
sortCode?: SortCode | null | undefined;
|
|
165
|
+
telephone?: string | null | undefined;
|
|
165
166
|
email?: string | null | undefined;
|
|
166
167
|
bankAddressLine1?: string | null | undefined;
|
|
167
168
|
bankAddressLine2?: string | null | undefined;
|
|
@@ -170,7 +171,6 @@ declare const SolicitorModel: mongoose.Model<{
|
|
|
170
171
|
nameOfFirm?: string | null | undefined;
|
|
171
172
|
signatory?: string | null | undefined;
|
|
172
173
|
solicitorActing?: string | null | undefined;
|
|
173
|
-
telephone?: string | null | undefined;
|
|
174
174
|
}>, {}> & mongoose.FlatRecord<{
|
|
175
175
|
createdAt: NativeDate;
|
|
176
176
|
updatedAt: NativeDate;
|
|
@@ -188,6 +188,7 @@ declare const SolicitorModel: mongoose.Model<{
|
|
|
188
188
|
institution?: string | null | undefined;
|
|
189
189
|
nameOfAccountHolder?: string | null | undefined;
|
|
190
190
|
sortCode?: SortCode | null | undefined;
|
|
191
|
+
telephone?: string | null | undefined;
|
|
191
192
|
email?: string | null | undefined;
|
|
192
193
|
bankAddressLine1?: string | null | undefined;
|
|
193
194
|
bankAddressLine2?: string | null | undefined;
|
|
@@ -196,7 +197,6 @@ declare const SolicitorModel: mongoose.Model<{
|
|
|
196
197
|
nameOfFirm?: string | null | undefined;
|
|
197
198
|
signatory?: string | null | undefined;
|
|
198
199
|
solicitorActing?: string | null | undefined;
|
|
199
|
-
telephone?: string | null | undefined;
|
|
200
200
|
}> & {
|
|
201
201
|
_id: mongoose.Types.ObjectId;
|
|
202
202
|
} & {
|
|
@@ -180,6 +180,7 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
180
180
|
validateAll?: {} | null | undefined;
|
|
181
181
|
defaultOptions?: unknown;
|
|
182
182
|
} | null | undefined;
|
|
183
|
+
postCode?: unknown;
|
|
183
184
|
remainingTerm?: unknown;
|
|
184
185
|
propertyId?: unknown;
|
|
185
186
|
associatedLoanPartiesIds?: unknown;
|
|
@@ -378,7 +379,6 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
378
379
|
defaultOptions?: unknown;
|
|
379
380
|
} | null | undefined;
|
|
380
381
|
otherOwnershipParties?: unknown;
|
|
381
|
-
postCode?: unknown;
|
|
382
382
|
portfolioFile?: unknown;
|
|
383
383
|
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
384
384
|
createdAt: NativeDate;
|
|
@@ -532,6 +532,7 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
532
532
|
validateAll?: {} | null | undefined;
|
|
533
533
|
defaultOptions?: unknown;
|
|
534
534
|
} | null | undefined;
|
|
535
|
+
postCode?: unknown;
|
|
535
536
|
remainingTerm?: unknown;
|
|
536
537
|
propertyId?: unknown;
|
|
537
538
|
associatedLoanPartiesIds?: unknown;
|
|
@@ -730,7 +731,6 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
730
731
|
defaultOptions?: unknown;
|
|
731
732
|
} | null | undefined;
|
|
732
733
|
otherOwnershipParties?: unknown;
|
|
733
|
-
postCode?: unknown;
|
|
734
734
|
portfolioFile?: unknown;
|
|
735
735
|
}, {}> & {
|
|
736
736
|
createdAt: NativeDate;
|
|
@@ -884,6 +884,7 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
884
884
|
validateAll?: {} | null | undefined;
|
|
885
885
|
defaultOptions?: unknown;
|
|
886
886
|
} | null | undefined;
|
|
887
|
+
postCode?: unknown;
|
|
887
888
|
remainingTerm?: unknown;
|
|
888
889
|
propertyId?: unknown;
|
|
889
890
|
associatedLoanPartiesIds?: unknown;
|
|
@@ -1082,7 +1083,6 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
1082
1083
|
defaultOptions?: unknown;
|
|
1083
1084
|
} | null | undefined;
|
|
1084
1085
|
otherOwnershipParties?: unknown;
|
|
1085
|
-
postCode?: unknown;
|
|
1086
1086
|
portfolioFile?: unknown;
|
|
1087
1087
|
} & {
|
|
1088
1088
|
_id: mongoose.Types.ObjectId;
|
|
@@ -1104,6 +1104,7 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
1104
1104
|
pageValidFlag: boolean;
|
|
1105
1105
|
addressLine1: string;
|
|
1106
1106
|
outstandingBalance: Pound;
|
|
1107
|
+
postCode: string;
|
|
1107
1108
|
remainingTerm: number;
|
|
1108
1109
|
propertyId: string;
|
|
1109
1110
|
countryLid: mongoose.Types.ObjectId;
|
|
@@ -1112,7 +1113,6 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
1112
1113
|
monthlyRent: Pound;
|
|
1113
1114
|
monthlyRepayment: Pound;
|
|
1114
1115
|
originalLoanBalance: Pound;
|
|
1115
|
-
postCode: string;
|
|
1116
1116
|
addressLine2?: string | null | undefined;
|
|
1117
1117
|
addressLine3?: string | null | undefined;
|
|
1118
1118
|
city?: string | null | undefined;
|
|
@@ -1127,6 +1127,7 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
1127
1127
|
pageValidFlag: boolean;
|
|
1128
1128
|
addressLine1: string;
|
|
1129
1129
|
outstandingBalance: Pound;
|
|
1130
|
+
postCode: string;
|
|
1130
1131
|
remainingTerm: number;
|
|
1131
1132
|
propertyId: string;
|
|
1132
1133
|
countryLid: mongoose.Types.ObjectId;
|
|
@@ -1135,7 +1136,6 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
1135
1136
|
monthlyRent: Pound;
|
|
1136
1137
|
monthlyRepayment: Pound;
|
|
1137
1138
|
originalLoanBalance: Pound;
|
|
1138
|
-
postCode: string;
|
|
1139
1139
|
addressLine2?: string | null | undefined;
|
|
1140
1140
|
addressLine3?: string | null | undefined;
|
|
1141
1141
|
city?: string | null | undefined;
|
|
@@ -1150,6 +1150,7 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
1150
1150
|
pageValidFlag: boolean;
|
|
1151
1151
|
addressLine1: string;
|
|
1152
1152
|
outstandingBalance: Pound;
|
|
1153
|
+
postCode: string;
|
|
1153
1154
|
remainingTerm: number;
|
|
1154
1155
|
propertyId: string;
|
|
1155
1156
|
countryLid: mongoose.Types.ObjectId;
|
|
@@ -1158,7 +1159,6 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
1158
1159
|
monthlyRent: Pound;
|
|
1159
1160
|
monthlyRepayment: Pound;
|
|
1160
1161
|
originalLoanBalance: Pound;
|
|
1161
|
-
postCode: string;
|
|
1162
1162
|
addressLine2?: string | null | undefined;
|
|
1163
1163
|
addressLine3?: string | null | undefined;
|
|
1164
1164
|
city?: string | null | undefined;
|
package/package.json
CHANGED
|
@@ -1,87 +1,87 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@dynamatix/gb-schemas",
|
|
3
|
-
"version": "2.3.
|
|
4
|
-
"description": "All the schemas for gatehouse bank back-end",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"types": "dist/index.d.ts",
|
|
7
|
-
"type": "module",
|
|
8
|
-
"scripts": {
|
|
9
|
-
"build": "tsc",
|
|
10
|
-
"test": "echo \"Error: no test specified\" && exit 1",
|
|
11
|
-
"test:workflow": "npm run build && node test-workflow.js",
|
|
12
|
-
"test:workflow:env": "npm run build && WORKFLOW_API_KEY=test-key WORKFLOW_API_URL=http://localhost:3000/api/workflows node test-workflow-with-env.js",
|
|
13
|
-
"example:app": "npm run build && node example-app-usage.js",
|
|
14
|
-
"test:workflow:triggers": "npm run build && node test-workflow-with-triggers.js",
|
|
15
|
-
"test:workflow:direct": "npm run build && node test-direct-middleware.js",
|
|
16
|
-
"patch": "tsc && npm version patch && npm publish --access public && exit 0",
|
|
17
|
-
"generate-docs": "NODE_OPTIONS='--loader ts-node/esm' ts-node schema-docs/docs.seeder.ts",
|
|
18
|
-
"example:income": "NODE_OPTIONS='--loader ts-node/esm' ts-node examples/add-applicant-income.ts",
|
|
19
|
-
"migrate:applicant-income": "node migrate-applicant-income.js",
|
|
20
|
-
"migrate:self-employed-id": "node migrate-self-employed-id.js",
|
|
21
|
-
"check:applicants-employment": "node check-applicants-without-employment.js",
|
|
22
|
-
"delete:applications-by-type": "node delete-applications-by-type.js",
|
|
23
|
-
"find:applications-many-audits": "node find-applications-with-many-audits.js",
|
|
24
|
-
"update:apiconfigs-paths": "node scripts/update-apiconfigs-paths.js",
|
|
25
|
-
"seed:property-metadata": "node scripts/seed-property-metadata.js"
|
|
26
|
-
},
|
|
27
|
-
"repository": {
|
|
28
|
-
"type": "git",
|
|
29
|
-
"url": "git+https://github.com/DynamatixAnalyticsPvtLtd/gb-schemas.git"
|
|
30
|
-
},
|
|
31
|
-
"author": "Dynamatix",
|
|
32
|
-
"license": "ISC",
|
|
33
|
-
"bugs": {
|
|
34
|
-
"url": "https://github.com/DynamatixAnalyticsPvtLtd/gb-schemas/issues"
|
|
35
|
-
},
|
|
36
|
-
"homepage": "https://github.com/DynamatixAnalyticsPvtLtd/gb-schemas#readme",
|
|
37
|
-
"dependencies": {
|
|
38
|
-
"@dynamatix/cat-shared": "^0.0.124",
|
|
39
|
-
"@dynamatix/gb-schemas": "^1.3.256",
|
|
40
|
-
"dotenv": "^16.4.5",
|
|
41
|
-
"mongodb": "^6.14.2",
|
|
42
|
-
"mongoose": "^8.9.5"
|
|
43
|
-
},
|
|
44
|
-
"files": [
|
|
45
|
-
"dist"
|
|
46
|
-
],
|
|
47
|
-
"exports": {
|
|
48
|
-
".": {
|
|
49
|
-
"import": "./dist/index.js",
|
|
50
|
-
"types": "./dist/index.d.ts"
|
|
51
|
-
},
|
|
52
|
-
"./applications": {
|
|
53
|
-
"import": "./dist/applications/index.js",
|
|
54
|
-
"types": "./dist/applications/index.d.ts"
|
|
55
|
-
},
|
|
56
|
-
"./applicants": {
|
|
57
|
-
"import": "./dist/applicants/index.js",
|
|
58
|
-
"types": "./dist/applicants/index.d.ts"
|
|
59
|
-
},
|
|
60
|
-
"./shared": {
|
|
61
|
-
"import": "./dist/shared/index.js",
|
|
62
|
-
"types": "./dist/shared/index.d.ts"
|
|
63
|
-
},
|
|
64
|
-
"./properties": {
|
|
65
|
-
"import": "./dist/properties/index.js",
|
|
66
|
-
"types": "./dist/properties/index.d.ts"
|
|
67
|
-
},
|
|
68
|
-
"./users": {
|
|
69
|
-
"import": "./dist/users/index.js",
|
|
70
|
-
"types": "./dist/users/index.d.ts"
|
|
71
|
-
},
|
|
72
|
-
"./product-catalogues": {
|
|
73
|
-
"import": "./dist/product-catalogues/index.js",
|
|
74
|
-
"types": "./dist/product-catalogues/index.d.ts"
|
|
75
|
-
},
|
|
76
|
-
"./underwriter": {
|
|
77
|
-
"import": "./dist/underwriter/index.js",
|
|
78
|
-
"types": "./dist/underwriter/index.d.ts"
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
"devDependencies": {
|
|
82
|
-
"@types/mongoose": "^5.11.96",
|
|
83
|
-
"@types/node": "^22.14.0",
|
|
84
|
-
"ts-node": "^10.9.2",
|
|
85
|
-
"typescript": "^5.3.3"
|
|
86
|
-
}
|
|
87
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@dynamatix/gb-schemas",
|
|
3
|
+
"version": "2.3.242",
|
|
4
|
+
"description": "All the schemas for gatehouse bank back-end",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"build": "tsc",
|
|
10
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
11
|
+
"test:workflow": "npm run build && node test-workflow.js",
|
|
12
|
+
"test:workflow:env": "npm run build && WORKFLOW_API_KEY=test-key WORKFLOW_API_URL=http://localhost:3000/api/workflows node test-workflow-with-env.js",
|
|
13
|
+
"example:app": "npm run build && node example-app-usage.js",
|
|
14
|
+
"test:workflow:triggers": "npm run build && node test-workflow-with-triggers.js",
|
|
15
|
+
"test:workflow:direct": "npm run build && node test-direct-middleware.js",
|
|
16
|
+
"patch": "tsc && npm version patch && npm publish --access public && exit 0",
|
|
17
|
+
"generate-docs": "NODE_OPTIONS='--loader ts-node/esm' ts-node schema-docs/docs.seeder.ts",
|
|
18
|
+
"example:income": "NODE_OPTIONS='--loader ts-node/esm' ts-node examples/add-applicant-income.ts",
|
|
19
|
+
"migrate:applicant-income": "node migrate-applicant-income.js",
|
|
20
|
+
"migrate:self-employed-id": "node migrate-self-employed-id.js",
|
|
21
|
+
"check:applicants-employment": "node check-applicants-without-employment.js",
|
|
22
|
+
"delete:applications-by-type": "node delete-applications-by-type.js",
|
|
23
|
+
"find:applications-many-audits": "node find-applications-with-many-audits.js",
|
|
24
|
+
"update:apiconfigs-paths": "node scripts/update-apiconfigs-paths.js",
|
|
25
|
+
"seed:property-metadata": "node scripts/seed-property-metadata.js"
|
|
26
|
+
},
|
|
27
|
+
"repository": {
|
|
28
|
+
"type": "git",
|
|
29
|
+
"url": "git+https://github.com/DynamatixAnalyticsPvtLtd/gb-schemas.git"
|
|
30
|
+
},
|
|
31
|
+
"author": "Dynamatix",
|
|
32
|
+
"license": "ISC",
|
|
33
|
+
"bugs": {
|
|
34
|
+
"url": "https://github.com/DynamatixAnalyticsPvtLtd/gb-schemas/issues"
|
|
35
|
+
},
|
|
36
|
+
"homepage": "https://github.com/DynamatixAnalyticsPvtLtd/gb-schemas#readme",
|
|
37
|
+
"dependencies": {
|
|
38
|
+
"@dynamatix/cat-shared": "^0.0.124",
|
|
39
|
+
"@dynamatix/gb-schemas": "^1.3.256",
|
|
40
|
+
"dotenv": "^16.4.5",
|
|
41
|
+
"mongodb": "^6.14.2",
|
|
42
|
+
"mongoose": "^8.9.5"
|
|
43
|
+
},
|
|
44
|
+
"files": [
|
|
45
|
+
"dist"
|
|
46
|
+
],
|
|
47
|
+
"exports": {
|
|
48
|
+
".": {
|
|
49
|
+
"import": "./dist/index.js",
|
|
50
|
+
"types": "./dist/index.d.ts"
|
|
51
|
+
},
|
|
52
|
+
"./applications": {
|
|
53
|
+
"import": "./dist/applications/index.js",
|
|
54
|
+
"types": "./dist/applications/index.d.ts"
|
|
55
|
+
},
|
|
56
|
+
"./applicants": {
|
|
57
|
+
"import": "./dist/applicants/index.js",
|
|
58
|
+
"types": "./dist/applicants/index.d.ts"
|
|
59
|
+
},
|
|
60
|
+
"./shared": {
|
|
61
|
+
"import": "./dist/shared/index.js",
|
|
62
|
+
"types": "./dist/shared/index.d.ts"
|
|
63
|
+
},
|
|
64
|
+
"./properties": {
|
|
65
|
+
"import": "./dist/properties/index.js",
|
|
66
|
+
"types": "./dist/properties/index.d.ts"
|
|
67
|
+
},
|
|
68
|
+
"./users": {
|
|
69
|
+
"import": "./dist/users/index.js",
|
|
70
|
+
"types": "./dist/users/index.d.ts"
|
|
71
|
+
},
|
|
72
|
+
"./product-catalogues": {
|
|
73
|
+
"import": "./dist/product-catalogues/index.js",
|
|
74
|
+
"types": "./dist/product-catalogues/index.d.ts"
|
|
75
|
+
},
|
|
76
|
+
"./underwriter": {
|
|
77
|
+
"import": "./dist/underwriter/index.js",
|
|
78
|
+
"types": "./dist/underwriter/index.d.ts"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"devDependencies": {
|
|
82
|
+
"@types/mongoose": "^5.11.96",
|
|
83
|
+
"@types/node": "^22.14.0",
|
|
84
|
+
"ts-node": "^10.9.2",
|
|
85
|
+
"typescript": "^5.3.3"
|
|
86
|
+
}
|
|
87
|
+
}
|
|
@@ -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"}
|