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

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 (84) 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 +8 -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/msExecutive.ts +0 -5
  14. package/databases/schema/msExecutiveActing.ts +75 -0
  15. package/databases/schema/msExecutiveBoard.ts +82 -82
  16. package/databases/schema/msExecutiveBoardBk.ts +83 -0
  17. package/databases/schema/msExecutivePosition.ts +117 -117
  18. package/databases/schema/msExecutivePositionBk.ts +112 -0
  19. package/databases/schema/msGuidelines.ts +88 -88
  20. package/databases/schema/msOrganization.ts +139 -0
  21. package/databases/schema/msPosition.ts +76 -0
  22. package/databases/schema/msQueueTourFaq.ts +90 -0
  23. package/databases/schema/msQueueTourGuidelines.ts +90 -0
  24. package/databases/schema/setting.ts +73 -73
  25. package/databases/schema/userPermissionV.ts +78 -0
  26. package/databases/schema/users.ts +62 -0
  27. package/databases/tables/appQueue.d.ts +1 -1
  28. package/databases/tables/appQueue.js +21 -7
  29. package/databases/tables/appScore.d.ts +2 -0
  30. package/databases/tables/appScore.js +7 -0
  31. package/databases/tables/authAssignment.d.ts +1 -1
  32. package/databases/tables/authAssignment.js +54 -0
  33. package/databases/tables/authRole.d.ts +1 -1
  34. package/databases/tables/authRole.js +54 -0
  35. package/databases/tables/authRoleChild.d.ts +1 -1
  36. package/databases/tables/authRoleChild.js +54 -0
  37. package/databases/tables/index.d.ts +11 -7
  38. package/databases/tables/index.js +942 -690
  39. package/databases/tables/mdContent.d.ts +1 -1
  40. package/databases/tables/mdContent.js +54 -0
  41. package/databases/tables/mdContentGroup.d.ts +1 -1
  42. package/databases/tables/mdContentGroup.js +54 -0
  43. package/databases/tables/mdQuestionnaire.d.ts +1 -1
  44. package/databases/tables/mdQuestionnaire.js +54 -0
  45. package/databases/tables/mdQuestionnaireData.d.ts +1 -1
  46. package/databases/tables/mdQuestionnaireData.js +54 -0
  47. package/databases/tables/msConsultCase.d.ts +0 -2
  48. package/databases/tables/msConsultCase.js +0 -7
  49. package/databases/tables/msConsultChannels.d.ts +1 -1
  50. package/databases/tables/msConsultChannels.js +21 -7
  51. package/databases/tables/msConsultSiteCase.d.ts +28 -0
  52. package/databases/tables/msConsultSiteCase.js +113 -0
  53. package/databases/tables/msConsultSiteIssue.d.ts +26 -0
  54. package/databases/tables/msConsultSiteIssue.js +107 -0
  55. package/databases/tables/msExecutive.d.ts +1 -1
  56. package/databases/tables/msExecutive.js +47 -152
  57. package/databases/tables/msExecutiveActing.d.ts +24 -0
  58. package/databases/tables/msExecutiveActing.js +99 -0
  59. package/databases/tables/msExecutiveBoardBk.d.ts +26 -0
  60. package/databases/tables/msExecutiveBoardBk.js +106 -0
  61. package/databases/tables/msExecutiveGroup.d.ts +1 -1
  62. package/databases/tables/msExecutiveGroup.js +77 -184
  63. package/databases/tables/msExecutivePosition.d.ts +36 -2
  64. package/databases/tables/msExecutivePosition.js +0 -4
  65. package/databases/tables/msExecutivePositionBk.d.ts +34 -0
  66. package/databases/tables/msExecutivePositionBk.js +131 -0
  67. package/databases/tables/msOrganization.d.ts +40 -0
  68. package/databases/tables/msOrganization.js +155 -0
  69. package/databases/tables/msPosition.d.ts +24 -0
  70. package/databases/tables/msPosition.js +100 -0
  71. package/databases/tables/msQueueTourFaq.d.ts +28 -0
  72. package/databases/tables/msQueueTourFaq.js +112 -0
  73. package/databases/tables/msQueueTourGuidelines.d.ts +28 -0
  74. package/databases/tables/msQueueTourGuidelines.js +112 -0
  75. package/databases/tables/msWebsite.d.ts +1 -1
  76. package/databases/tables/msWebsite.js +21 -7
  77. package/databases/tables/userPermissionV.d.ts +26 -0
  78. package/databases/tables/userPermissionV.js +101 -0
  79. package/databases/tables/users.d.ts +1 -1
  80. package/databases/tables/users.js +54 -0
  81. package/databases/tables/usersVerify.d.ts +1 -1
  82. package/databases/tables/usersVerify.js +54 -0
  83. package/{msExecutive-BFeU4P0-.d.ts → msExecutive-Yxx8Wpkj.d.ts} +1 -34
  84. package/package.json +1 -1
@@ -102,12 +102,14 @@ interface appQueueAttributes {
102
102
  issues?: string;
103
103
  attachments?: object;
104
104
  ipAddress?: string;
105
- staffId?: number;
106
105
  status?: number;
107
106
  caseTypeId?: number;
108
107
  caseSectionId?: number;
109
108
  caseSectionOther?: string;
110
109
  caseJurisdiction?: number;
110
+ staffId?: number;
111
+ staffChannelId?: number;
112
+ staffChannel?: object;
111
113
  staffIssues?: string;
112
114
  staffNote?: string;
113
115
  createdBy?: string;
@@ -139,12 +141,14 @@ declare class appQueue extends Model<appQueueAttributes, appQueueAttributes> imp
139
141
  issues?: string;
140
142
  attachments?: object;
141
143
  ipAddress?: string;
142
- staffId?: number;
143
144
  status?: number;
144
145
  caseTypeId?: number;
145
146
  caseSectionId?: number;
146
147
  caseSectionOther?: string;
147
148
  caseJurisdiction?: number;
149
+ staffId?: number;
150
+ staffChannelId?: number;
151
+ staffChannel?: object;
148
152
  staffIssues?: string;
149
153
  staffNote?: string;
150
154
  createdBy?: string;
@@ -191,9 +191,17 @@ interface usersAttributes {
191
191
  userAuthen?: string;
192
192
  userType?: number;
193
193
  prefix?: string;
194
+ prefixId?: number;
194
195
  firstName?: string;
195
196
  lastName?: string;
197
+ firstNameEn?: string;
198
+ lastNameEn?: string;
196
199
  phone?: string;
200
+ organizationId?: number;
201
+ occupation?: string;
202
+ position?: string;
203
+ positionId?: number;
204
+ genderCode?: string;
197
205
  status?: number;
198
206
  is_2fa?: number;
199
207
  createdBy?: string;
@@ -220,9 +228,17 @@ declare class users extends Model<usersAttributes, usersAttributes> implements u
220
228
  userAuthen?: string;
221
229
  userType?: number;
222
230
  prefix?: string;
231
+ prefixId?: number;
223
232
  firstName?: string;
224
233
  lastName?: string;
234
+ firstNameEn?: string;
235
+ lastNameEn?: string;
225
236
  phone?: string;
237
+ organizationId?: number;
238
+ occupation?: string;
239
+ position?: string;
240
+ positionId?: number;
241
+ genderCode?: string;
226
242
  status?: number;
227
243
  is_2fa?: number;
228
244
  createdBy?: string;
@@ -28,12 +28,14 @@ export interface appQueueAttributes {
28
28
  issues?: string;
29
29
  attachments?: object;
30
30
  ipAddress?: string;
31
- staffId?: number;
32
31
  status?: number;
33
32
  caseTypeId?: number;
34
33
  caseSectionId?: number;
35
34
  caseSectionOther?: string;
36
35
  caseJurisdiction?: number;
36
+ staffId?: number;
37
+ staffChannelId?: number;
38
+ staffChannel?: object;
37
39
  staffIssues?: string;
38
40
  staffNote?: string;
39
41
  createdBy?: string;
@@ -204,13 +206,6 @@ export class appQueue extends Model<appQueueAttributes, appQueueAttributes> impl
204
206
  })
205
207
  declare ipAddress?: string;
206
208
 
207
- @Column({
208
- field: "staff_id",
209
- allowNull: true,
210
- type: DataType.INTEGER
211
- })
212
- declare staffId?: number;
213
-
214
209
  @Column({
215
210
  allowNull: true,
216
211
  type: DataType.INTEGER
@@ -245,6 +240,27 @@ export class appQueue extends Model<appQueueAttributes, appQueueAttributes> impl
245
240
  })
246
241
  declare caseJurisdiction?: number;
247
242
 
243
+ @Column({
244
+ field: "staff_id",
245
+ allowNull: true,
246
+ type: DataType.INTEGER
247
+ })
248
+ declare staffId?: number;
249
+
250
+ @Column({
251
+ field: "staff_channel_id",
252
+ allowNull: true,
253
+ type: DataType.INTEGER
254
+ })
255
+ declare staffChannelId?: number;
256
+
257
+ @Column({
258
+ field: "staff_channel",
259
+ allowNull: true,
260
+ type: DataType.JSON
261
+ })
262
+ declare staffChannel?: object;
263
+
248
264
  @Column({
249
265
  field: "staff_issues",
250
266
  allowNull: true,
@@ -11,6 +11,7 @@ export interface appScoreAttributes {
11
11
  loginLabel?: string;
12
12
  topicInfo?: object;
13
13
  labelInfo?: object;
14
+ dataInfo?: object;
14
15
  note?: string;
15
16
  scoreInfo?: object;
16
17
  signInfo?: object;
@@ -84,6 +85,13 @@ export class appScore extends Model<appScoreAttributes, appScoreAttributes> impl
84
85
  })
85
86
  declare labelInfo?: object;
86
87
 
88
+ @Column({
89
+ field: "data_info",
90
+ allowNull: true,
91
+ type: DataType.JSON
92
+ })
93
+ declare dataInfo?: object;
94
+
87
95
  @Column({
88
96
  allowNull: true,
89
97
  type: DataType.STRING
@@ -1,127 +1,127 @@
1
- import {
2
- Model, Table, Column, DataType, Index, Sequelize, ForeignKey
3
- } from "sequelize-typescript";
4
-
5
- export interface formFaqAttributes {
6
- id?: number;
7
- uuid?: string;
8
- titleName?: string;
9
- firstName?: string;
10
- lastName?: string;
11
- phone?: string;
12
- email?: string;
13
- question?: string;
14
- detail?: string;
15
- attachments?: object;
16
- status?: number;
17
- createdBy?: string;
18
- createdDate?: Date;
19
- updatedBy?: string;
20
- updatedDate?: Date;
21
- }
22
-
23
- @Table({
24
- tableName: "form_faq",
25
- timestamps: false
26
- })
27
- export class formFaq extends Model<formFaqAttributes, formFaqAttributes> implements formFaqAttributes {
28
-
29
- @Column({
30
- primaryKey: true,
31
- autoIncrement: true,
32
- type: DataType.INTEGER
33
- })
34
- declare id?: number;
35
-
36
- @Column({
37
- allowNull: true,
38
- type: DataType.STRING(60)
39
- })
40
- declare uuid?: string;
41
-
42
- @Column({
43
- field: "title_name",
44
- allowNull: true,
45
- type: DataType.STRING(50)
46
- })
47
- declare titleName?: string;
48
-
49
- @Column({
50
- field: "first_name",
51
- allowNull: true,
52
- type: DataType.STRING(255)
53
- })
54
- declare firstName?: string;
55
-
56
- @Column({
57
- field: "last_name",
58
- allowNull: true,
59
- type: DataType.STRING(255)
60
- })
61
- declare lastName?: string;
62
-
63
- @Column({
64
- allowNull: true,
65
- type: DataType.STRING(255)
66
- })
67
- declare phone?: string;
68
-
69
- @Column({
70
- allowNull: true,
71
- type: DataType.STRING(255)
72
- })
73
- declare email?: string;
74
-
75
- @Column({
76
- allowNull: true,
77
- type: DataType.STRING(255)
78
- })
79
- declare question?: string;
80
-
81
- @Column({
82
- allowNull: true,
83
- type: DataType.STRING
84
- })
85
- declare detail?: string;
86
-
87
- @Column({
88
- allowNull: true,
89
- type: DataType.JSON
90
- })
91
- declare attachments?: object;
92
-
93
- @Column({
94
- allowNull: true,
95
- type: DataType.INTEGER
96
- })
97
- declare status?: number;
98
-
99
- @Column({
100
- field: "created_by",
101
- allowNull: true,
102
- type: DataType.STRING(60)
103
- })
104
- declare createdBy?: string;
105
-
106
- @Column({
107
- field: "created_date",
108
- allowNull: true,
109
- type: DataType.DATE
110
- })
111
- declare createdDate?: Date;
112
-
113
- @Column({
114
- field: "updated_by",
115
- allowNull: true,
116
- type: DataType.STRING(60)
117
- })
118
- declare updatedBy?: string;
119
-
120
- @Column({
121
- field: "updated_date",
122
- allowNull: true,
123
- type: DataType.DATE
124
- })
125
- declare updatedDate?: Date;
126
-
1
+ import {
2
+ Model, Table, Column, DataType, Index, Sequelize, ForeignKey
3
+ } from "sequelize-typescript";
4
+
5
+ export interface formFaqAttributes {
6
+ id?: number;
7
+ uuid?: string;
8
+ titleName?: string;
9
+ firstName?: string;
10
+ lastName?: string;
11
+ phone?: string;
12
+ email?: string;
13
+ question?: string;
14
+ detail?: string;
15
+ attachments?: object;
16
+ status?: number;
17
+ createdBy?: string;
18
+ createdDate?: Date;
19
+ updatedBy?: string;
20
+ updatedDate?: Date;
21
+ }
22
+
23
+ @Table({
24
+ tableName: "form_faq",
25
+ timestamps: false
26
+ })
27
+ export class formFaq extends Model<formFaqAttributes, formFaqAttributes> implements formFaqAttributes {
28
+
29
+ @Column({
30
+ primaryKey: true,
31
+ autoIncrement: true,
32
+ type: DataType.INTEGER
33
+ })
34
+ declare id?: number;
35
+
36
+ @Column({
37
+ allowNull: true,
38
+ type: DataType.STRING(60)
39
+ })
40
+ declare uuid?: string;
41
+
42
+ @Column({
43
+ field: "title_name",
44
+ allowNull: true,
45
+ type: DataType.STRING(50)
46
+ })
47
+ declare titleName?: string;
48
+
49
+ @Column({
50
+ field: "first_name",
51
+ allowNull: true,
52
+ type: DataType.STRING(255)
53
+ })
54
+ declare firstName?: string;
55
+
56
+ @Column({
57
+ field: "last_name",
58
+ allowNull: true,
59
+ type: DataType.STRING(255)
60
+ })
61
+ declare lastName?: string;
62
+
63
+ @Column({
64
+ allowNull: true,
65
+ type: DataType.STRING(255)
66
+ })
67
+ declare phone?: string;
68
+
69
+ @Column({
70
+ allowNull: true,
71
+ type: DataType.STRING(255)
72
+ })
73
+ declare email?: string;
74
+
75
+ @Column({
76
+ allowNull: true,
77
+ type: DataType.STRING(255)
78
+ })
79
+ declare question?: string;
80
+
81
+ @Column({
82
+ allowNull: true,
83
+ type: DataType.STRING
84
+ })
85
+ declare detail?: string;
86
+
87
+ @Column({
88
+ allowNull: true,
89
+ type: DataType.JSON
90
+ })
91
+ declare attachments?: object;
92
+
93
+ @Column({
94
+ allowNull: true,
95
+ type: DataType.INTEGER
96
+ })
97
+ declare status?: number;
98
+
99
+ @Column({
100
+ field: "created_by",
101
+ allowNull: true,
102
+ type: DataType.STRING(60)
103
+ })
104
+ declare createdBy?: string;
105
+
106
+ @Column({
107
+ field: "created_date",
108
+ allowNull: true,
109
+ type: DataType.DATE
110
+ })
111
+ declare createdDate?: Date;
112
+
113
+ @Column({
114
+ field: "updated_by",
115
+ allowNull: true,
116
+ type: DataType.STRING(60)
117
+ })
118
+ declare updatedBy?: string;
119
+
120
+ @Column({
121
+ field: "updated_date",
122
+ allowNull: true,
123
+ type: DataType.DATE
124
+ })
125
+ declare updatedDate?: Date;
126
+
127
127
  }
@@ -55,18 +55,22 @@ export * from "./msConsultCase";
55
55
  export * from "./msConsultChannels";
56
56
  export * from "./msConsultInstructions";
57
57
  export * from "./msConsultService";
58
+ export * from "./msConsultSiteCase";
58
59
  export * from "./msConsultSiteChannel";
59
60
  export * from "./msConsultSiteHoliday";
61
+ export * from "./msConsultSiteIssue";
60
62
  export * from "./msConsultSiteStaff";
61
63
  export * from "./msExecutive";
62
- export * from "./msExecutiveBoard";
64
+ export * from "./msExecutiveActing";
63
65
  export * from "./msExecutiveGroup";
64
66
  export * from "./msExecutiveLevel";
65
- export * from "./msExecutivePosition";
66
- export * from "./msGuidelines";
67
67
  export * from "./msHoliday";
68
68
  export * from "./msModule";
69
+ export * from "./msOrganization";
70
+ export * from "./msPosition";
69
71
  export * from "./msProvince";
72
+ export * from "./msQueueTourFaq";
73
+ export * from "./msQueueTourGuidelines";
70
74
  export * from "./msTitle";
71
75
  export * from "./msVariable";
72
76
  export * from "./msWebsite";
@@ -75,7 +79,6 @@ export * from "./oauthRefreshToken";
75
79
  export * from "./recruitment";
76
80
  export * from "./recruitmentGroup";
77
81
  export * from "./settings";
78
- export * from "./userCenterV";
79
- export * from "./userRoleV";
82
+ export * from "./userPermissionV";
80
83
  export * from "./users";
81
84
  export * from "./usersVerify";