@admc-go-th/admc-library 1.0.89 → 1.0.91

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.
@@ -0,0 +1,169 @@
1
+ import {
2
+ Model, Table, Column, DataType, Index, Sequelize, ForeignKey
3
+ } from "sequelize-typescript";
4
+
5
+ export interface appQueueAttributes {
6
+ id?: number;
7
+ uuid?: string;
8
+ requestDate?: Date;
9
+ approveDate?: Date;
10
+ fullName?: string;
11
+ residence?: number;
12
+ occupation?: string;
13
+ phoneNumber?: string;
14
+ email?: string;
15
+ lineId?: string;
16
+ consultChannel?: string;
17
+ consultTopic?: string;
18
+ blackCaseNumber?: string;
19
+ redCaseNumber?: string;
20
+ ipAddress?: string;
21
+ status?: number;
22
+ createdBy?: string;
23
+ createdDate?: Date;
24
+ updatedBy?: string;
25
+ updatedDate?: Date;
26
+ }
27
+
28
+ @Table({
29
+ tableName: "app_queue",
30
+ timestamps: false
31
+ })
32
+ export class appQueue extends Model<appQueueAttributes, appQueueAttributes> implements appQueueAttributes {
33
+
34
+ @Column({
35
+ primaryKey: true,
36
+ autoIncrement: true,
37
+ type: DataType.INTEGER
38
+ })
39
+ declare id?: number;
40
+
41
+ @Column({
42
+ allowNull: true,
43
+ type: DataType.STRING(60)
44
+ })
45
+ declare uuid?: string;
46
+
47
+ @Column({
48
+ field: "request_date",
49
+ allowNull: true,
50
+ type: DataType.DATE
51
+ })
52
+ declare requestDate?: Date;
53
+
54
+ @Column({
55
+ field: "approve_date",
56
+ allowNull: true,
57
+ type: DataType.DATE
58
+ })
59
+ declare approveDate?: Date;
60
+
61
+ @Column({
62
+ field: "full_name",
63
+ allowNull: true,
64
+ type: DataType.STRING(255)
65
+ })
66
+ declare fullName?: string;
67
+
68
+ @Column({
69
+ allowNull: true,
70
+ type: DataType.INTEGER
71
+ })
72
+ declare residence?: number;
73
+
74
+ @Column({
75
+ allowNull: true,
76
+ type: DataType.STRING(100)
77
+ })
78
+ declare occupation?: string;
79
+
80
+ @Column({
81
+ field: "phone_number",
82
+ allowNull: true,
83
+ type: DataType.STRING(20)
84
+ })
85
+ declare phoneNumber?: string;
86
+
87
+ @Column({
88
+ allowNull: true,
89
+ type: DataType.STRING(150)
90
+ })
91
+ declare email?: string;
92
+
93
+ @Column({
94
+ field: "line_id",
95
+ allowNull: true,
96
+ type: DataType.STRING(100)
97
+ })
98
+ declare lineId?: string;
99
+
100
+ @Column({
101
+ field: "consult_channel",
102
+ allowNull: true,
103
+ type: DataType.STRING(100)
104
+ })
105
+ declare consultChannel?: string;
106
+
107
+ @Column({
108
+ field: "consult_topic",
109
+ allowNull: true,
110
+ type: DataType.STRING
111
+ })
112
+ declare consultTopic?: string;
113
+
114
+ @Column({
115
+ field: "black_case_number",
116
+ allowNull: true,
117
+ type: DataType.STRING(50)
118
+ })
119
+ declare blackCaseNumber?: string;
120
+
121
+ @Column({
122
+ field: "red_case_number",
123
+ allowNull: true,
124
+ type: DataType.STRING(50)
125
+ })
126
+ declare redCaseNumber?: string;
127
+
128
+ @Column({
129
+ field: "ip_address",
130
+ allowNull: true,
131
+ type: DataType.STRING(30)
132
+ })
133
+ declare ipAddress?: string;
134
+
135
+ @Column({
136
+ allowNull: true,
137
+ type: DataType.INTEGER
138
+ })
139
+ declare status?: number;
140
+
141
+ @Column({
142
+ field: "created_by",
143
+ allowNull: true,
144
+ type: DataType.STRING(60)
145
+ })
146
+ declare createdBy?: string;
147
+
148
+ @Column({
149
+ field: "created_date",
150
+ allowNull: true,
151
+ type: DataType.DATE
152
+ })
153
+ declare createdDate?: Date;
154
+
155
+ @Column({
156
+ field: "updated_by",
157
+ allowNull: true,
158
+ type: DataType.STRING(60)
159
+ })
160
+ declare updatedBy?: string;
161
+
162
+ @Column({
163
+ field: "updated_date",
164
+ allowNull: true,
165
+ type: DataType.DATE
166
+ })
167
+ declare updatedDate?: Date;
168
+
169
+ }
@@ -0,0 +1,155 @@
1
+ import {
2
+ Model, Table, Column, DataType, Index, Sequelize, ForeignKey
3
+ } from "sequelize-typescript";
4
+
5
+ export interface appQueueTourAttributes {
6
+ id?: number;
7
+ uuid?: string;
8
+ requestDate?: Date;
9
+ approveDate?: Date;
10
+ timeSlot?: number;
11
+ organizationType?: number;
12
+ organizationName?: string;
13
+ contactPerson?: string;
14
+ phoneNumber?: string;
15
+ email?: string;
16
+ lineId?: string;
17
+ participantsCount?: number;
18
+ ipAddress?: string;
19
+ status?: number;
20
+ createdBy?: string;
21
+ createdDate?: Date;
22
+ updatedBy?: string;
23
+ updatedDate?: Date;
24
+ }
25
+
26
+ @Table({
27
+ tableName: "app_queue_tour",
28
+ timestamps: false
29
+ })
30
+ export class appQueueTour extends Model<appQueueTourAttributes, appQueueTourAttributes> implements appQueueTourAttributes {
31
+
32
+ @Column({
33
+ primaryKey: true,
34
+ autoIncrement: true,
35
+ type: DataType.INTEGER
36
+ })
37
+ declare id?: number;
38
+
39
+ @Column({
40
+ allowNull: true,
41
+ type: DataType.STRING(60)
42
+ })
43
+ declare uuid?: string;
44
+
45
+ @Column({
46
+ field: "request_date",
47
+ allowNull: true,
48
+ type: DataType.DATE
49
+ })
50
+ declare requestDate?: Date;
51
+
52
+ @Column({
53
+ field: "approve_date",
54
+ allowNull: true,
55
+ type: DataType.DATE
56
+ })
57
+ declare approveDate?: Date;
58
+
59
+ @Column({
60
+ field: "time_slot",
61
+ allowNull: true,
62
+ type: DataType.INTEGER
63
+ })
64
+ declare timeSlot?: number;
65
+
66
+ @Column({
67
+ field: "organization_type",
68
+ allowNull: true,
69
+ type: DataType.INTEGER
70
+ })
71
+ declare organizationType?: number;
72
+
73
+ @Column({
74
+ field: "organization_name",
75
+ allowNull: true,
76
+ type: DataType.STRING(255)
77
+ })
78
+ declare organizationName?: string;
79
+
80
+ @Column({
81
+ field: "contact_person",
82
+ allowNull: true,
83
+ type: DataType.STRING(150)
84
+ })
85
+ declare contactPerson?: string;
86
+
87
+ @Column({
88
+ field: "phone_number",
89
+ allowNull: true,
90
+ type: DataType.STRING(20)
91
+ })
92
+ declare phoneNumber?: string;
93
+
94
+ @Column({
95
+ allowNull: true,
96
+ type: DataType.STRING(150)
97
+ })
98
+ declare email?: string;
99
+
100
+ @Column({
101
+ field: "line_id",
102
+ allowNull: true,
103
+ type: DataType.STRING(100)
104
+ })
105
+ declare lineId?: string;
106
+
107
+ @Column({
108
+ field: "participants_count",
109
+ allowNull: true,
110
+ type: DataType.INTEGER
111
+ })
112
+ declare participantsCount?: number;
113
+
114
+ @Column({
115
+ field: "ip_address",
116
+ allowNull: true,
117
+ type: DataType.STRING(30)
118
+ })
119
+ declare ipAddress?: string;
120
+
121
+ @Column({
122
+ allowNull: true,
123
+ type: DataType.INTEGER
124
+ })
125
+ declare status?: number;
126
+
127
+ @Column({
128
+ field: "created_by",
129
+ allowNull: true,
130
+ type: DataType.STRING(60)
131
+ })
132
+ declare createdBy?: string;
133
+
134
+ @Column({
135
+ field: "created_date",
136
+ allowNull: true,
137
+ type: DataType.DATE
138
+ })
139
+ declare createdDate?: Date;
140
+
141
+ @Column({
142
+ field: "updated_by",
143
+ allowNull: true,
144
+ type: DataType.STRING(60)
145
+ })
146
+ declare updatedBy?: string;
147
+
148
+ @Column({
149
+ field: "updated_date",
150
+ allowNull: true,
151
+ type: DataType.DATE
152
+ })
153
+ declare updatedDate?: Date;
154
+
155
+ }
@@ -0,0 +1,180 @@
1
+ import {
2
+ Model, Table, Column, DataType, Index, Sequelize, ForeignKey
3
+ } from "sequelize-typescript";
4
+
5
+ export interface appReportCorruptionAttributes {
6
+ id?: number;
7
+ uuid?: string;
8
+ code?: string;
9
+ title?: string;
10
+ detail?: string;
11
+ prefix?: string;
12
+ firstName?: string;
13
+ lastName?: string;
14
+ idCard?: string;
15
+ address?: string;
16
+ provinceId?: number;
17
+ phoneNumber?: string;
18
+ email?: string;
19
+ occupation?: string;
20
+ attachments?: object;
21
+ isRequestPostOffice?: number;
22
+ ipAddress?: string;
23
+ status?: number;
24
+ createdBy?: string;
25
+ createdDate?: Date;
26
+ updatedBy?: string;
27
+ updatedDate?: Date;
28
+ }
29
+
30
+ @Table({
31
+ tableName: "app_report_corruption",
32
+ timestamps: false
33
+ })
34
+ export class appReportCorruption extends Model<appReportCorruptionAttributes, appReportCorruptionAttributes> implements appReportCorruptionAttributes {
35
+
36
+ @Column({
37
+ primaryKey: true,
38
+ autoIncrement: true,
39
+ type: DataType.INTEGER
40
+ })
41
+ declare id?: number;
42
+
43
+ @Column({
44
+ allowNull: true,
45
+ type: DataType.STRING(60)
46
+ })
47
+ declare uuid?: string;
48
+
49
+ @Column({
50
+ allowNull: true,
51
+ type: DataType.STRING(10)
52
+ })
53
+ declare code?: string;
54
+
55
+ @Column({
56
+ allowNull: true,
57
+ type: DataType.STRING(255)
58
+ })
59
+ declare title?: string;
60
+
61
+ @Column({
62
+ allowNull: true,
63
+ type: DataType.STRING
64
+ })
65
+ declare detail?: string;
66
+
67
+ @Column({
68
+ allowNull: true,
69
+ type: DataType.STRING(10)
70
+ })
71
+ declare prefix?: string;
72
+
73
+ @Column({
74
+ field: "first_name",
75
+ allowNull: true,
76
+ type: DataType.STRING(100)
77
+ })
78
+ declare firstName?: string;
79
+
80
+ @Column({
81
+ field: "last_name",
82
+ allowNull: true,
83
+ type: DataType.STRING(100)
84
+ })
85
+ declare lastName?: string;
86
+
87
+ @Column({
88
+ field: "id_card",
89
+ allowNull: true,
90
+ type: DataType.STRING(20)
91
+ })
92
+ declare idCard?: string;
93
+
94
+ @Column({
95
+ allowNull: true,
96
+ type: DataType.STRING
97
+ })
98
+ declare address?: string;
99
+
100
+ @Column({
101
+ field: "province_id",
102
+ allowNull: true,
103
+ type: DataType.INTEGER
104
+ })
105
+ declare provinceId?: number;
106
+
107
+ @Column({
108
+ field: "phone_number",
109
+ allowNull: true,
110
+ type: DataType.STRING(20)
111
+ })
112
+ declare phoneNumber?: string;
113
+
114
+ @Column({
115
+ allowNull: true,
116
+ type: DataType.STRING(150)
117
+ })
118
+ declare email?: string;
119
+
120
+ @Column({
121
+ allowNull: true,
122
+ type: DataType.STRING(100)
123
+ })
124
+ declare occupation?: string;
125
+
126
+ @Column({
127
+ allowNull: true,
128
+ type: DataType.JSON
129
+ })
130
+ declare attachments?: object;
131
+
132
+ @Column({
133
+ field: "is_request_post_office",
134
+ allowNull: true,
135
+ type: DataType.INTEGER
136
+ })
137
+ declare isRequestPostOffice?: number;
138
+
139
+ @Column({
140
+ field: "ip_address",
141
+ allowNull: true,
142
+ type: DataType.STRING(30)
143
+ })
144
+ declare ipAddress?: string;
145
+
146
+ @Column({
147
+ allowNull: true,
148
+ type: DataType.INTEGER
149
+ })
150
+ declare status?: number;
151
+
152
+ @Column({
153
+ field: "created_by",
154
+ allowNull: true,
155
+ type: DataType.STRING(60)
156
+ })
157
+ declare createdBy?: string;
158
+
159
+ @Column({
160
+ field: "created_date",
161
+ allowNull: true,
162
+ type: DataType.DATE
163
+ })
164
+ declare createdDate?: Date;
165
+
166
+ @Column({
167
+ field: "updated_by",
168
+ allowNull: true,
169
+ type: DataType.STRING(60)
170
+ })
171
+ declare updatedBy?: string;
172
+
173
+ @Column({
174
+ field: "updated_date",
175
+ allowNull: true,
176
+ type: DataType.DATE
177
+ })
178
+ declare updatedDate?: Date;
179
+
180
+ }
@@ -1,6 +1,9 @@
1
1
  export * from "./appBlessings";
2
2
  export * from "./appBlessingsTransaction";
3
3
  export * from "./appFaq";
4
+ export * from "./appQueue";
5
+ export * from "./appQueueTour";
6
+ export * from "./appReportCorruption";
4
7
  export * from "./authAssignment";
5
8
  export * from "./authItem";
6
9
  export * from "./authItemChild";
@@ -0,0 +1,48 @@
1
+ import { Model } from 'sequelize-typescript';
2
+
3
+ interface appQueueAttributes {
4
+ id?: number;
5
+ uuid?: string;
6
+ requestDate?: Date;
7
+ approveDate?: Date;
8
+ fullName?: string;
9
+ residence?: number;
10
+ occupation?: string;
11
+ phoneNumber?: string;
12
+ email?: string;
13
+ lineId?: string;
14
+ consultChannel?: string;
15
+ consultTopic?: string;
16
+ blackCaseNumber?: string;
17
+ redCaseNumber?: string;
18
+ ipAddress?: string;
19
+ status?: number;
20
+ createdBy?: string;
21
+ createdDate?: Date;
22
+ updatedBy?: string;
23
+ updatedDate?: Date;
24
+ }
25
+ declare class appQueue extends Model<appQueueAttributes, appQueueAttributes> implements appQueueAttributes {
26
+ id?: number;
27
+ uuid?: string;
28
+ requestDate?: Date;
29
+ approveDate?: Date;
30
+ fullName?: string;
31
+ residence?: number;
32
+ occupation?: string;
33
+ phoneNumber?: string;
34
+ email?: string;
35
+ lineId?: string;
36
+ consultChannel?: string;
37
+ consultTopic?: string;
38
+ blackCaseNumber?: string;
39
+ redCaseNumber?: string;
40
+ ipAddress?: string;
41
+ status?: number;
42
+ createdBy?: string;
43
+ createdDate?: Date;
44
+ updatedBy?: string;
45
+ updatedDate?: Date;
46
+ }
47
+
48
+ export { appQueue, type appQueueAttributes };