import {
  IconBrandWhatsapp,
  IconMail,
  IconMessage,
} from '@material-hu/icons/tabler';

import { OTPChannels } from 'src/types/login';

export const OTP_CODE_LENGTH = 6;
export const OTP_SUPPORT_LINK =
  'https://api.whatsapp.com/send?phone=5491153845652&text=*%5BActualizaci%C3%B3n%5D*%20Hola!%20Me%20comunico%20con%20el%20Centro%20de%20Soporte%20de%20Humand%20porque%20tengo%20la%20siguiente%20duda%20que%20dejar%C3%A9%20debajo%3A%20%20%0A%0A%F0%9F%94%B5%20*N%C3%BAmero%20de%20colaborador%3A*%20%0A%F0%9F%94%B5%20*N%C3%BAmero%20de%20tel%C3%A9fono%3A*%20%0A%F0%9F%94%B5%20*Mi%20duda%3A*%20';

export const OTPChannelsLabelAndIcon = {
  [OTPChannels.WHATSAPP]: { label: 'WhatsApp', icon: IconBrandWhatsapp },
  [OTPChannels.SMS]: { label: 'SMS', icon: IconMessage },
  [OTPChannels.EMAIL]: { label: 'Email', icon: IconMail },
};
