@admc-go-th/admc-library 1.0.128 → 1.0.130

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 (53) hide show
  1. package/appQueue-QJ9ECucz.d.ts +158 -0
  2. package/{authAssignment-Te_XO-S8.d.ts → authAssignment-BAUCoEP6.d.ts} +4 -0
  3. package/databases/schema/appQueue.ts +75 -1
  4. package/databases/schema/appReportCorruption.ts +1 -1
  5. package/databases/schema/authRole.ts +16 -0
  6. package/databases/schema/files.ts +7 -0
  7. package/databases/schema/mdBanner.ts +8 -0
  8. package/databases/schema/mdEbook.ts +8 -0
  9. package/databases/schema/mdEbookGroup.ts +8 -0
  10. package/databases/schema/member.ts +8 -0
  11. package/databases/schema/msConsultChannels.ts +14 -1
  12. package/databases/schema/msWebsite.ts +7 -1
  13. package/databases/tables/appQueue.d.ts +2 -62
  14. package/databases/tables/appQueue.js +365 -53
  15. package/databases/tables/appReportCorruption.js +1 -1
  16. package/databases/tables/appReportCorruptionTransaction.js +1 -1
  17. package/databases/tables/authAssignment.d.ts +1 -1
  18. package/databases/tables/authAssignment.js +14 -0
  19. package/databases/tables/authRole.d.ts +1 -1
  20. package/databases/tables/authRole.js +14 -0
  21. package/databases/tables/authRoleChild.d.ts +1 -1
  22. package/databases/tables/authRoleChild.js +14 -0
  23. package/databases/tables/files.d.ts +1 -1
  24. package/databases/tables/files.js +13 -0
  25. package/databases/tables/index.d.ts +4 -6
  26. package/databases/tables/index.js +2701 -2571
  27. package/databases/tables/mdBanner.d.ts +1 -1
  28. package/databases/tables/mdBanner.js +13 -0
  29. package/databases/tables/mdContent.d.ts +1 -1
  30. package/databases/tables/mdContent.js +14 -0
  31. package/databases/tables/mdContentGroup.d.ts +1 -1
  32. package/databases/tables/mdContentGroup.js +14 -0
  33. package/databases/tables/mdEbook.d.ts +1 -1
  34. package/databases/tables/mdEbook.js +14 -0
  35. package/databases/tables/mdEbookGroup.d.ts +1 -1
  36. package/databases/tables/mdEbookGroup.js +14 -0
  37. package/databases/tables/mdQuestionnaire.d.ts +1 -1
  38. package/databases/tables/mdQuestionnaire.js +14 -0
  39. package/databases/tables/mdQuestionnaireData.d.ts +1 -1
  40. package/databases/tables/mdQuestionnaireData.js +14 -0
  41. package/databases/tables/member.d.ts +2 -0
  42. package/databases/tables/member.js +7 -0
  43. package/databases/tables/msConsultChannels.d.ts +2 -24
  44. package/databases/tables/msConsultChannels.js +455 -13
  45. package/databases/tables/msWebsite.d.ts +2 -56
  46. package/databases/tables/msWebsite.js +386 -46
  47. package/databases/tables/users.d.ts +1 -1
  48. package/databases/tables/users.js +14 -0
  49. package/databases/tables/usersVerify.d.ts +1 -1
  50. package/databases/tables/usersVerify.js +14 -0
  51. package/{files-Dp2zDQAj.d.ts → files-CXIMD4Bk.d.ts} +4 -0
  52. package/{mdEbook-BuaHiJvl.d.ts → mdEbook-DVvRlFVe.d.ts} +4 -0
  53. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
1
  import 'sequelize-typescript';
2
- export { b as mdBanner, m as mdBannerAttributes } from '../../files-Dp2zDQAj.js';
2
+ export { b as mdBanner, m as mdBannerAttributes } from '../../files-CXIMD4Bk.js';
@@ -149,6 +149,12 @@ __decorateClass([
149
149
  type: import_sequelize_typescript.DataType.INTEGER
150
150
  })
151
151
  ], files.prototype, "refId", 2);
152
+ __decorateClass([
153
+ (0, import_sequelize_typescript.Column)({
154
+ allowNull: true,
155
+ type: import_sequelize_typescript.DataType.INTEGER
156
+ })
157
+ ], files.prototype, "sequence", 2);
152
158
  __decorateClass([
153
159
  (0, import_sequelize_typescript.HasOne)(() => mdBanner, {
154
160
  sourceKey: "uuid"
@@ -177,6 +183,13 @@ __decorateClass([
177
183
  type: import_sequelize_typescript2.DataType.STRING(60)
178
184
  })
179
185
  ], mdBanner.prototype, "uuid", 2);
186
+ __decorateClass([
187
+ (0, import_sequelize_typescript2.Column)({
188
+ field: "group_id",
189
+ allowNull: true,
190
+ type: import_sequelize_typescript2.DataType.INTEGER
191
+ })
192
+ ], mdBanner.prototype, "groupId", 2);
180
193
  __decorateClass([
181
194
  (0, import_sequelize_typescript2.Column)({
182
195
  field: "key_name",
@@ -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-BuaHiJvl.js';
2
+ export { a as mdEbook, m as mdEbookAttributes } from '../../mdEbook-DVvRlFVe.js';
@@ -64,6 +64,13 @@ __decorateClass([
64
64
  type: import_sequelize_typescript.DataType.INTEGER
65
65
  })
66
66
  ], mdEbookGroup.prototype, "userId", 2);
67
+ __decorateClass([
68
+ (0, import_sequelize_typescript.Column)({
69
+ field: "type_id",
70
+ allowNull: true,
71
+ type: import_sequelize_typescript.DataType.INTEGER
72
+ })
73
+ ], mdEbookGroup.prototype, "typeId", 2);
67
74
  __decorateClass([
68
75
  (0, import_sequelize_typescript.Column)({
69
76
  type: import_sequelize_typescript.DataType.STRING(255)
@@ -273,6 +280,13 @@ __decorateClass([
273
280
  type: import_sequelize_typescript2.DataType.DATE
274
281
  })
275
282
  ], mdEbook.prototype, "expireDate", 2);
283
+ __decorateClass([
284
+ (0, import_sequelize_typescript2.Column)({
285
+ field: "send_subscribe",
286
+ allowNull: true,
287
+ type: import_sequelize_typescript2.DataType.INTEGER
288
+ })
289
+ ], mdEbook.prototype, "sendSubscribe", 2);
276
290
  __decorateClass([
277
291
  (0, import_sequelize_typescript2.Column)({
278
292
  field: "created_by",
@@ -1,2 +1,2 @@
1
1
  import 'sequelize-typescript';
2
- export { c as mdEbookGroup, b as mdEbookGroupAttributes } from '../../mdEbook-BuaHiJvl.js';
2
+ export { c as mdEbookGroup, b as mdEbookGroupAttributes } from '../../mdEbook-DVvRlFVe.js';
@@ -180,6 +180,13 @@ __decorateClass([
180
180
  type: import_sequelize_typescript.DataType.DATE
181
181
  })
182
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);
183
190
  __decorateClass([
184
191
  (0, import_sequelize_typescript.Column)({
185
192
  field: "created_by",
@@ -262,6 +269,13 @@ __decorateClass([
262
269
  type: import_sequelize_typescript2.DataType.INTEGER
263
270
  })
264
271
  ], mdEbookGroup.prototype, "userId", 2);
272
+ __decorateClass([
273
+ (0, import_sequelize_typescript2.Column)({
274
+ field: "type_id",
275
+ allowNull: true,
276
+ type: import_sequelize_typescript2.DataType.INTEGER
277
+ })
278
+ ], mdEbookGroup.prototype, "typeId", 2);
265
279
  __decorateClass([
266
280
  (0, import_sequelize_typescript2.Column)({
267
281
  type: import_sequelize_typescript2.DataType.STRING(255)
@@ -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",
@@ -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",
@@ -1,24 +1,2 @@
1
- import { Model } from 'sequelize-typescript';
2
-
3
- interface msConsultChannelsAttributes {
4
- id?: number;
5
- name?: string;
6
- sort?: number;
7
- status?: number;
8
- createdBy?: string;
9
- createdDate?: Date;
10
- updatedBy?: string;
11
- updatedDate?: Date;
12
- }
13
- declare class msConsultChannels extends Model<msConsultChannelsAttributes, msConsultChannelsAttributes> implements msConsultChannelsAttributes {
14
- id?: number;
15
- name?: string;
16
- sort?: number;
17
- status?: number;
18
- createdBy?: string;
19
- createdDate?: Date;
20
- updatedBy?: string;
21
- updatedDate?: Date;
22
- }
23
-
24
- export { msConsultChannels, type msConsultChannelsAttributes };
1
+ import 'sequelize-typescript';
2
+ export { c as msConsultChannels, m as msConsultChannelsAttributes } from '../../appQueue-QJ9ECucz.js';