@admc-go-th/admc-library 1.0.122 → 1.0.124
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/{appReportCorruption-CWG66n6V.d.ts → appReportCorruption-4BY0wm49.d.ts} +6 -0
- package/databases/schema/appFaq.ts +31 -0
- package/databases/schema/appReportCorruption.ts +8 -0
- package/databases/schema/appReportCorruptionTransaction.ts +16 -0
- package/databases/schema/appScore.ts +7 -0
- package/databases/schema/index.ts +5 -0
- package/databases/schema/mdEgp.ts +113 -113
- package/databases/schema/msConsultCase.ts +83 -0
- package/databases/schema/msConsultChannels.ts +75 -0
- package/databases/schema/msConsultInstructions.ts +82 -0
- package/databases/schema/msConsultService.ts +108 -0
- package/databases/tables/appFaq.d.ts +8 -0
- package/databases/tables/appFaq.js +27 -0
- package/databases/tables/appReportCorruption.d.ts +1 -1
- package/databases/tables/appReportCorruption.js +21 -0
- package/databases/tables/appReportCorruptionTransaction.d.ts +1 -1
- package/databases/tables/appReportCorruptionTransaction.js +21 -0
- package/databases/tables/appScore.d.ts +2 -0
- package/databases/tables/appScore.js +6 -0
- package/databases/tables/index.d.ts +6 -1
- package/databases/tables/index.js +1722 -1262
- package/databases/tables/msConsultCase.d.ts +26 -0
- package/databases/tables/msConsultCase.js +106 -0
- package/databases/tables/msConsultChannels.d.ts +24 -0
- package/databases/tables/msConsultChannels.js +99 -0
- package/databases/tables/msConsultInstructions.d.ts +26 -0
- package/databases/tables/msConsultInstructions.js +105 -0
- package/databases/tables/msConsultService.d.ts +32 -0
- package/databases/tables/msConsultService.js +128 -0
- package/package.json +1 -1
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Model, Table, Column, DataType, Index, Sequelize, ForeignKey
|
|
3
|
+
} from "sequelize-typescript";
|
|
4
|
+
|
|
5
|
+
export interface msConsultServiceAttributes {
|
|
6
|
+
id?: number;
|
|
7
|
+
siteId?: number;
|
|
8
|
+
serviceDay?: object;
|
|
9
|
+
serviceStaff?: number;
|
|
10
|
+
roundsTotal?: number;
|
|
11
|
+
roundsInfo?: object;
|
|
12
|
+
sort?: number;
|
|
13
|
+
status?: number;
|
|
14
|
+
createdBy?: string;
|
|
15
|
+
createdDate?: Date;
|
|
16
|
+
updatedBy?: string;
|
|
17
|
+
updatedDate?: Date;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@Table({
|
|
21
|
+
tableName: "ms_consult_service",
|
|
22
|
+
timestamps: false
|
|
23
|
+
})
|
|
24
|
+
export class msConsultService extends Model<msConsultServiceAttributes, msConsultServiceAttributes> implements msConsultServiceAttributes {
|
|
25
|
+
|
|
26
|
+
@Column({
|
|
27
|
+
primaryKey: true,
|
|
28
|
+
autoIncrement: true,
|
|
29
|
+
type: DataType.INTEGER
|
|
30
|
+
})
|
|
31
|
+
declare id?: number;
|
|
32
|
+
|
|
33
|
+
@Column({
|
|
34
|
+
field: "site_id",
|
|
35
|
+
allowNull: true,
|
|
36
|
+
type: DataType.INTEGER
|
|
37
|
+
})
|
|
38
|
+
declare siteId?: number;
|
|
39
|
+
|
|
40
|
+
@Column({
|
|
41
|
+
field: "service_day",
|
|
42
|
+
allowNull: true,
|
|
43
|
+
type: DataType.JSON
|
|
44
|
+
})
|
|
45
|
+
declare serviceDay?: object;
|
|
46
|
+
|
|
47
|
+
@Column({
|
|
48
|
+
field: "service_staff",
|
|
49
|
+
allowNull: true,
|
|
50
|
+
type: DataType.INTEGER
|
|
51
|
+
})
|
|
52
|
+
declare serviceStaff?: number;
|
|
53
|
+
|
|
54
|
+
@Column({
|
|
55
|
+
field: "rounds_total",
|
|
56
|
+
allowNull: true,
|
|
57
|
+
type: DataType.INTEGER
|
|
58
|
+
})
|
|
59
|
+
declare roundsTotal?: number;
|
|
60
|
+
|
|
61
|
+
@Column({
|
|
62
|
+
field: "rounds_info",
|
|
63
|
+
allowNull: true,
|
|
64
|
+
type: DataType.JSON
|
|
65
|
+
})
|
|
66
|
+
declare roundsInfo?: object;
|
|
67
|
+
|
|
68
|
+
@Column({
|
|
69
|
+
allowNull: true,
|
|
70
|
+
type: DataType.INTEGER
|
|
71
|
+
})
|
|
72
|
+
declare sort?: number;
|
|
73
|
+
|
|
74
|
+
@Column({
|
|
75
|
+
allowNull: true,
|
|
76
|
+
type: DataType.INTEGER
|
|
77
|
+
})
|
|
78
|
+
declare status?: number;
|
|
79
|
+
|
|
80
|
+
@Column({
|
|
81
|
+
field: "created_by",
|
|
82
|
+
allowNull: true,
|
|
83
|
+
type: DataType.STRING(60)
|
|
84
|
+
})
|
|
85
|
+
declare createdBy?: string;
|
|
86
|
+
|
|
87
|
+
@Column({
|
|
88
|
+
field: "created_date",
|
|
89
|
+
allowNull: true,
|
|
90
|
+
type: DataType.DATE
|
|
91
|
+
})
|
|
92
|
+
declare createdDate?: Date;
|
|
93
|
+
|
|
94
|
+
@Column({
|
|
95
|
+
field: "updated_by",
|
|
96
|
+
allowNull: true,
|
|
97
|
+
type: DataType.STRING(60)
|
|
98
|
+
})
|
|
99
|
+
declare updatedBy?: string;
|
|
100
|
+
|
|
101
|
+
@Column({
|
|
102
|
+
field: "updated_date",
|
|
103
|
+
allowNull: true,
|
|
104
|
+
type: DataType.DATE
|
|
105
|
+
})
|
|
106
|
+
declare updatedDate?: Date;
|
|
107
|
+
|
|
108
|
+
}
|
|
@@ -12,7 +12,11 @@ interface appFaqAttributes {
|
|
|
12
12
|
detail?: string;
|
|
13
13
|
attachments?: object;
|
|
14
14
|
answer?: string;
|
|
15
|
+
answerBy?: string;
|
|
16
|
+
answerDate?: Date;
|
|
17
|
+
answerInfo?: object;
|
|
15
18
|
status?: number;
|
|
19
|
+
publish?: number;
|
|
16
20
|
createdBy?: string;
|
|
17
21
|
createdDate?: Date;
|
|
18
22
|
updatedBy?: string;
|
|
@@ -30,7 +34,11 @@ declare class appFaq extends Model<appFaqAttributes, appFaqAttributes> implement
|
|
|
30
34
|
detail?: string;
|
|
31
35
|
attachments?: object;
|
|
32
36
|
answer?: string;
|
|
37
|
+
answerBy?: string;
|
|
38
|
+
answerDate?: Date;
|
|
39
|
+
answerInfo?: object;
|
|
33
40
|
status?: number;
|
|
41
|
+
publish?: number;
|
|
34
42
|
createdBy?: string;
|
|
35
43
|
createdDate?: Date;
|
|
36
44
|
updatedBy?: string;
|
|
@@ -104,12 +104,39 @@ __decorateClass([
|
|
|
104
104
|
type: import_sequelize_typescript.DataType.STRING
|
|
105
105
|
})
|
|
106
106
|
], appFaq.prototype, "answer", 2);
|
|
107
|
+
__decorateClass([
|
|
108
|
+
(0, import_sequelize_typescript.Column)({
|
|
109
|
+
field: "answer_by",
|
|
110
|
+
allowNull: true,
|
|
111
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
112
|
+
})
|
|
113
|
+
], appFaq.prototype, "answerBy", 2);
|
|
114
|
+
__decorateClass([
|
|
115
|
+
(0, import_sequelize_typescript.Column)({
|
|
116
|
+
field: "answer_date",
|
|
117
|
+
allowNull: true,
|
|
118
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
119
|
+
})
|
|
120
|
+
], appFaq.prototype, "answerDate", 2);
|
|
121
|
+
__decorateClass([
|
|
122
|
+
(0, import_sequelize_typescript.Column)({
|
|
123
|
+
field: "answer_info",
|
|
124
|
+
allowNull: true,
|
|
125
|
+
type: import_sequelize_typescript.DataType.JSON
|
|
126
|
+
})
|
|
127
|
+
], appFaq.prototype, "answerInfo", 2);
|
|
107
128
|
__decorateClass([
|
|
108
129
|
(0, import_sequelize_typescript.Column)({
|
|
109
130
|
allowNull: true,
|
|
110
131
|
type: import_sequelize_typescript.DataType.INTEGER
|
|
111
132
|
})
|
|
112
133
|
], appFaq.prototype, "status", 2);
|
|
134
|
+
__decorateClass([
|
|
135
|
+
(0, import_sequelize_typescript.Column)({
|
|
136
|
+
allowNull: true,
|
|
137
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
138
|
+
})
|
|
139
|
+
], appFaq.prototype, "publish", 2);
|
|
113
140
|
__decorateClass([
|
|
114
141
|
(0, import_sequelize_typescript.Column)({
|
|
115
142
|
field: "created_by",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import 'sequelize-typescript';
|
|
2
|
-
export { b as appReportCorruption, a as appReportCorruptionAttributes } from '../../appReportCorruption-
|
|
2
|
+
export { b as appReportCorruption, a as appReportCorruptionAttributes } from '../../appReportCorruption-4BY0wm49.js';
|
|
@@ -64,6 +64,20 @@ __decorateClass([
|
|
|
64
64
|
type: import_sequelize_typescript.DataType.STRING
|
|
65
65
|
})
|
|
66
66
|
], appReportCorruptionTransaction.prototype, "note", 2);
|
|
67
|
+
__decorateClass([
|
|
68
|
+
(0, import_sequelize_typescript.Column)({
|
|
69
|
+
field: "action_date",
|
|
70
|
+
allowNull: true,
|
|
71
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
72
|
+
})
|
|
73
|
+
], appReportCorruptionTransaction.prototype, "actionDate", 2);
|
|
74
|
+
__decorateClass([
|
|
75
|
+
(0, import_sequelize_typescript.Column)({
|
|
76
|
+
field: "send_date",
|
|
77
|
+
allowNull: true,
|
|
78
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
79
|
+
})
|
|
80
|
+
], appReportCorruptionTransaction.prototype, "sendDate", 2);
|
|
67
81
|
__decorateClass([
|
|
68
82
|
(0, import_sequelize_typescript.Column)({
|
|
69
83
|
allowNull: true,
|
|
@@ -221,6 +235,13 @@ __decorateClass([
|
|
|
221
235
|
type: import_sequelize_typescript2.DataType.STRING(30)
|
|
222
236
|
})
|
|
223
237
|
], appReportCorruption.prototype, "ipAddress", 2);
|
|
238
|
+
__decorateClass([
|
|
239
|
+
(0, import_sequelize_typescript2.Column)({
|
|
240
|
+
field: "consideration_date",
|
|
241
|
+
allowNull: true,
|
|
242
|
+
type: import_sequelize_typescript2.DataType.DATE
|
|
243
|
+
})
|
|
244
|
+
], appReportCorruption.prototype, "considerationDate", 2);
|
|
224
245
|
__decorateClass([
|
|
225
246
|
(0, import_sequelize_typescript2.Column)({
|
|
226
247
|
allowNull: true,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import 'sequelize-typescript';
|
|
2
|
-
export { d as appReportCorruptionTransaction, c as appReportCorruptionTransactionAttributes } from '../../appReportCorruption-
|
|
2
|
+
export { d as appReportCorruptionTransaction, c as appReportCorruptionTransactionAttributes } from '../../appReportCorruption-4BY0wm49.js';
|
|
@@ -147,6 +147,13 @@ __decorateClass([
|
|
|
147
147
|
type: import_sequelize_typescript.DataType.STRING(30)
|
|
148
148
|
})
|
|
149
149
|
], appReportCorruption.prototype, "ipAddress", 2);
|
|
150
|
+
__decorateClass([
|
|
151
|
+
(0, import_sequelize_typescript.Column)({
|
|
152
|
+
field: "consideration_date",
|
|
153
|
+
allowNull: true,
|
|
154
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
155
|
+
})
|
|
156
|
+
], appReportCorruption.prototype, "considerationDate", 2);
|
|
150
157
|
__decorateClass([
|
|
151
158
|
(0, import_sequelize_typescript.Column)({
|
|
152
159
|
allowNull: true,
|
|
@@ -223,6 +230,20 @@ __decorateClass([
|
|
|
223
230
|
type: import_sequelize_typescript2.DataType.STRING
|
|
224
231
|
})
|
|
225
232
|
], appReportCorruptionTransaction.prototype, "note", 2);
|
|
233
|
+
__decorateClass([
|
|
234
|
+
(0, import_sequelize_typescript2.Column)({
|
|
235
|
+
field: "action_date",
|
|
236
|
+
allowNull: true,
|
|
237
|
+
type: import_sequelize_typescript2.DataType.DATE
|
|
238
|
+
})
|
|
239
|
+
], appReportCorruptionTransaction.prototype, "actionDate", 2);
|
|
240
|
+
__decorateClass([
|
|
241
|
+
(0, import_sequelize_typescript2.Column)({
|
|
242
|
+
field: "send_date",
|
|
243
|
+
allowNull: true,
|
|
244
|
+
type: import_sequelize_typescript2.DataType.DATE
|
|
245
|
+
})
|
|
246
|
+
], appReportCorruptionTransaction.prototype, "sendDate", 2);
|
|
226
247
|
__decorateClass([
|
|
227
248
|
(0, import_sequelize_typescript2.Column)({
|
|
228
249
|
allowNull: true,
|
|
@@ -2,6 +2,7 @@ import { Model } from 'sequelize-typescript';
|
|
|
2
2
|
|
|
3
3
|
interface appScoreAttributes {
|
|
4
4
|
id?: number;
|
|
5
|
+
uuid?: string;
|
|
5
6
|
typeId?: number;
|
|
6
7
|
name?: string;
|
|
7
8
|
description?: string;
|
|
@@ -22,6 +23,7 @@ interface appScoreAttributes {
|
|
|
22
23
|
}
|
|
23
24
|
declare class appScore extends Model<appScoreAttributes, appScoreAttributes> implements appScoreAttributes {
|
|
24
25
|
id?: number;
|
|
26
|
+
uuid?: string;
|
|
25
27
|
typeId?: number;
|
|
26
28
|
name?: string;
|
|
27
29
|
description?: string;
|
|
@@ -41,6 +41,12 @@ __decorateClass([
|
|
|
41
41
|
type: import_sequelize_typescript.DataType.INTEGER
|
|
42
42
|
})
|
|
43
43
|
], appScore.prototype, "id", 2);
|
|
44
|
+
__decorateClass([
|
|
45
|
+
(0, import_sequelize_typescript.Column)({
|
|
46
|
+
allowNull: true,
|
|
47
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
48
|
+
})
|
|
49
|
+
], appScore.prototype, "uuid", 2);
|
|
44
50
|
__decorateClass([
|
|
45
51
|
(0, import_sequelize_typescript.Column)({
|
|
46
52
|
field: "type_id",
|
|
@@ -2,7 +2,7 @@ export { b as appBlessings, a as appBlessingsAttributes, d as appBlessingsTransa
|
|
|
2
2
|
export { appFaq, appFaqAttributes } from './appFaq.js';
|
|
3
3
|
export { appQueue, appQueueAttributes } from './appQueue.js';
|
|
4
4
|
export { appQueueTour, appQueueTourAttributes } from './appQueueTour.js';
|
|
5
|
-
export { b as appReportCorruption, a as appReportCorruptionAttributes, d as appReportCorruptionTransaction, c as appReportCorruptionTransactionAttributes } from '../../appReportCorruption-
|
|
5
|
+
export { b as appReportCorruption, a as appReportCorruptionAttributes, d as appReportCorruptionTransaction, c as appReportCorruptionTransactionAttributes } from '../../appReportCorruption-4BY0wm49.js';
|
|
6
6
|
export { appScore, appScoreAttributes } from './appScore.js';
|
|
7
7
|
export { appScoreData, appScoreDataAttributes } from './appScoreData.js';
|
|
8
8
|
export { appScorePerson, appScorePersonAttributes } from './appScorePerson.js';
|
|
@@ -20,6 +20,7 @@ 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
22
|
export { a as mdEbook, m as mdEbookAttributes, c as mdEbookGroup, b as mdEbookGroupAttributes } from '../../mdEbook-BqC65Ujw.js';
|
|
23
|
+
export { mdEgp, mdEgpAttributes } from './mdEgp.js';
|
|
23
24
|
export { a as mdFaq, m as mdFaqAttributes, c as mdFaqGroup, b as mdFaqGroupAttributes } from '../../mdFaq-CHIPG3yZ.js';
|
|
24
25
|
export { mdFormAdvance_1, mdFormAdvance_1Attributes } from './mdFormAdvance_1.js';
|
|
25
26
|
export { mdFormAdvance_2, mdFormAdvance_2Attributes } from './mdFormAdvance_2.js';
|
|
@@ -32,6 +33,10 @@ export { a as mdTranslate, m as mdTranslateAttributes, c as mdTranslateGroup, b
|
|
|
32
33
|
export { mdVideo, mdVideoAttributes } from './mdVideo.js';
|
|
33
34
|
export { mdWords, mdWordsAttributes } from './mdWords.js';
|
|
34
35
|
export { member, memberAttributes } from './member.js';
|
|
36
|
+
export { msConsultCase, msConsultCaseAttributes } from './msConsultCase.js';
|
|
37
|
+
export { msConsultChannels, msConsultChannelsAttributes } from './msConsultChannels.js';
|
|
38
|
+
export { msConsultInstructions, msConsultInstructionsAttributes } from './msConsultInstructions.js';
|
|
39
|
+
export { msConsultService, msConsultServiceAttributes } from './msConsultService.js';
|
|
35
40
|
export { a as msExecutive, m as msExecutiveAttributes, c as msExecutiveGroup, b as msExecutiveGroupAttributes, e as msExecutivePosition, d as msExecutivePositionAttributes } from '../../msExecutive-BFeU4P0-.js';
|
|
36
41
|
export { msExecutiveBoard, msExecutiveBoardAttributes } from './msExecutiveBoard.js';
|
|
37
42
|
export { msExecutiveLevel, msExecutiveLevelAttributes } from './msExecutiveLevel.js';
|