@admc-go-th/admc-library 1.0.65 → 1.0.67
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.
|
@@ -15,6 +15,8 @@ export interface memberAttributes {
|
|
|
15
15
|
prefix?: string;
|
|
16
16
|
firstName?: string;
|
|
17
17
|
lastName?: string;
|
|
18
|
+
idCard?: string;
|
|
19
|
+
address?: string;
|
|
18
20
|
phone?: string;
|
|
19
21
|
job?: string;
|
|
20
22
|
agency?: string;
|
|
@@ -26,6 +28,8 @@ export interface memberAttributes {
|
|
|
26
28
|
facebookId?: string;
|
|
27
29
|
policy?: number;
|
|
28
30
|
terms?: number;
|
|
31
|
+
otp?: string;
|
|
32
|
+
otpDate?: Date;
|
|
29
33
|
createdBy?: string;
|
|
30
34
|
createdDate?: Date;
|
|
31
35
|
updatedBy?: string;
|
|
@@ -118,6 +122,19 @@ export class member extends Model<memberAttributes, memberAttributes> implements
|
|
|
118
122
|
})
|
|
119
123
|
declare lastName?: string;
|
|
120
124
|
|
|
125
|
+
@Column({
|
|
126
|
+
field: "id_card",
|
|
127
|
+
allowNull: true,
|
|
128
|
+
type: DataType.STRING(20)
|
|
129
|
+
})
|
|
130
|
+
declare idCard?: string;
|
|
131
|
+
|
|
132
|
+
@Column({
|
|
133
|
+
allowNull: true,
|
|
134
|
+
type: DataType.STRING
|
|
135
|
+
})
|
|
136
|
+
declare address?: string;
|
|
137
|
+
|
|
121
138
|
@Column({
|
|
122
139
|
allowNull: true,
|
|
123
140
|
type: DataType.STRING(20)
|
|
@@ -186,6 +203,19 @@ export class member extends Model<memberAttributes, memberAttributes> implements
|
|
|
186
203
|
})
|
|
187
204
|
declare terms?: number;
|
|
188
205
|
|
|
206
|
+
@Column({
|
|
207
|
+
allowNull: true,
|
|
208
|
+
type: DataType.STRING(10)
|
|
209
|
+
})
|
|
210
|
+
declare otp?: string;
|
|
211
|
+
|
|
212
|
+
@Column({
|
|
213
|
+
field: "otp_date",
|
|
214
|
+
allowNull: true,
|
|
215
|
+
type: DataType.DATE
|
|
216
|
+
})
|
|
217
|
+
declare otpDate?: Date;
|
|
218
|
+
|
|
189
219
|
@Column({
|
|
190
220
|
field: "created_by",
|
|
191
221
|
allowNull: true,
|
|
@@ -3691,6 +3691,19 @@ __decorateClass([
|
|
|
3691
3691
|
type: import_sequelize_typescript34.DataType.STRING(100)
|
|
3692
3692
|
})
|
|
3693
3693
|
], member.prototype, "lastName", 2);
|
|
3694
|
+
__decorateClass([
|
|
3695
|
+
(0, import_sequelize_typescript34.Column)({
|
|
3696
|
+
field: "id_card",
|
|
3697
|
+
allowNull: true,
|
|
3698
|
+
type: import_sequelize_typescript34.DataType.STRING(20)
|
|
3699
|
+
})
|
|
3700
|
+
], member.prototype, "idCard", 2);
|
|
3701
|
+
__decorateClass([
|
|
3702
|
+
(0, import_sequelize_typescript34.Column)({
|
|
3703
|
+
allowNull: true,
|
|
3704
|
+
type: import_sequelize_typescript34.DataType.STRING
|
|
3705
|
+
})
|
|
3706
|
+
], member.prototype, "address", 2);
|
|
3694
3707
|
__decorateClass([
|
|
3695
3708
|
(0, import_sequelize_typescript34.Column)({
|
|
3696
3709
|
allowNull: true,
|
|
@@ -3759,6 +3772,19 @@ __decorateClass([
|
|
|
3759
3772
|
type: import_sequelize_typescript34.DataType.INTEGER
|
|
3760
3773
|
})
|
|
3761
3774
|
], member.prototype, "terms", 2);
|
|
3775
|
+
__decorateClass([
|
|
3776
|
+
(0, import_sequelize_typescript34.Column)({
|
|
3777
|
+
allowNull: true,
|
|
3778
|
+
type: import_sequelize_typescript34.DataType.STRING(10)
|
|
3779
|
+
})
|
|
3780
|
+
], member.prototype, "otp", 2);
|
|
3781
|
+
__decorateClass([
|
|
3782
|
+
(0, import_sequelize_typescript34.Column)({
|
|
3783
|
+
field: "otp_date",
|
|
3784
|
+
allowNull: true,
|
|
3785
|
+
type: import_sequelize_typescript34.DataType.DATE
|
|
3786
|
+
})
|
|
3787
|
+
], member.prototype, "otpDate", 2);
|
|
3762
3788
|
__decorateClass([
|
|
3763
3789
|
(0, import_sequelize_typescript34.Column)({
|
|
3764
3790
|
field: "created_by",
|
|
@@ -13,6 +13,8 @@ interface memberAttributes {
|
|
|
13
13
|
prefix?: string;
|
|
14
14
|
firstName?: string;
|
|
15
15
|
lastName?: string;
|
|
16
|
+
idCard?: string;
|
|
17
|
+
address?: string;
|
|
16
18
|
phone?: string;
|
|
17
19
|
job?: string;
|
|
18
20
|
agency?: string;
|
|
@@ -24,6 +26,8 @@ interface memberAttributes {
|
|
|
24
26
|
facebookId?: string;
|
|
25
27
|
policy?: number;
|
|
26
28
|
terms?: number;
|
|
29
|
+
otp?: string;
|
|
30
|
+
otpDate?: Date;
|
|
27
31
|
createdBy?: string;
|
|
28
32
|
createdDate?: Date;
|
|
29
33
|
updatedBy?: string;
|
|
@@ -42,6 +46,8 @@ declare class member extends Model<memberAttributes, memberAttributes> implement
|
|
|
42
46
|
prefix?: string;
|
|
43
47
|
firstName?: string;
|
|
44
48
|
lastName?: string;
|
|
49
|
+
idCard?: string;
|
|
50
|
+
address?: string;
|
|
45
51
|
phone?: string;
|
|
46
52
|
job?: string;
|
|
47
53
|
agency?: string;
|
|
@@ -53,6 +59,8 @@ declare class member extends Model<memberAttributes, memberAttributes> implement
|
|
|
53
59
|
facebookId?: string;
|
|
54
60
|
policy?: number;
|
|
55
61
|
terms?: number;
|
|
62
|
+
otp?: string;
|
|
63
|
+
otpDate?: Date;
|
|
56
64
|
createdBy?: string;
|
|
57
65
|
createdDate?: Date;
|
|
58
66
|
updatedBy?: string;
|
|
@@ -114,6 +114,19 @@ __decorateClass([
|
|
|
114
114
|
type: import_sequelize_typescript.DataType.STRING(100)
|
|
115
115
|
})
|
|
116
116
|
], member.prototype, "lastName", 2);
|
|
117
|
+
__decorateClass([
|
|
118
|
+
(0, import_sequelize_typescript.Column)({
|
|
119
|
+
field: "id_card",
|
|
120
|
+
allowNull: true,
|
|
121
|
+
type: import_sequelize_typescript.DataType.STRING(20)
|
|
122
|
+
})
|
|
123
|
+
], member.prototype, "idCard", 2);
|
|
124
|
+
__decorateClass([
|
|
125
|
+
(0, import_sequelize_typescript.Column)({
|
|
126
|
+
allowNull: true,
|
|
127
|
+
type: import_sequelize_typescript.DataType.STRING
|
|
128
|
+
})
|
|
129
|
+
], member.prototype, "address", 2);
|
|
117
130
|
__decorateClass([
|
|
118
131
|
(0, import_sequelize_typescript.Column)({
|
|
119
132
|
allowNull: true,
|
|
@@ -182,6 +195,19 @@ __decorateClass([
|
|
|
182
195
|
type: import_sequelize_typescript.DataType.INTEGER
|
|
183
196
|
})
|
|
184
197
|
], member.prototype, "terms", 2);
|
|
198
|
+
__decorateClass([
|
|
199
|
+
(0, import_sequelize_typescript.Column)({
|
|
200
|
+
allowNull: true,
|
|
201
|
+
type: import_sequelize_typescript.DataType.STRING(10)
|
|
202
|
+
})
|
|
203
|
+
], member.prototype, "otp", 2);
|
|
204
|
+
__decorateClass([
|
|
205
|
+
(0, import_sequelize_typescript.Column)({
|
|
206
|
+
field: "otp_date",
|
|
207
|
+
allowNull: true,
|
|
208
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
209
|
+
})
|
|
210
|
+
], member.prototype, "otpDate", 2);
|
|
185
211
|
__decorateClass([
|
|
186
212
|
(0, import_sequelize_typescript.Column)({
|
|
187
213
|
field: "created_by",
|