@cleardu/core 1.0.529 → 1.0.531
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
|
@@ -38,6 +38,10 @@ tslib_1.__decorate([
|
|
|
38
38
|
(0, sequelize_typescript_1.BelongsTo)(() => users_1.default),
|
|
39
39
|
tslib_1.__metadata("design:type", users_1.default)
|
|
40
40
|
], LoanMappings.prototype, "mappingUser", void 0);
|
|
41
|
+
tslib_1.__decorate([
|
|
42
|
+
(0, sequelize_typescript_1.Column)({ type: sequelize_typescript_1.DataType.BOOLEAN, defaultValue: true }),
|
|
43
|
+
tslib_1.__metadata("design:type", Boolean)
|
|
44
|
+
], LoanMappings.prototype, "isLead", void 0);
|
|
41
45
|
LoanMappings = tslib_1.__decorate([
|
|
42
46
|
(0, sequelize_typescript_1.Table)({
|
|
43
47
|
tableName: 'loan_mappings',
|
package/schemas/loans/index.js
CHANGED
|
@@ -597,7 +597,7 @@ Loans = tslib_1.__decorate([
|
|
|
597
597
|
},
|
|
598
598
|
{
|
|
599
599
|
model: loanMappings_1.default,
|
|
600
|
-
attributes: ['id', 'userId', 'campaignId'],
|
|
600
|
+
attributes: ['id', 'userId', 'campaignId', 'isLead'],
|
|
601
601
|
required: isRequired,
|
|
602
602
|
where: loanMappingCondition,
|
|
603
603
|
include: [
|
package/schemas/loans/index.ts
CHANGED
|
@@ -223,7 +223,7 @@ import LoanSummary from '../loanSummary';
|
|
|
223
223
|
},
|
|
224
224
|
{
|
|
225
225
|
model: LoanMappings,
|
|
226
|
-
attributes: ['id', 'userId', 'campaignId'],
|
|
226
|
+
attributes: ['id', 'userId', 'campaignId', 'isLead'],
|
|
227
227
|
required: isRequired,
|
|
228
228
|
where: loanMappingCondition,
|
|
229
229
|
include: [
|