@cleardu/core 1.0.517 → 1.0.518
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/package.json
CHANGED
package/schemas/loans/index.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ import LoansStats from '../loansStats';
|
|
|
24
24
|
import DNCNumbers from '../dncNumbers';
|
|
25
25
|
import AllocationTypes from '../allocationTypes';
|
|
26
26
|
import ClientLoanContacts from '../clientLoanContacts';
|
|
27
|
+
import LoanSummary from '../loanSummary';
|
|
27
28
|
export default class Loans extends BaseModel<ILoans> implements ILoans {
|
|
28
29
|
borrowerId: number;
|
|
29
30
|
loanBorrower: Borrowers;
|
|
@@ -114,4 +115,5 @@ export default class Loans extends BaseModel<ILoans> implements ILoans {
|
|
|
114
115
|
paymentHistoryStatus: PaymentHistoryStatus;
|
|
115
116
|
loansStats: LoansStats[];
|
|
116
117
|
loansDNCNumbers: DNCNumbers[];
|
|
118
|
+
loanSummary: LoanSummary[];
|
|
117
119
|
}
|
package/schemas/loans/index.js
CHANGED
|
@@ -31,6 +31,7 @@ const loansStats_1 = require("../loansStats");
|
|
|
31
31
|
const dncNumbers_1 = require("../dncNumbers");
|
|
32
32
|
const allocationTypes_1 = require("../allocationTypes");
|
|
33
33
|
const clientLoanContacts_1 = require("../clientLoanContacts");
|
|
34
|
+
const loanSummary_1 = require("../loanSummary");
|
|
34
35
|
let Loans = class Loans extends baseModel_1.default {
|
|
35
36
|
};
|
|
36
37
|
tslib_1.__decorate([
|
|
@@ -416,6 +417,10 @@ tslib_1.__decorate([
|
|
|
416
417
|
(0, sequelize_typescript_1.HasMany)(() => dncNumbers_1.default, 'loanId'),
|
|
417
418
|
tslib_1.__metadata("design:type", Array)
|
|
418
419
|
], Loans.prototype, "loansDNCNumbers", void 0);
|
|
420
|
+
tslib_1.__decorate([
|
|
421
|
+
(0, sequelize_typescript_1.HasMany)(() => loanSummary_1.default, 'loanId'),
|
|
422
|
+
tslib_1.__metadata("design:type", Array)
|
|
423
|
+
], Loans.prototype, "loanSummary", void 0);
|
|
419
424
|
Loans = tslib_1.__decorate([
|
|
420
425
|
(0, sequelize_typescript_1.Scopes)(() => ({
|
|
421
426
|
defaultScope: {
|
package/schemas/loans/index.ts
CHANGED
|
@@ -40,6 +40,7 @@ import LoansStats from '../loansStats';
|
|
|
40
40
|
import DNCNumbers from '../dncNumbers';
|
|
41
41
|
import AllocationTypes from '../allocationTypes';
|
|
42
42
|
import ClientLoanContacts from '../clientLoanContacts';
|
|
43
|
+
import LoanSummary from '../loanSummary';
|
|
43
44
|
|
|
44
45
|
@Scopes(() => ({
|
|
45
46
|
defaultScope: {
|
|
@@ -609,4 +610,7 @@ export default class Loans extends BaseModel<ILoans> implements ILoans {
|
|
|
609
610
|
|
|
610
611
|
@HasMany(() => DNCNumbers, 'loanId')
|
|
611
612
|
loansDNCNumbers: DNCNumbers[];
|
|
613
|
+
|
|
614
|
+
@HasMany(() => LoanSummary, 'loanId')
|
|
615
|
+
loanSummary: LoanSummary[];
|
|
612
616
|
}
|