@admc-go-th/admc-library 1.0.63 → 1.0.64

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.
@@ -12,14 +12,12 @@ export * from "./mdContent";
12
12
  export * from "./mdContentGroup";
13
13
  export * from "./mdDocumentPdf";
14
14
  export * from "./mdDownload";
15
- export * from "./mdDownloadBk";
16
15
  export * from "./mdDownloadGroup";
17
16
  export * from "./mdEbook";
18
17
  export * from "./mdEbookGroup";
19
18
  export * from "./mdFaq";
20
19
  export * from "./mdFaqGroup";
21
20
  export * from "./mdFormAdvance_1";
22
- export * from "./mdFormAdvance_2";
23
21
  export * from "./mdLink";
24
22
  export * from "./mdLinkGroup";
25
23
  export * from "./mdNews";
@@ -27,11 +25,12 @@ export * from "./mdNewsGroup";
27
25
  export * from "./mdPopup";
28
26
  export * from "./mdQuestionnaire";
29
27
  export * from "./mdSetting";
30
- export * from "./mdWords";
28
+ export * from "./member";
31
29
  export * from "./menu";
32
30
  export * from "./msModule";
33
31
  export * from "./oauthAccessToken";
34
32
  export * from "./oauthRefreshToken";
33
+ export * from "./setting";
35
34
  export * from "./settings";
36
35
  export * from "./userCenterV";
37
36
  export * from "./userRoleV";
@@ -1,98 +1,98 @@
1
- import {
2
- Model, Table, Column, DataType, Index, Sequelize, ForeignKey
3
- } from "sequelize-typescript";
4
-
5
- export interface mdFormAdvance_2Attributes {
6
- id?: number;
7
- uuid?: string;
8
- keyName?: string;
9
- name?: string;
10
- words?: string;
11
- status?: number;
12
- ipAddress?: string;
13
- createdBy?: string;
14
- createdDate?: Date;
15
- updatedBy?: string;
16
- updatedDate?: Date;
17
- }
18
-
19
- @Table({
20
- tableName: "md_form_advance_2",
21
- timestamps: false
22
- })
23
- export class mdFormAdvance_2 extends Model<mdFormAdvance_2Attributes, mdFormAdvance_2Attributes> implements mdFormAdvance_2Attributes {
24
-
25
- @Column({
26
- primaryKey: true,
27
- autoIncrement: true,
28
- type: DataType.INTEGER
29
- })
30
- declare id?: number;
31
-
32
- @Column({
33
- allowNull: true,
34
- type: DataType.STRING(60)
35
- })
36
- declare uuid?: string;
37
-
38
- @Column({
39
- field: "key_name",
40
- allowNull: true,
41
- type: DataType.STRING(100)
42
- })
43
- declare keyName?: string;
44
-
45
- @Column({
46
- allowNull: true,
47
- type: DataType.STRING(255)
48
- })
49
- declare name?: string;
50
-
51
- @Column({
52
- allowNull: true,
53
- type: DataType.STRING
54
- })
55
- declare words?: string;
56
-
57
- @Column({
58
- allowNull: true,
59
- type: DataType.INTEGER
60
- })
61
- declare status?: number;
62
-
63
- @Column({
64
- field: "ip_address",
65
- allowNull: true,
66
- type: DataType.STRING(15)
67
- })
68
- declare ipAddress?: string;
69
-
70
- @Column({
71
- field: "created_by",
72
- allowNull: true,
73
- type: DataType.STRING(60)
74
- })
75
- declare createdBy?: string;
76
-
77
- @Column({
78
- field: "created_date",
79
- allowNull: true,
80
- type: DataType.DATE
81
- })
82
- declare createdDate?: Date;
83
-
84
- @Column({
85
- field: "updated_by",
86
- allowNull: true,
87
- type: DataType.STRING(60)
88
- })
89
- declare updatedBy?: string;
90
-
91
- @Column({
92
- field: "updated_date",
93
- allowNull: true,
94
- type: DataType.DATE
95
- })
96
- declare updatedDate?: Date;
97
-
1
+ import {
2
+ Model, Table, Column, DataType, Index, Sequelize, ForeignKey
3
+ } from "sequelize-typescript";
4
+
5
+ export interface mdFormAdvance_2Attributes {
6
+ id?: number;
7
+ uuid?: string;
8
+ keyName?: string;
9
+ name?: string;
10
+ words?: string;
11
+ status?: number;
12
+ ipAddress?: string;
13
+ createdBy?: string;
14
+ createdDate?: Date;
15
+ updatedBy?: string;
16
+ updatedDate?: Date;
17
+ }
18
+
19
+ @Table({
20
+ tableName: "md_form_advance_2",
21
+ timestamps: false
22
+ })
23
+ export class mdFormAdvance_2 extends Model<mdFormAdvance_2Attributes, mdFormAdvance_2Attributes> implements mdFormAdvance_2Attributes {
24
+
25
+ @Column({
26
+ primaryKey: true,
27
+ autoIncrement: true,
28
+ type: DataType.INTEGER
29
+ })
30
+ declare id?: number;
31
+
32
+ @Column({
33
+ allowNull: true,
34
+ type: DataType.STRING(60)
35
+ })
36
+ declare uuid?: string;
37
+
38
+ @Column({
39
+ field: "key_name",
40
+ allowNull: true,
41
+ type: DataType.STRING(100)
42
+ })
43
+ declare keyName?: string;
44
+
45
+ @Column({
46
+ allowNull: true,
47
+ type: DataType.STRING(255)
48
+ })
49
+ declare name?: string;
50
+
51
+ @Column({
52
+ allowNull: true,
53
+ type: DataType.STRING
54
+ })
55
+ declare words?: string;
56
+
57
+ @Column({
58
+ allowNull: true,
59
+ type: DataType.INTEGER
60
+ })
61
+ declare status?: number;
62
+
63
+ @Column({
64
+ field: "ip_address",
65
+ allowNull: true,
66
+ type: DataType.STRING(15)
67
+ })
68
+ declare ipAddress?: string;
69
+
70
+ @Column({
71
+ field: "created_by",
72
+ allowNull: true,
73
+ type: DataType.STRING(60)
74
+ })
75
+ declare createdBy?: string;
76
+
77
+ @Column({
78
+ field: "created_date",
79
+ allowNull: true,
80
+ type: DataType.DATE
81
+ })
82
+ declare createdDate?: Date;
83
+
84
+ @Column({
85
+ field: "updated_by",
86
+ allowNull: true,
87
+ type: DataType.STRING(60)
88
+ })
89
+ declare updatedBy?: string;
90
+
91
+ @Column({
92
+ field: "updated_date",
93
+ allowNull: true,
94
+ type: DataType.DATE
95
+ })
96
+ declare updatedDate?: Date;
97
+
98
98
  }
@@ -1,97 +1,97 @@
1
- import {
2
- Model, Table, Column, DataType, Index, Sequelize, ForeignKey
3
- } from "sequelize-typescript";
4
-
5
- export interface mdWordsAttributes {
6
- id?: number;
7
- uuid?: string;
8
- keyName?: string;
9
- name?: string;
10
- value?: string;
11
- status?: number;
12
- total?: number;
13
- createdBy?: string;
14
- createdDate?: Date;
15
- updatedBy?: string;
16
- updatedDate?: Date;
17
- }
18
-
19
- @Table({
20
- tableName: "md_words",
21
- timestamps: false
22
- })
23
- export class mdWords extends Model<mdWordsAttributes, mdWordsAttributes> implements mdWordsAttributes {
24
-
25
- @Column({
26
- primaryKey: true,
27
- autoIncrement: true,
28
- type: DataType.INTEGER
29
- })
30
- declare id?: number;
31
-
32
- @Column({
33
- allowNull: true,
34
- type: DataType.STRING(60)
35
- })
36
- declare uuid?: string;
37
-
38
- @Column({
39
- field: "key_name",
40
- allowNull: true,
41
- type: DataType.STRING(100)
42
- })
43
- declare keyName?: string;
44
-
45
- @Column({
46
- allowNull: true,
47
- type: DataType.STRING(255)
48
- })
49
- declare name?: string;
50
-
51
- @Column({
52
- allowNull: true,
53
- type: DataType.STRING
54
- })
55
- declare value?: string;
56
-
57
- @Column({
58
- allowNull: true,
59
- type: DataType.INTEGER
60
- })
61
- declare status?: number;
62
-
63
- @Column({
64
- allowNull: true,
65
- type: DataType.INTEGER
66
- })
67
- declare total?: number;
68
-
69
- @Column({
70
- field: "created_by",
71
- allowNull: true,
72
- type: DataType.STRING(60)
73
- })
74
- declare createdBy?: string;
75
-
76
- @Column({
77
- field: "created_date",
78
- allowNull: true,
79
- type: DataType.DATE
80
- })
81
- declare createdDate?: Date;
82
-
83
- @Column({
84
- field: "updated_by",
85
- allowNull: true,
86
- type: DataType.STRING(60)
87
- })
88
- declare updatedBy?: string;
89
-
90
- @Column({
91
- field: "updated_date",
92
- allowNull: true,
93
- type: DataType.DATE
94
- })
95
- declare updatedDate?: Date;
96
-
1
+ import {
2
+ Model, Table, Column, DataType, Index, Sequelize, ForeignKey
3
+ } from "sequelize-typescript";
4
+
5
+ export interface mdWordsAttributes {
6
+ id?: number;
7
+ uuid?: string;
8
+ keyName?: string;
9
+ name?: string;
10
+ value?: string;
11
+ status?: number;
12
+ total?: number;
13
+ createdBy?: string;
14
+ createdDate?: Date;
15
+ updatedBy?: string;
16
+ updatedDate?: Date;
17
+ }
18
+
19
+ @Table({
20
+ tableName: "md_words",
21
+ timestamps: false
22
+ })
23
+ export class mdWords extends Model<mdWordsAttributes, mdWordsAttributes> implements mdWordsAttributes {
24
+
25
+ @Column({
26
+ primaryKey: true,
27
+ autoIncrement: true,
28
+ type: DataType.INTEGER
29
+ })
30
+ declare id?: number;
31
+
32
+ @Column({
33
+ allowNull: true,
34
+ type: DataType.STRING(60)
35
+ })
36
+ declare uuid?: string;
37
+
38
+ @Column({
39
+ field: "key_name",
40
+ allowNull: true,
41
+ type: DataType.STRING(100)
42
+ })
43
+ declare keyName?: string;
44
+
45
+ @Column({
46
+ allowNull: true,
47
+ type: DataType.STRING(255)
48
+ })
49
+ declare name?: string;
50
+
51
+ @Column({
52
+ allowNull: true,
53
+ type: DataType.STRING
54
+ })
55
+ declare value?: string;
56
+
57
+ @Column({
58
+ allowNull: true,
59
+ type: DataType.INTEGER
60
+ })
61
+ declare status?: number;
62
+
63
+ @Column({
64
+ allowNull: true,
65
+ type: DataType.INTEGER
66
+ })
67
+ declare total?: number;
68
+
69
+ @Column({
70
+ field: "created_by",
71
+ allowNull: true,
72
+ type: DataType.STRING(60)
73
+ })
74
+ declare createdBy?: string;
75
+
76
+ @Column({
77
+ field: "created_date",
78
+ allowNull: true,
79
+ type: DataType.DATE
80
+ })
81
+ declare createdDate?: Date;
82
+
83
+ @Column({
84
+ field: "updated_by",
85
+ allowNull: true,
86
+ type: DataType.STRING(60)
87
+ })
88
+ declare updatedBy?: string;
89
+
90
+ @Column({
91
+ field: "updated_date",
92
+ allowNull: true,
93
+ type: DataType.DATE
94
+ })
95
+ declare updatedDate?: Date;
96
+
97
97
  }
@@ -0,0 +1,217 @@
1
+ import {
2
+ Model, Table, Column, DataType, Index, Sequelize, ForeignKey
3
+ } from "sequelize-typescript";
4
+
5
+ export interface memberAttributes {
6
+ id?: number;
7
+ uuid?: string;
8
+ username?: string;
9
+ passwordHash?: string;
10
+ passwordResetToken?: string;
11
+ verificationToken?: string;
12
+ authKey?: string;
13
+ userType?: number;
14
+ email?: string;
15
+ prefix?: string;
16
+ firstName?: string;
17
+ lastName?: string;
18
+ phone?: string;
19
+ job?: string;
20
+ agency?: string;
21
+ position?: string;
22
+ gender?: string;
23
+ status?: number;
24
+ is_2fa?: number;
25
+ lineId?: string;
26
+ facebookId?: string;
27
+ policy?: number;
28
+ terms?: number;
29
+ createdBy?: string;
30
+ createdDate?: Date;
31
+ updatedBy?: string;
32
+ updatedDate?: Date;
33
+ }
34
+
35
+ @Table({
36
+ tableName: "member",
37
+ timestamps: false
38
+ })
39
+ export class member extends Model<memberAttributes, memberAttributes> implements memberAttributes {
40
+
41
+ @Column({
42
+ primaryKey: true,
43
+ autoIncrement: true,
44
+ type: DataType.INTEGER
45
+ })
46
+ declare id?: number;
47
+
48
+ @Column({
49
+ allowNull: true,
50
+ type: DataType.STRING(60)
51
+ })
52
+ declare uuid?: string;
53
+
54
+ @Column({
55
+ allowNull: true,
56
+ type: DataType.STRING(255)
57
+ })
58
+ declare username?: string;
59
+
60
+ @Column({
61
+ field: "password_hash",
62
+ allowNull: true,
63
+ type: DataType.STRING(255)
64
+ })
65
+ declare passwordHash?: string;
66
+
67
+ @Column({
68
+ field: "password_reset_token",
69
+ allowNull: true,
70
+ type: DataType.STRING(255)
71
+ })
72
+ declare passwordResetToken?: string;
73
+
74
+ @Column({
75
+ field: "verification_token",
76
+ allowNull: true,
77
+ type: DataType.STRING(255)
78
+ })
79
+ declare verificationToken?: string;
80
+
81
+ @Column({
82
+ field: "auth_key",
83
+ allowNull: true,
84
+ type: DataType.STRING(32)
85
+ })
86
+ declare authKey?: string;
87
+
88
+ @Column({
89
+ field: "user_type",
90
+ allowNull: true,
91
+ type: DataType.INTEGER
92
+ })
93
+ declare userType?: number;
94
+
95
+ @Column({
96
+ allowNull: true,
97
+ type: DataType.STRING(255)
98
+ })
99
+ declare email?: string;
100
+
101
+ @Column({
102
+ allowNull: true,
103
+ type: DataType.STRING(10)
104
+ })
105
+ declare prefix?: string;
106
+
107
+ @Column({
108
+ field: "first_name",
109
+ allowNull: true,
110
+ type: DataType.STRING(100)
111
+ })
112
+ declare firstName?: string;
113
+
114
+ @Column({
115
+ field: "last_name",
116
+ allowNull: true,
117
+ type: DataType.STRING(100)
118
+ })
119
+ declare lastName?: string;
120
+
121
+ @Column({
122
+ allowNull: true,
123
+ type: DataType.STRING(20)
124
+ })
125
+ declare phone?: string;
126
+
127
+ @Column({
128
+ allowNull: true,
129
+ type: DataType.STRING(255)
130
+ })
131
+ declare job?: string;
132
+
133
+ @Column({
134
+ allowNull: true,
135
+ type: DataType.STRING(255)
136
+ })
137
+ declare agency?: string;
138
+
139
+ @Column({
140
+ allowNull: true,
141
+ type: DataType.STRING(255)
142
+ })
143
+ declare position?: string;
144
+
145
+ @Column({
146
+ allowNull: true,
147
+ type: DataType.STRING(1)
148
+ })
149
+ declare gender?: string;
150
+
151
+ @Column({
152
+ allowNull: true,
153
+ type: DataType.SMALLINT
154
+ })
155
+ declare status?: number;
156
+
157
+ @Column({
158
+ allowNull: true,
159
+ type: DataType.INTEGER
160
+ })
161
+ declare is_2fa?: number;
162
+
163
+ @Column({
164
+ field: "line_id",
165
+ allowNull: true,
166
+ type: DataType.STRING(255)
167
+ })
168
+ declare lineId?: string;
169
+
170
+ @Column({
171
+ field: "facebook_id",
172
+ allowNull: true,
173
+ type: DataType.STRING(255)
174
+ })
175
+ declare facebookId?: string;
176
+
177
+ @Column({
178
+ allowNull: true,
179
+ type: DataType.INTEGER
180
+ })
181
+ declare policy?: number;
182
+
183
+ @Column({
184
+ allowNull: true,
185
+ type: DataType.INTEGER
186
+ })
187
+ declare terms?: number;
188
+
189
+ @Column({
190
+ field: "created_by",
191
+ allowNull: true,
192
+ type: DataType.STRING(60)
193
+ })
194
+ declare createdBy?: string;
195
+
196
+ @Column({
197
+ field: "created_date",
198
+ allowNull: true,
199
+ type: DataType.DATE
200
+ })
201
+ declare createdDate?: Date;
202
+
203
+ @Column({
204
+ field: "updated_by",
205
+ allowNull: true,
206
+ type: DataType.STRING(60)
207
+ })
208
+ declare updatedBy?: string;
209
+
210
+ @Column({
211
+ field: "updated_date",
212
+ allowNull: true,
213
+ type: DataType.DATE
214
+ })
215
+ declare updatedDate?: Date;
216
+
217
+ }
@@ -6,18 +6,17 @@ export { mdCmsSingle, mdCmsSingleAttributes } from './mdCmsSingle.js';
6
6
  export { mdConfiguration, mdConfigurationAttributes } from './mdConfiguration.js';
7
7
  export { mdDocumentPdf, mdDocumentPdfAttributes } from './mdDocumentPdf.js';
8
8
  export { a as mdDownload, m as mdDownloadAttributes, c as mdDownloadGroup, b as mdDownloadGroupAttributes } from '../../mdDownload-DVpoDQbc.js';
9
- export { mdDownloadBk, mdDownloadBkAttributes } from './mdDownloadBk.js';
10
9
  export { a as mdEbook, m as mdEbookAttributes, c as mdEbookGroup, b as mdEbookGroupAttributes } from '../../mdEbook-D18honC4.js';
11
10
  export { a as mdFaq, m as mdFaqAttributes, c as mdFaqGroup, b as mdFaqGroupAttributes } from '../../mdFaq-1c4X_DI2.js';
12
11
  export { mdFormAdvance_1, mdFormAdvance_1Attributes } from './mdFormAdvance_1.js';
13
- export { mdFormAdvance_2, mdFormAdvance_2Attributes } from './mdFormAdvance_2.js';
14
12
  export { a as mdLink, m as mdLinkAttributes, c as mdLinkGroup, b as mdLinkGroupAttributes } from '../../mdLink-Cr23xu_o.js';
15
13
  export { a as mdNews, m as mdNewsAttributes, c as mdNewsGroup, b as mdNewsGroupAttributes } from '../../mdNews-CqZ9kQ8-.js';
16
14
  export { mdPopup, mdPopupAttributes } from './mdPopup.js';
17
15
  export { mdSetting, mdSettingAttributes } from './mdSetting.js';
18
- export { mdWords, mdWordsAttributes } from './mdWords.js';
16
+ export { member, memberAttributes } from './member.js';
19
17
  export { oauthAccessToken, oauthAccessTokenAttributes } from './oauthAccessToken.js';
20
18
  export { oauthRefreshToken, oauthRefreshTokenAttributes } from './oauthRefreshToken.js';
19
+ export { setting, settingAttributes } from './setting.js';
21
20
  export { settings, settingsAttributes } from './settings.js';
22
21
  export { userCenterV, userCenterVAttributes } from './userCenterV.js';
23
22
  export { userRoleV, userRoleVAttributes } from './userRoleV.js';