@cleardu/core 1.0.531 → 1.0.532

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cleardu/core",
3
- "version": "1.0.531",
3
+ "version": "1.0.532",
4
4
  "description": "Nest - modern, fast, powerful node.js web framework (@common)",
5
5
  "homepage": "https://nestjs.com",
6
6
  "funding": {
@@ -116,4 +116,5 @@ export default class Loans extends BaseModel<ILoans> implements ILoans {
116
116
  loansStats: LoansStats[];
117
117
  loansDNCNumbers: DNCNumbers[];
118
118
  loanSummary: LoanSummary[];
119
+ loansContacts: DNCNumbers[];
119
120
  }
@@ -32,6 +32,7 @@ const dncNumbers_1 = require("../dncNumbers");
32
32
  const allocationTypes_1 = require("../allocationTypes");
33
33
  const clientLoanContacts_1 = require("../clientLoanContacts");
34
34
  const loanSummary_1 = require("../loanSummary");
35
+ const loanContacts_1 = require("../loanContacts");
35
36
  let Loans = class Loans extends baseModel_1.default {
36
37
  };
37
38
  tslib_1.__decorate([
@@ -421,6 +422,10 @@ tslib_1.__decorate([
421
422
  (0, sequelize_typescript_1.HasMany)(() => loanSummary_1.default, 'loanId'),
422
423
  tslib_1.__metadata("design:type", Array)
423
424
  ], Loans.prototype, "loanSummary", void 0);
425
+ tslib_1.__decorate([
426
+ (0, sequelize_typescript_1.HasMany)(() => loanContacts_1.default, 'loanId'),
427
+ tslib_1.__metadata("design:type", Array)
428
+ ], Loans.prototype, "loansContacts", void 0);
424
429
  Loans = tslib_1.__decorate([
425
430
  (0, sequelize_typescript_1.Scopes)(() => ({
426
431
  defaultScope: {
@@ -41,6 +41,7 @@ import DNCNumbers from '../dncNumbers';
41
41
  import AllocationTypes from '../allocationTypes';
42
42
  import ClientLoanContacts from '../clientLoanContacts';
43
43
  import LoanSummary from '../loanSummary';
44
+ import LoanContacts from '../loanContacts';
44
45
 
45
46
  @Scopes(() => ({
46
47
  defaultScope: {
@@ -613,4 +614,7 @@ export default class Loans extends BaseModel<ILoans> implements ILoans {
613
614
 
614
615
  @HasMany(() => LoanSummary, 'loanId')
615
616
  loanSummary: LoanSummary[];
617
+
618
+ @HasMany(() => LoanContacts, 'loanId')
619
+ loansContacts: DNCNumbers[];
616
620
  }