@platform-modules/civil-aviation-authority 2.3.215 → 2.3.218

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.
Files changed (93) hide show
  1. package/.env +22 -7
  2. package/dist/index.d.ts +1 -0
  3. package/dist/index.js +1 -0
  4. package/dist/models/DocumentMetadataModel.d.ts +45 -0
  5. package/dist/models/DocumentMetadataModel.js +171 -0
  6. package/dist/models/DocumentationDepartmentsModel.d.ts +13 -0
  7. package/dist/models/DocumentationDepartmentsModel.js +53 -0
  8. package/dist/models/FolderModel.d.ts +16 -0
  9. package/dist/models/FolderModel.js +85 -0
  10. package/dist/models/HumanResourceAnnualPlanningRequestModel.d.ts +1 -14
  11. package/dist/models/HumanResourceAnnualPlanningRequestModel.js +2 -67
  12. package/dist/models/ImportExportMaterialModels.d.ts +92 -0
  13. package/dist/models/ImportExportMaterialModels.js +307 -0
  14. package/dist/models/PermissionModel.d.ts +18 -0
  15. package/dist/models/PermissionModel.js +68 -0
  16. package/dist/models/SecurityAccessApprovalModel.d.ts +23 -0
  17. package/dist/models/SecurityAccessApprovalModel.js +82 -0
  18. package/dist/models/SecurityAccessAttachmentModel.d.ts +12 -0
  19. package/dist/models/SecurityAccessAttachmentModel.js +56 -0
  20. package/dist/models/SecurityAccessChatModel.d.ts +12 -0
  21. package/dist/models/SecurityAccessChatModel.js +56 -0
  22. package/dist/models/SecurityAccessRequestModel.d.ts +25 -0
  23. package/dist/models/SecurityAccessRequestModel.js +80 -0
  24. package/dist/models/SecurityAccessWorkflowModel.d.ts +24 -0
  25. package/dist/models/SecurityAccessWorkflowModel.js +84 -0
  26. package/dist/models/ServiceExtensionAfterAge60Models.d.ts +93 -0
  27. package/dist/models/ServiceExtensionAfterAge60Models.js +312 -0
  28. package/dist/models/ServiceSlaApprovalModel.js +8 -0
  29. package/dist/models/SlaRequestModel.d.ts +28 -0
  30. package/dist/models/SlaRequestModel.js +84 -0
  31. package/dist/models/UUIDBaseModel.d.ts +14 -0
  32. package/dist/models/UUIDBaseModel.js +66 -0
  33. package/dist/models/WorkingHoursExtensionModels.d.ts +88 -0
  34. package/dist/models/WorkingHoursExtensionModels.js +295 -0
  35. package/package.json +1 -1
  36. package/src/index.ts +464 -463
  37. package/src/models/AccessCardRequestModel.ts +135 -135
  38. package/src/models/AccommodationApprovalModel.ts +8 -8
  39. package/src/models/AccommodationRequestModel.ts +8 -8
  40. package/src/models/AirportEntryPermitModel.ts +276 -276
  41. package/src/models/AnnualIncrementRequestEmployeeModel.ts +65 -65
  42. package/src/models/AnnualIncrementRequestModel.ts +25 -25
  43. package/src/models/AnnualTrainingPlanRequestModel.ts +153 -153
  44. package/src/models/AppealAgainstAdministrativeDecisionRequestModel.ts +23 -23
  45. package/src/models/CAAServices.ts +33 -33
  46. package/src/models/CAASubServices.ts +33 -33
  47. package/src/models/CAIRatingMasterModel.ts +39 -39
  48. package/src/models/CSRMBusinessImpactRatingMasterModel.ts +25 -25
  49. package/src/models/CSRMLikelihoodMasterModel.ts +25 -25
  50. package/src/models/CashAllowanceLeaveRequestModel.ts +11 -11
  51. package/src/models/DepartmentsModel.ts +25 -25
  52. package/src/models/DocumentDriveModel.ts +28 -28
  53. package/src/models/DocumentFolderModel.ts +45 -45
  54. package/src/models/HousingContractCancelApprovalModel.ts +64 -64
  55. package/src/models/HousingContractCancelChatModel.ts +56 -56
  56. package/src/models/HousingContractRenewalApprovalModel.ts +64 -64
  57. package/src/models/HousingContractRenewalChatModel.ts +59 -59
  58. package/src/models/HrServiceRequestModel.ts +193 -193
  59. package/src/models/HumanResourceAnnualPlanningRequestModel.ts +19 -84
  60. package/src/models/ITRequestAttachmentModel.ts +73 -73
  61. package/src/models/ITRequestChatModel.ts +74 -74
  62. package/src/models/ItApprovalsModel.ts +84 -84
  63. package/src/models/ItWorkflowModel.ts +55 -55
  64. package/src/models/LegalConsultationApprovalModel.ts +65 -65
  65. package/src/models/MissionTravelPassportExpiryNotificationConfigModel.ts +36 -36
  66. package/src/models/PerformanceCyclePeriodModel.ts +26 -26
  67. package/src/models/PerformanceGoalMasterModel.ts +27 -27
  68. package/src/models/PerformanceManagementRequestGoalModel.ts +46 -46
  69. package/src/models/PerformanceManagementRequestModel.ts +14 -14
  70. package/src/models/PromotionRequestModel.ts +11 -11
  71. package/src/models/ResidentialUnitRentalApprovalModel.ts +143 -143
  72. package/src/models/ResidentialUnitRentalChatModel.ts +56 -56
  73. package/src/models/ResidentialUnitRentalRequestModel.ts +218 -218
  74. package/src/models/RespondToEnquiriesRequestModel.ts +31 -31
  75. package/src/models/ServiceSlaApprovalModel.ts +52 -44
  76. package/src/models/ServicesNotificationConfigModel.ts +55 -55
  77. package/src/models/SkillsEnhancementRequestModel.ts +17 -17
  78. package/src/models/SlaRequestModel.ts +64 -0
  79. package/src/models/StudyLeaveRequestModel.ts +144 -144
  80. package/src/models/TrainingRequestModel.ts +164 -164
  81. package/src/models/TrainingRoomBookingRequestModel.ts +142 -142
  82. package/src/models/TrainingRoomNotificationConfigModel.ts +30 -30
  83. package/src/models/UserSkillModel.ts +56 -56
  84. package/src/models/role.ts +34 -34
  85. package/src/models/user.ts +233 -233
  86. package/dist/models/ITApprovalSettings.d.ts +0 -7
  87. package/dist/models/ITApprovalSettings.js +0 -40
  88. package/dist/models/ITServicesTypesMuscatModel.d.ts +0 -6
  89. package/dist/models/ITServicesTypesMuscatModel.js +0 -34
  90. package/dist/models/ITServicesTypesSalalahModel.d.ts +0 -6
  91. package/dist/models/ITServicesTypesSalalahModel.js +0 -34
  92. package/dist/models/Workflows.d.ts +0 -9
  93. package/dist/models/Workflows.js +0 -31
@@ -1,56 +1,56 @@
1
- import { Column, Entity } from "typeorm";
2
- import { BaseModel } from "./BaseModel";
3
- import { SkillCategory } from "./SkillsEnhancementRequestModel";
4
-
5
- @Entity({ name: "user_skills" })
6
- export class UserSkill extends BaseModel {
7
- @Column({ type: "integer", nullable: false })
8
- user_id: number;
9
-
10
- @Column({ type: "varchar", length: 255, nullable: false })
11
- skill_name: string;
12
-
13
- @Column({ type: "enum", enum: SkillCategory, nullable: true })
14
- skill_category: SkillCategory | null;
15
-
16
- @Column({ type: "varchar", length: 255, nullable: true })
17
- issuing_authority: string | null;
18
-
19
- @Column({ type: "date", nullable: true })
20
- completion_date: Date | null;
21
-
22
- @Column({ type: "text", nullable: true })
23
- skill_summary: string | null;
24
-
25
- @Column({ type: "integer", nullable: true })
26
- source_request_id: number | null;
27
-
28
- @Column({ type: "varchar", length: 50, nullable: true })
29
- source_request_type: string | null;
30
-
31
- @Column({ type: "boolean", nullable: false, default: true })
32
- is_active: boolean;
33
-
34
- constructor(
35
- user_id: number,
36
- skill_name: string,
37
- skill_category?: SkillCategory | null,
38
- issuing_authority?: string | null,
39
- completion_date?: Date | null,
40
- skill_summary?: string | null,
41
- source_request_id?: number | null,
42
- source_request_type?: string | null,
43
- is_active?: boolean
44
- ) {
45
- super();
46
- this.user_id = user_id;
47
- this.skill_name = skill_name;
48
- this.skill_category = skill_category || null;
49
- this.issuing_authority = issuing_authority || null;
50
- this.completion_date = completion_date || null;
51
- this.skill_summary = skill_summary || null;
52
- this.source_request_id = source_request_id || null;
53
- this.source_request_type = source_request_type || null;
54
- this.is_active = is_active !== undefined ? is_active : true;
55
- }
56
- }
1
+ import { Column, Entity } from "typeorm";
2
+ import { BaseModel } from "./BaseModel";
3
+ import { SkillCategory } from "./SkillsEnhancementRequestModel";
4
+
5
+ @Entity({ name: "user_skills" })
6
+ export class UserSkill extends BaseModel {
7
+ @Column({ type: "integer", nullable: false })
8
+ user_id: number;
9
+
10
+ @Column({ type: "varchar", length: 255, nullable: false })
11
+ skill_name: string;
12
+
13
+ @Column({ type: "enum", enum: SkillCategory, nullable: true })
14
+ skill_category: SkillCategory | null;
15
+
16
+ @Column({ type: "varchar", length: 255, nullable: true })
17
+ issuing_authority: string | null;
18
+
19
+ @Column({ type: "date", nullable: true })
20
+ completion_date: Date | null;
21
+
22
+ @Column({ type: "text", nullable: true })
23
+ skill_summary: string | null;
24
+
25
+ @Column({ type: "integer", nullable: true })
26
+ source_request_id: number | null;
27
+
28
+ @Column({ type: "varchar", length: 50, nullable: true })
29
+ source_request_type: string | null;
30
+
31
+ @Column({ type: "boolean", nullable: false, default: true })
32
+ is_active: boolean;
33
+
34
+ constructor(
35
+ user_id: number,
36
+ skill_name: string,
37
+ skill_category?: SkillCategory | null,
38
+ issuing_authority?: string | null,
39
+ completion_date?: Date | null,
40
+ skill_summary?: string | null,
41
+ source_request_id?: number | null,
42
+ source_request_type?: string | null,
43
+ is_active?: boolean
44
+ ) {
45
+ super();
46
+ this.user_id = user_id;
47
+ this.skill_name = skill_name;
48
+ this.skill_category = skill_category || null;
49
+ this.issuing_authority = issuing_authority || null;
50
+ this.completion_date = completion_date || null;
51
+ this.skill_summary = skill_summary || null;
52
+ this.source_request_id = source_request_id || null;
53
+ this.source_request_type = source_request_type || null;
54
+ this.is_active = is_active !== undefined ? is_active : true;
55
+ }
56
+ }
@@ -1,34 +1,34 @@
1
- /** *
2
- @author
3
- Amnet Digital
4
- @date
5
- 2024-05-20
6
- @Model
7
- Role
8
- @usage
9
- Userrole Information will store
10
- */
11
-
12
- import { Column, Entity } from "typeorm";
13
- import { BaseModel } from './BaseModel';
14
-
15
- @Entity({ name: 'role' })
16
- export class Role extends BaseModel {
17
-
18
- @Column({ nullable: true })
19
- name: string;
20
-
21
- @Column({ type: 'varchar', length: 255, nullable: true })
22
- arabic_name: string | null;
23
-
24
- @Column({ nullable: true })
25
- is_deleted?: boolean;
26
-
27
-
28
- constructor(name: string, is_deleted: boolean, arabic_name: string | null = null) {
29
- super();
30
- this.name = name;
31
- this.is_deleted = is_deleted;
32
- this.arabic_name = arabic_name;
33
- }
34
- }
1
+ /** *
2
+ @author
3
+ Amnet Digital
4
+ @date
5
+ 2024-05-20
6
+ @Model
7
+ Role
8
+ @usage
9
+ Userrole Information will store
10
+ */
11
+
12
+ import { Column, Entity } from "typeorm";
13
+ import { BaseModel } from './BaseModel';
14
+
15
+ @Entity({ name: 'role' })
16
+ export class Role extends BaseModel {
17
+
18
+ @Column({ nullable: true })
19
+ name: string;
20
+
21
+ @Column({ type: 'varchar', length: 255, nullable: true })
22
+ arabic_name: string | null;
23
+
24
+ @Column({ nullable: true })
25
+ is_deleted?: boolean;
26
+
27
+
28
+ constructor(name: string, is_deleted: boolean, arabic_name: string | null = null) {
29
+ super();
30
+ this.name = name;
31
+ this.is_deleted = is_deleted;
32
+ this.arabic_name = arabic_name;
33
+ }
34
+ }
@@ -1,234 +1,234 @@
1
- import { Column, Entity } from "typeorm";
2
- import { BaseModel } from './BaseModel';
3
-
4
- @Entity({ name: 'users' })
5
- export class User extends BaseModel {
6
-
7
- @Column({ type: 'bigint', nullable: true })
8
- employee_id?: number;
9
-
10
- @Column({ type: 'bigint', nullable: true })
11
- civil_employee_id?: number;
12
-
13
- @Column({ nullable: true })
14
- employee_name?: string;
15
-
16
- @Column({ nullable: true })
17
- employee_arabic_name?: string;
18
-
19
- @Column({ nullable: true })
20
- person_type?: string;
21
-
22
- @Column({ nullable: true })
23
- date_of_birth?: string;
24
-
25
- @Column({ nullable: true })
26
- region_of_birth?: string;
27
-
28
- @Column({ nullable: true })
29
- country_of_birth?: string;
30
-
31
- @Column({ nullable: true })
32
- date_of_joining?: string;
33
-
34
- @Column({ nullable: true })
35
- last_promotion_date?: string;
36
-
37
- @Column({ nullable: true })
38
- gender?: string;
39
-
40
- @Column({ nullable: true })
41
- qualification?: string;
42
-
43
- @Column({ nullable: true })
44
- marital_status?: string;
45
-
46
- @Column({ nullable: true })
47
- nationality?: string;
48
-
49
- @Column({ nullable: true })
50
- email?: string;
51
-
52
- @Column({ nullable: true })
53
- blood_type?: string;
54
-
55
- @Column({ type: 'varchar', length: 100, nullable: true })
56
- national_id?: string;
57
-
58
- @Column({ type: 'varchar', length: 100, nullable: true })
59
- manpower_id?: string;
60
-
61
- @Column({ nullable: true })
62
- mobile?: string;
63
-
64
- @Column({ nullable: true })
65
- office_number?: string;
66
-
67
- @Column({ nullable: true })
68
- department?: number;
69
-
70
- @Column({ type: "enum", enum: ["CAA", "Embassy"], nullable: false, default: "CAA" })
71
- category: "CAA" | "Embassy"; // Mandatory
72
-
73
- @Column({ nullable: true })
74
- directorate?: string;
75
-
76
- @Column({ nullable: true })
77
- section?: number;
78
-
79
- @Column({ nullable: true })
80
- position?: number;
81
-
82
- @Column({ nullable: true })
83
- arabic_position?: string;
84
-
85
- @Column({ nullable: true })
86
- grade?: number;
87
-
88
- @Column({ nullable: true })
89
- location?: string;
90
-
91
- @Column({ type: 'bigint', nullable: true })
92
- supervisor_emp_id?: number;
93
-
94
- @Column({ nullable: true })
95
- supervisor_emp_name?: string;
96
-
97
- @Column({ nullable: true , default: false})
98
- is_admin?: boolean;
99
-
100
- @Column({ nullable: true })
101
- passport_number?: string;
102
-
103
- @Column({ nullable: true })
104
- personal_email?: string;
105
-
106
- @Column({ nullable: true })
107
- extension_number?: number;
108
-
109
- @Column({ type: "varchar", length: 20, nullable: true })
110
- fax_number?: string; // Optional
111
-
112
- @Column({ nullable: true })
113
- diplomatic_name?: string;
114
-
115
- @Column({ nullable: true })
116
- avatar?: string;
117
-
118
- @Column({ nullable: true })
119
- father_name?: string;
120
-
121
- @Column({ nullable: true })
122
- spouse_name?: string;
123
-
124
- @Column({ nullable: true })
125
- children1_name?: string;
126
-
127
- @Column({ nullable: true })
128
- children2_name?: string;
129
-
130
- @Column({ nullable: true })
131
- address?: string;
132
-
133
- @Column({ nullable: true })
134
- religion?: string;
135
-
136
- @Column({ type: "decimal", precision: 10, scale: 3, nullable: true })
137
- current_basic_salary: number;
138
-
139
- @Column({ type: "decimal", precision: 10, scale: 3, nullable: true })
140
- previous_basic_salary: number;
141
-
142
- constructor(
143
- employee_id?: number,
144
- civil_employee_id?: number,
145
- employee_name?: string,
146
- employee_arabic_name?: string,
147
- person_type?: string,
148
- date_of_birth?: string,
149
- region_of_birth?: string,
150
- country_of_birth?: string,
151
- date_of_joining?: string,
152
- last_promotion_date?: string,
153
- gender?: string,
154
- qualification?: string,
155
- marital_status?: string,
156
- nationality?: string,
157
- email?: string,
158
- blood_type?: string,
159
- national_id?: string,
160
- manpower_id?: string,
161
- mobile?: string,
162
- office_number?: string,
163
- department?: number,
164
- category?: "CAA" | "Embassy",
165
- directorate?: string,
166
- section?: number,
167
- position?: number,
168
- arabic_position?: string,
169
- grade?: number,
170
- location?: string,
171
- supervisor_emp_id?: number,
172
- supervisor_emp_name?: string,
173
- passport_number?: string,
174
- personal_email?: string,
175
- extension_number?: number,
176
- fax_number?: string,
177
- diplomatic_name?: string,
178
- avatar?: string,
179
- father_name?: string,
180
- spouse_name?: string,
181
- children1_name?: string,
182
- children2_name?: string,
183
- address?: string,
184
- religion?: string,
185
- current_basic_salary?: number,
186
- previous_basic_salary?: number
187
- ) {
188
- super();
189
- this.employee_id = employee_id;
190
- this.civil_employee_id = civil_employee_id;
191
- this.employee_name = employee_name;
192
- this.employee_arabic_name = employee_arabic_name;
193
- this.person_type = person_type;
194
- this.date_of_birth = date_of_birth;
195
- this.region_of_birth = region_of_birth;
196
- this.country_of_birth = country_of_birth;
197
- this.date_of_joining = date_of_joining;
198
- this.last_promotion_date = last_promotion_date;
199
- this.gender = gender;
200
- this.qualification = qualification;
201
- this.marital_status = marital_status;
202
- this.nationality = nationality;
203
- this.email = email;
204
- this.blood_type = blood_type;
205
- this.national_id = national_id;
206
- this.manpower_id = manpower_id;
207
- this.mobile = mobile;
208
- this.office_number = office_number;
209
- this.department = department;
210
- this.category = category || "CAA";
211
- this.directorate = directorate;
212
- this.section = section;
213
- this.position = position;
214
- this.arabic_position = arabic_position;
215
- this.grade = grade;
216
- this.location = location;
217
- this.supervisor_emp_id = supervisor_emp_id;
218
- this.supervisor_emp_name = supervisor_emp_name;
219
- this.passport_number = passport_number;
220
- this.personal_email = personal_email;
221
- this.extension_number = extension_number;
222
- this.fax_number = fax_number;
223
- this.diplomatic_name = diplomatic_name;
224
- this.avatar = avatar;
225
- this.father_name = father_name;
226
- this.spouse_name = spouse_name;
227
- this.children1_name = children1_name;
228
- this.children2_name = children2_name;
229
- this.address = address;
230
- this.religion = religion;
231
- this.current_basic_salary = current_basic_salary || 0;
232
- this.previous_basic_salary = previous_basic_salary || 0;
233
- }
1
+ import { Column, Entity } from "typeorm";
2
+ import { BaseModel } from './BaseModel';
3
+
4
+ @Entity({ name: 'users' })
5
+ export class User extends BaseModel {
6
+
7
+ @Column({ type: 'bigint', nullable: true })
8
+ employee_id?: number;
9
+
10
+ @Column({ type: 'bigint', nullable: true })
11
+ civil_employee_id?: number;
12
+
13
+ @Column({ nullable: true })
14
+ employee_name?: string;
15
+
16
+ @Column({ nullable: true })
17
+ employee_arabic_name?: string;
18
+
19
+ @Column({ nullable: true })
20
+ person_type?: string;
21
+
22
+ @Column({ nullable: true })
23
+ date_of_birth?: string;
24
+
25
+ @Column({ nullable: true })
26
+ region_of_birth?: string;
27
+
28
+ @Column({ nullable: true })
29
+ country_of_birth?: string;
30
+
31
+ @Column({ nullable: true })
32
+ date_of_joining?: string;
33
+
34
+ @Column({ nullable: true })
35
+ last_promotion_date?: string;
36
+
37
+ @Column({ nullable: true })
38
+ gender?: string;
39
+
40
+ @Column({ nullable: true })
41
+ qualification?: string;
42
+
43
+ @Column({ nullable: true })
44
+ marital_status?: string;
45
+
46
+ @Column({ nullable: true })
47
+ nationality?: string;
48
+
49
+ @Column({ nullable: true })
50
+ email?: string;
51
+
52
+ @Column({ nullable: true })
53
+ blood_type?: string;
54
+
55
+ @Column({ type: 'varchar', length: 100, nullable: true })
56
+ national_id?: string;
57
+
58
+ @Column({ type: 'varchar', length: 100, nullable: true })
59
+ manpower_id?: string;
60
+
61
+ @Column({ nullable: true })
62
+ mobile?: string;
63
+
64
+ @Column({ nullable: true })
65
+ office_number?: string;
66
+
67
+ @Column({ nullable: true })
68
+ department?: number;
69
+
70
+ @Column({ type: "enum", enum: ["CAA", "Embassy"], nullable: false, default: "CAA" })
71
+ category: "CAA" | "Embassy"; // Mandatory
72
+
73
+ @Column({ nullable: true })
74
+ directorate?: string;
75
+
76
+ @Column({ nullable: true })
77
+ section?: number;
78
+
79
+ @Column({ nullable: true })
80
+ position?: number;
81
+
82
+ @Column({ nullable: true })
83
+ arabic_position?: string;
84
+
85
+ @Column({ nullable: true })
86
+ grade?: number;
87
+
88
+ @Column({ nullable: true })
89
+ location?: string;
90
+
91
+ @Column({ type: 'bigint', nullable: true })
92
+ supervisor_emp_id?: number;
93
+
94
+ @Column({ nullable: true })
95
+ supervisor_emp_name?: string;
96
+
97
+ @Column({ nullable: true , default: false})
98
+ is_admin?: boolean;
99
+
100
+ @Column({ nullable: true })
101
+ passport_number?: string;
102
+
103
+ @Column({ nullable: true })
104
+ personal_email?: string;
105
+
106
+ @Column({ nullable: true })
107
+ extension_number?: number;
108
+
109
+ @Column({ type: "varchar", length: 20, nullable: true })
110
+ fax_number?: string; // Optional
111
+
112
+ @Column({ nullable: true })
113
+ diplomatic_name?: string;
114
+
115
+ @Column({ nullable: true })
116
+ avatar?: string;
117
+
118
+ @Column({ nullable: true })
119
+ father_name?: string;
120
+
121
+ @Column({ nullable: true })
122
+ spouse_name?: string;
123
+
124
+ @Column({ nullable: true })
125
+ children1_name?: string;
126
+
127
+ @Column({ nullable: true })
128
+ children2_name?: string;
129
+
130
+ @Column({ nullable: true })
131
+ address?: string;
132
+
133
+ @Column({ nullable: true })
134
+ religion?: string;
135
+
136
+ @Column({ type: "decimal", precision: 10, scale: 3, nullable: true })
137
+ current_basic_salary: number;
138
+
139
+ @Column({ type: "decimal", precision: 10, scale: 3, nullable: true })
140
+ previous_basic_salary: number;
141
+
142
+ constructor(
143
+ employee_id?: number,
144
+ civil_employee_id?: number,
145
+ employee_name?: string,
146
+ employee_arabic_name?: string,
147
+ person_type?: string,
148
+ date_of_birth?: string,
149
+ region_of_birth?: string,
150
+ country_of_birth?: string,
151
+ date_of_joining?: string,
152
+ last_promotion_date?: string,
153
+ gender?: string,
154
+ qualification?: string,
155
+ marital_status?: string,
156
+ nationality?: string,
157
+ email?: string,
158
+ blood_type?: string,
159
+ national_id?: string,
160
+ manpower_id?: string,
161
+ mobile?: string,
162
+ office_number?: string,
163
+ department?: number,
164
+ category?: "CAA" | "Embassy",
165
+ directorate?: string,
166
+ section?: number,
167
+ position?: number,
168
+ arabic_position?: string,
169
+ grade?: number,
170
+ location?: string,
171
+ supervisor_emp_id?: number,
172
+ supervisor_emp_name?: string,
173
+ passport_number?: string,
174
+ personal_email?: string,
175
+ extension_number?: number,
176
+ fax_number?: string,
177
+ diplomatic_name?: string,
178
+ avatar?: string,
179
+ father_name?: string,
180
+ spouse_name?: string,
181
+ children1_name?: string,
182
+ children2_name?: string,
183
+ address?: string,
184
+ religion?: string,
185
+ current_basic_salary?: number,
186
+ previous_basic_salary?: number
187
+ ) {
188
+ super();
189
+ this.employee_id = employee_id;
190
+ this.civil_employee_id = civil_employee_id;
191
+ this.employee_name = employee_name;
192
+ this.employee_arabic_name = employee_arabic_name;
193
+ this.person_type = person_type;
194
+ this.date_of_birth = date_of_birth;
195
+ this.region_of_birth = region_of_birth;
196
+ this.country_of_birth = country_of_birth;
197
+ this.date_of_joining = date_of_joining;
198
+ this.last_promotion_date = last_promotion_date;
199
+ this.gender = gender;
200
+ this.qualification = qualification;
201
+ this.marital_status = marital_status;
202
+ this.nationality = nationality;
203
+ this.email = email;
204
+ this.blood_type = blood_type;
205
+ this.national_id = national_id;
206
+ this.manpower_id = manpower_id;
207
+ this.mobile = mobile;
208
+ this.office_number = office_number;
209
+ this.department = department;
210
+ this.category = category || "CAA";
211
+ this.directorate = directorate;
212
+ this.section = section;
213
+ this.position = position;
214
+ this.arabic_position = arabic_position;
215
+ this.grade = grade;
216
+ this.location = location;
217
+ this.supervisor_emp_id = supervisor_emp_id;
218
+ this.supervisor_emp_name = supervisor_emp_name;
219
+ this.passport_number = passport_number;
220
+ this.personal_email = personal_email;
221
+ this.extension_number = extension_number;
222
+ this.fax_number = fax_number;
223
+ this.diplomatic_name = diplomatic_name;
224
+ this.avatar = avatar;
225
+ this.father_name = father_name;
226
+ this.spouse_name = spouse_name;
227
+ this.children1_name = children1_name;
228
+ this.children2_name = children2_name;
229
+ this.address = address;
230
+ this.religion = religion;
231
+ this.current_basic_salary = current_basic_salary || 0;
232
+ this.previous_basic_salary = previous_basic_salary || 0;
233
+ }
234
234
  }
@@ -1,7 +0,0 @@
1
- import { BaseModel } from './BaseModel';
2
- export declare class ITApprovalSettings extends BaseModel {
3
- level: number;
4
- approval_role_id: number;
5
- workflow_id: number;
6
- constructor(level: number, approval_role_id: number, workflow_id: number);
7
- }