Created
July 3, 2019 09:48
-
-
Save maiordom/0d331e36a86d29a98d7630245a9b8f2a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default new WhatsappService({ | |
ServiceDetail: { | |
[EErrCodes.NO_TIMES_AVAILABLE]: { | |
title: dict.whatsappButton.title.continue, | |
message: dict.whatsappButton.serviceDetail.message.noTimes, | |
whatsapp: dict.whatsappButton.serviceDetail.service.noTime, | |
}, | |
[EErrCodes.NO_DATES_AVAILABLE]: { | |
title: dict.whatsappButton.title.continue, | |
message: dict.whatsappButton.serviceDetail.message.noDates, | |
whatsapp: dict.whatsappButton.serviceDetail.service.noTime, | |
}, | |
[EErrCodes.NO_SALONS_AVAILABLE]: { | |
title: dict.whatsappButton.title.continue, | |
message: dict.whatsappButton.serviceDetail.message.noSalons, | |
whatsapp: dict.whatsappButton.serviceDetail.service.noTime, | |
}, | |
[EErrCodes.NO_EXECUTORS_AVAILABLE]: { | |
title: dict.whatsappButton.title.continue, | |
message: dict.whatsappButton.serviceDetail.message.noExecutors, | |
whatsapp: dict.whatsappButton.serviceDetail.service.noTime, | |
}, | |
[EErrCodes.NO_PHOTO]: { | |
title: dict.whatsappButton.title.ask, | |
message: dict.whatsappButton.serviceDetail.message.noPhoto, | |
whatsapp: dict.whatsappButton.serviceDetail.service.noPhoto, | |
}, | |
[EErrCodes.NO_FEEDBACK]: { | |
title: dict.whatsappButton.title.ask, | |
message: dict.whatsappButton.serviceDetail.message.noFeedback, | |
whatsapp: dict.whatsappButton.serviceDetail.service.noFeedback, | |
}, | |
[EErrCodes.GET_TIMESLOTS_ERROR]: { | |
title: dict.whatsappButton.title.book, | |
message: dict.whatsappButton.serviceDetail.message.error, | |
whatsapp: dict.whatsappButton.serviceDetail.service.timeslotError, | |
}, | |
[EErrCodes.BOOKING_ERROR]: { | |
title: dict.whatsappButton.title.continue, | |
message: dict.whatsappButton.serviceDetail.message.error, | |
whatsapp: dict.whatsappButton.serviceDetail.service.bookingError, | |
}, | |
}, | |
ExecutorDetail: { | |
[EErrCodes.NO_SALONS_AVAILABLE]: { | |
title: dict.whatsappButton.title.continue, | |
message: dict.whatsappButton.executorDetail.message.noTime, | |
whatsapp: dict.whatsappButton.executorDetail.service.noTime, | |
}, | |
[EErrCodes.NO_SERVICES_AVAILABLE]: { | |
title: dict.whatsappButton.title.continue, | |
message: dict.whatsappButton.executorDetail.message.noTime, | |
whatsapp: dict.whatsappButton.executorDetail.service.noTime, | |
}, | |
[EErrCodes.NO_DATES_AVAILABLE]: { | |
title: dict.whatsappButton.title.continue, | |
message: dict.whatsappButton.executorDetail.message.noTime, | |
whatsapp: dict.whatsappButton.executorDetail.service.noTime, | |
}, | |
[EErrCodes.NO_TIMES_AVAILABLE]: { | |
title: dict.whatsappButton.title.continue, | |
message: dict.whatsappButton.executorDetail.message.noTime, | |
whatsapp: dict.whatsappButton.executorDetail.service.noTime, | |
}, | |
[EErrCodes.NO_PHOTO]: { | |
title: dict.whatsappButton.title.ask, | |
message: dict.whatsappButton.executorDetail.message.noPhoto, | |
whatsapp: dict.whatsappButton.executorDetail.service.noPhoto, | |
}, | |
[EErrCodes.NO_FEEDBACK]: { | |
title: dict.whatsappButton.title.ask, | |
message: dict.whatsappButton.executorDetail.message.noFeedback, | |
whatsapp: dict.whatsappButton.executorDetail.service.noFeedback, | |
}, | |
[EErrCodes.BOOKING_ERROR]: { | |
title: dict.whatsappButton.title.continue, | |
message: dict.whatsappButton.executorDetail.message.error, | |
whatsapp: dict.whatsappButton.executorDetail.service.bookintError, | |
}, | |
[EErrCodes.GET_TIMESLOTS_ERROR]: { | |
title: dict.whatsappButton.title.book, | |
message: dict.whatsappButton.executorDetail.message.error, | |
whatsapp: dict.whatsappButton.executorDetail.service.timeslotError, | |
}, | |
}, | |
AppointmentDetail: { | |
[EErrCodes.GET_TIMESLOTS_ERROR]: { | |
title: dict.whatsappButton.title.repeat, | |
message: dict.whatsappButton.appointmentDetail.message.repeat, | |
whatsapp: dict.whatsappButton.appointmentDetail.service.repeat, | |
}, | |
[EErrCodes.BOOKING_ERROR]: { | |
title: dict.whatsappButton.title.continue, | |
message: dict.whatsappButton.appointmentDetail.message.repeat, | |
whatsapp: dict.whatsappButton.appointmentDetail.service.repeatError, | |
}, | |
[EErrCodes.BOOKING_MOVE_IMPOSSIBLE]: { | |
title: dict.whatsappButton.title.continue, | |
message: dict.whatsappButton.appointmentDetail.message.repeat, | |
whatsapp: dict.whatsappButton.appointmentDetail.service.moveError, | |
}, | |
[EErrCodes.BOOKING_CANCEL_IMPOSSIBLE]: { | |
title: dict.whatsappButton.title.continue, | |
message: dict.whatsappButton.appointmentDetail.message.repeat, | |
whatsapp: dict.whatsappButton.appointmentDetail.service.cancelError, | |
}, | |
}, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment