interface apiConfigProps {
  service_dashboard: string;
  service_customer: string;
  service_master_data: string;
  service_transaction: string;
  service_wallet: string;
  transaction: string;
  nationality: string;
  service_disbursement: string;
  service_notification: string;
}

const API_URL = import.meta.env.VITE_APP_API_URL;
const apiConfig: apiConfigProps = {
  // service_dashboard: `${API_URL}${import.meta.env.VITE_ENV != 'development' ? '/d' : ''}`,
  service_dashboard: `${API_URL}/d`,
  service_customer: `${API_URL}/c`,
  // service_master_data: `${API_URL}/m`
  service_master_data: `${API_URL}/t`,
  service_transaction: `${API_URL}/tt`,
  service_wallet: `${API_URL}/w`,
  transaction: `${API_URL}/x`,
  service_disbursement: `${API_URL}/s`,
  service_notification: `${API_URL}/n`,
  nationality: `https://tpay.shiblysolution.id/cms/api/mobile/list-country/
`
};

export { apiConfig };
