@platform-modules/civil-aviation-authority 2.1.40 → 2.2.20
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/dist/data-source.d.ts +4 -0
- package/dist/data-source.js +106 -0
- package/dist/helpers/utils/enum.d.ts +75 -0
- package/dist/helpers/utils/enum.js +53 -0
- package/dist/index.d.ts +40 -0
- package/dist/index.js +60 -0
- package/dist/models/BaseModel.d.ts +14 -0
- package/dist/models/BaseModel.js +66 -0
- package/dist/models/CAAServices.d.ts +8 -0
- package/dist/models/CAAServices.js +44 -0
- package/dist/models/CAASubServices.d.ts +11 -0
- package/dist/models/CAASubServices.js +55 -0
- package/dist/models/DelegateSettingsModel.d.ts +9 -0
- package/dist/models/DelegateSettingsModel.js +50 -0
- package/dist/models/DepartmentsModel.d.ts +7 -0
- package/dist/models/DepartmentsModel.js +39 -0
- package/dist/models/DirectorateModel.d.ts +7 -0
- package/dist/models/DirectorateModel.js +39 -0
- package/dist/models/ITHelpDeskModel.d.ts +33 -0
- package/dist/models/ITHelpDeskModel.js +136 -0
- package/dist/models/ITRequestAttachmentModel.d.ts +17 -0
- package/dist/models/ITRequestAttachmentModel.js +81 -0
- package/dist/models/ITRequestChatModel.d.ts +12 -0
- package/dist/models/ITRequestChatModel.js +56 -0
- package/dist/models/ItApprovalsModel.d.ts +21 -0
- package/dist/models/ItApprovalsModel.js +90 -0
- package/dist/models/ItWorkflowModel.d.ts +15 -0
- package/dist/models/ItWorkflowModel.js +61 -0
- package/dist/models/LogisticsApprovalModel.d.ts +22 -0
- package/dist/models/LogisticsApprovalModel.js +91 -0
- package/dist/models/LogisticsAttachmentModel.d.ts +12 -0
- package/dist/models/LogisticsAttachmentModel.js +64 -0
- package/dist/models/LogisticsChatModel.d.ts +17 -0
- package/dist/models/LogisticsChatModel.js +67 -0
- package/dist/models/LogisticsForeignVehicleModel.d.ts +42 -0
- package/dist/models/LogisticsForeignVehicleModel.js +153 -0
- package/dist/models/LogisticsForeignVehiclePassengerModel.d.ts +6 -0
- package/dist/models/LogisticsForeignVehiclePassengerModel.js +34 -0
- package/dist/models/LogisticsModel.d.ts +57 -0
- package/dist/models/LogisticsModel.js +195 -0
- package/dist/models/LogisticsWorkflowModel.d.ts +14 -0
- package/dist/models/LogisticsWorkflowModel.js +56 -0
- package/dist/models/NotificationModel.d.ts +23 -0
- package/dist/models/NotificationModel.js +92 -0
- package/dist/models/PortalFeedbackModel.d.ts +8 -0
- package/dist/models/PortalFeedbackModel.js +44 -0
- package/dist/models/PositionModel.d.ts +6 -0
- package/dist/models/PositionModel.js +34 -0
- package/dist/models/SectionModel.d.ts +8 -0
- package/dist/models/SectionModel.js +44 -0
- package/dist/models/ServiceTypeModel.d.ts +20 -0
- package/dist/models/ServiceTypeModel.js +88 -0
- package/dist/models/VpnApprovalModel.d.ts +21 -0
- package/dist/models/VpnApprovalModel.js +87 -0
- package/dist/models/VpnRequestAttachmentModel.d.ts +11 -0
- package/dist/models/VpnRequestAttachmentModel.js +59 -0
- package/dist/models/VpnRequestChatModel.d.ts +16 -0
- package/dist/models/VpnRequestChatModel.js +62 -0
- package/dist/models/VpnRequestModel.d.ts +70 -0
- package/dist/models/VpnRequestModel.js +175 -0
- package/dist/models/VpnWorkflowModel.d.ts +13 -0
- package/dist/models/VpnWorkflowModel.js +55 -0
- package/dist/models/WorkflowDefinitions.d.ts +16 -0
- package/dist/models/WorkflowDefinitions.js +86 -0
- package/dist/models/WorkflowHierarchy.d.ts +17 -0
- package/dist/models/WorkflowHierarchy.js +86 -0
- package/dist/models/WorkflowTask.d.ts +13 -0
- package/dist/models/WorkflowTask.js +78 -0
- package/dist/models/WorkflowTaskNames.d.ts +17 -0
- package/dist/models/WorkflowTaskNames.js +63 -0
- package/dist/models/contactInfoModel.d.ts +18 -0
- package/dist/models/contactInfoModel.js +80 -0
- package/dist/models/feedbackModel.d.ts +16 -0
- package/dist/models/feedbackModel.js +61 -0
- package/dist/models/importantLinksModel.d.ts +6 -0
- package/dist/models/importantLinksModel.js +34 -0
- package/dist/models/role.d.ts +16 -0
- package/dist/models/role.js +44 -0
- package/dist/models/roleRightsModel.d.ts +16 -0
- package/dist/models/roleRightsModel.js +44 -0
- package/dist/models/serviceBookmarksModel.d.ts +6 -0
- package/dist/models/serviceBookmarksModel.js +34 -0
- package/dist/models/user-sessions.d.ts +18 -0
- package/dist/models/user-sessions.js +54 -0
- package/dist/models/user.d.ts +47 -0
- package/dist/models/user.js +238 -0
- package/dist/models/userRolesModel.d.ts +19 -0
- package/dist/models/userRolesModel.js +59 -0
- package/dist/scripts.d.ts +1 -0
- package/dist/scripts.js +11 -0
- package/package.json +1 -1
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.LogisticsRequests = exports.Type_of_Request = exports.Type_of_Vehicle = exports.Purpose_of_Travel = exports.Vehicle_Required_Location = exports.Vehicle_Required_For = exports.Status = exports.Request_Type = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var Request_Type;
|
|
16
|
+
(function (Request_Type) {
|
|
17
|
+
Request_Type["DAILY"] = "Daily";
|
|
18
|
+
Request_Type["EMERGENCY"] = "Emergency";
|
|
19
|
+
})(Request_Type || (exports.Request_Type = Request_Type = {}));
|
|
20
|
+
var Status;
|
|
21
|
+
(function (Status) {
|
|
22
|
+
Status["PENDING"] = "Pending";
|
|
23
|
+
Status["ASSIGNED"] = "Assigned";
|
|
24
|
+
Status["IN_PROGRESS"] = "In Progress";
|
|
25
|
+
Status["APPROVED"] = "Approved";
|
|
26
|
+
Status["REJECTED"] = "Rejected";
|
|
27
|
+
})(Status || (exports.Status = Status = {}));
|
|
28
|
+
var Vehicle_Required_For;
|
|
29
|
+
(function (Vehicle_Required_For) {
|
|
30
|
+
Vehicle_Required_For["CONFERENCES"] = "Conferences";
|
|
31
|
+
Vehicle_Required_For["CELEBRATIONS"] = "Celebrations and Official Meetings";
|
|
32
|
+
Vehicle_Required_For["OTHERS"] = "Others";
|
|
33
|
+
})(Vehicle_Required_For || (exports.Vehicle_Required_For = Vehicle_Required_For = {}));
|
|
34
|
+
var Vehicle_Required_Location;
|
|
35
|
+
(function (Vehicle_Required_Location) {
|
|
36
|
+
Vehicle_Required_Location["INSIDE"] = "Inside Muscat";
|
|
37
|
+
Vehicle_Required_Location["OUTSIDE"] = "Outside Muscat";
|
|
38
|
+
})(Vehicle_Required_Location || (exports.Vehicle_Required_Location = Vehicle_Required_Location = {}));
|
|
39
|
+
var Purpose_of_Travel;
|
|
40
|
+
(function (Purpose_of_Travel) {
|
|
41
|
+
Purpose_of_Travel["SITE"] = "Site Visit";
|
|
42
|
+
Purpose_of_Travel["AIRPORT"] = "Airport Duty";
|
|
43
|
+
Purpose_of_Travel["OFFICIAL"] = "Official Meeting";
|
|
44
|
+
Purpose_of_Travel["OTHER"] = "Other";
|
|
45
|
+
})(Purpose_of_Travel || (exports.Purpose_of_Travel = Purpose_of_Travel = {}));
|
|
46
|
+
var Type_of_Vehicle;
|
|
47
|
+
(function (Type_of_Vehicle) {
|
|
48
|
+
Type_of_Vehicle["SEDAN"] = "Sedan";
|
|
49
|
+
Type_of_Vehicle["SUV"] = "SUV";
|
|
50
|
+
})(Type_of_Vehicle || (exports.Type_of_Vehicle = Type_of_Vehicle = {}));
|
|
51
|
+
var Type_of_Request;
|
|
52
|
+
(function (Type_of_Request) {
|
|
53
|
+
Type_of_Request["NEW_REQUEST"] = "New Request";
|
|
54
|
+
Type_of_Request["EXTENSION"] = "Extension of Previous Request";
|
|
55
|
+
})(Type_of_Request || (exports.Type_of_Request = Type_of_Request = {}));
|
|
56
|
+
let LogisticsRequests = class LogisticsRequests extends BaseModel_1.BaseModel {
|
|
57
|
+
constructor(req_user_department_id, req_user_section_id, service_id, sub_service_id, user_id, category, vehicle_required_for, vehicle_required_location, title, purpose_of_travel, type_of_vehicle_required, type_of_request, date_of_travel, time_of_travel, exp_duration_of_use_hrs, exp_duration_of_use_days, description, status, workflow_execution_id) {
|
|
58
|
+
super();
|
|
59
|
+
this.req_user_department_id = req_user_department_id ?? null;
|
|
60
|
+
this.req_user_section_id = req_user_section_id ?? null;
|
|
61
|
+
this.service_id = service_id;
|
|
62
|
+
this.sub_service_id = sub_service_id;
|
|
63
|
+
this.user_id = user_id;
|
|
64
|
+
this.category = category;
|
|
65
|
+
this.vehicle_required_for = vehicle_required_for;
|
|
66
|
+
this.vehicle_required_location = vehicle_required_location;
|
|
67
|
+
this.title = title;
|
|
68
|
+
this.purpose_of_travel = purpose_of_travel;
|
|
69
|
+
this.type_of_vehicle_required = type_of_vehicle_required;
|
|
70
|
+
this.type_of_request = type_of_request;
|
|
71
|
+
this.date_of_travel = date_of_travel;
|
|
72
|
+
this.time_of_travel = time_of_travel;
|
|
73
|
+
this.exp_duration_of_use_hrs = exp_duration_of_use_hrs;
|
|
74
|
+
this.exp_duration_of_use_days = exp_duration_of_use_days;
|
|
75
|
+
this.description = description;
|
|
76
|
+
this.status = status;
|
|
77
|
+
this.workflow_execution_id = workflow_execution_id ?? null;
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
exports.LogisticsRequests = LogisticsRequests;
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
83
|
+
__metadata("design:type", Object)
|
|
84
|
+
], LogisticsRequests.prototype, "req_user_department_id", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
87
|
+
__metadata("design:type", Object)
|
|
88
|
+
], LogisticsRequests.prototype, "req_user_section_id", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
91
|
+
__metadata("design:type", Number)
|
|
92
|
+
], LogisticsRequests.prototype, "service_id", void 0);
|
|
93
|
+
__decorate([
|
|
94
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
95
|
+
__metadata("design:type", Number)
|
|
96
|
+
], LogisticsRequests.prototype, "sub_service_id", void 0);
|
|
97
|
+
__decorate([
|
|
98
|
+
(0, typeorm_1.Column)({ nullable: false }),
|
|
99
|
+
__metadata("design:type", Number)
|
|
100
|
+
], LogisticsRequests.prototype, "user_id", void 0);
|
|
101
|
+
__decorate([
|
|
102
|
+
(0, typeorm_1.Column)({
|
|
103
|
+
type: "enum",
|
|
104
|
+
enum: Request_Type,
|
|
105
|
+
default: Request_Type.DAILY,
|
|
106
|
+
nullable: false,
|
|
107
|
+
}),
|
|
108
|
+
__metadata("design:type", String)
|
|
109
|
+
], LogisticsRequests.prototype, "category", void 0);
|
|
110
|
+
__decorate([
|
|
111
|
+
(0, typeorm_1.Column)({
|
|
112
|
+
type: "enum",
|
|
113
|
+
enum: Vehicle_Required_For,
|
|
114
|
+
default: Vehicle_Required_For.OTHERS,
|
|
115
|
+
nullable: false,
|
|
116
|
+
}),
|
|
117
|
+
__metadata("design:type", String)
|
|
118
|
+
], LogisticsRequests.prototype, "vehicle_required_for", void 0);
|
|
119
|
+
__decorate([
|
|
120
|
+
(0, typeorm_1.Column)({
|
|
121
|
+
type: "enum",
|
|
122
|
+
enum: Vehicle_Required_Location,
|
|
123
|
+
default: Vehicle_Required_Location.INSIDE,
|
|
124
|
+
nullable: false,
|
|
125
|
+
}),
|
|
126
|
+
__metadata("design:type", String)
|
|
127
|
+
], LogisticsRequests.prototype, "vehicle_required_location", void 0);
|
|
128
|
+
__decorate([
|
|
129
|
+
(0, typeorm_1.Column)({ nullable: false }),
|
|
130
|
+
__metadata("design:type", String)
|
|
131
|
+
], LogisticsRequests.prototype, "title", void 0);
|
|
132
|
+
__decorate([
|
|
133
|
+
(0, typeorm_1.Column)({
|
|
134
|
+
type: "enum",
|
|
135
|
+
enum: Purpose_of_Travel,
|
|
136
|
+
default: Purpose_of_Travel.OTHER,
|
|
137
|
+
nullable: false,
|
|
138
|
+
}),
|
|
139
|
+
__metadata("design:type", String)
|
|
140
|
+
], LogisticsRequests.prototype, "purpose_of_travel", void 0);
|
|
141
|
+
__decorate([
|
|
142
|
+
(0, typeorm_1.Column)({
|
|
143
|
+
type: "enum",
|
|
144
|
+
enum: Type_of_Vehicle,
|
|
145
|
+
default: Type_of_Vehicle.SEDAN,
|
|
146
|
+
nullable: false,
|
|
147
|
+
}),
|
|
148
|
+
__metadata("design:type", String)
|
|
149
|
+
], LogisticsRequests.prototype, "type_of_vehicle_required", void 0);
|
|
150
|
+
__decorate([
|
|
151
|
+
(0, typeorm_1.Column)({
|
|
152
|
+
type: "enum",
|
|
153
|
+
enum: Type_of_Request,
|
|
154
|
+
default: Type_of_Request.NEW_REQUEST,
|
|
155
|
+
nullable: false,
|
|
156
|
+
}),
|
|
157
|
+
__metadata("design:type", String)
|
|
158
|
+
], LogisticsRequests.prototype, "type_of_request", void 0);
|
|
159
|
+
__decorate([
|
|
160
|
+
(0, typeorm_1.Column)({ type: "date", nullable: false }),
|
|
161
|
+
__metadata("design:type", Date)
|
|
162
|
+
], LogisticsRequests.prototype, "date_of_travel", void 0);
|
|
163
|
+
__decorate([
|
|
164
|
+
(0, typeorm_1.Column)({ type: "time", nullable: true }),
|
|
165
|
+
__metadata("design:type", String)
|
|
166
|
+
], LogisticsRequests.prototype, "time_of_travel", void 0);
|
|
167
|
+
__decorate([
|
|
168
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
169
|
+
__metadata("design:type", Number)
|
|
170
|
+
], LogisticsRequests.prototype, "exp_duration_of_use_hrs", void 0);
|
|
171
|
+
__decorate([
|
|
172
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
173
|
+
__metadata("design:type", Number)
|
|
174
|
+
], LogisticsRequests.prototype, "exp_duration_of_use_days", void 0);
|
|
175
|
+
__decorate([
|
|
176
|
+
(0, typeorm_1.Column)({ nullable: false }),
|
|
177
|
+
__metadata("design:type", String)
|
|
178
|
+
], LogisticsRequests.prototype, "description", void 0);
|
|
179
|
+
__decorate([
|
|
180
|
+
(0, typeorm_1.Column)({
|
|
181
|
+
type: "enum",
|
|
182
|
+
enum: Status,
|
|
183
|
+
default: Status.PENDING,
|
|
184
|
+
nullable: false,
|
|
185
|
+
}),
|
|
186
|
+
__metadata("design:type", String)
|
|
187
|
+
], LogisticsRequests.prototype, "status", void 0);
|
|
188
|
+
__decorate([
|
|
189
|
+
(0, typeorm_1.Column)({ type: "varchar", nullable: true }),
|
|
190
|
+
__metadata("design:type", Object)
|
|
191
|
+
], LogisticsRequests.prototype, "workflow_execution_id", void 0);
|
|
192
|
+
exports.LogisticsRequests = LogisticsRequests = __decorate([
|
|
193
|
+
(0, typeorm_1.Entity)({ name: 'logistics_requests' }),
|
|
194
|
+
__metadata("design:paramtypes", [Object, Object, Number, Number, Number, String, String, String, String, String, String, String, Date, String, Number, Number, String, String, Object])
|
|
195
|
+
], LogisticsRequests);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
export declare enum LogisticsWorkFlowStatus {
|
|
3
|
+
COMPLETED = "Completed",
|
|
4
|
+
NOT_YET_STARTED = "Not Yet Started",
|
|
5
|
+
PENDING = "Pending"
|
|
6
|
+
}
|
|
7
|
+
export declare class LogisticsWorkFlow extends BaseModel {
|
|
8
|
+
request_id: number;
|
|
9
|
+
service_id: number | null;
|
|
10
|
+
sub_service_id: number | null;
|
|
11
|
+
content: string;
|
|
12
|
+
status: LogisticsWorkFlowStatus;
|
|
13
|
+
constructor(request_id: number, content: string, status: LogisticsWorkFlowStatus, service_id?: number, sub_service_id?: number);
|
|
14
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.LogisticsWorkFlow = exports.LogisticsWorkFlowStatus = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var LogisticsWorkFlowStatus;
|
|
16
|
+
(function (LogisticsWorkFlowStatus) {
|
|
17
|
+
LogisticsWorkFlowStatus["COMPLETED"] = "Completed";
|
|
18
|
+
LogisticsWorkFlowStatus["NOT_YET_STARTED"] = "Not Yet Started";
|
|
19
|
+
LogisticsWorkFlowStatus["PENDING"] = "Pending";
|
|
20
|
+
})(LogisticsWorkFlowStatus || (exports.LogisticsWorkFlowStatus = LogisticsWorkFlowStatus = {}));
|
|
21
|
+
//This model is used to store the logistics workflow status and activity logs
|
|
22
|
+
let LogisticsWorkFlow = class LogisticsWorkFlow extends BaseModel_1.BaseModel {
|
|
23
|
+
constructor(request_id, content, status, service_id, sub_service_id) {
|
|
24
|
+
super();
|
|
25
|
+
this.request_id = request_id;
|
|
26
|
+
this.service_id = service_id || null;
|
|
27
|
+
this.sub_service_id = sub_service_id || null;
|
|
28
|
+
this.content = content;
|
|
29
|
+
this.status = status;
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
exports.LogisticsWorkFlow = LogisticsWorkFlow;
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: false }),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], LogisticsWorkFlow.prototype, "request_id", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
39
|
+
__metadata("design:type", Object)
|
|
40
|
+
], LogisticsWorkFlow.prototype, "service_id", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
43
|
+
__metadata("design:type", Object)
|
|
44
|
+
], LogisticsWorkFlow.prototype, "sub_service_id", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: false }),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], LogisticsWorkFlow.prototype, "content", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ type: 'enum', enum: LogisticsWorkFlowStatus, default: LogisticsWorkFlowStatus.NOT_YET_STARTED, nullable: false }),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], LogisticsWorkFlow.prototype, "status", void 0);
|
|
53
|
+
exports.LogisticsWorkFlow = LogisticsWorkFlow = __decorate([
|
|
54
|
+
(0, typeorm_1.Entity)({ name: 'logistics_workflows' }),
|
|
55
|
+
__metadata("design:paramtypes", [Number, String, String, Number, Number])
|
|
56
|
+
], LogisticsWorkFlow);
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
export declare enum NotificationType {
|
|
3
|
+
REQUEST_RAISED = "request raised",
|
|
4
|
+
REQUEST_APPROVE = "request approve",
|
|
5
|
+
REQUEST_REJECT = "request reject",
|
|
6
|
+
REQUEST_WITHDRAW = "request withdraw",
|
|
7
|
+
REMINDER = "reminder",
|
|
8
|
+
IMPORT = "import"
|
|
9
|
+
}
|
|
10
|
+
export declare class Notification extends BaseModel {
|
|
11
|
+
type: NotificationType;
|
|
12
|
+
user_id: number;
|
|
13
|
+
role_id: number;
|
|
14
|
+
department_id: number;
|
|
15
|
+
section_id: number;
|
|
16
|
+
content: any;
|
|
17
|
+
is_read: boolean;
|
|
18
|
+
request_id: number;
|
|
19
|
+
service_id: number;
|
|
20
|
+
sub_service_id: number;
|
|
21
|
+
route_path: string;
|
|
22
|
+
constructor(type: NotificationType, user_id: number, role_id: number, department_id: number, section_id: number, content: any, is_read: boolean, request_id: number, service_id: number, sub_service_id: number, route_path: string);
|
|
23
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.Notification = exports.NotificationType = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var NotificationType;
|
|
16
|
+
(function (NotificationType) {
|
|
17
|
+
NotificationType["REQUEST_RAISED"] = "request raised";
|
|
18
|
+
NotificationType["REQUEST_APPROVE"] = "request approve";
|
|
19
|
+
NotificationType["REQUEST_REJECT"] = "request reject";
|
|
20
|
+
NotificationType["REQUEST_WITHDRAW"] = "request withdraw";
|
|
21
|
+
NotificationType["REMINDER"] = "reminder";
|
|
22
|
+
NotificationType["IMPORT"] = "import";
|
|
23
|
+
})(NotificationType || (exports.NotificationType = NotificationType = {}));
|
|
24
|
+
let Notification = class Notification extends BaseModel_1.BaseModel {
|
|
25
|
+
constructor(type, user_id, role_id, department_id, section_id, content, is_read, request_id, service_id, sub_service_id, route_path) {
|
|
26
|
+
super();
|
|
27
|
+
this.type = type;
|
|
28
|
+
this.user_id = user_id;
|
|
29
|
+
this.role_id = role_id;
|
|
30
|
+
this.department_id = department_id;
|
|
31
|
+
this.section_id = section_id;
|
|
32
|
+
this.content = content;
|
|
33
|
+
this.is_read = is_read;
|
|
34
|
+
this.request_id = request_id;
|
|
35
|
+
this.service_id = service_id;
|
|
36
|
+
this.sub_service_id = sub_service_id;
|
|
37
|
+
this.route_path = route_path;
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
exports.Notification = Notification;
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({
|
|
43
|
+
type: "enum",
|
|
44
|
+
enum: NotificationType,
|
|
45
|
+
nullable: false,
|
|
46
|
+
}),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], Notification.prototype, "type", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ type: 'bigint', nullable: false }),
|
|
51
|
+
__metadata("design:type", Number)
|
|
52
|
+
], Notification.prototype, "user_id", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, typeorm_1.Column)({ type: 'bigint', nullable: true }),
|
|
55
|
+
__metadata("design:type", Number)
|
|
56
|
+
], Notification.prototype, "role_id", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, typeorm_1.Column)({ type: 'bigint', nullable: true }),
|
|
59
|
+
__metadata("design:type", Number)
|
|
60
|
+
], Notification.prototype, "department_id", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, typeorm_1.Column)({ type: 'bigint', nullable: true }),
|
|
63
|
+
__metadata("design:type", Number)
|
|
64
|
+
], Notification.prototype, "section_id", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, typeorm_1.Column)({ type: 'jsonb', nullable: true }),
|
|
67
|
+
__metadata("design:type", Object)
|
|
68
|
+
], Notification.prototype, "content", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, typeorm_1.Column)({ type: 'boolean', default: false }),
|
|
71
|
+
__metadata("design:type", Boolean)
|
|
72
|
+
], Notification.prototype, "is_read", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, typeorm_1.Column)({ type: 'bigint', nullable: true }),
|
|
75
|
+
__metadata("design:type", Number)
|
|
76
|
+
], Notification.prototype, "request_id", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, typeorm_1.Column)({ type: 'bigint', nullable: true }),
|
|
79
|
+
__metadata("design:type", Number)
|
|
80
|
+
], Notification.prototype, "service_id", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, typeorm_1.Column)({ type: 'bigint', nullable: true }),
|
|
83
|
+
__metadata("design:type", Number)
|
|
84
|
+
], Notification.prototype, "sub_service_id", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: true }),
|
|
87
|
+
__metadata("design:type", String)
|
|
88
|
+
], Notification.prototype, "route_path", void 0);
|
|
89
|
+
exports.Notification = Notification = __decorate([
|
|
90
|
+
(0, typeorm_1.Entity)({ name: 'notification' }),
|
|
91
|
+
__metadata("design:paramtypes", [String, Number, Number, Number, Number, Object, Boolean, Number, Number, Number, String])
|
|
92
|
+
], Notification);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
import { Rating } from './feedbackModel';
|
|
3
|
+
export declare class PortalFeedback extends BaseModel {
|
|
4
|
+
comment: string;
|
|
5
|
+
rating: Rating;
|
|
6
|
+
user_Id: number;
|
|
7
|
+
constructor(comment: string, rating: Rating, user_Id: number);
|
|
8
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.PortalFeedback = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
const feedbackModel_1 = require("./feedbackModel");
|
|
16
|
+
let PortalFeedback = class PortalFeedback extends BaseModel_1.BaseModel {
|
|
17
|
+
constructor(comment, rating, user_Id) {
|
|
18
|
+
super();
|
|
19
|
+
this.comment = comment,
|
|
20
|
+
this.rating = rating,
|
|
21
|
+
this.user_Id = user_Id;
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
exports.PortalFeedback = PortalFeedback;
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], PortalFeedback.prototype, "comment", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)({
|
|
31
|
+
type: "enum",
|
|
32
|
+
enum: feedbackModel_1.Rating,
|
|
33
|
+
nullable: true,
|
|
34
|
+
}),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], PortalFeedback.prototype, "rating", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], PortalFeedback.prototype, "user_Id", void 0);
|
|
41
|
+
exports.PortalFeedback = PortalFeedback = __decorate([
|
|
42
|
+
(0, typeorm_1.Entity)({ name: 'portal_feedback' }),
|
|
43
|
+
__metadata("design:paramtypes", [String, Number, Number])
|
|
44
|
+
], PortalFeedback);
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.Position = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
let Position = class Position extends BaseModel_1.BaseModel {
|
|
16
|
+
constructor(name, is_deleted) {
|
|
17
|
+
super();
|
|
18
|
+
this.name = name;
|
|
19
|
+
this.is_deleted = is_deleted;
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
exports.Position = Position;
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], Position.prototype, "name", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
29
|
+
__metadata("design:type", Boolean)
|
|
30
|
+
], Position.prototype, "is_deleted", void 0);
|
|
31
|
+
exports.Position = Position = __decorate([
|
|
32
|
+
(0, typeorm_1.Entity)({ name: 'position' }),
|
|
33
|
+
__metadata("design:paramtypes", [String, Boolean])
|
|
34
|
+
], Position);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
export declare class Sections extends BaseModel {
|
|
3
|
+
section_name: string;
|
|
4
|
+
section_code: string;
|
|
5
|
+
section_description: string;
|
|
6
|
+
department_id: number;
|
|
7
|
+
constructor(section_name: string, section_code: string, section_description: string, department_id: number);
|
|
8
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.Sections = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
let Sections = class Sections extends BaseModel_1.BaseModel {
|
|
16
|
+
constructor(section_name, section_code, section_description, department_id) {
|
|
17
|
+
super();
|
|
18
|
+
this.section_name = section_name;
|
|
19
|
+
this.section_code = section_code;
|
|
20
|
+
this.section_description = section_description;
|
|
21
|
+
this.department_id = department_id;
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
exports.Sections = Sections;
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 64, nullable: false, unique: true }),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], Sections.prototype, "section_name", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 64, nullable: false, unique: true }),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], Sections.prototype, "section_code", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({ nullable: false }),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], Sections.prototype, "section_description", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ type: 'bigint', nullable: true }),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], Sections.prototype, "department_id", void 0);
|
|
41
|
+
exports.Sections = Sections = __decorate([
|
|
42
|
+
(0, typeorm_1.Entity)({ name: 'sections' }),
|
|
43
|
+
__metadata("design:paramtypes", [String, String, String, Number])
|
|
44
|
+
], Sections);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
import { CAAServices } from './CAAServices';
|
|
3
|
+
import { CAASubServices } from './CAASubServices';
|
|
4
|
+
import { Departments } from './DepartmentsModel';
|
|
5
|
+
import { Sections } from './SectionModel';
|
|
6
|
+
export declare class ServiceType extends BaseModel {
|
|
7
|
+
name: string;
|
|
8
|
+
name_in_arabic: string;
|
|
9
|
+
service_id: number;
|
|
10
|
+
service: CAAServices;
|
|
11
|
+
sub_service_id: number;
|
|
12
|
+
sub_service: CAASubServices;
|
|
13
|
+
department_id: number | null;
|
|
14
|
+
department: Departments;
|
|
15
|
+
section_id: number | null;
|
|
16
|
+
section: Sections;
|
|
17
|
+
description: string;
|
|
18
|
+
is_active: boolean;
|
|
19
|
+
constructor(name: string, name_in_arabic: string, service_id: number, sub_service_id: number, description?: string, is_active?: boolean, department_id?: number | null, section_id?: number | null);
|
|
20
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.ServiceType = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
const CAAServices_1 = require("./CAAServices");
|
|
16
|
+
const CAASubServices_1 = require("./CAASubServices");
|
|
17
|
+
const DepartmentsModel_1 = require("./DepartmentsModel");
|
|
18
|
+
const SectionModel_1 = require("./SectionModel");
|
|
19
|
+
let ServiceType = class ServiceType extends BaseModel_1.BaseModel {
|
|
20
|
+
constructor(name, name_in_arabic, service_id, sub_service_id, description, is_active, department_id, section_id) {
|
|
21
|
+
super();
|
|
22
|
+
this.name = name;
|
|
23
|
+
this.name_in_arabic = name_in_arabic;
|
|
24
|
+
this.service_id = service_id;
|
|
25
|
+
this.sub_service_id = sub_service_id;
|
|
26
|
+
this.description = description || '';
|
|
27
|
+
this.is_active = is_active !== undefined ? is_active : true;
|
|
28
|
+
this.department_id = department_id || null;
|
|
29
|
+
this.section_id = section_id || null;
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
exports.ServiceType = ServiceType;
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({ nullable: false }),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], ServiceType.prototype, "name", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ nullable: false }),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], ServiceType.prototype, "name_in_arabic", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ nullable: false }),
|
|
43
|
+
__metadata("design:type", Number)
|
|
44
|
+
], ServiceType.prototype, "service_id", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.ManyToOne)(() => CAAServices_1.CAAServices),
|
|
47
|
+
(0, typeorm_1.JoinColumn)({ name: 'service_id' }),
|
|
48
|
+
__metadata("design:type", CAAServices_1.CAAServices)
|
|
49
|
+
], ServiceType.prototype, "service", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, typeorm_1.Column)({ nullable: false }),
|
|
52
|
+
__metadata("design:type", Number)
|
|
53
|
+
], ServiceType.prototype, "sub_service_id", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, typeorm_1.ManyToOne)(() => CAASubServices_1.CAASubServices),
|
|
56
|
+
(0, typeorm_1.JoinColumn)({ name: 'sub_service_id' }),
|
|
57
|
+
__metadata("design:type", CAASubServices_1.CAASubServices)
|
|
58
|
+
], ServiceType.prototype, "sub_service", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, typeorm_1.Column)({ type: 'bigint', nullable: true }),
|
|
61
|
+
__metadata("design:type", Object)
|
|
62
|
+
], ServiceType.prototype, "department_id", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, typeorm_1.ManyToOne)(() => DepartmentsModel_1.Departments),
|
|
65
|
+
(0, typeorm_1.JoinColumn)({ name: 'department_id' }),
|
|
66
|
+
__metadata("design:type", DepartmentsModel_1.Departments)
|
|
67
|
+
], ServiceType.prototype, "department", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, typeorm_1.Column)({ type: 'bigint', nullable: true }),
|
|
70
|
+
__metadata("design:type", Object)
|
|
71
|
+
], ServiceType.prototype, "section_id", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, typeorm_1.ManyToOne)(() => SectionModel_1.Sections),
|
|
74
|
+
(0, typeorm_1.JoinColumn)({ name: 'section_id' }),
|
|
75
|
+
__metadata("design:type", SectionModel_1.Sections)
|
|
76
|
+
], ServiceType.prototype, "section", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
79
|
+
__metadata("design:type", String)
|
|
80
|
+
], ServiceType.prototype, "description", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, typeorm_1.Column)({ type: 'boolean', default: true }),
|
|
83
|
+
__metadata("design:type", Boolean)
|
|
84
|
+
], ServiceType.prototype, "is_active", void 0);
|
|
85
|
+
exports.ServiceType = ServiceType = __decorate([
|
|
86
|
+
(0, typeorm_1.Entity)({ name: 'service_types' }),
|
|
87
|
+
__metadata("design:paramtypes", [String, String, Number, Number, String, Boolean, Object, Object])
|
|
88
|
+
], ServiceType);
|