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

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 (58) hide show
  1. package/.env +0 -15
  2. package/dist/models/LogisticsModel.d.ts +2 -0
  3. package/dist/models/LogisticsModel.js +4 -0
  4. package/package.json +1 -1
  5. package/src/data-source.ts +419 -419
  6. package/src/models/AccessCardRequestModel.ts +135 -135
  7. package/src/models/AirportEntryPermitModel.ts +276 -276
  8. package/src/models/AnnualTrainingPlanRequestModel.ts +153 -153
  9. package/src/models/DepartmentsModel.ts +25 -25
  10. package/src/models/DocumentDriveModel.ts +28 -28
  11. package/src/models/DocumentFolderModel.ts +45 -45
  12. package/src/models/HousingContractCancelApprovalModel.ts +64 -64
  13. package/src/models/HousingContractCancelChatModel.ts +56 -56
  14. package/src/models/HousingContractRenewalApprovalModel.ts +64 -64
  15. package/src/models/HousingContractRenewalChatModel.ts +59 -59
  16. package/src/models/ITRequestAttachmentModel.ts +73 -73
  17. package/src/models/ITRequestChatModel.ts +74 -74
  18. package/src/models/ItApprovalsModel.ts +84 -84
  19. package/src/models/ItWorkflowModel.ts +55 -55
  20. package/src/models/LegalConsultationApprovalModel.ts +65 -65
  21. package/src/models/LogisticsModel.ts +4 -0
  22. package/src/models/MissionTravelPassportExpiryNotificationConfigModel.ts +36 -36
  23. package/src/models/ResidentialUnitRentalApprovalModel.ts +143 -143
  24. package/src/models/ResidentialUnitRentalChatModel.ts +56 -56
  25. package/src/models/ResidentialUnitRentalRequestModel.ts +218 -218
  26. package/src/models/ServicesNotificationConfigModel.ts +55 -55
  27. package/src/models/StudyLeaveRequestModel.ts +144 -144
  28. package/src/models/TrainingRequestModel.ts +164 -164
  29. package/src/models/TrainingRoomBookingRequestModel.ts +142 -142
  30. package/src/models/TrainingRoomNotificationConfigModel.ts +30 -30
  31. package/src/models/role.ts +34 -34
  32. package/src/models/user.ts +233 -233
  33. package/dist/models/DocumentMetadataModel.d.ts +0 -45
  34. package/dist/models/DocumentMetadataModel.js +0 -171
  35. package/dist/models/DocumentationDepartmentsModel.d.ts +0 -13
  36. package/dist/models/DocumentationDepartmentsModel.js +0 -53
  37. package/dist/models/FolderModel.d.ts +0 -16
  38. package/dist/models/FolderModel.js +0 -85
  39. package/dist/models/ImportExportMaterialModels.d.ts +0 -92
  40. package/dist/models/ImportExportMaterialModels.js +0 -307
  41. package/dist/models/PermissionModel.d.ts +0 -18
  42. package/dist/models/PermissionModel.js +0 -68
  43. package/dist/models/SecurityAccessApprovalModel.d.ts +0 -23
  44. package/dist/models/SecurityAccessApprovalModel.js +0 -82
  45. package/dist/models/SecurityAccessAttachmentModel.d.ts +0 -12
  46. package/dist/models/SecurityAccessAttachmentModel.js +0 -56
  47. package/dist/models/SecurityAccessChatModel.d.ts +0 -12
  48. package/dist/models/SecurityAccessChatModel.js +0 -56
  49. package/dist/models/SecurityAccessRequestModel.d.ts +0 -25
  50. package/dist/models/SecurityAccessRequestModel.js +0 -80
  51. package/dist/models/SecurityAccessWorkflowModel.d.ts +0 -24
  52. package/dist/models/SecurityAccessWorkflowModel.js +0 -84
  53. package/dist/models/ServiceExtensionAfterAge60Models.d.ts +0 -93
  54. package/dist/models/ServiceExtensionAfterAge60Models.js +0 -312
  55. package/dist/models/UUIDBaseModel.d.ts +0 -14
  56. package/dist/models/UUIDBaseModel.js +0 -66
  57. package/dist/models/WorkingHoursExtensionModels.d.ts +0 -88
  58. package/dist/models/WorkingHoursExtensionModels.js +0 -295
@@ -1,135 +1,135 @@
1
- import { Column, Entity } from "typeorm";
2
- import { BaseModel } from "./BaseModel";
3
-
4
- export enum AccessCardRequestFor {
5
- SELF = "Self",
6
- BEHALF = "Behalf"
7
- }
8
-
9
- export enum AccessCardRequestType {
10
- NEW = "New",
11
- RENEWAL = "Renewal"
12
- }
13
-
14
- export enum AccessCardCategory {
15
- TRAINEE = "Trainee",
16
- WORKER = "Workers",
17
- EMPLOYEE = "Employees",
18
- CONTRACTOR = "Contractors"
19
- }
20
-
21
- export enum AccessCardRequestStatus {
22
- PENDING = "Pending",
23
- IN_PROGRESS = "In Progress",
24
- APPROVED = "Approved",
25
- REJECTED = "Rejected"
26
- }
27
-
28
- @Entity({ name: "access_card_requests" })
29
- export class AccessCardRequest extends BaseModel {
30
- @Column({ type: "int", nullable: true })
31
- req_user_department_id: number | null;
32
-
33
- @Column({ type: "int", nullable: true })
34
- req_user_section_id: number | null;
35
-
36
- @Column({ type: "int", nullable: true })
37
- service_id: number | null;
38
-
39
- @Column({ type: "int", nullable: true })
40
- sub_service_id: number | null;
41
-
42
- @Column({ type: "int", nullable: false })
43
- user_id: number;
44
-
45
- @Column({ type: "enum", enum: AccessCardRequestFor, nullable: false })
46
- request_for: AccessCardRequestFor;
47
-
48
- @Column({ type: "varchar", length: 255, nullable: false })
49
- name: string;
50
-
51
- @Column({ type: "varchar", length: 100, nullable: false })
52
- id_number: string;
53
-
54
- @Column({ type: "varchar", length: 50, nullable: false })
55
- phone_number: string;
56
-
57
- @Column({ type: "varchar", length: 255, nullable: false })
58
- email_id: string;
59
-
60
- @Column({ type: "enum", enum: AccessCardRequestType, nullable: false })
61
- request_type: AccessCardRequestType;
62
-
63
- @Column({ type: "enum", enum: AccessCardCategory, nullable: false })
64
- category: AccessCardCategory;
65
-
66
- @Column({ type: "varchar", length: 50, nullable: true })
67
- approval_route: string | null;
68
-
69
- @Column({ type: "varchar", length: 255, nullable: true })
70
- organization: string | null;
71
-
72
- @Column({ type: "varchar", length: 100, nullable: true })
73
- access_card_no: string | null;
74
-
75
- @Column({ type: "text", nullable: false })
76
- reason: string;
77
-
78
- @Column({ type: "date", nullable: true })
79
- request_date: Date;
80
-
81
- @Column({
82
- type: "enum",
83
- enum: AccessCardRequestStatus,
84
- default: AccessCardRequestStatus.PENDING,
85
- nullable: false
86
- })
87
- status: AccessCardRequestStatus;
88
-
89
- @Column({ type: "varchar", length: 255, nullable: true })
90
- workflow_execution_id: string | null;
91
-
92
- constructor(
93
- request_for: AccessCardRequestFor,
94
- name: string,
95
- id_number: string,
96
- phone_number: string,
97
- email_id: string,
98
- request_type: AccessCardRequestType,
99
- category: AccessCardCategory,
100
- organization: string | null,
101
- reason: string,
102
- request_date: Date,
103
- user_id: number,
104
- status: AccessCardRequestStatus = AccessCardRequestStatus.PENDING,
105
- approval_route?: string | null,
106
- service_id?: number,
107
- sub_service_id?: number,
108
- req_user_department_id?: number,
109
- req_user_section_id?: number,
110
- access_card_no?: string | null,
111
- workflow_execution_id?: string | null
112
- ) {
113
- super();
114
- this.request_for = request_for;
115
- this.name = name;
116
- this.id_number = id_number;
117
- this.phone_number = phone_number;
118
- this.email_id = email_id;
119
- this.request_type = request_type;
120
- this.category = category;
121
- this.organization = organization ?? null;
122
- this.reason = reason;
123
- this.request_date = request_date;
124
- this.user_id = user_id;
125
- this.status = status;
126
- this.approval_route = approval_route ?? null;
127
- this.service_id = service_id ?? null;
128
- this.sub_service_id = sub_service_id ?? null;
129
- this.req_user_department_id = req_user_department_id ?? null;
130
- this.req_user_section_id = req_user_section_id ?? null;
131
- this.access_card_no = access_card_no ?? null;
132
- this.workflow_execution_id = workflow_execution_id ?? null;
133
- }
134
- }
135
-
1
+ import { Column, Entity } from "typeorm";
2
+ import { BaseModel } from "./BaseModel";
3
+
4
+ export enum AccessCardRequestFor {
5
+ SELF = "Self",
6
+ BEHALF = "Behalf"
7
+ }
8
+
9
+ export enum AccessCardRequestType {
10
+ NEW = "New",
11
+ RENEWAL = "Renewal"
12
+ }
13
+
14
+ export enum AccessCardCategory {
15
+ TRAINEE = "Trainee",
16
+ WORKER = "Workers",
17
+ EMPLOYEE = "Employees",
18
+ CONTRACTOR = "Contractors"
19
+ }
20
+
21
+ export enum AccessCardRequestStatus {
22
+ PENDING = "Pending",
23
+ IN_PROGRESS = "In Progress",
24
+ APPROVED = "Approved",
25
+ REJECTED = "Rejected"
26
+ }
27
+
28
+ @Entity({ name: "access_card_requests" })
29
+ export class AccessCardRequest extends BaseModel {
30
+ @Column({ type: "int", nullable: true })
31
+ req_user_department_id: number | null;
32
+
33
+ @Column({ type: "int", nullable: true })
34
+ req_user_section_id: number | null;
35
+
36
+ @Column({ type: "int", nullable: true })
37
+ service_id: number | null;
38
+
39
+ @Column({ type: "int", nullable: true })
40
+ sub_service_id: number | null;
41
+
42
+ @Column({ type: "int", nullable: false })
43
+ user_id: number;
44
+
45
+ @Column({ type: "enum", enum: AccessCardRequestFor, nullable: false })
46
+ request_for: AccessCardRequestFor;
47
+
48
+ @Column({ type: "varchar", length: 255, nullable: false })
49
+ name: string;
50
+
51
+ @Column({ type: "varchar", length: 100, nullable: false })
52
+ id_number: string;
53
+
54
+ @Column({ type: "varchar", length: 50, nullable: false })
55
+ phone_number: string;
56
+
57
+ @Column({ type: "varchar", length: 255, nullable: false })
58
+ email_id: string;
59
+
60
+ @Column({ type: "enum", enum: AccessCardRequestType, nullable: false })
61
+ request_type: AccessCardRequestType;
62
+
63
+ @Column({ type: "enum", enum: AccessCardCategory, nullable: false })
64
+ category: AccessCardCategory;
65
+
66
+ @Column({ type: "varchar", length: 50, nullable: true })
67
+ approval_route: string | null;
68
+
69
+ @Column({ type: "varchar", length: 255, nullable: true })
70
+ organization: string | null;
71
+
72
+ @Column({ type: "varchar", length: 100, nullable: true })
73
+ access_card_no: string | null;
74
+
75
+ @Column({ type: "text", nullable: false })
76
+ reason: string;
77
+
78
+ @Column({ type: "date", nullable: true })
79
+ request_date: Date;
80
+
81
+ @Column({
82
+ type: "enum",
83
+ enum: AccessCardRequestStatus,
84
+ default: AccessCardRequestStatus.PENDING,
85
+ nullable: false
86
+ })
87
+ status: AccessCardRequestStatus;
88
+
89
+ @Column({ type: "varchar", length: 255, nullable: true })
90
+ workflow_execution_id: string | null;
91
+
92
+ constructor(
93
+ request_for: AccessCardRequestFor,
94
+ name: string,
95
+ id_number: string,
96
+ phone_number: string,
97
+ email_id: string,
98
+ request_type: AccessCardRequestType,
99
+ category: AccessCardCategory,
100
+ organization: string | null,
101
+ reason: string,
102
+ request_date: Date,
103
+ user_id: number,
104
+ status: AccessCardRequestStatus = AccessCardRequestStatus.PENDING,
105
+ approval_route?: string | null,
106
+ service_id?: number,
107
+ sub_service_id?: number,
108
+ req_user_department_id?: number,
109
+ req_user_section_id?: number,
110
+ access_card_no?: string | null,
111
+ workflow_execution_id?: string | null
112
+ ) {
113
+ super();
114
+ this.request_for = request_for;
115
+ this.name = name;
116
+ this.id_number = id_number;
117
+ this.phone_number = phone_number;
118
+ this.email_id = email_id;
119
+ this.request_type = request_type;
120
+ this.category = category;
121
+ this.organization = organization ?? null;
122
+ this.reason = reason;
123
+ this.request_date = request_date;
124
+ this.user_id = user_id;
125
+ this.status = status;
126
+ this.approval_route = approval_route ?? null;
127
+ this.service_id = service_id ?? null;
128
+ this.sub_service_id = sub_service_id ?? null;
129
+ this.req_user_department_id = req_user_department_id ?? null;
130
+ this.req_user_section_id = req_user_section_id ?? null;
131
+ this.access_card_no = access_card_no ?? null;
132
+ this.workflow_execution_id = workflow_execution_id ?? null;
133
+ }
134
+ }
135
+