@platform-modules/foreign-ministry 1.1.101 → 1.1.102
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.js +14 -36
- package/dist/index.d.ts +7 -27
- package/dist/index.js +7 -42
- package/dist/models/DiplomaticApprovalsModel.d.ts +24 -0
- package/dist/models/DiplomaticApprovalsModel.js +94 -0
- package/dist/models/DiplomaticAttachmentsModel.d.ts +11 -0
- package/dist/models/DiplomaticAttachmentsModel.js +53 -0
- package/dist/models/DiplomaticChatsModel.d.ts +20 -0
- package/dist/models/DiplomaticChatsModel.js +70 -0
- package/dist/models/DiplomaticClubCardApprovalModel.d.ts +16 -0
- package/dist/models/DiplomaticClubCardApprovalModel.js +58 -0
- package/dist/models/DiplomaticClubCardAttachmentModel.d.ts +9 -0
- package/dist/models/{NationalityMasterModel.js → DiplomaticClubCardAttachmentModel.js} +22 -29
- package/dist/models/DiplomaticClubCardChatModel.d.ts +7 -0
- package/dist/models/{EarlyCheckoutBalanceModel.js → DiplomaticClubCardChatModel.js} +18 -21
- package/dist/models/DiplomaticClubCardMemberModel.d.ts +13 -0
- package/dist/models/DiplomaticClubCardMemberModel.js +60 -0
- package/dist/models/DiplomaticClubCardMembersModel.d.ts +26 -0
- package/dist/models/DiplomaticClubCardMembersModel.js +85 -0
- package/dist/models/DiplomaticClubCardRequestModel.d.ts +33 -0
- package/dist/models/DiplomaticClubCardRequestModel.js +98 -0
- package/dist/models/DiplomaticClubCardWorkFlowModel.d.ts +12 -0
- package/dist/models/DiplomaticClubCardWorkFlowModel.js +42 -0
- package/dist/models/DiplomaticClubSubscriptionMasterModel.d.ts +12 -0
- package/dist/models/DiplomaticClubSubscriptionMasterModel.js +64 -0
- package/dist/models/DiplomaticRequestsModel.d.ts +54 -0
- package/dist/models/DiplomaticRequestsModel.js +186 -0
- package/dist/models/DiplomaticServiceDetailsModel.d.ts +20 -0
- package/dist/models/DiplomaticServiceDetailsModel.js +65 -0
- package/dist/models/DiplomaticSettingsModel.d.ts +11 -0
- package/dist/models/DiplomaticSettingsModel.js +59 -0
- package/dist/models/DiplomaticTitleModel.d.ts +12 -0
- package/dist/models/DiplomaticTitleModel.js +45 -0
- package/dist/models/DiplomaticTitlesMasterModel.d.ts +7 -3
- package/dist/models/DiplomaticTitlesMasterModel.js +16 -9
- package/dist/models/DiplomaticWorkFlowModel.d.ts +20 -0
- package/dist/models/DiplomaticWorkFlowModel.js +77 -0
- package/dist/models/FinancialApprovalsModel.d.ts +0 -1
- package/dist/models/FinancialApprovalsModel.js +0 -4
- package/dist/models/FinancialGradeModel.d.ts +3 -4
- package/dist/models/FinancialGradeModel.js +7 -12
- package/dist/models/GeneralServiceApprovalsModel.d.ts +1 -4
- package/dist/models/GeneralServiceApprovalsModel.js +0 -9
- package/dist/models/LeaveApprovalsModel.d.ts +2 -4
- package/dist/models/LeaveApprovalsModel.js +2 -8
- package/dist/models/LeaveTypesModel.d.ts +1 -7
- package/dist/models/LeaveTypesModel.js +5 -20
- package/dist/models/PassportRequestApprovalModel.d.ts +22 -0
- package/dist/models/PassportRequestApprovalModel.js +91 -0
- package/dist/models/PassportRequestAttachmentModel.d.ts +10 -0
- package/dist/models/PassportRequestAttachmentModel.js +54 -0
- package/dist/models/PassportRequestChatModel.d.ts +8 -0
- package/dist/models/{LeaveBalanceModel.js → PassportRequestChatModel.js} +23 -23
- package/dist/models/PassportRequestDependentModel.d.ts +20 -0
- package/dist/models/PassportRequestDependentModel.js +85 -0
- package/dist/models/PassportRequestModel.d.ts +40 -0
- package/dist/models/PassportRequestModel.js +128 -0
- package/dist/models/PassportRequestWorkFlowModel.d.ts +15 -0
- package/dist/models/PassportRequestWorkFlowModel.js +60 -0
- package/dist/models/SubscriptionAmountModel.d.ts +67 -0
- package/dist/models/SubscriptionAmountModel.js +114 -0
- package/dist/models/TelephoneDirectoryModel.d.ts +2 -3
- package/dist/models/TelephoneDirectoryModel.js +6 -11
- package/dist/models/TransferMissionApprovalModel.d.ts +0 -2
- package/dist/models/TransferMissionApprovalModel.js +0 -8
- package/dist/models/UpdateAttendanceApprovalModel.d.ts +0 -1
- package/dist/models/UpdateAttendanceApprovalModel.js +0 -4
- package/dist/models/user.d.ts +1 -2
- package/dist/models/user.js +2 -7
- package/package.json +1 -1
- package/src/data-source.ts +16 -40
- package/src/index.ts +7 -27
- package/src/models/DiplomaticApprovalsModel.ts +77 -0
- package/src/models/DiplomaticAttachmentsModel.ts +37 -0
- package/src/models/DiplomaticChatsModel.ts +53 -0
- package/src/models/DiplomaticClubCardMembersModel.ts +71 -0
- package/src/models/DiplomaticClubSubscriptionMasterModel.ts +50 -0
- package/src/models/DiplomaticRequestsModel.ts +154 -0
- package/src/models/DiplomaticTitlesMasterModel.ts +20 -9
- package/src/models/DiplomaticWorkFlowModel.ts +59 -0
- package/src/models/FinancialApprovalsModel.ts +0 -4
- package/src/models/FinancialGradeModel.ts +8 -13
- package/src/models/GeneralServiceApprovalsModel.ts +1 -10
- package/src/models/LeaveApprovalsModel.ts +2 -7
- package/src/models/LeaveTypesModel.ts +11 -27
- package/src/models/TelephoneDirectoryModel.ts +4 -8
- package/src/models/TransferMissionApprovalModel.ts +0 -6
- package/src/models/TransferMissionRequestModel.ts +0 -1
- package/src/models/UpdateAttendanceApprovalModel.ts +0 -3
- package/src/models/user.ts +0 -5
- package/dist/models/CountryMasterModel.d.ts +0 -11
- package/dist/models/CountryMasterModel.js +0 -55
- package/dist/models/EarlyCheckoutBalanceModel.d.ts +0 -7
- package/dist/models/EarlyCheckoutConfigModel.d.ts +0 -18
- package/dist/models/EarlyCheckoutConfigModel.js +0 -80
- package/dist/models/EarlyCheckoutTransactionModel.d.ts +0 -19
- package/dist/models/EarlyCheckoutTransactionModel.js +0 -66
- package/dist/models/LeaveBalanceModel.d.ts +0 -8
- package/dist/models/LeaveConfigGradesModel.d.ts +0 -19
- package/dist/models/LeaveConfigGradesModel.js +0 -100
- package/dist/models/LeaveConfigModel.d.ts +0 -20
- package/dist/models/LeaveConfigModel.js +0 -90
- package/dist/models/LeaveTransactionModel.d.ts +0 -20
- package/dist/models/LeaveTransactionModel.js +0 -71
- package/dist/models/M&CMasterModel.d.ts +0 -9
- package/dist/models/M&CMasterModel.js +0 -49
- package/dist/models/NationalityMasterModel.d.ts +0 -10
- package/dist/models/ProfileUpdateRequestsModel.d.ts +0 -106
- package/dist/models/ProfileUpdateRequestsModel.js +0 -409
- package/dist/models/StationeryMaterialMasterModel.d.ts +0 -11
- package/dist/models/StationeryMaterialMasterModel.js +0 -56
- package/dist/models/StationeryRequestsModel.d.ts +0 -27
- package/dist/models/StationeryRequestsModel.js +0 -93
- package/dist/models/StayAfterHoursBalanceModel.d.ts +0 -7
- package/dist/models/StayAfterHoursBalanceModel.js +0 -39
- package/dist/models/StayAfterHoursTransactionModel.d.ts +0 -19
- package/dist/models/StayAfterHoursTransactionModel.js +0 -66
- package/dist/models/UserEducationDetailsModel.d.ts +0 -12
- package/dist/models/UserEducationDetailsModel.js +0 -44
- package/dist/models/UserEmploymentDetailsModel.d.ts +0 -50
- package/dist/models/UserEmploymentDetailsModel.js +0 -193
- package/dist/models/UserPersonalDetailsModel.d.ts +0 -48
- package/dist/models/UserPersonalDetailsModel.js +0 -185
- package/src/models/CountryMasterModel.ts +0 -34
- package/src/models/EarlyCheckoutBalanceModel.ts +0 -22
- package/src/models/EarlyCheckoutConfigModel.ts +0 -57
- package/src/models/EarlyCheckoutTransactionModel.ts +0 -53
- package/src/models/LeaveBalanceModel.ts +0 -26
- package/src/models/LeaveConfigGradesModel.Ts +0 -72
- package/src/models/LeaveConfigModel.ts +0 -64
- package/src/models/LeaveTransactionModel.ts +0 -58
- package/src/models/M&CMasterModel.ts +0 -37
- package/src/models/NationalityMasterModel.ts +0 -31
- package/src/models/ProfileUpdateRequestsModel.ts +0 -317
- package/src/models/StationeryMaterialMasterModel.ts +0 -35
- package/src/models/StationeryRequestsModel.ts +0 -65
- package/src/models/StayAfterHoursBalanceModel.ts +0 -22
- package/src/models/StayAfterHoursTransactionModel.ts +0 -53
- package/src/models/UserEducationDetailsModel.ts +0 -26
- package/src/models/UserEmploymentDetailsModel.ts +0 -141
- package/src/models/UserPersonalDetailsModel.ts +0 -137
|
@@ -1,409 +0,0 @@
|
|
|
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.ProfileUpdateRequests = exports.ProfileUpdateRequestStatus = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const BaseModel_1 = require("./BaseModel");
|
|
15
|
-
var ProfileUpdateRequestStatus;
|
|
16
|
-
(function (ProfileUpdateRequestStatus) {
|
|
17
|
-
ProfileUpdateRequestStatus["PENDING"] = "Pending";
|
|
18
|
-
ProfileUpdateRequestStatus["ASSIGNED"] = "Assigned";
|
|
19
|
-
ProfileUpdateRequestStatus["IN_PROGRESS"] = "In Progress";
|
|
20
|
-
ProfileUpdateRequestStatus["APPROVED"] = "Approved";
|
|
21
|
-
ProfileUpdateRequestStatus["REJECTED"] = "Rejected";
|
|
22
|
-
ProfileUpdateRequestStatus["COMPLETED"] = "Completed";
|
|
23
|
-
})(ProfileUpdateRequestStatus || (exports.ProfileUpdateRequestStatus = ProfileUpdateRequestStatus = {}));
|
|
24
|
-
let ProfileUpdateRequests = class ProfileUpdateRequests extends BaseModel_1.BaseModel {
|
|
25
|
-
};
|
|
26
|
-
exports.ProfileUpdateRequests = ProfileUpdateRequests;
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
29
|
-
__metadata("design:type", Object)
|
|
30
|
-
], ProfileUpdateRequests.prototype, "req_user_department_id", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
33
|
-
__metadata("design:type", Object)
|
|
34
|
-
], ProfileUpdateRequests.prototype, "req_user_section_id", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
37
|
-
__metadata("design:type", Object)
|
|
38
|
-
], ProfileUpdateRequests.prototype, "service_id", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
41
|
-
__metadata("design:type", Object)
|
|
42
|
-
], ProfileUpdateRequests.prototype, "sub_service_id", void 0);
|
|
43
|
-
__decorate([
|
|
44
|
-
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
45
|
-
__metadata("design:type", Number)
|
|
46
|
-
], ProfileUpdateRequests.prototype, "user_id", void 0);
|
|
47
|
-
__decorate([
|
|
48
|
-
(0, typeorm_1.Column)({ type: 'enum', enum: ProfileUpdateRequestStatus, default: ProfileUpdateRequestStatus.PENDING, nullable: false }),
|
|
49
|
-
__metadata("design:type", String)
|
|
50
|
-
], ProfileUpdateRequests.prototype, "status", void 0);
|
|
51
|
-
__decorate([
|
|
52
|
-
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
53
|
-
__metadata("design:type", Object)
|
|
54
|
-
], ProfileUpdateRequests.prototype, "workflow_execution_id", void 0);
|
|
55
|
-
__decorate([
|
|
56
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: true }),
|
|
57
|
-
__metadata("design:type", Object)
|
|
58
|
-
], ProfileUpdateRequests.prototype, "employee_type", void 0);
|
|
59
|
-
__decorate([
|
|
60
|
-
(0, typeorm_1.Column)({ type: 'boolean', default: false, nullable: true }),
|
|
61
|
-
__metadata("design:type", Object)
|
|
62
|
-
], ProfileUpdateRequests.prototype, "is_diplomatic", void 0);
|
|
63
|
-
__decorate([
|
|
64
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
65
|
-
__metadata("design:type", Object)
|
|
66
|
-
], ProfileUpdateRequests.prototype, "assigned_to_department", void 0);
|
|
67
|
-
__decorate([
|
|
68
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: true }),
|
|
69
|
-
__metadata("design:type", Object)
|
|
70
|
-
], ProfileUpdateRequests.prototype, "comments", void 0);
|
|
71
|
-
__decorate([
|
|
72
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
73
|
-
__metadata("design:type", Object)
|
|
74
|
-
], ProfileUpdateRequests.prototype, "title", void 0);
|
|
75
|
-
__decorate([
|
|
76
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
77
|
-
__metadata("design:type", Object)
|
|
78
|
-
], ProfileUpdateRequests.prototype, "first_name", void 0);
|
|
79
|
-
__decorate([
|
|
80
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
81
|
-
__metadata("design:type", Object)
|
|
82
|
-
], ProfileUpdateRequests.prototype, "second_name", void 0);
|
|
83
|
-
__decorate([
|
|
84
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
85
|
-
__metadata("design:type", Object)
|
|
86
|
-
], ProfileUpdateRequests.prototype, "third_name", void 0);
|
|
87
|
-
__decorate([
|
|
88
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
89
|
-
__metadata("design:type", Object)
|
|
90
|
-
], ProfileUpdateRequests.prototype, "fourth_name", void 0);
|
|
91
|
-
__decorate([
|
|
92
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
93
|
-
__metadata("design:type", Object)
|
|
94
|
-
], ProfileUpdateRequests.prototype, "family_name_tribe", void 0);
|
|
95
|
-
__decorate([
|
|
96
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
97
|
-
__metadata("design:type", Object)
|
|
98
|
-
], ProfileUpdateRequests.prototype, "previous_name", void 0);
|
|
99
|
-
__decorate([
|
|
100
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
101
|
-
__metadata("design:type", Object)
|
|
102
|
-
], ProfileUpdateRequests.prototype, "religion", void 0);
|
|
103
|
-
__decorate([
|
|
104
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
105
|
-
__metadata("design:type", Object)
|
|
106
|
-
], ProfileUpdateRequests.prototype, "sect", void 0);
|
|
107
|
-
__decorate([
|
|
108
|
-
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
109
|
-
__metadata("design:type", Object)
|
|
110
|
-
], ProfileUpdateRequests.prototype, "date_of_birth", void 0);
|
|
111
|
-
__decorate([
|
|
112
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
113
|
-
__metadata("design:type", Object)
|
|
114
|
-
], ProfileUpdateRequests.prototype, "place_of_birth", void 0);
|
|
115
|
-
__decorate([
|
|
116
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
117
|
-
__metadata("design:type", Object)
|
|
118
|
-
], ProfileUpdateRequests.prototype, "nationality", void 0);
|
|
119
|
-
__decorate([
|
|
120
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: true }),
|
|
121
|
-
__metadata("design:type", Object)
|
|
122
|
-
], ProfileUpdateRequests.prototype, "gender", void 0);
|
|
123
|
-
__decorate([
|
|
124
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: true }),
|
|
125
|
-
__metadata("design:type", Object)
|
|
126
|
-
], ProfileUpdateRequests.prototype, "marital_status", void 0);
|
|
127
|
-
__decorate([
|
|
128
|
-
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
129
|
-
__metadata("design:type", Object)
|
|
130
|
-
], ProfileUpdateRequests.prototype, "number_of_dependents", void 0);
|
|
131
|
-
__decorate([
|
|
132
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
133
|
-
__metadata("design:type", Object)
|
|
134
|
-
], ProfileUpdateRequests.prototype, "passport_number", void 0);
|
|
135
|
-
__decorate([
|
|
136
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: true }),
|
|
137
|
-
__metadata("design:type", Object)
|
|
138
|
-
], ProfileUpdateRequests.prototype, "passport_type", void 0);
|
|
139
|
-
__decorate([
|
|
140
|
-
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
141
|
-
__metadata("design:type", Object)
|
|
142
|
-
], ProfileUpdateRequests.prototype, "issue_date", void 0);
|
|
143
|
-
__decorate([
|
|
144
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
145
|
-
__metadata("design:type", Object)
|
|
146
|
-
], ProfileUpdateRequests.prototype, "place_of_issue", void 0);
|
|
147
|
-
__decorate([
|
|
148
|
-
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
149
|
-
__metadata("design:type", Object)
|
|
150
|
-
], ProfileUpdateRequests.prototype, "expiry_date", void 0);
|
|
151
|
-
__decorate([
|
|
152
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
153
|
-
__metadata("design:type", Object)
|
|
154
|
-
], ProfileUpdateRequests.prototype, "id_card_number", void 0);
|
|
155
|
-
__decorate([
|
|
156
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
157
|
-
__metadata("design:type", Object)
|
|
158
|
-
], ProfileUpdateRequests.prototype, "id_card_place_of_issue", void 0);
|
|
159
|
-
__decorate([
|
|
160
|
-
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
161
|
-
__metadata("design:type", Object)
|
|
162
|
-
], ProfileUpdateRequests.prototype, "id_card_expiry_date", void 0);
|
|
163
|
-
__decorate([
|
|
164
|
-
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
165
|
-
__metadata("design:type", Object)
|
|
166
|
-
], ProfileUpdateRequests.prototype, "permanent_address", void 0);
|
|
167
|
-
__decorate([
|
|
168
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
169
|
-
__metadata("design:type", Object)
|
|
170
|
-
], ProfileUpdateRequests.prototype, "governorate_wilaya", void 0);
|
|
171
|
-
__decorate([
|
|
172
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
173
|
-
__metadata("design:type", Object)
|
|
174
|
-
], ProfileUpdateRequests.prototype, "po_box", void 0);
|
|
175
|
-
__decorate([
|
|
176
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: true }),
|
|
177
|
-
__metadata("design:type", Object)
|
|
178
|
-
], ProfileUpdateRequests.prototype, "zip_code", void 0);
|
|
179
|
-
__decorate([
|
|
180
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
181
|
-
__metadata("design:type", Object)
|
|
182
|
-
], ProfileUpdateRequests.prototype, "house_number", void 0);
|
|
183
|
-
__decorate([
|
|
184
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
185
|
-
__metadata("design:type", Object)
|
|
186
|
-
], ProfileUpdateRequests.prototype, "railway_number", void 0);
|
|
187
|
-
__decorate([
|
|
188
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
189
|
-
__metadata("design:type", Object)
|
|
190
|
-
], ProfileUpdateRequests.prototype, "governorate", void 0);
|
|
191
|
-
__decorate([
|
|
192
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
193
|
-
__metadata("design:type", Object)
|
|
194
|
-
], ProfileUpdateRequests.prototype, "wilayat", void 0);
|
|
195
|
-
__decorate([
|
|
196
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
197
|
-
__metadata("design:type", Object)
|
|
198
|
-
], ProfileUpdateRequests.prototype, "locality", void 0);
|
|
199
|
-
__decorate([
|
|
200
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
201
|
-
__metadata("design:type", Object)
|
|
202
|
-
], ProfileUpdateRequests.prototype, "country", void 0);
|
|
203
|
-
__decorate([
|
|
204
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: true }),
|
|
205
|
-
__metadata("design:type", Object)
|
|
206
|
-
], ProfileUpdateRequests.prototype, "phone_number", void 0);
|
|
207
|
-
__decorate([
|
|
208
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: true }),
|
|
209
|
-
__metadata("design:type", Object)
|
|
210
|
-
], ProfileUpdateRequests.prototype, "fax_number", void 0);
|
|
211
|
-
__decorate([
|
|
212
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
213
|
-
__metadata("design:type", Object)
|
|
214
|
-
], ProfileUpdateRequests.prototype, "email", void 0);
|
|
215
|
-
__decorate([
|
|
216
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
217
|
-
__metadata("design:type", Object)
|
|
218
|
-
], ProfileUpdateRequests.prototype, "email_address_personal", void 0);
|
|
219
|
-
__decorate([
|
|
220
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
221
|
-
__metadata("design:type", Object)
|
|
222
|
-
], ProfileUpdateRequests.prototype, "sheikh_name", void 0);
|
|
223
|
-
__decorate([
|
|
224
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: true }),
|
|
225
|
-
__metadata("design:type", Object)
|
|
226
|
-
], ProfileUpdateRequests.prototype, "photo", void 0);
|
|
227
|
-
__decorate([
|
|
228
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
229
|
-
__metadata("design:type", Object)
|
|
230
|
-
], ProfileUpdateRequests.prototype, "job_title", void 0);
|
|
231
|
-
__decorate([
|
|
232
|
-
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
233
|
-
__metadata("design:type", Object)
|
|
234
|
-
], ProfileUpdateRequests.prototype, "date_of_decree_issuance", void 0);
|
|
235
|
-
__decorate([
|
|
236
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
237
|
-
__metadata("design:type", Object)
|
|
238
|
-
], ProfileUpdateRequests.prototype, "civil_service_number", void 0);
|
|
239
|
-
__decorate([
|
|
240
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
241
|
-
__metadata("design:type", Object)
|
|
242
|
-
], ProfileUpdateRequests.prototype, "information_number", void 0);
|
|
243
|
-
__decorate([
|
|
244
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
245
|
-
__metadata("design:type", Object)
|
|
246
|
-
], ProfileUpdateRequests.prototype, "manpower_number", void 0);
|
|
247
|
-
__decorate([
|
|
248
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
249
|
-
__metadata("design:type", Object)
|
|
250
|
-
], ProfileUpdateRequests.prototype, "computer_number", void 0);
|
|
251
|
-
__decorate([
|
|
252
|
-
(0, typeorm_1.Column)({ type: 'boolean', nullable: true }),
|
|
253
|
-
__metadata("design:type", Object)
|
|
254
|
-
], ProfileUpdateRequests.prototype, "contract_employee", void 0);
|
|
255
|
-
__decorate([
|
|
256
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
257
|
-
__metadata("design:type", Object)
|
|
258
|
-
], ProfileUpdateRequests.prototype, "nature_of_work", void 0);
|
|
259
|
-
__decorate([
|
|
260
|
-
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
261
|
-
__metadata("design:type", Object)
|
|
262
|
-
], ProfileUpdateRequests.prototype, "retirement_date", void 0);
|
|
263
|
-
__decorate([
|
|
264
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
265
|
-
__metadata("design:type", Object)
|
|
266
|
-
], ProfileUpdateRequests.prototype, "proposed_position", void 0);
|
|
267
|
-
__decorate([
|
|
268
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
269
|
-
__metadata("design:type", Object)
|
|
270
|
-
], ProfileUpdateRequests.prototype, "proposed_financial_grade", void 0);
|
|
271
|
-
__decorate([
|
|
272
|
-
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
273
|
-
__metadata("design:type", Object)
|
|
274
|
-
], ProfileUpdateRequests.prototype, "secondment_start_date", void 0);
|
|
275
|
-
__decorate([
|
|
276
|
-
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
277
|
-
__metadata("design:type", Object)
|
|
278
|
-
], ProfileUpdateRequests.prototype, "secondment_end_date", void 0);
|
|
279
|
-
__decorate([
|
|
280
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
281
|
-
__metadata("design:type", Object)
|
|
282
|
-
], ProfileUpdateRequests.prototype, "disability_type", void 0);
|
|
283
|
-
__decorate([
|
|
284
|
-
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
285
|
-
__metadata("design:type", Object)
|
|
286
|
-
], ProfileUpdateRequests.prototype, "retirement_start_date", void 0);
|
|
287
|
-
__decorate([
|
|
288
|
-
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
289
|
-
__metadata("design:type", Object)
|
|
290
|
-
], ProfileUpdateRequests.prototype, "contract_end_date", void 0);
|
|
291
|
-
__decorate([
|
|
292
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
293
|
-
__metadata("design:type", Object)
|
|
294
|
-
], ProfileUpdateRequests.prototype, "job_type_group", void 0);
|
|
295
|
-
__decorate([
|
|
296
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
297
|
-
__metadata("design:type", Object)
|
|
298
|
-
], ProfileUpdateRequests.prototype, "entity_transferred_from", void 0);
|
|
299
|
-
__decorate([
|
|
300
|
-
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
301
|
-
__metadata("design:type", Object)
|
|
302
|
-
], ProfileUpdateRequests.prototype, "date_of_transfer", void 0);
|
|
303
|
-
__decorate([
|
|
304
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
305
|
-
__metadata("design:type", Object)
|
|
306
|
-
], ProfileUpdateRequests.prototype, "entity_transferred_to", void 0);
|
|
307
|
-
__decorate([
|
|
308
|
-
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
309
|
-
__metadata("design:type", Object)
|
|
310
|
-
], ProfileUpdateRequests.prototype, "date_of_transfer_to", void 0);
|
|
311
|
-
__decorate([
|
|
312
|
-
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
313
|
-
__metadata("design:type", Object)
|
|
314
|
-
], ProfileUpdateRequests.prototype, "job_description", void 0);
|
|
315
|
-
__decorate([
|
|
316
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
317
|
-
__metadata("design:type", Object)
|
|
318
|
-
], ProfileUpdateRequests.prototype, "country_appointment", void 0);
|
|
319
|
-
__decorate([
|
|
320
|
-
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
321
|
-
__metadata("design:type", Object)
|
|
322
|
-
], ProfileUpdateRequests.prototype, "date_of_appointment", void 0);
|
|
323
|
-
__decorate([
|
|
324
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
325
|
-
__metadata("design:type", Object)
|
|
326
|
-
], ProfileUpdateRequests.prototype, "appointment_grade", void 0);
|
|
327
|
-
__decorate([
|
|
328
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
329
|
-
__metadata("design:type", Object)
|
|
330
|
-
], ProfileUpdateRequests.prototype, "type_of_appointment", void 0);
|
|
331
|
-
__decorate([
|
|
332
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
333
|
-
__metadata("design:type", Object)
|
|
334
|
-
], ProfileUpdateRequests.prototype, "unit_code", void 0);
|
|
335
|
-
__decorate([
|
|
336
|
-
(0, typeorm_1.Column)({ type: 'boolean', nullable: true }),
|
|
337
|
-
__metadata("design:type", Object)
|
|
338
|
-
], ProfileUpdateRequests.prototype, "mc_work", void 0);
|
|
339
|
-
__decorate([
|
|
340
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
341
|
-
__metadata("design:type", Object)
|
|
342
|
-
], ProfileUpdateRequests.prototype, "office", void 0);
|
|
343
|
-
__decorate([
|
|
344
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
345
|
-
__metadata("design:type", Object)
|
|
346
|
-
], ProfileUpdateRequests.prototype, "governorate_name", void 0);
|
|
347
|
-
__decorate([
|
|
348
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
349
|
-
__metadata("design:type", Object)
|
|
350
|
-
], ProfileUpdateRequests.prototype, "department", void 0);
|
|
351
|
-
__decorate([
|
|
352
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
353
|
-
__metadata("design:type", Object)
|
|
354
|
-
], ProfileUpdateRequests.prototype, "works_in_department", void 0);
|
|
355
|
-
__decorate([
|
|
356
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
357
|
-
__metadata("design:type", Object)
|
|
358
|
-
], ProfileUpdateRequests.prototype, "full_name_of_mission", void 0);
|
|
359
|
-
__decorate([
|
|
360
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
361
|
-
__metadata("design:type", Object)
|
|
362
|
-
], ProfileUpdateRequests.prototype, "mission", void 0);
|
|
363
|
-
__decorate([
|
|
364
|
-
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
365
|
-
__metadata("design:type", Object)
|
|
366
|
-
], ProfileUpdateRequests.prototype, "description_of_mission", void 0);
|
|
367
|
-
__decorate([
|
|
368
|
-
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
369
|
-
__metadata("design:type", Object)
|
|
370
|
-
], ProfileUpdateRequests.prototype, "date_of_last_transfer_to_mission", void 0);
|
|
371
|
-
__decorate([
|
|
372
|
-
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
373
|
-
__metadata("design:type", Object)
|
|
374
|
-
], ProfileUpdateRequests.prototype, "date_of_last_transfer_from_mission", void 0);
|
|
375
|
-
__decorate([
|
|
376
|
-
(0, typeorm_1.Column)({ type: 'boolean', nullable: true }),
|
|
377
|
-
__metadata("design:type", Object)
|
|
378
|
-
], ProfileUpdateRequests.prototype, "diplomat", void 0);
|
|
379
|
-
__decorate([
|
|
380
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
381
|
-
__metadata("design:type", Object)
|
|
382
|
-
], ProfileUpdateRequests.prototype, "efficiency_rating_for_the_year_month", void 0);
|
|
383
|
-
__decorate([
|
|
384
|
-
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
385
|
-
__metadata("design:type", Object)
|
|
386
|
-
], ProfileUpdateRequests.prototype, "retirement_termination_of_service_date", void 0);
|
|
387
|
-
__decorate([
|
|
388
|
-
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
389
|
-
__metadata("design:type", Object)
|
|
390
|
-
], ProfileUpdateRequests.prototype, "reason_for_leaving_service", void 0);
|
|
391
|
-
__decorate([
|
|
392
|
-
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
393
|
-
__metadata("design:type", Object)
|
|
394
|
-
], ProfileUpdateRequests.prototype, "study_start_date", void 0);
|
|
395
|
-
__decorate([
|
|
396
|
-
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
397
|
-
__metadata("design:type", Object)
|
|
398
|
-
], ProfileUpdateRequests.prototype, "study_end_date", void 0);
|
|
399
|
-
__decorate([
|
|
400
|
-
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
401
|
-
__metadata("design:type", Object)
|
|
402
|
-
], ProfileUpdateRequests.prototype, "training_course_start_date", void 0);
|
|
403
|
-
__decorate([
|
|
404
|
-
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
405
|
-
__metadata("design:type", Object)
|
|
406
|
-
], ProfileUpdateRequests.prototype, "training_course_end_date", void 0);
|
|
407
|
-
exports.ProfileUpdateRequests = ProfileUpdateRequests = __decorate([
|
|
408
|
-
(0, typeorm_1.Entity)({ name: 'user_profile_update_requests' })
|
|
409
|
-
], ProfileUpdateRequests);
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { BaseModel } from './BaseModel';
|
|
2
|
-
export declare class StationeryMaterialMaster extends BaseModel {
|
|
3
|
-
material_type: string;
|
|
4
|
-
material_name: string;
|
|
5
|
-
material_code: string | null;
|
|
6
|
-
description: string | null;
|
|
7
|
-
unit_of_measure: string | null;
|
|
8
|
-
is_active: boolean;
|
|
9
|
-
display_order: number;
|
|
10
|
-
constructor(material_type: string, material_name: string);
|
|
11
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
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.StationeryMaterialMaster = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const BaseModel_1 = require("./BaseModel");
|
|
15
|
-
let StationeryMaterialMaster = class StationeryMaterialMaster extends BaseModel_1.BaseModel {
|
|
16
|
-
constructor(material_type, material_name) {
|
|
17
|
-
super();
|
|
18
|
-
this.material_type = material_type;
|
|
19
|
-
this.material_name = material_name;
|
|
20
|
-
this.is_active = true;
|
|
21
|
-
this.display_order = 0;
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
exports.StationeryMaterialMaster = StationeryMaterialMaster;
|
|
25
|
-
__decorate([
|
|
26
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: false }),
|
|
27
|
-
__metadata("design:type", String)
|
|
28
|
-
], StationeryMaterialMaster.prototype, "material_type", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: false }),
|
|
31
|
-
__metadata("design:type", String)
|
|
32
|
-
], StationeryMaterialMaster.prototype, "material_name", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
35
|
-
__metadata("design:type", Object)
|
|
36
|
-
], StationeryMaterialMaster.prototype, "material_code", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
39
|
-
__metadata("design:type", Object)
|
|
40
|
-
], StationeryMaterialMaster.prototype, "description", void 0);
|
|
41
|
-
__decorate([
|
|
42
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
43
|
-
__metadata("design:type", Object)
|
|
44
|
-
], StationeryMaterialMaster.prototype, "unit_of_measure", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
(0, typeorm_1.Column)({ type: 'boolean', default: true }),
|
|
47
|
-
__metadata("design:type", Boolean)
|
|
48
|
-
], StationeryMaterialMaster.prototype, "is_active", void 0);
|
|
49
|
-
__decorate([
|
|
50
|
-
(0, typeorm_1.Column)({ type: 'int', default: 0 }),
|
|
51
|
-
__metadata("design:type", Number)
|
|
52
|
-
], StationeryMaterialMaster.prototype, "display_order", void 0);
|
|
53
|
-
exports.StationeryMaterialMaster = StationeryMaterialMaster = __decorate([
|
|
54
|
-
(0, typeorm_1.Entity)({ name: 'stationery_material_master' }),
|
|
55
|
-
__metadata("design:paramtypes", [String, String])
|
|
56
|
-
], StationeryMaterialMaster);
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { BaseModel } from './BaseModel';
|
|
2
|
-
export declare enum StationeryRequestStatus {
|
|
3
|
-
PENDING = "Pending",
|
|
4
|
-
ASSIGNED = "Assigned",
|
|
5
|
-
IN_PROGRESS = "In Progress",
|
|
6
|
-
APPROVED = "Approved",
|
|
7
|
-
REJECTED = "Rejected",
|
|
8
|
-
COMPLETED = "Completed"
|
|
9
|
-
}
|
|
10
|
-
export declare class StationeryRequests extends BaseModel {
|
|
11
|
-
req_user_department_id: number | null;
|
|
12
|
-
req_user_section_id: number | null;
|
|
13
|
-
service_id: number | null;
|
|
14
|
-
sub_service_id: number | null;
|
|
15
|
-
user_id: number;
|
|
16
|
-
date_of_request_preparation: Date;
|
|
17
|
-
office: string;
|
|
18
|
-
material_type: string;
|
|
19
|
-
material_name: string;
|
|
20
|
-
quantity_required: number;
|
|
21
|
-
comments: string | null;
|
|
22
|
-
status: StationeryRequestStatus;
|
|
23
|
-
workflow_execution_id: string | null;
|
|
24
|
-
stock_available: boolean | null;
|
|
25
|
-
po_number: string | null;
|
|
26
|
-
stock_available_date: Date | null;
|
|
27
|
-
}
|
|
@@ -1,93 +0,0 @@
|
|
|
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.StationeryRequests = exports.StationeryRequestStatus = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const BaseModel_1 = require("./BaseModel");
|
|
15
|
-
var StationeryRequestStatus;
|
|
16
|
-
(function (StationeryRequestStatus) {
|
|
17
|
-
StationeryRequestStatus["PENDING"] = "Pending";
|
|
18
|
-
StationeryRequestStatus["ASSIGNED"] = "Assigned";
|
|
19
|
-
StationeryRequestStatus["IN_PROGRESS"] = "In Progress";
|
|
20
|
-
StationeryRequestStatus["APPROVED"] = "Approved";
|
|
21
|
-
StationeryRequestStatus["REJECTED"] = "Rejected";
|
|
22
|
-
StationeryRequestStatus["COMPLETED"] = "Completed";
|
|
23
|
-
})(StationeryRequestStatus || (exports.StationeryRequestStatus = StationeryRequestStatus = {}));
|
|
24
|
-
let StationeryRequests = class StationeryRequests extends BaseModel_1.BaseModel {
|
|
25
|
-
};
|
|
26
|
-
exports.StationeryRequests = StationeryRequests;
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
29
|
-
__metadata("design:type", Object)
|
|
30
|
-
], StationeryRequests.prototype, "req_user_department_id", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
33
|
-
__metadata("design:type", Object)
|
|
34
|
-
], StationeryRequests.prototype, "req_user_section_id", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
37
|
-
__metadata("design:type", Object)
|
|
38
|
-
], StationeryRequests.prototype, "service_id", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
41
|
-
__metadata("design:type", Object)
|
|
42
|
-
], StationeryRequests.prototype, "sub_service_id", void 0);
|
|
43
|
-
__decorate([
|
|
44
|
-
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
45
|
-
__metadata("design:type", Number)
|
|
46
|
-
], StationeryRequests.prototype, "user_id", void 0);
|
|
47
|
-
__decorate([
|
|
48
|
-
(0, typeorm_1.Column)({ type: 'date', nullable: false }),
|
|
49
|
-
__metadata("design:type", Date)
|
|
50
|
-
], StationeryRequests.prototype, "date_of_request_preparation", void 0);
|
|
51
|
-
__decorate([
|
|
52
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: false }),
|
|
53
|
-
__metadata("design:type", String)
|
|
54
|
-
], StationeryRequests.prototype, "office", void 0);
|
|
55
|
-
__decorate([
|
|
56
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: false }),
|
|
57
|
-
__metadata("design:type", String)
|
|
58
|
-
], StationeryRequests.prototype, "material_type", void 0);
|
|
59
|
-
__decorate([
|
|
60
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: false }),
|
|
61
|
-
__metadata("design:type", String)
|
|
62
|
-
], StationeryRequests.prototype, "material_name", void 0);
|
|
63
|
-
__decorate([
|
|
64
|
-
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
65
|
-
__metadata("design:type", Number)
|
|
66
|
-
], StationeryRequests.prototype, "quantity_required", void 0);
|
|
67
|
-
__decorate([
|
|
68
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: true }),
|
|
69
|
-
__metadata("design:type", Object)
|
|
70
|
-
], StationeryRequests.prototype, "comments", void 0);
|
|
71
|
-
__decorate([
|
|
72
|
-
(0, typeorm_1.Column)({ type: 'enum', enum: StationeryRequestStatus, default: StationeryRequestStatus.PENDING, nullable: false }),
|
|
73
|
-
__metadata("design:type", String)
|
|
74
|
-
], StationeryRequests.prototype, "status", void 0);
|
|
75
|
-
__decorate([
|
|
76
|
-
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
77
|
-
__metadata("design:type", Object)
|
|
78
|
-
], StationeryRequests.prototype, "workflow_execution_id", void 0);
|
|
79
|
-
__decorate([
|
|
80
|
-
(0, typeorm_1.Column)({ type: 'boolean', default: false, nullable: true }),
|
|
81
|
-
__metadata("design:type", Object)
|
|
82
|
-
], StationeryRequests.prototype, "stock_available", void 0);
|
|
83
|
-
__decorate([
|
|
84
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
85
|
-
__metadata("design:type", Object)
|
|
86
|
-
], StationeryRequests.prototype, "po_number", void 0);
|
|
87
|
-
__decorate([
|
|
88
|
-
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
89
|
-
__metadata("design:type", Object)
|
|
90
|
-
], StationeryRequests.prototype, "stock_available_date", void 0);
|
|
91
|
-
exports.StationeryRequests = StationeryRequests = __decorate([
|
|
92
|
-
(0, typeorm_1.Entity)({ name: 'stationery_requests' })
|
|
93
|
-
], StationeryRequests);
|
|
@@ -1,39 +0,0 @@
|
|
|
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.StayAfterHoursBalance = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const BaseModel_1 = require("./BaseModel");
|
|
15
|
-
let StayAfterHoursBalance = class StayAfterHoursBalance extends BaseModel_1.BaseModel {
|
|
16
|
-
constructor(user_id, balance, total_balance) {
|
|
17
|
-
super();
|
|
18
|
-
this.user_id = user_id;
|
|
19
|
-
this.balance = balance;
|
|
20
|
-
this.total_balance = total_balance;
|
|
21
|
-
}
|
|
22
|
-
};
|
|
23
|
-
exports.StayAfterHoursBalance = StayAfterHoursBalance;
|
|
24
|
-
__decorate([
|
|
25
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
26
|
-
__metadata("design:type", String)
|
|
27
|
-
], StayAfterHoursBalance.prototype, "user_id", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
30
|
-
__metadata("design:type", Number)
|
|
31
|
-
], StayAfterHoursBalance.prototype, "balance", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
34
|
-
__metadata("design:type", Number)
|
|
35
|
-
], StayAfterHoursBalance.prototype, "total_balance", void 0);
|
|
36
|
-
exports.StayAfterHoursBalance = StayAfterHoursBalance = __decorate([
|
|
37
|
-
(0, typeorm_1.Entity)({ name: 'stay_after_hours_balance' }),
|
|
38
|
-
__metadata("design:paramtypes", [String, Number, Number])
|
|
39
|
-
], StayAfterHoursBalance);
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { BaseModel } from './BaseModel';
|
|
2
|
-
export declare enum StayAfterHoursTransactionStatus {
|
|
3
|
-
GRANTED = "GRANTED",
|
|
4
|
-
TAKEN = "TAKEN",
|
|
5
|
-
ADJUSTMENT = "ADJUSTMENT",
|
|
6
|
-
CARRY_FORWARD = "CARRY_FORWARD",
|
|
7
|
-
ENCASHMENT = "ENCASHMENT",
|
|
8
|
-
AVAILED = "AVAILED",
|
|
9
|
-
ELAPSED = "ELAPSED"
|
|
10
|
-
}
|
|
11
|
-
export declare class StayAfterHoursTransaction extends BaseModel {
|
|
12
|
-
user_id: number;
|
|
13
|
-
hours_count: string;
|
|
14
|
-
from_date: Date;
|
|
15
|
-
to_date: Date;
|
|
16
|
-
year: number;
|
|
17
|
-
status: StayAfterHoursTransactionStatus;
|
|
18
|
-
constructor(user_id: number, hours_count: string, from_date: Date, to_date: Date, year: number, status: StayAfterHoursTransactionStatus);
|
|
19
|
-
}
|