@platform-modules/civil-aviation-authority 2.3.272 → 2.3.274
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 +12 -6
- package/dist/data-source.js +124 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +8 -0
- package/dist/models/CityMasterModel.d.ts +1 -0
- package/dist/models/CityMasterModel.js +4 -0
- package/dist/models/DepartmentsModel.d.ts +1 -0
- package/dist/models/DepartmentsModel.js +4 -0
- package/dist/models/GroupNamesModel.d.ts +1 -0
- package/dist/models/GroupNamesModel.js +4 -0
- package/dist/models/LocationModel.d.ts +1 -0
- package/dist/models/LocationModel.js +4 -0
- package/dist/models/LogisticsForeignVehicleModel.d.ts +2 -0
- package/dist/models/LogisticsForeignVehicleModel.js +8 -0
- package/dist/models/LogisticsModel.d.ts +2 -0
- package/dist/models/LogisticsModel.js +8 -0
- package/dist/models/SectionModel.d.ts +1 -0
- package/dist/models/SectionModel.js +4 -0
- package/package.json +1 -1
- package/src/data-source.ts +125 -0
- package/src/index.ts +9 -0
- package/src/models/CityMasterModel.ts +3 -0
- package/src/models/DepartmentsModel.ts +3 -0
- package/src/models/GroupNamesModel.ts +3 -0
- package/src/models/LocationModel.ts +3 -0
- package/src/models/LogisticsForeignVehicleModel.ts +6 -0
- package/src/models/LogisticsModel.ts +6 -0
- package/src/models/SectionModel.ts +3 -0
package/.env
CHANGED
|
@@ -1,12 +1,18 @@
|
|
|
1
|
-
DB_HOST=164.52.222.169
|
|
2
|
-
DB_PORT=5432
|
|
3
|
-
DB_USER=postgres_admin_user
|
|
4
|
-
DB_PASS=pg_admin_user_pwd_caa_fa_$%^&OIukhjgcvbn
|
|
5
|
-
DB_NAME=CAA
|
|
1
|
+
# DB_HOST=164.52.222.169
|
|
2
|
+
# DB_PORT=5432
|
|
3
|
+
# DB_USER=postgres_admin_user
|
|
4
|
+
# DB_PASS=pg_admin_user_pwd_caa_fa_$%^&OIukhjgcvbn
|
|
5
|
+
# DB_NAME=CAA
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
# DB_HOST=localhost
|
|
9
9
|
# DB_PORT=5432
|
|
10
10
|
# DB_USER=postgres
|
|
11
11
|
# DB_PASS=stevejobs
|
|
12
|
-
# DB_NAME=CAA
|
|
12
|
+
# DB_NAME=CAA
|
|
13
|
+
|
|
14
|
+
DB_HOST=10.44.3.201
|
|
15
|
+
DB_PORT=5432
|
|
16
|
+
DB_USER=appuser
|
|
17
|
+
DB_PASS=HamaCaa7489
|
|
18
|
+
DB_NAME=caa_prd_db
|
package/dist/data-source.js
CHANGED
|
@@ -255,6 +255,68 @@ const SlaMyRequestsViewModel_1 = require("./models/SlaMyRequestsViewModel");
|
|
|
255
255
|
const SlaApprovalsViewModel_1 = require("./models/SlaApprovalsViewModel");
|
|
256
256
|
const ServiceSlaApprovalModel_1 = require("./models/ServiceSlaApprovalModel");
|
|
257
257
|
const SlaConfigModel_1 = require("./models/SlaConfigModel");
|
|
258
|
+
const CSRMBusinessImpactRatingMasterModel_1 = require("./models/CSRMBusinessImpactRatingMasterModel");
|
|
259
|
+
const CSRMLikelihoodMasterModel_1 = require("./models/CSRMLikelihoodMasterModel");
|
|
260
|
+
const LocationModel_1 = require("./models/LocationModel");
|
|
261
|
+
const NationalityMasterModel_1 = require("./models/NationalityMasterModel");
|
|
262
|
+
const PerformanceGoalMasterModel_1 = require("./models/PerformanceGoalMasterModel");
|
|
263
|
+
const FinancialGradeModel_1 = require("./models/FinancialGradeModel");
|
|
264
|
+
const CAIRatingMasterModel_1 = require("./models/CAIRatingMasterModel");
|
|
265
|
+
const PerformanceCyclePeriodModel_1 = require("./models/PerformanceCyclePeriodModel");
|
|
266
|
+
const AppealAgainstAdministrativeDecisionRequestModel_1 = require("./models/AppealAgainstAdministrativeDecisionRequestModel");
|
|
267
|
+
const ComplaintLostPropertyReportApprovalModel_1 = require("./models/ComplaintLostPropertyReportApprovalModel");
|
|
268
|
+
const ComplaintLostPropertyReportAttachmentModel_1 = require("./models/ComplaintLostPropertyReportAttachmentModel");
|
|
269
|
+
const ComplaintLostPropertyReportChatModel_1 = require("./models/ComplaintLostPropertyReportChatModel");
|
|
270
|
+
const ComplaintLostPropertyReportRequestModel_1 = require("./models/ComplaintLostPropertyReportRequestModel");
|
|
271
|
+
const ComplaintLostPropertyReportWorkflowModel_1 = require("./models/ComplaintLostPropertyReportWorkflowModel");
|
|
272
|
+
const ContractServiceRequestModel_1 = require("./models/ContractServiceRequestModel");
|
|
273
|
+
const CountryMasterModel_1 = require("./models/CountryMasterModel");
|
|
274
|
+
const CyberSecurityAuditRequestModel_1 = require("./models/CyberSecurityAuditRequestModel");
|
|
275
|
+
const CyberSecurityRiskManagementRequestModel_1 = require("./models/CyberSecurityRiskManagementRequestModel");
|
|
276
|
+
const CyberSecurityRiskManagementRiskModel_1 = require("./models/CyberSecurityRiskManagementRiskModel");
|
|
277
|
+
const EmployeeSecurityDriveMasterModel_1 = require("./models/EmployeeSecurityDriveMasterModel");
|
|
278
|
+
const EmployeeSecurityDriveModel_1 = require("./models/EmployeeSecurityDriveModel");
|
|
279
|
+
const EmployeeSecurityDriveOwnerModel_1 = require("./models/EmployeeSecurityDriveOwnerModel");
|
|
280
|
+
const EmployeeSecurityFileAccessModel_1 = require("./models/EmployeeSecurityFileAccessModel");
|
|
281
|
+
const EmployeeSecurityFileAuditLogModel_1 = require("./models/EmployeeSecurityFileAuditLogModel");
|
|
282
|
+
const EmployeeSecurityFileModel_1 = require("./models/EmployeeSecurityFileModel");
|
|
283
|
+
const EmployeeSecurityFileTypeModel_1 = require("./models/EmployeeSecurityFileTypeModel");
|
|
284
|
+
const EmployeeSecurityFileVersionModel_1 = require("./models/EmployeeSecurityFileVersionModel");
|
|
285
|
+
const EmployeeSecurityFolderModel_1 = require("./models/EmployeeSecurityFolderModel");
|
|
286
|
+
const HousingContractCancelApprovalModel_1 = require("./models/HousingContractCancelApprovalModel");
|
|
287
|
+
const HousingContractCancelAttachmentModel_1 = require("./models/HousingContractCancelAttachmentModel");
|
|
288
|
+
const HousingContractCancelChatModel_1 = require("./models/HousingContractCancelChatModel");
|
|
289
|
+
const HousingContractCancelRequestModel_1 = require("./models/HousingContractCancelRequestModel");
|
|
290
|
+
const HousingContractCancelWorkflowModel_1 = require("./models/HousingContractCancelWorkflowModel");
|
|
291
|
+
const HousingContractRenewalApprovalModel_1 = require("./models/HousingContractRenewalApprovalModel");
|
|
292
|
+
const HousingContractRenewalAttachmentModel_1 = require("./models/HousingContractRenewalAttachmentModel");
|
|
293
|
+
const HousingContractRenewalChatModel_1 = require("./models/HousingContractRenewalChatModel");
|
|
294
|
+
const HousingContractRenewalRequestModel_1 = require("./models/HousingContractRenewalRequestModel");
|
|
295
|
+
const HousingContractRenewalWorkflowModel_1 = require("./models/HousingContractRenewalWorkflowModel");
|
|
296
|
+
const HumanResourceAnnualPlanningRequestModel_1 = require("./models/HumanResourceAnnualPlanningRequestModel");
|
|
297
|
+
const HumanResourceAnnualPlanningTaskModel_1 = require("./models/HumanResourceAnnualPlanningTaskModel");
|
|
298
|
+
const InformationSecurityApprovalModel_1 = require("./models/InformationSecurityApprovalModel");
|
|
299
|
+
const InformationSecurityAttachmentModel_1 = require("./models/InformationSecurityAttachmentModel");
|
|
300
|
+
const InformationSecurityChatModel_1 = require("./models/InformationSecurityChatModel");
|
|
301
|
+
const InformationSecurityWorkflowModel_1 = require("./models/InformationSecurityWorkflowModel");
|
|
302
|
+
const JobTransferRequestModel_1 = require("./models/JobTransferRequestModel");
|
|
303
|
+
const LegalContractReviewApprovalModel_1 = require("./models/LegalContractReviewApprovalModel");
|
|
304
|
+
const LegalContractReviewAttachmentModel_1 = require("./models/LegalContractReviewAttachmentModel");
|
|
305
|
+
const LegalContractReviewChatModel_1 = require("./models/LegalContractReviewChatModel");
|
|
306
|
+
const LegalContractReviewRequestModel_1 = require("./models/LegalContractReviewRequestModel");
|
|
307
|
+
const LegalContractReviewWorkflowModel_1 = require("./models/LegalContractReviewWorkflowModel");
|
|
308
|
+
// import { MissionTravelPassportExpiryNotificationConfig } from './models/MissionTravelPassportExpiryNotificationConfigModel';
|
|
309
|
+
const NewResourceRequestModel_1 = require("./models/NewResourceRequestModel");
|
|
310
|
+
const PerformanceManagementRequestGoalModel_1 = require("./models/PerformanceManagementRequestGoalModel");
|
|
311
|
+
const PerformanceManagementRequestModel_1 = require("./models/PerformanceManagementRequestModel");
|
|
312
|
+
const RequestForProjectApprovalModel_1 = require("./models/RequestForProjectApprovalModel");
|
|
313
|
+
const RequestForVaptRequestModel_1 = require("./models/RequestForVaptRequestModel");
|
|
314
|
+
const ServicesNotificationConfigModel_1 = require("./models/ServicesNotificationConfigModel");
|
|
315
|
+
const ServiceTransferRequestModel_1 = require("./models/ServiceTransferRequestModel");
|
|
316
|
+
const ShiftAllowanceRequestModel_1 = require("./models/ShiftAllowanceRequestModel");
|
|
317
|
+
const TemporaryAssignmentRequestModel_1 = require("./models/TemporaryAssignmentRequestModel");
|
|
318
|
+
const TrainingRoomNotificationConfigModel_1 = require("./models/TrainingRoomNotificationConfigModel");
|
|
319
|
+
const UserSkillModel_1 = require("./models/UserSkillModel");
|
|
258
320
|
exports.AppDataSource = new typeorm_1.DataSource({
|
|
259
321
|
type: 'postgres',
|
|
260
322
|
host: process.env.DB_HOST || 'localhost',
|
|
@@ -514,5 +576,67 @@ exports.AppDataSource = new typeorm_1.DataSource({
|
|
|
514
576
|
SlaApprovalsViewModel_1.SlaApprovalsView,
|
|
515
577
|
ServiceSlaApprovalModel_1.ServiceSlaApproval,
|
|
516
578
|
SlaConfigModel_1.SlaConfig,
|
|
579
|
+
CSRMBusinessImpactRatingMasterModel_1.CSRMBusinessImpactRatingMaster,
|
|
580
|
+
CSRMLikelihoodMasterModel_1.CSRMLikelihoodMaster,
|
|
581
|
+
LocationModel_1.Location,
|
|
582
|
+
NationalityMasterModel_1.NationalityMaster,
|
|
583
|
+
PerformanceGoalMasterModel_1.PerformanceGoalMaster,
|
|
584
|
+
FinancialGradeModel_1.FinancialGrade,
|
|
585
|
+
CAIRatingMasterModel_1.CAIRatingMaster,
|
|
586
|
+
PerformanceCyclePeriodModel_1.PerformanceCyclePeriod,
|
|
587
|
+
AppealAgainstAdministrativeDecisionRequestModel_1.AppealAgainstAdministrativeDecisionRequest,
|
|
588
|
+
ComplaintLostPropertyReportApprovalModel_1.ComplaintLostPropertyReportApproval,
|
|
589
|
+
ComplaintLostPropertyReportAttachmentModel_1.ComplaintLostPropertyReportAttachment,
|
|
590
|
+
ComplaintLostPropertyReportChatModel_1.ComplaintLostPropertyReportChat,
|
|
591
|
+
ComplaintLostPropertyReportRequestModel_1.ComplaintLostPropertyReportRequest,
|
|
592
|
+
ComplaintLostPropertyReportWorkflowModel_1.ComplaintLostPropertyReportWorkflow,
|
|
593
|
+
ContractServiceRequestModel_1.ContractServiceRequest,
|
|
594
|
+
CountryMasterModel_1.CountryMaster,
|
|
595
|
+
CyberSecurityAuditRequestModel_1.CyberSecurityAuditRequest,
|
|
596
|
+
CyberSecurityRiskManagementRequestModel_1.CyberSecurityRiskManagementRequest,
|
|
597
|
+
CyberSecurityRiskManagementRiskModel_1.CyberSecurityRiskManagementRisk,
|
|
598
|
+
EmployeeSecurityDriveMasterModel_1.EmployeeSecurityDriveMaster,
|
|
599
|
+
EmployeeSecurityDriveModel_1.EmployeeSecurityDrive,
|
|
600
|
+
EmployeeSecurityDriveOwnerModel_1.EmployeeSecurityDriveOwner,
|
|
601
|
+
EmployeeSecurityFileAccessModel_1.EmployeeSecurityFileAccess,
|
|
602
|
+
EmployeeSecurityFileAuditLogModel_1.EmployeeSecurityFileAuditLog,
|
|
603
|
+
EmployeeSecurityFileModel_1.EmployeeSecurityFile,
|
|
604
|
+
EmployeeSecurityFileTypeModel_1.EmployeeSecurityFileType,
|
|
605
|
+
EmployeeSecurityFileVersionModel_1.EmployeeSecurityFileVersion,
|
|
606
|
+
EmployeeSecurityFolderModel_1.EmployeeSecurityFolder,
|
|
607
|
+
HousingContractCancelApprovalModel_1.HousingContractCancelApproval,
|
|
608
|
+
HousingContractCancelAttachmentModel_1.HousingContractCancelAttachment,
|
|
609
|
+
HousingContractCancelChatModel_1.HousingContractCancelChat,
|
|
610
|
+
HousingContractCancelRequestModel_1.HousingContractCancelRequest,
|
|
611
|
+
HousingContractCancelWorkflowModel_1.HousingContractCancelWorkflow,
|
|
612
|
+
HousingContractRenewalApprovalModel_1.HousingContractRenewalApproval,
|
|
613
|
+
HousingContractRenewalAttachmentModel_1.HousingContractRenewalAttachment,
|
|
614
|
+
HousingContractRenewalChatModel_1.HousingContractRenewalChat,
|
|
615
|
+
HousingContractRenewalRequestModel_1.HousingContractRenewalRequest,
|
|
616
|
+
HousingContractRenewalWorkflowModel_1.HousingContractRenewalWorkflow,
|
|
617
|
+
HumanResourceAnnualPlanningRequestModel_1.HumanResourceAnnualPlanningRequest,
|
|
618
|
+
HumanResourceAnnualPlanningTaskModel_1.HumanResourceAnnualPlanningTask,
|
|
619
|
+
InformationSecurityApprovalModel_1.InformationSecurityApprovalDetails,
|
|
620
|
+
InformationSecurityAttachmentModel_1.InformationSecurityRequestAttachment,
|
|
621
|
+
InformationSecurityChatModel_1.InformationSecurityRequestChat,
|
|
622
|
+
InformationSecurityWorkflowModel_1.InformationSecurityWorkFlow,
|
|
623
|
+
JobTransferRequestModel_1.JobTransferRequest,
|
|
624
|
+
LegalContractReviewApprovalModel_1.LegalContractReviewApproval,
|
|
625
|
+
LegalContractReviewAttachmentModel_1.LegalContractReviewRequestAttachment,
|
|
626
|
+
LegalContractReviewChatModel_1.LegalContractReviewRequestChat,
|
|
627
|
+
LegalContractReviewRequestModel_1.LegalContractReviewRequest,
|
|
628
|
+
LegalContractReviewWorkflowModel_1.LegalContractReviewWorkFlow,
|
|
629
|
+
// MissionTravelPassportExpiryNotificationConfig,
|
|
630
|
+
NewResourceRequestModel_1.NewResourceRequest,
|
|
631
|
+
PerformanceManagementRequestGoalModel_1.PerformanceManagementRequestGoal,
|
|
632
|
+
PerformanceManagementRequestModel_1.PerformanceManagementRequest,
|
|
633
|
+
RequestForProjectApprovalModel_1.RequestForProjectApproval,
|
|
634
|
+
RequestForVaptRequestModel_1.RequestForVaptRequest,
|
|
635
|
+
ServicesNotificationConfigModel_1.ServicesNotificationConfigs,
|
|
636
|
+
ServiceTransferRequestModel_1.ServiceTransferRequest,
|
|
637
|
+
ShiftAllowanceRequestModel_1.ShiftAllowanceRequest,
|
|
638
|
+
TemporaryAssignmentRequestModel_1.TemporaryAssignmentRequest,
|
|
639
|
+
TrainingRoomNotificationConfigModel_1.TrainingRoomNotificationConfig,
|
|
640
|
+
UserSkillModel_1.UserSkill
|
|
517
641
|
],
|
|
518
642
|
});
|
package/dist/index.d.ts
CHANGED
|
@@ -5,6 +5,14 @@ export * from './models/ITHelpDeskModel';
|
|
|
5
5
|
export * from './models/ServiceTypeModel';
|
|
6
6
|
export * from './models/CAAServices';
|
|
7
7
|
export * from './models/CAASubServices';
|
|
8
|
+
export * from './models/CSRMBusinessImpactRatingMasterModel';
|
|
9
|
+
export * from './models/CSRMLikelihoodMasterModel';
|
|
10
|
+
export * from './models/LocationModel';
|
|
11
|
+
export * from './models/NationalityMasterModel';
|
|
12
|
+
export * from './models/PerformanceGoalMasterModel';
|
|
13
|
+
export * from './models/FinancialGradeModel';
|
|
14
|
+
export * from './models/CAIRatingMasterModel';
|
|
15
|
+
export * from './models/PerformanceCyclePeriodModel';
|
|
8
16
|
export * from './models/ItApprovalsModel';
|
|
9
17
|
export * from './models/ItWorkflowModel';
|
|
10
18
|
export * from './models/WorkflowDefinitions';
|
package/dist/index.js
CHANGED
|
@@ -26,6 +26,14 @@ __exportStar(require("./models/ITHelpDeskModel"), exports);
|
|
|
26
26
|
__exportStar(require("./models/ServiceTypeModel"), exports);
|
|
27
27
|
__exportStar(require("./models/CAAServices"), exports);
|
|
28
28
|
__exportStar(require("./models/CAASubServices"), exports);
|
|
29
|
+
__exportStar(require("./models/CSRMBusinessImpactRatingMasterModel"), exports);
|
|
30
|
+
__exportStar(require("./models/CSRMLikelihoodMasterModel"), exports);
|
|
31
|
+
__exportStar(require("./models/LocationModel"), exports);
|
|
32
|
+
__exportStar(require("./models/NationalityMasterModel"), exports);
|
|
33
|
+
__exportStar(require("./models/PerformanceGoalMasterModel"), exports);
|
|
34
|
+
__exportStar(require("./models/FinancialGradeModel"), exports);
|
|
35
|
+
__exportStar(require("./models/CAIRatingMasterModel"), exports);
|
|
36
|
+
__exportStar(require("./models/PerformanceCyclePeriodModel"), exports);
|
|
29
37
|
// export * from './models/ITApprovalSettings'; // REMOVED - table no longer used
|
|
30
38
|
// export * from './models/Workflows'; // REMOVED - table no longer used
|
|
31
39
|
__exportStar(require("./models/ItApprovalsModel"), exports);
|
|
@@ -2,6 +2,7 @@ import { BaseModel } from './BaseModel';
|
|
|
2
2
|
export declare class CityMaster extends BaseModel {
|
|
3
3
|
country_id: number | null;
|
|
4
4
|
city_name: string;
|
|
5
|
+
city_arabic_name: string | null;
|
|
5
6
|
city_code: string | null;
|
|
6
7
|
description: string | null;
|
|
7
8
|
constructor(city_name: string);
|
|
@@ -27,6 +27,10 @@ __decorate([
|
|
|
27
27
|
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: false }),
|
|
28
28
|
__metadata("design:type", String)
|
|
29
29
|
], CityMaster.prototype, "city_name", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
32
|
+
__metadata("design:type", Object)
|
|
33
|
+
], CityMaster.prototype, "city_arabic_name", void 0);
|
|
30
34
|
__decorate([
|
|
31
35
|
(0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: true }),
|
|
32
36
|
__metadata("design:type", Object)
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { BaseModel } from './BaseModel';
|
|
2
2
|
export declare class Departments extends BaseModel {
|
|
3
3
|
department_name: string;
|
|
4
|
+
department_arabic_name: string | null;
|
|
4
5
|
department_code: string;
|
|
5
6
|
department_description: string;
|
|
6
7
|
constructor(department_name: string, department_code: string, department_description: string);
|
|
@@ -25,6 +25,10 @@ __decorate([
|
|
|
25
25
|
(0, typeorm_1.Column)({ type: 'varchar', length: 64, nullable: false }),
|
|
26
26
|
__metadata("design:type", String)
|
|
27
27
|
], Departments.prototype, "department_name", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
30
|
+
__metadata("design:type", Object)
|
|
31
|
+
], Departments.prototype, "department_arabic_name", void 0);
|
|
28
32
|
__decorate([
|
|
29
33
|
(0, typeorm_1.Column)({ type: 'varchar', length: 64, nullable: false }),
|
|
30
34
|
__metadata("design:type", String)
|
|
@@ -24,6 +24,10 @@ __decorate([
|
|
|
24
24
|
(0, typeorm_1.Column)({ nullable: false }),
|
|
25
25
|
__metadata("design:type", String)
|
|
26
26
|
], GroupNames.prototype, "name", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
29
|
+
__metadata("design:type", Object)
|
|
30
|
+
], GroupNames.prototype, "group_arabic_name", void 0);
|
|
27
31
|
__decorate([
|
|
28
32
|
(0, typeorm_1.Column)({ nullable: false }),
|
|
29
33
|
__metadata("design:type", String)
|
|
@@ -28,6 +28,10 @@ __decorate([
|
|
|
28
28
|
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: false }),
|
|
29
29
|
__metadata("design:type", String)
|
|
30
30
|
], Location.prototype, "name", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
33
|
+
__metadata("design:type", Object)
|
|
34
|
+
], Location.prototype, "location_arabic_name", void 0);
|
|
31
35
|
__decorate([
|
|
32
36
|
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
33
37
|
__metadata("design:type", String)
|
|
@@ -47,5 +47,7 @@ export declare class LogisticsForeignVehicleRequests extends BaseModel {
|
|
|
47
47
|
special_instructions: string | null;
|
|
48
48
|
status: Foreign_Request_Status;
|
|
49
49
|
workflow_execution_id: string | null;
|
|
50
|
+
is_requester_updated: boolean;
|
|
51
|
+
is_approver_updated: boolean;
|
|
50
52
|
constructor(req_user_department_id: number | null, req_user_section_id: number | null, service_id: number, sub_service_id: number, user_id: number, number_of_passengers: number, purpose_of_travel: string, vehicle_required_location: Foreign_Vehicle_Required_Location, contact_number: string, request_type: Foreign_Request_Type, destination_city: string, arrival_departure_datetime: Date, status: Foreign_Request_Status, employee_id_passport?: string | null, origin_city?: string | null, special_instructions?: string | null, workflow_execution_id?: string | null, driver_name?: string | null, vehicle_number?: string | null, fuel_card?: string | null, expected_vehicle_return_time?: string | null, expected_return_date?: Date | null, actual_vehicle_return_time?: string | null, actual_return_date?: Date | null, vehicle_condition?: string | null, reason?: string | null);
|
|
51
53
|
}
|
|
@@ -193,6 +193,14 @@ __decorate([
|
|
|
193
193
|
(0, typeorm_1.Column)({ type: "varchar", nullable: true }),
|
|
194
194
|
__metadata("design:type", Object)
|
|
195
195
|
], LogisticsForeignVehicleRequests.prototype, "workflow_execution_id", void 0);
|
|
196
|
+
__decorate([
|
|
197
|
+
(0, typeorm_1.Column)({ type: 'boolean', default: false, nullable: false }),
|
|
198
|
+
__metadata("design:type", Boolean)
|
|
199
|
+
], LogisticsForeignVehicleRequests.prototype, "is_requester_updated", void 0);
|
|
200
|
+
__decorate([
|
|
201
|
+
(0, typeorm_1.Column)({ type: 'boolean', default: false, nullable: false }),
|
|
202
|
+
__metadata("design:type", Boolean)
|
|
203
|
+
], LogisticsForeignVehicleRequests.prototype, "is_approver_updated", void 0);
|
|
196
204
|
exports.LogisticsForeignVehicleRequests = LogisticsForeignVehicleRequests = __decorate([
|
|
197
205
|
(0, typeorm_1.Entity)({ name: 'logistics_foreign_vehicle_requests' }),
|
|
198
206
|
__metadata("design:paramtypes", [Object, Object, Number, Number, Number, Number, String, String, String, String, String, Date, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object])
|
|
@@ -66,5 +66,7 @@ export declare class LogisticsRequests extends BaseModel {
|
|
|
66
66
|
vehicle_condition: string | null;
|
|
67
67
|
reason: string | null;
|
|
68
68
|
driver_name: string | null;
|
|
69
|
+
is_requester_updated: boolean;
|
|
70
|
+
is_approver_updated: boolean;
|
|
69
71
|
constructor(req_user_department_id: number | null, req_user_section_id: number | null, service_id: number, sub_service_id: number, user_id: number, category: Request_Type, vehicle_required_for: Vehicle_Required_For, vehicle_required_location: Vehicle_Required_Location, title: string, purpose_of_travel: Purpose_of_Travel, type_of_vehicle_required: Type_of_Vehicle, type_of_request: Type_of_Request, travel_date_from: Date | null, travel_date_to: Date | null, duration: number | null, time_of_travel: string, description: string, status: Status, workflow_execution_id?: string | null, vehicle_number?: string | null, fuel_card?: string | null, expected_vehicle_return_time?: string | null, expected_return_date?: Date | null, actual_vehicle_return_time?: string | null, actual_return_date?: Date | null, vehicle_condition?: string | null, reason?: string | null, driver_name?: string | null);
|
|
70
72
|
}
|
|
@@ -245,6 +245,14 @@ __decorate([
|
|
|
245
245
|
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
246
246
|
__metadata("design:type", Object)
|
|
247
247
|
], LogisticsRequests.prototype, "driver_name", void 0);
|
|
248
|
+
__decorate([
|
|
249
|
+
(0, typeorm_1.Column)({ type: 'boolean', default: false, nullable: false }),
|
|
250
|
+
__metadata("design:type", Boolean)
|
|
251
|
+
], LogisticsRequests.prototype, "is_requester_updated", void 0);
|
|
252
|
+
__decorate([
|
|
253
|
+
(0, typeorm_1.Column)({ type: 'boolean', default: false, nullable: false }),
|
|
254
|
+
__metadata("design:type", Boolean)
|
|
255
|
+
], LogisticsRequests.prototype, "is_approver_updated", void 0);
|
|
248
256
|
exports.LogisticsRequests = LogisticsRequests = __decorate([
|
|
249
257
|
(0, typeorm_1.Entity)({ name: 'logistics_requests' }),
|
|
250
258
|
__metadata("design:paramtypes", [Object, Object, Number, Number, Number, String, String, String, String, String, String, String, Object, Object, Object, String, String, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object])
|
|
@@ -26,6 +26,10 @@ __decorate([
|
|
|
26
26
|
(0, typeorm_1.Column)({ type: 'varchar', length: 64, nullable: false }),
|
|
27
27
|
__metadata("design:type", String)
|
|
28
28
|
], Sections.prototype, "section_name", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
31
|
+
__metadata("design:type", Object)
|
|
32
|
+
], Sections.prototype, "section_arabic_name", void 0);
|
|
29
33
|
__decorate([
|
|
30
34
|
(0, typeorm_1.Column)({ type: 'varchar', length: 64, nullable: false }),
|
|
31
35
|
__metadata("design:type", String)
|
package/package.json
CHANGED
package/src/data-source.ts
CHANGED
|
@@ -253,6 +253,69 @@ import { SlaMyRequestsView } from './models/SlaMyRequestsViewModel';
|
|
|
253
253
|
import { SlaApprovalsView } from './models/SlaApprovalsViewModel';
|
|
254
254
|
import { ServiceSlaApproval } from './models/ServiceSlaApprovalModel';
|
|
255
255
|
import { SlaConfig } from './models/SlaConfigModel';
|
|
256
|
+
import { CSRMBusinessImpactRatingMaster } from './models/CSRMBusinessImpactRatingMasterModel';
|
|
257
|
+
import { CSRMLikelihoodMaster } from './models/CSRMLikelihoodMasterModel';
|
|
258
|
+
import { Location } from './models/LocationModel';
|
|
259
|
+
import { NationalityMaster } from './models/NationalityMasterModel';
|
|
260
|
+
import { PerformanceGoalMaster } from './models/PerformanceGoalMasterModel';
|
|
261
|
+
import { FinancialGrade } from './models/FinancialGradeModel';
|
|
262
|
+
import { CAIRatingMaster } from './models/CAIRatingMasterModel';
|
|
263
|
+
import { PerformanceCyclePeriod } from './models/PerformanceCyclePeriodModel';
|
|
264
|
+
import { AppealAgainstAdministrativeDecisionRequest } from './models/AppealAgainstAdministrativeDecisionRequestModel';
|
|
265
|
+
import { ComplaintLostPropertyReportApproval } from './models/ComplaintLostPropertyReportApprovalModel';
|
|
266
|
+
import { ComplaintLostPropertyReportAttachment } from './models/ComplaintLostPropertyReportAttachmentModel';
|
|
267
|
+
import { ComplaintLostPropertyReportChat } from './models/ComplaintLostPropertyReportChatModel';
|
|
268
|
+
import { ComplaintLostPropertyReportRequest } from './models/ComplaintLostPropertyReportRequestModel';
|
|
269
|
+
import { ComplaintLostPropertyReportWorkflow } from './models/ComplaintLostPropertyReportWorkflowModel';
|
|
270
|
+
import { ContractServiceRequest } from './models/ContractServiceRequestModel';
|
|
271
|
+
import { CountryMaster } from './models/CountryMasterModel';
|
|
272
|
+
import { CyberSecurityAuditRequest } from './models/CyberSecurityAuditRequestModel';
|
|
273
|
+
import { CyberSecurityRiskManagementRequest } from './models/CyberSecurityRiskManagementRequestModel';
|
|
274
|
+
import { CyberSecurityRiskManagementRisk } from './models/CyberSecurityRiskManagementRiskModel';
|
|
275
|
+
import { EmployeeSecurityDriveMaster } from './models/EmployeeSecurityDriveMasterModel';
|
|
276
|
+
import { EmployeeSecurityDrive } from './models/EmployeeSecurityDriveModel';
|
|
277
|
+
import { EmployeeSecurityDriveOwner } from './models/EmployeeSecurityDriveOwnerModel';
|
|
278
|
+
import { EmployeeSecurityFileAccess } from './models/EmployeeSecurityFileAccessModel';
|
|
279
|
+
import { EmployeeSecurityFileAuditLog } from './models/EmployeeSecurityFileAuditLogModel';
|
|
280
|
+
import { EmployeeSecurityFile } from './models/EmployeeSecurityFileModel';
|
|
281
|
+
import { EmployeeSecurityFileType } from './models/EmployeeSecurityFileTypeModel';
|
|
282
|
+
import { EmployeeSecurityFileVersion } from './models/EmployeeSecurityFileVersionModel';
|
|
283
|
+
import { EmployeeSecurityFolder } from './models/EmployeeSecurityFolderModel';
|
|
284
|
+
import { HousingContractCancelApproval } from './models/HousingContractCancelApprovalModel';
|
|
285
|
+
import { HousingContractCancelAttachment } from './models/HousingContractCancelAttachmentModel';
|
|
286
|
+
import { HousingContractCancelChat } from './models/HousingContractCancelChatModel';
|
|
287
|
+
import { HousingContractCancelRequest } from './models/HousingContractCancelRequestModel';
|
|
288
|
+
import { HousingContractCancelWorkflow } from './models/HousingContractCancelWorkflowModel';
|
|
289
|
+
import { HousingContractRenewalApproval } from './models/HousingContractRenewalApprovalModel';
|
|
290
|
+
import { HousingContractRenewalAttachment } from './models/HousingContractRenewalAttachmentModel';
|
|
291
|
+
import { HousingContractRenewalChat } from './models/HousingContractRenewalChatModel';
|
|
292
|
+
import { HousingContractRenewalRequest } from './models/HousingContractRenewalRequestModel';
|
|
293
|
+
import { HousingContractRenewalWorkflow } from './models/HousingContractRenewalWorkflowModel';
|
|
294
|
+
import { HumanResourceAnnualPlanningRequest } from './models/HumanResourceAnnualPlanningRequestModel';
|
|
295
|
+
import { HumanResourceAnnualPlanningTask } from './models/HumanResourceAnnualPlanningTaskModel';
|
|
296
|
+
import { InformationSecurityApprovalDetails } from './models/InformationSecurityApprovalModel';
|
|
297
|
+
import { InformationSecurityRequestAttachment } from './models/InformationSecurityAttachmentModel';
|
|
298
|
+
import { InformationSecurityRequestChat } from './models/InformationSecurityChatModel';
|
|
299
|
+
import { InformationSecurityWorkFlow } from './models/InformationSecurityWorkflowModel';
|
|
300
|
+
import { JobTransferRequest } from './models/JobTransferRequestModel';
|
|
301
|
+
import { LegalContractReviewApproval } from './models/LegalContractReviewApprovalModel';
|
|
302
|
+
import { LegalContractReviewRequestAttachment } from './models/LegalContractReviewAttachmentModel';
|
|
303
|
+
import { LegalContractReviewRequestChat } from './models/LegalContractReviewChatModel';
|
|
304
|
+
import { LegalContractReviewRequest } from './models/LegalContractReviewRequestModel';
|
|
305
|
+
import { LegalContractReviewWorkFlow } from './models/LegalContractReviewWorkflowModel';
|
|
306
|
+
// import { MissionTravelPassportExpiryNotificationConfig } from './models/MissionTravelPassportExpiryNotificationConfigModel';
|
|
307
|
+
import { NewResourceRequest } from './models/NewResourceRequestModel';
|
|
308
|
+
import { PerformanceManagementRequestGoal } from './models/PerformanceManagementRequestGoalModel';
|
|
309
|
+
import { PerformanceManagementRequest } from './models/PerformanceManagementRequestModel';
|
|
310
|
+
import { RequestForProjectApproval } from './models/RequestForProjectApprovalModel';
|
|
311
|
+
import { RequestForVaptRequest } from './models/RequestForVaptRequestModel';
|
|
312
|
+
import { ServicesNotificationConfigs } from './models/ServicesNotificationConfigModel';
|
|
313
|
+
import { ServiceTransferRequest } from './models/ServiceTransferRequestModel';
|
|
314
|
+
import { ShiftAllowanceRequest } from './models/ShiftAllowanceRequestModel';
|
|
315
|
+
import { TemporaryAssignmentRequest } from './models/TemporaryAssignmentRequestModel';
|
|
316
|
+
import { TrainingRoomNotificationConfig } from './models/TrainingRoomNotificationConfigModel';
|
|
317
|
+
import { UserSkill } from './models/UserSkillModel';
|
|
318
|
+
|
|
256
319
|
|
|
257
320
|
export const AppDataSource = new DataSource({
|
|
258
321
|
type: 'postgres',
|
|
@@ -513,5 +576,67 @@ export const AppDataSource = new DataSource({
|
|
|
513
576
|
SlaApprovalsView,
|
|
514
577
|
ServiceSlaApproval,
|
|
515
578
|
SlaConfig,
|
|
579
|
+
CSRMBusinessImpactRatingMaster,
|
|
580
|
+
CSRMLikelihoodMaster,
|
|
581
|
+
Location,
|
|
582
|
+
NationalityMaster,
|
|
583
|
+
PerformanceGoalMaster,
|
|
584
|
+
FinancialGrade,
|
|
585
|
+
CAIRatingMaster,
|
|
586
|
+
PerformanceCyclePeriod,
|
|
587
|
+
AppealAgainstAdministrativeDecisionRequest,
|
|
588
|
+
ComplaintLostPropertyReportApproval,
|
|
589
|
+
ComplaintLostPropertyReportAttachment,
|
|
590
|
+
ComplaintLostPropertyReportChat,
|
|
591
|
+
ComplaintLostPropertyReportRequest,
|
|
592
|
+
ComplaintLostPropertyReportWorkflow,
|
|
593
|
+
ContractServiceRequest,
|
|
594
|
+
CountryMaster,
|
|
595
|
+
CyberSecurityAuditRequest,
|
|
596
|
+
CyberSecurityRiskManagementRequest,
|
|
597
|
+
CyberSecurityRiskManagementRisk,
|
|
598
|
+
EmployeeSecurityDriveMaster,
|
|
599
|
+
EmployeeSecurityDrive,
|
|
600
|
+
EmployeeSecurityDriveOwner,
|
|
601
|
+
EmployeeSecurityFileAccess,
|
|
602
|
+
EmployeeSecurityFileAuditLog,
|
|
603
|
+
EmployeeSecurityFile,
|
|
604
|
+
EmployeeSecurityFileType,
|
|
605
|
+
EmployeeSecurityFileVersion,
|
|
606
|
+
EmployeeSecurityFolder,
|
|
607
|
+
HousingContractCancelApproval,
|
|
608
|
+
HousingContractCancelAttachment,
|
|
609
|
+
HousingContractCancelChat,
|
|
610
|
+
HousingContractCancelRequest,
|
|
611
|
+
HousingContractCancelWorkflow,
|
|
612
|
+
HousingContractRenewalApproval,
|
|
613
|
+
HousingContractRenewalAttachment,
|
|
614
|
+
HousingContractRenewalChat,
|
|
615
|
+
HousingContractRenewalRequest,
|
|
616
|
+
HousingContractRenewalWorkflow,
|
|
617
|
+
HumanResourceAnnualPlanningRequest,
|
|
618
|
+
HumanResourceAnnualPlanningTask,
|
|
619
|
+
InformationSecurityApprovalDetails,
|
|
620
|
+
InformationSecurityRequestAttachment,
|
|
621
|
+
InformationSecurityRequestChat,
|
|
622
|
+
InformationSecurityWorkFlow,
|
|
623
|
+
JobTransferRequest,
|
|
624
|
+
LegalContractReviewApproval,
|
|
625
|
+
LegalContractReviewRequestAttachment,
|
|
626
|
+
LegalContractReviewRequestChat,
|
|
627
|
+
LegalContractReviewRequest,
|
|
628
|
+
LegalContractReviewWorkFlow,
|
|
629
|
+
// MissionTravelPassportExpiryNotificationConfig,
|
|
630
|
+
NewResourceRequest,
|
|
631
|
+
PerformanceManagementRequestGoal,
|
|
632
|
+
PerformanceManagementRequest,
|
|
633
|
+
RequestForProjectApproval,
|
|
634
|
+
RequestForVaptRequest,
|
|
635
|
+
ServicesNotificationConfigs,
|
|
636
|
+
ServiceTransferRequest,
|
|
637
|
+
ShiftAllowanceRequest,
|
|
638
|
+
TemporaryAssignmentRequest,
|
|
639
|
+
TrainingRoomNotificationConfig,
|
|
640
|
+
UserSkill
|
|
516
641
|
],
|
|
517
642
|
});
|
package/src/index.ts
CHANGED
|
@@ -9,6 +9,15 @@ export * from './models/ITHelpDeskModel';
|
|
|
9
9
|
export * from './models/ServiceTypeModel';
|
|
10
10
|
export * from './models/CAAServices';
|
|
11
11
|
export * from './models/CAASubServices';
|
|
12
|
+
|
|
13
|
+
export * from './models/CSRMBusinessImpactRatingMasterModel';
|
|
14
|
+
export * from './models/CSRMLikelihoodMasterModel';
|
|
15
|
+
export * from './models/LocationModel';
|
|
16
|
+
export * from './models/NationalityMasterModel';
|
|
17
|
+
export * from './models/PerformanceGoalMasterModel';
|
|
18
|
+
export * from './models/FinancialGradeModel';
|
|
19
|
+
export * from './models/CAIRatingMasterModel';
|
|
20
|
+
export * from './models/PerformanceCyclePeriodModel';
|
|
12
21
|
// export * from './models/ITApprovalSettings'; // REMOVED - table no longer used
|
|
13
22
|
// export * from './models/Workflows'; // REMOVED - table no longer used
|
|
14
23
|
export * from './models/ItApprovalsModel';
|
|
@@ -9,6 +9,9 @@ export class CityMaster extends BaseModel {
|
|
|
9
9
|
@Column({ type: 'varchar', length: 255, nullable: false })
|
|
10
10
|
city_name: string;
|
|
11
11
|
|
|
12
|
+
@Column({ type: 'varchar', length: 255, nullable: true })
|
|
13
|
+
city_arabic_name: string | null;
|
|
14
|
+
|
|
12
15
|
@Column({ type: 'varchar', length: 50, nullable: true })
|
|
13
16
|
city_code: string | null;
|
|
14
17
|
|
|
@@ -7,6 +7,9 @@ export class Departments extends BaseModel {
|
|
|
7
7
|
@Column({ type: 'varchar', length: 64, nullable: false})
|
|
8
8
|
department_name: string;
|
|
9
9
|
|
|
10
|
+
@Column({ type: 'varchar', length: 255, nullable: true })
|
|
11
|
+
department_arabic_name: string | null;
|
|
12
|
+
|
|
10
13
|
@Column({ type: 'varchar', length: 64, nullable: false})
|
|
11
14
|
department_code: string;
|
|
12
15
|
|
|
@@ -14,6 +14,9 @@ export class Location {
|
|
|
14
14
|
@Column({ type: 'varchar', length: 255, nullable: false })
|
|
15
15
|
name: string;
|
|
16
16
|
|
|
17
|
+
@Column({ type: 'varchar', length: 255, nullable: true })
|
|
18
|
+
location_arabic_name: string | null;
|
|
19
|
+
|
|
17
20
|
@Column({ type: 'text', nullable: true })
|
|
18
21
|
description: string;
|
|
19
22
|
|
|
@@ -127,6 +127,12 @@ export class LogisticsForeignVehicleRequests extends BaseModel {
|
|
|
127
127
|
@Column({ type: "varchar", nullable: true })
|
|
128
128
|
workflow_execution_id: string | null;
|
|
129
129
|
|
|
130
|
+
@Column({ type: 'boolean', default: false, nullable: false })
|
|
131
|
+
is_requester_updated: boolean;
|
|
132
|
+
|
|
133
|
+
@Column({ type: 'boolean', default: false, nullable: false })
|
|
134
|
+
is_approver_updated: boolean;
|
|
135
|
+
|
|
130
136
|
constructor(
|
|
131
137
|
req_user_department_id: number | null,
|
|
132
138
|
req_user_section_id: number | null,
|
|
@@ -176,6 +176,12 @@ export class LogisticsRequests extends BaseModel {
|
|
|
176
176
|
@Column({ type: 'varchar', length: 255, nullable: true })
|
|
177
177
|
driver_name: string | null;
|
|
178
178
|
|
|
179
|
+
@Column({ type: 'boolean', default: false, nullable: false })
|
|
180
|
+
is_requester_updated: boolean;
|
|
181
|
+
|
|
182
|
+
@Column({ type: 'boolean', default: false, nullable: false })
|
|
183
|
+
is_approver_updated: boolean;
|
|
184
|
+
|
|
179
185
|
constructor(
|
|
180
186
|
req_user_department_id: number | null,
|
|
181
187
|
req_user_section_id: number | null,
|
|
@@ -7,6 +7,9 @@ export class Sections extends BaseModel {
|
|
|
7
7
|
@Column({ type: 'varchar', length: 64, nullable: false})
|
|
8
8
|
section_name: string;
|
|
9
9
|
|
|
10
|
+
@Column({ type: 'varchar', length: 255, nullable: true })
|
|
11
|
+
section_arabic_name: string | null;
|
|
12
|
+
|
|
10
13
|
@Column({ type: 'varchar', length: 64, nullable: false})
|
|
11
14
|
section_code: string;
|
|
12
15
|
|