@admc-go-th/admc-library 1.0.124 → 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.
@@ -47,6 +47,7 @@ interface appReportCorruptionAttributes {
47
47
  isRequestPostOffice?: number;
48
48
  ipAddress?: string;
49
49
  considerationDate?: Date;
50
+ extendDate?: Date;
50
51
  status?: number;
51
52
  createdBy?: string;
52
53
  createdDate?: Date;
@@ -72,6 +73,7 @@ declare class appReportCorruption extends Model<appReportCorruptionAttributes, a
72
73
  isRequestPostOffice?: number;
73
74
  ipAddress?: string;
74
75
  considerationDate?: Date;
76
+ extendDate?: Date;
75
77
  status?: number;
76
78
  createdBy?: string;
77
79
  createdDate?: Date;
@@ -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,
@@ -22,6 +22,7 @@ export interface appReportCorruptionAttributes {
22
22
  isRequestPostOffice?: number;
23
23
  ipAddress?: string;
24
24
  considerationDate?: Date;
25
+ extendDate?: Date;
25
26
  status?: number;
26
27
  createdBy?: string;
27
28
  createdDate?: Date;
@@ -50,7 +51,7 @@ export class appReportCorruption extends Model<appReportCorruptionAttributes, ap
50
51
 
51
52
  @Column({
52
53
  allowNull: true,
53
- type: DataType.STRING(10)
54
+ type: DataType.STRING(15)
54
55
  })
55
56
  declare code?: string;
56
57
 
@@ -152,6 +153,13 @@ export class appReportCorruption extends Model<appReportCorruptionAttributes, ap
152
153
  })
153
154
  declare considerationDate?: Date;
154
155
 
156
+ @Column({
157
+ field: "extend_date",
158
+ allowNull: true,
159
+ type: DataType.DATE
160
+ })
161
+ declare extendDate?: Date;
162
+
155
163
  @Column({
156
164
  allowNull: true,
157
165
  type: DataType.INTEGER
@@ -54,6 +54,9 @@ export * from "./msConsultCase";
54
54
  export * from "./msConsultChannels";
55
55
  export * from "./msConsultInstructions";
56
56
  export * from "./msConsultService";
57
+ export * from "./msConsultSiteChannel";
58
+ export * from "./msConsultSiteHoliday";
59
+ export * from "./msConsultSiteStaff";
57
60
  export * from "./msExecutive";
58
61
  export * from "./msExecutiveBoard";
59
62
  export * from "./msExecutiveGroup";
@@ -64,6 +67,7 @@ export * from "./msHoliday";
64
67
  export * from "./msModule";
65
68
  export * from "./msProvince";
66
69
  export * from "./msTitle";
70
+ export * from "./msVariable";
67
71
  export * from "./msWebsite";
68
72
  export * from "./oauthAccessToken";
69
73
  export * from "./oauthRefreshToken";
@@ -0,0 +1,77 @@
1
+ import {
2
+ Model, Table, Column, DataType, Index, Sequelize, ForeignKey
3
+ } from "sequelize-typescript";
4
+
5
+ export interface msConsultSiteChannelAttributes {
6
+ id?: number;
7
+ siteId?: number;
8
+ channelId?: number;
9
+ status?: number;
10
+ createdBy?: string;
11
+ createdDate?: Date;
12
+ updatedBy?: string;
13
+ updatedDate?: Date;
14
+ }
15
+
16
+ @Table({
17
+ tableName: "ms_consult_site_channel",
18
+ timestamps: false
19
+ })
20
+ export class msConsultSiteChannel extends Model<msConsultSiteChannelAttributes, msConsultSiteChannelAttributes> implements msConsultSiteChannelAttributes {
21
+
22
+ @Column({
23
+ primaryKey: true,
24
+ autoIncrement: true,
25
+ type: DataType.INTEGER
26
+ })
27
+ declare id?: number;
28
+
29
+ @Column({
30
+ field: "site_id",
31
+ allowNull: true,
32
+ type: DataType.INTEGER
33
+ })
34
+ declare siteId?: number;
35
+
36
+ @Column({
37
+ field: "channel_id",
38
+ allowNull: true,
39
+ type: DataType.INTEGER
40
+ })
41
+ declare channelId?: number;
42
+
43
+ @Column({
44
+ allowNull: true,
45
+ type: DataType.INTEGER
46
+ })
47
+ declare status?: number;
48
+
49
+ @Column({
50
+ field: "created_by",
51
+ allowNull: true,
52
+ type: DataType.STRING(60)
53
+ })
54
+ declare createdBy?: string;
55
+
56
+ @Column({
57
+ field: "created_date",
58
+ allowNull: true,
59
+ type: DataType.DATE
60
+ })
61
+ declare createdDate?: Date;
62
+
63
+ @Column({
64
+ field: "updated_by",
65
+ allowNull: true,
66
+ type: DataType.STRING(60)
67
+ })
68
+ declare updatedBy?: string;
69
+
70
+ @Column({
71
+ field: "updated_date",
72
+ allowNull: true,
73
+ type: DataType.DATE
74
+ })
75
+ declare updatedDate?: Date;
76
+
77
+ }
@@ -0,0 +1,99 @@
1
+ import {
2
+ Model, Table, Column, DataType, Index, Sequelize, ForeignKey
3
+ } from "sequelize-typescript";
4
+
5
+ export interface msConsultSiteHolidayAttributes {
6
+ id?: number;
7
+ siteId?: number;
8
+ typeId?: number;
9
+ year?: number;
10
+ name?: string;
11
+ atDate?: string;
12
+ status?: number;
13
+ createdBy?: string;
14
+ createdDate?: Date;
15
+ updatedBy?: string;
16
+ updatedDate?: Date;
17
+ }
18
+
19
+ @Table({
20
+ tableName: "ms_consult_site_holiday",
21
+ timestamps: false
22
+ })
23
+ export class msConsultSiteHoliday extends Model<msConsultSiteHolidayAttributes, msConsultSiteHolidayAttributes> implements msConsultSiteHolidayAttributes {
24
+
25
+ @Column({
26
+ primaryKey: true,
27
+ autoIncrement: true,
28
+ type: DataType.INTEGER
29
+ })
30
+ declare id?: number;
31
+
32
+ @Column({
33
+ field: "site_id",
34
+ allowNull: true,
35
+ type: DataType.INTEGER
36
+ })
37
+ declare siteId?: number;
38
+
39
+ @Column({
40
+ field: "type_id",
41
+ allowNull: true,
42
+ type: DataType.INTEGER
43
+ })
44
+ declare typeId?: number;
45
+
46
+ @Column({
47
+ allowNull: true,
48
+ type: DataType.INTEGER
49
+ })
50
+ declare year?: number;
51
+
52
+ @Column({
53
+ allowNull: true,
54
+ type: DataType.STRING(255)
55
+ })
56
+ declare name?: string;
57
+
58
+ @Column({
59
+ field: "at_date",
60
+ allowNull: true,
61
+ type: DataType.DATEONLY
62
+ })
63
+ declare atDate?: string;
64
+
65
+ @Column({
66
+ allowNull: true,
67
+ type: DataType.INTEGER
68
+ })
69
+ declare status?: number;
70
+
71
+ @Column({
72
+ field: "created_by",
73
+ allowNull: true,
74
+ type: DataType.STRING(60)
75
+ })
76
+ declare createdBy?: string;
77
+
78
+ @Column({
79
+ field: "created_date",
80
+ allowNull: true,
81
+ type: DataType.DATE
82
+ })
83
+ declare createdDate?: Date;
84
+
85
+ @Column({
86
+ field: "updated_by",
87
+ allowNull: true,
88
+ type: DataType.STRING(60)
89
+ })
90
+ declare updatedBy?: string;
91
+
92
+ @Column({
93
+ field: "updated_date",
94
+ allowNull: true,
95
+ type: DataType.DATE
96
+ })
97
+ declare updatedDate?: Date;
98
+
99
+ }
@@ -0,0 +1,76 @@
1
+ import {
2
+ Model, Table, Column, DataType, Index, Sequelize, ForeignKey
3
+ } from "sequelize-typescript";
4
+
5
+ export interface msConsultSiteStaffAttributes {
6
+ id?: number;
7
+ siteId?: number;
8
+ name?: string;
9
+ status?: number;
10
+ createdBy?: string;
11
+ createdDate?: Date;
12
+ updatedBy?: string;
13
+ updatedDate?: Date;
14
+ }
15
+
16
+ @Table({
17
+ tableName: "ms_consult_site_staff",
18
+ timestamps: false
19
+ })
20
+ export class msConsultSiteStaff extends Model<msConsultSiteStaffAttributes, msConsultSiteStaffAttributes> implements msConsultSiteStaffAttributes {
21
+
22
+ @Column({
23
+ primaryKey: true,
24
+ autoIncrement: true,
25
+ type: DataType.INTEGER
26
+ })
27
+ declare id?: number;
28
+
29
+ @Column({
30
+ field: "site_id",
31
+ allowNull: true,
32
+ type: DataType.INTEGER
33
+ })
34
+ declare siteId?: number;
35
+
36
+ @Column({
37
+ allowNull: true,
38
+ type: DataType.STRING(255)
39
+ })
40
+ declare name?: string;
41
+
42
+ @Column({
43
+ allowNull: true,
44
+ type: DataType.INTEGER
45
+ })
46
+ declare status?: number;
47
+
48
+ @Column({
49
+ field: "created_by",
50
+ allowNull: true,
51
+ type: DataType.STRING(60)
52
+ })
53
+ declare createdBy?: string;
54
+
55
+ @Column({
56
+ field: "created_date",
57
+ allowNull: true,
58
+ type: DataType.DATE
59
+ })
60
+ declare createdDate?: Date;
61
+
62
+ @Column({
63
+ field: "updated_by",
64
+ allowNull: true,
65
+ type: DataType.STRING(60)
66
+ })
67
+ declare updatedBy?: string;
68
+
69
+ @Column({
70
+ field: "updated_date",
71
+ allowNull: true,
72
+ type: DataType.DATE
73
+ })
74
+ declare updatedDate?: Date;
75
+
76
+ }
@@ -0,0 +1,68 @@
1
+ import {
2
+ Model, Table, Column, DataType, Index, Sequelize, ForeignKey
3
+ } from "sequelize-typescript";
4
+
5
+ export interface msVariableAttributes {
6
+ id?: number;
7
+ name?: string;
8
+ data?: object;
9
+ createdBy?: string;
10
+ createdDate?: Date;
11
+ updatedBy?: string;
12
+ updatedDate?: Date;
13
+ }
14
+
15
+ @Table({
16
+ tableName: "ms_variable",
17
+ timestamps: false
18
+ })
19
+ export class msVariable extends Model<msVariableAttributes, msVariableAttributes> implements msVariableAttributes {
20
+
21
+ @Column({
22
+ primaryKey: true,
23
+ autoIncrement: true,
24
+ type: DataType.INTEGER
25
+ })
26
+ declare id?: number;
27
+
28
+ @Column({
29
+ allowNull: true,
30
+ type: DataType.STRING(255)
31
+ })
32
+ declare name?: string;
33
+
34
+ @Column({
35
+ allowNull: true,
36
+ type: DataType.JSON
37
+ })
38
+ declare data?: object;
39
+
40
+ @Column({
41
+ field: "created_by",
42
+ allowNull: true,
43
+ type: DataType.STRING(60)
44
+ })
45
+ declare createdBy?: string;
46
+
47
+ @Column({
48
+ field: "created_date",
49
+ allowNull: true,
50
+ type: DataType.DATE
51
+ })
52
+ declare createdDate?: Date;
53
+
54
+ @Column({
55
+ field: "updated_by",
56
+ allowNull: true,
57
+ type: DataType.STRING(60)
58
+ })
59
+ declare updatedBy?: string;
60
+
61
+ @Column({
62
+ field: "updated_date",
63
+ allowNull: true,
64
+ type: DataType.DATE
65
+ })
66
+ declare updatedDate?: Date;
67
+
68
+ }
@@ -3,6 +3,7 @@ import { Model } from 'sequelize-typescript';
3
3
  interface appQueueAttributes {
4
4
  id?: number;
5
5
  uuid?: string;
6
+ code?: string;
6
7
  siteId?: number;
7
8
  requestDate?: string;
8
9
  approveDate?: string;
@@ -21,6 +22,7 @@ interface appQueueAttributes {
21
22
  issues?: string;
22
23
  attachments?: object;
23
24
  ipAddress?: string;
25
+ staffId?: number;
24
26
  status?: number;
25
27
  createdBy?: string;
26
28
  createdDate?: Date;
@@ -30,6 +32,7 @@ interface appQueueAttributes {
30
32
  declare class appQueue extends Model<appQueueAttributes, appQueueAttributes> implements appQueueAttributes {
31
33
  id?: number;
32
34
  uuid?: string;
35
+ code?: string;
33
36
  siteId?: number;
34
37
  requestDate?: string;
35
38
  approveDate?: string;
@@ -48,6 +51,7 @@ declare class appQueue extends Model<appQueueAttributes, appQueueAttributes> imp
48
51
  issues?: string;
49
52
  attachments?: object;
50
53
  ipAddress?: string;
54
+ staffId?: number;
51
55
  status?: number;
52
56
  createdBy?: string;
53
57
  createdDate?: Date;
@@ -47,6 +47,12 @@ __decorateClass([
47
47
  type: import_sequelize_typescript.DataType.STRING(60)
48
48
  })
49
49
  ], appQueue.prototype, "uuid", 2);
50
+ __decorateClass([
51
+ (0, import_sequelize_typescript.Column)({
52
+ allowNull: true,
53
+ type: import_sequelize_typescript.DataType.STRING(15)
54
+ })
55
+ ], appQueue.prototype, "code", 2);
50
56
  __decorateClass([
51
57
  (0, import_sequelize_typescript.Column)({
52
58
  field: "site_id",
@@ -168,6 +174,13 @@ __decorateClass([
168
174
  type: import_sequelize_typescript.DataType.STRING(30)
169
175
  })
170
176
  ], appQueue.prototype, "ipAddress", 2);
177
+ __decorateClass([
178
+ (0, import_sequelize_typescript.Column)({
179
+ field: "staff_id",
180
+ allowNull: true,
181
+ type: import_sequelize_typescript.DataType.INTEGER
182
+ })
183
+ ], appQueue.prototype, "staffId", 2);
171
184
  __decorateClass([
172
185
  (0, import_sequelize_typescript.Column)({
173
186
  allowNull: true,
@@ -3,6 +3,7 @@ import { Model } from 'sequelize-typescript';
3
3
  interface appQueueTourAttributes {
4
4
  id?: number;
5
5
  uuid?: string;
6
+ code?: string;
6
7
  requestDate?: string;
7
8
  approveDate?: string;
8
9
  timeSlot?: number;
@@ -28,6 +29,7 @@ interface appQueueTourAttributes {
28
29
  declare class appQueueTour extends Model<appQueueTourAttributes, appQueueTourAttributes> implements appQueueTourAttributes {
29
30
  id?: number;
30
31
  uuid?: string;
32
+ code?: string;
31
33
  requestDate?: string;
32
34
  approveDate?: string;
33
35
  timeSlot?: number;
@@ -47,6 +47,12 @@ __decorateClass([
47
47
  type: import_sequelize_typescript.DataType.STRING(60)
48
48
  })
49
49
  ], appQueueTour.prototype, "uuid", 2);
50
+ __decorateClass([
51
+ (0, import_sequelize_typescript.Column)({
52
+ allowNull: true,
53
+ type: import_sequelize_typescript.DataType.STRING(15)
54
+ })
55
+ ], appQueueTour.prototype, "code", 2);
50
56
  __decorateClass([
51
57
  (0, import_sequelize_typescript.Column)({
52
58
  field: "request_date",
@@ -1,2 +1,2 @@
1
1
  import 'sequelize-typescript';
2
- export { b as appReportCorruption, a as appReportCorruptionAttributes } from '../../appReportCorruption-4BY0wm49.js';
2
+ export { b as appReportCorruption, a as appReportCorruptionAttributes } from '../../appReportCorruption-BsdsQQ1q.js';
@@ -141,7 +141,7 @@ __decorateClass([
141
141
  __decorateClass([
142
142
  (0, import_sequelize_typescript2.Column)({
143
143
  allowNull: true,
144
- type: import_sequelize_typescript2.DataType.STRING(10)
144
+ type: import_sequelize_typescript2.DataType.STRING(15)
145
145
  })
146
146
  ], appReportCorruption.prototype, "code", 2);
147
147
  __decorateClass([
@@ -242,6 +242,13 @@ __decorateClass([
242
242
  type: import_sequelize_typescript2.DataType.DATE
243
243
  })
244
244
  ], appReportCorruption.prototype, "considerationDate", 2);
245
+ __decorateClass([
246
+ (0, import_sequelize_typescript2.Column)({
247
+ field: "extend_date",
248
+ allowNull: true,
249
+ type: import_sequelize_typescript2.DataType.DATE
250
+ })
251
+ ], appReportCorruption.prototype, "extendDate", 2);
245
252
  __decorateClass([
246
253
  (0, import_sequelize_typescript2.Column)({
247
254
  allowNull: true,
@@ -1,2 +1,2 @@
1
1
  import 'sequelize-typescript';
2
- export { d as appReportCorruptionTransaction, c as appReportCorruptionTransactionAttributes } from '../../appReportCorruption-4BY0wm49.js';
2
+ export { d as appReportCorruptionTransaction, c as appReportCorruptionTransactionAttributes } from '../../appReportCorruption-BsdsQQ1q.js';
@@ -53,7 +53,7 @@ __decorateClass([
53
53
  __decorateClass([
54
54
  (0, import_sequelize_typescript.Column)({
55
55
  allowNull: true,
56
- type: import_sequelize_typescript.DataType.STRING(10)
56
+ type: import_sequelize_typescript.DataType.STRING(15)
57
57
  })
58
58
  ], appReportCorruption.prototype, "code", 2);
59
59
  __decorateClass([
@@ -154,6 +154,13 @@ __decorateClass([
154
154
  type: import_sequelize_typescript.DataType.DATE
155
155
  })
156
156
  ], appReportCorruption.prototype, "considerationDate", 2);
157
+ __decorateClass([
158
+ (0, import_sequelize_typescript.Column)({
159
+ field: "extend_date",
160
+ allowNull: true,
161
+ type: import_sequelize_typescript.DataType.DATE
162
+ })
163
+ ], appReportCorruption.prototype, "extendDate", 2);
157
164
  __decorateClass([
158
165
  (0, import_sequelize_typescript.Column)({
159
166
  allowNull: true,
@@ -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-4BY0wm49.js';
5
+ export { b as appReportCorruption, a as appReportCorruptionAttributes, d as appReportCorruptionTransaction, c as appReportCorruptionTransactionAttributes } from '../../appReportCorruption-BsdsQQ1q.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';
@@ -37,6 +37,9 @@ export { msConsultCase, msConsultCaseAttributes } from './msConsultCase.js';
37
37
  export { msConsultChannels, msConsultChannelsAttributes } from './msConsultChannels.js';
38
38
  export { msConsultInstructions, msConsultInstructionsAttributes } from './msConsultInstructions.js';
39
39
  export { msConsultService, msConsultServiceAttributes } from './msConsultService.js';
40
+ export { msConsultSiteChannel, msConsultSiteChannelAttributes } from './msConsultSiteChannel.js';
41
+ export { msConsultSiteHoliday, msConsultSiteHolidayAttributes } from './msConsultSiteHoliday.js';
42
+ export { msConsultSiteStaff, msConsultSiteStaffAttributes } from './msConsultSiteStaff.js';
40
43
  export { a as msExecutive, m as msExecutiveAttributes, c as msExecutiveGroup, b as msExecutiveGroupAttributes, e as msExecutivePosition, d as msExecutivePositionAttributes } from '../../msExecutive-BFeU4P0-.js';
41
44
  export { msExecutiveBoard, msExecutiveBoardAttributes } from './msExecutiveBoard.js';
42
45
  export { msExecutiveLevel, msExecutiveLevelAttributes } from './msExecutiveLevel.js';
@@ -44,6 +47,7 @@ export { msGuidelines, msGuidelinesAttributes } from './msGuidelines.js';
44
47
  export { msHoliday, msHolidayAttributes } from './msHoliday.js';
45
48
  export { msProvince, msProvinceAttributes } from './msProvince.js';
46
49
  export { msTitle, msTitleAttributes } from './msTitle.js';
50
+ export { msVariable, msVariableAttributes } from './msVariable.js';
47
51
  export { msWebsite, msWebsiteAttributes } from './msWebsite.js';
48
52
  export { oauthAccessToken, oauthAccessTokenAttributes } from './oauthAccessToken.js';
49
53
  export { oauthRefreshToken, oauthRefreshTokenAttributes } from './oauthRefreshToken.js';