def subscribe_to_waiting_list(user: _User, source: str) -> None: """ Subscribe user to waiting list :param user: :param source: :return: """ _core_facade.subscribe_to_waiting_list(user, source) _mailchimp_facade.tag_as(user.email, 'lista-de-espera')
def subscribe_to_waiting_list(user: _User, source: str) -> None: """ Subscribe user to waiting list :param user: :param source: :return: """ _core_facade.subscribe_to_waiting_list(user, source) _email_marketing_facade.tag_as.delay(user.email, user.id, 'lista-de-espera')
def subscribe_to_waiting_list(user: _User, phone: str, source: str) -> None: """ Subscribe user to waiting list :param user: :param phone: :param source: :return: """ _core_facade.subscribe_to_waiting_list(user, source) _email_marketing_facade.create_or_update_with_no_role.delay( user.first_name, user.email, user.id, 'lista-de-espera', phone=phone)
def subscribe_to_waiting_list(session_id, user: _User, phone: str, source: str) -> None: """ Subscribe user to waiting list :param session_id: :param user: :param phone: :param source: :return: """ _core_facade.subscribe_to_waiting_list(user, source) subscribe_with_no_role.delay( session_id, user.first_name, user.email, 'lista-de-espera', id=user.id, phone=phone )