@admc-go-th/admc-library 1.0.130 → 1.0.133
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/{appQueue-QJ9ECucz.d.ts → appQueue-HW5J6Gb9.d.ts} +6 -2
- package/{authAssignment-BAUCoEP6.d.ts → authAssignment-De3034JH.d.ts} +16 -0
- package/databases/schema/appQueue.ts +24 -8
- package/databases/schema/appScore.ts +8 -0
- package/databases/schema/formFaq.ts +126 -126
- package/databases/schema/index.ts +8 -5
- package/databases/schema/informationIndex.ts +211 -211
- package/databases/schema/informationIndexGroup.ts +103 -103
- package/databases/schema/mdDownloadBk.ts +136 -136
- package/databases/schema/msConsultCase.ts +0 -8
- package/databases/schema/msConsultSiteCase.ts +91 -0
- package/databases/schema/msConsultSiteIssue.ts +84 -0
- package/databases/schema/msExecutive.ts +0 -5
- package/databases/schema/msExecutiveActing.ts +75 -0
- package/databases/schema/msExecutiveBoard.ts +82 -82
- package/databases/schema/msExecutiveBoardBk.ts +83 -0
- package/databases/schema/msExecutivePosition.ts +117 -117
- package/databases/schema/msExecutivePositionBk.ts +112 -0
- package/databases/schema/msGuidelines.ts +88 -88
- package/databases/schema/msOrganization.ts +139 -0
- package/databases/schema/msPosition.ts +76 -0
- package/databases/schema/msQueueTourFaq.ts +90 -0
- package/databases/schema/msQueueTourGuidelines.ts +90 -0
- package/databases/schema/setting.ts +73 -73
- package/databases/schema/userPermissionV.ts +78 -0
- package/databases/schema/users.ts +62 -0
- package/databases/tables/appQueue.d.ts +1 -1
- package/databases/tables/appQueue.js +21 -7
- package/databases/tables/appScore.d.ts +2 -0
- package/databases/tables/appScore.js +7 -0
- package/databases/tables/authAssignment.d.ts +1 -1
- package/databases/tables/authAssignment.js +54 -0
- package/databases/tables/authRole.d.ts +1 -1
- package/databases/tables/authRole.js +54 -0
- package/databases/tables/authRoleChild.d.ts +1 -1
- package/databases/tables/authRoleChild.js +54 -0
- package/databases/tables/index.d.ts +11 -7
- package/databases/tables/index.js +942 -690
- package/databases/tables/mdContent.d.ts +1 -1
- package/databases/tables/mdContent.js +54 -0
- package/databases/tables/mdContentGroup.d.ts +1 -1
- package/databases/tables/mdContentGroup.js +54 -0
- package/databases/tables/mdQuestionnaire.d.ts +1 -1
- package/databases/tables/mdQuestionnaire.js +54 -0
- package/databases/tables/mdQuestionnaireData.d.ts +1 -1
- package/databases/tables/mdQuestionnaireData.js +54 -0
- package/databases/tables/msConsultCase.d.ts +0 -2
- package/databases/tables/msConsultCase.js +0 -7
- package/databases/tables/msConsultChannels.d.ts +1 -1
- package/databases/tables/msConsultChannels.js +21 -7
- package/databases/tables/msConsultSiteCase.d.ts +28 -0
- package/databases/tables/msConsultSiteCase.js +113 -0
- package/databases/tables/msConsultSiteIssue.d.ts +26 -0
- package/databases/tables/msConsultSiteIssue.js +107 -0
- package/databases/tables/msExecutive.d.ts +1 -1
- package/databases/tables/msExecutive.js +47 -152
- package/databases/tables/msExecutiveActing.d.ts +24 -0
- package/databases/tables/msExecutiveActing.js +99 -0
- package/databases/tables/msExecutiveBoardBk.d.ts +26 -0
- package/databases/tables/msExecutiveBoardBk.js +106 -0
- package/databases/tables/msExecutiveGroup.d.ts +1 -1
- package/databases/tables/msExecutiveGroup.js +77 -184
- package/databases/tables/msExecutivePosition.d.ts +36 -2
- package/databases/tables/msExecutivePosition.js +0 -4
- package/databases/tables/msExecutivePositionBk.d.ts +34 -0
- package/databases/tables/msExecutivePositionBk.js +131 -0
- package/databases/tables/msOrganization.d.ts +40 -0
- package/databases/tables/msOrganization.js +155 -0
- package/databases/tables/msPosition.d.ts +24 -0
- package/databases/tables/msPosition.js +100 -0
- package/databases/tables/msQueueTourFaq.d.ts +28 -0
- package/databases/tables/msQueueTourFaq.js +112 -0
- package/databases/tables/msQueueTourGuidelines.d.ts +28 -0
- package/databases/tables/msQueueTourGuidelines.js +112 -0
- package/databases/tables/msWebsite.d.ts +1 -1
- package/databases/tables/msWebsite.js +21 -7
- package/databases/tables/userPermissionV.d.ts +26 -0
- package/databases/tables/userPermissionV.js +101 -0
- package/databases/tables/users.d.ts +1 -1
- package/databases/tables/users.js +54 -0
- package/databases/tables/usersVerify.d.ts +1 -1
- package/databases/tables/usersVerify.js +54 -0
- package/{msExecutive-BFeU4P0-.d.ts → msExecutive-Yxx8Wpkj.d.ts} +1 -34
- package/package.json +1 -1
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var __decorateClass = (decorators, target, key, kind) => {
|
|
20
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
21
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
22
|
+
if (decorator = decorators[i])
|
|
23
|
+
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
24
|
+
if (kind && result) __defProp(target, key, result);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
// src/databases/tables/userPermissionV.ts
|
|
29
|
+
var userPermissionV_exports = {};
|
|
30
|
+
__export(userPermissionV_exports, {
|
|
31
|
+
userPermissionV: () => userPermissionV
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(userPermissionV_exports);
|
|
34
|
+
var import_sequelize_typescript = require("sequelize-typescript");
|
|
35
|
+
var userPermissionV = class extends import_sequelize_typescript.Model {
|
|
36
|
+
};
|
|
37
|
+
__decorateClass([
|
|
38
|
+
(0, import_sequelize_typescript.Column)({
|
|
39
|
+
field: "user_id",
|
|
40
|
+
type: import_sequelize_typescript.DataType.INTEGER,
|
|
41
|
+
defaultValue: "0"
|
|
42
|
+
})
|
|
43
|
+
], userPermissionV.prototype, "userId", 2);
|
|
44
|
+
__decorateClass([
|
|
45
|
+
(0, import_sequelize_typescript.Column)({
|
|
46
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
47
|
+
})
|
|
48
|
+
], userPermissionV.prototype, "uuid", 2);
|
|
49
|
+
__decorateClass([
|
|
50
|
+
(0, import_sequelize_typescript.Column)({
|
|
51
|
+
type: import_sequelize_typescript.DataType.STRING(100)
|
|
52
|
+
})
|
|
53
|
+
], userPermissionV.prototype, "username", 2);
|
|
54
|
+
__decorateClass([
|
|
55
|
+
(0, import_sequelize_typescript.Column)({
|
|
56
|
+
field: "role_id",
|
|
57
|
+
allowNull: true,
|
|
58
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
59
|
+
})
|
|
60
|
+
], userPermissionV.prototype, "roleId", 2);
|
|
61
|
+
__decorateClass([
|
|
62
|
+
(0, import_sequelize_typescript.Column)({
|
|
63
|
+
allowNull: true,
|
|
64
|
+
type: import_sequelize_typescript.DataType.STRING(2)
|
|
65
|
+
})
|
|
66
|
+
], userPermissionV.prototype, "th", 2);
|
|
67
|
+
__decorateClass([
|
|
68
|
+
(0, import_sequelize_typescript.Column)({
|
|
69
|
+
allowNull: true,
|
|
70
|
+
type: import_sequelize_typescript.DataType.STRING(2)
|
|
71
|
+
})
|
|
72
|
+
], userPermissionV.prototype, "en", 2);
|
|
73
|
+
__decorateClass([
|
|
74
|
+
(0, import_sequelize_typescript.Column)({
|
|
75
|
+
allowNull: true,
|
|
76
|
+
type: import_sequelize_typescript.DataType.STRING(2)
|
|
77
|
+
})
|
|
78
|
+
], userPermissionV.prototype, "fr", 2);
|
|
79
|
+
__decorateClass([
|
|
80
|
+
(0, import_sequelize_typescript.Column)({
|
|
81
|
+
allowNull: true,
|
|
82
|
+
type: import_sequelize_typescript.DataType.STRING
|
|
83
|
+
})
|
|
84
|
+
], userPermissionV.prototype, "sites", 2);
|
|
85
|
+
__decorateClass([
|
|
86
|
+
(0, import_sequelize_typescript.Column)({
|
|
87
|
+
allowNull: true,
|
|
88
|
+
type: import_sequelize_typescript.DataType.STRING(10)
|
|
89
|
+
})
|
|
90
|
+
], userPermissionV.prototype, "management", 2);
|
|
91
|
+
userPermissionV = __decorateClass([
|
|
92
|
+
(0, import_sequelize_typescript.Table)({
|
|
93
|
+
tableName: "user_permission_v",
|
|
94
|
+
timestamps: false,
|
|
95
|
+
comment: "VIEW"
|
|
96
|
+
})
|
|
97
|
+
], userPermissionV);
|
|
98
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
99
|
+
0 && (module.exports = {
|
|
100
|
+
userPermissionV
|
|
101
|
+
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import 'sequelize-typescript';
|
|
2
|
-
export { o as users, u as usersAttributes } from '../../authAssignment-
|
|
2
|
+
export { o as users, u as usersAttributes } from '../../authAssignment-De3034JH.js';
|
|
@@ -886,6 +886,13 @@ __decorateClass([
|
|
|
886
886
|
type: import_sequelize_typescript9.DataType.STRING(10)
|
|
887
887
|
})
|
|
888
888
|
], users.prototype, "prefix", 2);
|
|
889
|
+
__decorateClass([
|
|
890
|
+
(0, import_sequelize_typescript9.Column)({
|
|
891
|
+
field: "prefix_id",
|
|
892
|
+
allowNull: true,
|
|
893
|
+
type: import_sequelize_typescript9.DataType.INTEGER
|
|
894
|
+
})
|
|
895
|
+
], users.prototype, "prefixId", 2);
|
|
889
896
|
__decorateClass([
|
|
890
897
|
(0, import_sequelize_typescript9.Column)({
|
|
891
898
|
field: "first_name",
|
|
@@ -900,12 +907,59 @@ __decorateClass([
|
|
|
900
907
|
type: import_sequelize_typescript9.DataType.STRING(100)
|
|
901
908
|
})
|
|
902
909
|
], users.prototype, "lastName", 2);
|
|
910
|
+
__decorateClass([
|
|
911
|
+
(0, import_sequelize_typescript9.Column)({
|
|
912
|
+
field: "first_name_en",
|
|
913
|
+
allowNull: true,
|
|
914
|
+
type: import_sequelize_typescript9.DataType.STRING(100)
|
|
915
|
+
})
|
|
916
|
+
], users.prototype, "firstNameEn", 2);
|
|
917
|
+
__decorateClass([
|
|
918
|
+
(0, import_sequelize_typescript9.Column)({
|
|
919
|
+
field: "last_name_en",
|
|
920
|
+
allowNull: true,
|
|
921
|
+
type: import_sequelize_typescript9.DataType.STRING(100)
|
|
922
|
+
})
|
|
923
|
+
], users.prototype, "lastNameEn", 2);
|
|
903
924
|
__decorateClass([
|
|
904
925
|
(0, import_sequelize_typescript9.Column)({
|
|
905
926
|
allowNull: true,
|
|
906
927
|
type: import_sequelize_typescript9.DataType.STRING(20)
|
|
907
928
|
})
|
|
908
929
|
], users.prototype, "phone", 2);
|
|
930
|
+
__decorateClass([
|
|
931
|
+
(0, import_sequelize_typescript9.Column)({
|
|
932
|
+
field: "organization_id",
|
|
933
|
+
allowNull: true,
|
|
934
|
+
type: import_sequelize_typescript9.DataType.INTEGER
|
|
935
|
+
})
|
|
936
|
+
], users.prototype, "organizationId", 2);
|
|
937
|
+
__decorateClass([
|
|
938
|
+
(0, import_sequelize_typescript9.Column)({
|
|
939
|
+
allowNull: true,
|
|
940
|
+
type: import_sequelize_typescript9.DataType.STRING(255)
|
|
941
|
+
})
|
|
942
|
+
], users.prototype, "occupation", 2);
|
|
943
|
+
__decorateClass([
|
|
944
|
+
(0, import_sequelize_typescript9.Column)({
|
|
945
|
+
allowNull: true,
|
|
946
|
+
type: import_sequelize_typescript9.DataType.STRING(255)
|
|
947
|
+
})
|
|
948
|
+
], users.prototype, "position", 2);
|
|
949
|
+
__decorateClass([
|
|
950
|
+
(0, import_sequelize_typescript9.Column)({
|
|
951
|
+
field: "position_id",
|
|
952
|
+
allowNull: true,
|
|
953
|
+
type: import_sequelize_typescript9.DataType.INTEGER
|
|
954
|
+
})
|
|
955
|
+
], users.prototype, "positionId", 2);
|
|
956
|
+
__decorateClass([
|
|
957
|
+
(0, import_sequelize_typescript9.Column)({
|
|
958
|
+
field: "gender_code",
|
|
959
|
+
allowNull: true,
|
|
960
|
+
type: import_sequelize_typescript9.DataType.STRING(1)
|
|
961
|
+
})
|
|
962
|
+
], users.prototype, "genderCode", 2);
|
|
909
963
|
__decorateClass([
|
|
910
964
|
(0, import_sequelize_typescript9.Column)({
|
|
911
965
|
allowNull: true,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import 'sequelize-typescript';
|
|
2
|
-
export { q as usersVerify, p as usersVerifyAttributes } from '../../authAssignment-
|
|
2
|
+
export { q as usersVerify, p as usersVerifyAttributes } from '../../authAssignment-De3034JH.js';
|
|
@@ -825,6 +825,13 @@ __decorateClass([
|
|
|
825
825
|
type: import_sequelize_typescript8.DataType.STRING(10)
|
|
826
826
|
})
|
|
827
827
|
], users.prototype, "prefix", 2);
|
|
828
|
+
__decorateClass([
|
|
829
|
+
(0, import_sequelize_typescript8.Column)({
|
|
830
|
+
field: "prefix_id",
|
|
831
|
+
allowNull: true,
|
|
832
|
+
type: import_sequelize_typescript8.DataType.INTEGER
|
|
833
|
+
})
|
|
834
|
+
], users.prototype, "prefixId", 2);
|
|
828
835
|
__decorateClass([
|
|
829
836
|
(0, import_sequelize_typescript8.Column)({
|
|
830
837
|
field: "first_name",
|
|
@@ -839,12 +846,59 @@ __decorateClass([
|
|
|
839
846
|
type: import_sequelize_typescript8.DataType.STRING(100)
|
|
840
847
|
})
|
|
841
848
|
], users.prototype, "lastName", 2);
|
|
849
|
+
__decorateClass([
|
|
850
|
+
(0, import_sequelize_typescript8.Column)({
|
|
851
|
+
field: "first_name_en",
|
|
852
|
+
allowNull: true,
|
|
853
|
+
type: import_sequelize_typescript8.DataType.STRING(100)
|
|
854
|
+
})
|
|
855
|
+
], users.prototype, "firstNameEn", 2);
|
|
856
|
+
__decorateClass([
|
|
857
|
+
(0, import_sequelize_typescript8.Column)({
|
|
858
|
+
field: "last_name_en",
|
|
859
|
+
allowNull: true,
|
|
860
|
+
type: import_sequelize_typescript8.DataType.STRING(100)
|
|
861
|
+
})
|
|
862
|
+
], users.prototype, "lastNameEn", 2);
|
|
842
863
|
__decorateClass([
|
|
843
864
|
(0, import_sequelize_typescript8.Column)({
|
|
844
865
|
allowNull: true,
|
|
845
866
|
type: import_sequelize_typescript8.DataType.STRING(20)
|
|
846
867
|
})
|
|
847
868
|
], users.prototype, "phone", 2);
|
|
869
|
+
__decorateClass([
|
|
870
|
+
(0, import_sequelize_typescript8.Column)({
|
|
871
|
+
field: "organization_id",
|
|
872
|
+
allowNull: true,
|
|
873
|
+
type: import_sequelize_typescript8.DataType.INTEGER
|
|
874
|
+
})
|
|
875
|
+
], users.prototype, "organizationId", 2);
|
|
876
|
+
__decorateClass([
|
|
877
|
+
(0, import_sequelize_typescript8.Column)({
|
|
878
|
+
allowNull: true,
|
|
879
|
+
type: import_sequelize_typescript8.DataType.STRING(255)
|
|
880
|
+
})
|
|
881
|
+
], users.prototype, "occupation", 2);
|
|
882
|
+
__decorateClass([
|
|
883
|
+
(0, import_sequelize_typescript8.Column)({
|
|
884
|
+
allowNull: true,
|
|
885
|
+
type: import_sequelize_typescript8.DataType.STRING(255)
|
|
886
|
+
})
|
|
887
|
+
], users.prototype, "position", 2);
|
|
888
|
+
__decorateClass([
|
|
889
|
+
(0, import_sequelize_typescript8.Column)({
|
|
890
|
+
field: "position_id",
|
|
891
|
+
allowNull: true,
|
|
892
|
+
type: import_sequelize_typescript8.DataType.INTEGER
|
|
893
|
+
})
|
|
894
|
+
], users.prototype, "positionId", 2);
|
|
895
|
+
__decorateClass([
|
|
896
|
+
(0, import_sequelize_typescript8.Column)({
|
|
897
|
+
field: "gender_code",
|
|
898
|
+
allowNull: true,
|
|
899
|
+
type: import_sequelize_typescript8.DataType.STRING(1)
|
|
900
|
+
})
|
|
901
|
+
], users.prototype, "genderCode", 2);
|
|
848
902
|
__decorateClass([
|
|
849
903
|
(0, import_sequelize_typescript8.Column)({
|
|
850
904
|
allowNull: true,
|
|
@@ -34,38 +34,6 @@ declare class msExecutiveGroup extends Model<msExecutiveGroupAttributes, msExecu
|
|
|
34
34
|
msExecutives?: msExecutive[];
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
interface msExecutivePositionAttributes {
|
|
38
|
-
id?: number;
|
|
39
|
-
groupId?: number;
|
|
40
|
-
name?: string;
|
|
41
|
-
description?: string;
|
|
42
|
-
updatedInfo?: string;
|
|
43
|
-
remark?: string;
|
|
44
|
-
sort?: number;
|
|
45
|
-
status?: number;
|
|
46
|
-
info?: object;
|
|
47
|
-
createdBy?: string;
|
|
48
|
-
createdDate?: Date;
|
|
49
|
-
updatedBy?: string;
|
|
50
|
-
updatedDate?: Date;
|
|
51
|
-
}
|
|
52
|
-
declare class msExecutivePosition extends Model<msExecutivePositionAttributes, msExecutivePositionAttributes> implements msExecutivePositionAttributes {
|
|
53
|
-
id?: number;
|
|
54
|
-
groupId?: number;
|
|
55
|
-
name?: string;
|
|
56
|
-
description?: string;
|
|
57
|
-
updatedInfo?: string;
|
|
58
|
-
remark?: string;
|
|
59
|
-
sort?: number;
|
|
60
|
-
status?: number;
|
|
61
|
-
info?: object;
|
|
62
|
-
createdBy?: string;
|
|
63
|
-
createdDate?: Date;
|
|
64
|
-
updatedBy?: string;
|
|
65
|
-
updatedDate?: Date;
|
|
66
|
-
msExecutives?: msExecutive[];
|
|
67
|
-
}
|
|
68
|
-
|
|
69
37
|
interface msExecutiveAttributes {
|
|
70
38
|
id?: number;
|
|
71
39
|
groupId?: number;
|
|
@@ -114,7 +82,6 @@ declare class msExecutive extends Model<msExecutiveAttributes, msExecutiveAttrib
|
|
|
114
82
|
updatedDate?: Date;
|
|
115
83
|
positionId?: number;
|
|
116
84
|
msExecutiveGroup?: msExecutiveGroup;
|
|
117
|
-
msExecutivePosition?: msExecutivePosition;
|
|
118
85
|
}
|
|
119
86
|
|
|
120
|
-
export { msExecutive as a, type msExecutiveGroupAttributes as b, msExecutiveGroup as c, type
|
|
87
|
+
export { msExecutive as a, type msExecutiveGroupAttributes as b, msExecutiveGroup as c, type msExecutiveAttributes as m };
|