@admc-go-th/admc-library 1.0.96 → 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.
@@ -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,
@@ -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;
@@ -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,
@@ -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",
@@ -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;
@@ -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;
@@ -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",
@@ -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.STRING(100)
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.STRING(100)
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.STRING
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",
@@ -625,6 +644,32 @@ __decorateClass([
625
644
  type: import_sequelize_typescript5.DataType.INTEGER
626
645
  })
627
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);
628
673
  __decorateClass([
629
674
  (0, import_sequelize_typescript5.Column)({
630
675
  field: "ip_address",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@admc-go-th/admc-library",
3
- "version": "1.0.96",
3
+ "version": "1.0.98",
4
4
  "description": "",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",