feat: Implement Phase 10 support and recommendations features
- Added models for support messages, SLA policies, tickets, ticket events, and ticket links. - Created routes for help, help admin, newsletter, recommendations, and support for both customer and admin. - Developed services for help, marketing (newsletter), and recommendations. - Introduced support service for ticket management, including creation, replies, transitions, and attachments. - Added validation schemas for support recommendations and ticket management. - Implemented a cron job for support reconciliation and recommendation cleanup. - Created migration for new support and recommendation database tables. - Added unit tests for validation and policy checks related to Phase 10 features.
This commit is contained in:
+2
-1
@@ -13,11 +13,12 @@ const startCleanInactiveNotificationsCron = require("./notificationCleaning.cron
|
||||
const startInventoryReservationExpiryCron = require("./inventoryReservationExpiry.cron");
|
||||
const startCheckoutExpiryCron = require("./checkoutExpiry.cron");
|
||||
const startLoyaltyReconciliationCron = require("./loyaltyReconciliation.cron");
|
||||
const startSupportReconciliationCron = require("./supportReconciliation.cron");
|
||||
|
||||
function startAllCrons() {
|
||||
console.log("Starting Cron Jobs...");
|
||||
|
||||
const tasks = [startCleanInactiveNotificationsCron(), startInventoryReservationExpiryCron(), startCheckoutExpiryCron(), startLoyaltyReconciliationCron()];
|
||||
const tasks = [startCleanInactiveNotificationsCron(), startInventoryReservationExpiryCron(), startCheckoutExpiryCron(), startLoyaltyReconciliationCron(), startSupportReconciliationCron()];
|
||||
|
||||
return async () => {
|
||||
for (const task of tasks) {
|
||||
|
||||
Reference in New Issue
Block a user