@admc-go-th/admc-library 1.0.129 → 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.
- package/appQueue-HW5J6Gb9.d.ts +162 -0
- package/{authAssignment-BAUCoEP6.d.ts → authAssignment-De3034JH.d.ts} +16 -0
- package/databases/schema/appQueue.ts +93 -3
- package/databases/schema/appReportCorruption.ts +1 -1
- package/databases/schema/appScore.ts +8 -0
- package/databases/schema/files.ts +7 -0
- package/databases/schema/formFaq.ts +126 -126
- package/databases/schema/index.ts +10 -5
- package/databases/schema/informationIndex.ts +211 -211
- package/databases/schema/informationIndexGroup.ts +103 -103
- package/databases/schema/mdBanner.ts +8 -0
- package/databases/schema/mdDownloadBk.ts +136 -136
- package/databases/schema/mdEbookGroup.ts +8 -0
- package/databases/schema/msConsultCase.ts +0 -8
- package/databases/schema/msConsultChannels.ts +14 -1
- package/databases/schema/msConsultSiteCase.ts +91 -0
- package/databases/schema/msConsultSiteIssue.ts +84 -0
- package/databases/schema/msExecutiveActing.ts +75 -0
- package/databases/schema/msExecutiveBoard.ts +82 -82
- package/databases/schema/msExecutiveBoardBk.ts +83 -0
- package/databases/schema/msExecutivePosition.ts +117 -117
- package/databases/schema/msExecutivePositionBk.ts +112 -0
- package/databases/schema/msGuidelines.ts +88 -88
- package/databases/schema/msOrganization.ts +139 -0
- package/databases/schema/msPosition.ts +76 -0
- package/databases/schema/msQueueTourFaq.ts +90 -0
- package/databases/schema/msQueueTourGuidelines.ts +90 -0
- package/databases/schema/msWebsite.ts +7 -1
- package/databases/schema/setting.ts +73 -73
- package/databases/schema/userPermissionV.ts +78 -0
- package/databases/schema/users.ts +62 -0
- package/databases/tables/appQueue.d.ts +2 -62
- package/databases/tables/appQueue.js +380 -54
- package/databases/tables/appReportCorruption.js +1 -1
- package/databases/tables/appReportCorruptionTransaction.js +1 -1
- package/databases/tables/appScore.d.ts +2 -0
- package/databases/tables/appScore.js +7 -0
- package/databases/tables/authAssignment.d.ts +1 -1
- package/databases/tables/authAssignment.js +54 -0
- package/databases/tables/authRole.d.ts +1 -1
- package/databases/tables/authRole.js +54 -0
- package/databases/tables/authRoleChild.d.ts +1 -1
- package/databases/tables/authRoleChild.js +54 -0
- package/databases/tables/files.d.ts +1 -1
- package/databases/tables/files.js +13 -0
- package/databases/tables/index.d.ts +15 -11
- package/databases/tables/index.js +4440 -3810
- package/databases/tables/mdBanner.d.ts +1 -1
- package/databases/tables/mdBanner.js +13 -0
- package/databases/tables/mdContent.d.ts +1 -1
- package/databases/tables/mdContent.js +54 -0
- package/databases/tables/mdContentGroup.d.ts +1 -1
- package/databases/tables/mdContentGroup.js +54 -0
- package/databases/tables/mdEbook.d.ts +1 -1
- package/databases/tables/mdEbook.js +7 -0
- package/databases/tables/mdEbookGroup.d.ts +1 -1
- package/databases/tables/mdEbookGroup.js +7 -0
- package/databases/tables/mdQuestionnaire.d.ts +1 -1
- package/databases/tables/mdQuestionnaire.js +54 -0
- package/databases/tables/mdQuestionnaireData.d.ts +1 -1
- package/databases/tables/mdQuestionnaireData.js +54 -0
- package/databases/tables/msConsultCase.d.ts +0 -2
- package/databases/tables/msConsultCase.js +0 -7
- package/databases/tables/msConsultChannels.d.ts +2 -24
- package/databases/tables/msConsultChannels.js +469 -13
- package/databases/tables/msConsultSiteCase.d.ts +28 -0
- package/databases/tables/msConsultSiteCase.js +113 -0
- package/databases/tables/msConsultSiteIssue.d.ts +26 -0
- package/databases/tables/msConsultSiteIssue.js +107 -0
- package/databases/tables/msExecutiveActing.d.ts +24 -0
- package/databases/tables/msExecutiveActing.js +99 -0
- package/databases/tables/msExecutiveBoardBk.d.ts +26 -0
- package/databases/tables/msExecutiveBoardBk.js +106 -0
- package/databases/tables/msExecutivePositionBk.d.ts +34 -0
- package/databases/tables/msExecutivePositionBk.js +131 -0
- package/databases/tables/msOrganization.d.ts +40 -0
- package/databases/tables/msOrganization.js +155 -0
- package/databases/tables/msPosition.d.ts +24 -0
- package/databases/tables/msPosition.js +100 -0
- package/databases/tables/msQueueTourFaq.d.ts +28 -0
- package/databases/tables/msQueueTourFaq.js +112 -0
- package/databases/tables/msQueueTourGuidelines.d.ts +28 -0
- package/databases/tables/msQueueTourGuidelines.js +112 -0
- package/databases/tables/msWebsite.d.ts +2 -56
- package/databases/tables/msWebsite.js +400 -46
- package/databases/tables/userPermissionV.d.ts +26 -0
- package/databases/tables/userPermissionV.js +101 -0
- package/databases/tables/users.d.ts +1 -1
- package/databases/tables/users.js +54 -0
- package/databases/tables/usersVerify.d.ts +1 -1
- package/databases/tables/usersVerify.js +54 -0
- package/{files-Dp2zDQAj.d.ts → files-CXIMD4Bk.d.ts} +4 -0
- package/{mdEbook-yzNQjFhx.d.ts → mdEbook-DVvRlFVe.d.ts} +2 -0
- package/package.json +1 -1
|
@@ -31,8 +31,14 @@ __export(msWebsite_exports, {
|
|
|
31
31
|
msWebsite: () => msWebsite
|
|
32
32
|
});
|
|
33
33
|
module.exports = __toCommonJS(msWebsite_exports);
|
|
34
|
+
var import_sequelize_typescript3 = require("sequelize-typescript");
|
|
35
|
+
|
|
36
|
+
// src/databases/tables/appQueue.ts
|
|
37
|
+
var import_sequelize_typescript2 = require("sequelize-typescript");
|
|
38
|
+
|
|
39
|
+
// src/databases/tables/msConsultChannels.ts
|
|
34
40
|
var import_sequelize_typescript = require("sequelize-typescript");
|
|
35
|
-
var
|
|
41
|
+
var msConsultChannels = class extends import_sequelize_typescript.Model {
|
|
36
42
|
};
|
|
37
43
|
__decorateClass([
|
|
38
44
|
(0, import_sequelize_typescript.Column)({
|
|
@@ -40,157 +46,505 @@ __decorateClass([
|
|
|
40
46
|
autoIncrement: true,
|
|
41
47
|
type: import_sequelize_typescript.DataType.INTEGER
|
|
42
48
|
})
|
|
43
|
-
],
|
|
49
|
+
], msConsultChannels.prototype, "id", 2);
|
|
44
50
|
__decorateClass([
|
|
45
51
|
(0, import_sequelize_typescript.Column)({
|
|
46
52
|
allowNull: true,
|
|
47
53
|
type: import_sequelize_typescript.DataType.STRING(255)
|
|
48
54
|
})
|
|
49
|
-
],
|
|
55
|
+
], msConsultChannels.prototype, "name", 2);
|
|
50
56
|
__decorateClass([
|
|
51
57
|
(0, import_sequelize_typescript.Column)({
|
|
52
58
|
allowNull: true,
|
|
53
|
-
type: import_sequelize_typescript.DataType.
|
|
59
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
54
60
|
})
|
|
55
|
-
],
|
|
61
|
+
], msConsultChannels.prototype, "sort", 2);
|
|
56
62
|
__decorateClass([
|
|
57
63
|
(0, import_sequelize_typescript.Column)({
|
|
58
64
|
allowNull: true,
|
|
59
65
|
type: import_sequelize_typescript.DataType.STRING(255)
|
|
60
66
|
})
|
|
61
|
-
],
|
|
67
|
+
], msConsultChannels.prototype, "message", 2);
|
|
62
68
|
__decorateClass([
|
|
63
69
|
(0, import_sequelize_typescript.Column)({
|
|
64
70
|
allowNull: true,
|
|
65
|
-
type: import_sequelize_typescript.DataType.
|
|
71
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
66
72
|
})
|
|
67
|
-
],
|
|
73
|
+
], msConsultChannels.prototype, "status", 2);
|
|
68
74
|
__decorateClass([
|
|
69
75
|
(0, import_sequelize_typescript.Column)({
|
|
76
|
+
field: "created_by",
|
|
70
77
|
allowNull: true,
|
|
71
|
-
type: import_sequelize_typescript.DataType.STRING(
|
|
78
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
72
79
|
})
|
|
73
|
-
],
|
|
80
|
+
], msConsultChannels.prototype, "createdBy", 2);
|
|
74
81
|
__decorateClass([
|
|
75
82
|
(0, import_sequelize_typescript.Column)({
|
|
83
|
+
field: "created_date",
|
|
84
|
+
allowNull: true,
|
|
85
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
86
|
+
})
|
|
87
|
+
], msConsultChannels.prototype, "createdDate", 2);
|
|
88
|
+
__decorateClass([
|
|
89
|
+
(0, import_sequelize_typescript.Column)({
|
|
90
|
+
field: "updated_by",
|
|
91
|
+
allowNull: true,
|
|
92
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
93
|
+
})
|
|
94
|
+
], msConsultChannels.prototype, "updatedBy", 2);
|
|
95
|
+
__decorateClass([
|
|
96
|
+
(0, import_sequelize_typescript.Column)({
|
|
97
|
+
field: "updated_date",
|
|
98
|
+
allowNull: true,
|
|
99
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
100
|
+
})
|
|
101
|
+
], msConsultChannels.prototype, "updatedDate", 2);
|
|
102
|
+
__decorateClass([
|
|
103
|
+
(0, import_sequelize_typescript.HasMany)(() => appQueue, {
|
|
104
|
+
sourceKey: "id"
|
|
105
|
+
})
|
|
106
|
+
], msConsultChannels.prototype, "appQueues", 2);
|
|
107
|
+
msConsultChannels = __decorateClass([
|
|
108
|
+
(0, import_sequelize_typescript.Table)({
|
|
109
|
+
tableName: "ms_consult_channels",
|
|
110
|
+
timestamps: false
|
|
111
|
+
})
|
|
112
|
+
], msConsultChannels);
|
|
113
|
+
|
|
114
|
+
// src/databases/tables/appQueue.ts
|
|
115
|
+
var appQueue = class extends import_sequelize_typescript2.Model {
|
|
116
|
+
};
|
|
117
|
+
__decorateClass([
|
|
118
|
+
(0, import_sequelize_typescript2.Column)({
|
|
119
|
+
primaryKey: true,
|
|
120
|
+
autoIncrement: true,
|
|
121
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
122
|
+
})
|
|
123
|
+
], appQueue.prototype, "id", 2);
|
|
124
|
+
__decorateClass([
|
|
125
|
+
(0, import_sequelize_typescript2.Column)({
|
|
126
|
+
allowNull: true,
|
|
127
|
+
type: import_sequelize_typescript2.DataType.STRING(60)
|
|
128
|
+
})
|
|
129
|
+
], appQueue.prototype, "uuid", 2);
|
|
130
|
+
__decorateClass([
|
|
131
|
+
(0, import_sequelize_typescript2.Column)({
|
|
132
|
+
allowNull: true,
|
|
133
|
+
type: import_sequelize_typescript2.DataType.STRING(15)
|
|
134
|
+
})
|
|
135
|
+
], appQueue.prototype, "code", 2);
|
|
136
|
+
__decorateClass([
|
|
137
|
+
(0, import_sequelize_typescript2.ForeignKey)(() => msWebsite),
|
|
138
|
+
(0, import_sequelize_typescript2.Column)({
|
|
139
|
+
field: "site_id",
|
|
140
|
+
allowNull: true,
|
|
141
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
142
|
+
})
|
|
143
|
+
], appQueue.prototype, "siteId", 2);
|
|
144
|
+
__decorateClass([
|
|
145
|
+
(0, import_sequelize_typescript2.Column)({
|
|
146
|
+
field: "request_date",
|
|
147
|
+
allowNull: true,
|
|
148
|
+
type: import_sequelize_typescript2.DataType.DATEONLY
|
|
149
|
+
})
|
|
150
|
+
], appQueue.prototype, "requestDate", 2);
|
|
151
|
+
__decorateClass([
|
|
152
|
+
(0, import_sequelize_typescript2.Column)({
|
|
153
|
+
field: "request_from",
|
|
154
|
+
allowNull: true,
|
|
155
|
+
type: import_sequelize_typescript2.DataType.TIME
|
|
156
|
+
})
|
|
157
|
+
], appQueue.prototype, "requestFrom", 2);
|
|
158
|
+
__decorateClass([
|
|
159
|
+
(0, import_sequelize_typescript2.Column)({
|
|
160
|
+
field: "request_to",
|
|
161
|
+
allowNull: true,
|
|
162
|
+
type: import_sequelize_typescript2.DataType.TIME
|
|
163
|
+
})
|
|
164
|
+
], appQueue.prototype, "requestTo", 2);
|
|
165
|
+
__decorateClass([
|
|
166
|
+
(0, import_sequelize_typescript2.Column)({
|
|
167
|
+
field: "approve_date",
|
|
168
|
+
allowNull: true,
|
|
169
|
+
type: import_sequelize_typescript2.DataType.DATEONLY
|
|
170
|
+
})
|
|
171
|
+
], appQueue.prototype, "approveDate", 2);
|
|
172
|
+
__decorateClass([
|
|
173
|
+
(0, import_sequelize_typescript2.Column)({
|
|
174
|
+
field: "time_slot",
|
|
175
|
+
allowNull: true,
|
|
176
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
177
|
+
})
|
|
178
|
+
], appQueue.prototype, "timeSlot", 2);
|
|
179
|
+
__decorateClass([
|
|
180
|
+
(0, import_sequelize_typescript2.Column)({
|
|
181
|
+
field: "full_name",
|
|
182
|
+
allowNull: true,
|
|
183
|
+
type: import_sequelize_typescript2.DataType.STRING(255)
|
|
184
|
+
})
|
|
185
|
+
], appQueue.prototype, "fullName", 2);
|
|
186
|
+
__decorateClass([
|
|
187
|
+
(0, import_sequelize_typescript2.Column)({
|
|
188
|
+
allowNull: true,
|
|
189
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
190
|
+
})
|
|
191
|
+
], appQueue.prototype, "residence", 2);
|
|
192
|
+
__decorateClass([
|
|
193
|
+
(0, import_sequelize_typescript2.Column)({
|
|
194
|
+
allowNull: true,
|
|
195
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
196
|
+
})
|
|
197
|
+
], appQueue.prototype, "occupation", 2);
|
|
198
|
+
__decorateClass([
|
|
199
|
+
(0, import_sequelize_typescript2.Column)({
|
|
200
|
+
field: "phone_number",
|
|
201
|
+
allowNull: true,
|
|
202
|
+
type: import_sequelize_typescript2.DataType.STRING(20)
|
|
203
|
+
})
|
|
204
|
+
], appQueue.prototype, "phoneNumber", 2);
|
|
205
|
+
__decorateClass([
|
|
206
|
+
(0, import_sequelize_typescript2.Column)({
|
|
207
|
+
allowNull: true,
|
|
208
|
+
type: import_sequelize_typescript2.DataType.STRING(150)
|
|
209
|
+
})
|
|
210
|
+
], appQueue.prototype, "email", 2);
|
|
211
|
+
__decorateClass([
|
|
212
|
+
(0, import_sequelize_typescript2.Column)({
|
|
213
|
+
field: "line_id",
|
|
214
|
+
allowNull: true,
|
|
215
|
+
type: import_sequelize_typescript2.DataType.STRING(100)
|
|
216
|
+
})
|
|
217
|
+
], appQueue.prototype, "lineId", 2);
|
|
218
|
+
__decorateClass([
|
|
219
|
+
(0, import_sequelize_typescript2.ForeignKey)(() => msConsultChannels),
|
|
220
|
+
(0, import_sequelize_typescript2.Column)({
|
|
221
|
+
field: "consult_channel",
|
|
222
|
+
allowNull: true,
|
|
223
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
224
|
+
})
|
|
225
|
+
], appQueue.prototype, "consultChannel", 2);
|
|
226
|
+
__decorateClass([
|
|
227
|
+
(0, import_sequelize_typescript2.Column)({
|
|
228
|
+
field: "consult_topic",
|
|
229
|
+
allowNull: true,
|
|
230
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
231
|
+
})
|
|
232
|
+
], appQueue.prototype, "consultTopic", 2);
|
|
233
|
+
__decorateClass([
|
|
234
|
+
(0, import_sequelize_typescript2.Column)({
|
|
235
|
+
field: "consult_topic_other",
|
|
236
|
+
allowNull: true,
|
|
237
|
+
type: import_sequelize_typescript2.DataType.STRING(255)
|
|
238
|
+
})
|
|
239
|
+
], appQueue.prototype, "consultTopicOther", 2);
|
|
240
|
+
__decorateClass([
|
|
241
|
+
(0, import_sequelize_typescript2.Column)({
|
|
242
|
+
field: "black_case_number",
|
|
243
|
+
allowNull: true,
|
|
244
|
+
type: import_sequelize_typescript2.DataType.STRING(50)
|
|
245
|
+
})
|
|
246
|
+
], appQueue.prototype, "blackCaseNumber", 2);
|
|
247
|
+
__decorateClass([
|
|
248
|
+
(0, import_sequelize_typescript2.Column)({
|
|
249
|
+
field: "red_case_number",
|
|
250
|
+
allowNull: true,
|
|
251
|
+
type: import_sequelize_typescript2.DataType.STRING(50)
|
|
252
|
+
})
|
|
253
|
+
], appQueue.prototype, "redCaseNumber", 2);
|
|
254
|
+
__decorateClass([
|
|
255
|
+
(0, import_sequelize_typescript2.Column)({
|
|
256
|
+
allowNull: true,
|
|
257
|
+
type: import_sequelize_typescript2.DataType.STRING
|
|
258
|
+
})
|
|
259
|
+
], appQueue.prototype, "issues", 2);
|
|
260
|
+
__decorateClass([
|
|
261
|
+
(0, import_sequelize_typescript2.Column)({
|
|
262
|
+
allowNull: true,
|
|
263
|
+
type: import_sequelize_typescript2.DataType.JSON
|
|
264
|
+
})
|
|
265
|
+
], appQueue.prototype, "attachments", 2);
|
|
266
|
+
__decorateClass([
|
|
267
|
+
(0, import_sequelize_typescript2.Column)({
|
|
268
|
+
field: "ip_address",
|
|
269
|
+
allowNull: true,
|
|
270
|
+
type: import_sequelize_typescript2.DataType.STRING(30)
|
|
271
|
+
})
|
|
272
|
+
], appQueue.prototype, "ipAddress", 2);
|
|
273
|
+
__decorateClass([
|
|
274
|
+
(0, import_sequelize_typescript2.Column)({
|
|
275
|
+
allowNull: true,
|
|
276
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
277
|
+
})
|
|
278
|
+
], appQueue.prototype, "status", 2);
|
|
279
|
+
__decorateClass([
|
|
280
|
+
(0, import_sequelize_typescript2.Column)({
|
|
281
|
+
field: "case_type_id",
|
|
282
|
+
allowNull: true,
|
|
283
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
284
|
+
})
|
|
285
|
+
], appQueue.prototype, "caseTypeId", 2);
|
|
286
|
+
__decorateClass([
|
|
287
|
+
(0, import_sequelize_typescript2.Column)({
|
|
288
|
+
field: "case_section_id",
|
|
289
|
+
allowNull: true,
|
|
290
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
291
|
+
})
|
|
292
|
+
], appQueue.prototype, "caseSectionId", 2);
|
|
293
|
+
__decorateClass([
|
|
294
|
+
(0, import_sequelize_typescript2.Column)({
|
|
295
|
+
field: "case_section_other",
|
|
296
|
+
allowNull: true,
|
|
297
|
+
type: import_sequelize_typescript2.DataType.STRING(255)
|
|
298
|
+
})
|
|
299
|
+
], appQueue.prototype, "caseSectionOther", 2);
|
|
300
|
+
__decorateClass([
|
|
301
|
+
(0, import_sequelize_typescript2.Column)({
|
|
302
|
+
field: "case_jurisdiction",
|
|
76
303
|
allowNull: true,
|
|
77
|
-
type:
|
|
304
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
305
|
+
})
|
|
306
|
+
], appQueue.prototype, "caseJurisdiction", 2);
|
|
307
|
+
__decorateClass([
|
|
308
|
+
(0, import_sequelize_typescript2.Column)({
|
|
309
|
+
field: "staff_id",
|
|
310
|
+
allowNull: true,
|
|
311
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
312
|
+
})
|
|
313
|
+
], appQueue.prototype, "staffId", 2);
|
|
314
|
+
__decorateClass([
|
|
315
|
+
(0, import_sequelize_typescript2.Column)({
|
|
316
|
+
field: "staff_channel_id",
|
|
317
|
+
allowNull: true,
|
|
318
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
319
|
+
})
|
|
320
|
+
], appQueue.prototype, "staffChannelId", 2);
|
|
321
|
+
__decorateClass([
|
|
322
|
+
(0, import_sequelize_typescript2.Column)({
|
|
323
|
+
field: "staff_channel",
|
|
324
|
+
allowNull: true,
|
|
325
|
+
type: import_sequelize_typescript2.DataType.JSON
|
|
326
|
+
})
|
|
327
|
+
], appQueue.prototype, "staffChannel", 2);
|
|
328
|
+
__decorateClass([
|
|
329
|
+
(0, import_sequelize_typescript2.Column)({
|
|
330
|
+
field: "staff_issues",
|
|
331
|
+
allowNull: true,
|
|
332
|
+
type: import_sequelize_typescript2.DataType.STRING
|
|
333
|
+
})
|
|
334
|
+
], appQueue.prototype, "staffIssues", 2);
|
|
335
|
+
__decorateClass([
|
|
336
|
+
(0, import_sequelize_typescript2.Column)({
|
|
337
|
+
field: "staff_note",
|
|
338
|
+
allowNull: true,
|
|
339
|
+
type: import_sequelize_typescript2.DataType.STRING
|
|
340
|
+
})
|
|
341
|
+
], appQueue.prototype, "staffNote", 2);
|
|
342
|
+
__decorateClass([
|
|
343
|
+
(0, import_sequelize_typescript2.Column)({
|
|
344
|
+
field: "created_by",
|
|
345
|
+
allowNull: true,
|
|
346
|
+
type: import_sequelize_typescript2.DataType.STRING(60)
|
|
347
|
+
})
|
|
348
|
+
], appQueue.prototype, "createdBy", 2);
|
|
349
|
+
__decorateClass([
|
|
350
|
+
(0, import_sequelize_typescript2.Column)({
|
|
351
|
+
field: "created_date",
|
|
352
|
+
allowNull: true,
|
|
353
|
+
type: import_sequelize_typescript2.DataType.DATE
|
|
354
|
+
})
|
|
355
|
+
], appQueue.prototype, "createdDate", 2);
|
|
356
|
+
__decorateClass([
|
|
357
|
+
(0, import_sequelize_typescript2.Column)({
|
|
358
|
+
field: "updated_by",
|
|
359
|
+
allowNull: true,
|
|
360
|
+
type: import_sequelize_typescript2.DataType.STRING(60)
|
|
361
|
+
})
|
|
362
|
+
], appQueue.prototype, "updatedBy", 2);
|
|
363
|
+
__decorateClass([
|
|
364
|
+
(0, import_sequelize_typescript2.Column)({
|
|
365
|
+
field: "updated_date",
|
|
366
|
+
allowNull: true,
|
|
367
|
+
type: import_sequelize_typescript2.DataType.DATE
|
|
368
|
+
})
|
|
369
|
+
], appQueue.prototype, "updatedDate", 2);
|
|
370
|
+
__decorateClass([
|
|
371
|
+
(0, import_sequelize_typescript2.BelongsTo)(() => msWebsite)
|
|
372
|
+
], appQueue.prototype, "msWebsite", 2);
|
|
373
|
+
__decorateClass([
|
|
374
|
+
(0, import_sequelize_typescript2.BelongsTo)(() => msConsultChannels)
|
|
375
|
+
], appQueue.prototype, "msConsultChannel", 2);
|
|
376
|
+
appQueue = __decorateClass([
|
|
377
|
+
(0, import_sequelize_typescript2.Table)({
|
|
378
|
+
tableName: "app_queue",
|
|
379
|
+
timestamps: false
|
|
380
|
+
})
|
|
381
|
+
], appQueue);
|
|
382
|
+
|
|
383
|
+
// src/databases/tables/msWebsite.ts
|
|
384
|
+
var msWebsite = class extends import_sequelize_typescript3.Model {
|
|
385
|
+
};
|
|
386
|
+
__decorateClass([
|
|
387
|
+
(0, import_sequelize_typescript3.Column)({
|
|
388
|
+
primaryKey: true,
|
|
389
|
+
autoIncrement: true,
|
|
390
|
+
type: import_sequelize_typescript3.DataType.INTEGER
|
|
391
|
+
})
|
|
392
|
+
], msWebsite.prototype, "id", 2);
|
|
393
|
+
__decorateClass([
|
|
394
|
+
(0, import_sequelize_typescript3.Column)({
|
|
395
|
+
allowNull: true,
|
|
396
|
+
type: import_sequelize_typescript3.DataType.STRING(255)
|
|
397
|
+
})
|
|
398
|
+
], msWebsite.prototype, "code", 2);
|
|
399
|
+
__decorateClass([
|
|
400
|
+
(0, import_sequelize_typescript3.Column)({
|
|
401
|
+
allowNull: true,
|
|
402
|
+
type: import_sequelize_typescript3.DataType.STRING(60)
|
|
403
|
+
})
|
|
404
|
+
], msWebsite.prototype, "uuid", 2);
|
|
405
|
+
__decorateClass([
|
|
406
|
+
(0, import_sequelize_typescript3.Column)({
|
|
407
|
+
allowNull: true,
|
|
408
|
+
type: import_sequelize_typescript3.DataType.STRING(255)
|
|
409
|
+
})
|
|
410
|
+
], msWebsite.prototype, "name", 2);
|
|
411
|
+
__decorateClass([
|
|
412
|
+
(0, import_sequelize_typescript3.Column)({
|
|
413
|
+
allowNull: true,
|
|
414
|
+
type: import_sequelize_typescript3.DataType.STRING(255)
|
|
415
|
+
})
|
|
416
|
+
], msWebsite.prototype, "description", 2);
|
|
417
|
+
__decorateClass([
|
|
418
|
+
(0, import_sequelize_typescript3.Column)({
|
|
419
|
+
allowNull: true,
|
|
420
|
+
type: import_sequelize_typescript3.DataType.STRING(255)
|
|
421
|
+
})
|
|
422
|
+
], msWebsite.prototype, "url", 2);
|
|
423
|
+
__decorateClass([
|
|
424
|
+
(0, import_sequelize_typescript3.Column)({
|
|
425
|
+
allowNull: true,
|
|
426
|
+
type: import_sequelize_typescript3.DataType.INTEGER,
|
|
78
427
|
defaultValue: "1"
|
|
79
428
|
})
|
|
80
429
|
], msWebsite.prototype, "layout", 2);
|
|
81
430
|
__decorateClass([
|
|
82
|
-
(0,
|
|
431
|
+
(0, import_sequelize_typescript3.Column)({
|
|
83
432
|
allowNull: true,
|
|
84
|
-
type:
|
|
433
|
+
type: import_sequelize_typescript3.DataType.INTEGER
|
|
85
434
|
})
|
|
86
435
|
], msWebsite.prototype, "type", 2);
|
|
87
436
|
__decorateClass([
|
|
88
|
-
(0,
|
|
437
|
+
(0, import_sequelize_typescript3.Column)({
|
|
89
438
|
allowNull: true,
|
|
90
|
-
type:
|
|
439
|
+
type: import_sequelize_typescript3.DataType.INTEGER,
|
|
91
440
|
defaultValue: "1"
|
|
92
441
|
})
|
|
93
442
|
], msWebsite.prototype, "status", 2);
|
|
94
443
|
__decorateClass([
|
|
95
|
-
(0,
|
|
444
|
+
(0, import_sequelize_typescript3.Column)({
|
|
96
445
|
allowNull: true,
|
|
97
|
-
type:
|
|
446
|
+
type: import_sequelize_typescript3.DataType.STRING(20)
|
|
98
447
|
})
|
|
99
448
|
], msWebsite.prototype, "region", 2);
|
|
100
449
|
__decorateClass([
|
|
101
|
-
(0,
|
|
450
|
+
(0, import_sequelize_typescript3.Column)({
|
|
102
451
|
allowNull: true,
|
|
103
|
-
type:
|
|
452
|
+
type: import_sequelize_typescript3.DataType.INTEGER
|
|
104
453
|
})
|
|
105
454
|
], msWebsite.prototype, "sort", 2);
|
|
106
455
|
__decorateClass([
|
|
107
|
-
(0,
|
|
456
|
+
(0, import_sequelize_typescript3.Column)({
|
|
108
457
|
allowNull: true,
|
|
109
|
-
type:
|
|
458
|
+
type: import_sequelize_typescript3.DataType.STRING(255)
|
|
110
459
|
})
|
|
111
460
|
], msWebsite.prototype, "image", 2);
|
|
112
461
|
__decorateClass([
|
|
113
|
-
(0,
|
|
462
|
+
(0, import_sequelize_typescript3.Column)({
|
|
114
463
|
allowNull: true,
|
|
115
|
-
type:
|
|
464
|
+
type: import_sequelize_typescript3.DataType.STRING(255)
|
|
116
465
|
})
|
|
117
466
|
], msWebsite.prototype, "address", 2);
|
|
118
467
|
__decorateClass([
|
|
119
|
-
(0,
|
|
468
|
+
(0, import_sequelize_typescript3.Column)({
|
|
120
469
|
allowNull: true,
|
|
121
|
-
type:
|
|
470
|
+
type: import_sequelize_typescript3.DataType.STRING(100)
|
|
122
471
|
})
|
|
123
472
|
], msWebsite.prototype, "phone", 2);
|
|
124
473
|
__decorateClass([
|
|
125
|
-
(0,
|
|
474
|
+
(0, import_sequelize_typescript3.Column)({
|
|
126
475
|
allowNull: true,
|
|
127
|
-
type:
|
|
476
|
+
type: import_sequelize_typescript3.DataType.STRING(100)
|
|
128
477
|
})
|
|
129
478
|
], msWebsite.prototype, "fax", 2);
|
|
130
479
|
__decorateClass([
|
|
131
|
-
(0,
|
|
480
|
+
(0, import_sequelize_typescript3.Column)({
|
|
132
481
|
allowNull: true,
|
|
133
|
-
type:
|
|
482
|
+
type: import_sequelize_typescript3.DataType.STRING(255)
|
|
134
483
|
})
|
|
135
484
|
], msWebsite.prototype, "office", 2);
|
|
136
485
|
__decorateClass([
|
|
137
|
-
(0,
|
|
486
|
+
(0, import_sequelize_typescript3.Column)({
|
|
138
487
|
allowNull: true,
|
|
139
|
-
type:
|
|
488
|
+
type: import_sequelize_typescript3.DataType.DATEONLY
|
|
140
489
|
})
|
|
141
490
|
], msWebsite.prototype, "opened", 2);
|
|
142
491
|
__decorateClass([
|
|
143
|
-
(0,
|
|
492
|
+
(0, import_sequelize_typescript3.Column)({
|
|
144
493
|
allowNull: true,
|
|
145
|
-
type:
|
|
494
|
+
type: import_sequelize_typescript3.DataType.DECIMAL(10, 8)
|
|
146
495
|
})
|
|
147
496
|
], msWebsite.prototype, "latitude", 2);
|
|
148
497
|
__decorateClass([
|
|
149
|
-
(0,
|
|
498
|
+
(0, import_sequelize_typescript3.Column)({
|
|
150
499
|
allowNull: true,
|
|
151
|
-
type:
|
|
500
|
+
type: import_sequelize_typescript3.DataType.DECIMAL(11, 8)
|
|
152
501
|
})
|
|
153
502
|
], msWebsite.prototype, "longitude", 2);
|
|
154
503
|
__decorateClass([
|
|
155
|
-
(0,
|
|
504
|
+
(0, import_sequelize_typescript3.Column)({
|
|
156
505
|
allowNull: true,
|
|
157
|
-
type:
|
|
506
|
+
type: import_sequelize_typescript3.DataType.JSON
|
|
158
507
|
})
|
|
159
508
|
], msWebsite.prototype, "info", 2);
|
|
160
509
|
__decorateClass([
|
|
161
|
-
(0,
|
|
510
|
+
(0, import_sequelize_typescript3.Column)({
|
|
162
511
|
field: "created_by",
|
|
163
512
|
allowNull: true,
|
|
164
|
-
type:
|
|
513
|
+
type: import_sequelize_typescript3.DataType.STRING(60),
|
|
165
514
|
comment: "\u0E2A\u0E23\u0E49\u0E32\u0E07\u0E42\u0E14\u0E22"
|
|
166
515
|
})
|
|
167
516
|
], msWebsite.prototype, "createdBy", 2);
|
|
168
517
|
__decorateClass([
|
|
169
|
-
(0,
|
|
518
|
+
(0, import_sequelize_typescript3.Column)({
|
|
170
519
|
field: "created_date",
|
|
171
520
|
allowNull: true,
|
|
172
|
-
type:
|
|
521
|
+
type: import_sequelize_typescript3.DataType.DATE,
|
|
173
522
|
comment: "\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E2A\u0E23\u0E49\u0E32\u0E07"
|
|
174
523
|
})
|
|
175
524
|
], msWebsite.prototype, "createdDate", 2);
|
|
176
525
|
__decorateClass([
|
|
177
|
-
(0,
|
|
526
|
+
(0, import_sequelize_typescript3.Column)({
|
|
178
527
|
field: "updated_by",
|
|
179
528
|
allowNull: true,
|
|
180
|
-
type:
|
|
529
|
+
type: import_sequelize_typescript3.DataType.STRING(60),
|
|
181
530
|
comment: "\u0E41\u0E01\u0E49\u0E44\u0E02\u0E42\u0E14\u0E22"
|
|
182
531
|
})
|
|
183
532
|
], msWebsite.prototype, "updatedBy", 2);
|
|
184
533
|
__decorateClass([
|
|
185
|
-
(0,
|
|
534
|
+
(0, import_sequelize_typescript3.Column)({
|
|
186
535
|
field: "updated_date",
|
|
187
536
|
allowNull: true,
|
|
188
|
-
type:
|
|
537
|
+
type: import_sequelize_typescript3.DataType.DATE,
|
|
189
538
|
comment: "\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E41\u0E01\u0E49\u0E44\u0E02"
|
|
190
539
|
})
|
|
191
540
|
], msWebsite.prototype, "updatedDate", 2);
|
|
541
|
+
__decorateClass([
|
|
542
|
+
(0, import_sequelize_typescript3.HasMany)(() => appQueue, {
|
|
543
|
+
sourceKey: "id"
|
|
544
|
+
})
|
|
545
|
+
], msWebsite.prototype, "appQueues", 2);
|
|
192
546
|
msWebsite = __decorateClass([
|
|
193
|
-
(0,
|
|
547
|
+
(0, import_sequelize_typescript3.Table)({
|
|
194
548
|
tableName: "ms_website",
|
|
195
549
|
timestamps: false
|
|
196
550
|
})
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Model } from 'sequelize-typescript';
|
|
2
|
+
|
|
3
|
+
interface userPermissionVAttributes {
|
|
4
|
+
userId?: number;
|
|
5
|
+
uuid: string;
|
|
6
|
+
username: string;
|
|
7
|
+
roleId?: number;
|
|
8
|
+
th?: string;
|
|
9
|
+
en?: string;
|
|
10
|
+
fr?: string;
|
|
11
|
+
sites?: string;
|
|
12
|
+
management?: string;
|
|
13
|
+
}
|
|
14
|
+
declare class userPermissionV extends Model<userPermissionVAttributes, userPermissionVAttributes> implements userPermissionVAttributes {
|
|
15
|
+
userId?: number;
|
|
16
|
+
uuid: string;
|
|
17
|
+
username: string;
|
|
18
|
+
roleId?: number;
|
|
19
|
+
th?: string;
|
|
20
|
+
en?: string;
|
|
21
|
+
fr?: string;
|
|
22
|
+
sites?: string;
|
|
23
|
+
management?: string;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export { userPermissionV, type userPermissionVAttributes };
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var __decorateClass = (decorators, target, key, kind) => {
|
|
20
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
21
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
22
|
+
if (decorator = decorators[i])
|
|
23
|
+
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
24
|
+
if (kind && result) __defProp(target, key, result);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
// src/databases/tables/userPermissionV.ts
|
|
29
|
+
var userPermissionV_exports = {};
|
|
30
|
+
__export(userPermissionV_exports, {
|
|
31
|
+
userPermissionV: () => userPermissionV
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(userPermissionV_exports);
|
|
34
|
+
var import_sequelize_typescript = require("sequelize-typescript");
|
|
35
|
+
var userPermissionV = class extends import_sequelize_typescript.Model {
|
|
36
|
+
};
|
|
37
|
+
__decorateClass([
|
|
38
|
+
(0, import_sequelize_typescript.Column)({
|
|
39
|
+
field: "user_id",
|
|
40
|
+
type: import_sequelize_typescript.DataType.INTEGER,
|
|
41
|
+
defaultValue: "0"
|
|
42
|
+
})
|
|
43
|
+
], userPermissionV.prototype, "userId", 2);
|
|
44
|
+
__decorateClass([
|
|
45
|
+
(0, import_sequelize_typescript.Column)({
|
|
46
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
47
|
+
})
|
|
48
|
+
], userPermissionV.prototype, "uuid", 2);
|
|
49
|
+
__decorateClass([
|
|
50
|
+
(0, import_sequelize_typescript.Column)({
|
|
51
|
+
type: import_sequelize_typescript.DataType.STRING(100)
|
|
52
|
+
})
|
|
53
|
+
], userPermissionV.prototype, "username", 2);
|
|
54
|
+
__decorateClass([
|
|
55
|
+
(0, import_sequelize_typescript.Column)({
|
|
56
|
+
field: "role_id",
|
|
57
|
+
allowNull: true,
|
|
58
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
59
|
+
})
|
|
60
|
+
], userPermissionV.prototype, "roleId", 2);
|
|
61
|
+
__decorateClass([
|
|
62
|
+
(0, import_sequelize_typescript.Column)({
|
|
63
|
+
allowNull: true,
|
|
64
|
+
type: import_sequelize_typescript.DataType.STRING(2)
|
|
65
|
+
})
|
|
66
|
+
], userPermissionV.prototype, "th", 2);
|
|
67
|
+
__decorateClass([
|
|
68
|
+
(0, import_sequelize_typescript.Column)({
|
|
69
|
+
allowNull: true,
|
|
70
|
+
type: import_sequelize_typescript.DataType.STRING(2)
|
|
71
|
+
})
|
|
72
|
+
], userPermissionV.prototype, "en", 2);
|
|
73
|
+
__decorateClass([
|
|
74
|
+
(0, import_sequelize_typescript.Column)({
|
|
75
|
+
allowNull: true,
|
|
76
|
+
type: import_sequelize_typescript.DataType.STRING(2)
|
|
77
|
+
})
|
|
78
|
+
], userPermissionV.prototype, "fr", 2);
|
|
79
|
+
__decorateClass([
|
|
80
|
+
(0, import_sequelize_typescript.Column)({
|
|
81
|
+
allowNull: true,
|
|
82
|
+
type: import_sequelize_typescript.DataType.STRING
|
|
83
|
+
})
|
|
84
|
+
], userPermissionV.prototype, "sites", 2);
|
|
85
|
+
__decorateClass([
|
|
86
|
+
(0, import_sequelize_typescript.Column)({
|
|
87
|
+
allowNull: true,
|
|
88
|
+
type: import_sequelize_typescript.DataType.STRING(10)
|
|
89
|
+
})
|
|
90
|
+
], userPermissionV.prototype, "management", 2);
|
|
91
|
+
userPermissionV = __decorateClass([
|
|
92
|
+
(0, import_sequelize_typescript.Table)({
|
|
93
|
+
tableName: "user_permission_v",
|
|
94
|
+
timestamps: false,
|
|
95
|
+
comment: "VIEW"
|
|
96
|
+
})
|
|
97
|
+
], userPermissionV);
|
|
98
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
99
|
+
0 && (module.exports = {
|
|
100
|
+
userPermissionV
|
|
101
|
+
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import 'sequelize-typescript';
|
|
2
|
-
export { o as users, u as usersAttributes } from '../../authAssignment-
|
|
2
|
+
export { o as users, u as usersAttributes } from '../../authAssignment-De3034JH.js';
|