@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,90 +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.LeaveConfiguration = exports.enumFrequency = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const BaseModel_1 = require("./BaseModel");
|
|
15
|
-
var enumFrequency;
|
|
16
|
-
(function (enumFrequency) {
|
|
17
|
-
enumFrequency["Monthly"] = "Monthly";
|
|
18
|
-
enumFrequency["Yearly"] = "Yearly";
|
|
19
|
-
})(enumFrequency || (exports.enumFrequency = enumFrequency = {}));
|
|
20
|
-
//This model is used to store the Financial Grade declaration on the Admin Side
|
|
21
|
-
let LeaveConfiguration = class LeaveConfiguration extends BaseModel_1.BaseModel {
|
|
22
|
-
constructor(category, MandC_id, leave_type_id, frequency, region, country, location, is_carryforward, carryforward_limit, from_date, to_date, reason) {
|
|
23
|
-
super();
|
|
24
|
-
this.category = category;
|
|
25
|
-
this.MandC_id = MandC_id;
|
|
26
|
-
this.leave_type_id = leave_type_id;
|
|
27
|
-
this.frequency = frequency;
|
|
28
|
-
this.region = region;
|
|
29
|
-
this.country = country;
|
|
30
|
-
this.location = location;
|
|
31
|
-
this.is_carryforward = is_carryforward;
|
|
32
|
-
this.carryforward_limit = carryforward_limit;
|
|
33
|
-
this.from_date = from_date;
|
|
34
|
-
this.to_date = to_date;
|
|
35
|
-
this.reason = reason;
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
exports.LeaveConfiguration = LeaveConfiguration;
|
|
39
|
-
__decorate([
|
|
40
|
-
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
41
|
-
__metadata("design:type", String)
|
|
42
|
-
], LeaveConfiguration.prototype, "category", void 0);
|
|
43
|
-
__decorate([
|
|
44
|
-
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
45
|
-
__metadata("design:type", Number)
|
|
46
|
-
], LeaveConfiguration.prototype, "MandC_id", void 0);
|
|
47
|
-
__decorate([
|
|
48
|
-
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
49
|
-
__metadata("design:type", Number)
|
|
50
|
-
], LeaveConfiguration.prototype, "leave_type_id", void 0);
|
|
51
|
-
__decorate([
|
|
52
|
-
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
53
|
-
__metadata("design:type", String)
|
|
54
|
-
], LeaveConfiguration.prototype, "frequency", void 0);
|
|
55
|
-
__decorate([
|
|
56
|
-
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
57
|
-
__metadata("design:type", String)
|
|
58
|
-
], LeaveConfiguration.prototype, "region", void 0);
|
|
59
|
-
__decorate([
|
|
60
|
-
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
61
|
-
__metadata("design:type", String)
|
|
62
|
-
], LeaveConfiguration.prototype, "country", void 0);
|
|
63
|
-
__decorate([
|
|
64
|
-
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
65
|
-
__metadata("design:type", String)
|
|
66
|
-
], LeaveConfiguration.prototype, "location", void 0);
|
|
67
|
-
__decorate([
|
|
68
|
-
(0, typeorm_1.Column)({ nullable: true, default: false }),
|
|
69
|
-
__metadata("design:type", Boolean)
|
|
70
|
-
], LeaveConfiguration.prototype, "is_carryforward", void 0);
|
|
71
|
-
__decorate([
|
|
72
|
-
(0, typeorm_1.Column)({ type: 'int', nullable: true, default: 0 }),
|
|
73
|
-
__metadata("design:type", Number)
|
|
74
|
-
], LeaveConfiguration.prototype, "carryforward_limit", void 0);
|
|
75
|
-
__decorate([
|
|
76
|
-
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
77
|
-
__metadata("design:type", Date)
|
|
78
|
-
], LeaveConfiguration.prototype, "from_date", void 0);
|
|
79
|
-
__decorate([
|
|
80
|
-
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
81
|
-
__metadata("design:type", Date)
|
|
82
|
-
], LeaveConfiguration.prototype, "to_date", void 0);
|
|
83
|
-
__decorate([
|
|
84
|
-
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
85
|
-
__metadata("design:type", String)
|
|
86
|
-
], LeaveConfiguration.prototype, "reason", void 0);
|
|
87
|
-
exports.LeaveConfiguration = LeaveConfiguration = __decorate([
|
|
88
|
-
(0, typeorm_1.Entity)({ name: 'leave_configuration' }),
|
|
89
|
-
__metadata("design:paramtypes", [String, Number, Number, String, String, String, String, Boolean, Number, Date, Date, String])
|
|
90
|
-
], LeaveConfiguration);
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { BaseModel } from './BaseModel';
|
|
2
|
-
export declare enum LeaveTransactionStatus {
|
|
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 LeaveTransaction extends BaseModel {
|
|
12
|
-
user_id: number;
|
|
13
|
-
leave_type_id: number;
|
|
14
|
-
leave_count: number;
|
|
15
|
-
from_date: Date;
|
|
16
|
-
to_date: Date;
|
|
17
|
-
year: number;
|
|
18
|
-
status: LeaveTransactionStatus;
|
|
19
|
-
constructor(user_id: number, leave_type_id: number, leave_count: number, from_date: Date, to_date: Date, year: number, status: LeaveTransactionStatus);
|
|
20
|
-
}
|
|
@@ -1,71 +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.LeaveTransaction = exports.LeaveTransactionStatus = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const BaseModel_1 = require("./BaseModel");
|
|
15
|
-
var LeaveTransactionStatus;
|
|
16
|
-
(function (LeaveTransactionStatus) {
|
|
17
|
-
LeaveTransactionStatus["GRANTED"] = "GRANTED";
|
|
18
|
-
LeaveTransactionStatus["TAKEN"] = "TAKEN";
|
|
19
|
-
LeaveTransactionStatus["ADJUSTMENT"] = "ADJUSTMENT";
|
|
20
|
-
LeaveTransactionStatus["CARRY_FORWARD"] = "CARRY_FORWARD";
|
|
21
|
-
LeaveTransactionStatus["ENCASHMENT"] = "ENCASHMENT";
|
|
22
|
-
LeaveTransactionStatus["AVAILED"] = "AVAILED";
|
|
23
|
-
LeaveTransactionStatus["ELAPSED"] = "ELAPSED";
|
|
24
|
-
})(LeaveTransactionStatus || (exports.LeaveTransactionStatus = LeaveTransactionStatus = {}));
|
|
25
|
-
//This model is used to store leave transactions for users
|
|
26
|
-
let LeaveTransaction = class LeaveTransaction extends BaseModel_1.BaseModel {
|
|
27
|
-
constructor(user_id, leave_type_id, leave_count, from_date, to_date, year, status) {
|
|
28
|
-
super();
|
|
29
|
-
this.user_id = user_id;
|
|
30
|
-
this.leave_type_id = leave_type_id;
|
|
31
|
-
this.leave_count = leave_count;
|
|
32
|
-
this.from_date = from_date;
|
|
33
|
-
this.to_date = to_date;
|
|
34
|
-
this.year = year;
|
|
35
|
-
this.status = status;
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
exports.LeaveTransaction = LeaveTransaction;
|
|
39
|
-
__decorate([
|
|
40
|
-
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
41
|
-
__metadata("design:type", Number)
|
|
42
|
-
], LeaveTransaction.prototype, "user_id", void 0);
|
|
43
|
-
__decorate([
|
|
44
|
-
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
45
|
-
__metadata("design:type", Number)
|
|
46
|
-
], LeaveTransaction.prototype, "leave_type_id", void 0);
|
|
47
|
-
__decorate([
|
|
48
|
-
(0, typeorm_1.Column)({ type: 'decimal', precision: 10, scale: 2, nullable: true }),
|
|
49
|
-
__metadata("design:type", Number)
|
|
50
|
-
], LeaveTransaction.prototype, "leave_count", void 0);
|
|
51
|
-
__decorate([
|
|
52
|
-
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
53
|
-
__metadata("design:type", Date)
|
|
54
|
-
], LeaveTransaction.prototype, "from_date", void 0);
|
|
55
|
-
__decorate([
|
|
56
|
-
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
57
|
-
__metadata("design:type", Date)
|
|
58
|
-
], LeaveTransaction.prototype, "to_date", void 0);
|
|
59
|
-
__decorate([
|
|
60
|
-
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
61
|
-
__metadata("design:type", Number)
|
|
62
|
-
], LeaveTransaction.prototype, "year", void 0);
|
|
63
|
-
__decorate([
|
|
64
|
-
(0, typeorm_1.Column)({ type: 'varchar', nullable: false }),
|
|
65
|
-
__metadata("design:type", String)
|
|
66
|
-
], LeaveTransaction.prototype, "status", void 0);
|
|
67
|
-
exports.LeaveTransaction = LeaveTransaction = __decorate([
|
|
68
|
-
(0, typeorm_1.Entity)({ name: 'leave_transactions' }),
|
|
69
|
-
__metadata("design:paramtypes", [Number, Number, Number, Date,
|
|
70
|
-
Date, Number, String])
|
|
71
|
-
], LeaveTransaction);
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BaseModel } from './BaseModel';
|
|
2
|
-
export declare class MandCMaster extends BaseModel {
|
|
3
|
-
name: string;
|
|
4
|
-
name_in_arabic: string;
|
|
5
|
-
region: string;
|
|
6
|
-
country: string;
|
|
7
|
-
location: string;
|
|
8
|
-
constructor(name: string, name_in_arabic: string, region: string, country: string, location: string);
|
|
9
|
-
}
|
|
@@ -1,49 +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.MandCMaster = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const BaseModel_1 = require("./BaseModel");
|
|
15
|
-
let MandCMaster = class MandCMaster extends BaseModel_1.BaseModel {
|
|
16
|
-
constructor(name, name_in_arabic, region, country, location) {
|
|
17
|
-
super();
|
|
18
|
-
this.name = name;
|
|
19
|
-
this.name_in_arabic = name_in_arabic;
|
|
20
|
-
this.region = region;
|
|
21
|
-
this.country = country;
|
|
22
|
-
this.location = location;
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
exports.MandCMaster = MandCMaster;
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
28
|
-
__metadata("design:type", String)
|
|
29
|
-
], MandCMaster.prototype, "name", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
32
|
-
__metadata("design:type", String)
|
|
33
|
-
], MandCMaster.prototype, "name_in_arabic", void 0);
|
|
34
|
-
__decorate([
|
|
35
|
-
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
36
|
-
__metadata("design:type", String)
|
|
37
|
-
], MandCMaster.prototype, "region", void 0);
|
|
38
|
-
__decorate([
|
|
39
|
-
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
40
|
-
__metadata("design:type", String)
|
|
41
|
-
], MandCMaster.prototype, "country", void 0);
|
|
42
|
-
__decorate([
|
|
43
|
-
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
44
|
-
__metadata("design:type", String)
|
|
45
|
-
], MandCMaster.prototype, "location", void 0);
|
|
46
|
-
exports.MandCMaster = MandCMaster = __decorate([
|
|
47
|
-
(0, typeorm_1.Entity)({ name: 'M&C_names' }),
|
|
48
|
-
__metadata("design:paramtypes", [String, String, String, String, String])
|
|
49
|
-
], MandCMaster);
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { BaseModel } from './BaseModel';
|
|
2
|
-
export declare class NationalityMaster extends BaseModel {
|
|
3
|
-
nationality_name: string;
|
|
4
|
-
nationality_name_arabic: string | null;
|
|
5
|
-
country_code: string | null;
|
|
6
|
-
description: string | null;
|
|
7
|
-
is_active: boolean;
|
|
8
|
-
display_order: number;
|
|
9
|
-
constructor(nationality_name: string);
|
|
10
|
-
}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { BaseModel } from './BaseModel';
|
|
2
|
-
export declare enum ProfileUpdateRequestStatus {
|
|
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 ProfileUpdateRequests 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
|
-
status: ProfileUpdateRequestStatus;
|
|
17
|
-
workflow_execution_id: string | null;
|
|
18
|
-
employee_type: string | null;
|
|
19
|
-
is_diplomatic: boolean | null;
|
|
20
|
-
assigned_to_department: string | null;
|
|
21
|
-
comments: string | null;
|
|
22
|
-
title: string | null;
|
|
23
|
-
first_name: string | null;
|
|
24
|
-
second_name: string | null;
|
|
25
|
-
third_name: string | null;
|
|
26
|
-
fourth_name: string | null;
|
|
27
|
-
family_name_tribe: string | null;
|
|
28
|
-
previous_name: string | null;
|
|
29
|
-
religion: string | null;
|
|
30
|
-
sect: string | null;
|
|
31
|
-
date_of_birth: Date | null;
|
|
32
|
-
place_of_birth: string | null;
|
|
33
|
-
nationality: string | null;
|
|
34
|
-
gender: string | null;
|
|
35
|
-
marital_status: string | null;
|
|
36
|
-
number_of_dependents: number | null;
|
|
37
|
-
passport_number: string | null;
|
|
38
|
-
passport_type: string | null;
|
|
39
|
-
issue_date: Date | null;
|
|
40
|
-
place_of_issue: string | null;
|
|
41
|
-
expiry_date: Date | null;
|
|
42
|
-
id_card_number: string | null;
|
|
43
|
-
id_card_place_of_issue: string | null;
|
|
44
|
-
id_card_expiry_date: Date | null;
|
|
45
|
-
permanent_address: string | null;
|
|
46
|
-
governorate_wilaya: string | null;
|
|
47
|
-
po_box: string | null;
|
|
48
|
-
zip_code: string | null;
|
|
49
|
-
house_number: string | null;
|
|
50
|
-
railway_number: string | null;
|
|
51
|
-
governorate: string | null;
|
|
52
|
-
wilayat: string | null;
|
|
53
|
-
locality: string | null;
|
|
54
|
-
country: string | null;
|
|
55
|
-
phone_number: string | null;
|
|
56
|
-
fax_number: string | null;
|
|
57
|
-
email: string | null;
|
|
58
|
-
email_address_personal: string | null;
|
|
59
|
-
sheikh_name: string | null;
|
|
60
|
-
photo: string | null;
|
|
61
|
-
job_title: string | null;
|
|
62
|
-
date_of_decree_issuance: Date | null;
|
|
63
|
-
civil_service_number: string | null;
|
|
64
|
-
information_number: string | null;
|
|
65
|
-
manpower_number: string | null;
|
|
66
|
-
computer_number: string | null;
|
|
67
|
-
contract_employee: boolean | null;
|
|
68
|
-
nature_of_work: string | null;
|
|
69
|
-
retirement_date: Date | null;
|
|
70
|
-
proposed_position: string | null;
|
|
71
|
-
proposed_financial_grade: string | null;
|
|
72
|
-
secondment_start_date: Date | null;
|
|
73
|
-
secondment_end_date: Date | null;
|
|
74
|
-
disability_type: string | null;
|
|
75
|
-
retirement_start_date: Date | null;
|
|
76
|
-
contract_end_date: Date | null;
|
|
77
|
-
job_type_group: string | null;
|
|
78
|
-
entity_transferred_from: string | null;
|
|
79
|
-
date_of_transfer: Date | null;
|
|
80
|
-
entity_transferred_to: string | null;
|
|
81
|
-
date_of_transfer_to: Date | null;
|
|
82
|
-
job_description: string | null;
|
|
83
|
-
country_appointment: string | null;
|
|
84
|
-
date_of_appointment: Date | null;
|
|
85
|
-
appointment_grade: string | null;
|
|
86
|
-
type_of_appointment: string | null;
|
|
87
|
-
unit_code: string | null;
|
|
88
|
-
mc_work: boolean | null;
|
|
89
|
-
office: string | null;
|
|
90
|
-
governorate_name: string | null;
|
|
91
|
-
department: string | null;
|
|
92
|
-
works_in_department: string | null;
|
|
93
|
-
full_name_of_mission: string | null;
|
|
94
|
-
mission: string | null;
|
|
95
|
-
description_of_mission: string | null;
|
|
96
|
-
date_of_last_transfer_to_mission: Date | null;
|
|
97
|
-
date_of_last_transfer_from_mission: Date | null;
|
|
98
|
-
diplomat: boolean | null;
|
|
99
|
-
efficiency_rating_for_the_year_month: string | null;
|
|
100
|
-
retirement_termination_of_service_date: Date | null;
|
|
101
|
-
reason_for_leaving_service: string | null;
|
|
102
|
-
study_start_date: Date | null;
|
|
103
|
-
study_end_date: Date | null;
|
|
104
|
-
training_course_start_date: Date | null;
|
|
105
|
-
training_course_end_date: Date | null;
|
|
106
|
-
}
|