@platform-modules/foreign-ministry 1.3.211 → 1.3.212

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 (45) hide show
  1. package/.env +17 -3
  2. package/dist/data-source.js +0 -10
  3. package/dist/index.d.ts +0 -5
  4. package/dist/index.js +0 -5
  5. package/dist/models/HelpContentMappedCategoriesModel.d.ts +6 -0
  6. package/dist/models/HelpContentMappedCategoriesModel.js +34 -0
  7. package/dist/models/HelpContentMappedTagsModel.d.ts +6 -0
  8. package/dist/models/HelpContentMappedTagsModel.js +34 -0
  9. package/dist/models/HelpContentTagsModel.d.ts +5 -0
  10. package/dist/models/HelpContentTagsModel.js +29 -0
  11. package/dist/models/LMSExternalCourseParticipationCandidateModel.d.ts +1 -0
  12. package/dist/models/LMSExternalCourseParticipationCandidateModel.js +4 -0
  13. package/dist/models/questionTagsModel.d.ts +6 -0
  14. package/dist/models/questionTagsModel.js +34 -0
  15. package/package.json +1 -1
  16. package/src/data-source.ts +0 -10
  17. package/src/index.ts +0 -5
  18. package/src/models/FinancialWorkFlowModel.ts +15 -15
  19. package/src/models/GatePassVisitorsModel.ts +7 -7
  20. package/src/models/LMSExternalCourseParticipationCandidateModel.ts +3 -0
  21. package/src/models/PollOptionsModel.ts +26 -26
  22. package/src/models/PollVotesModel.ts +37 -37
  23. package/src/models/PollsModel.ts +49 -49
  24. package/src/models/RegisterCandidateRequestModel.ts +183 -183
  25. package/src/models/TelephoneDirectoryModel.ts +20 -20
  26. package/dist/models/EmbassyMasterModel.d.ts +0 -16
  27. package/dist/models/EmbassyMasterModel.js +0 -75
  28. package/dist/models/ResignationTerminationApprovalModel.d.ts +0 -22
  29. package/dist/models/ResignationTerminationApprovalModel.js +0 -79
  30. package/dist/models/ResignationTerminationAttachmentModel.d.ts +0 -11
  31. package/dist/models/ResignationTerminationAttachmentModel.js +0 -52
  32. package/dist/models/ResignationTerminationChatModel.d.ts +0 -17
  33. package/dist/models/ResignationTerminationChatModel.js +0 -76
  34. package/dist/models/ResignationTerminationRequestModel.d.ts +0 -30
  35. package/dist/models/ResignationTerminationRequestModel.js +0 -108
  36. package/dist/models/ResignationTerminationWorkflowModel.d.ts +0 -17
  37. package/dist/models/ResignationTerminationWorkflowModel.js +0 -62
  38. package/dist/models/UserDependentsModel.d.ts +0 -18
  39. package/dist/models/UserDependentsModel.js +0 -94
  40. package/src/models/ResignationTerminationApprovalModel.ts +0 -51
  41. package/src/models/ResignationTerminationAttachmentModel.ts +0 -30
  42. package/src/models/ResignationTerminationChatModel.ts +0 -63
  43. package/src/models/ResignationTerminationRequestModel.ts +0 -76
  44. package/src/models/ResignationTerminationWorkflowModel.ts +0 -38
  45. /package/src/models/{LeaveConfigGradesModel.Ts → LeaveConfigGradesModel.ts} +0 -0
@@ -1,76 +0,0 @@
1
- import { Column, Entity } from "typeorm";
2
- import { BaseModel } from './BaseModel';
3
-
4
- export enum ResignationTerminationStatus {
5
- PENDING = "Pending",
6
- ASSIGNED = "Assigned",
7
- IN_PROGRESS = "In Progress",
8
- APPROVED = "Approved",
9
- REJECTED = "Rejected"
10
- }
11
-
12
- @Entity({ name: 'resignation_termination_requests' })
13
- export class ResignationTerminationRequests extends BaseModel {
14
-
15
- // Common columns
16
- @Column({ type: 'int', nullable: true })
17
- req_user_department_id: number | null;
18
-
19
- @Column({ type: 'int', nullable: true })
20
- req_user_section_id: number | null;
21
-
22
- @Column({ type: 'int', nullable: true })
23
- service_id: number | null;
24
-
25
- @Column({ type: 'int', nullable: true })
26
- sub_service_id: number | null;
27
-
28
- @Column({ type: 'int', nullable: false })
29
- user_id: number;
30
-
31
- // Resignation/Termination specific fields
32
- @Column({ type: 'varchar', length: 50, nullable: true })
33
- employee_type: string | null; // FM / M&C
34
-
35
- @Column({ type: 'varchar', length: 255, nullable: true })
36
- employee_name: string | null;
37
-
38
- @Column({ type: 'varchar', length: 255, nullable: true })
39
- reason: string | null;
40
-
41
- @Column({ type: 'text', nullable: true })
42
- description: string | null;
43
-
44
- @Column({ type: 'boolean', nullable: true })
45
- notice_period_need_to_serve: boolean | null; // Yes/No
46
-
47
- @Column({ type: 'date', nullable: true })
48
- date_of_issuing_resignation_day: Date | null;
49
-
50
- @Column({ type: 'date', nullable: true })
51
- last_working_day: Date | null;
52
-
53
- @Column({ type: 'varchar', length: 255, nullable: true })
54
- end_of_service_eligibility_amount: string | null;
55
-
56
- @Column({ type: 'decimal', precision: 10, scale: 2, nullable: true })
57
- amount: number | null;
58
-
59
- @Column({ type: 'varchar', length: 255, nullable: true })
60
- applicable_based_on_resignation_type: string | null;
61
-
62
- @Column({ type: 'date', nullable: true })
63
- date_of_joining: Date | null;
64
-
65
- @Column({ type: 'varchar', length: 255, nullable: true })
66
- leave_balance: string | null;
67
-
68
- @Column({ type: 'date', nullable: true })
69
- actual_retirement_date: Date | null;
70
-
71
- @Column({ type: 'enum', enum: ResignationTerminationStatus, default: ResignationTerminationStatus.PENDING, nullable: false })
72
- status: ResignationTerminationStatus;
73
-
74
- @Column({ type: 'varchar', nullable: true })
75
- workflow_execution_id: string | null;
76
- }
@@ -1,38 +0,0 @@
1
- import { Column, Entity } from "typeorm";
2
- import { BaseModel } from './BaseModel';
3
-
4
- export enum ResignationTerminationWorkFlowStatus {
5
- NOT_YET_STARTED = "Not Yet Started",
6
- COMPLETED = "Completed",
7
- PENDING = "Pending"
8
- }
9
-
10
- @Entity({ name: 'resignation_termination_workflows' })
11
- export class ResignationTerminationWorkFlow extends BaseModel {
12
- @Column({ type: 'integer', nullable: false })
13
- request_id: number;
14
-
15
- @Column({ type: 'integer', nullable: true })
16
- service_id: number | null;
17
-
18
- @Column({ type: 'integer', nullable: true })
19
- sub_service_id: number | null;
20
-
21
- @Column({ type: 'varchar', length: 500, nullable: false })
22
- content: string;
23
-
24
- @Column({ type: 'enum', enum: ResignationTerminationWorkFlowStatus, default: ResignationTerminationWorkFlowStatus.NOT_YET_STARTED, nullable: false })
25
- status: ResignationTerminationWorkFlowStatus;
26
-
27
- @Column({ type: 'integer', nullable: true })
28
- user_id: number | null;
29
-
30
- @Column({ type: 'integer', nullable: true })
31
- role_id: number | null;
32
-
33
- @Column({ type: 'integer', nullable: true })
34
- department_id: number | null;
35
-
36
- @Column({ type: 'integer', nullable: true })
37
- section_id: number | null;
38
- }