@platform-modules/civil-aviation-authority 2.3.149 → 2.3.152

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 (63) hide show
  1. package/.env +10 -10
  2. package/dist/data-source.js +20 -0
  3. package/dist/index.d.ts +22 -0
  4. package/dist/index.js +37 -3
  5. package/dist/models/CancellationApprovalModel.d.ts +23 -0
  6. package/dist/models/CancellationApprovalModel.js +88 -0
  7. package/dist/models/CancellationAttachmentModel.d.ts +12 -0
  8. package/dist/models/CancellationAttachmentModel.js +56 -0
  9. package/dist/models/CancellationChatModel.d.ts +18 -0
  10. package/dist/models/CancellationChatModel.js +65 -0
  11. package/dist/models/CancellationRequestModel.d.ts +23 -0
  12. package/dist/models/CancellationRequestModel.js +73 -0
  13. package/dist/models/CancellationWorkflowModel.d.ts +18 -0
  14. package/dist/models/CancellationWorkflowModel.js +66 -0
  15. package/dist/models/EventSupportApprovalModel.d.ts +23 -0
  16. package/dist/models/EventSupportApprovalModel.js +88 -0
  17. package/dist/models/EventSupportAttachmentModel.d.ts +12 -0
  18. package/dist/models/EventSupportAttachmentModel.js +56 -0
  19. package/dist/models/EventSupportChatModel.d.ts +18 -0
  20. package/dist/models/EventSupportChatModel.js +65 -0
  21. package/dist/models/EventSupportRequestModel.d.ts +27 -0
  22. package/dist/models/EventSupportRequestModel.js +89 -0
  23. package/dist/models/EventSupportWorkflowModel.d.ts +18 -0
  24. package/dist/models/EventSupportWorkflowModel.js +66 -0
  25. package/package.json +1 -1
  26. package/src/data-source.ts +20 -0
  27. package/src/index.ts +22 -0
  28. package/src/models/AccommodationApprovalModel.ts +8 -8
  29. package/src/models/AnnualIncrementRequestEmployeeModel.ts +65 -65
  30. package/src/models/AnnualIncrementRequestModel.ts +25 -25
  31. package/src/models/AppealAgainstAdministrativeDecisionRequestModel.ts +23 -23
  32. package/src/models/CAAServices.ts +33 -33
  33. package/src/models/CAASubServices.ts +33 -33
  34. package/src/models/CAIRatingMasterModel.ts +39 -39
  35. package/src/models/CSRMBusinessImpactRatingMasterModel.ts +25 -25
  36. package/src/models/CSRMLikelihoodMasterModel.ts +25 -25
  37. package/src/models/CancellationApprovalModel.ts +59 -0
  38. package/src/models/CancellationAttachmentModel.ts +32 -0
  39. package/src/models/CancellationChatModel.ts +42 -0
  40. package/src/models/CancellationRequestModel.ts +48 -0
  41. package/src/models/CancellationWorkflowModel.ts +41 -0
  42. package/src/models/CashAllowanceLeaveRequestModel.ts +11 -11
  43. package/src/models/CyberSecurityAuditRequestModel.ts +32 -32
  44. package/src/models/EventSupportApprovalModel.ts +59 -0
  45. package/src/models/EventSupportAttachmentModel.ts +32 -0
  46. package/src/models/EventSupportChatModel.ts +42 -0
  47. package/src/models/EventSupportRequestModel.ts +60 -0
  48. package/src/models/EventSupportWorkflowModel.ts +41 -0
  49. package/src/models/HrServiceRequestModel.ts +193 -193
  50. package/src/models/PerformanceCyclePeriodModel.ts +26 -26
  51. package/src/models/PerformanceGoalMasterModel.ts +27 -27
  52. package/src/models/PerformanceManagementRequestGoalModel.ts +46 -46
  53. package/src/models/PerformanceManagementRequestModel.ts +14 -14
  54. package/src/models/PromotionRequestModel.ts +11 -11
  55. package/src/models/UserSkillModel.ts +56 -56
  56. package/dist/models/ITApprovalSettings.d.ts +0 -7
  57. package/dist/models/ITApprovalSettings.js +0 -40
  58. package/dist/models/ITServicesTypesMuscatModel.d.ts +0 -6
  59. package/dist/models/ITServicesTypesMuscatModel.js +0 -34
  60. package/dist/models/ITServicesTypesSalalahModel.d.ts +0 -6
  61. package/dist/models/ITServicesTypesSalalahModel.js +0 -34
  62. package/dist/models/Workflows.d.ts +0 -9
  63. package/dist/models/Workflows.js +0 -31
package/.env CHANGED
@@ -1,12 +1,12 @@
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
- DB_HOST=localhost
9
- DB_PORT=5432
10
- DB_USER=postgres
11
- DB_PASS=stevejobs
12
- DB_NAME=CAA
8
+ # DB_HOST=localhost
9
+ # DB_PORT=5432
10
+ # DB_USER=postgres
11
+ # DB_PASS=stevejobs
12
+ # DB_NAME=CAA
@@ -121,6 +121,16 @@ const ScholarshipApprovalModel_1 = require("./models/ScholarshipApprovalModel");
121
121
  const ScholarshipAttachmentModel_1 = require("./models/ScholarshipAttachmentModel");
122
122
  const ScholarshipChatModel_1 = require("./models/ScholarshipChatModel");
123
123
  const ScholarshipWorkflowModel_1 = require("./models/ScholarshipWorkflowModel");
124
+ const CancellationRequestModel_1 = require("./models/CancellationRequestModel");
125
+ const CancellationApprovalModel_1 = require("./models/CancellationApprovalModel");
126
+ const CancellationAttachmentModel_1 = require("./models/CancellationAttachmentModel");
127
+ const CancellationChatModel_1 = require("./models/CancellationChatModel");
128
+ const CancellationWorkflowModel_1 = require("./models/CancellationWorkflowModel");
129
+ const EventSupportRequestModel_1 = require("./models/EventSupportRequestModel");
130
+ const EventSupportApprovalModel_1 = require("./models/EventSupportApprovalModel");
131
+ const EventSupportAttachmentModel_1 = require("./models/EventSupportAttachmentModel");
132
+ const EventSupportChatModel_1 = require("./models/EventSupportChatModel");
133
+ const EventSupportWorkflowModel_1 = require("./models/EventSupportWorkflowModel");
124
134
  const AnnualTrainingPlanRequestModel_1 = require("./models/AnnualTrainingPlanRequestModel");
125
135
  const AnnualTrainingPlanWorkflowModel_1 = require("./models/AnnualTrainingPlanWorkflowModel");
126
136
  const AnnualTrainingPlanApprovalModel_1 = require("./models/AnnualTrainingPlanApprovalModel");
@@ -270,6 +280,16 @@ exports.AppDataSource = new typeorm_1.DataSource({
270
280
  ScholarshipAttachmentModel_1.ScholarshipRequestAttachment,
271
281
  ScholarshipChatModel_1.ScholarshipRequestChat,
272
282
  ScholarshipWorkflowModel_1.ScholarshipWorkFlow,
283
+ CancellationRequestModel_1.CancellationRequests,
284
+ CancellationApprovalModel_1.CancellationApprovalDetails,
285
+ CancellationAttachmentModel_1.CancellationRequestAttachment,
286
+ CancellationChatModel_1.CancellationRequestChat,
287
+ CancellationWorkflowModel_1.CancellationWorkFlow,
288
+ EventSupportRequestModel_1.EventSupportRequests,
289
+ EventSupportApprovalModel_1.EventSupportApprovalDetails,
290
+ EventSupportAttachmentModel_1.EventSupportRequestAttachment,
291
+ EventSupportChatModel_1.EventSupportRequestChat,
292
+ EventSupportWorkflowModel_1.EventSupportWorkFlow,
273
293
  AnnualTrainingPlanRequestModel_1.AnnualTrainingPlanRequest,
274
294
  AnnualTrainingPlanWorkflowModel_1.AnnualTrainingPlanWorkFlow,
275
295
  AnnualTrainingPlanApprovalModel_1.AnnualTrainingPlanApprovalDetails,
package/dist/index.d.ts CHANGED
@@ -94,6 +94,28 @@ export * from './models/ScholarshipApprovalModel';
94
94
  export * from './models/ScholarshipAttachmentModel';
95
95
  export * from './models/ScholarshipChatModel';
96
96
  export * from './models/ScholarshipWorkflowModel';
97
+ export * from './models/CancellationRequestModel';
98
+ export * from './models/CancellationApprovalModel';
99
+ export * from './models/CancellationAttachmentModel';
100
+ export * from './models/CancellationChatModel';
101
+ export * from './models/CancellationWorkflowModel';
102
+ export * from './models/EventSupportRequestModel';
103
+ export * from './models/EventSupportApprovalModel';
104
+ export * from './models/EventSupportAttachmentModel';
105
+ export * from './models/EventSupportChatModel';
106
+ export * from './models/EventSupportWorkflowModel';
107
+ export { CancellationRequestStatus } from './models/CancellationRequestModel';
108
+ export { EventSupportRequestStatus } from './models/EventSupportRequestModel';
109
+ export { EventSupportApprovalStatus } from './models/EventSupportApprovalModel';
110
+ export { EventSupportWorkFlowStatus } from './models/EventSupportWorkflowModel';
111
+ export { EventSupportRequestAttachment } from './models/EventSupportAttachmentModel';
112
+ export { EventSupportRequestChat } from './models/EventSupportChatModel';
113
+ export { EventSupportMessageType } from './models/EventSupportChatModel';
114
+ export { CancellationApprovalStatus } from './models/CancellationApprovalModel';
115
+ export { CancellationWorkFlowStatus } from './models/CancellationWorkflowModel';
116
+ export { CancellationRequestAttachment } from './models/CancellationAttachmentModel';
117
+ export { CancellationRequestChat } from './models/CancellationChatModel';
118
+ export { CancellationMessageType } from './models/CancellationChatModel';
97
119
  export { HrServiceRequestStatus } from './models/HrServiceRequestModel';
98
120
  export { HrServiceApprovalStatus } from './models/HrServiceApprovalModel';
99
121
  export { HrServiceWorkFlowStatus } from './models/HrServiceWorkflowModel';
package/dist/index.js CHANGED
@@ -14,9 +14,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.RequestForCoverageWorkFlowStatus = exports.RequestForCoverageNewsSize = exports.RequestForCoverageRequestStatus = exports.ServiceTransferRequestType = exports.SalaryDetailsType = exports.ServiceTransferRequestStatus = exports.TemporaryAssignmentRequestType = exports.TemporaryAssignmentRequestStatus = exports.SecondmentRequestStatus = exports.TrainingRoomBookingChatStatus = exports.TrainingRoomBookingMessageType = exports.TrainingRoomBookingRequestChat = exports.TrainingRoomBookingRequestAttachment = exports.TrainingRoomBookingWorkFlowStatus = exports.TrainingRoomBookingApprovalStatus = exports.TrainingRoomBookingRoomType = exports.TrainingRoomBookingRequestStatus = exports.AnnualTrainingPlanChatStatus = exports.AnnualTrainingPlanMessageType = exports.AnnualTrainingPlanRequestChat = exports.AnnualTrainingPlanRequestAttachment = exports.AnnualTrainingPlanWorkFlowStatus = exports.AnnualTrainingPlanApprovalStatus = exports.AnnualTrainingPlanPlace = exports.AnnualTrainingPlanRequestStatus = exports.StudyLeaveChatStatus = exports.StudyLeaveMessageType = exports.StudyLeaveRequestChat = exports.StudyLeaveRequestAttachment = exports.StudyLeaveWorkFlowStatus = exports.StudyLeaveApprovalStatus = exports.StudyLeaveRequestStatus = exports.TrainingMessageType = exports.TrainingRequestChat = exports.TrainingRequestAttachment = exports.TrainingWorkFlowStatus = exports.TrainingApprovalStatus = exports.TrainingRequestStatus = exports.HrServiceChatStatus = exports.HrServiceMessageType = exports.HrServiceRequestChat = exports.HrServiceRequestAttachment = exports.HrServiceWorkFlowStatus = exports.HrServiceApprovalStatus = exports.HrServiceRequestStatus = exports.LogisticsVehicleMaintenanceWorkFlowStatus = exports.LogisticsVehicleMaintenanceMessageType = exports.LogisticsVehicleMaintenanceApprovalStatus = exports.VehicleMaintenanceStatus = exports.VehicleMaintenanceType = void 0;
18
- exports.PerformanceManagementRequestStatus = exports.SkillsEnhancementRequestStatus = exports.AnnualIncrementRequestStatus = exports.PromotionRequestStatus = exports.CashAllowanceLeaveRequestStatus = exports.NotificationFrequency = exports.ServicesNotificationTriggerType = exports.NewResourceRequestStatus = exports.JobTransferRequestStatus = exports.AppealAgainstAdministrativeDecisionRequestStatus = exports.AppealAgainstAdministrativeDecisionRequest = exports.LegalContractReviewRequestType = exports.LegalContractReviewRequestStatus = exports.LegalContractReviewRequest = exports.CyberSecurityRiskImpactedCategory = exports.CyberSecurityRiskManagementRisk = exports.CyberSecurityRiskManagementRequestStatus = exports.CyberSecurityRiskManagementRequest = exports.CyberSecurityAuditApplicationType = exports.CyberSecurityAuditClassification = exports.CyberSecurityAuditRequestStatus = exports.CyberSecurityAuditRequest = exports.RequestForVaptClassification = exports.RequestForVaptType = exports.RequestForVaptStatus = exports.RequestForVaptRequest = exports.InformationSecurityRequestAttachment = exports.InformationSecurityWorkFlow = exports.InformationSecurityWorkFlowStatus = exports.InformationSecurityRequestChat = exports.InformationSecurityChatStatus = exports.InformationSecurityMessageType = exports.InformationSecurityApprovalDetails = exports.InformationSecurityApprovalStatus = exports.RequestForProjectApproval = exports.RequestForProjectApprovalStatus = exports.ShiftAllowanceValue = exports.ShiftAllowanceRequestStatus = exports.AssignTasksEmpMessageType = exports.AssignTasksEmpRequestChat = exports.AssignTasksEmpRequestAttachment = exports.AssignTasksEmpWorkFlowStatus = exports.AssignTasksEmpApprovalStatus = exports.AssignTasksEmpPriority = exports.AssignTasksEmpStatus = exports.RequestForCoverageRequestAttachment = exports.RequestForCoverageChatStatus = exports.RequestForCoverageMessageType = exports.RequestForCoverageRequestChat = exports.RequestForCoverageApprovalStatus = void 0;
19
- exports.DurationUnit = exports.RepeatFrequency = exports.Quarter = exports.HumanResourceAnnualPlanningRequestStatus = exports.PerformanceManagementCyclePeriod = void 0;
17
+ exports.TrainingRoomBookingRequestAttachment = exports.TrainingRoomBookingWorkFlowStatus = exports.TrainingRoomBookingApprovalStatus = exports.TrainingRoomBookingRoomType = exports.TrainingRoomBookingRequestStatus = exports.AnnualTrainingPlanChatStatus = exports.AnnualTrainingPlanMessageType = exports.AnnualTrainingPlanRequestChat = exports.AnnualTrainingPlanRequestAttachment = exports.AnnualTrainingPlanWorkFlowStatus = exports.AnnualTrainingPlanApprovalStatus = exports.AnnualTrainingPlanPlace = exports.AnnualTrainingPlanRequestStatus = exports.StudyLeaveChatStatus = exports.StudyLeaveMessageType = exports.StudyLeaveRequestChat = exports.StudyLeaveRequestAttachment = exports.StudyLeaveWorkFlowStatus = exports.StudyLeaveApprovalStatus = exports.StudyLeaveRequestStatus = exports.TrainingMessageType = exports.TrainingRequestChat = exports.TrainingRequestAttachment = exports.TrainingWorkFlowStatus = exports.TrainingApprovalStatus = exports.TrainingRequestStatus = exports.HrServiceChatStatus = exports.HrServiceMessageType = exports.HrServiceRequestChat = exports.HrServiceRequestAttachment = exports.HrServiceWorkFlowStatus = exports.HrServiceApprovalStatus = exports.HrServiceRequestStatus = exports.CancellationMessageType = exports.CancellationRequestChat = exports.CancellationRequestAttachment = exports.CancellationWorkFlowStatus = exports.CancellationApprovalStatus = exports.EventSupportMessageType = exports.EventSupportRequestChat = exports.EventSupportRequestAttachment = exports.EventSupportWorkFlowStatus = exports.EventSupportApprovalStatus = exports.EventSupportRequestStatus = exports.CancellationRequestStatus = exports.LogisticsVehicleMaintenanceWorkFlowStatus = exports.LogisticsVehicleMaintenanceMessageType = exports.LogisticsVehicleMaintenanceApprovalStatus = exports.VehicleMaintenanceStatus = exports.VehicleMaintenanceType = void 0;
18
+ exports.LegalContractReviewRequestStatus = exports.LegalContractReviewRequest = exports.CyberSecurityRiskImpactedCategory = exports.CyberSecurityRiskManagementRisk = exports.CyberSecurityRiskManagementRequestStatus = exports.CyberSecurityRiskManagementRequest = exports.CyberSecurityAuditApplicationType = exports.CyberSecurityAuditClassification = exports.CyberSecurityAuditRequestStatus = exports.CyberSecurityAuditRequest = exports.RequestForVaptClassification = exports.RequestForVaptType = exports.RequestForVaptStatus = exports.RequestForVaptRequest = exports.InformationSecurityRequestAttachment = exports.InformationSecurityWorkFlow = exports.InformationSecurityWorkFlowStatus = exports.InformationSecurityRequestChat = exports.InformationSecurityChatStatus = exports.InformationSecurityMessageType = exports.InformationSecurityApprovalDetails = exports.InformationSecurityApprovalStatus = exports.RequestForProjectApproval = exports.RequestForProjectApprovalStatus = exports.ShiftAllowanceValue = exports.ShiftAllowanceRequestStatus = exports.AssignTasksEmpMessageType = exports.AssignTasksEmpRequestChat = exports.AssignTasksEmpRequestAttachment = exports.AssignTasksEmpWorkFlowStatus = exports.AssignTasksEmpApprovalStatus = exports.AssignTasksEmpPriority = exports.AssignTasksEmpStatus = exports.RequestForCoverageRequestAttachment = exports.RequestForCoverageChatStatus = exports.RequestForCoverageMessageType = exports.RequestForCoverageRequestChat = exports.RequestForCoverageApprovalStatus = exports.RequestForCoverageWorkFlowStatus = exports.RequestForCoverageNewsSize = exports.RequestForCoverageRequestStatus = exports.ServiceTransferRequestType = exports.SalaryDetailsType = exports.ServiceTransferRequestStatus = exports.TemporaryAssignmentRequestType = exports.TemporaryAssignmentRequestStatus = exports.SecondmentRequestStatus = exports.TrainingRoomBookingChatStatus = exports.TrainingRoomBookingMessageType = exports.TrainingRoomBookingRequestChat = void 0;
19
+ exports.DurationUnit = exports.RepeatFrequency = exports.Quarter = exports.HumanResourceAnnualPlanningRequestStatus = exports.PerformanceManagementCyclePeriod = exports.PerformanceManagementRequestStatus = exports.SkillsEnhancementRequestStatus = exports.AnnualIncrementRequestStatus = exports.PromotionRequestStatus = exports.CashAllowanceLeaveRequestStatus = exports.NotificationFrequency = exports.ServicesNotificationTriggerType = exports.NewResourceRequestStatus = exports.JobTransferRequestStatus = exports.AppealAgainstAdministrativeDecisionRequestStatus = exports.AppealAgainstAdministrativeDecisionRequest = exports.LegalContractReviewRequestType = void 0;
20
20
  __exportStar(require("./models/user"), exports);
21
21
  __exportStar(require("./models/role"), exports);
22
22
  __exportStar(require("./models/user-sessions"), exports);
@@ -122,6 +122,40 @@ __exportStar(require("./models/ScholarshipApprovalModel"), exports);
122
122
  __exportStar(require("./models/ScholarshipAttachmentModel"), exports);
123
123
  __exportStar(require("./models/ScholarshipChatModel"), exports);
124
124
  __exportStar(require("./models/ScholarshipWorkflowModel"), exports);
125
+ __exportStar(require("./models/CancellationRequestModel"), exports);
126
+ __exportStar(require("./models/CancellationApprovalModel"), exports);
127
+ __exportStar(require("./models/CancellationAttachmentModel"), exports);
128
+ __exportStar(require("./models/CancellationChatModel"), exports);
129
+ __exportStar(require("./models/CancellationWorkflowModel"), exports);
130
+ __exportStar(require("./models/EventSupportRequestModel"), exports);
131
+ __exportStar(require("./models/EventSupportApprovalModel"), exports);
132
+ __exportStar(require("./models/EventSupportAttachmentModel"), exports);
133
+ __exportStar(require("./models/EventSupportChatModel"), exports);
134
+ __exportStar(require("./models/EventSupportWorkflowModel"), exports);
135
+ var CancellationRequestModel_1 = require("./models/CancellationRequestModel");
136
+ Object.defineProperty(exports, "CancellationRequestStatus", { enumerable: true, get: function () { return CancellationRequestModel_1.CancellationRequestStatus; } });
137
+ var EventSupportRequestModel_1 = require("./models/EventSupportRequestModel");
138
+ Object.defineProperty(exports, "EventSupportRequestStatus", { enumerable: true, get: function () { return EventSupportRequestModel_1.EventSupportRequestStatus; } });
139
+ var EventSupportApprovalModel_1 = require("./models/EventSupportApprovalModel");
140
+ Object.defineProperty(exports, "EventSupportApprovalStatus", { enumerable: true, get: function () { return EventSupportApprovalModel_1.EventSupportApprovalStatus; } });
141
+ var EventSupportWorkflowModel_1 = require("./models/EventSupportWorkflowModel");
142
+ Object.defineProperty(exports, "EventSupportWorkFlowStatus", { enumerable: true, get: function () { return EventSupportWorkflowModel_1.EventSupportWorkFlowStatus; } });
143
+ var EventSupportAttachmentModel_1 = require("./models/EventSupportAttachmentModel");
144
+ Object.defineProperty(exports, "EventSupportRequestAttachment", { enumerable: true, get: function () { return EventSupportAttachmentModel_1.EventSupportRequestAttachment; } });
145
+ var EventSupportChatModel_1 = require("./models/EventSupportChatModel");
146
+ Object.defineProperty(exports, "EventSupportRequestChat", { enumerable: true, get: function () { return EventSupportChatModel_1.EventSupportRequestChat; } });
147
+ var EventSupportChatModel_2 = require("./models/EventSupportChatModel");
148
+ Object.defineProperty(exports, "EventSupportMessageType", { enumerable: true, get: function () { return EventSupportChatModel_2.EventSupportMessageType; } });
149
+ var CancellationApprovalModel_1 = require("./models/CancellationApprovalModel");
150
+ Object.defineProperty(exports, "CancellationApprovalStatus", { enumerable: true, get: function () { return CancellationApprovalModel_1.CancellationApprovalStatus; } });
151
+ var CancellationWorkflowModel_1 = require("./models/CancellationWorkflowModel");
152
+ Object.defineProperty(exports, "CancellationWorkFlowStatus", { enumerable: true, get: function () { return CancellationWorkflowModel_1.CancellationWorkFlowStatus; } });
153
+ var CancellationAttachmentModel_1 = require("./models/CancellationAttachmentModel");
154
+ Object.defineProperty(exports, "CancellationRequestAttachment", { enumerable: true, get: function () { return CancellationAttachmentModel_1.CancellationRequestAttachment; } });
155
+ var CancellationChatModel_1 = require("./models/CancellationChatModel");
156
+ Object.defineProperty(exports, "CancellationRequestChat", { enumerable: true, get: function () { return CancellationChatModel_1.CancellationRequestChat; } });
157
+ var CancellationChatModel_2 = require("./models/CancellationChatModel");
158
+ Object.defineProperty(exports, "CancellationMessageType", { enumerable: true, get: function () { return CancellationChatModel_2.CancellationMessageType; } });
125
159
  var HrServiceRequestModel_1 = require("./models/HrServiceRequestModel");
126
160
  Object.defineProperty(exports, "HrServiceRequestStatus", { enumerable: true, get: function () { return HrServiceRequestModel_1.HrServiceRequestStatus; } });
127
161
  var HrServiceApprovalModel_1 = require("./models/HrServiceApprovalModel");
@@ -0,0 +1,23 @@
1
+ import { BaseModel } from "./BaseModel";
2
+ export declare enum CancellationApprovalStatus {
3
+ PENDING = "Pending",
4
+ IN_PROGRESS = "In Progress",
5
+ APPROVED = "Approved",
6
+ REJECTED = "Rejected"
7
+ }
8
+ export declare class CancellationApprovalDetails extends BaseModel {
9
+ request_id: number;
10
+ service_id: number | null;
11
+ sub_service_id: number | null;
12
+ level: number;
13
+ workflow_step_order: number | null;
14
+ approver_role_id: number | null;
15
+ department_id: number | null;
16
+ section_id: number | null;
17
+ approver_user_id: number | null;
18
+ delegate_user_id: number | null;
19
+ approved_by: number | null;
20
+ comment: string;
21
+ approval_status: CancellationApprovalStatus;
22
+ is_allowed: boolean;
23
+ }
@@ -0,0 +1,88 @@
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.CancellationApprovalDetails = exports.CancellationApprovalStatus = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const BaseModel_1 = require("./BaseModel");
15
+ var CancellationApprovalStatus;
16
+ (function (CancellationApprovalStatus) {
17
+ CancellationApprovalStatus["PENDING"] = "Pending";
18
+ CancellationApprovalStatus["IN_PROGRESS"] = "In Progress";
19
+ CancellationApprovalStatus["APPROVED"] = "Approved";
20
+ CancellationApprovalStatus["REJECTED"] = "Rejected";
21
+ })(CancellationApprovalStatus || (exports.CancellationApprovalStatus = CancellationApprovalStatus = {}));
22
+ let CancellationApprovalDetails = class CancellationApprovalDetails extends BaseModel_1.BaseModel {
23
+ };
24
+ exports.CancellationApprovalDetails = CancellationApprovalDetails;
25
+ __decorate([
26
+ (0, typeorm_1.Column)({ type: "integer", nullable: false }),
27
+ __metadata("design:type", Number)
28
+ ], CancellationApprovalDetails.prototype, "request_id", void 0);
29
+ __decorate([
30
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
31
+ __metadata("design:type", Object)
32
+ ], CancellationApprovalDetails.prototype, "service_id", void 0);
33
+ __decorate([
34
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
35
+ __metadata("design:type", Object)
36
+ ], CancellationApprovalDetails.prototype, "sub_service_id", void 0);
37
+ __decorate([
38
+ (0, typeorm_1.Column)({ type: "integer", nullable: false }),
39
+ __metadata("design:type", Number)
40
+ ], CancellationApprovalDetails.prototype, "level", void 0);
41
+ __decorate([
42
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
43
+ __metadata("design:type", Object)
44
+ ], CancellationApprovalDetails.prototype, "workflow_step_order", void 0);
45
+ __decorate([
46
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
47
+ __metadata("design:type", Object)
48
+ ], CancellationApprovalDetails.prototype, "approver_role_id", void 0);
49
+ __decorate([
50
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
51
+ __metadata("design:type", Object)
52
+ ], CancellationApprovalDetails.prototype, "department_id", void 0);
53
+ __decorate([
54
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
55
+ __metadata("design:type", Object)
56
+ ], CancellationApprovalDetails.prototype, "section_id", void 0);
57
+ __decorate([
58
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
59
+ __metadata("design:type", Object)
60
+ ], CancellationApprovalDetails.prototype, "approver_user_id", void 0);
61
+ __decorate([
62
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
63
+ __metadata("design:type", Object)
64
+ ], CancellationApprovalDetails.prototype, "delegate_user_id", void 0);
65
+ __decorate([
66
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
67
+ __metadata("design:type", Object)
68
+ ], CancellationApprovalDetails.prototype, "approved_by", void 0);
69
+ __decorate([
70
+ (0, typeorm_1.Column)({ type: "varchar", length: 500, nullable: true, default: "" }),
71
+ __metadata("design:type", String)
72
+ ], CancellationApprovalDetails.prototype, "comment", void 0);
73
+ __decorate([
74
+ (0, typeorm_1.Column)({
75
+ type: "enum",
76
+ enum: CancellationApprovalStatus,
77
+ default: CancellationApprovalStatus.PENDING,
78
+ nullable: false,
79
+ }),
80
+ __metadata("design:type", String)
81
+ ], CancellationApprovalDetails.prototype, "approval_status", void 0);
82
+ __decorate([
83
+ (0, typeorm_1.Column)({ type: "boolean", default: true, nullable: false }),
84
+ __metadata("design:type", Boolean)
85
+ ], CancellationApprovalDetails.prototype, "is_allowed", void 0);
86
+ exports.CancellationApprovalDetails = CancellationApprovalDetails = __decorate([
87
+ (0, typeorm_1.Entity)({ name: "cancellation_approvals" })
88
+ ], CancellationApprovalDetails);
@@ -0,0 +1,12 @@
1
+ import { BaseModel } from "./BaseModel";
2
+ export declare class CancellationRequestAttachment 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;
8
+ file_type: string;
9
+ file_size: number | null;
10
+ chat_id: number | null;
11
+ attachment_for: string | null;
12
+ }
@@ -0,0 +1,56 @@
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.CancellationRequestAttachment = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const BaseModel_1 = require("./BaseModel");
15
+ let CancellationRequestAttachment = class CancellationRequestAttachment extends BaseModel_1.BaseModel {
16
+ };
17
+ exports.CancellationRequestAttachment = CancellationRequestAttachment;
18
+ __decorate([
19
+ (0, typeorm_1.Column)({ type: "integer", nullable: false }),
20
+ __metadata("design:type", Number)
21
+ ], CancellationRequestAttachment.prototype, "request_id", void 0);
22
+ __decorate([
23
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
24
+ __metadata("design:type", Object)
25
+ ], CancellationRequestAttachment.prototype, "service_id", void 0);
26
+ __decorate([
27
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
28
+ __metadata("design:type", Object)
29
+ ], CancellationRequestAttachment.prototype, "sub_service_id", void 0);
30
+ __decorate([
31
+ (0, typeorm_1.Column)({ type: "varchar", length: 500, nullable: false }),
32
+ __metadata("design:type", String)
33
+ ], CancellationRequestAttachment.prototype, "file_url", void 0);
34
+ __decorate([
35
+ (0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
36
+ __metadata("design:type", String)
37
+ ], CancellationRequestAttachment.prototype, "file_name", void 0);
38
+ __decorate([
39
+ (0, typeorm_1.Column)({ type: "varchar", length: 100, nullable: true }),
40
+ __metadata("design:type", String)
41
+ ], CancellationRequestAttachment.prototype, "file_type", void 0);
42
+ __decorate([
43
+ (0, typeorm_1.Column)({ type: "bigint", nullable: true }),
44
+ __metadata("design:type", Object)
45
+ ], CancellationRequestAttachment.prototype, "file_size", void 0);
46
+ __decorate([
47
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
48
+ __metadata("design:type", Object)
49
+ ], CancellationRequestAttachment.prototype, "chat_id", void 0);
50
+ __decorate([
51
+ (0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
52
+ __metadata("design:type", Object)
53
+ ], CancellationRequestAttachment.prototype, "attachment_for", void 0);
54
+ exports.CancellationRequestAttachment = CancellationRequestAttachment = __decorate([
55
+ (0, typeorm_1.Entity)({ name: "cancellation_attachments" })
56
+ ], CancellationRequestAttachment);
@@ -0,0 +1,18 @@
1
+ import { BaseModel } from "./BaseModel";
2
+ export declare enum CancellationMessageType {
3
+ TEXT = "text",
4
+ IMAGE = "image",
5
+ VIDEO = "video",
6
+ FILE = "file",
7
+ LINK = "link"
8
+ }
9
+ export declare class CancellationRequestChat extends BaseModel {
10
+ request_id: number;
11
+ service_id: number | null;
12
+ sub_service_id: number | null;
13
+ user_id: number;
14
+ role_id: number | null;
15
+ message: string;
16
+ messageType: CancellationMessageType;
17
+ status: string | null;
18
+ }
@@ -0,0 +1,65 @@
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.CancellationRequestChat = exports.CancellationMessageType = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const BaseModel_1 = require("./BaseModel");
15
+ var CancellationMessageType;
16
+ (function (CancellationMessageType) {
17
+ CancellationMessageType["TEXT"] = "text";
18
+ CancellationMessageType["IMAGE"] = "image";
19
+ CancellationMessageType["VIDEO"] = "video";
20
+ CancellationMessageType["FILE"] = "file";
21
+ CancellationMessageType["LINK"] = "link";
22
+ })(CancellationMessageType || (exports.CancellationMessageType = CancellationMessageType = {}));
23
+ let CancellationRequestChat = class CancellationRequestChat extends BaseModel_1.BaseModel {
24
+ };
25
+ exports.CancellationRequestChat = CancellationRequestChat;
26
+ __decorate([
27
+ (0, typeorm_1.Column)({ type: "integer", nullable: false }),
28
+ __metadata("design:type", Number)
29
+ ], CancellationRequestChat.prototype, "request_id", void 0);
30
+ __decorate([
31
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
32
+ __metadata("design:type", Object)
33
+ ], CancellationRequestChat.prototype, "service_id", void 0);
34
+ __decorate([
35
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
36
+ __metadata("design:type", Object)
37
+ ], CancellationRequestChat.prototype, "sub_service_id", void 0);
38
+ __decorate([
39
+ (0, typeorm_1.Column)({ type: "integer", nullable: false }),
40
+ __metadata("design:type", Number)
41
+ ], CancellationRequestChat.prototype, "user_id", void 0);
42
+ __decorate([
43
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
44
+ __metadata("design:type", Object)
45
+ ], CancellationRequestChat.prototype, "role_id", void 0);
46
+ __decorate([
47
+ (0, typeorm_1.Column)({ type: "text", nullable: false }),
48
+ __metadata("design:type", String)
49
+ ], CancellationRequestChat.prototype, "message", void 0);
50
+ __decorate([
51
+ (0, typeorm_1.Column)({
52
+ type: "enum",
53
+ enum: CancellationMessageType,
54
+ default: CancellationMessageType.TEXT,
55
+ nullable: false,
56
+ }),
57
+ __metadata("design:type", String)
58
+ ], CancellationRequestChat.prototype, "messageType", void 0);
59
+ __decorate([
60
+ (0, typeorm_1.Column)({ type: "text", nullable: true }),
61
+ __metadata("design:type", Object)
62
+ ], CancellationRequestChat.prototype, "status", void 0);
63
+ exports.CancellationRequestChat = CancellationRequestChat = __decorate([
64
+ (0, typeorm_1.Entity)({ name: "cancellation_chats" })
65
+ ], CancellationRequestChat);
@@ -0,0 +1,23 @@
1
+ import { BaseModel } from "./BaseModel";
2
+ export declare enum CancellationRequestStatus {
3
+ PENDING = "Pending",
4
+ ASSIGNED = "Assigned",
5
+ IN_PROGRESS = "In Progress",
6
+ APPROVED = "Approved",
7
+ REJECTED = "Rejected",
8
+ CANCELLED = "Cancelled"
9
+ }
10
+ export declare class CancellationRequests extends BaseModel {
11
+ req_user_department_id: number | null;
12
+ req_user_section_id: number | null;
13
+ service_id: number | null;
14
+ sub_service_id: number | null;
15
+ user_id: number;
16
+ status: CancellationRequestStatus;
17
+ workflow_execution_id: string | null;
18
+ old_request_number: number;
19
+ reason_for_cancellation: string;
20
+ description: string;
21
+ /** Optional user IDs for “affected participants” notification fan-out */
22
+ affected_participant_user_ids: number[] | null;
23
+ }
@@ -0,0 +1,73 @@
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.CancellationRequests = exports.CancellationRequestStatus = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const BaseModel_1 = require("./BaseModel");
15
+ var CancellationRequestStatus;
16
+ (function (CancellationRequestStatus) {
17
+ CancellationRequestStatus["PENDING"] = "Pending";
18
+ CancellationRequestStatus["ASSIGNED"] = "Assigned";
19
+ CancellationRequestStatus["IN_PROGRESS"] = "In Progress";
20
+ CancellationRequestStatus["APPROVED"] = "Approved";
21
+ CancellationRequestStatus["REJECTED"] = "Rejected";
22
+ CancellationRequestStatus["CANCELLED"] = "Cancelled";
23
+ })(CancellationRequestStatus || (exports.CancellationRequestStatus = CancellationRequestStatus = {}));
24
+ let CancellationRequests = class CancellationRequests extends BaseModel_1.BaseModel {
25
+ };
26
+ exports.CancellationRequests = CancellationRequests;
27
+ __decorate([
28
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
29
+ __metadata("design:type", Object)
30
+ ], CancellationRequests.prototype, "req_user_department_id", void 0);
31
+ __decorate([
32
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
33
+ __metadata("design:type", Object)
34
+ ], CancellationRequests.prototype, "req_user_section_id", void 0);
35
+ __decorate([
36
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
37
+ __metadata("design:type", Object)
38
+ ], CancellationRequests.prototype, "service_id", void 0);
39
+ __decorate([
40
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
41
+ __metadata("design:type", Object)
42
+ ], CancellationRequests.prototype, "sub_service_id", void 0);
43
+ __decorate([
44
+ (0, typeorm_1.Column)({ type: "integer", nullable: false }),
45
+ __metadata("design:type", Number)
46
+ ], CancellationRequests.prototype, "user_id", void 0);
47
+ __decorate([
48
+ (0, typeorm_1.Column)({ type: "enum", enum: CancellationRequestStatus, default: CancellationRequestStatus.PENDING, nullable: false }),
49
+ __metadata("design:type", String)
50
+ ], CancellationRequests.prototype, "status", void 0);
51
+ __decorate([
52
+ (0, typeorm_1.Column)({ type: "varchar", nullable: true }),
53
+ __metadata("design:type", Object)
54
+ ], CancellationRequests.prototype, "workflow_execution_id", void 0);
55
+ __decorate([
56
+ (0, typeorm_1.Column)({ type: "integer", nullable: false }),
57
+ __metadata("design:type", Number)
58
+ ], CancellationRequests.prototype, "old_request_number", void 0);
59
+ __decorate([
60
+ (0, typeorm_1.Column)({ type: "varchar", length: 500, nullable: false }),
61
+ __metadata("design:type", String)
62
+ ], CancellationRequests.prototype, "reason_for_cancellation", void 0);
63
+ __decorate([
64
+ (0, typeorm_1.Column)({ type: "text", nullable: false }),
65
+ __metadata("design:type", String)
66
+ ], CancellationRequests.prototype, "description", void 0);
67
+ __decorate([
68
+ (0, typeorm_1.Column)({ type: "json", nullable: true }),
69
+ __metadata("design:type", Object)
70
+ ], CancellationRequests.prototype, "affected_participant_user_ids", void 0);
71
+ exports.CancellationRequests = CancellationRequests = __decorate([
72
+ (0, typeorm_1.Entity)({ name: "cancellation_requests" })
73
+ ], CancellationRequests);
@@ -0,0 +1,18 @@
1
+ import { BaseModel } from "./BaseModel";
2
+ export declare enum CancellationWorkFlowStatus {
3
+ COMPLETED = "Completed",
4
+ NOT_YET_STARTED = "Not Yet Started",
5
+ PENDING = "Pending"
6
+ }
7
+ export declare class CancellationWorkFlow extends BaseModel {
8
+ request_id: number;
9
+ service_id: number | null;
10
+ sub_service_id: number | null;
11
+ content: string;
12
+ status: CancellationWorkFlowStatus;
13
+ user_id: number | null;
14
+ role_id: number | null;
15
+ department_id: number | null;
16
+ section_id: number | null;
17
+ step_order: number | null;
18
+ }
@@ -0,0 +1,66 @@
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.CancellationWorkFlow = exports.CancellationWorkFlowStatus = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const BaseModel_1 = require("./BaseModel");
15
+ var CancellationWorkFlowStatus;
16
+ (function (CancellationWorkFlowStatus) {
17
+ CancellationWorkFlowStatus["COMPLETED"] = "Completed";
18
+ CancellationWorkFlowStatus["NOT_YET_STARTED"] = "Not Yet Started";
19
+ CancellationWorkFlowStatus["PENDING"] = "Pending";
20
+ })(CancellationWorkFlowStatus || (exports.CancellationWorkFlowStatus = CancellationWorkFlowStatus = {}));
21
+ let CancellationWorkFlow = class CancellationWorkFlow extends BaseModel_1.BaseModel {
22
+ };
23
+ exports.CancellationWorkFlow = CancellationWorkFlow;
24
+ __decorate([
25
+ (0, typeorm_1.Column)({ type: "integer", nullable: false }),
26
+ __metadata("design:type", Number)
27
+ ], CancellationWorkFlow.prototype, "request_id", void 0);
28
+ __decorate([
29
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
30
+ __metadata("design:type", Object)
31
+ ], CancellationWorkFlow.prototype, "service_id", void 0);
32
+ __decorate([
33
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
34
+ __metadata("design:type", Object)
35
+ ], CancellationWorkFlow.prototype, "sub_service_id", void 0);
36
+ __decorate([
37
+ (0, typeorm_1.Column)({ type: "varchar", length: 500, nullable: false }),
38
+ __metadata("design:type", String)
39
+ ], CancellationWorkFlow.prototype, "content", void 0);
40
+ __decorate([
41
+ (0, typeorm_1.Column)({ type: "enum", enum: CancellationWorkFlowStatus, default: CancellationWorkFlowStatus.NOT_YET_STARTED, nullable: false }),
42
+ __metadata("design:type", String)
43
+ ], CancellationWorkFlow.prototype, "status", void 0);
44
+ __decorate([
45
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
46
+ __metadata("design:type", Object)
47
+ ], CancellationWorkFlow.prototype, "user_id", void 0);
48
+ __decorate([
49
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
50
+ __metadata("design:type", Object)
51
+ ], CancellationWorkFlow.prototype, "role_id", void 0);
52
+ __decorate([
53
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
54
+ __metadata("design:type", Object)
55
+ ], CancellationWorkFlow.prototype, "department_id", void 0);
56
+ __decorate([
57
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
58
+ __metadata("design:type", Object)
59
+ ], CancellationWorkFlow.prototype, "section_id", void 0);
60
+ __decorate([
61
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
62
+ __metadata("design:type", Object)
63
+ ], CancellationWorkFlow.prototype, "step_order", void 0);
64
+ exports.CancellationWorkFlow = CancellationWorkFlow = __decorate([
65
+ (0, typeorm_1.Entity)({ name: "cancellation_workflows" })
66
+ ], CancellationWorkFlow);
@@ -0,0 +1,23 @@
1
+ import { BaseModel } from "./BaseModel";
2
+ export declare enum EventSupportApprovalStatus {
3
+ PENDING = "Pending",
4
+ IN_PROGRESS = "In Progress",
5
+ APPROVED = "Approved",
6
+ REJECTED = "Rejected"
7
+ }
8
+ export declare class EventSupportApprovalDetails extends BaseModel {
9
+ request_id: number;
10
+ service_id: number | null;
11
+ sub_service_id: number | null;
12
+ level: number;
13
+ workflow_step_order: number | null;
14
+ approver_role_id: number | null;
15
+ department_id: number | null;
16
+ section_id: number | null;
17
+ approver_user_id: number | null;
18
+ delegate_user_id: number | null;
19
+ approved_by: number | null;
20
+ comment: string;
21
+ approval_status: EventSupportApprovalStatus;
22
+ is_allowed: boolean;
23
+ }