const baseURL = import.meta.env.VITE_API_BASE_URL;

const financeExcelExport = {
  // Reconciliation Excel Export
  reconciliation: {
    export: `${baseURL}/FinanceExcelExport/Reconciliation/Export`,
    exportDetail: (reconciliationId) =>
      `${baseURL}/FinanceExcelExport/Reconciliation/ExportDetail/${reconciliationId}`,
  },

  // Transfer Payment Bill Excel Export
  transferPaymentBill: {
    export: `${baseURL}/FinanceExcelExport/TransferPaymentBill/Export`,
    exportDetail: (transferPaymentBillId) =>
      `${baseURL}/FinanceExcelExport/TransferPaymentBill/ExportDetail/${transferPaymentBillId}`,
    exportCustomerTransferableOrdersExcel: `${baseURL}/FinanceExcelExport/TransferPaymentBill/ExportCustomerTransferableOrdersExcel`,
  },

  // File Management
  download: (fileName) => `${baseURL}/FinanceExcelExport/Download/${fileName}`,
  files: `${baseURL}/FinanceExcelExport/Files`,
  delete: (fileName) => `${baseURL}/FinanceExcelExport/Delete/${fileName}`,
};

export { financeExcelExport };
