@platform-modules/civil-aviation-authority 2.2.100 → 2.2.200

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 (137) hide show
  1. package/dist/data-source.d.ts +4 -0
  2. package/dist/data-source.js +150 -0
  3. package/dist/helpers/utils/enum.d.ts +75 -0
  4. package/dist/helpers/utils/enum.js +53 -0
  5. package/dist/index.d.ts +62 -0
  6. package/dist/index.js +82 -0
  7. package/dist/models/AccessCardApprovalModel.d.ts +22 -0
  8. package/dist/models/AccessCardApprovalModel.js +96 -0
  9. package/dist/models/AccessCardAttachmentModel.d.ts +12 -0
  10. package/dist/models/AccessCardAttachmentModel.js +64 -0
  11. package/dist/models/AccessCardChatModel.d.ts +20 -0
  12. package/dist/models/AccessCardChatModel.js +78 -0
  13. package/dist/models/AccessCardRequestModel.d.ts +43 -0
  14. package/dist/models/AccessCardRequestModel.js +148 -0
  15. package/dist/models/AccessCardWorkflowModel.d.ts +18 -0
  16. package/dist/models/AccessCardWorkflowModel.js +80 -0
  17. package/dist/models/BaseModel.d.ts +14 -0
  18. package/dist/models/BaseModel.js +66 -0
  19. package/dist/models/CAAServices.d.ts +8 -0
  20. package/dist/models/CAAServices.js +44 -0
  21. package/dist/models/CAASubServices.d.ts +11 -0
  22. package/dist/models/CAASubServices.js +55 -0
  23. package/dist/models/DelegateSettingsModel.d.ts +9 -0
  24. package/dist/models/DelegateSettingsModel.js +50 -0
  25. package/dist/models/DepartmentsModel.d.ts +7 -0
  26. package/dist/models/DepartmentsModel.js +39 -0
  27. package/dist/models/DirectorateModel.d.ts +7 -0
  28. package/dist/models/DirectorateModel.js +39 -0
  29. package/dist/models/GroupModel.d.ts +16 -0
  30. package/dist/models/GroupModel.js +44 -0
  31. package/dist/models/GroupNamesModel.d.ts +6 -0
  32. package/dist/models/GroupNamesModel.js +34 -0
  33. package/dist/models/HotelApprovalModel.d.ts +22 -0
  34. package/dist/models/HotelApprovalModel.js +91 -0
  35. package/dist/models/HotelAttachedModel.d.ts +14 -0
  36. package/dist/models/HotelAttachedModel.js +74 -0
  37. package/dist/models/HotelChatModel.d.ts +17 -0
  38. package/dist/models/HotelChatModel.js +67 -0
  39. package/dist/models/HotelWorkFlowModel.d.ts +14 -0
  40. package/dist/models/HotelWorkFlowModel.js +56 -0
  41. package/dist/models/HotelreservationModel.d.ts +45 -0
  42. package/dist/models/HotelreservationModel.js +177 -0
  43. package/dist/models/ITHelpDeskModel.d.ts +33 -0
  44. package/dist/models/ITHelpDeskModel.js +136 -0
  45. package/dist/models/ITRequestAttachmentModel.d.ts +17 -0
  46. package/dist/models/ITRequestAttachmentModel.js +81 -0
  47. package/dist/models/ITRequestChatModel.d.ts +16 -0
  48. package/dist/models/ITRequestChatModel.js +76 -0
  49. package/dist/models/ItApprovalsModel.d.ts +23 -0
  50. package/dist/models/ItApprovalsModel.js +92 -0
  51. package/dist/models/ItWorkflowModel.d.ts +19 -0
  52. package/dist/models/ItWorkflowModel.js +81 -0
  53. package/dist/models/LogisticsApprovalModel.d.ts +22 -0
  54. package/dist/models/LogisticsApprovalModel.js +91 -0
  55. package/dist/models/LogisticsAttachmentModel.d.ts +12 -0
  56. package/dist/models/LogisticsAttachmentModel.js +64 -0
  57. package/dist/models/LogisticsChatModel.d.ts +20 -0
  58. package/dist/models/LogisticsChatModel.js +78 -0
  59. package/dist/models/LogisticsForeignVehicleModel.d.ts +42 -0
  60. package/dist/models/LogisticsForeignVehicleModel.js +153 -0
  61. package/dist/models/LogisticsForeignVehiclePassengerModel.d.ts +6 -0
  62. package/dist/models/LogisticsForeignVehiclePassengerModel.js +34 -0
  63. package/dist/models/LogisticsModel.d.ts +57 -0
  64. package/dist/models/LogisticsModel.js +195 -0
  65. package/dist/models/LogisticsWorkflowModel.d.ts +18 -0
  66. package/dist/models/LogisticsWorkflowModel.js +76 -0
  67. package/dist/models/NotificationModel.d.ts +23 -0
  68. package/dist/models/NotificationModel.js +92 -0
  69. package/dist/models/PortalFeedbackModel.d.ts +8 -0
  70. package/dist/models/PortalFeedbackModel.js +44 -0
  71. package/dist/models/PositionModel.d.ts +6 -0
  72. package/dist/models/PositionModel.js +34 -0
  73. package/dist/models/SectionModel.d.ts +8 -0
  74. package/dist/models/SectionModel.js +44 -0
  75. package/dist/models/SecurityAwarenessApprovalModel.d.ts +22 -0
  76. package/dist/models/SecurityAwarenessApprovalModel.js +91 -0
  77. package/dist/models/SecurityAwarenessAttachmentModel.d.ts +12 -0
  78. package/dist/models/SecurityAwarenessAttachmentModel.js +64 -0
  79. package/dist/models/SecurityAwarenessChatModel.d.ts +20 -0
  80. package/dist/models/SecurityAwarenessChatModel.js +78 -0
  81. package/dist/models/SecurityAwarenessRequestModel.d.ts +30 -0
  82. package/dist/models/SecurityAwarenessRequestModel.js +122 -0
  83. package/dist/models/SecurityAwarenessWorkflowModel.d.ts +18 -0
  84. package/dist/models/SecurityAwarenessWorkflowModel.js +76 -0
  85. package/dist/models/SecurityThreatApprovalModel.d.ts +24 -0
  86. package/dist/models/SecurityThreatApprovalModel.js +97 -0
  87. package/dist/models/SecurityThreatAttachmentModel.d.ts +12 -0
  88. package/dist/models/SecurityThreatAttachmentModel.js +64 -0
  89. package/dist/models/SecurityThreatChatModel.d.ts +20 -0
  90. package/dist/models/SecurityThreatChatModel.js +78 -0
  91. package/dist/models/SecurityThreatRequestModel.d.ts +29 -0
  92. package/dist/models/SecurityThreatRequestModel.js +104 -0
  93. package/dist/models/SecurityThreatWorkflowModel.d.ts +18 -0
  94. package/dist/models/SecurityThreatWorkflowModel.js +76 -0
  95. package/dist/models/ServiceTypeModel.d.ts +20 -0
  96. package/dist/models/ServiceTypeModel.js +88 -0
  97. package/dist/models/VpnApprovalModel.d.ts +21 -0
  98. package/dist/models/VpnApprovalModel.js +87 -0
  99. package/dist/models/VpnRequestAttachmentModel.d.ts +11 -0
  100. package/dist/models/VpnRequestAttachmentModel.js +59 -0
  101. package/dist/models/VpnRequestChatModel.d.ts +26 -0
  102. package/dist/models/VpnRequestChatModel.js +86 -0
  103. package/dist/models/VpnRequestModel.d.ts +70 -0
  104. package/dist/models/VpnRequestModel.js +175 -0
  105. package/dist/models/VpnWorkflowModel.d.ts +17 -0
  106. package/dist/models/VpnWorkflowModel.js +71 -0
  107. package/dist/models/WorkflowDefinitions.d.ts +16 -0
  108. package/dist/models/WorkflowDefinitions.js +86 -0
  109. package/dist/models/WorkflowHierarchy.d.ts +17 -0
  110. package/dist/models/WorkflowHierarchy.js +86 -0
  111. package/dist/models/WorkflowTask.d.ts +13 -0
  112. package/dist/models/WorkflowTask.js +78 -0
  113. package/dist/models/WorkflowTaskNames.d.ts +17 -0
  114. package/dist/models/WorkflowTaskNames.js +63 -0
  115. package/dist/models/contactInfoModel.d.ts +18 -0
  116. package/dist/models/contactInfoModel.js +80 -0
  117. package/dist/models/feedbackModel.d.ts +16 -0
  118. package/dist/models/feedbackModel.js +61 -0
  119. package/dist/models/importantLinksModel.d.ts +6 -0
  120. package/dist/models/importantLinksModel.js +34 -0
  121. package/dist/models/role.d.ts +16 -0
  122. package/dist/models/role.js +44 -0
  123. package/dist/models/roleRightsModel.d.ts +16 -0
  124. package/dist/models/roleRightsModel.js +44 -0
  125. package/dist/models/serviceBookmarksModel.d.ts +6 -0
  126. package/dist/models/serviceBookmarksModel.js +34 -0
  127. package/dist/models/user-sessions.d.ts +18 -0
  128. package/dist/models/user-sessions.js +54 -0
  129. package/dist/models/user.d.ts +47 -0
  130. package/dist/models/user.js +238 -0
  131. package/dist/models/userRolesModel.d.ts +19 -0
  132. package/dist/models/userRolesModel.js +59 -0
  133. package/dist/scripts.d.ts +1 -0
  134. package/dist/scripts.js +11 -0
  135. package/package.json +1 -1
  136. package/src/models/ITRequestChatModel.ts +62 -62
  137. package/src/models/ItWorkflowModel.ts +55 -55
@@ -1,56 +1,56 @@
1
- import { Column, Entity } from "typeorm";
2
- import { BaseModel } from './BaseModel';
3
-
4
- export enum workFlowStatus {
5
- COMPLETED = "Completed",
6
- NOT_YET_STARTED = "Not Yet Started",
7
- PENDING = "Pending"
8
- }
9
-
10
- //This model is used to store the store the leave apporval matrix(HOD, Manager, HR, Director) based on leave type along with the levels
11
- @Entity({ name: 'it_work_flows' })
12
- export class ItWorkFlow extends BaseModel {
13
- @Column({ type: 'int', nullable: false })
14
- request_id: number;
15
-
16
- @Column({ type: 'int', nullable: true })
17
- service_id: number | null;
18
-
19
- @Column({ type: 'int', nullable: true })
20
- sub_service_id: number | null;
21
-
22
- @Column({ type: 'int', nullable: true })
23
- order: number | null;
24
-
25
- @Column({ type: 'varchar', length: 255, nullable: false })
26
- content: string;
27
-
28
- @Column({ type: 'enum', enum: workFlowStatus, default: workFlowStatus.NOT_YET_STARTED, nullable: false })
29
- status: workFlowStatus;
30
-
31
- @Column({ type: 'integer', nullable: true })
32
- user_id: number | null;
33
-
34
- @Column({ type: 'integer', nullable: true })
35
- role_id: number | null;
36
-
37
- @Column({ type: 'integer', nullable: true })
38
- department_id: number | null;
39
-
40
- @Column({ type: 'integer', nullable: true })
41
- section_id: number | null;
42
-
43
- constructor(request_id: number, content: string, status: workFlowStatus, order?: number, service_id?: number | null, sub_service_id?: number | null, user_id?: number | null, role_id?: number | null, department_id?: number | null, section_id?: number | null) {
44
- super();
45
- this.request_id = request_id;
46
- this.content = content;
47
- this.status = status;
48
- this.order = order || null;
49
- this.service_id = service_id ?? null;
50
- this.sub_service_id = sub_service_id ?? null;
51
- this.user_id = user_id || null;
52
- this.role_id = role_id || null;
53
- this.department_id = department_id || null;
54
- this.section_id = section_id || null;
55
- }
1
+ import { Column, Entity } from "typeorm";
2
+ import { BaseModel } from './BaseModel';
3
+
4
+ export enum workFlowStatus {
5
+ COMPLETED = "Completed",
6
+ NOT_YET_STARTED = "Not Yet Started",
7
+ PENDING = "Pending"
8
+ }
9
+
10
+ //This model is used to store the store the leave apporval matrix(HOD, Manager, HR, Director) based on leave type along with the levels
11
+ @Entity({ name: 'it_work_flows' })
12
+ export class ItWorkFlow extends BaseModel {
13
+ @Column({ type: 'int', nullable: false })
14
+ request_id: number;
15
+
16
+ @Column({ type: 'int', nullable: true })
17
+ service_id: number | null;
18
+
19
+ @Column({ type: 'int', nullable: true })
20
+ sub_service_id: number | null;
21
+
22
+ @Column({ type: 'int', nullable: true })
23
+ order: number | null;
24
+
25
+ @Column({ type: 'varchar', length: 255, nullable: false })
26
+ content: string;
27
+
28
+ @Column({ type: 'enum', enum: workFlowStatus, default: workFlowStatus.NOT_YET_STARTED, nullable: false })
29
+ status: workFlowStatus;
30
+
31
+ @Column({ type: 'integer', nullable: true })
32
+ user_id: number | null;
33
+
34
+ @Column({ type: 'integer', nullable: true })
35
+ role_id: number | null;
36
+
37
+ @Column({ type: 'integer', nullable: true })
38
+ department_id: number | null;
39
+
40
+ @Column({ type: 'integer', nullable: true })
41
+ section_id: number | null;
42
+
43
+ constructor(request_id: number, content: string, status: workFlowStatus, order?: number, service_id?: number | null, sub_service_id?: number | null, user_id?: number | null, role_id?: number | null, department_id?: number | null, section_id?: number | null) {
44
+ super();
45
+ this.request_id = request_id;
46
+ this.content = content;
47
+ this.status = status;
48
+ this.order = order || null;
49
+ this.service_id = service_id ?? null;
50
+ this.sub_service_id = sub_service_id ?? null;
51
+ this.user_id = user_id || null;
52
+ this.role_id = role_id || null;
53
+ this.department_id = department_id || null;
54
+ this.section_id = section_id || null;
55
+ }
56
56
  }