Kasra Get Punch Gaps
kasra_get_punch_gapsFind gaps between employee punches during a shift to identify unapproved absence periods, with dates, times, and durations for submitting hourly leave requests.
Instructions
تحلیل ترددها و شناسایی بازههایی که کارمند در ساعات کاری بیرون بوده (خلأ بین خروج و ورود بعدی در شیفت). مناسب برای شناسایی ساعاتی که نیاز به ثبت مرخصی ساعتی دارند.
Analyze daily punches to find gaps where the employee was out during their shift. Returns structured gap data (date, gapStart, gapEnd, duration) suitable for submitting hourly leave.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | دلیل اختیاری | |
| end_date | No | تاریخ پایان شمسی اختیاری (مثال: '1405/04/31') | |
| shift_end | No | ساعت پایان شیفت (پیشفرض: '17:00') | 17:00 |
| start_date | No | تاریخ شروع شمسی اختیاری (مثال: '1405/04/01') | |
| shift_start | No | ساعت شروع شیفت (پیشفرض: '08:00') | 08:00 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||