Skip to content

HR & Time Management

Quellverzeichnis: modules/hr-time-management/

Mitarbeiter, Zeitbuchungen und Schichtpläne (Frappe HR / Kimai-Anbindung).

Geschäftslogik des Moduls (src/services/):

  • DatevLohnExportEmptyError
  • DatevLohnExportService
  • EmployeeNotFoundError
  • EmployeeNotModifiableError
  • EmployeeService
  • EmployeeUserIdConflictError
  • QualificationNotFoundError
  • ShiftConflictError
  • ShiftNotFoundError
  • ShiftScheduleNotFoundError
  • ShiftScheduleNotModifiableError
  • ShiftScheduleService
  • TimeEntryAlreadyApprovedError
  • TimeEntryAlreadyOpenError
  • TimeEntryNotFoundError
  • TimeEntryNotOpenError
  • TimeEntryService
  • VacationRequestNotApprovableError
  • VacationRequestNotFoundError
  • VacationRequestService

Datenzugriffs-Ports (src/repositories/):

  • EmployeeRepository
  • InMemoryEmployeeRepository
  • InMemoryShiftScheduleRepository
  • InMemoryTimeEntryRepository
  • InMemoryVacationRequestRepository
  • ShiftScheduleRepository
  • TimeEntryRepository
  • VacationRequestRepository

Vom Modul emittierte Ereignisse (src/events.ts):

  • EventHandler
  • employeeHired
  • employeeStatusChanged
  • employeeTerminated
  • qualificationExpired
  • qualificationExpiring
  • shiftPublished
  • shiftSwapped
  • sickLeaveReported
  • timeEntryApproved
  • timeEntryClockedIn
  • timeEntryClockedOut
  • vacationApproved
  • vacationCancelled
  • vacationRejected
  • vacationRequested

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

Ü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 PersonalData
  • AddQualificationInput
  • AddShiftInput
  • Address
  • ClockOutInput
  • ContactInfo
  • CorrectTimeEntryInput
  • DateRange
  • DateRangeValidationError
  • DatevLohnExportEmptyError
  • DatevLohnExportService
  • Department
  • DepartmentValidationError
  • DomainEvent
  • EmployeeNotFoundError
  • EmployeeNotModifiableError
  • EmployeeRepository
  • EmployeeRole
  • EmployeeRoleValidationError
  • EmployeeService
  • EmployeeStatusValidationError
  • EmployeeTransitionError
  • EmployeeUserIdConflictError
  • Employment
  • EmploymentType
  • EmploymentTypeValidationError
  • EncryptedField
  • EncryptedFieldValidationError
  • EventBus
  • … und 116 weitere

Zurück zur Modul-Übersicht oder zur Startseite.