@admc-go-th/admc-library 1.0.95 → 1.0.98
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.
- package/databases/schema/appQueue.ts +31 -9
- package/databases/schema/appQueueTour.ts +38 -0
- package/databases/tables/appQueue.d.ts +12 -6
- package/databases/tables/appQueue.js +22 -3
- package/databases/tables/appQueueTour.d.ts +10 -0
- package/databases/tables/appQueueTour.js +33 -0
- package/databases/tables/index.js +55 -3
- package/package.json +1 -1
|
@@ -9,14 +9,17 @@ export interface appQueueAttributes {
|
|
|
9
9
|
approveDate?: Date;
|
|
10
10
|
fullName?: string;
|
|
11
11
|
residence?: number;
|
|
12
|
-
occupation?:
|
|
12
|
+
occupation?: number;
|
|
13
13
|
phoneNumber?: string;
|
|
14
14
|
email?: string;
|
|
15
15
|
lineId?: string;
|
|
16
|
-
consultChannel?:
|
|
17
|
-
consultTopic?:
|
|
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.
|
|
79
|
+
type: DataType.INTEGER
|
|
77
80
|
})
|
|
78
|
-
declare occupation?:
|
|
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.
|
|
106
|
+
type: DataType.INTEGER
|
|
104
107
|
})
|
|
105
|
-
declare consultChannel?:
|
|
108
|
+
declare consultChannel?: number;
|
|
106
109
|
|
|
107
110
|
@Column({
|
|
108
111
|
field: "consult_topic",
|
|
109
112
|
allowNull: true,
|
|
110
|
-
type: DataType.
|
|
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
|
|
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,
|
|
@@ -9,12 +9,17 @@ export interface appQueueTourAttributes {
|
|
|
9
9
|
approveDate?: Date;
|
|
10
10
|
timeSlot?: number;
|
|
11
11
|
organizationType?: number;
|
|
12
|
+
organizationTypeOther?: string;
|
|
12
13
|
organizationName?: string;
|
|
13
14
|
contactPerson?: string;
|
|
14
15
|
phoneNumber?: string;
|
|
15
16
|
email?: string;
|
|
16
17
|
lineId?: string;
|
|
17
18
|
participantsCount?: number;
|
|
19
|
+
topics?: object;
|
|
20
|
+
reserveParkingCar?: number;
|
|
21
|
+
reserveParkingBus?: number;
|
|
22
|
+
attachments?: object;
|
|
18
23
|
ipAddress?: string;
|
|
19
24
|
status?: number;
|
|
20
25
|
createdBy?: string;
|
|
@@ -70,6 +75,13 @@ export class appQueueTour extends Model<appQueueTourAttributes, appQueueTourAttr
|
|
|
70
75
|
})
|
|
71
76
|
declare organizationType?: number;
|
|
72
77
|
|
|
78
|
+
@Column({
|
|
79
|
+
field: "organization_type_other",
|
|
80
|
+
allowNull: true,
|
|
81
|
+
type: DataType.STRING(255)
|
|
82
|
+
})
|
|
83
|
+
declare organizationTypeOther?: string;
|
|
84
|
+
|
|
73
85
|
@Column({
|
|
74
86
|
field: "organization_name",
|
|
75
87
|
allowNull: true,
|
|
@@ -111,6 +123,32 @@ export class appQueueTour extends Model<appQueueTourAttributes, appQueueTourAttr
|
|
|
111
123
|
})
|
|
112
124
|
declare participantsCount?: number;
|
|
113
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
|
+
|
|
114
152
|
@Column({
|
|
115
153
|
field: "ip_address",
|
|
116
154
|
allowNull: true,
|
|
@@ -7,14 +7,17 @@ interface appQueueAttributes {
|
|
|
7
7
|
approveDate?: Date;
|
|
8
8
|
fullName?: string;
|
|
9
9
|
residence?: number;
|
|
10
|
-
occupation?:
|
|
10
|
+
occupation?: number;
|
|
11
11
|
phoneNumber?: string;
|
|
12
12
|
email?: string;
|
|
13
13
|
lineId?: string;
|
|
14
|
-
consultChannel?:
|
|
15
|
-
consultTopic?:
|
|
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?:
|
|
35
|
+
occupation?: number;
|
|
33
36
|
phoneNumber?: string;
|
|
34
37
|
email?: string;
|
|
35
38
|
lineId?: string;
|
|
36
|
-
consultChannel?:
|
|
37
|
-
consultTopic?:
|
|
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.
|
|
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.
|
|
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.
|
|
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",
|
|
@@ -7,12 +7,17 @@ interface appQueueTourAttributes {
|
|
|
7
7
|
approveDate?: Date;
|
|
8
8
|
timeSlot?: number;
|
|
9
9
|
organizationType?: number;
|
|
10
|
+
organizationTypeOther?: string;
|
|
10
11
|
organizationName?: string;
|
|
11
12
|
contactPerson?: string;
|
|
12
13
|
phoneNumber?: string;
|
|
13
14
|
email?: string;
|
|
14
15
|
lineId?: string;
|
|
15
16
|
participantsCount?: number;
|
|
17
|
+
topics?: object;
|
|
18
|
+
reserveParkingCar?: number;
|
|
19
|
+
reserveParkingBus?: number;
|
|
20
|
+
attachments?: object;
|
|
16
21
|
ipAddress?: string;
|
|
17
22
|
status?: number;
|
|
18
23
|
createdBy?: string;
|
|
@@ -27,12 +32,17 @@ declare class appQueueTour extends Model<appQueueTourAttributes, appQueueTourAtt
|
|
|
27
32
|
approveDate?: Date;
|
|
28
33
|
timeSlot?: number;
|
|
29
34
|
organizationType?: number;
|
|
35
|
+
organizationTypeOther?: string;
|
|
30
36
|
organizationName?: string;
|
|
31
37
|
contactPerson?: string;
|
|
32
38
|
phoneNumber?: string;
|
|
33
39
|
email?: string;
|
|
34
40
|
lineId?: string;
|
|
35
41
|
participantsCount?: number;
|
|
42
|
+
topics?: object;
|
|
43
|
+
reserveParkingCar?: number;
|
|
44
|
+
reserveParkingBus?: number;
|
|
45
|
+
attachments?: object;
|
|
36
46
|
ipAddress?: string;
|
|
37
47
|
status?: number;
|
|
38
48
|
createdBy?: string;
|
|
@@ -75,6 +75,13 @@ __decorateClass([
|
|
|
75
75
|
type: import_sequelize_typescript.DataType.INTEGER
|
|
76
76
|
})
|
|
77
77
|
], appQueueTour.prototype, "organizationType", 2);
|
|
78
|
+
__decorateClass([
|
|
79
|
+
(0, import_sequelize_typescript.Column)({
|
|
80
|
+
field: "organization_type_other",
|
|
81
|
+
allowNull: true,
|
|
82
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
83
|
+
})
|
|
84
|
+
], appQueueTour.prototype, "organizationTypeOther", 2);
|
|
78
85
|
__decorateClass([
|
|
79
86
|
(0, import_sequelize_typescript.Column)({
|
|
80
87
|
field: "organization_name",
|
|
@@ -116,6 +123,32 @@ __decorateClass([
|
|
|
116
123
|
type: import_sequelize_typescript.DataType.INTEGER
|
|
117
124
|
})
|
|
118
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);
|
|
119
152
|
__decorateClass([
|
|
120
153
|
(0, import_sequelize_typescript.Column)({
|
|
121
154
|
field: "ip_address",
|
|
@@ -433,7 +433,7 @@ __decorateClass([
|
|
|
433
433
|
__decorateClass([
|
|
434
434
|
(0, import_sequelize_typescript4.Column)({
|
|
435
435
|
allowNull: true,
|
|
436
|
-
type: import_sequelize_typescript4.DataType.
|
|
436
|
+
type: import_sequelize_typescript4.DataType.INTEGER
|
|
437
437
|
})
|
|
438
438
|
], appQueue.prototype, "occupation", 2);
|
|
439
439
|
__decorateClass([
|
|
@@ -460,16 +460,23 @@ __decorateClass([
|
|
|
460
460
|
(0, import_sequelize_typescript4.Column)({
|
|
461
461
|
field: "consult_channel",
|
|
462
462
|
allowNull: true,
|
|
463
|
-
type: import_sequelize_typescript4.DataType.
|
|
463
|
+
type: import_sequelize_typescript4.DataType.INTEGER
|
|
464
464
|
})
|
|
465
465
|
], appQueue.prototype, "consultChannel", 2);
|
|
466
466
|
__decorateClass([
|
|
467
467
|
(0, import_sequelize_typescript4.Column)({
|
|
468
468
|
field: "consult_topic",
|
|
469
469
|
allowNull: true,
|
|
470
|
-
type: import_sequelize_typescript4.DataType.
|
|
470
|
+
type: import_sequelize_typescript4.DataType.INTEGER
|
|
471
471
|
})
|
|
472
472
|
], appQueue.prototype, "consultTopic", 2);
|
|
473
|
+
__decorateClass([
|
|
474
|
+
(0, import_sequelize_typescript4.Column)({
|
|
475
|
+
field: "consult_topic_other",
|
|
476
|
+
allowNull: true,
|
|
477
|
+
type: import_sequelize_typescript4.DataType.STRING(255)
|
|
478
|
+
})
|
|
479
|
+
], appQueue.prototype, "consultTopicOther", 2);
|
|
473
480
|
__decorateClass([
|
|
474
481
|
(0, import_sequelize_typescript4.Column)({
|
|
475
482
|
field: "black_case_number",
|
|
@@ -484,6 +491,18 @@ __decorateClass([
|
|
|
484
491
|
type: import_sequelize_typescript4.DataType.STRING(50)
|
|
485
492
|
})
|
|
486
493
|
], appQueue.prototype, "redCaseNumber", 2);
|
|
494
|
+
__decorateClass([
|
|
495
|
+
(0, import_sequelize_typescript4.Column)({
|
|
496
|
+
allowNull: true,
|
|
497
|
+
type: import_sequelize_typescript4.DataType.STRING
|
|
498
|
+
})
|
|
499
|
+
], appQueue.prototype, "issues", 2);
|
|
500
|
+
__decorateClass([
|
|
501
|
+
(0, import_sequelize_typescript4.Column)({
|
|
502
|
+
allowNull: true,
|
|
503
|
+
type: import_sequelize_typescript4.DataType.JSON
|
|
504
|
+
})
|
|
505
|
+
], appQueue.prototype, "attachments", 2);
|
|
487
506
|
__decorateClass([
|
|
488
507
|
(0, import_sequelize_typescript4.Column)({
|
|
489
508
|
field: "ip_address",
|
|
@@ -577,6 +596,13 @@ __decorateClass([
|
|
|
577
596
|
type: import_sequelize_typescript5.DataType.INTEGER
|
|
578
597
|
})
|
|
579
598
|
], appQueueTour.prototype, "organizationType", 2);
|
|
599
|
+
__decorateClass([
|
|
600
|
+
(0, import_sequelize_typescript5.Column)({
|
|
601
|
+
field: "organization_type_other",
|
|
602
|
+
allowNull: true,
|
|
603
|
+
type: import_sequelize_typescript5.DataType.STRING(255)
|
|
604
|
+
})
|
|
605
|
+
], appQueueTour.prototype, "organizationTypeOther", 2);
|
|
580
606
|
__decorateClass([
|
|
581
607
|
(0, import_sequelize_typescript5.Column)({
|
|
582
608
|
field: "organization_name",
|
|
@@ -618,6 +644,32 @@ __decorateClass([
|
|
|
618
644
|
type: import_sequelize_typescript5.DataType.INTEGER
|
|
619
645
|
})
|
|
620
646
|
], appQueueTour.prototype, "participantsCount", 2);
|
|
647
|
+
__decorateClass([
|
|
648
|
+
(0, import_sequelize_typescript5.Column)({
|
|
649
|
+
allowNull: true,
|
|
650
|
+
type: import_sequelize_typescript5.DataType.JSON
|
|
651
|
+
})
|
|
652
|
+
], appQueueTour.prototype, "topics", 2);
|
|
653
|
+
__decorateClass([
|
|
654
|
+
(0, import_sequelize_typescript5.Column)({
|
|
655
|
+
field: "reserve_parking_car",
|
|
656
|
+
allowNull: true,
|
|
657
|
+
type: import_sequelize_typescript5.DataType.INTEGER
|
|
658
|
+
})
|
|
659
|
+
], appQueueTour.prototype, "reserveParkingCar", 2);
|
|
660
|
+
__decorateClass([
|
|
661
|
+
(0, import_sequelize_typescript5.Column)({
|
|
662
|
+
field: "reserve_parking_bus",
|
|
663
|
+
allowNull: true,
|
|
664
|
+
type: import_sequelize_typescript5.DataType.INTEGER
|
|
665
|
+
})
|
|
666
|
+
], appQueueTour.prototype, "reserveParkingBus", 2);
|
|
667
|
+
__decorateClass([
|
|
668
|
+
(0, import_sequelize_typescript5.Column)({
|
|
669
|
+
allowNull: true,
|
|
670
|
+
type: import_sequelize_typescript5.DataType.JSON
|
|
671
|
+
})
|
|
672
|
+
], appQueueTour.prototype, "attachments", 2);
|
|
621
673
|
__decorateClass([
|
|
622
674
|
(0, import_sequelize_typescript5.Column)({
|
|
623
675
|
field: "ip_address",
|