@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,40 @@
|
|
|
1
|
+
import { Model } from 'sequelize-typescript';
|
|
2
|
+
|
|
3
|
+
interface msOrganizationAttributes {
|
|
4
|
+
id?: number;
|
|
5
|
+
parentId?: number;
|
|
6
|
+
organizationId?: number;
|
|
7
|
+
organizationCode?: string;
|
|
8
|
+
name?: string;
|
|
9
|
+
nameShort?: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
olCode?: string;
|
|
12
|
+
otCode?: string;
|
|
13
|
+
otName?: string;
|
|
14
|
+
status?: number;
|
|
15
|
+
sort?: number;
|
|
16
|
+
createdBy?: string;
|
|
17
|
+
createdDate?: Date;
|
|
18
|
+
updatedBy?: string;
|
|
19
|
+
updatedDate?: Date;
|
|
20
|
+
}
|
|
21
|
+
declare class msOrganization extends Model<msOrganizationAttributes, msOrganizationAttributes> implements msOrganizationAttributes {
|
|
22
|
+
id?: number;
|
|
23
|
+
parentId?: number;
|
|
24
|
+
organizationId?: number;
|
|
25
|
+
organizationCode?: string;
|
|
26
|
+
name?: string;
|
|
27
|
+
nameShort?: string;
|
|
28
|
+
description?: string;
|
|
29
|
+
olCode?: string;
|
|
30
|
+
otCode?: string;
|
|
31
|
+
otName?: string;
|
|
32
|
+
status?: number;
|
|
33
|
+
sort?: number;
|
|
34
|
+
createdBy?: string;
|
|
35
|
+
createdDate?: Date;
|
|
36
|
+
updatedBy?: string;
|
|
37
|
+
updatedDate?: Date;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export { msOrganization, type msOrganizationAttributes };
|
|
@@ -0,0 +1,155 @@
|
|
|
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/msOrganization.ts
|
|
29
|
+
var msOrganization_exports = {};
|
|
30
|
+
__export(msOrganization_exports, {
|
|
31
|
+
msOrganization: () => msOrganization
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(msOrganization_exports);
|
|
34
|
+
var import_sequelize_typescript = require("sequelize-typescript");
|
|
35
|
+
var msOrganization = class extends import_sequelize_typescript.Model {
|
|
36
|
+
};
|
|
37
|
+
__decorateClass([
|
|
38
|
+
(0, import_sequelize_typescript.Column)({
|
|
39
|
+
primaryKey: true,
|
|
40
|
+
autoIncrement: true,
|
|
41
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
42
|
+
})
|
|
43
|
+
], msOrganization.prototype, "id", 2);
|
|
44
|
+
__decorateClass([
|
|
45
|
+
(0, import_sequelize_typescript.Column)({
|
|
46
|
+
field: "parent_id",
|
|
47
|
+
allowNull: true,
|
|
48
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
49
|
+
})
|
|
50
|
+
], msOrganization.prototype, "parentId", 2);
|
|
51
|
+
__decorateClass([
|
|
52
|
+
(0, import_sequelize_typescript.Column)({
|
|
53
|
+
field: "organization_id",
|
|
54
|
+
allowNull: true,
|
|
55
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
56
|
+
})
|
|
57
|
+
], msOrganization.prototype, "organizationId", 2);
|
|
58
|
+
__decorateClass([
|
|
59
|
+
(0, import_sequelize_typescript.Column)({
|
|
60
|
+
field: "organization_code",
|
|
61
|
+
allowNull: true,
|
|
62
|
+
type: import_sequelize_typescript.DataType.STRING(10)
|
|
63
|
+
})
|
|
64
|
+
], msOrganization.prototype, "organizationCode", 2);
|
|
65
|
+
__decorateClass([
|
|
66
|
+
(0, import_sequelize_typescript.Column)({
|
|
67
|
+
allowNull: true,
|
|
68
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
69
|
+
})
|
|
70
|
+
], msOrganization.prototype, "name", 2);
|
|
71
|
+
__decorateClass([
|
|
72
|
+
(0, import_sequelize_typescript.Column)({
|
|
73
|
+
field: "name_short",
|
|
74
|
+
allowNull: true,
|
|
75
|
+
type: import_sequelize_typescript.DataType.STRING(30)
|
|
76
|
+
})
|
|
77
|
+
], msOrganization.prototype, "nameShort", 2);
|
|
78
|
+
__decorateClass([
|
|
79
|
+
(0, import_sequelize_typescript.Column)({
|
|
80
|
+
allowNull: true,
|
|
81
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
82
|
+
})
|
|
83
|
+
], msOrganization.prototype, "description", 2);
|
|
84
|
+
__decorateClass([
|
|
85
|
+
(0, import_sequelize_typescript.Column)({
|
|
86
|
+
field: "ol_code",
|
|
87
|
+
allowNull: true,
|
|
88
|
+
type: import_sequelize_typescript.DataType.STRING(10)
|
|
89
|
+
})
|
|
90
|
+
], msOrganization.prototype, "olCode", 2);
|
|
91
|
+
__decorateClass([
|
|
92
|
+
(0, import_sequelize_typescript.Column)({
|
|
93
|
+
field: "ot_code",
|
|
94
|
+
allowNull: true,
|
|
95
|
+
type: import_sequelize_typescript.DataType.STRING(10)
|
|
96
|
+
})
|
|
97
|
+
], msOrganization.prototype, "otCode", 2);
|
|
98
|
+
__decorateClass([
|
|
99
|
+
(0, import_sequelize_typescript.Column)({
|
|
100
|
+
field: "ot_name",
|
|
101
|
+
allowNull: true,
|
|
102
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
103
|
+
})
|
|
104
|
+
], msOrganization.prototype, "otName", 2);
|
|
105
|
+
__decorateClass([
|
|
106
|
+
(0, import_sequelize_typescript.Column)({
|
|
107
|
+
allowNull: true,
|
|
108
|
+
type: import_sequelize_typescript.DataType.INTEGER,
|
|
109
|
+
defaultValue: "1"
|
|
110
|
+
})
|
|
111
|
+
], msOrganization.prototype, "status", 2);
|
|
112
|
+
__decorateClass([
|
|
113
|
+
(0, import_sequelize_typescript.Column)({
|
|
114
|
+
allowNull: true,
|
|
115
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
116
|
+
})
|
|
117
|
+
], msOrganization.prototype, "sort", 2);
|
|
118
|
+
__decorateClass([
|
|
119
|
+
(0, import_sequelize_typescript.Column)({
|
|
120
|
+
field: "created_by",
|
|
121
|
+
allowNull: true,
|
|
122
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
123
|
+
})
|
|
124
|
+
], msOrganization.prototype, "createdBy", 2);
|
|
125
|
+
__decorateClass([
|
|
126
|
+
(0, import_sequelize_typescript.Column)({
|
|
127
|
+
field: "created_date",
|
|
128
|
+
allowNull: true,
|
|
129
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
130
|
+
})
|
|
131
|
+
], msOrganization.prototype, "createdDate", 2);
|
|
132
|
+
__decorateClass([
|
|
133
|
+
(0, import_sequelize_typescript.Column)({
|
|
134
|
+
field: "updated_by",
|
|
135
|
+
allowNull: true,
|
|
136
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
137
|
+
})
|
|
138
|
+
], msOrganization.prototype, "updatedBy", 2);
|
|
139
|
+
__decorateClass([
|
|
140
|
+
(0, import_sequelize_typescript.Column)({
|
|
141
|
+
field: "updated_date",
|
|
142
|
+
allowNull: true,
|
|
143
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
144
|
+
})
|
|
145
|
+
], msOrganization.prototype, "updatedDate", 2);
|
|
146
|
+
msOrganization = __decorateClass([
|
|
147
|
+
(0, import_sequelize_typescript.Table)({
|
|
148
|
+
tableName: "ms_organization",
|
|
149
|
+
timestamps: false
|
|
150
|
+
})
|
|
151
|
+
], msOrganization);
|
|
152
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
153
|
+
0 && (module.exports = {
|
|
154
|
+
msOrganization
|
|
155
|
+
});
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Model } from 'sequelize-typescript';
|
|
2
|
+
|
|
3
|
+
interface msPositionAttributes {
|
|
4
|
+
id?: number;
|
|
5
|
+
name?: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
status?: number;
|
|
8
|
+
createdBy?: string;
|
|
9
|
+
createdDate?: Date;
|
|
10
|
+
updatedBy?: string;
|
|
11
|
+
updatedDate?: Date;
|
|
12
|
+
}
|
|
13
|
+
declare class msPosition extends Model<msPositionAttributes, msPositionAttributes> implements msPositionAttributes {
|
|
14
|
+
id?: number;
|
|
15
|
+
name?: string;
|
|
16
|
+
description?: string;
|
|
17
|
+
status?: number;
|
|
18
|
+
createdBy?: string;
|
|
19
|
+
createdDate?: Date;
|
|
20
|
+
updatedBy?: string;
|
|
21
|
+
updatedDate?: Date;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export { msPosition, type msPositionAttributes };
|
|
@@ -0,0 +1,100 @@
|
|
|
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/msPosition.ts
|
|
29
|
+
var msPosition_exports = {};
|
|
30
|
+
__export(msPosition_exports, {
|
|
31
|
+
msPosition: () => msPosition
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(msPosition_exports);
|
|
34
|
+
var import_sequelize_typescript = require("sequelize-typescript");
|
|
35
|
+
var msPosition = class extends import_sequelize_typescript.Model {
|
|
36
|
+
};
|
|
37
|
+
__decorateClass([
|
|
38
|
+
(0, import_sequelize_typescript.Column)({
|
|
39
|
+
primaryKey: true,
|
|
40
|
+
autoIncrement: true,
|
|
41
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
42
|
+
})
|
|
43
|
+
], msPosition.prototype, "id", 2);
|
|
44
|
+
__decorateClass([
|
|
45
|
+
(0, import_sequelize_typescript.Column)({
|
|
46
|
+
allowNull: true,
|
|
47
|
+
type: import_sequelize_typescript.DataType.STRING(100)
|
|
48
|
+
})
|
|
49
|
+
], msPosition.prototype, "name", 2);
|
|
50
|
+
__decorateClass([
|
|
51
|
+
(0, import_sequelize_typescript.Column)({
|
|
52
|
+
allowNull: true,
|
|
53
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
54
|
+
})
|
|
55
|
+
], msPosition.prototype, "description", 2);
|
|
56
|
+
__decorateClass([
|
|
57
|
+
(0, import_sequelize_typescript.Column)({
|
|
58
|
+
allowNull: true,
|
|
59
|
+
type: import_sequelize_typescript.DataType.INTEGER,
|
|
60
|
+
defaultValue: "1"
|
|
61
|
+
})
|
|
62
|
+
], msPosition.prototype, "status", 2);
|
|
63
|
+
__decorateClass([
|
|
64
|
+
(0, import_sequelize_typescript.Column)({
|
|
65
|
+
field: "created_by",
|
|
66
|
+
allowNull: true,
|
|
67
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
68
|
+
})
|
|
69
|
+
], msPosition.prototype, "createdBy", 2);
|
|
70
|
+
__decorateClass([
|
|
71
|
+
(0, import_sequelize_typescript.Column)({
|
|
72
|
+
field: "created_date",
|
|
73
|
+
allowNull: true,
|
|
74
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
75
|
+
})
|
|
76
|
+
], msPosition.prototype, "createdDate", 2);
|
|
77
|
+
__decorateClass([
|
|
78
|
+
(0, import_sequelize_typescript.Column)({
|
|
79
|
+
field: "updated_by",
|
|
80
|
+
allowNull: true,
|
|
81
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
82
|
+
})
|
|
83
|
+
], msPosition.prototype, "updatedBy", 2);
|
|
84
|
+
__decorateClass([
|
|
85
|
+
(0, import_sequelize_typescript.Column)({
|
|
86
|
+
field: "updated_date",
|
|
87
|
+
allowNull: true,
|
|
88
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
89
|
+
})
|
|
90
|
+
], msPosition.prototype, "updatedDate", 2);
|
|
91
|
+
msPosition = __decorateClass([
|
|
92
|
+
(0, import_sequelize_typescript.Table)({
|
|
93
|
+
tableName: "ms_position",
|
|
94
|
+
timestamps: false
|
|
95
|
+
})
|
|
96
|
+
], msPosition);
|
|
97
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
98
|
+
0 && (module.exports = {
|
|
99
|
+
msPosition
|
|
100
|
+
});
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Model } from 'sequelize-typescript';
|
|
2
|
+
|
|
3
|
+
interface msQueueTourFaqAttributes {
|
|
4
|
+
id?: number;
|
|
5
|
+
siteId?: number;
|
|
6
|
+
title?: string;
|
|
7
|
+
detail?: string;
|
|
8
|
+
sort?: number;
|
|
9
|
+
status?: number;
|
|
10
|
+
createdBy?: string;
|
|
11
|
+
createdDate?: Date;
|
|
12
|
+
updatedBy?: string;
|
|
13
|
+
updatedDate?: Date;
|
|
14
|
+
}
|
|
15
|
+
declare class msQueueTourFaq extends Model<msQueueTourFaqAttributes, msQueueTourFaqAttributes> implements msQueueTourFaqAttributes {
|
|
16
|
+
id?: number;
|
|
17
|
+
siteId?: number;
|
|
18
|
+
title?: string;
|
|
19
|
+
detail?: string;
|
|
20
|
+
sort?: number;
|
|
21
|
+
status?: number;
|
|
22
|
+
createdBy?: string;
|
|
23
|
+
createdDate?: Date;
|
|
24
|
+
updatedBy?: string;
|
|
25
|
+
updatedDate?: Date;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export { msQueueTourFaq, type msQueueTourFaqAttributes };
|
|
@@ -0,0 +1,112 @@
|
|
|
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/msQueueTourFaq.ts
|
|
29
|
+
var msQueueTourFaq_exports = {};
|
|
30
|
+
__export(msQueueTourFaq_exports, {
|
|
31
|
+
msQueueTourFaq: () => msQueueTourFaq
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(msQueueTourFaq_exports);
|
|
34
|
+
var import_sequelize_typescript = require("sequelize-typescript");
|
|
35
|
+
var msQueueTourFaq = class extends import_sequelize_typescript.Model {
|
|
36
|
+
};
|
|
37
|
+
__decorateClass([
|
|
38
|
+
(0, import_sequelize_typescript.Column)({
|
|
39
|
+
primaryKey: true,
|
|
40
|
+
autoIncrement: true,
|
|
41
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
42
|
+
})
|
|
43
|
+
], msQueueTourFaq.prototype, "id", 2);
|
|
44
|
+
__decorateClass([
|
|
45
|
+
(0, import_sequelize_typescript.Column)({
|
|
46
|
+
field: "site_id",
|
|
47
|
+
allowNull: true,
|
|
48
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
49
|
+
})
|
|
50
|
+
], msQueueTourFaq.prototype, "siteId", 2);
|
|
51
|
+
__decorateClass([
|
|
52
|
+
(0, import_sequelize_typescript.Column)({
|
|
53
|
+
allowNull: true,
|
|
54
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
55
|
+
})
|
|
56
|
+
], msQueueTourFaq.prototype, "title", 2);
|
|
57
|
+
__decorateClass([
|
|
58
|
+
(0, import_sequelize_typescript.Column)({
|
|
59
|
+
allowNull: true,
|
|
60
|
+
type: import_sequelize_typescript.DataType.STRING
|
|
61
|
+
})
|
|
62
|
+
], msQueueTourFaq.prototype, "detail", 2);
|
|
63
|
+
__decorateClass([
|
|
64
|
+
(0, import_sequelize_typescript.Column)({
|
|
65
|
+
allowNull: true,
|
|
66
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
67
|
+
})
|
|
68
|
+
], msQueueTourFaq.prototype, "sort", 2);
|
|
69
|
+
__decorateClass([
|
|
70
|
+
(0, import_sequelize_typescript.Column)({
|
|
71
|
+
allowNull: true,
|
|
72
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
73
|
+
})
|
|
74
|
+
], msQueueTourFaq.prototype, "status", 2);
|
|
75
|
+
__decorateClass([
|
|
76
|
+
(0, import_sequelize_typescript.Column)({
|
|
77
|
+
field: "created_by",
|
|
78
|
+
allowNull: true,
|
|
79
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
80
|
+
})
|
|
81
|
+
], msQueueTourFaq.prototype, "createdBy", 2);
|
|
82
|
+
__decorateClass([
|
|
83
|
+
(0, import_sequelize_typescript.Column)({
|
|
84
|
+
field: "created_date",
|
|
85
|
+
allowNull: true,
|
|
86
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
87
|
+
})
|
|
88
|
+
], msQueueTourFaq.prototype, "createdDate", 2);
|
|
89
|
+
__decorateClass([
|
|
90
|
+
(0, import_sequelize_typescript.Column)({
|
|
91
|
+
field: "updated_by",
|
|
92
|
+
allowNull: true,
|
|
93
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
94
|
+
})
|
|
95
|
+
], msQueueTourFaq.prototype, "updatedBy", 2);
|
|
96
|
+
__decorateClass([
|
|
97
|
+
(0, import_sequelize_typescript.Column)({
|
|
98
|
+
field: "updated_date",
|
|
99
|
+
allowNull: true,
|
|
100
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
101
|
+
})
|
|
102
|
+
], msQueueTourFaq.prototype, "updatedDate", 2);
|
|
103
|
+
msQueueTourFaq = __decorateClass([
|
|
104
|
+
(0, import_sequelize_typescript.Table)({
|
|
105
|
+
tableName: "ms_queue_tour_faq",
|
|
106
|
+
timestamps: false
|
|
107
|
+
})
|
|
108
|
+
], msQueueTourFaq);
|
|
109
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
110
|
+
0 && (module.exports = {
|
|
111
|
+
msQueueTourFaq
|
|
112
|
+
});
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Model } from 'sequelize-typescript';
|
|
2
|
+
|
|
3
|
+
interface msQueueTourGuidelinesAttributes {
|
|
4
|
+
id?: number;
|
|
5
|
+
siteId?: number;
|
|
6
|
+
title?: string;
|
|
7
|
+
detail?: string;
|
|
8
|
+
sort?: number;
|
|
9
|
+
status?: number;
|
|
10
|
+
createdBy?: string;
|
|
11
|
+
createdDate?: Date;
|
|
12
|
+
updatedBy?: string;
|
|
13
|
+
updatedDate?: Date;
|
|
14
|
+
}
|
|
15
|
+
declare class msQueueTourGuidelines extends Model<msQueueTourGuidelinesAttributes, msQueueTourGuidelinesAttributes> implements msQueueTourGuidelinesAttributes {
|
|
16
|
+
id?: number;
|
|
17
|
+
siteId?: number;
|
|
18
|
+
title?: string;
|
|
19
|
+
detail?: string;
|
|
20
|
+
sort?: number;
|
|
21
|
+
status?: number;
|
|
22
|
+
createdBy?: string;
|
|
23
|
+
createdDate?: Date;
|
|
24
|
+
updatedBy?: string;
|
|
25
|
+
updatedDate?: Date;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export { msQueueTourGuidelines, type msQueueTourGuidelinesAttributes };
|
|
@@ -0,0 +1,112 @@
|
|
|
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/msQueueTourGuidelines.ts
|
|
29
|
+
var msQueueTourGuidelines_exports = {};
|
|
30
|
+
__export(msQueueTourGuidelines_exports, {
|
|
31
|
+
msQueueTourGuidelines: () => msQueueTourGuidelines
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(msQueueTourGuidelines_exports);
|
|
34
|
+
var import_sequelize_typescript = require("sequelize-typescript");
|
|
35
|
+
var msQueueTourGuidelines = class extends import_sequelize_typescript.Model {
|
|
36
|
+
};
|
|
37
|
+
__decorateClass([
|
|
38
|
+
(0, import_sequelize_typescript.Column)({
|
|
39
|
+
primaryKey: true,
|
|
40
|
+
autoIncrement: true,
|
|
41
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
42
|
+
})
|
|
43
|
+
], msQueueTourGuidelines.prototype, "id", 2);
|
|
44
|
+
__decorateClass([
|
|
45
|
+
(0, import_sequelize_typescript.Column)({
|
|
46
|
+
field: "site_id",
|
|
47
|
+
allowNull: true,
|
|
48
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
49
|
+
})
|
|
50
|
+
], msQueueTourGuidelines.prototype, "siteId", 2);
|
|
51
|
+
__decorateClass([
|
|
52
|
+
(0, import_sequelize_typescript.Column)({
|
|
53
|
+
allowNull: true,
|
|
54
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
55
|
+
})
|
|
56
|
+
], msQueueTourGuidelines.prototype, "title", 2);
|
|
57
|
+
__decorateClass([
|
|
58
|
+
(0, import_sequelize_typescript.Column)({
|
|
59
|
+
allowNull: true,
|
|
60
|
+
type: import_sequelize_typescript.DataType.STRING
|
|
61
|
+
})
|
|
62
|
+
], msQueueTourGuidelines.prototype, "detail", 2);
|
|
63
|
+
__decorateClass([
|
|
64
|
+
(0, import_sequelize_typescript.Column)({
|
|
65
|
+
allowNull: true,
|
|
66
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
67
|
+
})
|
|
68
|
+
], msQueueTourGuidelines.prototype, "sort", 2);
|
|
69
|
+
__decorateClass([
|
|
70
|
+
(0, import_sequelize_typescript.Column)({
|
|
71
|
+
allowNull: true,
|
|
72
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
73
|
+
})
|
|
74
|
+
], msQueueTourGuidelines.prototype, "status", 2);
|
|
75
|
+
__decorateClass([
|
|
76
|
+
(0, import_sequelize_typescript.Column)({
|
|
77
|
+
field: "created_by",
|
|
78
|
+
allowNull: true,
|
|
79
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
80
|
+
})
|
|
81
|
+
], msQueueTourGuidelines.prototype, "createdBy", 2);
|
|
82
|
+
__decorateClass([
|
|
83
|
+
(0, import_sequelize_typescript.Column)({
|
|
84
|
+
field: "created_date",
|
|
85
|
+
allowNull: true,
|
|
86
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
87
|
+
})
|
|
88
|
+
], msQueueTourGuidelines.prototype, "createdDate", 2);
|
|
89
|
+
__decorateClass([
|
|
90
|
+
(0, import_sequelize_typescript.Column)({
|
|
91
|
+
field: "updated_by",
|
|
92
|
+
allowNull: true,
|
|
93
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
94
|
+
})
|
|
95
|
+
], msQueueTourGuidelines.prototype, "updatedBy", 2);
|
|
96
|
+
__decorateClass([
|
|
97
|
+
(0, import_sequelize_typescript.Column)({
|
|
98
|
+
field: "updated_date",
|
|
99
|
+
allowNull: true,
|
|
100
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
101
|
+
})
|
|
102
|
+
], msQueueTourGuidelines.prototype, "updatedDate", 2);
|
|
103
|
+
msQueueTourGuidelines = __decorateClass([
|
|
104
|
+
(0, import_sequelize_typescript.Table)({
|
|
105
|
+
tableName: "ms_queue_tour_guidelines",
|
|
106
|
+
timestamps: false
|
|
107
|
+
})
|
|
108
|
+
], msQueueTourGuidelines);
|
|
109
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
110
|
+
0 && (module.exports = {
|
|
111
|
+
msQueueTourGuidelines
|
|
112
|
+
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import 'sequelize-typescript';
|
|
2
|
-
export { e as msWebsite, d as msWebsiteAttributes } from '../../appQueue-
|
|
2
|
+
export { e as msWebsite, d as msWebsiteAttributes } from '../../appQueue-HW5J6Gb9.js';
|
|
@@ -270,13 +270,6 @@ __decorateClass([
|
|
|
270
270
|
type: import_sequelize_typescript2.DataType.STRING(30)
|
|
271
271
|
})
|
|
272
272
|
], appQueue.prototype, "ipAddress", 2);
|
|
273
|
-
__decorateClass([
|
|
274
|
-
(0, import_sequelize_typescript2.Column)({
|
|
275
|
-
field: "staff_id",
|
|
276
|
-
allowNull: true,
|
|
277
|
-
type: import_sequelize_typescript2.DataType.INTEGER
|
|
278
|
-
})
|
|
279
|
-
], appQueue.prototype, "staffId", 2);
|
|
280
273
|
__decorateClass([
|
|
281
274
|
(0, import_sequelize_typescript2.Column)({
|
|
282
275
|
allowNull: true,
|
|
@@ -311,6 +304,27 @@ __decorateClass([
|
|
|
311
304
|
type: import_sequelize_typescript2.DataType.INTEGER
|
|
312
305
|
})
|
|
313
306
|
], appQueue.prototype, "caseJurisdiction", 2);
|
|
307
|
+
__decorateClass([
|
|
308
|
+
(0, import_sequelize_typescript2.Column)({
|
|
309
|
+
field: "staff_id",
|
|
310
|
+
allowNull: true,
|
|
311
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
312
|
+
})
|
|
313
|
+
], appQueue.prototype, "staffId", 2);
|
|
314
|
+
__decorateClass([
|
|
315
|
+
(0, import_sequelize_typescript2.Column)({
|
|
316
|
+
field: "staff_channel_id",
|
|
317
|
+
allowNull: true,
|
|
318
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
319
|
+
})
|
|
320
|
+
], appQueue.prototype, "staffChannelId", 2);
|
|
321
|
+
__decorateClass([
|
|
322
|
+
(0, import_sequelize_typescript2.Column)({
|
|
323
|
+
field: "staff_channel",
|
|
324
|
+
allowNull: true,
|
|
325
|
+
type: import_sequelize_typescript2.DataType.JSON
|
|
326
|
+
})
|
|
327
|
+
], appQueue.prototype, "staffChannel", 2);
|
|
314
328
|
__decorateClass([
|
|
315
329
|
(0, import_sequelize_typescript2.Column)({
|
|
316
330
|
field: "staff_issues",
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Model } from 'sequelize-typescript';
|
|
2
|
+
|
|
3
|
+
interface userPermissionVAttributes {
|
|
4
|
+
userId?: number;
|
|
5
|
+
uuid: string;
|
|
6
|
+
username: string;
|
|
7
|
+
roleId?: number;
|
|
8
|
+
th?: string;
|
|
9
|
+
en?: string;
|
|
10
|
+
fr?: string;
|
|
11
|
+
sites?: string;
|
|
12
|
+
management?: string;
|
|
13
|
+
}
|
|
14
|
+
declare class userPermissionV extends Model<userPermissionVAttributes, userPermissionVAttributes> implements userPermissionVAttributes {
|
|
15
|
+
userId?: number;
|
|
16
|
+
uuid: string;
|
|
17
|
+
username: string;
|
|
18
|
+
roleId?: number;
|
|
19
|
+
th?: string;
|
|
20
|
+
en?: string;
|
|
21
|
+
fr?: string;
|
|
22
|
+
sites?: string;
|
|
23
|
+
management?: string;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export { userPermissionV, type userPermissionVAttributes };
|