@platform-modules/civil-aviation-authority 2.0.80 → 2.0.82
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/.env +4 -4
- package/dist/data-source.js +11 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.js +5 -0
- package/dist/models/HotelApprovalModel.d.ts +22 -0
- package/dist/models/HotelApprovalModel.js +91 -0
- package/dist/models/HotelAttachedModel.d.ts +14 -0
- package/dist/models/HotelAttachedModel.js +74 -0
- package/dist/models/HotelChatModel.d.ts +17 -0
- package/dist/models/HotelChatModel.js +67 -0
- package/dist/models/HotelWorkFlowModel.d.ts +14 -0
- package/dist/models/HotelWorkFlowModel.js +56 -0
- package/dist/models/HotelreservationModal.d.ts +30 -0
- package/dist/models/HotelreservationModal.js +119 -0
- package/dist/models/HotelreservationModel.d.ts +44 -0
- package/dist/models/HotelreservationModel.js +172 -0
- package/dist/models/ITApprovalSettings.d.ts +7 -0
- package/dist/models/ITApprovalSettings.js +40 -0
- package/dist/models/ITHelpDeskModel.d.ts +1 -5
- package/dist/models/ITHelpDeskModel.js +2 -22
- package/dist/models/ITRequestAttachmentModel.d.ts +1 -3
- package/dist/models/ITRequestAttachmentModel.js +2 -12
- package/dist/models/ITServicesTypesMuscatModel.d.ts +6 -0
- package/dist/models/ITServicesTypesMuscatModel.js +34 -0
- package/dist/models/ITServicesTypesSalalahModel.d.ts +6 -0
- package/dist/models/ITServicesTypesSalalahModel.js +34 -0
- package/dist/models/ItApprovalsModel.d.ts +1 -3
- package/dist/models/ItApprovalsModel.js +2 -12
- package/dist/models/ItWorkflowModel.d.ts +1 -3
- package/dist/models/ItWorkflowModel.js +2 -12
- package/dist/models/VpnApprovalModel.d.ts +1 -2
- package/dist/models/VpnApprovalModel.js +2 -7
- package/dist/models/WorkflowTask.d.ts +1 -4
- package/dist/models/WorkflowTask.js +2 -17
- package/dist/models/Workflows.d.ts +0 -0
- package/dist/models/Workflows.js +31 -0
- package/dist/models/user.d.ts +2 -1
- package/dist/models/user.js +7 -2
- package/package.json +1 -1
- package/src/data-source.ts +11 -1
- package/src/index.ts +5 -0
- package/src/models/HotelApprovalModel.ts +79 -0
- package/src/models/HotelAttachedModel.ts +64 -0
- package/src/models/HotelChatModel.ts +55 -0
- package/src/models/HotelWorkFlowModel.ts +42 -0
- package/src/models/HotelreservationModel.ts +161 -0
- package/src/models/ITHelpDeskModel.ts +1 -21
- package/src/models/ITRequestAttachmentModel.ts +1 -11
- package/src/models/ItApprovalsModel.ts +1 -11
- package/src/models/ItWorkflowModel.ts +1 -9
- package/src/models/VpnApprovalModel.ts +1 -6
- package/src/models/WorkflowTask.ts +1 -16
- package/src/models/user.ts +6 -2
|
@@ -42,9 +42,6 @@ export class VpnApprovalDetails extends BaseModel {
|
|
|
42
42
|
})
|
|
43
43
|
approval_status: VpnApprovalStatus;
|
|
44
44
|
|
|
45
|
-
@Column({ type: "boolean", default: false, nullable: false })
|
|
46
|
-
is_manager: boolean;
|
|
47
|
-
|
|
48
45
|
constructor(
|
|
49
46
|
request_id: number,
|
|
50
47
|
approver_user_id: number | null,
|
|
@@ -54,8 +51,7 @@ export class VpnApprovalDetails extends BaseModel {
|
|
|
54
51
|
level: number,
|
|
55
52
|
department_id?: number | null,
|
|
56
53
|
section_id?: number | null,
|
|
57
|
-
approved_by?: number | null
|
|
58
|
-
is_manager?: boolean
|
|
54
|
+
approved_by?: number | null
|
|
59
55
|
) {
|
|
60
56
|
super();
|
|
61
57
|
this.request_id = request_id;
|
|
@@ -67,7 +63,6 @@ export class VpnApprovalDetails extends BaseModel {
|
|
|
67
63
|
this.department_id = department_id || null;
|
|
68
64
|
this.section_id = section_id || null;
|
|
69
65
|
this.approved_by = approved_by || null;
|
|
70
|
-
this.is_manager = is_manager ?? false;
|
|
71
66
|
}
|
|
72
67
|
}
|
|
73
68
|
|
|
@@ -24,15 +24,6 @@ export class WorkflowTask extends BaseModel {
|
|
|
24
24
|
@Column({ type: 'varchar', length: 100, nullable: false })
|
|
25
25
|
name: string;
|
|
26
26
|
|
|
27
|
-
@Column({ type: 'int', nullable: true })
|
|
28
|
-
service_id?: number | null;
|
|
29
|
-
|
|
30
|
-
@Column({ type: 'int', nullable: true })
|
|
31
|
-
sub_service_id?: number | null;
|
|
32
|
-
|
|
33
|
-
@Column({ type: 'varchar', length: 50, nullable: true })
|
|
34
|
-
service_type?: string | null;
|
|
35
|
-
|
|
36
27
|
@Column({
|
|
37
28
|
type: 'enum',
|
|
38
29
|
enum: TaskType,
|
|
@@ -51,18 +42,12 @@ export class WorkflowTask extends BaseModel {
|
|
|
51
42
|
name: string,
|
|
52
43
|
task_id?: number,
|
|
53
44
|
task_type?: TaskType,
|
|
54
|
-
category?: CategoryType
|
|
55
|
-
service_id?: number | null,
|
|
56
|
-
sub_service_id?: number | null,
|
|
57
|
-
service_type?: string | null
|
|
45
|
+
category?: CategoryType
|
|
58
46
|
) {
|
|
59
47
|
super();
|
|
60
48
|
this.name = name;
|
|
61
49
|
this.task_id = task_id || 0;
|
|
62
50
|
this.task_type = task_type || TaskType.SIMPLE;
|
|
63
51
|
this.category = category || CategoryType.CREATE;
|
|
64
|
-
this.service_id = service_id ?? null;
|
|
65
|
-
this.sub_service_id = sub_service_id ?? null;
|
|
66
|
-
this.service_type = service_type ?? null;
|
|
67
52
|
}
|
|
68
53
|
}
|
package/src/models/user.ts
CHANGED
|
@@ -129,7 +129,9 @@ export class User extends BaseModel {
|
|
|
129
129
|
|
|
130
130
|
@Column({ nullable: true })
|
|
131
131
|
address?: string;
|
|
132
|
-
|
|
132
|
+
|
|
133
|
+
@Column({ nullable: true })
|
|
134
|
+
religion?: string;
|
|
133
135
|
constructor(
|
|
134
136
|
employee_id?: number,
|
|
135
137
|
civil_employee_id?: number,
|
|
@@ -171,7 +173,8 @@ export class User extends BaseModel {
|
|
|
171
173
|
spouse_name?: string,
|
|
172
174
|
children1_name?: string,
|
|
173
175
|
children2_name?: string,
|
|
174
|
-
address?: string
|
|
176
|
+
address?: string,
|
|
177
|
+
religion?: string
|
|
175
178
|
) {
|
|
176
179
|
super();
|
|
177
180
|
this.employee_id = employee_id;
|
|
@@ -215,5 +218,6 @@ export class User extends BaseModel {
|
|
|
215
218
|
this.children1_name = children1_name;
|
|
216
219
|
this.children2_name = children2_name;
|
|
217
220
|
this.address = address;
|
|
221
|
+
this.religion = religion;
|
|
218
222
|
}
|
|
219
223
|
}
|