Feature: Approval rules for a range of quantities 

Description 

An approval rule could only require a quantity above a threshold. It now also takes quantityAtLeast and quantityAtMost, so a rule can cover 3 to 5 days of leave, both bounds included; equal bounds match exactly that quantity. quantityOver and quantityAtLeast exclude each other, the lower bound must not exceed the upper one, and the bounds count as one condition when rules compete. The rule form offers both fields.

GET /api/v1/approval-subject-types (listApprovalSubjectTypes, HR and admins) lists the subject types the installed packages register, with their names, the unit of their quantity and the conditions a rule for them may carry. Two packages registering one subject type stop the application at start.

Impact 

The contract's SubjectType is no longer a closed list but a pattern; clients read the installed types from listApprovalSubjectTypes.