@dynamatix/gb-schemas 2.3.248 → 2.3.250
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicant-income-settings.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-income-settings.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"applicant-income-settings.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-income-settings.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAwBhC,QAAA,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA4E,CAAC;AAE/G,eAAe,4BAA4B,CAAC"}
|
|
@@ -65,6 +65,11 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
65
65
|
solicitorId: mongoose.Types.ObjectId;
|
|
66
66
|
newAuditRecordsCount: number;
|
|
67
67
|
propertyIds: mongoose.Types.ObjectId[];
|
|
68
|
+
isMandateRequested: boolean;
|
|
69
|
+
isMandateApproved: boolean;
|
|
70
|
+
mandateReviewComments: string;
|
|
71
|
+
manadateRequestedDate: string;
|
|
72
|
+
mandateReviewedDate: string;
|
|
68
73
|
brokerTaskCount: number;
|
|
69
74
|
lenderTaskCount: number;
|
|
70
75
|
pendingTaskCountForUser: number;
|
|
@@ -94,6 +99,8 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
94
99
|
companyId?: mongoose.Types.ObjectId | null | undefined;
|
|
95
100
|
valuationId?: mongoose.Types.ObjectId | null | undefined;
|
|
96
101
|
valuationReportId?: mongoose.Types.ObjectId | null | undefined;
|
|
102
|
+
manadateRequestedBy?: mongoose.Types.ObjectId | null | undefined;
|
|
103
|
+
mandateReviewedBy?: mongoose.Types.ObjectId | null | undefined;
|
|
97
104
|
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
98
105
|
createdAt: NativeDate;
|
|
99
106
|
updatedAt: NativeDate;
|
|
@@ -132,6 +139,11 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
132
139
|
solicitorId: mongoose.Types.ObjectId;
|
|
133
140
|
newAuditRecordsCount: number;
|
|
134
141
|
propertyIds: mongoose.Types.ObjectId[];
|
|
142
|
+
isMandateRequested: boolean;
|
|
143
|
+
isMandateApproved: boolean;
|
|
144
|
+
mandateReviewComments: string;
|
|
145
|
+
manadateRequestedDate: string;
|
|
146
|
+
mandateReviewedDate: string;
|
|
135
147
|
brokerTaskCount: number;
|
|
136
148
|
lenderTaskCount: number;
|
|
137
149
|
pendingTaskCountForUser: number;
|
|
@@ -161,6 +173,8 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
161
173
|
companyId?: mongoose.Types.ObjectId | null | undefined;
|
|
162
174
|
valuationId?: mongoose.Types.ObjectId | null | undefined;
|
|
163
175
|
valuationReportId?: mongoose.Types.ObjectId | null | undefined;
|
|
176
|
+
manadateRequestedBy?: mongoose.Types.ObjectId | null | undefined;
|
|
177
|
+
mandateReviewedBy?: mongoose.Types.ObjectId | null | undefined;
|
|
164
178
|
}, {}> & {
|
|
165
179
|
createdAt: NativeDate;
|
|
166
180
|
updatedAt: NativeDate;
|
|
@@ -199,6 +213,11 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
199
213
|
solicitorId: mongoose.Types.ObjectId;
|
|
200
214
|
newAuditRecordsCount: number;
|
|
201
215
|
propertyIds: mongoose.Types.ObjectId[];
|
|
216
|
+
isMandateRequested: boolean;
|
|
217
|
+
isMandateApproved: boolean;
|
|
218
|
+
mandateReviewComments: string;
|
|
219
|
+
manadateRequestedDate: string;
|
|
220
|
+
mandateReviewedDate: string;
|
|
202
221
|
brokerTaskCount: number;
|
|
203
222
|
lenderTaskCount: number;
|
|
204
223
|
pendingTaskCountForUser: number;
|
|
@@ -228,6 +247,8 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
228
247
|
companyId?: mongoose.Types.ObjectId | null | undefined;
|
|
229
248
|
valuationId?: mongoose.Types.ObjectId | null | undefined;
|
|
230
249
|
valuationReportId?: mongoose.Types.ObjectId | null | undefined;
|
|
250
|
+
manadateRequestedBy?: mongoose.Types.ObjectId | null | undefined;
|
|
251
|
+
mandateReviewedBy?: mongoose.Types.ObjectId | null | undefined;
|
|
231
252
|
} & {
|
|
232
253
|
_id: mongoose.Types.ObjectId;
|
|
233
254
|
} & {
|
|
@@ -278,6 +299,11 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
278
299
|
solicitorId: mongoose.Types.ObjectId;
|
|
279
300
|
newAuditRecordsCount: number;
|
|
280
301
|
propertyIds: mongoose.Types.ObjectId[];
|
|
302
|
+
isMandateRequested: boolean;
|
|
303
|
+
isMandateApproved: boolean;
|
|
304
|
+
mandateReviewComments: string;
|
|
305
|
+
manadateRequestedDate: string;
|
|
306
|
+
mandateReviewedDate: string;
|
|
281
307
|
brokerTaskCount: number;
|
|
282
308
|
lenderTaskCount: number;
|
|
283
309
|
pendingTaskCountForUser: number;
|
|
@@ -307,6 +333,8 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
307
333
|
companyId?: mongoose.Types.ObjectId | null | undefined;
|
|
308
334
|
valuationId?: mongoose.Types.ObjectId | null | undefined;
|
|
309
335
|
valuationReportId?: mongoose.Types.ObjectId | null | undefined;
|
|
336
|
+
manadateRequestedBy?: mongoose.Types.ObjectId | null | undefined;
|
|
337
|
+
mandateReviewedBy?: mongoose.Types.ObjectId | null | undefined;
|
|
310
338
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
311
339
|
createdAt: NativeDate;
|
|
312
340
|
updatedAt: NativeDate;
|
|
@@ -345,6 +373,11 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
345
373
|
solicitorId: mongoose.Types.ObjectId;
|
|
346
374
|
newAuditRecordsCount: number;
|
|
347
375
|
propertyIds: mongoose.Types.ObjectId[];
|
|
376
|
+
isMandateRequested: boolean;
|
|
377
|
+
isMandateApproved: boolean;
|
|
378
|
+
mandateReviewComments: string;
|
|
379
|
+
manadateRequestedDate: string;
|
|
380
|
+
mandateReviewedDate: string;
|
|
348
381
|
brokerTaskCount: number;
|
|
349
382
|
lenderTaskCount: number;
|
|
350
383
|
pendingTaskCountForUser: number;
|
|
@@ -374,6 +407,8 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
374
407
|
companyId?: mongoose.Types.ObjectId | null | undefined;
|
|
375
408
|
valuationId?: mongoose.Types.ObjectId | null | undefined;
|
|
376
409
|
valuationReportId?: mongoose.Types.ObjectId | null | undefined;
|
|
410
|
+
manadateRequestedBy?: mongoose.Types.ObjectId | null | undefined;
|
|
411
|
+
mandateReviewedBy?: mongoose.Types.ObjectId | null | undefined;
|
|
377
412
|
}>, {}> & mongoose.FlatRecord<{
|
|
378
413
|
createdAt: NativeDate;
|
|
379
414
|
updatedAt: NativeDate;
|
|
@@ -412,6 +447,11 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
412
447
|
solicitorId: mongoose.Types.ObjectId;
|
|
413
448
|
newAuditRecordsCount: number;
|
|
414
449
|
propertyIds: mongoose.Types.ObjectId[];
|
|
450
|
+
isMandateRequested: boolean;
|
|
451
|
+
isMandateApproved: boolean;
|
|
452
|
+
mandateReviewComments: string;
|
|
453
|
+
manadateRequestedDate: string;
|
|
454
|
+
mandateReviewedDate: string;
|
|
415
455
|
brokerTaskCount: number;
|
|
416
456
|
lenderTaskCount: number;
|
|
417
457
|
pendingTaskCountForUser: number;
|
|
@@ -441,6 +481,8 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
441
481
|
companyId?: mongoose.Types.ObjectId | null | undefined;
|
|
442
482
|
valuationId?: mongoose.Types.ObjectId | null | undefined;
|
|
443
483
|
valuationReportId?: mongoose.Types.ObjectId | null | undefined;
|
|
484
|
+
manadateRequestedBy?: mongoose.Types.ObjectId | null | undefined;
|
|
485
|
+
mandateReviewedBy?: mongoose.Types.ObjectId | null | undefined;
|
|
444
486
|
}> & {
|
|
445
487
|
_id: mongoose.Types.ObjectId;
|
|
446
488
|
} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application.model.d.ts","sourceRoot":"","sources":["../../applications/application.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"application.model.d.ts","sourceRoot":"","sources":["../../applications/application.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAwOhC,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAmD,CAAC;AAC1E,eAAe,gBAAgB,CAAC"}
|
|
@@ -56,6 +56,13 @@ const applicationSchema = new mongoose.Schema({
|
|
|
56
56
|
propertyIds: [{ type: mongoose.Schema.Types.ObjectId, ref: "Property" }],
|
|
57
57
|
valuationId: { type: mongoose.Schema.Types.ObjectId, ref: "ApplicationValuation" },
|
|
58
58
|
valuationReportId: { type: mongoose.Schema.Types.ObjectId, ref: "ApplicationValuationReport" },
|
|
59
|
+
isMandateRequested: { type: Boolean, default: false },
|
|
60
|
+
isMandateApproved: { type: Boolean, default: null },
|
|
61
|
+
mandateReviewComments: { type: String, default: "" },
|
|
62
|
+
manadateRequestedBy: { type: mongoose.Schema.Types.ObjectId, ref: "User" },
|
|
63
|
+
manadateRequestedDate: { type: String, default: null },
|
|
64
|
+
mandateReviewedBy: { type: mongoose.Schema.Types.ObjectId, ref: "User" },
|
|
65
|
+
mandateReviewedDate: { type: String, default: null },
|
|
59
66
|
brokerTaskCount: {
|
|
60
67
|
type: Number,
|
|
61
68
|
default: 0
|