@admc-go-th/admc-library 1.0.123 → 1.0.125

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 (45) hide show
  1. package/{appReportCorruption-CWG66n6V.d.ts → appReportCorruption-BsdsQQ1q.d.ts} +8 -0
  2. package/databases/schema/appFaq.ts +31 -0
  3. package/databases/schema/appQueue.ts +15 -0
  4. package/databases/schema/appQueueTour.ts +7 -0
  5. package/databases/schema/appReportCorruption.ts +17 -1
  6. package/databases/schema/appReportCorruptionTransaction.ts +16 -0
  7. package/databases/schema/index.ts +9 -0
  8. package/databases/schema/mdEgp.ts +113 -113
  9. package/databases/schema/msConsultCase.ts +83 -0
  10. package/databases/schema/msConsultChannels.ts +75 -0
  11. package/databases/schema/msConsultInstructions.ts +82 -0
  12. package/databases/schema/msConsultService.ts +108 -0
  13. package/databases/schema/msConsultSiteChannel.ts +77 -0
  14. package/databases/schema/msConsultSiteHoliday.ts +99 -0
  15. package/databases/schema/msConsultSiteStaff.ts +76 -0
  16. package/databases/schema/msVariable.ts +68 -0
  17. package/databases/tables/appFaq.d.ts +8 -0
  18. package/databases/tables/appFaq.js +27 -0
  19. package/databases/tables/appQueue.d.ts +4 -0
  20. package/databases/tables/appQueue.js +13 -0
  21. package/databases/tables/appQueueTour.d.ts +2 -0
  22. package/databases/tables/appQueueTour.js +6 -0
  23. package/databases/tables/appReportCorruption.d.ts +1 -1
  24. package/databases/tables/appReportCorruption.js +29 -1
  25. package/databases/tables/appReportCorruptionTransaction.d.ts +1 -1
  26. package/databases/tables/appReportCorruptionTransaction.js +29 -1
  27. package/databases/tables/index.d.ts +10 -1
  28. package/databases/tables/index.js +2023 -1261
  29. package/databases/tables/msConsultCase.d.ts +26 -0
  30. package/databases/tables/msConsultCase.js +106 -0
  31. package/databases/tables/msConsultChannels.d.ts +24 -0
  32. package/databases/tables/msConsultChannels.js +99 -0
  33. package/databases/tables/msConsultInstructions.d.ts +26 -0
  34. package/databases/tables/msConsultInstructions.js +105 -0
  35. package/databases/tables/msConsultService.d.ts +32 -0
  36. package/databases/tables/msConsultService.js +128 -0
  37. package/databases/tables/msConsultSiteChannel.d.ts +24 -0
  38. package/databases/tables/msConsultSiteChannel.js +101 -0
  39. package/databases/tables/msConsultSiteHoliday.d.ts +30 -0
  40. package/databases/tables/msConsultSiteHoliday.js +120 -0
  41. package/databases/tables/msConsultSiteStaff.d.ts +24 -0
  42. package/databases/tables/msConsultSiteStaff.js +100 -0
  43. package/databases/tables/msVariable.d.ts +22 -0
  44. package/databases/tables/msVariable.js +93 -0
  45. package/package.json +1 -1
@@ -5,6 +5,8 @@ interface appReportCorruptionTransactionAttributes {
5
5
  corruptionId?: number;
6
6
  process?: number;
7
7
  note?: string;
8
+ actionDate?: Date;
9
+ sendDate?: Date;
8
10
  status?: number;
9
11
  createdBy?: string;
10
12
  createdDate?: Date;
@@ -16,6 +18,8 @@ declare class appReportCorruptionTransaction extends Model<appReportCorruptionTr
16
18
  corruptionId?: number;
17
19
  process?: number;
18
20
  note?: string;
21
+ actionDate?: Date;
22
+ sendDate?: Date;
19
23
  status?: number;
20
24
  createdBy?: string;
21
25
  createdDate?: Date;
@@ -42,6 +46,8 @@ interface appReportCorruptionAttributes {
42
46
  attachments?: object;
43
47
  isRequestPostOffice?: number;
44
48
  ipAddress?: string;
49
+ considerationDate?: Date;
50
+ extendDate?: Date;
45
51
  status?: number;
46
52
  createdBy?: string;
47
53
  createdDate?: Date;
@@ -66,6 +72,8 @@ declare class appReportCorruption extends Model<appReportCorruptionAttributes, a
66
72
  attachments?: object;
67
73
  isRequestPostOffice?: number;
68
74
  ipAddress?: string;
75
+ considerationDate?: Date;
76
+ extendDate?: Date;
69
77
  status?: number;
70
78
  createdBy?: string;
71
79
  createdDate?: Date;
@@ -14,7 +14,11 @@ export interface appFaqAttributes {
14
14
  detail?: string;
15
15
  attachments?: object;
16
16
  answer?: string;
17
+ answerBy?: string;
18
+ answerDate?: Date;
19
+ answerInfo?: object;
17
20
  status?: number;
21
+ publish?: number;
18
22
  createdBy?: string;
19
23
  createdDate?: Date;
20
24
  updatedBy?: string;
@@ -97,12 +101,39 @@ export class appFaq extends Model<appFaqAttributes, appFaqAttributes> implements
97
101
  })
98
102
  declare answer?: string;
99
103
 
104
+ @Column({
105
+ field: "answer_by",
106
+ allowNull: true,
107
+ type: DataType.STRING(60)
108
+ })
109
+ declare answerBy?: string;
110
+
111
+ @Column({
112
+ field: "answer_date",
113
+ allowNull: true,
114
+ type: DataType.DATE
115
+ })
116
+ declare answerDate?: Date;
117
+
118
+ @Column({
119
+ field: "answer_info",
120
+ allowNull: true,
121
+ type: DataType.JSON
122
+ })
123
+ declare answerInfo?: object;
124
+
100
125
  @Column({
101
126
  allowNull: true,
102
127
  type: DataType.INTEGER
103
128
  })
104
129
  declare status?: number;
105
130
 
131
+ @Column({
132
+ allowNull: true,
133
+ type: DataType.INTEGER
134
+ })
135
+ declare publish?: number;
136
+
106
137
  @Column({
107
138
  field: "created_by",
108
139
  allowNull: true,
@@ -5,6 +5,7 @@ import {
5
5
  export interface appQueueAttributes {
6
6
  id?: number;
7
7
  uuid?: string;
8
+ code?: string;
8
9
  siteId?: number;
9
10
  requestDate?: string;
10
11
  approveDate?: string;
@@ -23,6 +24,7 @@ export interface appQueueAttributes {
23
24
  issues?: string;
24
25
  attachments?: object;
25
26
  ipAddress?: string;
27
+ staffId?: number;
26
28
  status?: number;
27
29
  createdBy?: string;
28
30
  createdDate?: Date;
@@ -49,6 +51,12 @@ export class appQueue extends Model<appQueueAttributes, appQueueAttributes> impl
49
51
  })
50
52
  declare uuid?: string;
51
53
 
54
+ @Column({
55
+ allowNull: true,
56
+ type: DataType.STRING(15)
57
+ })
58
+ declare code?: string;
59
+
52
60
  @Column({
53
61
  field: "site_id",
54
62
  allowNull: true,
@@ -170,6 +178,13 @@ export class appQueue extends Model<appQueueAttributes, appQueueAttributes> impl
170
178
  })
171
179
  declare ipAddress?: string;
172
180
 
181
+ @Column({
182
+ field: "staff_id",
183
+ allowNull: true,
184
+ type: DataType.INTEGER
185
+ })
186
+ declare staffId?: number;
187
+
173
188
  @Column({
174
189
  allowNull: true,
175
190
  type: DataType.INTEGER
@@ -5,6 +5,7 @@ import {
5
5
  export interface appQueueTourAttributes {
6
6
  id?: number;
7
7
  uuid?: string;
8
+ code?: string;
8
9
  requestDate?: string;
9
10
  approveDate?: string;
10
11
  timeSlot?: number;
@@ -47,6 +48,12 @@ export class appQueueTour extends Model<appQueueTourAttributes, appQueueTourAttr
47
48
  })
48
49
  declare uuid?: string;
49
50
 
51
+ @Column({
52
+ allowNull: true,
53
+ type: DataType.STRING(15)
54
+ })
55
+ declare code?: string;
56
+
50
57
  @Column({
51
58
  field: "request_date",
52
59
  allowNull: true,
@@ -21,6 +21,8 @@ export interface appReportCorruptionAttributes {
21
21
  attachments?: object;
22
22
  isRequestPostOffice?: number;
23
23
  ipAddress?: string;
24
+ considerationDate?: Date;
25
+ extendDate?: Date;
24
26
  status?: number;
25
27
  createdBy?: string;
26
28
  createdDate?: Date;
@@ -49,7 +51,7 @@ export class appReportCorruption extends Model<appReportCorruptionAttributes, ap
49
51
 
50
52
  @Column({
51
53
  allowNull: true,
52
- type: DataType.STRING(10)
54
+ type: DataType.STRING(15)
53
55
  })
54
56
  declare code?: string;
55
57
 
@@ -144,6 +146,20 @@ export class appReportCorruption extends Model<appReportCorruptionAttributes, ap
144
146
  })
145
147
  declare ipAddress?: string;
146
148
 
149
+ @Column({
150
+ field: "consideration_date",
151
+ allowNull: true,
152
+ type: DataType.DATE
153
+ })
154
+ declare considerationDate?: Date;
155
+
156
+ @Column({
157
+ field: "extend_date",
158
+ allowNull: true,
159
+ type: DataType.DATE
160
+ })
161
+ declare extendDate?: Date;
162
+
147
163
  @Column({
148
164
  allowNull: true,
149
165
  type: DataType.INTEGER
@@ -8,6 +8,8 @@ export interface appReportCorruptionTransactionAttributes {
8
8
  corruptionId?: number;
9
9
  process?: number;
10
10
  note?: string;
11
+ actionDate?: Date;
12
+ sendDate?: Date;
11
13
  status?: number;
12
14
  createdBy?: string;
13
15
  createdDate?: Date;
@@ -48,6 +50,20 @@ export class appReportCorruptionTransaction extends Model<appReportCorruptionTra
48
50
  })
49
51
  declare note?: string;
50
52
 
53
+ @Column({
54
+ field: "action_date",
55
+ allowNull: true,
56
+ type: DataType.DATE
57
+ })
58
+ declare actionDate?: Date;
59
+
60
+ @Column({
61
+ field: "send_date",
62
+ allowNull: true,
63
+ type: DataType.DATE
64
+ })
65
+ declare sendDate?: Date;
66
+
51
67
  @Column({
52
68
  allowNull: true,
53
69
  type: DataType.INTEGER
@@ -30,6 +30,7 @@ export * from "./mdDownload";
30
30
  export * from "./mdDownloadGroup";
31
31
  export * from "./mdEbook";
32
32
  export * from "./mdEbookGroup";
33
+ export * from "./mdEgp";
33
34
  export * from "./mdFaq";
34
35
  export * from "./mdFaqGroup";
35
36
  export * from "./mdFormAdvance_1";
@@ -49,6 +50,13 @@ export * from "./mdVideo";
49
50
  export * from "./mdWords";
50
51
  export * from "./member";
51
52
  export * from "./menu";
53
+ export * from "./msConsultCase";
54
+ export * from "./msConsultChannels";
55
+ export * from "./msConsultInstructions";
56
+ export * from "./msConsultService";
57
+ export * from "./msConsultSiteChannel";
58
+ export * from "./msConsultSiteHoliday";
59
+ export * from "./msConsultSiteStaff";
52
60
  export * from "./msExecutive";
53
61
  export * from "./msExecutiveBoard";
54
62
  export * from "./msExecutiveGroup";
@@ -59,6 +67,7 @@ export * from "./msHoliday";
59
67
  export * from "./msModule";
60
68
  export * from "./msProvince";
61
69
  export * from "./msTitle";
70
+ export * from "./msVariable";
62
71
  export * from "./msWebsite";
63
72
  export * from "./oauthAccessToken";
64
73
  export * from "./oauthRefreshToken";
@@ -1,114 +1,114 @@
1
- import {
2
- Model, Table, Column, DataType, Index, Sequelize, ForeignKey
3
- } from "sequelize-typescript";
4
-
5
- export interface mdEgpAttributes {
6
- id?: number;
7
- uuid: string;
8
- agencyCode?: string;
9
- title?: string;
10
- description?: string;
11
- projectCode?: string;
12
- publishedDate?: Date;
13
- attachmentLink?: string;
14
- fileUuid?: string;
15
- methodId?: string;
16
- announceType?: string;
17
- createdDate?: Date;
18
- updatedDate?: Date;
19
- }
20
-
21
- @Table({
22
- tableName: "md_egp",
23
- timestamps: false
24
- })
25
- export class mdEgp extends Model<mdEgpAttributes, mdEgpAttributes> implements mdEgpAttributes {
26
-
27
- @Column({
28
- primaryKey: true,
29
- autoIncrement: true,
30
- type: DataType.INTEGER
31
- })
32
- declare id?: number;
33
-
34
- @Column({
35
- type: DataType.STRING(60)
36
- })
37
- declare uuid: string;
38
-
39
- @Column({
40
- field: "agency_code",
41
- allowNull: true,
42
- type: DataType.STRING(60)
43
- })
44
- declare agencyCode?: string;
45
-
46
- @Column({
47
- allowNull: true,
48
- type: DataType.STRING(255)
49
- })
50
- declare title?: string;
51
-
52
- @Column({
53
- allowNull: true,
54
- type: DataType.STRING(255)
55
- })
56
- declare description?: string;
57
-
58
- @Column({
59
- field: "project_code",
60
- allowNull: true,
61
- type: DataType.STRING(60)
62
- })
63
- declare projectCode?: string;
64
-
65
- @Column({
66
- field: "published_date",
67
- allowNull: true,
68
- type: DataType.DATE
69
- })
70
- declare publishedDate?: Date;
71
-
72
- @Column({
73
- field: "attachment_link",
74
- allowNull: true,
75
- type: DataType.STRING(255)
76
- })
77
- declare attachmentLink?: string;
78
-
79
- @Column({
80
- field: "file_uuid",
81
- allowNull: true,
82
- type: DataType.STRING(255)
83
- })
84
- declare fileUuid?: string;
85
-
86
- @Column({
87
- field: "method_id",
88
- allowNull: true,
89
- type: DataType.STRING(20)
90
- })
91
- declare methodId?: string;
92
-
93
- @Column({
94
- field: "announce_type",
95
- allowNull: true,
96
- type: DataType.STRING(20)
97
- })
98
- declare announceType?: string;
99
-
100
- @Column({
101
- field: "created_date",
102
- allowNull: true,
103
- type: DataType.DATE
104
- })
105
- declare createdDate?: Date;
106
-
107
- @Column({
108
- field: "updated_date",
109
- allowNull: true,
110
- type: DataType.DATE
111
- })
112
- declare updatedDate?: Date;
113
-
1
+ import {
2
+ Model, Table, Column, DataType, Index, Sequelize, ForeignKey
3
+ } from "sequelize-typescript";
4
+
5
+ export interface mdEgpAttributes {
6
+ id?: number;
7
+ uuid: string;
8
+ agencyCode?: string;
9
+ title?: string;
10
+ description?: string;
11
+ projectCode?: string;
12
+ publishedDate?: Date;
13
+ attachmentLink?: string;
14
+ fileUuid?: string;
15
+ methodId?: string;
16
+ announceType?: string;
17
+ createdDate?: Date;
18
+ updatedDate?: Date;
19
+ }
20
+
21
+ @Table({
22
+ tableName: "md_egp",
23
+ timestamps: false
24
+ })
25
+ export class mdEgp extends Model<mdEgpAttributes, mdEgpAttributes> implements mdEgpAttributes {
26
+
27
+ @Column({
28
+ primaryKey: true,
29
+ autoIncrement: true,
30
+ type: DataType.INTEGER
31
+ })
32
+ declare id?: number;
33
+
34
+ @Column({
35
+ type: DataType.STRING(60)
36
+ })
37
+ declare uuid: string;
38
+
39
+ @Column({
40
+ field: "agency_code",
41
+ allowNull: true,
42
+ type: DataType.STRING(60)
43
+ })
44
+ declare agencyCode?: string;
45
+
46
+ @Column({
47
+ allowNull: true,
48
+ type: DataType.STRING(255)
49
+ })
50
+ declare title?: string;
51
+
52
+ @Column({
53
+ allowNull: true,
54
+ type: DataType.STRING(255)
55
+ })
56
+ declare description?: string;
57
+
58
+ @Column({
59
+ field: "project_code",
60
+ allowNull: true,
61
+ type: DataType.STRING(60)
62
+ })
63
+ declare projectCode?: string;
64
+
65
+ @Column({
66
+ field: "published_date",
67
+ allowNull: true,
68
+ type: DataType.DATE
69
+ })
70
+ declare publishedDate?: Date;
71
+
72
+ @Column({
73
+ field: "attachment_link",
74
+ allowNull: true,
75
+ type: DataType.STRING(255)
76
+ })
77
+ declare attachmentLink?: string;
78
+
79
+ @Column({
80
+ field: "file_uuid",
81
+ allowNull: true,
82
+ type: DataType.STRING(255)
83
+ })
84
+ declare fileUuid?: string;
85
+
86
+ @Column({
87
+ field: "method_id",
88
+ allowNull: true,
89
+ type: DataType.STRING(20)
90
+ })
91
+ declare methodId?: string;
92
+
93
+ @Column({
94
+ field: "announce_type",
95
+ allowNull: true,
96
+ type: DataType.STRING(20)
97
+ })
98
+ declare announceType?: string;
99
+
100
+ @Column({
101
+ field: "created_date",
102
+ allowNull: true,
103
+ type: DataType.DATE
104
+ })
105
+ declare createdDate?: Date;
106
+
107
+ @Column({
108
+ field: "updated_date",
109
+ allowNull: true,
110
+ type: DataType.DATE
111
+ })
112
+ declare updatedDate?: Date;
113
+
114
114
  }
@@ -0,0 +1,83 @@
1
+ import {
2
+ Model, Table, Column, DataType, Index, Sequelize, ForeignKey
3
+ } from "sequelize-typescript";
4
+
5
+ export interface msConsultCaseAttributes {
6
+ id?: number;
7
+ siteId?: number;
8
+ name?: string;
9
+ sort?: number;
10
+ status?: number;
11
+ createdBy?: string;
12
+ createdDate?: Date;
13
+ updatedBy?: string;
14
+ updatedDate?: Date;
15
+ }
16
+
17
+ @Table({
18
+ tableName: "ms_consult_case",
19
+ timestamps: false
20
+ })
21
+ export class msConsultCase extends Model<msConsultCaseAttributes, msConsultCaseAttributes> implements msConsultCaseAttributes {
22
+
23
+ @Column({
24
+ primaryKey: true,
25
+ autoIncrement: true,
26
+ type: DataType.INTEGER
27
+ })
28
+ declare id?: number;
29
+
30
+ @Column({
31
+ field: "site_id",
32
+ allowNull: true,
33
+ type: DataType.INTEGER
34
+ })
35
+ declare siteId?: number;
36
+
37
+ @Column({
38
+ allowNull: true,
39
+ type: DataType.STRING(255)
40
+ })
41
+ declare name?: string;
42
+
43
+ @Column({
44
+ allowNull: true,
45
+ type: DataType.INTEGER
46
+ })
47
+ declare sort?: number;
48
+
49
+ @Column({
50
+ allowNull: true,
51
+ type: DataType.INTEGER
52
+ })
53
+ declare status?: number;
54
+
55
+ @Column({
56
+ field: "created_by",
57
+ allowNull: true,
58
+ type: DataType.STRING(60)
59
+ })
60
+ declare createdBy?: string;
61
+
62
+ @Column({
63
+ field: "created_date",
64
+ allowNull: true,
65
+ type: DataType.DATE
66
+ })
67
+ declare createdDate?: Date;
68
+
69
+ @Column({
70
+ field: "updated_by",
71
+ allowNull: true,
72
+ type: DataType.STRING(60)
73
+ })
74
+ declare updatedBy?: string;
75
+
76
+ @Column({
77
+ field: "updated_date",
78
+ allowNull: true,
79
+ type: DataType.DATE
80
+ })
81
+ declare updatedDate?: Date;
82
+
83
+ }
@@ -0,0 +1,75 @@
1
+ import {
2
+ Model, Table, Column, DataType, Index, Sequelize, ForeignKey
3
+ } from "sequelize-typescript";
4
+
5
+ export interface msConsultChannelsAttributes {
6
+ id?: number;
7
+ name?: string;
8
+ sort?: number;
9
+ status?: number;
10
+ createdBy?: string;
11
+ createdDate?: Date;
12
+ updatedBy?: string;
13
+ updatedDate?: Date;
14
+ }
15
+
16
+ @Table({
17
+ tableName: "ms_consult_channels",
18
+ timestamps: false
19
+ })
20
+ export class msConsultChannels extends Model<msConsultChannelsAttributes, msConsultChannelsAttributes> implements msConsultChannelsAttributes {
21
+
22
+ @Column({
23
+ primaryKey: true,
24
+ autoIncrement: true,
25
+ type: DataType.INTEGER
26
+ })
27
+ declare id?: number;
28
+
29
+ @Column({
30
+ allowNull: true,
31
+ type: DataType.STRING(255)
32
+ })
33
+ declare name?: string;
34
+
35
+ @Column({
36
+ allowNull: true,
37
+ type: DataType.INTEGER
38
+ })
39
+ declare sort?: number;
40
+
41
+ @Column({
42
+ allowNull: true,
43
+ type: DataType.INTEGER
44
+ })
45
+ declare status?: number;
46
+
47
+ @Column({
48
+ field: "created_by",
49
+ allowNull: true,
50
+ type: DataType.STRING(60)
51
+ })
52
+ declare createdBy?: string;
53
+
54
+ @Column({
55
+ field: "created_date",
56
+ allowNull: true,
57
+ type: DataType.DATE
58
+ })
59
+ declare createdDate?: Date;
60
+
61
+ @Column({
62
+ field: "updated_by",
63
+ allowNull: true,
64
+ type: DataType.STRING(60)
65
+ })
66
+ declare updatedBy?: string;
67
+
68
+ @Column({
69
+ field: "updated_date",
70
+ allowNull: true,
71
+ type: DataType.DATE
72
+ })
73
+ declare updatedDate?: Date;
74
+
75
+ }