@platform-modules/civil-aviation-authority 2.3.171 → 2.3.172

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.
@@ -16,7 +16,7 @@ export declare class User extends BaseModel {
16
16
  nationality?: string;
17
17
  email?: string;
18
18
  blood_type?: string;
19
- national_id?: number;
19
+ national_id?: string;
20
20
  manpower_id?: number;
21
21
  mobile?: string;
22
22
  office_number?: string;
@@ -45,5 +45,5 @@ export declare class User extends BaseModel {
45
45
  religion?: string;
46
46
  current_basic_salary: number;
47
47
  previous_basic_salary: number;
48
- constructor(employee_id?: number, civil_employee_id?: number, employee_name?: string, employee_arabic_name?: string, person_type?: string, date_of_birth?: string, region_of_birth?: string, country_of_birth?: string, date_of_joining?: string, last_promotion_date?: string, gender?: string, qualification?: string, marital_status?: string, nationality?: string, email?: string, blood_type?: string, national_id?: number, manpower_id?: number, mobile?: string, office_number?: string, department?: number, category?: "CAA" | "Embassy", directorate?: string, section?: number, position?: number, arabic_position?: string, grade?: number, location?: string, supervisor_emp_id?: number, supervisor_emp_name?: string, passport_number?: string, personal_email?: string, extension_number?: number, fax_number?: string, diplomatic_name?: string, avatar?: string, father_name?: string, spouse_name?: string, children1_name?: string, children2_name?: string, address?: string, religion?: string, current_basic_salary?: number, previous_basic_salary?: number);
48
+ constructor(employee_id?: number, civil_employee_id?: number, employee_name?: string, employee_arabic_name?: string, person_type?: string, date_of_birth?: string, region_of_birth?: string, country_of_birth?: string, date_of_joining?: string, last_promotion_date?: string, gender?: string, qualification?: string, marital_status?: string, nationality?: string, email?: string, blood_type?: string, national_id?: string, manpower_id?: number, mobile?: string, office_number?: string, department?: number, category?: "CAA" | "Embassy", directorate?: string, section?: number, position?: number, arabic_position?: string, grade?: number, location?: string, supervisor_emp_id?: number, supervisor_emp_name?: string, passport_number?: string, personal_email?: string, extension_number?: number, fax_number?: string, diplomatic_name?: string, avatar?: string, father_name?: string, spouse_name?: string, children1_name?: string, children2_name?: string, address?: string, religion?: string, current_basic_salary?: number, previous_basic_salary?: number);
49
49
  }
@@ -127,8 +127,8 @@ __decorate([
127
127
  __metadata("design:type", String)
128
128
  ], User.prototype, "blood_type", void 0);
129
129
  __decorate([
130
- (0, typeorm_1.Column)({ type: 'bigint', nullable: true }),
131
- __metadata("design:type", Number)
130
+ (0, typeorm_1.Column)({ nullable: true }),
131
+ __metadata("design:type", String)
132
132
  ], User.prototype, "national_id", void 0);
133
133
  __decorate([
134
134
  (0, typeorm_1.Column)({ type: 'bigint', nullable: true }),
@@ -244,5 +244,5 @@ __decorate([
244
244
  ], User.prototype, "previous_basic_salary", void 0);
245
245
  exports.User = User = __decorate([
246
246
  (0, typeorm_1.Entity)({ name: 'users' }),
247
- __metadata("design:paramtypes", [Number, Number, String, String, String, String, String, String, String, String, String, String, String, String, String, String, Number, Number, String, String, Number, String, String, Number, Number, String, Number, String, Number, String, String, String, Number, String, String, String, String, String, String, String, String, String, Number, Number])
247
+ __metadata("design:paramtypes", [Number, Number, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, Number, String, String, Number, String, String, Number, Number, String, Number, String, Number, String, String, String, Number, String, String, String, String, String, String, String, String, String, Number, Number])
248
248
  ], User);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platform-modules/civil-aviation-authority",
3
- "version": "2.3.171",
3
+ "version": "2.3.172",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
@@ -23,21 +23,21 @@ export enum CyberSecurityAuditApplicationType {
23
23
  }
24
24
 
25
25
  @Entity({ name: "cyber_security_audit_requests" })
26
- export class CyberSecurityAuditRequest extends BaseModel {
27
- @Column({ type: "integer", nullable: true })
28
- req_user_department_id: number | null;
29
-
30
- @Column({ type: "integer", nullable: true })
31
- req_user_section_id: number | null;
32
-
33
- @Column({ type: "integer", nullable: true })
34
- requesting_to_department_id: number | null;
35
-
36
- @Column({ type: "integer", nullable: true })
37
- requesting_to_section_id: number | null;
38
-
39
- @Column({ type: "integer", nullable: true })
40
- req_user_position_id: number | null;
26
+ export class CyberSecurityAuditRequest extends BaseModel {
27
+ @Column({ type: "integer", nullable: true })
28
+ req_user_department_id: number | null;
29
+
30
+ @Column({ type: "integer", nullable: true })
31
+ req_user_section_id: number | null;
32
+
33
+ @Column({ type: "integer", nullable: true })
34
+ requesting_to_department_id: number | null;
35
+
36
+ @Column({ type: "integer", nullable: true })
37
+ requesting_to_section_id: number | null;
38
+
39
+ @Column({ type: "integer", nullable: true })
40
+ req_user_position_id: number | null;
41
41
 
42
42
  @Column({ type: "integer", nullable: true })
43
43
  service_id: number | null;
@@ -87,15 +87,15 @@ export class CyberSecurityAuditRequest extends BaseModel {
87
87
  application_to_be_audited: CyberSecurityAuditApplicationType,
88
88
  submission_date: Date,
89
89
  status: CyberSecurityAuditRequestStatus = CyberSecurityAuditRequestStatus.PENDING,
90
- service_id?: number | null,
91
- sub_service_id?: number | null,
92
- req_user_department_id?: number | null,
93
- req_user_section_id?: number | null,
94
- requesting_to_department_id?: number | null,
95
- requesting_to_section_id?: number | null,
96
- req_user_position_id?: number | null,
97
- description?: string | null,
98
- reviewer_user_id?: number | null,
90
+ service_id?: number | null,
91
+ sub_service_id?: number | null,
92
+ req_user_department_id?: number | null,
93
+ req_user_section_id?: number | null,
94
+ requesting_to_department_id?: number | null,
95
+ requesting_to_section_id?: number | null,
96
+ req_user_position_id?: number | null,
97
+ description?: string | null,
98
+ reviewer_user_id?: number | null,
99
99
  assigned_to_user_id?: number | null,
100
100
  assigned_at?: Date | null,
101
101
  workflow_execution_id?: string | null,
@@ -108,14 +108,14 @@ export class CyberSecurityAuditRequest extends BaseModel {
108
108
  this.application_to_be_audited = application_to_be_audited;
109
109
  this.submission_date = submission_date;
110
110
  this.status = status;
111
- this.service_id = service_id || null;
112
- this.sub_service_id = sub_service_id || null;
113
- this.req_user_department_id = req_user_department_id || null;
114
- this.req_user_section_id = req_user_section_id || null;
115
- this.requesting_to_department_id = requesting_to_department_id || null;
116
- this.requesting_to_section_id = requesting_to_section_id || null;
117
- this.req_user_position_id = req_user_position_id || null;
118
- this.description = description || null;
111
+ this.service_id = service_id || null;
112
+ this.sub_service_id = sub_service_id || null;
113
+ this.req_user_department_id = req_user_department_id || null;
114
+ this.req_user_section_id = req_user_section_id || null;
115
+ this.requesting_to_department_id = requesting_to_department_id || null;
116
+ this.requesting_to_section_id = requesting_to_section_id || null;
117
+ this.req_user_position_id = req_user_position_id || null;
118
+ this.description = description || null;
119
119
  this.reviewer_user_id = reviewer_user_id || null;
120
120
  this.assigned_to_user_id = assigned_to_user_id || null;
121
121
  this.assigned_at = assigned_at || null;
@@ -52,8 +52,8 @@ export class User extends BaseModel {
52
52
  @Column({ nullable: true })
53
53
  blood_type?: string;
54
54
 
55
- @Column({ type: 'bigint', nullable: true })
56
- national_id?: number;
55
+ @Column({ nullable: true })
56
+ national_id?: string;
57
57
 
58
58
  @Column({ type: 'bigint', nullable: true })
59
59
  manpower_id?: number;
@@ -156,7 +156,7 @@ export class User extends BaseModel {
156
156
  nationality?: string,
157
157
  email?: string,
158
158
  blood_type?: string,
159
- national_id?: number,
159
+ national_id?: string,
160
160
  manpower_id?: number,
161
161
  mobile?: string,
162
162
  office_number?: string,