@platform-modules/foreign-ministry 1.3.290 → 1.3.296

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 (84) hide show
  1. package/dist/data-source.js +50 -0
  2. package/dist/index.d.ts +28 -0
  3. package/dist/index.js +77 -1
  4. package/dist/models/EmployeeOfMonthNominationApprovalModel.d.ts +22 -0
  5. package/dist/models/EmployeeOfMonthNominationApprovalModel.js +84 -0
  6. package/dist/models/EmployeeOfMonthNominationAttachmentModel.d.ts +10 -0
  7. package/dist/models/EmployeeOfMonthNominationAttachmentModel.js +48 -0
  8. package/dist/models/EmployeeOfMonthNominationChatModel.d.ts +18 -0
  9. package/dist/models/EmployeeOfMonthNominationChatModel.js +65 -0
  10. package/dist/models/EmployeeOfMonthNominationRequestModel.d.ts +32 -0
  11. package/dist/models/EmployeeOfMonthNominationRequestModel.js +76 -0
  12. package/dist/models/EmployeeOfMonthNominationWorkflowModel.d.ts +19 -0
  13. package/dist/models/EmployeeOfMonthNominationWorkflowModel.js +72 -0
  14. package/dist/models/EmployeeOfMonthSupportNominationApprovalModel.d.ts +22 -0
  15. package/dist/models/EmployeeOfMonthSupportNominationApprovalModel.js +84 -0
  16. package/dist/models/EmployeeOfMonthSupportNominationAttachmentModel.d.ts +10 -0
  17. package/dist/models/EmployeeOfMonthSupportNominationAttachmentModel.js +48 -0
  18. package/dist/models/EmployeeOfMonthSupportNominationChatModel.d.ts +18 -0
  19. package/dist/models/EmployeeOfMonthSupportNominationChatModel.js +65 -0
  20. package/dist/models/EmployeeOfMonthSupportNominationRequestModel.d.ts +27 -0
  21. package/dist/models/EmployeeOfMonthSupportNominationRequestModel.js +76 -0
  22. package/dist/models/EmployeeOfMonthSupportNominationWorkflowModel.d.ts +19 -0
  23. package/dist/models/EmployeeOfMonthSupportNominationWorkflowModel.js +72 -0
  24. package/dist/models/InitiatorEmployeeNominationApprovalModel.d.ts +22 -0
  25. package/dist/models/InitiatorEmployeeNominationApprovalModel.js +84 -0
  26. package/dist/models/InitiatorEmployeeNominationAttachmentModel.d.ts +11 -0
  27. package/dist/models/InitiatorEmployeeNominationAttachmentModel.js +52 -0
  28. package/dist/models/InitiatorEmployeeNominationChatModel.d.ts +18 -0
  29. package/dist/models/InitiatorEmployeeNominationChatModel.js +65 -0
  30. package/dist/models/InitiatorEmployeeNominationRequestModel.d.ts +51 -0
  31. package/dist/models/InitiatorEmployeeNominationRequestModel.js +95 -0
  32. package/dist/models/InitiatorEmployeeNominationWorkflowModel.d.ts +19 -0
  33. package/dist/models/InitiatorEmployeeNominationWorkflowModel.js +72 -0
  34. package/dist/models/InnovativeEmployeeNominationApprovalModel.d.ts +22 -0
  35. package/dist/models/InnovativeEmployeeNominationApprovalModel.js +84 -0
  36. package/dist/models/InnovativeEmployeeNominationAttachmentModel.d.ts +11 -0
  37. package/dist/models/InnovativeEmployeeNominationAttachmentModel.js +52 -0
  38. package/dist/models/InnovativeEmployeeNominationChatModel.d.ts +18 -0
  39. package/dist/models/InnovativeEmployeeNominationChatModel.js +65 -0
  40. package/dist/models/InnovativeEmployeeNominationRequestModel.d.ts +23 -0
  41. package/dist/models/InnovativeEmployeeNominationRequestModel.js +88 -0
  42. package/dist/models/InnovativeEmployeeNominationWorkflowModel.d.ts +19 -0
  43. package/dist/models/InnovativeEmployeeNominationWorkflowModel.js +72 -0
  44. package/dist/models/IpeGrievanceApprovalModel.d.ts +22 -0
  45. package/dist/models/IpeGrievanceApprovalModel.js +84 -0
  46. package/dist/models/IpeGrievanceAttachmentModel.d.ts +11 -0
  47. package/dist/models/IpeGrievanceAttachmentModel.js +52 -0
  48. package/dist/models/IpeGrievanceChatModel.d.ts +18 -0
  49. package/dist/models/IpeGrievanceChatModel.js +65 -0
  50. package/dist/models/IpeGrievanceRequestModel.d.ts +57 -0
  51. package/dist/models/IpeGrievanceRequestModel.js +178 -0
  52. package/dist/models/IpeGrievanceWorkflowModel.d.ts +19 -0
  53. package/dist/models/IpeGrievanceWorkflowModel.js +72 -0
  54. package/package.json +1 -1
  55. package/src/data-source.ts +50 -0
  56. package/src/index.ts +93 -0
  57. package/src/models/EmployeeOfMonthNominationApprovalModel.ts +56 -0
  58. package/src/models/EmployeeOfMonthNominationAttachmentModel.ts +26 -0
  59. package/src/models/EmployeeOfMonthNominationChatModel.ts +42 -0
  60. package/src/models/EmployeeOfMonthNominationRequestModel.ts +63 -0
  61. package/src/models/EmployeeOfMonthNominationWorkflowModel.ts +47 -0
  62. package/src/models/EmployeeOfMonthSupportNominationApprovalModel.ts +56 -0
  63. package/src/models/EmployeeOfMonthSupportNominationAttachmentModel.ts +26 -0
  64. package/src/models/EmployeeOfMonthSupportNominationChatModel.ts +42 -0
  65. package/src/models/EmployeeOfMonthSupportNominationRequestModel.ts +58 -0
  66. package/src/models/EmployeeOfMonthSupportNominationWorkflowModel.ts +47 -0
  67. package/src/models/InitiatorEmployeeNominationApprovalModel.ts +56 -0
  68. package/src/models/InitiatorEmployeeNominationAttachmentModel.ts +29 -0
  69. package/src/models/InitiatorEmployeeNominationChatModel.ts +42 -0
  70. package/src/models/InitiatorEmployeeNominationRequestModel.ts +74 -0
  71. package/src/models/InitiatorEmployeeNominationWorkflowModel.ts +47 -0
  72. package/src/models/InnovativeEmployeeNominationApprovalModel.ts +56 -0
  73. package/src/models/InnovativeEmployeeNominationAttachmentModel.ts +29 -0
  74. package/src/models/InnovativeEmployeeNominationChatModel.ts +42 -0
  75. package/src/models/InnovativeEmployeeNominationRequestModel.ts +59 -0
  76. package/src/models/InnovativeEmployeeNominationWorkflowModel.ts +47 -0
  77. package/src/models/IpeGrievanceApprovalModel.ts +56 -0
  78. package/src/models/IpeGrievanceAttachmentModel.ts +29 -0
  79. package/src/models/IpeGrievanceChatModel.ts +42 -0
  80. package/src/models/IpeGrievanceRequestModel.ts +139 -0
  81. package/src/models/IpeGrievanceWorkflowModel.ts +47 -0
  82. package/scripts/migration-employee-evaluation-approval-role-null.sql +0 -11
  83. package/scripts/migration-employee-evaluation-request-v2.sql +0 -63
  84. package/scripts/migration-evaluation-max-employees-per-request.sql +0 -2
@@ -296,6 +296,31 @@ const EmployeeEvaluationApprovalModel_1 = require("./models/EmployeeEvaluationAp
296
296
  const EmployeeEvaluationWorkflowModel_1 = require("./models/EmployeeEvaluationWorkflowModel");
297
297
  const EmployeeEvaluationChatModel_1 = require("./models/EmployeeEvaluationChatModel");
298
298
  const EmployeeEvaluationAttachmentModel_1 = require("./models/EmployeeEvaluationAttachmentModel");
299
+ const IpeGrievanceRequestModel_1 = require("./models/IpeGrievanceRequestModel");
300
+ const IpeGrievanceApprovalModel_1 = require("./models/IpeGrievanceApprovalModel");
301
+ const IpeGrievanceWorkflowModel_1 = require("./models/IpeGrievanceWorkflowModel");
302
+ const IpeGrievanceChatModel_1 = require("./models/IpeGrievanceChatModel");
303
+ const IpeGrievanceAttachmentModel_1 = require("./models/IpeGrievanceAttachmentModel");
304
+ const InitiatorEmployeeNominationRequestModel_1 = require("./models/InitiatorEmployeeNominationRequestModel");
305
+ const InitiatorEmployeeNominationApprovalModel_1 = require("./models/InitiatorEmployeeNominationApprovalModel");
306
+ const InitiatorEmployeeNominationWorkflowModel_1 = require("./models/InitiatorEmployeeNominationWorkflowModel");
307
+ const InitiatorEmployeeNominationChatModel_1 = require("./models/InitiatorEmployeeNominationChatModel");
308
+ const InitiatorEmployeeNominationAttachmentModel_1 = require("./models/InitiatorEmployeeNominationAttachmentModel");
309
+ const InnovativeEmployeeNominationRequestModel_1 = require("./models/InnovativeEmployeeNominationRequestModel");
310
+ const InnovativeEmployeeNominationApprovalModel_1 = require("./models/InnovativeEmployeeNominationApprovalModel");
311
+ const InnovativeEmployeeNominationWorkflowModel_1 = require("./models/InnovativeEmployeeNominationWorkflowModel");
312
+ const InnovativeEmployeeNominationChatModel_1 = require("./models/InnovativeEmployeeNominationChatModel");
313
+ const InnovativeEmployeeNominationAttachmentModel_1 = require("./models/InnovativeEmployeeNominationAttachmentModel");
314
+ const EmployeeOfMonthNominationRequestModel_1 = require("./models/EmployeeOfMonthNominationRequestModel");
315
+ const EmployeeOfMonthNominationApprovalModel_1 = require("./models/EmployeeOfMonthNominationApprovalModel");
316
+ const EmployeeOfMonthNominationWorkflowModel_1 = require("./models/EmployeeOfMonthNominationWorkflowModel");
317
+ const EmployeeOfMonthNominationChatModel_1 = require("./models/EmployeeOfMonthNominationChatModel");
318
+ const EmployeeOfMonthNominationAttachmentModel_1 = require("./models/EmployeeOfMonthNominationAttachmentModel");
319
+ const EmployeeOfMonthSupportNominationRequestModel_1 = require("./models/EmployeeOfMonthSupportNominationRequestModel");
320
+ const EmployeeOfMonthSupportNominationApprovalModel_1 = require("./models/EmployeeOfMonthSupportNominationApprovalModel");
321
+ const EmployeeOfMonthSupportNominationWorkflowModel_1 = require("./models/EmployeeOfMonthSupportNominationWorkflowModel");
322
+ const EmployeeOfMonthSupportNominationChatModel_1 = require("./models/EmployeeOfMonthSupportNominationChatModel");
323
+ const EmployeeOfMonthSupportNominationAttachmentModel_1 = require("./models/EmployeeOfMonthSupportNominationAttachmentModel");
299
324
  exports.AppDataSource = new typeorm_1.DataSource({
300
325
  type: 'postgres',
301
326
  host: process.env.DB_HOST || 'localhost',
@@ -598,5 +623,30 @@ exports.AppDataSource = new typeorm_1.DataSource({
598
623
  EmployeeEvaluationWorkflowModel_1.EmployeeEvaluationWorkFlow,
599
624
  EmployeeEvaluationChatModel_1.EmployeeEvaluationRequestChat,
600
625
  EmployeeEvaluationAttachmentModel_1.EmployeeEvaluationRequestAttachment,
626
+ IpeGrievanceRequestModel_1.IpeGrievanceRequests,
627
+ IpeGrievanceApprovalModel_1.IpeGrievanceApprovalDetails,
628
+ IpeGrievanceWorkflowModel_1.IpeGrievanceWorkFlow,
629
+ IpeGrievanceChatModel_1.IpeGrievanceRequestChat,
630
+ IpeGrievanceAttachmentModel_1.IpeGrievanceRequestAttachment,
631
+ InitiatorEmployeeNominationRequestModel_1.InitiatorEmployeeNominationRequests,
632
+ InitiatorEmployeeNominationApprovalModel_1.InitiatorEmployeeNominationApprovalDetails,
633
+ InitiatorEmployeeNominationWorkflowModel_1.InitiatorEmployeeNominationWorkFlow,
634
+ InitiatorEmployeeNominationChatModel_1.InitiatorEmployeeNominationRequestChat,
635
+ InitiatorEmployeeNominationAttachmentModel_1.InitiatorEmployeeNominationRequestAttachment,
636
+ InnovativeEmployeeNominationRequestModel_1.InnovativeEmployeeNominationRequests,
637
+ InnovativeEmployeeNominationApprovalModel_1.InnovativeEmployeeNominationApprovalDetails,
638
+ InnovativeEmployeeNominationWorkflowModel_1.InnovativeEmployeeNominationWorkFlow,
639
+ InnovativeEmployeeNominationChatModel_1.InnovativeEmployeeNominationRequestChat,
640
+ InnovativeEmployeeNominationAttachmentModel_1.InnovativeEmployeeNominationRequestAttachment,
641
+ EmployeeOfMonthNominationRequestModel_1.EmployeeOfMonthNominationRequests,
642
+ EmployeeOfMonthNominationApprovalModel_1.EmployeeOfMonthNominationApprovalDetails,
643
+ EmployeeOfMonthNominationWorkflowModel_1.EmployeeOfMonthNominationWorkFlow,
644
+ EmployeeOfMonthNominationChatModel_1.EmployeeOfMonthNominationRequestChat,
645
+ EmployeeOfMonthNominationAttachmentModel_1.EmployeeOfMonthNominationRequestAttachment,
646
+ EmployeeOfMonthSupportNominationRequestModel_1.EmployeeOfMonthSupportNominationRequests,
647
+ EmployeeOfMonthSupportNominationApprovalModel_1.EmployeeOfMonthSupportNominationApprovalDetails,
648
+ EmployeeOfMonthSupportNominationWorkflowModel_1.EmployeeOfMonthSupportNominationWorkFlow,
649
+ EmployeeOfMonthSupportNominationChatModel_1.EmployeeOfMonthSupportNominationRequestChat,
650
+ EmployeeOfMonthSupportNominationAttachmentModel_1.EmployeeOfMonthSupportNominationRequestAttachment,
601
651
  ],
602
652
  });
package/dist/index.d.ts CHANGED
@@ -417,6 +417,34 @@ export { EmployeeEvaluationApprovalDetails, EmployeeEvaluationApprovalStatus, }
417
417
  export { EmployeeEvaluationWorkFlow, EmployeeEvaluationWorkFlowStatus, } from './models/EmployeeEvaluationWorkflowModel';
418
418
  export { EmployeeEvaluationRequestChat, EmployeeEvaluationMessageType, } from './models/EmployeeEvaluationChatModel';
419
419
  export { EmployeeEvaluationRequestAttachment } from './models/EmployeeEvaluationAttachmentModel';
420
+ export { IpeGrievanceRequests, IpeGrievanceRequestStatus, IpeGrievanceFinalEvaluationResult, IpeGrievancePeriodType, IpeGrievanceExemptionReason, IpeGrievancePeriodRating, } from './models/IpeGrievanceRequestModel';
421
+ export { IpeGrievanceApprovalDetails, IpeGrievanceApprovalStatus, } from './models/IpeGrievanceApprovalModel';
422
+ export { IpeGrievanceWorkFlow, IpeGrievanceWorkFlowStatus, } from './models/IpeGrievanceWorkflowModel';
423
+ export { IpeGrievanceRequestChat, IpeGrievanceMessageType, } from './models/IpeGrievanceChatModel';
424
+ export { IpeGrievanceRequestAttachment } from './models/IpeGrievanceAttachmentModel';
425
+ export { InitiatorEmployeeNominationRequests, InitiatorEmployeeNominationRequestStatus, InitiatorInitiativeType, } from './models/InitiatorEmployeeNominationRequestModel';
426
+ export type { InitiatorNominationRatingScores } from './models/InitiatorEmployeeNominationRequestModel';
427
+ export { InitiatorEmployeeNominationApprovalDetails, InitiatorEmployeeNominationApprovalStatus, } from './models/InitiatorEmployeeNominationApprovalModel';
428
+ export { InitiatorEmployeeNominationWorkFlow, InitiatorEmployeeNominationWorkFlowStatus, } from './models/InitiatorEmployeeNominationWorkflowModel';
429
+ export { InitiatorEmployeeNominationRequestChat, InitiatorEmployeeNominationMessageType, } from './models/InitiatorEmployeeNominationChatModel';
430
+ export { InitiatorEmployeeNominationRequestAttachment } from './models/InitiatorEmployeeNominationAttachmentModel';
431
+ export { InnovativeEmployeeNominationRequests, InnovativeEmployeeNominationRequestStatus, } from './models/InnovativeEmployeeNominationRequestModel';
432
+ export { InnovativeEmployeeNominationApprovalDetails, InnovativeEmployeeNominationApprovalStatus, } from './models/InnovativeEmployeeNominationApprovalModel';
433
+ export { InnovativeEmployeeNominationWorkFlow, InnovativeEmployeeNominationWorkFlowStatus, } from './models/InnovativeEmployeeNominationWorkflowModel';
434
+ export { InnovativeEmployeeNominationRequestChat, InnovativeEmployeeNominationMessageType, } from './models/InnovativeEmployeeNominationChatModel';
435
+ export { InnovativeEmployeeNominationRequestAttachment } from './models/InnovativeEmployeeNominationAttachmentModel';
436
+ export { EmployeeOfMonthNominationRequests, EmployeeOfMonthNominationRequestStatus, } from './models/EmployeeOfMonthNominationRequestModel';
437
+ export type { EomNominationRatingScores } from './models/EmployeeOfMonthNominationRequestModel';
438
+ export { EmployeeOfMonthNominationApprovalDetails, EmployeeOfMonthNominationApprovalStatus, } from './models/EmployeeOfMonthNominationApprovalModel';
439
+ export { EmployeeOfMonthNominationWorkFlow, EmployeeOfMonthNominationWorkFlowStatus, } from './models/EmployeeOfMonthNominationWorkflowModel';
440
+ export { EmployeeOfMonthNominationRequestChat, EmployeeOfMonthNominationMessageType, } from './models/EmployeeOfMonthNominationChatModel';
441
+ export { EmployeeOfMonthNominationRequestAttachment } from './models/EmployeeOfMonthNominationAttachmentModel';
442
+ export { EmployeeOfMonthSupportNominationRequests, EmployeeOfMonthSupportNominationRequestStatus, } from './models/EmployeeOfMonthSupportNominationRequestModel';
443
+ export type { EomSupportNominationRatingScores } from './models/EmployeeOfMonthSupportNominationRequestModel';
444
+ export { EmployeeOfMonthSupportNominationApprovalDetails, EmployeeOfMonthSupportNominationApprovalStatus, } from './models/EmployeeOfMonthSupportNominationApprovalModel';
445
+ export { EmployeeOfMonthSupportNominationWorkFlow, EmployeeOfMonthSupportNominationWorkFlowStatus, } from './models/EmployeeOfMonthSupportNominationWorkflowModel';
446
+ export { EmployeeOfMonthSupportNominationRequestChat, EmployeeOfMonthSupportNominationMessageType, } from './models/EmployeeOfMonthSupportNominationChatModel';
447
+ export { EmployeeOfMonthSupportNominationRequestAttachment } from './models/EmployeeOfMonthSupportNominationAttachmentModel';
420
448
  export { EvaluationForm, EvaluationFormType, } from './models/EvaluationFormModel';
421
449
  export { EvaluationFormSection } from './models/EvaluationFormSectionModel';
422
450
  export { EvaluationFormQuestion, EvaluationFormQuestionType, } from './models/EvaluationFormQuestionModel';
package/dist/index.js CHANGED
@@ -15,7 +15,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  exports.EvaluationEligibilitySetting = exports.ServicesNotificationTriggerType = exports.AppointmentWorkFlowStatus = exports.AppointmentMessageType = exports.AppointmentAttendeeStatus = exports.AppointmentApprovalStatus = exports.AppointmentAttendees = exports.AppointmentWorkFlow = exports.AppointmentRequestChat = exports.AppointmentRequestAttachment = exports.AppointmentApprovalDetails = exports.AppointmentRequestStatus = exports.AppointmentRequests = exports.TravelClass = exports.MissionTravelWorkFlowStatus = exports.MissionTravelApprovalStatus = exports.AllowanceRatio = exports.DecisionType = exports.MissionType = exports.MissionTravelStatus = exports.GatePassMessageType = exports.GatePassWorkFlowStatus = exports.GatePassApprovalStatus = exports.GatePassType = exports.GatePassRequestStatus = exports.SecurityDeptMessageType = exports.SecurityDeptAccessType = exports.SecurityDeptRequestStatus = exports.RetiredCardMessageType = exports.RetiredCardWorkFlowStatus = exports.RetiredCardApprovalStatus = exports.RetiredCardAccessType = exports.RetiredCardRequestStatus = exports.TitleCategory = exports.ProfileUpdateRequestStatus = exports.StayAfterHoursTransactionStatus = exports.StayAfterHoursTransaction = exports.StayAfterHoursBalance = exports.EarlyCheckoutTransactionStatus = exports.EarlyCheckoutTransaction = exports.EarlyCheckoutFrequency = exports.EarlyCheckoutConfiguration = exports.EarlyCheckoutBalance = exports.LeaveTransactionStatus = exports.LeaveTransaction = exports.LeaveConfigurationGrades = exports.enumFrequency = exports.LeaveConfiguration = exports.ParcelDepartmentCategory = exports.RegisterCandidateExperienceActivity = void 0;
18
- exports.EvaluationFormQuestionType = exports.EvaluationFormQuestion = exports.EvaluationFormSection = exports.EvaluationFormType = exports.EvaluationForm = exports.EmployeeEvaluationRequestAttachment = exports.EmployeeEvaluationMessageType = exports.EmployeeEvaluationRequestChat = exports.EmployeeEvaluationWorkFlowStatus = exports.EmployeeEvaluationWorkFlow = exports.EmployeeEvaluationApprovalStatus = exports.EmployeeEvaluationApprovalDetails = exports.EmployeeEvaluationPersonScore = exports.EmployeeEvaluationAnswers = exports.EmployeeEvaluationUsFeedback = exports.EmployeeEvaluation = exports.EmployeeEvaluationRoutingBucket = exports.EmployeeEvaluationRequestStatus = exports.EmployeeEvaluationRequests = exports.persistEmployeeEvaluationScores = exports.resolveMaxEmployeesPerRequest = exports.normalizeEmployeeSubmissions = exports.DEFAULT_MAX_EMPLOYEES_PER_REQUEST = exports.parseMonthRange = exports.parseEvaluationEndDay = exports.isEvaluationEligibilityWindowOpen = exports.EvaluationEligibilitySettingEmployee = void 0;
18
+ exports.InnovativeEmployeeNominationWorkFlow = exports.InnovativeEmployeeNominationApprovalStatus = exports.InnovativeEmployeeNominationApprovalDetails = exports.InnovativeEmployeeNominationRequestStatus = exports.InnovativeEmployeeNominationRequests = exports.InitiatorEmployeeNominationRequestAttachment = exports.InitiatorEmployeeNominationMessageType = exports.InitiatorEmployeeNominationRequestChat = exports.InitiatorEmployeeNominationWorkFlowStatus = exports.InitiatorEmployeeNominationWorkFlow = exports.InitiatorEmployeeNominationApprovalStatus = exports.InitiatorEmployeeNominationApprovalDetails = exports.InitiatorInitiativeType = exports.InitiatorEmployeeNominationRequestStatus = exports.InitiatorEmployeeNominationRequests = exports.IpeGrievanceRequestAttachment = exports.IpeGrievanceMessageType = exports.IpeGrievanceRequestChat = exports.IpeGrievanceWorkFlowStatus = exports.IpeGrievanceWorkFlow = exports.IpeGrievanceApprovalStatus = exports.IpeGrievanceApprovalDetails = exports.IpeGrievancePeriodRating = exports.IpeGrievanceExemptionReason = exports.IpeGrievancePeriodType = exports.IpeGrievanceFinalEvaluationResult = exports.IpeGrievanceRequestStatus = exports.IpeGrievanceRequests = exports.EmployeeEvaluationRequestAttachment = exports.EmployeeEvaluationMessageType = exports.EmployeeEvaluationRequestChat = exports.EmployeeEvaluationWorkFlowStatus = exports.EmployeeEvaluationWorkFlow = exports.EmployeeEvaluationApprovalStatus = exports.EmployeeEvaluationApprovalDetails = exports.EmployeeEvaluationPersonScore = exports.EmployeeEvaluationAnswers = exports.EmployeeEvaluationUsFeedback = exports.EmployeeEvaluation = exports.EmployeeEvaluationRoutingBucket = exports.EmployeeEvaluationRequestStatus = exports.EmployeeEvaluationRequests = exports.persistEmployeeEvaluationScores = exports.resolveMaxEmployeesPerRequest = exports.normalizeEmployeeSubmissions = exports.DEFAULT_MAX_EMPLOYEES_PER_REQUEST = exports.parseMonthRange = exports.parseEvaluationEndDay = exports.isEvaluationEligibilityWindowOpen = exports.EvaluationEligibilitySettingEmployee = void 0;
19
+ exports.EvaluationFormQuestionType = exports.EvaluationFormQuestion = exports.EvaluationFormSection = exports.EvaluationFormType = exports.EvaluationForm = exports.EmployeeOfMonthSupportNominationRequestAttachment = exports.EmployeeOfMonthSupportNominationMessageType = exports.EmployeeOfMonthSupportNominationRequestChat = exports.EmployeeOfMonthSupportNominationWorkFlowStatus = exports.EmployeeOfMonthSupportNominationWorkFlow = exports.EmployeeOfMonthSupportNominationApprovalStatus = exports.EmployeeOfMonthSupportNominationApprovalDetails = exports.EmployeeOfMonthSupportNominationRequestStatus = exports.EmployeeOfMonthSupportNominationRequests = exports.EmployeeOfMonthNominationRequestAttachment = exports.EmployeeOfMonthNominationMessageType = exports.EmployeeOfMonthNominationRequestChat = exports.EmployeeOfMonthNominationWorkFlowStatus = exports.EmployeeOfMonthNominationWorkFlow = exports.EmployeeOfMonthNominationApprovalStatus = exports.EmployeeOfMonthNominationApprovalDetails = exports.EmployeeOfMonthNominationRequestStatus = exports.EmployeeOfMonthNominationRequests = exports.InnovativeEmployeeNominationRequestAttachment = exports.InnovativeEmployeeNominationMessageType = exports.InnovativeEmployeeNominationRequestChat = exports.InnovativeEmployeeNominationWorkFlowStatus = void 0;
19
20
  __exportStar(require("./models/user"), exports);
20
21
  __exportStar(require("./models/role"), exports);
21
22
  __exportStar(require("./models/user-sessions"), exports);
@@ -526,6 +527,81 @@ Object.defineProperty(exports, "EmployeeEvaluationRequestChat", { enumerable: tr
526
527
  Object.defineProperty(exports, "EmployeeEvaluationMessageType", { enumerable: true, get: function () { return EmployeeEvaluationChatModel_1.EmployeeEvaluationMessageType; } });
527
528
  var EmployeeEvaluationAttachmentModel_1 = require("./models/EmployeeEvaluationAttachmentModel");
528
529
  Object.defineProperty(exports, "EmployeeEvaluationRequestAttachment", { enumerable: true, get: function () { return EmployeeEvaluationAttachmentModel_1.EmployeeEvaluationRequestAttachment; } });
530
+ var IpeGrievanceRequestModel_1 = require("./models/IpeGrievanceRequestModel");
531
+ Object.defineProperty(exports, "IpeGrievanceRequests", { enumerable: true, get: function () { return IpeGrievanceRequestModel_1.IpeGrievanceRequests; } });
532
+ Object.defineProperty(exports, "IpeGrievanceRequestStatus", { enumerable: true, get: function () { return IpeGrievanceRequestModel_1.IpeGrievanceRequestStatus; } });
533
+ Object.defineProperty(exports, "IpeGrievanceFinalEvaluationResult", { enumerable: true, get: function () { return IpeGrievanceRequestModel_1.IpeGrievanceFinalEvaluationResult; } });
534
+ Object.defineProperty(exports, "IpeGrievancePeriodType", { enumerable: true, get: function () { return IpeGrievanceRequestModel_1.IpeGrievancePeriodType; } });
535
+ Object.defineProperty(exports, "IpeGrievanceExemptionReason", { enumerable: true, get: function () { return IpeGrievanceRequestModel_1.IpeGrievanceExemptionReason; } });
536
+ Object.defineProperty(exports, "IpeGrievancePeriodRating", { enumerable: true, get: function () { return IpeGrievanceRequestModel_1.IpeGrievancePeriodRating; } });
537
+ var IpeGrievanceApprovalModel_1 = require("./models/IpeGrievanceApprovalModel");
538
+ Object.defineProperty(exports, "IpeGrievanceApprovalDetails", { enumerable: true, get: function () { return IpeGrievanceApprovalModel_1.IpeGrievanceApprovalDetails; } });
539
+ Object.defineProperty(exports, "IpeGrievanceApprovalStatus", { enumerable: true, get: function () { return IpeGrievanceApprovalModel_1.IpeGrievanceApprovalStatus; } });
540
+ var IpeGrievanceWorkflowModel_1 = require("./models/IpeGrievanceWorkflowModel");
541
+ Object.defineProperty(exports, "IpeGrievanceWorkFlow", { enumerable: true, get: function () { return IpeGrievanceWorkflowModel_1.IpeGrievanceWorkFlow; } });
542
+ Object.defineProperty(exports, "IpeGrievanceWorkFlowStatus", { enumerable: true, get: function () { return IpeGrievanceWorkflowModel_1.IpeGrievanceWorkFlowStatus; } });
543
+ var IpeGrievanceChatModel_1 = require("./models/IpeGrievanceChatModel");
544
+ Object.defineProperty(exports, "IpeGrievanceRequestChat", { enumerable: true, get: function () { return IpeGrievanceChatModel_1.IpeGrievanceRequestChat; } });
545
+ Object.defineProperty(exports, "IpeGrievanceMessageType", { enumerable: true, get: function () { return IpeGrievanceChatModel_1.IpeGrievanceMessageType; } });
546
+ var IpeGrievanceAttachmentModel_1 = require("./models/IpeGrievanceAttachmentModel");
547
+ Object.defineProperty(exports, "IpeGrievanceRequestAttachment", { enumerable: true, get: function () { return IpeGrievanceAttachmentModel_1.IpeGrievanceRequestAttachment; } });
548
+ var InitiatorEmployeeNominationRequestModel_1 = require("./models/InitiatorEmployeeNominationRequestModel");
549
+ Object.defineProperty(exports, "InitiatorEmployeeNominationRequests", { enumerable: true, get: function () { return InitiatorEmployeeNominationRequestModel_1.InitiatorEmployeeNominationRequests; } });
550
+ Object.defineProperty(exports, "InitiatorEmployeeNominationRequestStatus", { enumerable: true, get: function () { return InitiatorEmployeeNominationRequestModel_1.InitiatorEmployeeNominationRequestStatus; } });
551
+ Object.defineProperty(exports, "InitiatorInitiativeType", { enumerable: true, get: function () { return InitiatorEmployeeNominationRequestModel_1.InitiatorInitiativeType; } });
552
+ var InitiatorEmployeeNominationApprovalModel_1 = require("./models/InitiatorEmployeeNominationApprovalModel");
553
+ Object.defineProperty(exports, "InitiatorEmployeeNominationApprovalDetails", { enumerable: true, get: function () { return InitiatorEmployeeNominationApprovalModel_1.InitiatorEmployeeNominationApprovalDetails; } });
554
+ Object.defineProperty(exports, "InitiatorEmployeeNominationApprovalStatus", { enumerable: true, get: function () { return InitiatorEmployeeNominationApprovalModel_1.InitiatorEmployeeNominationApprovalStatus; } });
555
+ var InitiatorEmployeeNominationWorkflowModel_1 = require("./models/InitiatorEmployeeNominationWorkflowModel");
556
+ Object.defineProperty(exports, "InitiatorEmployeeNominationWorkFlow", { enumerable: true, get: function () { return InitiatorEmployeeNominationWorkflowModel_1.InitiatorEmployeeNominationWorkFlow; } });
557
+ Object.defineProperty(exports, "InitiatorEmployeeNominationWorkFlowStatus", { enumerable: true, get: function () { return InitiatorEmployeeNominationWorkflowModel_1.InitiatorEmployeeNominationWorkFlowStatus; } });
558
+ var InitiatorEmployeeNominationChatModel_1 = require("./models/InitiatorEmployeeNominationChatModel");
559
+ Object.defineProperty(exports, "InitiatorEmployeeNominationRequestChat", { enumerable: true, get: function () { return InitiatorEmployeeNominationChatModel_1.InitiatorEmployeeNominationRequestChat; } });
560
+ Object.defineProperty(exports, "InitiatorEmployeeNominationMessageType", { enumerable: true, get: function () { return InitiatorEmployeeNominationChatModel_1.InitiatorEmployeeNominationMessageType; } });
561
+ var InitiatorEmployeeNominationAttachmentModel_1 = require("./models/InitiatorEmployeeNominationAttachmentModel");
562
+ Object.defineProperty(exports, "InitiatorEmployeeNominationRequestAttachment", { enumerable: true, get: function () { return InitiatorEmployeeNominationAttachmentModel_1.InitiatorEmployeeNominationRequestAttachment; } });
563
+ var InnovativeEmployeeNominationRequestModel_1 = require("./models/InnovativeEmployeeNominationRequestModel");
564
+ Object.defineProperty(exports, "InnovativeEmployeeNominationRequests", { enumerable: true, get: function () { return InnovativeEmployeeNominationRequestModel_1.InnovativeEmployeeNominationRequests; } });
565
+ Object.defineProperty(exports, "InnovativeEmployeeNominationRequestStatus", { enumerable: true, get: function () { return InnovativeEmployeeNominationRequestModel_1.InnovativeEmployeeNominationRequestStatus; } });
566
+ var InnovativeEmployeeNominationApprovalModel_1 = require("./models/InnovativeEmployeeNominationApprovalModel");
567
+ Object.defineProperty(exports, "InnovativeEmployeeNominationApprovalDetails", { enumerable: true, get: function () { return InnovativeEmployeeNominationApprovalModel_1.InnovativeEmployeeNominationApprovalDetails; } });
568
+ Object.defineProperty(exports, "InnovativeEmployeeNominationApprovalStatus", { enumerable: true, get: function () { return InnovativeEmployeeNominationApprovalModel_1.InnovativeEmployeeNominationApprovalStatus; } });
569
+ var InnovativeEmployeeNominationWorkflowModel_1 = require("./models/InnovativeEmployeeNominationWorkflowModel");
570
+ Object.defineProperty(exports, "InnovativeEmployeeNominationWorkFlow", { enumerable: true, get: function () { return InnovativeEmployeeNominationWorkflowModel_1.InnovativeEmployeeNominationWorkFlow; } });
571
+ Object.defineProperty(exports, "InnovativeEmployeeNominationWorkFlowStatus", { enumerable: true, get: function () { return InnovativeEmployeeNominationWorkflowModel_1.InnovativeEmployeeNominationWorkFlowStatus; } });
572
+ var InnovativeEmployeeNominationChatModel_1 = require("./models/InnovativeEmployeeNominationChatModel");
573
+ Object.defineProperty(exports, "InnovativeEmployeeNominationRequestChat", { enumerable: true, get: function () { return InnovativeEmployeeNominationChatModel_1.InnovativeEmployeeNominationRequestChat; } });
574
+ Object.defineProperty(exports, "InnovativeEmployeeNominationMessageType", { enumerable: true, get: function () { return InnovativeEmployeeNominationChatModel_1.InnovativeEmployeeNominationMessageType; } });
575
+ var InnovativeEmployeeNominationAttachmentModel_1 = require("./models/InnovativeEmployeeNominationAttachmentModel");
576
+ Object.defineProperty(exports, "InnovativeEmployeeNominationRequestAttachment", { enumerable: true, get: function () { return InnovativeEmployeeNominationAttachmentModel_1.InnovativeEmployeeNominationRequestAttachment; } });
577
+ var EmployeeOfMonthNominationRequestModel_1 = require("./models/EmployeeOfMonthNominationRequestModel");
578
+ Object.defineProperty(exports, "EmployeeOfMonthNominationRequests", { enumerable: true, get: function () { return EmployeeOfMonthNominationRequestModel_1.EmployeeOfMonthNominationRequests; } });
579
+ Object.defineProperty(exports, "EmployeeOfMonthNominationRequestStatus", { enumerable: true, get: function () { return EmployeeOfMonthNominationRequestModel_1.EmployeeOfMonthNominationRequestStatus; } });
580
+ var EmployeeOfMonthNominationApprovalModel_1 = require("./models/EmployeeOfMonthNominationApprovalModel");
581
+ Object.defineProperty(exports, "EmployeeOfMonthNominationApprovalDetails", { enumerable: true, get: function () { return EmployeeOfMonthNominationApprovalModel_1.EmployeeOfMonthNominationApprovalDetails; } });
582
+ Object.defineProperty(exports, "EmployeeOfMonthNominationApprovalStatus", { enumerable: true, get: function () { return EmployeeOfMonthNominationApprovalModel_1.EmployeeOfMonthNominationApprovalStatus; } });
583
+ var EmployeeOfMonthNominationWorkflowModel_1 = require("./models/EmployeeOfMonthNominationWorkflowModel");
584
+ Object.defineProperty(exports, "EmployeeOfMonthNominationWorkFlow", { enumerable: true, get: function () { return EmployeeOfMonthNominationWorkflowModel_1.EmployeeOfMonthNominationWorkFlow; } });
585
+ Object.defineProperty(exports, "EmployeeOfMonthNominationWorkFlowStatus", { enumerable: true, get: function () { return EmployeeOfMonthNominationWorkflowModel_1.EmployeeOfMonthNominationWorkFlowStatus; } });
586
+ var EmployeeOfMonthNominationChatModel_1 = require("./models/EmployeeOfMonthNominationChatModel");
587
+ Object.defineProperty(exports, "EmployeeOfMonthNominationRequestChat", { enumerable: true, get: function () { return EmployeeOfMonthNominationChatModel_1.EmployeeOfMonthNominationRequestChat; } });
588
+ Object.defineProperty(exports, "EmployeeOfMonthNominationMessageType", { enumerable: true, get: function () { return EmployeeOfMonthNominationChatModel_1.EmployeeOfMonthNominationMessageType; } });
589
+ var EmployeeOfMonthNominationAttachmentModel_1 = require("./models/EmployeeOfMonthNominationAttachmentModel");
590
+ Object.defineProperty(exports, "EmployeeOfMonthNominationRequestAttachment", { enumerable: true, get: function () { return EmployeeOfMonthNominationAttachmentModel_1.EmployeeOfMonthNominationRequestAttachment; } });
591
+ var EmployeeOfMonthSupportNominationRequestModel_1 = require("./models/EmployeeOfMonthSupportNominationRequestModel");
592
+ Object.defineProperty(exports, "EmployeeOfMonthSupportNominationRequests", { enumerable: true, get: function () { return EmployeeOfMonthSupportNominationRequestModel_1.EmployeeOfMonthSupportNominationRequests; } });
593
+ Object.defineProperty(exports, "EmployeeOfMonthSupportNominationRequestStatus", { enumerable: true, get: function () { return EmployeeOfMonthSupportNominationRequestModel_1.EmployeeOfMonthSupportNominationRequestStatus; } });
594
+ var EmployeeOfMonthSupportNominationApprovalModel_1 = require("./models/EmployeeOfMonthSupportNominationApprovalModel");
595
+ Object.defineProperty(exports, "EmployeeOfMonthSupportNominationApprovalDetails", { enumerable: true, get: function () { return EmployeeOfMonthSupportNominationApprovalModel_1.EmployeeOfMonthSupportNominationApprovalDetails; } });
596
+ Object.defineProperty(exports, "EmployeeOfMonthSupportNominationApprovalStatus", { enumerable: true, get: function () { return EmployeeOfMonthSupportNominationApprovalModel_1.EmployeeOfMonthSupportNominationApprovalStatus; } });
597
+ var EmployeeOfMonthSupportNominationWorkflowModel_1 = require("./models/EmployeeOfMonthSupportNominationWorkflowModel");
598
+ Object.defineProperty(exports, "EmployeeOfMonthSupportNominationWorkFlow", { enumerable: true, get: function () { return EmployeeOfMonthSupportNominationWorkflowModel_1.EmployeeOfMonthSupportNominationWorkFlow; } });
599
+ Object.defineProperty(exports, "EmployeeOfMonthSupportNominationWorkFlowStatus", { enumerable: true, get: function () { return EmployeeOfMonthSupportNominationWorkflowModel_1.EmployeeOfMonthSupportNominationWorkFlowStatus; } });
600
+ var EmployeeOfMonthSupportNominationChatModel_1 = require("./models/EmployeeOfMonthSupportNominationChatModel");
601
+ Object.defineProperty(exports, "EmployeeOfMonthSupportNominationRequestChat", { enumerable: true, get: function () { return EmployeeOfMonthSupportNominationChatModel_1.EmployeeOfMonthSupportNominationRequestChat; } });
602
+ Object.defineProperty(exports, "EmployeeOfMonthSupportNominationMessageType", { enumerable: true, get: function () { return EmployeeOfMonthSupportNominationChatModel_1.EmployeeOfMonthSupportNominationMessageType; } });
603
+ var EmployeeOfMonthSupportNominationAttachmentModel_1 = require("./models/EmployeeOfMonthSupportNominationAttachmentModel");
604
+ Object.defineProperty(exports, "EmployeeOfMonthSupportNominationRequestAttachment", { enumerable: true, get: function () { return EmployeeOfMonthSupportNominationAttachmentModel_1.EmployeeOfMonthSupportNominationRequestAttachment; } });
529
605
  var EvaluationFormModel_1 = require("./models/EvaluationFormModel");
530
606
  Object.defineProperty(exports, "EvaluationForm", { enumerable: true, get: function () { return EvaluationFormModel_1.EvaluationForm; } });
531
607
  Object.defineProperty(exports, "EvaluationFormType", { enumerable: true, get: function () { return EvaluationFormModel_1.EvaluationFormType; } });
@@ -0,0 +1,22 @@
1
+ import { BaseModel } from './BaseModel';
2
+ export declare enum EmployeeOfMonthNominationApprovalStatus {
3
+ PENDING = "Pending",
4
+ IN_PROGRESS = "In Progress",
5
+ APPROVED = "Approved",
6
+ REJECTED = "Rejected"
7
+ }
8
+ export declare class EmployeeOfMonthNominationApprovalDetails extends BaseModel {
9
+ request_id: number;
10
+ service_id: number | null;
11
+ sub_service_id: number | null;
12
+ level: number;
13
+ approver_role_id: number | null;
14
+ department_id: number | null;
15
+ section_id: number | null;
16
+ approver_user_id: number | null;
17
+ delegate_user_id: number | null;
18
+ approved_by: number | null;
19
+ comment: string;
20
+ approval_status: EmployeeOfMonthNominationApprovalStatus;
21
+ is_allowed: boolean;
22
+ }
@@ -0,0 +1,84 @@
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.EmployeeOfMonthNominationApprovalDetails = exports.EmployeeOfMonthNominationApprovalStatus = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const BaseModel_1 = require("./BaseModel");
15
+ var EmployeeOfMonthNominationApprovalStatus;
16
+ (function (EmployeeOfMonthNominationApprovalStatus) {
17
+ EmployeeOfMonthNominationApprovalStatus["PENDING"] = "Pending";
18
+ EmployeeOfMonthNominationApprovalStatus["IN_PROGRESS"] = "In Progress";
19
+ EmployeeOfMonthNominationApprovalStatus["APPROVED"] = "Approved";
20
+ EmployeeOfMonthNominationApprovalStatus["REJECTED"] = "Rejected";
21
+ })(EmployeeOfMonthNominationApprovalStatus || (exports.EmployeeOfMonthNominationApprovalStatus = EmployeeOfMonthNominationApprovalStatus = {}));
22
+ let EmployeeOfMonthNominationApprovalDetails = class EmployeeOfMonthNominationApprovalDetails extends BaseModel_1.BaseModel {
23
+ };
24
+ exports.EmployeeOfMonthNominationApprovalDetails = EmployeeOfMonthNominationApprovalDetails;
25
+ __decorate([
26
+ (0, typeorm_1.Column)({ type: 'integer', nullable: false }),
27
+ __metadata("design:type", Number)
28
+ ], EmployeeOfMonthNominationApprovalDetails.prototype, "request_id", void 0);
29
+ __decorate([
30
+ (0, typeorm_1.Column)({ type: 'integer', nullable: true }),
31
+ __metadata("design:type", Object)
32
+ ], EmployeeOfMonthNominationApprovalDetails.prototype, "service_id", void 0);
33
+ __decorate([
34
+ (0, typeorm_1.Column)({ type: 'integer', nullable: true }),
35
+ __metadata("design:type", Object)
36
+ ], EmployeeOfMonthNominationApprovalDetails.prototype, "sub_service_id", void 0);
37
+ __decorate([
38
+ (0, typeorm_1.Column)({ type: 'integer', nullable: false }),
39
+ __metadata("design:type", Number)
40
+ ], EmployeeOfMonthNominationApprovalDetails.prototype, "level", void 0);
41
+ __decorate([
42
+ (0, typeorm_1.Column)({ type: 'integer', nullable: true }),
43
+ __metadata("design:type", Object)
44
+ ], EmployeeOfMonthNominationApprovalDetails.prototype, "approver_role_id", void 0);
45
+ __decorate([
46
+ (0, typeorm_1.Column)({ type: 'integer', nullable: true }),
47
+ __metadata("design:type", Object)
48
+ ], EmployeeOfMonthNominationApprovalDetails.prototype, "department_id", void 0);
49
+ __decorate([
50
+ (0, typeorm_1.Column)({ type: 'integer', nullable: true }),
51
+ __metadata("design:type", Object)
52
+ ], EmployeeOfMonthNominationApprovalDetails.prototype, "section_id", void 0);
53
+ __decorate([
54
+ (0, typeorm_1.Column)({ type: 'integer', nullable: true }),
55
+ __metadata("design:type", Object)
56
+ ], EmployeeOfMonthNominationApprovalDetails.prototype, "approver_user_id", void 0);
57
+ __decorate([
58
+ (0, typeorm_1.Column)({ type: 'integer', nullable: true }),
59
+ __metadata("design:type", Object)
60
+ ], EmployeeOfMonthNominationApprovalDetails.prototype, "delegate_user_id", void 0);
61
+ __decorate([
62
+ (0, typeorm_1.Column)({ type: 'integer', nullable: true }),
63
+ __metadata("design:type", Object)
64
+ ], EmployeeOfMonthNominationApprovalDetails.prototype, "approved_by", void 0);
65
+ __decorate([
66
+ (0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: true, default: '' }),
67
+ __metadata("design:type", String)
68
+ ], EmployeeOfMonthNominationApprovalDetails.prototype, "comment", void 0);
69
+ __decorate([
70
+ (0, typeorm_1.Column)({
71
+ type: 'enum',
72
+ enum: EmployeeOfMonthNominationApprovalStatus,
73
+ default: EmployeeOfMonthNominationApprovalStatus.PENDING,
74
+ nullable: false,
75
+ }),
76
+ __metadata("design:type", String)
77
+ ], EmployeeOfMonthNominationApprovalDetails.prototype, "approval_status", void 0);
78
+ __decorate([
79
+ (0, typeorm_1.Column)({ type: 'boolean', default: true, nullable: false }),
80
+ __metadata("design:type", Boolean)
81
+ ], EmployeeOfMonthNominationApprovalDetails.prototype, "is_allowed", void 0);
82
+ exports.EmployeeOfMonthNominationApprovalDetails = EmployeeOfMonthNominationApprovalDetails = __decorate([
83
+ (0, typeorm_1.Entity)({ name: 'employee_of_month_nomination_approvals' })
84
+ ], EmployeeOfMonthNominationApprovalDetails);
@@ -0,0 +1,10 @@
1
+ import { BaseModel } from './BaseModel';
2
+ export declare class EmployeeOfMonthNominationRequestAttachment 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
+ }
@@ -0,0 +1,48 @@
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.EmployeeOfMonthNominationRequestAttachment = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const BaseModel_1 = require("./BaseModel");
15
+ let EmployeeOfMonthNominationRequestAttachment = class EmployeeOfMonthNominationRequestAttachment extends BaseModel_1.BaseModel {
16
+ };
17
+ exports.EmployeeOfMonthNominationRequestAttachment = EmployeeOfMonthNominationRequestAttachment;
18
+ __decorate([
19
+ (0, typeorm_1.Column)({ type: 'integer', nullable: false }),
20
+ __metadata("design:type", Number)
21
+ ], EmployeeOfMonthNominationRequestAttachment.prototype, "request_id", void 0);
22
+ __decorate([
23
+ (0, typeorm_1.Column)({ type: 'integer', nullable: true }),
24
+ __metadata("design:type", Object)
25
+ ], EmployeeOfMonthNominationRequestAttachment.prototype, "service_id", void 0);
26
+ __decorate([
27
+ (0, typeorm_1.Column)({ type: 'integer', nullable: true }),
28
+ __metadata("design:type", Object)
29
+ ], EmployeeOfMonthNominationRequestAttachment.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
+ ], EmployeeOfMonthNominationRequestAttachment.prototype, "file_url", void 0);
34
+ __decorate([
35
+ (0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
36
+ __metadata("design:type", Object)
37
+ ], EmployeeOfMonthNominationRequestAttachment.prototype, "file_name", void 0);
38
+ __decorate([
39
+ (0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
40
+ __metadata("design:type", Object)
41
+ ], EmployeeOfMonthNominationRequestAttachment.prototype, "file_type", void 0);
42
+ __decorate([
43
+ (0, typeorm_1.Column)({ type: 'bigint', nullable: true }),
44
+ __metadata("design:type", Object)
45
+ ], EmployeeOfMonthNominationRequestAttachment.prototype, "file_size", void 0);
46
+ exports.EmployeeOfMonthNominationRequestAttachment = EmployeeOfMonthNominationRequestAttachment = __decorate([
47
+ (0, typeorm_1.Entity)({ name: 'employee_of_month_nomination_attachments' })
48
+ ], EmployeeOfMonthNominationRequestAttachment);
@@ -0,0 +1,18 @@
1
+ import { BaseModel } from './BaseModel';
2
+ export declare enum EmployeeOfMonthNominationMessageType {
3
+ TEXT = "text",
4
+ IMAGE = "image",
5
+ VIDEO = "video",
6
+ FILE = "file",
7
+ LINK = "link"
8
+ }
9
+ export declare class EmployeeOfMonthNominationRequestChat 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
+ message_type: EmployeeOfMonthNominationMessageType;
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.EmployeeOfMonthNominationRequestChat = exports.EmployeeOfMonthNominationMessageType = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const BaseModel_1 = require("./BaseModel");
15
+ var EmployeeOfMonthNominationMessageType;
16
+ (function (EmployeeOfMonthNominationMessageType) {
17
+ EmployeeOfMonthNominationMessageType["TEXT"] = "text";
18
+ EmployeeOfMonthNominationMessageType["IMAGE"] = "image";
19
+ EmployeeOfMonthNominationMessageType["VIDEO"] = "video";
20
+ EmployeeOfMonthNominationMessageType["FILE"] = "file";
21
+ EmployeeOfMonthNominationMessageType["LINK"] = "link";
22
+ })(EmployeeOfMonthNominationMessageType || (exports.EmployeeOfMonthNominationMessageType = EmployeeOfMonthNominationMessageType = {}));
23
+ let EmployeeOfMonthNominationRequestChat = class EmployeeOfMonthNominationRequestChat extends BaseModel_1.BaseModel {
24
+ };
25
+ exports.EmployeeOfMonthNominationRequestChat = EmployeeOfMonthNominationRequestChat;
26
+ __decorate([
27
+ (0, typeorm_1.Column)({ type: 'integer', nullable: false }),
28
+ __metadata("design:type", Number)
29
+ ], EmployeeOfMonthNominationRequestChat.prototype, "request_id", void 0);
30
+ __decorate([
31
+ (0, typeorm_1.Column)({ type: 'integer', nullable: true }),
32
+ __metadata("design:type", Object)
33
+ ], EmployeeOfMonthNominationRequestChat.prototype, "service_id", void 0);
34
+ __decorate([
35
+ (0, typeorm_1.Column)({ type: 'integer', nullable: true }),
36
+ __metadata("design:type", Object)
37
+ ], EmployeeOfMonthNominationRequestChat.prototype, "sub_service_id", void 0);
38
+ __decorate([
39
+ (0, typeorm_1.Column)({ type: 'integer', nullable: false }),
40
+ __metadata("design:type", Number)
41
+ ], EmployeeOfMonthNominationRequestChat.prototype, "user_id", void 0);
42
+ __decorate([
43
+ (0, typeorm_1.Column)({ type: 'integer', nullable: true }),
44
+ __metadata("design:type", Object)
45
+ ], EmployeeOfMonthNominationRequestChat.prototype, "role_id", void 0);
46
+ __decorate([
47
+ (0, typeorm_1.Column)({ type: 'text', nullable: false }),
48
+ __metadata("design:type", String)
49
+ ], EmployeeOfMonthNominationRequestChat.prototype, "message", void 0);
50
+ __decorate([
51
+ (0, typeorm_1.Column)({
52
+ type: 'enum',
53
+ enum: EmployeeOfMonthNominationMessageType,
54
+ default: EmployeeOfMonthNominationMessageType.TEXT,
55
+ nullable: false,
56
+ }),
57
+ __metadata("design:type", String)
58
+ ], EmployeeOfMonthNominationRequestChat.prototype, "message_type", void 0);
59
+ __decorate([
60
+ (0, typeorm_1.Column)({ type: 'text', nullable: true }),
61
+ __metadata("design:type", Object)
62
+ ], EmployeeOfMonthNominationRequestChat.prototype, "status", void 0);
63
+ exports.EmployeeOfMonthNominationRequestChat = EmployeeOfMonthNominationRequestChat = __decorate([
64
+ (0, typeorm_1.Entity)({ name: 'employee_of_month_nomination_chats' })
65
+ ], EmployeeOfMonthNominationRequestChat);
@@ -0,0 +1,32 @@
1
+ import { BaseModel } from './BaseModel';
2
+ export declare enum EmployeeOfMonthNominationRequestStatus {
3
+ PENDING = "Pending",
4
+ IN_PROGRESS = "In Progress",
5
+ APPROVED = "Approved",
6
+ REJECTED = "Rejected"
7
+ }
8
+ export type EomNominationRatingScores = {
9
+ effective_communication: number;
10
+ rules_regulations_familiarity: number;
11
+ support_and_advice: number;
12
+ professional_ethics_teamwork: number;
13
+ additional_responsibilities_adaptability: number;
14
+ discipline_work_hours: number;
15
+ confidentiality: number;
16
+ avoid_mistakes_quality_improvement: number;
17
+ quality_efficiency_timeliness: number;
18
+ proactive_support_colleagues: number;
19
+ };
20
+ export declare class EmployeeOfMonthNominationRequests extends BaseModel {
21
+ req_user_department_id: number | null;
22
+ req_user_section_id: number | null;
23
+ service_id: number | null;
24
+ sub_service_id: number | null;
25
+ user_id: number;
26
+ job_number: string;
27
+ last_annual_assessment: string;
28
+ rating_scores: EomNominationRatingScores;
29
+ status: EmployeeOfMonthNominationRequestStatus;
30
+ workflow_execution_id: string | null;
31
+ comments: string | null;
32
+ }
@@ -0,0 +1,76 @@
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.EmployeeOfMonthNominationRequests = exports.EmployeeOfMonthNominationRequestStatus = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const BaseModel_1 = require("./BaseModel");
15
+ var EmployeeOfMonthNominationRequestStatus;
16
+ (function (EmployeeOfMonthNominationRequestStatus) {
17
+ EmployeeOfMonthNominationRequestStatus["PENDING"] = "Pending";
18
+ EmployeeOfMonthNominationRequestStatus["IN_PROGRESS"] = "In Progress";
19
+ EmployeeOfMonthNominationRequestStatus["APPROVED"] = "Approved";
20
+ EmployeeOfMonthNominationRequestStatus["REJECTED"] = "Rejected";
21
+ })(EmployeeOfMonthNominationRequestStatus || (exports.EmployeeOfMonthNominationRequestStatus = EmployeeOfMonthNominationRequestStatus = {}));
22
+ let EmployeeOfMonthNominationRequests = class EmployeeOfMonthNominationRequests extends BaseModel_1.BaseModel {
23
+ };
24
+ exports.EmployeeOfMonthNominationRequests = EmployeeOfMonthNominationRequests;
25
+ __decorate([
26
+ (0, typeorm_1.Column)({ type: 'int', nullable: true }),
27
+ __metadata("design:type", Object)
28
+ ], EmployeeOfMonthNominationRequests.prototype, "req_user_department_id", void 0);
29
+ __decorate([
30
+ (0, typeorm_1.Column)({ type: 'int', nullable: true }),
31
+ __metadata("design:type", Object)
32
+ ], EmployeeOfMonthNominationRequests.prototype, "req_user_section_id", void 0);
33
+ __decorate([
34
+ (0, typeorm_1.Column)({ type: 'int', nullable: true }),
35
+ __metadata("design:type", Object)
36
+ ], EmployeeOfMonthNominationRequests.prototype, "service_id", void 0);
37
+ __decorate([
38
+ (0, typeorm_1.Column)({ type: 'int', nullable: true }),
39
+ __metadata("design:type", Object)
40
+ ], EmployeeOfMonthNominationRequests.prototype, "sub_service_id", void 0);
41
+ __decorate([
42
+ (0, typeorm_1.Column)({ type: 'int', nullable: false }),
43
+ __metadata("design:type", Number)
44
+ ], EmployeeOfMonthNominationRequests.prototype, "user_id", void 0);
45
+ __decorate([
46
+ (0, typeorm_1.Column)({ type: 'varchar', length: 120, nullable: false }),
47
+ __metadata("design:type", String)
48
+ ], EmployeeOfMonthNominationRequests.prototype, "job_number", void 0);
49
+ __decorate([
50
+ (0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: false }),
51
+ __metadata("design:type", String)
52
+ ], EmployeeOfMonthNominationRequests.prototype, "last_annual_assessment", void 0);
53
+ __decorate([
54
+ (0, typeorm_1.Column)({ type: 'jsonb', nullable: false }),
55
+ __metadata("design:type", Object)
56
+ ], EmployeeOfMonthNominationRequests.prototype, "rating_scores", void 0);
57
+ __decorate([
58
+ (0, typeorm_1.Column)({
59
+ type: 'enum',
60
+ enum: EmployeeOfMonthNominationRequestStatus,
61
+ default: EmployeeOfMonthNominationRequestStatus.PENDING,
62
+ nullable: false,
63
+ }),
64
+ __metadata("design:type", String)
65
+ ], EmployeeOfMonthNominationRequests.prototype, "status", void 0);
66
+ __decorate([
67
+ (0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
68
+ __metadata("design:type", Object)
69
+ ], EmployeeOfMonthNominationRequests.prototype, "workflow_execution_id", void 0);
70
+ __decorate([
71
+ (0, typeorm_1.Column)({ type: 'text', nullable: true }),
72
+ __metadata("design:type", Object)
73
+ ], EmployeeOfMonthNominationRequests.prototype, "comments", void 0);
74
+ exports.EmployeeOfMonthNominationRequests = EmployeeOfMonthNominationRequests = __decorate([
75
+ (0, typeorm_1.Entity)({ name: 'employee_of_month_nomination_requests' })
76
+ ], EmployeeOfMonthNominationRequests);
@@ -0,0 +1,19 @@
1
+ import { BaseModel } from './BaseModel';
2
+ export declare enum EmployeeOfMonthNominationWorkFlowStatus {
3
+ PENDING = "Pending",
4
+ IN_PROGRESS = "In Progress",
5
+ COMPLETED = "Completed",
6
+ FAILED = "Failed"
7
+ }
8
+ export declare class EmployeeOfMonthNominationWorkFlow extends BaseModel {
9
+ request_id: number;
10
+ service_id: number | null;
11
+ sub_service_id: number | null;
12
+ user_id: number | null;
13
+ role_id: number | null;
14
+ department_id: number | null;
15
+ section_id: number | null;
16
+ task_name: string;
17
+ description: string | null;
18
+ status: EmployeeOfMonthNominationWorkFlowStatus;
19
+ }