@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.
Files changed (30) hide show
  1. package/{appReportCorruption-CWG66n6V.d.ts → appReportCorruption-4BY0wm49.d.ts} +6 -0
  2. package/databases/schema/appFaq.ts +31 -0
  3. package/databases/schema/appReportCorruption.ts +8 -0
  4. package/databases/schema/appReportCorruptionTransaction.ts +16 -0
  5. package/databases/schema/appScore.ts +7 -0
  6. package/databases/schema/index.ts +5 -0
  7. package/databases/schema/mdEgp.ts +113 -113
  8. package/databases/schema/msConsultCase.ts +83 -0
  9. package/databases/schema/msConsultChannels.ts +75 -0
  10. package/databases/schema/msConsultInstructions.ts +82 -0
  11. package/databases/schema/msConsultService.ts +108 -0
  12. package/databases/tables/appFaq.d.ts +8 -0
  13. package/databases/tables/appFaq.js +27 -0
  14. package/databases/tables/appReportCorruption.d.ts +1 -1
  15. package/databases/tables/appReportCorruption.js +21 -0
  16. package/databases/tables/appReportCorruptionTransaction.d.ts +1 -1
  17. package/databases/tables/appReportCorruptionTransaction.js +21 -0
  18. package/databases/tables/appScore.d.ts +2 -0
  19. package/databases/tables/appScore.js +6 -0
  20. package/databases/tables/index.d.ts +6 -1
  21. package/databases/tables/index.js +1722 -1262
  22. package/databases/tables/msConsultCase.d.ts +26 -0
  23. package/databases/tables/msConsultCase.js +106 -0
  24. package/databases/tables/msConsultChannels.d.ts +24 -0
  25. package/databases/tables/msConsultChannels.js +99 -0
  26. package/databases/tables/msConsultInstructions.d.ts +26 -0
  27. package/databases/tables/msConsultInstructions.js +105 -0
  28. package/databases/tables/msConsultService.d.ts +32 -0
  29. package/databases/tables/msConsultService.js +128 -0
  30. 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,7 @@ interface appReportCorruptionAttributes {
42
46
  attachments?: object;
43
47
  isRequestPostOffice?: number;
44
48
  ipAddress?: string;
49
+ considerationDate?: Date;
45
50
  status?: number;
46
51
  createdBy?: string;
47
52
  createdDate?: Date;
@@ -66,6 +71,7 @@ declare class appReportCorruption extends Model<appReportCorruptionAttributes, a
66
71
  attachments?: object;
67
72
  isRequestPostOffice?: number;
68
73
  ipAddress?: string;
74
+ considerationDate?: Date;
69
75
  status?: number;
70
76
  createdBy?: string;
71
77
  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,
@@ -21,6 +21,7 @@ export interface appReportCorruptionAttributes {
21
21
  attachments?: object;
22
22
  isRequestPostOffice?: number;
23
23
  ipAddress?: string;
24
+ considerationDate?: Date;
24
25
  status?: number;
25
26
  createdBy?: string;
26
27
  createdDate?: Date;
@@ -144,6 +145,13 @@ export class appReportCorruption extends Model<appReportCorruptionAttributes, ap
144
145
  })
145
146
  declare ipAddress?: string;
146
147
 
148
+ @Column({
149
+ field: "consideration_date",
150
+ allowNull: true,
151
+ type: DataType.DATE
152
+ })
153
+ declare considerationDate?: Date;
154
+
147
155
  @Column({
148
156
  allowNull: true,
149
157
  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
@@ -4,6 +4,7 @@ import {
4
4
 
5
5
  export interface appScoreAttributes {
6
6
  id?: number;
7
+ uuid?: string;
7
8
  typeId?: number;
8
9
  name?: string;
9
10
  description?: string;
@@ -36,6 +37,12 @@ export class appScore extends Model<appScoreAttributes, appScoreAttributes> impl
36
37
  })
37
38
  declare id?: number;
38
39
 
40
+ @Column({
41
+ allowNull: true,
42
+ type: DataType.STRING(60)
43
+ })
44
+ declare uuid?: string;
45
+
39
46
  @Column({
40
47
  field: "type_id",
41
48
  allowNull: true,
@@ -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,10 @@ 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";
52
57
  export * from "./msExecutive";
53
58
  export * from "./msExecutiveBoard";
54
59
  export * from "./msExecutiveGroup";
@@ -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
+ }
@@ -0,0 +1,82 @@
1
+ import {
2
+ Model, Table, Column, DataType, Index, Sequelize, ForeignKey
3
+ } from "sequelize-typescript";
4
+
5
+ export interface msConsultInstructionsAttributes {
6
+ id?: number;
7
+ name?: string;
8
+ detail?: 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_instructions",
19
+ timestamps: false
20
+ })
21
+ export class msConsultInstructions extends Model<msConsultInstructionsAttributes, msConsultInstructionsAttributes> implements msConsultInstructionsAttributes {
22
+
23
+ @Column({
24
+ primaryKey: true,
25
+ autoIncrement: true,
26
+ type: DataType.INTEGER
27
+ })
28
+ declare id?: number;
29
+
30
+ @Column({
31
+ allowNull: true,
32
+ type: DataType.STRING(255)
33
+ })
34
+ declare name?: string;
35
+
36
+ @Column({
37
+ allowNull: true,
38
+ type: DataType.STRING
39
+ })
40
+ declare detail?: string;
41
+
42
+ @Column({
43
+ allowNull: true,
44
+ type: DataType.INTEGER
45
+ })
46
+ declare sort?: number;
47
+
48
+ @Column({
49
+ allowNull: true,
50
+ type: DataType.INTEGER
51
+ })
52
+ declare status?: number;
53
+
54
+ @Column({
55
+ field: "created_by",
56
+ allowNull: true,
57
+ type: DataType.STRING(60)
58
+ })
59
+ declare createdBy?: string;
60
+
61
+ @Column({
62
+ field: "created_date",
63
+ allowNull: true,
64
+ type: DataType.DATE
65
+ })
66
+ declare createdDate?: Date;
67
+
68
+ @Column({
69
+ field: "updated_by",
70
+ allowNull: true,
71
+ type: DataType.STRING(60)
72
+ })
73
+ declare updatedBy?: string;
74
+
75
+ @Column({
76
+ field: "updated_date",
77
+ allowNull: true,
78
+ type: DataType.DATE
79
+ })
80
+ declare updatedDate?: Date;
81
+
82
+ }