@admc-go-th/admc-library 1.0.65 → 1.0.66

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.
@@ -26,6 +26,8 @@ export interface memberAttributes {
26
26
  facebookId?: string;
27
27
  policy?: number;
28
28
  terms?: number;
29
+ otp?: string;
30
+ otpDate?: Date;
29
31
  createdBy?: string;
30
32
  createdDate?: Date;
31
33
  updatedBy?: string;
@@ -186,6 +188,19 @@ export class member extends Model<memberAttributes, memberAttributes> implements
186
188
  })
187
189
  declare terms?: number;
188
190
 
191
+ @Column({
192
+ allowNull: true,
193
+ type: DataType.STRING(10)
194
+ })
195
+ declare otp?: string;
196
+
197
+ @Column({
198
+ field: "otp_date",
199
+ allowNull: true,
200
+ type: DataType.DATE
201
+ })
202
+ declare otpDate?: Date;
203
+
189
204
  @Column({
190
205
  field: "created_by",
191
206
  allowNull: true,
@@ -3759,6 +3759,19 @@ __decorateClass([
3759
3759
  type: import_sequelize_typescript34.DataType.INTEGER
3760
3760
  })
3761
3761
  ], member.prototype, "terms", 2);
3762
+ __decorateClass([
3763
+ (0, import_sequelize_typescript34.Column)({
3764
+ allowNull: true,
3765
+ type: import_sequelize_typescript34.DataType.STRING(10)
3766
+ })
3767
+ ], member.prototype, "otp", 2);
3768
+ __decorateClass([
3769
+ (0, import_sequelize_typescript34.Column)({
3770
+ field: "otp_date",
3771
+ allowNull: true,
3772
+ type: import_sequelize_typescript34.DataType.DATE
3773
+ })
3774
+ ], member.prototype, "otpDate", 2);
3762
3775
  __decorateClass([
3763
3776
  (0, import_sequelize_typescript34.Column)({
3764
3777
  field: "created_by",
@@ -24,6 +24,8 @@ interface memberAttributes {
24
24
  facebookId?: string;
25
25
  policy?: number;
26
26
  terms?: number;
27
+ otp?: string;
28
+ otpDate?: Date;
27
29
  createdBy?: string;
28
30
  createdDate?: Date;
29
31
  updatedBy?: string;
@@ -53,6 +55,8 @@ declare class member extends Model<memberAttributes, memberAttributes> implement
53
55
  facebookId?: string;
54
56
  policy?: number;
55
57
  terms?: number;
58
+ otp?: string;
59
+ otpDate?: Date;
56
60
  createdBy?: string;
57
61
  createdDate?: Date;
58
62
  updatedBy?: string;
@@ -182,6 +182,19 @@ __decorateClass([
182
182
  type: import_sequelize_typescript.DataType.INTEGER
183
183
  })
184
184
  ], member.prototype, "terms", 2);
185
+ __decorateClass([
186
+ (0, import_sequelize_typescript.Column)({
187
+ allowNull: true,
188
+ type: import_sequelize_typescript.DataType.STRING(10)
189
+ })
190
+ ], member.prototype, "otp", 2);
191
+ __decorateClass([
192
+ (0, import_sequelize_typescript.Column)({
193
+ field: "otp_date",
194
+ allowNull: true,
195
+ type: import_sequelize_typescript.DataType.DATE
196
+ })
197
+ ], member.prototype, "otpDate", 2);
185
198
  __decorateClass([
186
199
  (0, import_sequelize_typescript.Column)({
187
200
  field: "created_by",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@admc-go-th/admc-library",
3
- "version": "1.0.65",
3
+ "version": "1.0.66",
4
4
  "description": "",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",