@cleardu/core 1.0.527 → 1.0.529
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
|
@@ -9,13 +9,11 @@ let LoanContacts = class LoanContacts extends baseModel_1.default {
|
|
|
9
9
|
};
|
|
10
10
|
tslib_1.__decorate([
|
|
11
11
|
(0, sequelize_typescript_1.Column)({ type: sequelize_typescript_1.DataType.STRING(100), allowNull: false }),
|
|
12
|
-
(0, sequelize_typescript_1.Index)('idx_loan_contacts_phone_number'),
|
|
13
12
|
tslib_1.__metadata("design:type", String)
|
|
14
13
|
], LoanContacts.prototype, "phoneNumber", void 0);
|
|
15
14
|
tslib_1.__decorate([
|
|
16
15
|
(0, sequelize_typescript_1.ForeignKey)(() => loans_1.default),
|
|
17
16
|
(0, sequelize_typescript_1.Column)({ type: sequelize_typescript_1.DataType.INTEGER }),
|
|
18
|
-
(0, sequelize_typescript_1.Index)('idx_loan_contacts_loanId'),
|
|
19
17
|
tslib_1.__metadata("design:type", Number)
|
|
20
18
|
], LoanContacts.prototype, "loanId", void 0);
|
|
21
19
|
tslib_1.__decorate([
|
|
@@ -27,7 +25,6 @@ tslib_1.__decorate([
|
|
|
27
25
|
type: sequelize_typescript_1.DataType.ENUM(...Object.values(types_1.preferenceTypes)),
|
|
28
26
|
allowNull: true,
|
|
29
27
|
}),
|
|
30
|
-
(0, sequelize_typescript_1.Index)('idx_loan_contacts_number_type'),
|
|
31
28
|
tslib_1.__metadata("design:type", String)
|
|
32
29
|
], LoanContacts.prototype, "numberType", void 0);
|
|
33
30
|
LoanContacts = tslib_1.__decorate([
|
|
@@ -19,26 +19,22 @@ import { preferenceTypes } from '@cleardu/types';
|
|
|
19
19
|
},
|
|
20
20
|
],
|
|
21
21
|
})
|
|
22
|
-
|
|
23
22
|
export default class LoanContacts
|
|
24
23
|
extends BaseModel<ILoanContacts>
|
|
25
24
|
implements ILoanContacts
|
|
26
25
|
{
|
|
27
26
|
@Column({ type: DataType.STRING(100), allowNull: false })
|
|
28
|
-
@Index('idx_loan_contacts_phone_number')
|
|
29
27
|
declare phoneNumber: string;
|
|
30
28
|
|
|
31
29
|
@ForeignKey(() => Loans)
|
|
32
30
|
@Column({ type: DataType.INTEGER })
|
|
33
|
-
@Index('idx_loan_contacts_loanId')
|
|
34
31
|
public loanId: number;
|
|
35
32
|
@BelongsTo(() => Loans)
|
|
36
33
|
loanContactsPhoneNumber: Loans;
|
|
37
34
|
|
|
38
35
|
@Column({
|
|
39
|
-
type: DataType.ENUM(...Object.values(preferenceTypes) as string[]),
|
|
36
|
+
type: DataType.ENUM(...(Object.values(preferenceTypes) as string[])),
|
|
40
37
|
allowNull: true,
|
|
41
38
|
})
|
|
42
|
-
@Index('idx_loan_contacts_number_type')
|
|
43
39
|
public numberType: preferenceTypes;
|
|
44
40
|
}
|
|
@@ -107,6 +107,10 @@ tslib_1.__decorate([
|
|
|
107
107
|
(0, sequelize_typescript_1.Column)({ type: sequelize_typescript_1.DataType.STRING(255), allowNull: true }),
|
|
108
108
|
tslib_1.__metadata("design:type", String)
|
|
109
109
|
], UserTaskDetails.prototype, "callStatus", void 0);
|
|
110
|
+
tslib_1.__decorate([
|
|
111
|
+
(0, sequelize_typescript_1.Column)(sequelize_typescript_1.DataType.TEXT),
|
|
112
|
+
tslib_1.__metadata("design:type", String)
|
|
113
|
+
], UserTaskDetails.prototype, "dialerResponse", void 0);
|
|
110
114
|
UserTaskDetails = tslib_1.__decorate([
|
|
111
115
|
(0, sequelize_typescript_1.Table)({ tableName: 'userTaskDetails' })
|
|
112
116
|
], UserTaskDetails);
|