43 lines
1.4 KiB
Python

"""Compatibility facade for attendance API endpoints."""
from attendance.services import run_attendance_auto_sync
from common.logstorm_attendance import analyze_employee_attendance
from common.logstorm_client import LogStormClient
from .endpoints import (
AttendanceAutoSyncRunNowAPIView,
AttendanceAutoSyncSettingsAPIView,
AttendanceMonthlyMatrixAPIView,
AttendanceMonthlyMatrixExportAPIView,
AttendanceRecordCommentDetailAPIView,
AttendanceRecordCommentsAPIView,
AttendanceRecordDayEventPhotoAPIView,
AttendanceRecordDayEventsAPIView,
AttendanceRecordDetailAPIView,
AttendanceRecordListAPIView,
AttendanceWeeklySummaryAPIView,
EmployeeWorkScheduleAPIView,
LogStormAttendanceAnalyzeAPIView,
StandardWorkScheduleAPIView,
)
__all__ = [
"AttendanceAutoSyncRunNowAPIView",
"AttendanceAutoSyncSettingsAPIView",
"AttendanceMonthlyMatrixAPIView",
"AttendanceMonthlyMatrixExportAPIView",
"AttendanceRecordCommentDetailAPIView",
"AttendanceRecordCommentsAPIView",
"AttendanceRecordDayEventPhotoAPIView",
"AttendanceRecordDayEventsAPIView",
"AttendanceRecordDetailAPIView",
"AttendanceRecordListAPIView",
"AttendanceWeeklySummaryAPIView",
"EmployeeWorkScheduleAPIView",
"LogStormAttendanceAnalyzeAPIView",
"LogStormClient",
"StandardWorkScheduleAPIView",
"analyze_employee_attendance",
"run_attendance_auto_sync",
]