HR & Time Management
HR & Time Management
Section titled “HR & Time Management”Quellverzeichnis: modules/hr-time-management/
Mitarbeiter, Zeitbuchungen und Schichtpläne (Frappe HR / Kimai-Anbindung).
Services
Section titled “Services”Geschäftslogik des Moduls (src/services/):
DatevLohnExportEmptyErrorDatevLohnExportServiceEmployeeNotFoundErrorEmployeeNotModifiableErrorEmployeeServiceEmployeeUserIdConflictErrorQualificationNotFoundErrorShiftConflictErrorShiftNotFoundErrorShiftScheduleNotFoundErrorShiftScheduleNotModifiableErrorShiftScheduleServiceTimeEntryAlreadyApprovedErrorTimeEntryAlreadyOpenErrorTimeEntryNotFoundErrorTimeEntryNotOpenErrorTimeEntryServiceVacationRequestNotApprovableErrorVacationRequestNotFoundErrorVacationRequestService
Repositories
Section titled “Repositories”Datenzugriffs-Ports (src/repositories/):
EmployeeRepositoryInMemoryEmployeeRepositoryInMemoryShiftScheduleRepositoryInMemoryTimeEntryRepositoryInMemoryVacationRequestRepositoryShiftScheduleRepositoryTimeEntryRepositoryVacationRequestRepository
Domain Events
Section titled “Domain Events”Vom Modul emittierte Ereignisse (src/events.ts):
EventHandleremployeeHiredemployeeStatusChangedemployeeTerminatedqualificationExpiredqualificationExpiringshiftPublishedshiftSwappedsickLeaveReportedtimeEntryApprovedtimeEntryClockedIntimeEntryClockedOutvacationApprovedvacationCancelledvacationRejectedvacationRequested
API-Endpunkte
Section titled “API-Endpunkte”HTTP-Endpunkte unter api/routes/hr/ — Details in der API-Referenz.
| Methode | Pfad | Datei |
|---|---|---|
GET |
/v1/employees |
employees.ts |
POST |
/v1/employees |
employees.ts |
GET |
/v1/employees/:employeeId |
employees.ts |
PATCH |
/v1/employees/:employeeId |
employees.ts |
DELETE |
/v1/employees/:employeeId |
employees.ts |
POST |
/v1/employees/:employeeId/qualifications |
employees.ts |
DELETE |
/v1/employees/:employeeId/qualifications/:qualificationId |
employees.ts |
POST |
/v1/employees/:employeeId/status |
employees.ts |
GET |
/v1/employees/qualifications/alerts |
employees.ts |
POST |
/v1/hr/export/datev-lohn |
reports-exports.ts |
GET |
/v1/hr/reports/sick-rate |
reports-exports.ts |
GET |
/v1/shift-schedule |
shift-schedule.ts |
POST |
/v1/shift-schedule |
shift-schedule.ts |
GET |
/v1/shift-schedule/:scheduleId |
shift-schedule.ts |
DELETE |
/v1/shift-schedule/:scheduleId |
shift-schedule.ts |
POST |
/v1/shift-schedule/:scheduleId/publish |
shift-schedule.ts |
POST |
/v1/shift-schedule/:scheduleId/shifts |
shift-schedule.ts |
DELETE |
/v1/shift-schedule/:scheduleId/shifts/:shiftId |
shift-schedule.ts |
POST |
/v1/shift-schedule/:scheduleId/swap |
shift-schedule.ts |
GET |
/v1/time-entries |
time-entries.ts |
POST |
/v1/time-entries |
time-entries.ts |
GET |
/v1/time-entries/:entryId |
time-entries.ts |
PATCH |
/v1/time-entries/:entryId |
time-entries.ts |
DELETE |
/v1/time-entries/:entryId |
time-entries.ts |
POST |
/v1/time-entries/:entryId/approve |
time-entries.ts |
POST |
/v1/time-entries/:entryId/clock-out |
time-entries.ts |
POST |
/v1/time-entries/:entryId/revoke-approval |
time-entries.ts |
POST |
/v1/time-entries/clock-in |
time-entries.ts |
GET |
/v1/time-entries/overtime-report |
time-entries.ts |
GET |
/v1/vacation-requests |
vacation-requests.ts |
POST |
/v1/vacation-requests |
vacation-requests.ts |
GET |
/v1/vacation-requests/:requestId |
vacation-requests.ts |
POST |
/v1/vacation-requests/:requestId/approve |
vacation-requests.ts |
POST |
/v1/vacation-requests/:requestId/cancel |
vacation-requests.ts |
POST |
/v1/vacation-requests/:requestId/mark-taken |
vacation-requests.ts |
POST |
/v1/vacation-requests/:requestId/reject |
vacation-requests.ts |
GET |
/v1/vacation-requests/balance |
vacation-requests.ts |
Public API
Section titled “Public API”Über den Modul-Index (src/index.ts) exportierte Symbole — die einzige erlaubte Zugriffsart von außen:
// Aggregate Roots Employee// DTOs - Employee CreateEmployeeInput// DTOs - Export DatevLohnExportResult// DTOs - ShiftSchedule CreateShiftScheduleInput// DTOs - TimeEntry ClockInInput// DTOs - VacationRequest CreateVacationRequestInput// Employee enums EmployeeStatus// Reports SickRateReport// ShiftSchedule enums ShiftType// TimeEntry enums TimeEntryType// VacationRequest enums VacationType// Value objects PersonalDataAddQualificationInputAddShiftInputAddressClockOutInputContactInfoCorrectTimeEntryInputDateRangeDateRangeValidationErrorDatevLohnExportEmptyErrorDatevLohnExportServiceDepartmentDepartmentValidationErrorDomainEventEmployeeNotFoundErrorEmployeeNotModifiableErrorEmployeeRepositoryEmployeeRoleEmployeeRoleValidationErrorEmployeeServiceEmployeeStatusValidationErrorEmployeeTransitionErrorEmployeeUserIdConflictErrorEmploymentEmploymentTypeEmploymentTypeValidationErrorEncryptedFieldEncryptedFieldValidationErrorEventBus- … und 116 weitere
Zurück zur Modul-Übersicht oder zur Startseite.