feat: add recurring bookings feature with related handlers and services

- Introduced recurring booking groups with the ability to create and cancel them.
- Added database migrations for recurring bookings, including new tables and relationships.
- Implemented handlers for creating and canceling recurring bookings in the admin booking module.
- Enhanced existing booking services to support recurring bookings logic.
- Updated API contract to include new schemas for recurring bookings.
- Refactored existing code for improved readability and maintainability.
This commit is contained in:
Jose Selesan
2026-06-16 11:58:06 -03:00
parent 1b5eb253f2
commit 1318e3bf57
38 changed files with 2025 additions and 265 deletions

View File

@@ -14,6 +14,7 @@ function makeV1Rules(): PlanRules {
publicBookingPage: false,
advancedReports: false,
whatsappReminders: false,
fixedSlots: false,
},
};
}
@@ -28,6 +29,7 @@ function makeV2Rules(overrides?: Record<string, { amount: number; currency: stri
publicBookingPage: true,
advancedReports: true,
whatsappReminders: true,
fixedSlots: true,
},
...(overrides ? { pricing: { overrides } } : {}),
};