@admc-go-th/admc-library 1.0.96 → 1.0.99

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.
@@ -9,14 +9,17 @@ export interface appQueueAttributes {
9
9
  approveDate?: Date;
10
10
  fullName?: string;
11
11
  residence?: number;
12
- occupation?: string;
12
+ occupation?: number;
13
13
  phoneNumber?: string;
14
14
  email?: string;
15
15
  lineId?: string;
16
- consultChannel?: string;
17
- consultTopic?: string;
16
+ consultChannel?: number;
17
+ consultTopic?: number;
18
+ consultTopicOther?: string;
18
19
  blackCaseNumber?: string;
19
20
  redCaseNumber?: string;
21
+ issues?: string;
22
+ attachments?: object;
20
23
  ipAddress?: string;
21
24
  status?: number;
22
25
  createdBy?: string;
@@ -73,9 +76,9 @@ export class appQueue extends Model<appQueueAttributes, appQueueAttributes> impl
73
76
 
74
77
  @Column({
75
78
  allowNull: true,
76
- type: DataType.STRING(100)
79
+ type: DataType.INTEGER
77
80
  })
78
- declare occupation?: string;
81
+ declare occupation?: number;
79
82
 
80
83
  @Column({
81
84
  field: "phone_number",
@@ -100,16 +103,23 @@ export class appQueue extends Model<appQueueAttributes, appQueueAttributes> impl
100
103
  @Column({
101
104
  field: "consult_channel",
102
105
  allowNull: true,
103
- type: DataType.STRING(100)
106
+ type: DataType.INTEGER
104
107
  })
105
- declare consultChannel?: string;
108
+ declare consultChannel?: number;
106
109
 
107
110
  @Column({
108
111
  field: "consult_topic",
109
112
  allowNull: true,
110
- type: DataType.STRING
113
+ type: DataType.INTEGER
114
+ })
115
+ declare consultTopic?: number;
116
+
117
+ @Column({
118
+ field: "consult_topic_other",
119
+ allowNull: true,
120
+ type: DataType.STRING(255)
111
121
  })
112
- declare consultTopic?: string;
122
+ declare consultTopicOther?: string;
113
123
 
114
124
  @Column({
115
125
  field: "black_case_number",
@@ -125,6 +135,18 @@ export class appQueue extends Model<appQueueAttributes, appQueueAttributes> impl
125
135
  })
126
136
  declare redCaseNumber?: string;
127
137
 
138
+ @Column({
139
+ allowNull: true,
140
+ type: DataType.STRING
141
+ })
142
+ declare issues?: string;
143
+
144
+ @Column({
145
+ allowNull: true,
146
+ type: DataType.JSON
147
+ })
148
+ declare attachments?: object;
149
+
128
150
  @Column({
129
151
  field: "ip_address",
130
152
  allowNull: true,
@@ -5,8 +5,8 @@ import {
5
5
  export interface appQueueTourAttributes {
6
6
  id?: number;
7
7
  uuid?: string;
8
- requestDate?: Date;
9
- approveDate?: Date;
8
+ requestDate?: string;
9
+ approveDate?: string;
10
10
  timeSlot?: number;
11
11
  organizationType?: number;
12
12
  organizationTypeOther?: string;
@@ -16,6 +16,10 @@ export interface appQueueTourAttributes {
16
16
  email?: string;
17
17
  lineId?: string;
18
18
  participantsCount?: number;
19
+ topics?: object;
20
+ reserveParkingCar?: number;
21
+ reserveParkingBus?: number;
22
+ attachments?: object;
19
23
  ipAddress?: string;
20
24
  status?: number;
21
25
  createdBy?: string;
@@ -46,16 +50,16 @@ export class appQueueTour extends Model<appQueueTourAttributes, appQueueTourAttr
46
50
  @Column({
47
51
  field: "request_date",
48
52
  allowNull: true,
49
- type: DataType.DATE
53
+ type: DataType.DATEONLY
50
54
  })
51
- declare requestDate?: Date;
55
+ declare requestDate?: string;
52
56
 
53
57
  @Column({
54
58
  field: "approve_date",
55
59
  allowNull: true,
56
- type: DataType.DATE
60
+ type: DataType.DATEONLY
57
61
  })
58
- declare approveDate?: Date;
62
+ declare approveDate?: string;
59
63
 
60
64
  @Column({
61
65
  field: "time_slot",
@@ -119,6 +123,32 @@ export class appQueueTour extends Model<appQueueTourAttributes, appQueueTourAttr
119
123
  })
120
124
  declare participantsCount?: number;
121
125
 
126
+ @Column({
127
+ allowNull: true,
128
+ type: DataType.JSON
129
+ })
130
+ declare topics?: object;
131
+
132
+ @Column({
133
+ field: "reserve_parking_car",
134
+ allowNull: true,
135
+ type: DataType.INTEGER
136
+ })
137
+ declare reserveParkingCar?: number;
138
+
139
+ @Column({
140
+ field: "reserve_parking_bus",
141
+ allowNull: true,
142
+ type: DataType.INTEGER
143
+ })
144
+ declare reserveParkingBus?: number;
145
+
146
+ @Column({
147
+ allowNull: true,
148
+ type: DataType.JSON
149
+ })
150
+ declare attachments?: object;
151
+
122
152
  @Column({
123
153
  field: "ip_address",
124
154
  allowNull: true,
@@ -41,6 +41,7 @@ export * from "./mdTranslateGroup";
41
41
  export * from "./mdWords";
42
42
  export * from "./member";
43
43
  export * from "./menu";
44
+ export * from "./msHoliday";
44
45
  export * from "./msModule";
45
46
  export * from "./msProvince";
46
47
  export * from "./oauthAccessToken";
@@ -11,6 +11,7 @@ export interface mdLinkAttributes {
11
11
  userId?: number;
12
12
  title?: string;
13
13
  url?: string;
14
+ imageCover?: string;
14
15
  target?: string;
15
16
  sort?: number;
16
17
  status?: number;
@@ -75,6 +76,13 @@ export class mdLink extends Model<mdLinkAttributes, mdLinkAttributes> implements
75
76
  })
76
77
  declare url?: string;
77
78
 
79
+ @Column({
80
+ field: "image_cover",
81
+ allowNull: true,
82
+ type: DataType.STRING(60)
83
+ })
84
+ declare imageCover?: string;
85
+
78
86
  @Column({
79
87
  allowNull: true,
80
88
  type: DataType.STRING(10)
@@ -0,0 +1,76 @@
1
+ import {
2
+ Model, Table, Column, DataType, Index, Sequelize, ForeignKey
3
+ } from "sequelize-typescript";
4
+
5
+ export interface msHolidayAttributes {
6
+ id?: number;
7
+ name?: string;
8
+ checkDate?: string;
9
+ status?: string;
10
+ createdBy?: string;
11
+ createdDate?: Date;
12
+ updatedBy?: string;
13
+ updatedDate?: Date;
14
+ }
15
+
16
+ @Table({
17
+ tableName: "ms_holiday",
18
+ timestamps: false
19
+ })
20
+ export class msHoliday extends Model<msHolidayAttributes, msHolidayAttributes> implements msHolidayAttributes {
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
+ field: "check_date",
37
+ allowNull: true,
38
+ type: DataType.DATEONLY
39
+ })
40
+ declare checkDate?: string;
41
+
42
+ @Column({
43
+ allowNull: true,
44
+ type: DataType.STRING(255)
45
+ })
46
+ declare status?: string;
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
+ }
@@ -7,14 +7,17 @@ interface appQueueAttributes {
7
7
  approveDate?: Date;
8
8
  fullName?: string;
9
9
  residence?: number;
10
- occupation?: string;
10
+ occupation?: number;
11
11
  phoneNumber?: string;
12
12
  email?: string;
13
13
  lineId?: string;
14
- consultChannel?: string;
15
- consultTopic?: string;
14
+ consultChannel?: number;
15
+ consultTopic?: number;
16
+ consultTopicOther?: string;
16
17
  blackCaseNumber?: string;
17
18
  redCaseNumber?: string;
19
+ issues?: string;
20
+ attachments?: object;
18
21
  ipAddress?: string;
19
22
  status?: number;
20
23
  createdBy?: string;
@@ -29,14 +32,17 @@ declare class appQueue extends Model<appQueueAttributes, appQueueAttributes> imp
29
32
  approveDate?: Date;
30
33
  fullName?: string;
31
34
  residence?: number;
32
- occupation?: string;
35
+ occupation?: number;
33
36
  phoneNumber?: string;
34
37
  email?: string;
35
38
  lineId?: string;
36
- consultChannel?: string;
37
- consultTopic?: string;
39
+ consultChannel?: number;
40
+ consultTopic?: number;
41
+ consultTopicOther?: string;
38
42
  blackCaseNumber?: string;
39
43
  redCaseNumber?: string;
44
+ issues?: string;
45
+ attachments?: object;
40
46
  ipAddress?: string;
41
47
  status?: number;
42
48
  createdBy?: string;
@@ -77,7 +77,7 @@ __decorateClass([
77
77
  __decorateClass([
78
78
  (0, import_sequelize_typescript.Column)({
79
79
  allowNull: true,
80
- type: import_sequelize_typescript.DataType.STRING(100)
80
+ type: import_sequelize_typescript.DataType.INTEGER
81
81
  })
82
82
  ], appQueue.prototype, "occupation", 2);
83
83
  __decorateClass([
@@ -104,16 +104,23 @@ __decorateClass([
104
104
  (0, import_sequelize_typescript.Column)({
105
105
  field: "consult_channel",
106
106
  allowNull: true,
107
- type: import_sequelize_typescript.DataType.STRING(100)
107
+ type: import_sequelize_typescript.DataType.INTEGER
108
108
  })
109
109
  ], appQueue.prototype, "consultChannel", 2);
110
110
  __decorateClass([
111
111
  (0, import_sequelize_typescript.Column)({
112
112
  field: "consult_topic",
113
113
  allowNull: true,
114
- type: import_sequelize_typescript.DataType.STRING
114
+ type: import_sequelize_typescript.DataType.INTEGER
115
115
  })
116
116
  ], appQueue.prototype, "consultTopic", 2);
117
+ __decorateClass([
118
+ (0, import_sequelize_typescript.Column)({
119
+ field: "consult_topic_other",
120
+ allowNull: true,
121
+ type: import_sequelize_typescript.DataType.STRING(255)
122
+ })
123
+ ], appQueue.prototype, "consultTopicOther", 2);
117
124
  __decorateClass([
118
125
  (0, import_sequelize_typescript.Column)({
119
126
  field: "black_case_number",
@@ -128,6 +135,18 @@ __decorateClass([
128
135
  type: import_sequelize_typescript.DataType.STRING(50)
129
136
  })
130
137
  ], appQueue.prototype, "redCaseNumber", 2);
138
+ __decorateClass([
139
+ (0, import_sequelize_typescript.Column)({
140
+ allowNull: true,
141
+ type: import_sequelize_typescript.DataType.STRING
142
+ })
143
+ ], appQueue.prototype, "issues", 2);
144
+ __decorateClass([
145
+ (0, import_sequelize_typescript.Column)({
146
+ allowNull: true,
147
+ type: import_sequelize_typescript.DataType.JSON
148
+ })
149
+ ], appQueue.prototype, "attachments", 2);
131
150
  __decorateClass([
132
151
  (0, import_sequelize_typescript.Column)({
133
152
  field: "ip_address",
@@ -3,8 +3,8 @@ import { Model } from 'sequelize-typescript';
3
3
  interface appQueueTourAttributes {
4
4
  id?: number;
5
5
  uuid?: string;
6
- requestDate?: Date;
7
- approveDate?: Date;
6
+ requestDate?: string;
7
+ approveDate?: string;
8
8
  timeSlot?: number;
9
9
  organizationType?: number;
10
10
  organizationTypeOther?: string;
@@ -14,6 +14,10 @@ interface appQueueTourAttributes {
14
14
  email?: string;
15
15
  lineId?: string;
16
16
  participantsCount?: number;
17
+ topics?: object;
18
+ reserveParkingCar?: number;
19
+ reserveParkingBus?: number;
20
+ attachments?: object;
17
21
  ipAddress?: string;
18
22
  status?: number;
19
23
  createdBy?: string;
@@ -24,8 +28,8 @@ interface appQueueTourAttributes {
24
28
  declare class appQueueTour extends Model<appQueueTourAttributes, appQueueTourAttributes> implements appQueueTourAttributes {
25
29
  id?: number;
26
30
  uuid?: string;
27
- requestDate?: Date;
28
- approveDate?: Date;
31
+ requestDate?: string;
32
+ approveDate?: string;
29
33
  timeSlot?: number;
30
34
  organizationType?: number;
31
35
  organizationTypeOther?: string;
@@ -35,6 +39,10 @@ declare class appQueueTour extends Model<appQueueTourAttributes, appQueueTourAtt
35
39
  email?: string;
36
40
  lineId?: string;
37
41
  participantsCount?: number;
42
+ topics?: object;
43
+ reserveParkingCar?: number;
44
+ reserveParkingBus?: number;
45
+ attachments?: object;
38
46
  ipAddress?: string;
39
47
  status?: number;
40
48
  createdBy?: string;
@@ -51,14 +51,14 @@ __decorateClass([
51
51
  (0, import_sequelize_typescript.Column)({
52
52
  field: "request_date",
53
53
  allowNull: true,
54
- type: import_sequelize_typescript.DataType.DATE
54
+ type: import_sequelize_typescript.DataType.DATEONLY
55
55
  })
56
56
  ], appQueueTour.prototype, "requestDate", 2);
57
57
  __decorateClass([
58
58
  (0, import_sequelize_typescript.Column)({
59
59
  field: "approve_date",
60
60
  allowNull: true,
61
- type: import_sequelize_typescript.DataType.DATE
61
+ type: import_sequelize_typescript.DataType.DATEONLY
62
62
  })
63
63
  ], appQueueTour.prototype, "approveDate", 2);
64
64
  __decorateClass([
@@ -123,6 +123,32 @@ __decorateClass([
123
123
  type: import_sequelize_typescript.DataType.INTEGER
124
124
  })
125
125
  ], appQueueTour.prototype, "participantsCount", 2);
126
+ __decorateClass([
127
+ (0, import_sequelize_typescript.Column)({
128
+ allowNull: true,
129
+ type: import_sequelize_typescript.DataType.JSON
130
+ })
131
+ ], appQueueTour.prototype, "topics", 2);
132
+ __decorateClass([
133
+ (0, import_sequelize_typescript.Column)({
134
+ field: "reserve_parking_car",
135
+ allowNull: true,
136
+ type: import_sequelize_typescript.DataType.INTEGER
137
+ })
138
+ ], appQueueTour.prototype, "reserveParkingCar", 2);
139
+ __decorateClass([
140
+ (0, import_sequelize_typescript.Column)({
141
+ field: "reserve_parking_bus",
142
+ allowNull: true,
143
+ type: import_sequelize_typescript.DataType.INTEGER
144
+ })
145
+ ], appQueueTour.prototype, "reserveParkingBus", 2);
146
+ __decorateClass([
147
+ (0, import_sequelize_typescript.Column)({
148
+ allowNull: true,
149
+ type: import_sequelize_typescript.DataType.JSON
150
+ })
151
+ ], appQueueTour.prototype, "attachments", 2);
126
152
  __decorateClass([
127
153
  (0, import_sequelize_typescript.Column)({
128
154
  field: "ip_address",
@@ -17,13 +17,14 @@ export { a as mdFaq, m as mdFaqAttributes, c as mdFaqGroup, b as mdFaqGroupAttri
17
17
  export { mdFormAdvance_1, mdFormAdvance_1Attributes } from './mdFormAdvance_1.js';
18
18
  export { mdFormAdvance_2, mdFormAdvance_2Attributes } from './mdFormAdvance_2.js';
19
19
  export { a as mdInformationIndex, m as mdInformationIndexAttributes, c as mdInformationIndexGroup, b as mdInformationIndexGroupAttributes } from '../../mdInformationIndex-D0f7HDbG.js';
20
- export { a as mdLink, m as mdLinkAttributes, c as mdLinkGroup, b as mdLinkGroupAttributes } from '../../mdLink-Cr23xu_o.js';
20
+ export { a as mdLink, m as mdLinkAttributes, c as mdLinkGroup, b as mdLinkGroupAttributes } from '../../mdLink-DMfGxpRi.js';
21
21
  export { a as mdNews, m as mdNewsAttributes, c as mdNewsGroup, b as mdNewsGroupAttributes } from '../../mdNews-CqZ9kQ8-.js';
22
22
  export { mdPopup, mdPopupAttributes } from './mdPopup.js';
23
23
  export { mdSetting, mdSettingAttributes } from './mdSetting.js';
24
24
  export { a as mdTranslate, m as mdTranslateAttributes, c as mdTranslateGroup, b as mdTranslateGroupAttributes } from '../../mdTranslate-OuC5tJKe.js';
25
25
  export { mdWords, mdWordsAttributes } from './mdWords.js';
26
26
  export { member, memberAttributes } from './member.js';
27
+ export { msHoliday, msHolidayAttributes } from './msHoliday.js';
27
28
  export { msProvince, msProvinceAttributes } from './msProvince.js';
28
29
  export { oauthAccessToken, oauthAccessTokenAttributes } from './oauthAccessToken.js';
29
30
  export { oauthRefreshToken, oauthRefreshTokenAttributes } from './oauthRefreshToken.js';