"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EVENT_KEYS = void 0;
exports.EVENT_KEYS = {
    /**
     * ========= AI DOMAIN EVENTS =========
     */
    ai: {
        EMAIL_SUMMARY_REQUESTED: 'ai.email.summary.requested',
        COMPLIANCE_SUMMARY_REQUESTED: 'ai.compliance.summary.requested',
        COMPLIANCE_FIND_MATCH_REQUESTED: 'ai.compliance.find-match.requested',
        PORTFOLIO_NOTE_SUMMARY_REQUESTED: 'ai.portfolio.note.summary.requested',
    },
    /**
     * ========= AUTH DOMAIN EVENTS =========
     */
    auth: {
        PASSWORD_RESET_BY_ADMIN_REQUESTED: 'auth.password.reset-by-admin.requested',
        PASSWORD_UPDATE_BY_USER_REQUESTED: 'auth.password.update-by-user.requested',
    },
    /**
     * ========= COMPLIANCE DOMAIN EVENTS =========
     */
    compliance: {
        SUMMARY_GENERATED: 'compliance.summary.generated',
        FIND_MATCH_COMPLETED: 'compliance.find-match.completed',
    },
    /**
     * ========= CRM DOMAIN EVENTS =========
     */
    crm: {
        PROSPECT_EMAILS_SEND_REQUESTED: 'crm.prospect.emails.requested',
        PROSPECT_PAYMENT_MATCHED: 'crm.prospect.payment-matched',
    },
    /**
     * ========= FINANCE DOMAIN EVENTS =========
     */
    finance: {
        REPORT_PER_ACCOUNT_REQUESTED: 'finance.report.account.requested',
        REPORT_CONSOLIDATED_REQUESTED: 'finance.report.consolidated.requested',
        YIELD_RECALCULATION_REQUESTED: 'finance.yield.recalculation.requested',
        INCOMING_PAYMENT_DETECTED: 'finance.incoming-payment.detected',
        PARTICIPATION_REPORT_EMAIL_SEND_REQUESTED: 'finance.participation.report.email.send.requested',
    },
    /**
     * ========= PORTFOLIO DOMAIN EVENTS =========
     */
    portfolio: {
        INBOUND_RECEIVED: 'portfolio.inbound.received',
        SUMMARY_GENERATED: 'portfolio.summary.generated',
        NOTE_SUMMARY_REQUESTED: 'portfolio.note.summary.requested',
        NOTE_SUMMARY_GENERATED: 'portfolio.note.summary.generated',
        BORROWER_REMINDERS_OVERDUE: 'portfolio.borrower.reminders.overdue',
    },
    /**
     * ========= NOTIFICATIONS DOMAIN EVENTS =========
     */
    notifications: {
        BORROWER_REMINDER_EMAIL_SENT: 'notifications.borrower.reminder.email.sent', // TODO Deprecated
        BORROWER_REMINDER_EMAIL_FAILED: 'notifications.borrower.reminder.email.failed', // TODO Deprecated
        EMAIL_SEND_REQUESTED: 'notifications.email.send.requested',
        EMAIL_SENT: 'notifications.email.sent',
        EMAIL_FAILED: 'notifications.email.failed',
    },
};
