@admc-go-th/admc-library 1.0.127 → 1.0.129

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.
Files changed (41) hide show
  1. package/{authAssignment-Te_XO-S8.d.ts → authAssignment-BAUCoEP6.d.ts} +4 -0
  2. package/databases/schema/appScore.ts +8 -0
  3. package/databases/schema/authRole.ts +16 -0
  4. package/databases/schema/mdEbook.ts +16 -0
  5. package/databases/schema/mdVideo.ts +11 -2
  6. package/databases/schema/member.ts +8 -0
  7. package/databases/schema/msConsultSiteChannel.ts +21 -0
  8. package/databases/tables/appScore.d.ts +2 -0
  9. package/databases/tables/appScore.js +7 -0
  10. package/databases/tables/authAssignment.d.ts +1 -1
  11. package/databases/tables/authAssignment.js +14 -0
  12. package/databases/tables/authRole.d.ts +1 -1
  13. package/databases/tables/authRole.js +14 -0
  14. package/databases/tables/authRoleChild.d.ts +1 -1
  15. package/databases/tables/authRoleChild.js +14 -0
  16. package/databases/tables/index.d.ts +2 -2
  17. package/databases/tables/index.js +68 -0
  18. package/databases/tables/mdContent.d.ts +1 -1
  19. package/databases/tables/mdContent.js +14 -0
  20. package/databases/tables/mdContentGroup.d.ts +1 -1
  21. package/databases/tables/mdContentGroup.js +14 -0
  22. package/databases/tables/mdEbook.d.ts +1 -1
  23. package/databases/tables/mdEbook.js +14 -0
  24. package/databases/tables/mdEbookGroup.d.ts +1 -1
  25. package/databases/tables/mdEbookGroup.js +14 -0
  26. package/databases/tables/mdQuestionnaire.d.ts +1 -1
  27. package/databases/tables/mdQuestionnaire.js +14 -0
  28. package/databases/tables/mdQuestionnaireData.d.ts +1 -1
  29. package/databases/tables/mdQuestionnaireData.js +14 -0
  30. package/databases/tables/mdVideo.d.ts +4 -2
  31. package/databases/tables/mdVideo.js +8 -0
  32. package/databases/tables/member.d.ts +2 -0
  33. package/databases/tables/member.js +7 -0
  34. package/databases/tables/msConsultSiteChannel.d.ts +6 -0
  35. package/databases/tables/msConsultSiteChannel.js +18 -0
  36. package/databases/tables/users.d.ts +1 -1
  37. package/databases/tables/users.js +14 -0
  38. package/databases/tables/usersVerify.d.ts +1 -1
  39. package/databases/tables/usersVerify.js +14 -0
  40. package/{mdEbook-BqC65Ujw.d.ts → mdEbook-yzNQjFhx.d.ts} +4 -0
  41. package/package.json +1 -1
@@ -257,6 +257,8 @@ interface authRoleAttributes {
257
257
  name: string;
258
258
  display?: string;
259
259
  status?: number;
260
+ orgId?: string;
261
+ orgInfo?: object;
260
262
  createdBy?: string;
261
263
  createdDate?: Date;
262
264
  updatedBy?: string;
@@ -268,6 +270,8 @@ declare class authRole extends Model<authRoleAttributes, authRoleAttributes> imp
268
270
  name: string;
269
271
  display?: string;
270
272
  status?: number;
273
+ orgId?: string;
274
+ orgInfo?: object;
271
275
  createdBy?: string;
272
276
  createdDate?: Date;
273
277
  updatedBy?: string;
@@ -22,6 +22,7 @@ export interface appScoreAttributes {
22
22
  createdDate?: Date;
23
23
  updatedBy?: string;
24
24
  updatedDate?: Date;
25
+ refId?: number;
25
26
  }
26
27
 
27
28
  @Table({
@@ -158,4 +159,11 @@ export class appScore extends Model<appScoreAttributes, appScoreAttributes> impl
158
159
  })
159
160
  declare updatedDate?: Date;
160
161
 
162
+ @Column({
163
+ field: "ref_id",
164
+ allowNull: true,
165
+ type: DataType.INTEGER
166
+ })
167
+ declare refId?: number;
168
+
161
169
  }
@@ -10,6 +10,8 @@ export interface authRoleAttributes {
10
10
  name: string;
11
11
  display?: string;
12
12
  status?: number;
13
+ orgId?: string;
14
+ orgInfo?: object;
13
15
  createdBy?: string;
14
16
  createdDate?: Date;
15
17
  updatedBy?: string;
@@ -51,6 +53,20 @@ export class authRole extends Model<authRoleAttributes, authRoleAttributes> impl
51
53
  })
52
54
  declare status?: number;
53
55
 
56
+ @Column({
57
+ field: "org_id",
58
+ allowNull: true,
59
+ type: DataType.STRING(255)
60
+ })
61
+ declare orgId?: string;
62
+
63
+ @Column({
64
+ field: "org_info",
65
+ allowNull: true,
66
+ type: DataType.JSON
67
+ })
68
+ declare orgInfo?: object;
69
+
54
70
  @Column({
55
71
  field: "created_by",
56
72
  allowNull: true,
@@ -19,12 +19,14 @@ export interface mdEbookAttributes {
19
19
  imageGallery?: object;
20
20
  attachments?: object;
21
21
  highlight?: number;
22
+ newInfo?: object;
22
23
  sort?: number;
23
24
  status?: number;
24
25
  view?: number;
25
26
  hasExpire: number;
26
27
  startDate?: Date;
27
28
  expireDate?: Date;
29
+ sendSubscribe?: number;
28
30
  createdBy?: string;
29
31
  createdDate?: Date;
30
32
  updatedBy?: string;
@@ -137,6 +139,13 @@ export class mdEbook extends Model<mdEbookAttributes, mdEbookAttributes> impleme
137
139
  })
138
140
  declare highlight?: number;
139
141
 
142
+ @Column({
143
+ field: "new_info",
144
+ allowNull: true,
145
+ type: DataType.JSON
146
+ })
147
+ declare newInfo?: object;
148
+
140
149
  @Column({
141
150
  allowNull: true,
142
151
  type: DataType.INTEGER
@@ -175,6 +184,13 @@ export class mdEbook extends Model<mdEbookAttributes, mdEbookAttributes> impleme
175
184
  })
176
185
  declare expireDate?: Date;
177
186
 
187
+ @Column({
188
+ field: "send_subscribe",
189
+ allowNull: true,
190
+ type: DataType.INTEGER
191
+ })
192
+ declare sendSubscribe?: number;
193
+
178
194
  @Column({
179
195
  field: "created_by",
180
196
  allowNull: true,
@@ -26,13 +26,14 @@ export interface mdVideoAttributes {
26
26
  status?: number;
27
27
  view?: number;
28
28
  publish?: number;
29
- hasExpire: number;
29
+ hasExpire?: number;
30
30
  startDate?: Date;
31
31
  expireDate?: Date;
32
32
  createdBy?: string;
33
33
  createdDate?: Date;
34
34
  updatedBy?: string;
35
35
  updatedDate?: Date;
36
+ refId?: number;
36
37
  }
37
38
 
38
39
  @Table({
@@ -189,9 +190,10 @@ export class mdVideo extends Model<mdVideoAttributes, mdVideoAttributes> impleme
189
190
 
190
191
  @Column({
191
192
  field: "has_expire",
193
+ allowNull: true,
192
194
  type: DataType.INTEGER
193
195
  })
194
- declare hasExpire: number;
196
+ declare hasExpire?: number;
195
197
 
196
198
  @Column({
197
199
  field: "start_date",
@@ -235,4 +237,11 @@ export class mdVideo extends Model<mdVideoAttributes, mdVideoAttributes> impleme
235
237
  })
236
238
  declare updatedDate?: Date;
237
239
 
240
+ @Column({
241
+ field: "ref_id",
242
+ allowNull: true,
243
+ type: DataType.INTEGER
244
+ })
245
+ declare refId?: number;
246
+
238
247
  }
@@ -32,6 +32,7 @@ export interface memberAttributes {
32
32
  otp?: string;
33
33
  otpDate?: Date;
34
34
  avatar?: string;
35
+ subscribeNews?: number;
35
36
  createdBy?: string;
36
37
  createdDate?: Date;
37
38
  updatedBy?: string;
@@ -231,6 +232,13 @@ export class member extends Model<memberAttributes, memberAttributes> implements
231
232
  })
232
233
  declare avatar?: string;
233
234
 
235
+ @Column({
236
+ field: "subscribe_news",
237
+ allowNull: true,
238
+ type: DataType.INTEGER
239
+ })
240
+ declare subscribeNews?: number;
241
+
234
242
  @Column({
235
243
  field: "created_by",
236
244
  allowNull: true,
@@ -6,6 +6,9 @@ export interface msConsultSiteChannelAttributes {
6
6
  id?: number;
7
7
  siteId?: number;
8
8
  channelId?: number;
9
+ name?: string;
10
+ information?: string;
11
+ detail?: string;
9
12
  status?: number;
10
13
  createdBy?: string;
11
14
  createdDate?: Date;
@@ -40,6 +43,24 @@ export class msConsultSiteChannel extends Model<msConsultSiteChannelAttributes,
40
43
  })
41
44
  declare channelId?: number;
42
45
 
46
+ @Column({
47
+ allowNull: true,
48
+ type: DataType.STRING(255)
49
+ })
50
+ declare name?: string;
51
+
52
+ @Column({
53
+ allowNull: true,
54
+ type: DataType.STRING(255)
55
+ })
56
+ declare information?: string;
57
+
58
+ @Column({
59
+ allowNull: true,
60
+ type: DataType.STRING
61
+ })
62
+ declare detail?: string;
63
+
43
64
  @Column({
44
65
  allowNull: true,
45
66
  type: DataType.INTEGER
@@ -20,6 +20,7 @@ interface appScoreAttributes {
20
20
  createdDate?: Date;
21
21
  updatedBy?: string;
22
22
  updatedDate?: Date;
23
+ refId?: number;
23
24
  }
24
25
  declare class appScore extends Model<appScoreAttributes, appScoreAttributes> implements appScoreAttributes {
25
26
  id?: number;
@@ -41,6 +42,7 @@ declare class appScore extends Model<appScoreAttributes, appScoreAttributes> imp
41
42
  createdDate?: Date;
42
43
  updatedBy?: string;
43
44
  updatedDate?: Date;
45
+ refId?: number;
44
46
  }
45
47
 
46
48
  export { appScore, type appScoreAttributes };
@@ -162,6 +162,13 @@ __decorateClass([
162
162
  type: import_sequelize_typescript.DataType.DATE
163
163
  })
164
164
  ], appScore.prototype, "updatedDate", 2);
165
+ __decorateClass([
166
+ (0, import_sequelize_typescript.Column)({
167
+ field: "ref_id",
168
+ allowNull: true,
169
+ type: import_sequelize_typescript.DataType.INTEGER
170
+ })
171
+ ], appScore.prototype, "refId", 2);
165
172
  appScore = __decorateClass([
166
173
  (0, import_sequelize_typescript.Table)({
167
174
  tableName: "app_score",
@@ -1,2 +1,2 @@
1
1
  import 'sequelize-typescript';
2
- export { b as authAssignment, a as authAssignmentAttributes } from '../../authAssignment-Te_XO-S8.js';
2
+ export { b as authAssignment, a as authAssignmentAttributes } from '../../authAssignment-BAUCoEP6.js';
@@ -880,6 +880,20 @@ __decorateClass([
880
880
  type: import_sequelize_typescript8.DataType.INTEGER
881
881
  })
882
882
  ], authRole.prototype, "status", 2);
883
+ __decorateClass([
884
+ (0, import_sequelize_typescript8.Column)({
885
+ field: "org_id",
886
+ allowNull: true,
887
+ type: import_sequelize_typescript8.DataType.STRING(255)
888
+ })
889
+ ], authRole.prototype, "orgId", 2);
890
+ __decorateClass([
891
+ (0, import_sequelize_typescript8.Column)({
892
+ field: "org_info",
893
+ allowNull: true,
894
+ type: import_sequelize_typescript8.DataType.JSON
895
+ })
896
+ ], authRole.prototype, "orgInfo", 2);
883
897
  __decorateClass([
884
898
  (0, import_sequelize_typescript8.Column)({
885
899
  field: "created_by",
@@ -1,2 +1,2 @@
1
1
  import 'sequelize-typescript';
2
- export { d as authRole, c as authRoleAttributes } from '../../authAssignment-Te_XO-S8.js';
2
+ export { d as authRole, c as authRoleAttributes } from '../../authAssignment-BAUCoEP6.js';
@@ -940,6 +940,20 @@ __decorateClass([
940
940
  type: import_sequelize_typescript9.DataType.INTEGER
941
941
  })
942
942
  ], authRole.prototype, "status", 2);
943
+ __decorateClass([
944
+ (0, import_sequelize_typescript9.Column)({
945
+ field: "org_id",
946
+ allowNull: true,
947
+ type: import_sequelize_typescript9.DataType.STRING(255)
948
+ })
949
+ ], authRole.prototype, "orgId", 2);
950
+ __decorateClass([
951
+ (0, import_sequelize_typescript9.Column)({
952
+ field: "org_info",
953
+ allowNull: true,
954
+ type: import_sequelize_typescript9.DataType.JSON
955
+ })
956
+ ], authRole.prototype, "orgInfo", 2);
943
957
  __decorateClass([
944
958
  (0, import_sequelize_typescript9.Column)({
945
959
  field: "created_by",
@@ -1,2 +1,2 @@
1
1
  import 'sequelize-typescript';
2
- export { f as authRoleChild, e as authRoleChildAttributes } from '../../authAssignment-Te_XO-S8.js';
2
+ export { f as authRoleChild, e as authRoleChildAttributes } from '../../authAssignment-BAUCoEP6.js';
@@ -908,6 +908,20 @@ __decorateClass([
908
908
  type: import_sequelize_typescript8.DataType.INTEGER
909
909
  })
910
910
  ], authRole.prototype, "status", 2);
911
+ __decorateClass([
912
+ (0, import_sequelize_typescript8.Column)({
913
+ field: "org_id",
914
+ allowNull: true,
915
+ type: import_sequelize_typescript8.DataType.STRING(255)
916
+ })
917
+ ], authRole.prototype, "orgId", 2);
918
+ __decorateClass([
919
+ (0, import_sequelize_typescript8.Column)({
920
+ field: "org_info",
921
+ allowNull: true,
922
+ type: import_sequelize_typescript8.DataType.JSON
923
+ })
924
+ ], authRole.prototype, "orgInfo", 2);
911
925
  __decorateClass([
912
926
  (0, import_sequelize_typescript8.Column)({
913
927
  field: "created_by",
@@ -6,7 +6,7 @@ export { b as appReportCorruption, a as appReportCorruptionAttributes, d as appR
6
6
  export { appScore, appScoreAttributes } from './appScore.js';
7
7
  export { appScoreData, appScoreDataAttributes } from './appScoreData.js';
8
8
  export { appScorePerson, appScorePersonAttributes } from './appScorePerson.js';
9
- export { b as authAssignment, a as authAssignmentAttributes, d as authRole, c as authRoleAttributes, f as authRoleChild, e as authRoleChildAttributes, g as mdContent, m as mdContentAttributes, i as mdContentGroup, h as mdContentGroupAttributes, k as mdQuestionnaire, j as mdQuestionnaireAttributes, n as mdQuestionnaireData, l as mdQuestionnaireDataAttributes, o as users, u as usersAttributes, q as usersVerify, p as usersVerifyAttributes } from '../../authAssignment-Te_XO-S8.js';
9
+ export { b as authAssignment, a as authAssignmentAttributes, d as authRole, c as authRoleAttributes, f as authRoleChild, e as authRoleChildAttributes, g as mdContent, m as mdContentAttributes, i as mdContentGroup, h as mdContentGroupAttributes, k as mdQuestionnaire, j as mdQuestionnaireAttributes, n as mdQuestionnaireData, l as mdQuestionnaireDataAttributes, o as users, u as usersAttributes, q as usersVerify, p as usersVerifyAttributes } from '../../authAssignment-BAUCoEP6.js';
10
10
  export { b as authItem, a as authItemAttributes, d as authItemChild, c as authItemChildAttributes, e as menu, m as menuAttributes, g as msModule, f as msModuleAttributes } from '../../authItem-DBSkCaSi.js';
11
11
  export { contactUs, contactUsAttributes } from './contactUs.js';
12
12
  export { contentGuidelinesTour, contentGuidelinesTourAttributes } from './contentGuidelinesTour.js';
@@ -19,7 +19,7 @@ export { mdCmsSingle, mdCmsSingleAttributes } from './mdCmsSingle.js';
19
19
  export { mdConfiguration, mdConfigurationAttributes } from './mdConfiguration.js';
20
20
  export { mdDocumentPdf, mdDocumentPdfAttributes } from './mdDocumentPdf.js';
21
21
  export { a as mdDownload, m as mdDownloadAttributes, c as mdDownloadGroup, b as mdDownloadGroupAttributes } from '../../mdDownload-CCc6eto7.js';
22
- export { a as mdEbook, m as mdEbookAttributes, c as mdEbookGroup, b as mdEbookGroupAttributes } from '../../mdEbook-BqC65Ujw.js';
22
+ export { a as mdEbook, m as mdEbookAttributes, c as mdEbookGroup, b as mdEbookGroupAttributes } from '../../mdEbook-yzNQjFhx.js';
23
23
  export { mdEgp, mdEgpAttributes } from './mdEgp.js';
24
24
  export { a as mdFaq, m as mdFaqAttributes, c as mdFaqGroup, b as mdFaqGroupAttributes } from '../../mdFaq-CHIPG3yZ.js';
25
25
  export { mdFormAdvance_1, mdFormAdvance_1Attributes } from './mdFormAdvance_1.js';
@@ -1213,6 +1213,13 @@ __decorateClass([
1213
1213
  type: import_sequelize_typescript8.DataType.DATE
1214
1214
  })
1215
1215
  ], appScore.prototype, "updatedDate", 2);
1216
+ __decorateClass([
1217
+ (0, import_sequelize_typescript8.Column)({
1218
+ field: "ref_id",
1219
+ allowNull: true,
1220
+ type: import_sequelize_typescript8.DataType.INTEGER
1221
+ })
1222
+ ], appScore.prototype, "refId", 2);
1216
1223
  appScore = __decorateClass([
1217
1224
  (0, import_sequelize_typescript8.Table)({
1218
1225
  tableName: "app_score",
@@ -2244,6 +2251,20 @@ __decorateClass([
2244
2251
  type: import_sequelize_typescript18.DataType.INTEGER
2245
2252
  })
2246
2253
  ], authRole.prototype, "status", 2);
2254
+ __decorateClass([
2255
+ (0, import_sequelize_typescript18.Column)({
2256
+ field: "org_id",
2257
+ allowNull: true,
2258
+ type: import_sequelize_typescript18.DataType.STRING(255)
2259
+ })
2260
+ ], authRole.prototype, "orgId", 2);
2261
+ __decorateClass([
2262
+ (0, import_sequelize_typescript18.Column)({
2263
+ field: "org_info",
2264
+ allowNull: true,
2265
+ type: import_sequelize_typescript18.DataType.JSON
2266
+ })
2267
+ ], authRole.prototype, "orgInfo", 2);
2247
2268
  __decorateClass([
2248
2269
  (0, import_sequelize_typescript18.Column)({
2249
2270
  field: "created_by",
@@ -4413,6 +4434,13 @@ __decorateClass([
4413
4434
  type: import_sequelize_typescript38.DataType.INTEGER
4414
4435
  })
4415
4436
  ], mdEbook.prototype, "highlight", 2);
4437
+ __decorateClass([
4438
+ (0, import_sequelize_typescript38.Column)({
4439
+ field: "new_info",
4440
+ allowNull: true,
4441
+ type: import_sequelize_typescript38.DataType.JSON
4442
+ })
4443
+ ], mdEbook.prototype, "newInfo", 2);
4416
4444
  __decorateClass([
4417
4445
  (0, import_sequelize_typescript38.Column)({
4418
4446
  allowNull: true,
@@ -4451,6 +4479,13 @@ __decorateClass([
4451
4479
  type: import_sequelize_typescript38.DataType.DATE
4452
4480
  })
4453
4481
  ], mdEbook.prototype, "expireDate", 2);
4482
+ __decorateClass([
4483
+ (0, import_sequelize_typescript38.Column)({
4484
+ field: "send_subscribe",
4485
+ allowNull: true,
4486
+ type: import_sequelize_typescript38.DataType.INTEGER
4487
+ })
4488
+ ], mdEbook.prototype, "sendSubscribe", 2);
4454
4489
  __decorateClass([
4455
4490
  (0, import_sequelize_typescript38.Column)({
4456
4491
  field: "created_by",
@@ -6515,6 +6550,7 @@ __decorateClass([
6515
6550
  __decorateClass([
6516
6551
  (0, import_sequelize_typescript54.Column)({
6517
6552
  field: "has_expire",
6553
+ allowNull: true,
6518
6554
  type: import_sequelize_typescript54.DataType.INTEGER
6519
6555
  })
6520
6556
  ], mdVideo.prototype, "hasExpire", 2);
@@ -6560,6 +6596,13 @@ __decorateClass([
6560
6596
  type: import_sequelize_typescript54.DataType.DATE
6561
6597
  })
6562
6598
  ], mdVideo.prototype, "updatedDate", 2);
6599
+ __decorateClass([
6600
+ (0, import_sequelize_typescript54.Column)({
6601
+ field: "ref_id",
6602
+ allowNull: true,
6603
+ type: import_sequelize_typescript54.DataType.INTEGER
6604
+ })
6605
+ ], mdVideo.prototype, "refId", 2);
6563
6606
  mdVideo = __decorateClass([
6564
6607
  (0, import_sequelize_typescript54.Table)({
6565
6608
  tableName: "md_video",
@@ -6841,6 +6884,13 @@ __decorateClass([
6841
6884
  type: import_sequelize_typescript56.DataType.STRING(60)
6842
6885
  })
6843
6886
  ], member.prototype, "avatar", 2);
6887
+ __decorateClass([
6888
+ (0, import_sequelize_typescript56.Column)({
6889
+ field: "subscribe_news",
6890
+ allowNull: true,
6891
+ type: import_sequelize_typescript56.DataType.INTEGER
6892
+ })
6893
+ ], member.prototype, "subscribeNews", 2);
6844
6894
  __decorateClass([
6845
6895
  (0, import_sequelize_typescript56.Column)({
6846
6896
  field: "created_by",
@@ -7199,6 +7249,24 @@ __decorateClass([
7199
7249
  type: import_sequelize_typescript61.DataType.INTEGER
7200
7250
  })
7201
7251
  ], msConsultSiteChannel.prototype, "channelId", 2);
7252
+ __decorateClass([
7253
+ (0, import_sequelize_typescript61.Column)({
7254
+ allowNull: true,
7255
+ type: import_sequelize_typescript61.DataType.STRING(255)
7256
+ })
7257
+ ], msConsultSiteChannel.prototype, "name", 2);
7258
+ __decorateClass([
7259
+ (0, import_sequelize_typescript61.Column)({
7260
+ allowNull: true,
7261
+ type: import_sequelize_typescript61.DataType.STRING(255)
7262
+ })
7263
+ ], msConsultSiteChannel.prototype, "information", 2);
7264
+ __decorateClass([
7265
+ (0, import_sequelize_typescript61.Column)({
7266
+ allowNull: true,
7267
+ type: import_sequelize_typescript61.DataType.STRING
7268
+ })
7269
+ ], msConsultSiteChannel.prototype, "detail", 2);
7202
7270
  __decorateClass([
7203
7271
  (0, import_sequelize_typescript61.Column)({
7204
7272
  allowNull: true,
@@ -1,2 +1,2 @@
1
1
  import 'sequelize-typescript';
2
- export { g as mdContent, m as mdContentAttributes } from '../../authAssignment-Te_XO-S8.js';
2
+ export { g as mdContent, m as mdContentAttributes } from '../../authAssignment-BAUCoEP6.js';
@@ -109,6 +109,20 @@ __decorateClass([
109
109
  type: import_sequelize_typescript2.DataType.INTEGER
110
110
  })
111
111
  ], authRole.prototype, "status", 2);
112
+ __decorateClass([
113
+ (0, import_sequelize_typescript2.Column)({
114
+ field: "org_id",
115
+ allowNull: true,
116
+ type: import_sequelize_typescript2.DataType.STRING(255)
117
+ })
118
+ ], authRole.prototype, "orgId", 2);
119
+ __decorateClass([
120
+ (0, import_sequelize_typescript2.Column)({
121
+ field: "org_info",
122
+ allowNull: true,
123
+ type: import_sequelize_typescript2.DataType.JSON
124
+ })
125
+ ], authRole.prototype, "orgInfo", 2);
112
126
  __decorateClass([
113
127
  (0, import_sequelize_typescript2.Column)({
114
128
  field: "created_by",
@@ -1,2 +1,2 @@
1
1
  import 'sequelize-typescript';
2
- export { i as mdContentGroup, h as mdContentGroupAttributes } from '../../authAssignment-Te_XO-S8.js';
2
+ export { i as mdContentGroup, h as mdContentGroupAttributes } from '../../authAssignment-BAUCoEP6.js';
@@ -112,6 +112,20 @@ __decorateClass([
112
112
  type: import_sequelize_typescript2.DataType.INTEGER
113
113
  })
114
114
  ], authRole.prototype, "status", 2);
115
+ __decorateClass([
116
+ (0, import_sequelize_typescript2.Column)({
117
+ field: "org_id",
118
+ allowNull: true,
119
+ type: import_sequelize_typescript2.DataType.STRING(255)
120
+ })
121
+ ], authRole.prototype, "orgId", 2);
122
+ __decorateClass([
123
+ (0, import_sequelize_typescript2.Column)({
124
+ field: "org_info",
125
+ allowNull: true,
126
+ type: import_sequelize_typescript2.DataType.JSON
127
+ })
128
+ ], authRole.prototype, "orgInfo", 2);
115
129
  __decorateClass([
116
130
  (0, import_sequelize_typescript2.Column)({
117
131
  field: "created_by",
@@ -1,2 +1,2 @@
1
1
  import 'sequelize-typescript';
2
- export { a as mdEbook, m as mdEbookAttributes } from '../../mdEbook-BqC65Ujw.js';
2
+ export { a as mdEbook, m as mdEbookAttributes } from '../../mdEbook-yzNQjFhx.js';
@@ -228,6 +228,13 @@ __decorateClass([
228
228
  type: import_sequelize_typescript2.DataType.INTEGER
229
229
  })
230
230
  ], mdEbook.prototype, "highlight", 2);
231
+ __decorateClass([
232
+ (0, import_sequelize_typescript2.Column)({
233
+ field: "new_info",
234
+ allowNull: true,
235
+ type: import_sequelize_typescript2.DataType.JSON
236
+ })
237
+ ], mdEbook.prototype, "newInfo", 2);
231
238
  __decorateClass([
232
239
  (0, import_sequelize_typescript2.Column)({
233
240
  allowNull: true,
@@ -266,6 +273,13 @@ __decorateClass([
266
273
  type: import_sequelize_typescript2.DataType.DATE
267
274
  })
268
275
  ], mdEbook.prototype, "expireDate", 2);
276
+ __decorateClass([
277
+ (0, import_sequelize_typescript2.Column)({
278
+ field: "send_subscribe",
279
+ allowNull: true,
280
+ type: import_sequelize_typescript2.DataType.INTEGER
281
+ })
282
+ ], mdEbook.prototype, "sendSubscribe", 2);
269
283
  __decorateClass([
270
284
  (0, import_sequelize_typescript2.Column)({
271
285
  field: "created_by",
@@ -1,2 +1,2 @@
1
1
  import 'sequelize-typescript';
2
- export { c as mdEbookGroup, b as mdEbookGroupAttributes } from '../../mdEbook-BqC65Ujw.js';
2
+ export { c as mdEbookGroup, b as mdEbookGroupAttributes } from '../../mdEbook-yzNQjFhx.js';
@@ -135,6 +135,13 @@ __decorateClass([
135
135
  type: import_sequelize_typescript.DataType.INTEGER
136
136
  })
137
137
  ], mdEbook.prototype, "highlight", 2);
138
+ __decorateClass([
139
+ (0, import_sequelize_typescript.Column)({
140
+ field: "new_info",
141
+ allowNull: true,
142
+ type: import_sequelize_typescript.DataType.JSON
143
+ })
144
+ ], mdEbook.prototype, "newInfo", 2);
138
145
  __decorateClass([
139
146
  (0, import_sequelize_typescript.Column)({
140
147
  allowNull: true,
@@ -173,6 +180,13 @@ __decorateClass([
173
180
  type: import_sequelize_typescript.DataType.DATE
174
181
  })
175
182
  ], mdEbook.prototype, "expireDate", 2);
183
+ __decorateClass([
184
+ (0, import_sequelize_typescript.Column)({
185
+ field: "send_subscribe",
186
+ allowNull: true,
187
+ type: import_sequelize_typescript.DataType.INTEGER
188
+ })
189
+ ], mdEbook.prototype, "sendSubscribe", 2);
176
190
  __decorateClass([
177
191
  (0, import_sequelize_typescript.Column)({
178
192
  field: "created_by",
@@ -1,2 +1,2 @@
1
1
  import 'sequelize-typescript';
2
- export { k as mdQuestionnaire, j as mdQuestionnaireAttributes } from '../../authAssignment-Te_XO-S8.js';
2
+ export { k as mdQuestionnaire, j as mdQuestionnaireAttributes } from '../../authAssignment-BAUCoEP6.js';
@@ -109,6 +109,20 @@ __decorateClass([
109
109
  type: import_sequelize_typescript2.DataType.INTEGER
110
110
  })
111
111
  ], authRole.prototype, "status", 2);
112
+ __decorateClass([
113
+ (0, import_sequelize_typescript2.Column)({
114
+ field: "org_id",
115
+ allowNull: true,
116
+ type: import_sequelize_typescript2.DataType.STRING(255)
117
+ })
118
+ ], authRole.prototype, "orgId", 2);
119
+ __decorateClass([
120
+ (0, import_sequelize_typescript2.Column)({
121
+ field: "org_info",
122
+ allowNull: true,
123
+ type: import_sequelize_typescript2.DataType.JSON
124
+ })
125
+ ], authRole.prototype, "orgInfo", 2);
112
126
  __decorateClass([
113
127
  (0, import_sequelize_typescript2.Column)({
114
128
  field: "created_by",
@@ -1,2 +1,2 @@
1
1
  import 'sequelize-typescript';
2
- export { n as mdQuestionnaireData, l as mdQuestionnaireDataAttributes } from '../../authAssignment-Te_XO-S8.js';
2
+ export { n as mdQuestionnaireData, l as mdQuestionnaireDataAttributes } from '../../authAssignment-BAUCoEP6.js';
@@ -112,6 +112,20 @@ __decorateClass([
112
112
  type: import_sequelize_typescript2.DataType.INTEGER
113
113
  })
114
114
  ], authRole.prototype, "status", 2);
115
+ __decorateClass([
116
+ (0, import_sequelize_typescript2.Column)({
117
+ field: "org_id",
118
+ allowNull: true,
119
+ type: import_sequelize_typescript2.DataType.STRING(255)
120
+ })
121
+ ], authRole.prototype, "orgId", 2);
122
+ __decorateClass([
123
+ (0, import_sequelize_typescript2.Column)({
124
+ field: "org_info",
125
+ allowNull: true,
126
+ type: import_sequelize_typescript2.DataType.JSON
127
+ })
128
+ ], authRole.prototype, "orgInfo", 2);
115
129
  __decorateClass([
116
130
  (0, import_sequelize_typescript2.Column)({
117
131
  field: "created_by",
@@ -24,13 +24,14 @@ interface mdVideoAttributes {
24
24
  status?: number;
25
25
  view?: number;
26
26
  publish?: number;
27
- hasExpire: number;
27
+ hasExpire?: number;
28
28
  startDate?: Date;
29
29
  expireDate?: Date;
30
30
  createdBy?: string;
31
31
  createdDate?: Date;
32
32
  updatedBy?: string;
33
33
  updatedDate?: Date;
34
+ refId?: number;
34
35
  }
35
36
  declare class mdVideo extends Model<mdVideoAttributes, mdVideoAttributes> implements mdVideoAttributes {
36
37
  id?: number;
@@ -56,13 +57,14 @@ declare class mdVideo extends Model<mdVideoAttributes, mdVideoAttributes> implem
56
57
  status?: number;
57
58
  view?: number;
58
59
  publish?: number;
59
- hasExpire: number;
60
+ hasExpire?: number;
60
61
  startDate?: Date;
61
62
  expireDate?: Date;
62
63
  createdBy?: string;
63
64
  createdDate?: Date;
64
65
  updatedBy?: string;
65
66
  updatedDate?: Date;
67
+ refId?: number;
66
68
  }
67
69
 
68
70
  export { mdVideo, type mdVideoAttributes };
@@ -183,6 +183,7 @@ __decorateClass([
183
183
  __decorateClass([
184
184
  (0, import_sequelize_typescript.Column)({
185
185
  field: "has_expire",
186
+ allowNull: true,
186
187
  type: import_sequelize_typescript.DataType.INTEGER
187
188
  })
188
189
  ], mdVideo.prototype, "hasExpire", 2);
@@ -228,6 +229,13 @@ __decorateClass([
228
229
  type: import_sequelize_typescript.DataType.DATE
229
230
  })
230
231
  ], mdVideo.prototype, "updatedDate", 2);
232
+ __decorateClass([
233
+ (0, import_sequelize_typescript.Column)({
234
+ field: "ref_id",
235
+ allowNull: true,
236
+ type: import_sequelize_typescript.DataType.INTEGER
237
+ })
238
+ ], mdVideo.prototype, "refId", 2);
231
239
  mdVideo = __decorateClass([
232
240
  (0, import_sequelize_typescript.Table)({
233
241
  tableName: "md_video",
@@ -30,6 +30,7 @@ interface memberAttributes {
30
30
  otp?: string;
31
31
  otpDate?: Date;
32
32
  avatar?: string;
33
+ subscribeNews?: number;
33
34
  createdBy?: string;
34
35
  createdDate?: Date;
35
36
  updatedBy?: string;
@@ -65,6 +66,7 @@ declare class member extends Model<memberAttributes, memberAttributes> implement
65
66
  otp?: string;
66
67
  otpDate?: Date;
67
68
  avatar?: string;
69
+ subscribeNews?: number;
68
70
  createdBy?: string;
69
71
  createdDate?: Date;
70
72
  updatedBy?: string;
@@ -221,6 +221,13 @@ __decorateClass([
221
221
  type: import_sequelize_typescript.DataType.STRING(60)
222
222
  })
223
223
  ], member.prototype, "avatar", 2);
224
+ __decorateClass([
225
+ (0, import_sequelize_typescript.Column)({
226
+ field: "subscribe_news",
227
+ allowNull: true,
228
+ type: import_sequelize_typescript.DataType.INTEGER
229
+ })
230
+ ], member.prototype, "subscribeNews", 2);
224
231
  __decorateClass([
225
232
  (0, import_sequelize_typescript.Column)({
226
233
  field: "created_by",
@@ -4,6 +4,9 @@ interface msConsultSiteChannelAttributes {
4
4
  id?: number;
5
5
  siteId?: number;
6
6
  channelId?: number;
7
+ name?: string;
8
+ information?: string;
9
+ detail?: string;
7
10
  status?: number;
8
11
  createdBy?: string;
9
12
  createdDate?: Date;
@@ -14,6 +17,9 @@ declare class msConsultSiteChannel extends Model<msConsultSiteChannelAttributes,
14
17
  id?: number;
15
18
  siteId?: number;
16
19
  channelId?: number;
20
+ name?: string;
21
+ information?: string;
22
+ detail?: string;
17
23
  status?: number;
18
24
  createdBy?: string;
19
25
  createdDate?: Date;
@@ -55,6 +55,24 @@ __decorateClass([
55
55
  type: import_sequelize_typescript.DataType.INTEGER
56
56
  })
57
57
  ], msConsultSiteChannel.prototype, "channelId", 2);
58
+ __decorateClass([
59
+ (0, import_sequelize_typescript.Column)({
60
+ allowNull: true,
61
+ type: import_sequelize_typescript.DataType.STRING(255)
62
+ })
63
+ ], msConsultSiteChannel.prototype, "name", 2);
64
+ __decorateClass([
65
+ (0, import_sequelize_typescript.Column)({
66
+ allowNull: true,
67
+ type: import_sequelize_typescript.DataType.STRING(255)
68
+ })
69
+ ], msConsultSiteChannel.prototype, "information", 2);
70
+ __decorateClass([
71
+ (0, import_sequelize_typescript.Column)({
72
+ allowNull: true,
73
+ type: import_sequelize_typescript.DataType.STRING
74
+ })
75
+ ], msConsultSiteChannel.prototype, "detail", 2);
58
76
  __decorateClass([
59
77
  (0, import_sequelize_typescript.Column)({
60
78
  allowNull: true,
@@ -1,2 +1,2 @@
1
1
  import 'sequelize-typescript';
2
- export { o as users, u as usersAttributes } from '../../authAssignment-Te_XO-S8.js';
2
+ export { o as users, u as usersAttributes } from '../../authAssignment-BAUCoEP6.js';
@@ -106,6 +106,20 @@ __decorateClass([
106
106
  type: import_sequelize_typescript2.DataType.INTEGER
107
107
  })
108
108
  ], authRole.prototype, "status", 2);
109
+ __decorateClass([
110
+ (0, import_sequelize_typescript2.Column)({
111
+ field: "org_id",
112
+ allowNull: true,
113
+ type: import_sequelize_typescript2.DataType.STRING(255)
114
+ })
115
+ ], authRole.prototype, "orgId", 2);
116
+ __decorateClass([
117
+ (0, import_sequelize_typescript2.Column)({
118
+ field: "org_info",
119
+ allowNull: true,
120
+ type: import_sequelize_typescript2.DataType.JSON
121
+ })
122
+ ], authRole.prototype, "orgInfo", 2);
109
123
  __decorateClass([
110
124
  (0, import_sequelize_typescript2.Column)({
111
125
  field: "created_by",
@@ -1,2 +1,2 @@
1
1
  import 'sequelize-typescript';
2
- export { q as usersVerify, p as usersVerifyAttributes } from '../../authAssignment-Te_XO-S8.js';
2
+ export { q as usersVerify, p as usersVerifyAttributes } from '../../authAssignment-BAUCoEP6.js';
@@ -109,6 +109,20 @@ __decorateClass([
109
109
  type: import_sequelize_typescript2.DataType.INTEGER
110
110
  })
111
111
  ], authRole.prototype, "status", 2);
112
+ __decorateClass([
113
+ (0, import_sequelize_typescript2.Column)({
114
+ field: "org_id",
115
+ allowNull: true,
116
+ type: import_sequelize_typescript2.DataType.STRING(255)
117
+ })
118
+ ], authRole.prototype, "orgId", 2);
119
+ __decorateClass([
120
+ (0, import_sequelize_typescript2.Column)({
121
+ field: "org_info",
122
+ allowNull: true,
123
+ type: import_sequelize_typescript2.DataType.JSON
124
+ })
125
+ ], authRole.prototype, "orgInfo", 2);
112
126
  __decorateClass([
113
127
  (0, import_sequelize_typescript2.Column)({
114
128
  field: "created_by",
@@ -46,12 +46,14 @@ interface mdEbookAttributes {
46
46
  imageGallery?: object;
47
47
  attachments?: object;
48
48
  highlight?: number;
49
+ newInfo?: object;
49
50
  sort?: number;
50
51
  status?: number;
51
52
  view?: number;
52
53
  hasExpire: number;
53
54
  startDate?: Date;
54
55
  expireDate?: Date;
56
+ sendSubscribe?: number;
55
57
  createdBy?: string;
56
58
  createdDate?: Date;
57
59
  updatedBy?: string;
@@ -75,12 +77,14 @@ declare class mdEbook extends Model<mdEbookAttributes, mdEbookAttributes> implem
75
77
  imageGallery?: object;
76
78
  attachments?: object;
77
79
  highlight?: number;
80
+ newInfo?: object;
78
81
  sort?: number;
79
82
  status?: number;
80
83
  view?: number;
81
84
  hasExpire: number;
82
85
  startDate?: Date;
83
86
  expireDate?: Date;
87
+ sendSubscribe?: number;
84
88
  createdBy?: string;
85
89
  createdDate?: Date;
86
90
  updatedBy?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@admc-go-th/admc-library",
3
- "version": "1.0.127",
3
+ "version": "1.0.129",
4
4
  "description": "",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",