from __future__ import annotations

from app.services.agent_asset_spreadsheet import (
    COMPANY_PREAPPROVAL_RULE_CODE,
    COMPANY_TRAVEL_EXPENSE_RULE_CODE,
)

DEPRECATED_FINANCE_RULE_CODES = (
    "rule.expense.company_transport_hotel_detail_reimbursement",
    "rule.expense.company_meal_expense_reimbursement",
    "rule.expense.company_marketing_expense_reimbursement",
    "rule.expense.company_meeting_expense_reimbursement",
    "rule.expense.company_office_expense_reimbursement",
    "rule.expense.company_training_expense_reimbursement",
    "rule.expense.company_software_expense_reimbursement",
    "rule.expense.company_welfare_expense_reimbursement",
)

DEPRECATED_FINANCE_RULE_REPLACEMENTS = {
    "rule.expense.company_transport_hotel_detail_reimbursement": (
        COMPANY_TRAVEL_EXPENSE_RULE_CODE
    ),
    "rule.expense.company_meal_expense_reimbursement": COMPANY_PREAPPROVAL_RULE_CODE,
    "rule.expense.company_office_expense_reimbursement": COMPANY_PREAPPROVAL_RULE_CODE,
}
