@platform-modules/civil-aviation-authority 2.3.205 → 2.3.207

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 (88) hide show
  1. package/.env +7 -22
  2. package/dist/models/ITApprovalSettings.d.ts +7 -0
  3. package/dist/models/ITApprovalSettings.js +40 -0
  4. package/dist/models/ITServicesTypesMuscatModel.d.ts +6 -0
  5. package/dist/models/ITServicesTypesMuscatModel.js +34 -0
  6. package/dist/models/ITServicesTypesSalalahModel.d.ts +6 -0
  7. package/dist/models/ITServicesTypesSalalahModel.js +34 -0
  8. package/dist/models/LogisticsModel.d.ts +2 -0
  9. package/dist/models/LogisticsModel.js +4 -0
  10. package/dist/models/SkillsEnhancementRequestModel.d.ts +1 -2
  11. package/dist/models/SkillsEnhancementRequestModel.js +2 -7
  12. package/dist/models/Workflows.d.ts +9 -0
  13. package/dist/models/Workflows.js +31 -0
  14. package/package.json +1 -1
  15. package/src/data-source.ts +419 -419
  16. package/src/models/AccessCardRequestModel.ts +135 -135
  17. package/src/models/AccommodationApprovalModel.ts +8 -8
  18. package/src/models/AccommodationRequestModel.ts +8 -8
  19. package/src/models/AirportEntryPermitModel.ts +276 -276
  20. package/src/models/AnnualIncrementRequestEmployeeModel.ts +65 -65
  21. package/src/models/AnnualIncrementRequestModel.ts +25 -25
  22. package/src/models/AnnualTrainingPlanRequestModel.ts +153 -153
  23. package/src/models/AppealAgainstAdministrativeDecisionRequestModel.ts +23 -23
  24. package/src/models/CAAServices.ts +33 -33
  25. package/src/models/CAASubServices.ts +33 -33
  26. package/src/models/CAIRatingMasterModel.ts +39 -39
  27. package/src/models/CSRMBusinessImpactRatingMasterModel.ts +25 -25
  28. package/src/models/CSRMLikelihoodMasterModel.ts +25 -25
  29. package/src/models/CashAllowanceLeaveRequestModel.ts +11 -11
  30. package/src/models/DepartmentsModel.ts +25 -25
  31. package/src/models/DocumentDriveModel.ts +28 -28
  32. package/src/models/DocumentFolderModel.ts +45 -45
  33. package/src/models/HousingContractCancelApprovalModel.ts +64 -64
  34. package/src/models/HousingContractCancelChatModel.ts +56 -56
  35. package/src/models/HousingContractRenewalApprovalModel.ts +64 -64
  36. package/src/models/HousingContractRenewalChatModel.ts +59 -59
  37. package/src/models/HrServiceRequestModel.ts +193 -193
  38. package/src/models/ITRequestAttachmentModel.ts +73 -73
  39. package/src/models/ITRequestChatModel.ts +74 -74
  40. package/src/models/ItApprovalsModel.ts +84 -84
  41. package/src/models/ItWorkflowModel.ts +55 -55
  42. package/src/models/LegalConsultationApprovalModel.ts +65 -65
  43. package/src/models/LogisticsModel.ts +4 -0
  44. package/src/models/MissionTravelPassportExpiryNotificationConfigModel.ts +36 -36
  45. package/src/models/PerformanceCyclePeriodModel.ts +26 -26
  46. package/src/models/PerformanceGoalMasterModel.ts +27 -27
  47. package/src/models/PerformanceManagementRequestGoalModel.ts +46 -46
  48. package/src/models/PerformanceManagementRequestModel.ts +14 -14
  49. package/src/models/PromotionRequestModel.ts +11 -11
  50. package/src/models/ResidentialUnitRentalApprovalModel.ts +143 -143
  51. package/src/models/ResidentialUnitRentalChatModel.ts +56 -56
  52. package/src/models/ResidentialUnitRentalRequestModel.ts +218 -218
  53. package/src/models/RespondToEnquiriesRequestModel.ts +31 -31
  54. package/src/models/ServicesNotificationConfigModel.ts +55 -55
  55. package/src/models/SkillsEnhancementRequestModel.ts +17 -22
  56. package/src/models/StudyLeaveRequestModel.ts +144 -144
  57. package/src/models/TrainingRequestModel.ts +164 -164
  58. package/src/models/TrainingRoomBookingRequestModel.ts +142 -142
  59. package/src/models/TrainingRoomNotificationConfigModel.ts +30 -30
  60. package/src/models/UserSkillModel.ts +56 -56
  61. package/src/models/role.ts +34 -34
  62. package/src/models/user.ts +233 -233
  63. package/dist/models/DocumentMetadataModel.d.ts +0 -45
  64. package/dist/models/DocumentMetadataModel.js +0 -171
  65. package/dist/models/DocumentationDepartmentsModel.d.ts +0 -13
  66. package/dist/models/DocumentationDepartmentsModel.js +0 -53
  67. package/dist/models/FolderModel.d.ts +0 -16
  68. package/dist/models/FolderModel.js +0 -85
  69. package/dist/models/ImportExportMaterialModels.d.ts +0 -92
  70. package/dist/models/ImportExportMaterialModels.js +0 -307
  71. package/dist/models/PermissionModel.d.ts +0 -18
  72. package/dist/models/PermissionModel.js +0 -68
  73. package/dist/models/SecurityAccessApprovalModel.d.ts +0 -23
  74. package/dist/models/SecurityAccessApprovalModel.js +0 -82
  75. package/dist/models/SecurityAccessAttachmentModel.d.ts +0 -12
  76. package/dist/models/SecurityAccessAttachmentModel.js +0 -56
  77. package/dist/models/SecurityAccessChatModel.d.ts +0 -12
  78. package/dist/models/SecurityAccessChatModel.js +0 -56
  79. package/dist/models/SecurityAccessRequestModel.d.ts +0 -25
  80. package/dist/models/SecurityAccessRequestModel.js +0 -80
  81. package/dist/models/SecurityAccessWorkflowModel.d.ts +0 -24
  82. package/dist/models/SecurityAccessWorkflowModel.js +0 -84
  83. package/dist/models/ServiceExtensionAfterAge60Models.d.ts +0 -93
  84. package/dist/models/ServiceExtensionAfterAge60Models.js +0 -312
  85. package/dist/models/UUIDBaseModel.d.ts +0 -14
  86. package/dist/models/UUIDBaseModel.js +0 -66
  87. package/dist/models/WorkingHoursExtensionModels.d.ts +0 -88
  88. package/dist/models/WorkingHoursExtensionModels.js +0 -295
@@ -1,23 +0,0 @@
1
- import { BaseModel } from "./BaseModel";
2
- export declare enum SecurityAccessApprovalStatus {
3
- PENDING = "Pending",
4
- IN_PROGRESS = "In Progress",
5
- APPROVED = "Approved",
6
- REJECTED = "Rejected",
7
- RFC = "RFC",
8
- REASSIGNED = "Reassigned"
9
- }
10
- export declare class SecurityAccessApproval extends BaseModel {
11
- request_id: number;
12
- service_id: number | null;
13
- sub_service_id: number | null;
14
- level: number;
15
- approver_user_id: number | null;
16
- approver_role_id: number | null;
17
- department_id: number | null;
18
- section_id: number | null;
19
- delegate_user_id: number | null;
20
- approved_by: number | null;
21
- comment: string;
22
- approval_status: SecurityAccessApprovalStatus;
23
- }
@@ -1,82 +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.SecurityAccessApproval = exports.SecurityAccessApprovalStatus = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const BaseModel_1 = require("./BaseModel");
15
- var SecurityAccessApprovalStatus;
16
- (function (SecurityAccessApprovalStatus) {
17
- SecurityAccessApprovalStatus["PENDING"] = "Pending";
18
- SecurityAccessApprovalStatus["IN_PROGRESS"] = "In Progress";
19
- SecurityAccessApprovalStatus["APPROVED"] = "Approved";
20
- SecurityAccessApprovalStatus["REJECTED"] = "Rejected";
21
- SecurityAccessApprovalStatus["RFC"] = "RFC";
22
- SecurityAccessApprovalStatus["REASSIGNED"] = "Reassigned";
23
- })(SecurityAccessApprovalStatus || (exports.SecurityAccessApprovalStatus = SecurityAccessApprovalStatus = {}));
24
- let SecurityAccessApproval = class SecurityAccessApproval extends BaseModel_1.BaseModel {
25
- };
26
- exports.SecurityAccessApproval = SecurityAccessApproval;
27
- __decorate([
28
- (0, typeorm_1.Column)({ type: "integer", nullable: false }),
29
- __metadata("design:type", Number)
30
- ], SecurityAccessApproval.prototype, "request_id", void 0);
31
- __decorate([
32
- (0, typeorm_1.Column)({ type: "integer", nullable: true }),
33
- __metadata("design:type", Object)
34
- ], SecurityAccessApproval.prototype, "service_id", void 0);
35
- __decorate([
36
- (0, typeorm_1.Column)({ type: "integer", nullable: true }),
37
- __metadata("design:type", Object)
38
- ], SecurityAccessApproval.prototype, "sub_service_id", void 0);
39
- __decorate([
40
- (0, typeorm_1.Column)({ type: "integer", nullable: false }),
41
- __metadata("design:type", Number)
42
- ], SecurityAccessApproval.prototype, "level", void 0);
43
- __decorate([
44
- (0, typeorm_1.Column)({ type: "integer", nullable: true }),
45
- __metadata("design:type", Object)
46
- ], SecurityAccessApproval.prototype, "approver_user_id", void 0);
47
- __decorate([
48
- (0, typeorm_1.Column)({ type: "integer", nullable: true }),
49
- __metadata("design:type", Object)
50
- ], SecurityAccessApproval.prototype, "approver_role_id", void 0);
51
- __decorate([
52
- (0, typeorm_1.Column)({ type: "integer", nullable: true }),
53
- __metadata("design:type", Object)
54
- ], SecurityAccessApproval.prototype, "department_id", void 0);
55
- __decorate([
56
- (0, typeorm_1.Column)({ type: "integer", nullable: true }),
57
- __metadata("design:type", Object)
58
- ], SecurityAccessApproval.prototype, "section_id", void 0);
59
- __decorate([
60
- (0, typeorm_1.Column)({ type: "integer", nullable: true }),
61
- __metadata("design:type", Object)
62
- ], SecurityAccessApproval.prototype, "delegate_user_id", void 0);
63
- __decorate([
64
- (0, typeorm_1.Column)({ type: "integer", nullable: true }),
65
- __metadata("design:type", Object)
66
- ], SecurityAccessApproval.prototype, "approved_by", void 0);
67
- __decorate([
68
- (0, typeorm_1.Column)({ type: "varchar", length: 500, nullable: true, default: "" }),
69
- __metadata("design:type", String)
70
- ], SecurityAccessApproval.prototype, "comment", void 0);
71
- __decorate([
72
- (0, typeorm_1.Column)({
73
- type: "enum",
74
- enum: SecurityAccessApprovalStatus,
75
- default: SecurityAccessApprovalStatus.PENDING,
76
- nullable: false,
77
- }),
78
- __metadata("design:type", String)
79
- ], SecurityAccessApproval.prototype, "approval_status", void 0);
80
- exports.SecurityAccessApproval = SecurityAccessApproval = __decorate([
81
- (0, typeorm_1.Entity)({ name: "security_access_approvals" })
82
- ], SecurityAccessApproval);
@@ -1,12 +0,0 @@
1
- import { BaseModel } from "./BaseModel";
2
- export declare class SecurityAccessRequestAttachment extends BaseModel {
3
- request_id: number;
4
- service_id: number | null;
5
- sub_service_id: number | null;
6
- file_url: string;
7
- file_name: string | null;
8
- file_type: string | null;
9
- file_size: number | null;
10
- attachment_kind: string | null;
11
- uploaded_by: number | null;
12
- }
@@ -1,56 +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.SecurityAccessRequestAttachment = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const BaseModel_1 = require("./BaseModel");
15
- let SecurityAccessRequestAttachment = class SecurityAccessRequestAttachment extends BaseModel_1.BaseModel {
16
- };
17
- exports.SecurityAccessRequestAttachment = SecurityAccessRequestAttachment;
18
- __decorate([
19
- (0, typeorm_1.Column)({ type: "integer", nullable: false }),
20
- __metadata("design:type", Number)
21
- ], SecurityAccessRequestAttachment.prototype, "request_id", void 0);
22
- __decorate([
23
- (0, typeorm_1.Column)({ type: "integer", nullable: true }),
24
- __metadata("design:type", Object)
25
- ], SecurityAccessRequestAttachment.prototype, "service_id", void 0);
26
- __decorate([
27
- (0, typeorm_1.Column)({ type: "integer", nullable: true }),
28
- __metadata("design:type", Object)
29
- ], SecurityAccessRequestAttachment.prototype, "sub_service_id", void 0);
30
- __decorate([
31
- (0, typeorm_1.Column)({ type: "varchar", length: 512, nullable: false }),
32
- __metadata("design:type", String)
33
- ], SecurityAccessRequestAttachment.prototype, "file_url", void 0);
34
- __decorate([
35
- (0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
36
- __metadata("design:type", Object)
37
- ], SecurityAccessRequestAttachment.prototype, "file_name", void 0);
38
- __decorate([
39
- (0, typeorm_1.Column)({ type: "varchar", length: 128, nullable: true }),
40
- __metadata("design:type", Object)
41
- ], SecurityAccessRequestAttachment.prototype, "file_type", void 0);
42
- __decorate([
43
- (0, typeorm_1.Column)({ type: "integer", nullable: true }),
44
- __metadata("design:type", Object)
45
- ], SecurityAccessRequestAttachment.prototype, "file_size", void 0);
46
- __decorate([
47
- (0, typeorm_1.Column)({ type: "varchar", length: 128, nullable: true }),
48
- __metadata("design:type", Object)
49
- ], SecurityAccessRequestAttachment.prototype, "attachment_kind", void 0);
50
- __decorate([
51
- (0, typeorm_1.Column)({ type: "integer", nullable: true }),
52
- __metadata("design:type", Object)
53
- ], SecurityAccessRequestAttachment.prototype, "uploaded_by", void 0);
54
- exports.SecurityAccessRequestAttachment = SecurityAccessRequestAttachment = __decorate([
55
- (0, typeorm_1.Entity)({ name: "security_access_request_attachments" })
56
- ], SecurityAccessRequestAttachment);
@@ -1,12 +0,0 @@
1
- import { BaseModel } from "./BaseModel";
2
- export declare class SecurityAccessRequestChat extends BaseModel {
3
- request_id: number;
4
- service_id: number | null;
5
- sub_service_id: number | null;
6
- user_id: number;
7
- message: string;
8
- message_type: string;
9
- is_internal: boolean;
10
- status: string;
11
- approver_role_id: number | null;
12
- }
@@ -1,56 +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.SecurityAccessRequestChat = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const BaseModel_1 = require("./BaseModel");
15
- let SecurityAccessRequestChat = class SecurityAccessRequestChat extends BaseModel_1.BaseModel {
16
- };
17
- exports.SecurityAccessRequestChat = SecurityAccessRequestChat;
18
- __decorate([
19
- (0, typeorm_1.Column)({ type: "integer", nullable: false }),
20
- __metadata("design:type", Number)
21
- ], SecurityAccessRequestChat.prototype, "request_id", void 0);
22
- __decorate([
23
- (0, typeorm_1.Column)({ type: "integer", nullable: true }),
24
- __metadata("design:type", Object)
25
- ], SecurityAccessRequestChat.prototype, "service_id", void 0);
26
- __decorate([
27
- (0, typeorm_1.Column)({ type: "integer", nullable: true }),
28
- __metadata("design:type", Object)
29
- ], SecurityAccessRequestChat.prototype, "sub_service_id", void 0);
30
- __decorate([
31
- (0, typeorm_1.Column)({ type: "integer", nullable: false }),
32
- __metadata("design:type", Number)
33
- ], SecurityAccessRequestChat.prototype, "user_id", void 0);
34
- __decorate([
35
- (0, typeorm_1.Column)({ type: "text", nullable: false }),
36
- __metadata("design:type", String)
37
- ], SecurityAccessRequestChat.prototype, "message", void 0);
38
- __decorate([
39
- (0, typeorm_1.Column)({ type: "varchar", length: 32, nullable: false, default: "text" }),
40
- __metadata("design:type", String)
41
- ], SecurityAccessRequestChat.prototype, "message_type", void 0);
42
- __decorate([
43
- (0, typeorm_1.Column)({ type: "boolean", default: false }),
44
- __metadata("design:type", Boolean)
45
- ], SecurityAccessRequestChat.prototype, "is_internal", void 0);
46
- __decorate([
47
- (0, typeorm_1.Column)({ type: "varchar", length: 64, nullable: false, default: "Pending" }),
48
- __metadata("design:type", String)
49
- ], SecurityAccessRequestChat.prototype, "status", void 0);
50
- __decorate([
51
- (0, typeorm_1.Column)({ type: "integer", nullable: true }),
52
- __metadata("design:type", Object)
53
- ], SecurityAccessRequestChat.prototype, "approver_role_id", void 0);
54
- exports.SecurityAccessRequestChat = SecurityAccessRequestChat = __decorate([
55
- (0, typeorm_1.Entity)({ name: "security_access_request_chat" })
56
- ], SecurityAccessRequestChat);
@@ -1,25 +0,0 @@
1
- import { BaseModel } from "./BaseModel";
2
- export declare enum SecurityAccessRequestStatus {
3
- Pending = "Pending",
4
- InProgress = "In Progress",
5
- Approved = "Approved",
6
- Rejected = "Rejected",
7
- RFC = "RFC"
8
- }
9
- /** Discriminator for multi-service Security & Access flows (matches requestData.requestKind / workflow). */
10
- export type SecurityAccessRequestKind = "extension_after_60" | "import_export_material" | "extension_working_hours";
11
- export declare class SecurityAccessRequest extends BaseModel {
12
- req_user_department_id: number | null;
13
- req_user_section_id: number | null;
14
- service_id: number | null;
15
- sub_service_id: number | null;
16
- user_id: number;
17
- title: string;
18
- description: string | null;
19
- request_kind: string | null;
20
- directorate: string | null;
21
- form_data: Record<string, unknown> | null;
22
- status: string;
23
- workflow_execution_id: string | null;
24
- assigned_to_user_id: number | null;
25
- }
@@ -1,80 +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.SecurityAccessRequest = exports.SecurityAccessRequestStatus = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const BaseModel_1 = require("./BaseModel");
15
- var SecurityAccessRequestStatus;
16
- (function (SecurityAccessRequestStatus) {
17
- SecurityAccessRequestStatus["Pending"] = "Pending";
18
- SecurityAccessRequestStatus["InProgress"] = "In Progress";
19
- SecurityAccessRequestStatus["Approved"] = "Approved";
20
- SecurityAccessRequestStatus["Rejected"] = "Rejected";
21
- SecurityAccessRequestStatus["RFC"] = "RFC";
22
- })(SecurityAccessRequestStatus || (exports.SecurityAccessRequestStatus = SecurityAccessRequestStatus = {}));
23
- let SecurityAccessRequest = class SecurityAccessRequest extends BaseModel_1.BaseModel {
24
- };
25
- exports.SecurityAccessRequest = SecurityAccessRequest;
26
- __decorate([
27
- (0, typeorm_1.Column)({ type: "integer", nullable: true }),
28
- __metadata("design:type", Object)
29
- ], SecurityAccessRequest.prototype, "req_user_department_id", void 0);
30
- __decorate([
31
- (0, typeorm_1.Column)({ type: "integer", nullable: true }),
32
- __metadata("design:type", Object)
33
- ], SecurityAccessRequest.prototype, "req_user_section_id", void 0);
34
- __decorate([
35
- (0, typeorm_1.Column)({ type: "integer", nullable: true }),
36
- __metadata("design:type", Object)
37
- ], SecurityAccessRequest.prototype, "service_id", void 0);
38
- __decorate([
39
- (0, typeorm_1.Column)({ type: "integer", nullable: true }),
40
- __metadata("design:type", Object)
41
- ], SecurityAccessRequest.prototype, "sub_service_id", void 0);
42
- __decorate([
43
- (0, typeorm_1.Column)({ type: "integer", nullable: false }),
44
- __metadata("design:type", Number)
45
- ], SecurityAccessRequest.prototype, "user_id", void 0);
46
- __decorate([
47
- (0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: false }),
48
- __metadata("design:type", String)
49
- ], SecurityAccessRequest.prototype, "title", void 0);
50
- __decorate([
51
- (0, typeorm_1.Column)({ type: "text", nullable: true }),
52
- __metadata("design:type", Object)
53
- ], SecurityAccessRequest.prototype, "description", void 0);
54
- __decorate([
55
- (0, typeorm_1.Column)({ type: "varchar", length: 64, nullable: true }),
56
- __metadata("design:type", Object)
57
- ], SecurityAccessRequest.prototype, "request_kind", void 0);
58
- __decorate([
59
- (0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
60
- __metadata("design:type", Object)
61
- ], SecurityAccessRequest.prototype, "directorate", void 0);
62
- __decorate([
63
- (0, typeorm_1.Column)({ type: "jsonb", nullable: true }),
64
- __metadata("design:type", Object)
65
- ], SecurityAccessRequest.prototype, "form_data", void 0);
66
- __decorate([
67
- (0, typeorm_1.Column)({ type: "varchar", length: 50, nullable: false, default: SecurityAccessRequestStatus.Pending }),
68
- __metadata("design:type", String)
69
- ], SecurityAccessRequest.prototype, "status", void 0);
70
- __decorate([
71
- (0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
72
- __metadata("design:type", Object)
73
- ], SecurityAccessRequest.prototype, "workflow_execution_id", void 0);
74
- __decorate([
75
- (0, typeorm_1.Column)({ type: "integer", nullable: true }),
76
- __metadata("design:type", Object)
77
- ], SecurityAccessRequest.prototype, "assigned_to_user_id", void 0);
78
- exports.SecurityAccessRequest = SecurityAccessRequest = __decorate([
79
- (0, typeorm_1.Entity)({ name: "security_access_requests" })
80
- ], SecurityAccessRequest);
@@ -1,24 +0,0 @@
1
- import { BaseModel } from "./BaseModel";
2
- export declare enum SecurityAccessWorkFlowStatus {
3
- Pending = "Pending",
4
- InProgress = "In Progress",
5
- Approved = "Approved",
6
- Rejected = "Rejected",
7
- RFC = "RFC"
8
- }
9
- export declare class SecurityAccessWorkflow extends BaseModel {
10
- request_id: number;
11
- service_id: number | null;
12
- sub_service_id: number | null;
13
- workflow_definition_id: number | null;
14
- current_level: number | null;
15
- content: string | null;
16
- status: string;
17
- step_order: number | null;
18
- user_id: number | null;
19
- role_id: number | null;
20
- department_id: number | null;
21
- section_id: number | null;
22
- workflow_data: string | null;
23
- created_by: number;
24
- }
@@ -1,84 +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.SecurityAccessWorkflow = exports.SecurityAccessWorkFlowStatus = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const BaseModel_1 = require("./BaseModel");
15
- var SecurityAccessWorkFlowStatus;
16
- (function (SecurityAccessWorkFlowStatus) {
17
- SecurityAccessWorkFlowStatus["Pending"] = "Pending";
18
- SecurityAccessWorkFlowStatus["InProgress"] = "In Progress";
19
- SecurityAccessWorkFlowStatus["Approved"] = "Approved";
20
- SecurityAccessWorkFlowStatus["Rejected"] = "Rejected";
21
- SecurityAccessWorkFlowStatus["RFC"] = "RFC";
22
- })(SecurityAccessWorkFlowStatus || (exports.SecurityAccessWorkFlowStatus = SecurityAccessWorkFlowStatus = {}));
23
- let SecurityAccessWorkflow = class SecurityAccessWorkflow extends BaseModel_1.BaseModel {
24
- };
25
- exports.SecurityAccessWorkflow = SecurityAccessWorkflow;
26
- __decorate([
27
- (0, typeorm_1.Column)({ type: "int", nullable: false }),
28
- __metadata("design:type", Number)
29
- ], SecurityAccessWorkflow.prototype, "request_id", void 0);
30
- __decorate([
31
- (0, typeorm_1.Column)({ type: "int", nullable: true }),
32
- __metadata("design:type", Object)
33
- ], SecurityAccessWorkflow.prototype, "service_id", void 0);
34
- __decorate([
35
- (0, typeorm_1.Column)({ type: "int", nullable: true }),
36
- __metadata("design:type", Object)
37
- ], SecurityAccessWorkflow.prototype, "sub_service_id", void 0);
38
- __decorate([
39
- (0, typeorm_1.Column)({ type: "int", nullable: true }),
40
- __metadata("design:type", Object)
41
- ], SecurityAccessWorkflow.prototype, "workflow_definition_id", void 0);
42
- __decorate([
43
- (0, typeorm_1.Column)({ type: "int", nullable: true }),
44
- __metadata("design:type", Object)
45
- ], SecurityAccessWorkflow.prototype, "current_level", void 0);
46
- __decorate([
47
- (0, typeorm_1.Column)({ type: "varchar", length: 500, nullable: true }),
48
- __metadata("design:type", Object)
49
- ], SecurityAccessWorkflow.prototype, "content", void 0);
50
- __decorate([
51
- (0, typeorm_1.Column)({ type: "varchar", length: 50, nullable: false }),
52
- __metadata("design:type", String)
53
- ], SecurityAccessWorkflow.prototype, "status", void 0);
54
- __decorate([
55
- (0, typeorm_1.Column)({ type: "int", nullable: true }),
56
- __metadata("design:type", Object)
57
- ], SecurityAccessWorkflow.prototype, "step_order", void 0);
58
- __decorate([
59
- (0, typeorm_1.Column)({ type: "int", nullable: true }),
60
- __metadata("design:type", Object)
61
- ], SecurityAccessWorkflow.prototype, "user_id", void 0);
62
- __decorate([
63
- (0, typeorm_1.Column)({ type: "int", nullable: true }),
64
- __metadata("design:type", Object)
65
- ], SecurityAccessWorkflow.prototype, "role_id", void 0);
66
- __decorate([
67
- (0, typeorm_1.Column)({ type: "int", nullable: true }),
68
- __metadata("design:type", Object)
69
- ], SecurityAccessWorkflow.prototype, "department_id", void 0);
70
- __decorate([
71
- (0, typeorm_1.Column)({ type: "int", nullable: true }),
72
- __metadata("design:type", Object)
73
- ], SecurityAccessWorkflow.prototype, "section_id", void 0);
74
- __decorate([
75
- (0, typeorm_1.Column)({ type: "text", nullable: true }),
76
- __metadata("design:type", Object)
77
- ], SecurityAccessWorkflow.prototype, "workflow_data", void 0);
78
- __decorate([
79
- (0, typeorm_1.Column)({ type: "int", nullable: false }),
80
- __metadata("design:type", Number)
81
- ], SecurityAccessWorkflow.prototype, "created_by", void 0);
82
- exports.SecurityAccessWorkflow = SecurityAccessWorkflow = __decorate([
83
- (0, typeorm_1.Entity)({ name: "security_access_workflow" })
84
- ], SecurityAccessWorkflow);
@@ -1,93 +0,0 @@
1
- import { BaseModel } from "./BaseModel";
2
- export declare enum ServiceExtensionAfterAge60RequestStatus {
3
- Pending = "Pending",
4
- Approved = "Approved",
5
- Rejected = "Rejected",
6
- RFC = "RFC"
7
- }
8
- export declare class ServiceExtensionAfterAge60Request extends BaseModel {
9
- req_user_department_id: number | null;
10
- req_user_section_id: number | null;
11
- service_id: number | null;
12
- sub_service_id: number | null;
13
- user_id: number;
14
- date_of_joining: Date;
15
- grade: string;
16
- reason_for_requesting_extension: string;
17
- years_of_service: string;
18
- requested_extension_duration: string;
19
- proposed_extension_start_date: Date;
20
- proposed_extension_end_date: Date;
21
- acknowledgment_terms: boolean;
22
- description: string | null;
23
- status: string;
24
- workflow_execution_id: string | null;
25
- created_by: number;
26
- }
27
- export declare enum ServiceExtensionAfterAge60ApprovalStatus {
28
- Pending = "Pending",
29
- InProgress = "In Progress",
30
- Approved = "Approved",
31
- Rejected = "Rejected",
32
- Reassigned = "Reassigned"
33
- }
34
- export declare class ServiceExtensionAfterAge60Approval extends BaseModel {
35
- request_id: number;
36
- service_id: number | null;
37
- sub_service_id: number | null;
38
- level: number;
39
- approver_user_id: number | null;
40
- approver_role_id: number | null;
41
- department_id: number | null;
42
- section_id: number | null;
43
- delegate_user_id: number | null;
44
- comment: string;
45
- approval_status: string;
46
- }
47
- export declare enum ServiceExtensionAfterAge60WorkFlowStatus {
48
- Pending = "Pending",
49
- InProgress = "In Progress",
50
- Approved = "Approved",
51
- Rejected = "Rejected",
52
- RFC = "RFC",
53
- Completed = "Completed"
54
- }
55
- export declare class ServiceExtensionAfterAge60Workflow extends BaseModel {
56
- request_id: number;
57
- service_id: number | null;
58
- sub_service_id: number | null;
59
- workflow_definition_id: number | null;
60
- current_level: number | null;
61
- content: string | null;
62
- status: string;
63
- step_order: number | null;
64
- user_id: number | null;
65
- role_id: number | null;
66
- department_id: number | null;
67
- section_id: number | null;
68
- workflow_data: string | null;
69
- created_by: number;
70
- }
71
- export declare class ServiceExtensionAfterAge60Chat extends BaseModel {
72
- request_id: number;
73
- service_id: number;
74
- sub_service_id: number;
75
- user_id: number;
76
- approver_role_id: number | null;
77
- message: string;
78
- message_type: string;
79
- status: string | null;
80
- is_internal: boolean;
81
- created_by: number;
82
- }
83
- export declare class ServiceExtensionAfterAge60Attachment extends BaseModel {
84
- request_id: number;
85
- service_id: number;
86
- sub_service_id: number;
87
- attachment_kind: string | null;
88
- file_name: string;
89
- file_url: string;
90
- file_type: string | null;
91
- file_size: number | null;
92
- created_by: number;
93
- }