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

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 (76) hide show
  1. package/{appQueue-QJ9ECucz.d.ts → appQueue-HW5J6Gb9.d.ts} +6 -2
  2. package/{authAssignment-BAUCoEP6.d.ts → authAssignment-De3034JH.d.ts} +16 -0
  3. package/databases/schema/appQueue.ts +24 -8
  4. package/databases/schema/appScore.ts +8 -0
  5. package/databases/schema/formFaq.ts +126 -126
  6. package/databases/schema/index.ts +10 -5
  7. package/databases/schema/informationIndex.ts +211 -211
  8. package/databases/schema/informationIndexGroup.ts +103 -103
  9. package/databases/schema/mdDownloadBk.ts +136 -136
  10. package/databases/schema/msConsultCase.ts +0 -8
  11. package/databases/schema/msConsultSiteCase.ts +91 -0
  12. package/databases/schema/msConsultSiteIssue.ts +84 -0
  13. package/databases/schema/msExecutiveActing.ts +75 -0
  14. package/databases/schema/msExecutiveBoard.ts +82 -82
  15. package/databases/schema/msExecutiveBoardBk.ts +83 -0
  16. package/databases/schema/msExecutivePosition.ts +117 -117
  17. package/databases/schema/msExecutivePositionBk.ts +112 -0
  18. package/databases/schema/msGuidelines.ts +88 -88
  19. package/databases/schema/msOrganization.ts +139 -0
  20. package/databases/schema/msPosition.ts +76 -0
  21. package/databases/schema/msQueueTourFaq.ts +90 -0
  22. package/databases/schema/msQueueTourGuidelines.ts +90 -0
  23. package/databases/schema/setting.ts +73 -73
  24. package/databases/schema/userPermissionV.ts +78 -0
  25. package/databases/schema/users.ts +62 -0
  26. package/databases/tables/appQueue.d.ts +1 -1
  27. package/databases/tables/appQueue.js +21 -7
  28. package/databases/tables/appScore.d.ts +2 -0
  29. package/databases/tables/appScore.js +7 -0
  30. package/databases/tables/authAssignment.d.ts +1 -1
  31. package/databases/tables/authAssignment.js +54 -0
  32. package/databases/tables/authRole.d.ts +1 -1
  33. package/databases/tables/authRole.js +54 -0
  34. package/databases/tables/authRoleChild.d.ts +1 -1
  35. package/databases/tables/authRoleChild.js +54 -0
  36. package/databases/tables/index.d.ts +13 -7
  37. package/databases/tables/index.js +1236 -708
  38. package/databases/tables/mdContent.d.ts +1 -1
  39. package/databases/tables/mdContent.js +54 -0
  40. package/databases/tables/mdContentGroup.d.ts +1 -1
  41. package/databases/tables/mdContentGroup.js +54 -0
  42. package/databases/tables/mdQuestionnaire.d.ts +1 -1
  43. package/databases/tables/mdQuestionnaire.js +54 -0
  44. package/databases/tables/mdQuestionnaireData.d.ts +1 -1
  45. package/databases/tables/mdQuestionnaireData.js +54 -0
  46. package/databases/tables/msConsultCase.d.ts +0 -2
  47. package/databases/tables/msConsultCase.js +0 -7
  48. package/databases/tables/msConsultChannels.d.ts +1 -1
  49. package/databases/tables/msConsultChannels.js +21 -7
  50. package/databases/tables/msConsultSiteCase.d.ts +28 -0
  51. package/databases/tables/msConsultSiteCase.js +113 -0
  52. package/databases/tables/msConsultSiteIssue.d.ts +26 -0
  53. package/databases/tables/msConsultSiteIssue.js +107 -0
  54. package/databases/tables/msExecutiveActing.d.ts +24 -0
  55. package/databases/tables/msExecutiveActing.js +99 -0
  56. package/databases/tables/msExecutiveBoardBk.d.ts +26 -0
  57. package/databases/tables/msExecutiveBoardBk.js +106 -0
  58. package/databases/tables/msExecutivePositionBk.d.ts +34 -0
  59. package/databases/tables/msExecutivePositionBk.js +131 -0
  60. package/databases/tables/msOrganization.d.ts +40 -0
  61. package/databases/tables/msOrganization.js +155 -0
  62. package/databases/tables/msPosition.d.ts +24 -0
  63. package/databases/tables/msPosition.js +100 -0
  64. package/databases/tables/msQueueTourFaq.d.ts +28 -0
  65. package/databases/tables/msQueueTourFaq.js +112 -0
  66. package/databases/tables/msQueueTourGuidelines.d.ts +28 -0
  67. package/databases/tables/msQueueTourGuidelines.js +112 -0
  68. package/databases/tables/msWebsite.d.ts +1 -1
  69. package/databases/tables/msWebsite.js +21 -7
  70. package/databases/tables/userPermissionV.d.ts +26 -0
  71. package/databases/tables/userPermissionV.js +101 -0
  72. package/databases/tables/users.d.ts +1 -1
  73. package/databases/tables/users.js +54 -0
  74. package/databases/tables/usersVerify.d.ts +1 -1
  75. package/databases/tables/usersVerify.js +54 -0
  76. package/package.json +1 -1
@@ -1,212 +1,212 @@
1
- import {
2
- Model, Table, Column, DataType, Index, Sequelize, ForeignKey
3
- } from "sequelize-typescript";
4
-
5
- export interface informationIndexAttributes {
6
- id?: number;
7
- uuid?: string;
8
- keyName?: string;
9
- groupId?: number;
10
- userId: number;
11
- title?: string;
12
- description?: string;
13
- detail?: string;
14
- metaTitle?: string;
15
- metaKeyword?: string;
16
- metaDescription?: string;
17
- categoryNo?: number;
18
- bookNo?: number;
19
- chapter?: string;
20
- announcementDate?: Date;
21
- attachments?: object;
22
- sort?: number;
23
- publish?: number;
24
- status?: number;
25
- hasExpire?: number;
26
- startDate?: Date;
27
- expireDate?: Date;
28
- createdBy?: string;
29
- createdDate?: Date;
30
- updatedBy?: string;
31
- updatedDate?: Date;
32
- }
33
-
34
- @Table({
35
- tableName: "information_index",
36
- timestamps: false
37
- })
38
- export class informationIndex extends Model<informationIndexAttributes, informationIndexAttributes> implements informationIndexAttributes {
39
-
40
- @Column({
41
- primaryKey: true,
42
- autoIncrement: true,
43
- type: DataType.INTEGER
44
- })
45
- declare id?: number;
46
-
47
- @Column({
48
- allowNull: true,
49
- type: DataType.STRING(60)
50
- })
51
- declare uuid?: string;
52
-
53
- @Column({
54
- field: "key_name",
55
- allowNull: true,
56
- type: DataType.STRING(100)
57
- })
58
- declare keyName?: string;
59
-
60
- @Column({
61
- field: "group_id",
62
- allowNull: true,
63
- type: DataType.INTEGER
64
- })
65
- declare groupId?: number;
66
-
67
- @Column({
68
- field: "user_id",
69
- type: DataType.INTEGER
70
- })
71
- declare userId: number;
72
-
73
- @Column({
74
- allowNull: true,
75
- type: DataType.STRING(255)
76
- })
77
- declare title?: string;
78
-
79
- @Column({
80
- allowNull: true,
81
- type: DataType.STRING
82
- })
83
- declare description?: string;
84
-
85
- @Column({
86
- allowNull: true,
87
- type: DataType.STRING
88
- })
89
- declare detail?: string;
90
-
91
- @Column({
92
- field: "meta_title",
93
- allowNull: true,
94
- type: DataType.STRING(255)
95
- })
96
- declare metaTitle?: string;
97
-
98
- @Column({
99
- field: "meta_keyword",
100
- allowNull: true,
101
- type: DataType.STRING(255)
102
- })
103
- declare metaKeyword?: string;
104
-
105
- @Column({
106
- field: "meta_description",
107
- allowNull: true,
108
- type: DataType.STRING(255)
109
- })
110
- declare metaDescription?: string;
111
-
112
- @Column({
113
- field: "category_no",
114
- allowNull: true,
115
- type: DataType.INTEGER
116
- })
117
- declare categoryNo?: number;
118
-
119
- @Column({
120
- field: "book_no",
121
- allowNull: true,
122
- type: DataType.INTEGER
123
- })
124
- declare bookNo?: number;
125
-
126
- @Column({
127
- allowNull: true,
128
- type: DataType.STRING(255)
129
- })
130
- declare chapter?: string;
131
-
132
- @Column({
133
- field: "announcement_date",
134
- allowNull: true,
135
- type: DataType.DATE
136
- })
137
- declare announcementDate?: Date;
138
-
139
- @Column({
140
- allowNull: true,
141
- type: DataType.JSON
142
- })
143
- declare attachments?: object;
144
-
145
- @Column({
146
- allowNull: true,
147
- type: DataType.INTEGER
148
- })
149
- declare sort?: number;
150
-
151
- @Column({
152
- allowNull: true,
153
- type: DataType.INTEGER
154
- })
155
- declare publish?: number;
156
-
157
- @Column({
158
- allowNull: true,
159
- type: DataType.INTEGER
160
- })
161
- declare status?: number;
162
-
163
- @Column({
164
- field: "has_expire",
165
- allowNull: true,
166
- type: DataType.INTEGER
167
- })
168
- declare hasExpire?: number;
169
-
170
- @Column({
171
- field: "start_date",
172
- allowNull: true,
173
- type: DataType.DATE
174
- })
175
- declare startDate?: Date;
176
-
177
- @Column({
178
- field: "expire_date",
179
- allowNull: true,
180
- type: DataType.DATE
181
- })
182
- declare expireDate?: Date;
183
-
184
- @Column({
185
- field: "created_by",
186
- allowNull: true,
187
- type: DataType.STRING(60)
188
- })
189
- declare createdBy?: string;
190
-
191
- @Column({
192
- field: "created_date",
193
- allowNull: true,
194
- type: DataType.DATE
195
- })
196
- declare createdDate?: Date;
197
-
198
- @Column({
199
- field: "updated_by",
200
- allowNull: true,
201
- type: DataType.STRING(60)
202
- })
203
- declare updatedBy?: string;
204
-
205
- @Column({
206
- field: "updated_date",
207
- allowNull: true,
208
- type: DataType.DATE
209
- })
210
- declare updatedDate?: Date;
211
-
1
+ import {
2
+ Model, Table, Column, DataType, Index, Sequelize, ForeignKey
3
+ } from "sequelize-typescript";
4
+
5
+ export interface informationIndexAttributes {
6
+ id?: number;
7
+ uuid?: string;
8
+ keyName?: string;
9
+ groupId?: number;
10
+ userId: number;
11
+ title?: string;
12
+ description?: string;
13
+ detail?: string;
14
+ metaTitle?: string;
15
+ metaKeyword?: string;
16
+ metaDescription?: string;
17
+ categoryNo?: number;
18
+ bookNo?: number;
19
+ chapter?: string;
20
+ announcementDate?: Date;
21
+ attachments?: object;
22
+ sort?: number;
23
+ publish?: number;
24
+ status?: number;
25
+ hasExpire?: number;
26
+ startDate?: Date;
27
+ expireDate?: Date;
28
+ createdBy?: string;
29
+ createdDate?: Date;
30
+ updatedBy?: string;
31
+ updatedDate?: Date;
32
+ }
33
+
34
+ @Table({
35
+ tableName: "information_index",
36
+ timestamps: false
37
+ })
38
+ export class informationIndex extends Model<informationIndexAttributes, informationIndexAttributes> implements informationIndexAttributes {
39
+
40
+ @Column({
41
+ primaryKey: true,
42
+ autoIncrement: true,
43
+ type: DataType.INTEGER
44
+ })
45
+ declare id?: number;
46
+
47
+ @Column({
48
+ allowNull: true,
49
+ type: DataType.STRING(60)
50
+ })
51
+ declare uuid?: string;
52
+
53
+ @Column({
54
+ field: "key_name",
55
+ allowNull: true,
56
+ type: DataType.STRING(100)
57
+ })
58
+ declare keyName?: string;
59
+
60
+ @Column({
61
+ field: "group_id",
62
+ allowNull: true,
63
+ type: DataType.INTEGER
64
+ })
65
+ declare groupId?: number;
66
+
67
+ @Column({
68
+ field: "user_id",
69
+ type: DataType.INTEGER
70
+ })
71
+ declare userId: number;
72
+
73
+ @Column({
74
+ allowNull: true,
75
+ type: DataType.STRING(255)
76
+ })
77
+ declare title?: string;
78
+
79
+ @Column({
80
+ allowNull: true,
81
+ type: DataType.STRING
82
+ })
83
+ declare description?: string;
84
+
85
+ @Column({
86
+ allowNull: true,
87
+ type: DataType.STRING
88
+ })
89
+ declare detail?: string;
90
+
91
+ @Column({
92
+ field: "meta_title",
93
+ allowNull: true,
94
+ type: DataType.STRING(255)
95
+ })
96
+ declare metaTitle?: string;
97
+
98
+ @Column({
99
+ field: "meta_keyword",
100
+ allowNull: true,
101
+ type: DataType.STRING(255)
102
+ })
103
+ declare metaKeyword?: string;
104
+
105
+ @Column({
106
+ field: "meta_description",
107
+ allowNull: true,
108
+ type: DataType.STRING(255)
109
+ })
110
+ declare metaDescription?: string;
111
+
112
+ @Column({
113
+ field: "category_no",
114
+ allowNull: true,
115
+ type: DataType.INTEGER
116
+ })
117
+ declare categoryNo?: number;
118
+
119
+ @Column({
120
+ field: "book_no",
121
+ allowNull: true,
122
+ type: DataType.INTEGER
123
+ })
124
+ declare bookNo?: number;
125
+
126
+ @Column({
127
+ allowNull: true,
128
+ type: DataType.STRING(255)
129
+ })
130
+ declare chapter?: string;
131
+
132
+ @Column({
133
+ field: "announcement_date",
134
+ allowNull: true,
135
+ type: DataType.DATE
136
+ })
137
+ declare announcementDate?: Date;
138
+
139
+ @Column({
140
+ allowNull: true,
141
+ type: DataType.JSON
142
+ })
143
+ declare attachments?: object;
144
+
145
+ @Column({
146
+ allowNull: true,
147
+ type: DataType.INTEGER
148
+ })
149
+ declare sort?: number;
150
+
151
+ @Column({
152
+ allowNull: true,
153
+ type: DataType.INTEGER
154
+ })
155
+ declare publish?: number;
156
+
157
+ @Column({
158
+ allowNull: true,
159
+ type: DataType.INTEGER
160
+ })
161
+ declare status?: number;
162
+
163
+ @Column({
164
+ field: "has_expire",
165
+ allowNull: true,
166
+ type: DataType.INTEGER
167
+ })
168
+ declare hasExpire?: number;
169
+
170
+ @Column({
171
+ field: "start_date",
172
+ allowNull: true,
173
+ type: DataType.DATE
174
+ })
175
+ declare startDate?: Date;
176
+
177
+ @Column({
178
+ field: "expire_date",
179
+ allowNull: true,
180
+ type: DataType.DATE
181
+ })
182
+ declare expireDate?: Date;
183
+
184
+ @Column({
185
+ field: "created_by",
186
+ allowNull: true,
187
+ type: DataType.STRING(60)
188
+ })
189
+ declare createdBy?: string;
190
+
191
+ @Column({
192
+ field: "created_date",
193
+ allowNull: true,
194
+ type: DataType.DATE
195
+ })
196
+ declare createdDate?: Date;
197
+
198
+ @Column({
199
+ field: "updated_by",
200
+ allowNull: true,
201
+ type: DataType.STRING(60)
202
+ })
203
+ declare updatedBy?: string;
204
+
205
+ @Column({
206
+ field: "updated_date",
207
+ allowNull: true,
208
+ type: DataType.DATE
209
+ })
210
+ declare updatedDate?: Date;
211
+
212
212
  }
@@ -1,104 +1,104 @@
1
- import {
2
- Model, Table, Column, DataType, Index, Sequelize, ForeignKey
3
- } from "sequelize-typescript";
4
-
5
- export interface informationIndexGroupAttributes {
6
- id?: number;
7
- uuid?: string;
8
- keyName?: string;
9
- userId?: number;
10
- name: string;
11
- description?: string;
12
- sort?: number;
13
- status?: number;
14
- createdBy?: string;
15
- createdDate?: Date;
16
- updatedBy?: string;
17
- updatedDate?: Date;
18
- }
19
-
20
- @Table({
21
- tableName: "information_index_group",
22
- timestamps: false
23
- })
24
- export class informationIndexGroup extends Model<informationIndexGroupAttributes, informationIndexGroupAttributes> implements informationIndexGroupAttributes {
25
-
26
- @Column({
27
- primaryKey: true,
28
- autoIncrement: true,
29
- type: DataType.INTEGER
30
- })
31
- declare id?: number;
32
-
33
- @Column({
34
- allowNull: true,
35
- type: DataType.STRING(60)
36
- })
37
- declare uuid?: string;
38
-
39
- @Column({
40
- field: "key_name",
41
- allowNull: true,
42
- type: DataType.STRING(100)
43
- })
44
- declare keyName?: string;
45
-
46
- @Column({
47
- field: "user_id",
48
- allowNull: true,
49
- type: DataType.INTEGER
50
- })
51
- declare userId?: number;
52
-
53
- @Column({
54
- type: DataType.STRING(255)
55
- })
56
- declare name: string;
57
-
58
- @Column({
59
- allowNull: true,
60
- type: DataType.STRING(255)
61
- })
62
- declare description?: string;
63
-
64
- @Column({
65
- allowNull: true,
66
- type: DataType.INTEGER
67
- })
68
- declare sort?: number;
69
-
70
- @Column({
71
- allowNull: true,
72
- type: DataType.INTEGER
73
- })
74
- declare status?: number;
75
-
76
- @Column({
77
- field: "created_by",
78
- allowNull: true,
79
- type: DataType.STRING(60)
80
- })
81
- declare createdBy?: string;
82
-
83
- @Column({
84
- field: "created_date",
85
- allowNull: true,
86
- type: DataType.DATE
87
- })
88
- declare createdDate?: Date;
89
-
90
- @Column({
91
- field: "updated_by",
92
- allowNull: true,
93
- type: DataType.STRING(60)
94
- })
95
- declare updatedBy?: string;
96
-
97
- @Column({
98
- field: "updated_date",
99
- allowNull: true,
100
- type: DataType.DATE
101
- })
102
- declare updatedDate?: Date;
103
-
1
+ import {
2
+ Model, Table, Column, DataType, Index, Sequelize, ForeignKey
3
+ } from "sequelize-typescript";
4
+
5
+ export interface informationIndexGroupAttributes {
6
+ id?: number;
7
+ uuid?: string;
8
+ keyName?: string;
9
+ userId?: number;
10
+ name: string;
11
+ description?: string;
12
+ sort?: number;
13
+ status?: number;
14
+ createdBy?: string;
15
+ createdDate?: Date;
16
+ updatedBy?: string;
17
+ updatedDate?: Date;
18
+ }
19
+
20
+ @Table({
21
+ tableName: "information_index_group",
22
+ timestamps: false
23
+ })
24
+ export class informationIndexGroup extends Model<informationIndexGroupAttributes, informationIndexGroupAttributes> implements informationIndexGroupAttributes {
25
+
26
+ @Column({
27
+ primaryKey: true,
28
+ autoIncrement: true,
29
+ type: DataType.INTEGER
30
+ })
31
+ declare id?: number;
32
+
33
+ @Column({
34
+ allowNull: true,
35
+ type: DataType.STRING(60)
36
+ })
37
+ declare uuid?: string;
38
+
39
+ @Column({
40
+ field: "key_name",
41
+ allowNull: true,
42
+ type: DataType.STRING(100)
43
+ })
44
+ declare keyName?: string;
45
+
46
+ @Column({
47
+ field: "user_id",
48
+ allowNull: true,
49
+ type: DataType.INTEGER
50
+ })
51
+ declare userId?: number;
52
+
53
+ @Column({
54
+ type: DataType.STRING(255)
55
+ })
56
+ declare name: string;
57
+
58
+ @Column({
59
+ allowNull: true,
60
+ type: DataType.STRING(255)
61
+ })
62
+ declare description?: string;
63
+
64
+ @Column({
65
+ allowNull: true,
66
+ type: DataType.INTEGER
67
+ })
68
+ declare sort?: number;
69
+
70
+ @Column({
71
+ allowNull: true,
72
+ type: DataType.INTEGER
73
+ })
74
+ declare status?: number;
75
+
76
+ @Column({
77
+ field: "created_by",
78
+ allowNull: true,
79
+ type: DataType.STRING(60)
80
+ })
81
+ declare createdBy?: string;
82
+
83
+ @Column({
84
+ field: "created_date",
85
+ allowNull: true,
86
+ type: DataType.DATE
87
+ })
88
+ declare createdDate?: Date;
89
+
90
+ @Column({
91
+ field: "updated_by",
92
+ allowNull: true,
93
+ type: DataType.STRING(60)
94
+ })
95
+ declare updatedBy?: string;
96
+
97
+ @Column({
98
+ field: "updated_date",
99
+ allowNull: true,
100
+ type: DataType.DATE
101
+ })
102
+ declare updatedDate?: Date;
103
+
104
104
  }