Last active
February 28, 2019 13:59
-
-
Save dziamid/e7120cfda2a3ad0e2bf4e193322ada8a to your computer and use it in GitHub Desktop.
#source
This file contains hidden or 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
#source | |
incomingCallSaga | |
error -> sendErrorToLastResponse | |
createSessionForIncomingCall | |
done -> incomingCallSessionSaga | |
incomingCallSessionSaga | |
ivrSaga | |
isCallDroppedAction -> sendSMS | |
welcome | |
isCriticalFailAction -> callRestaurant | |
menu | |
choose booking -> bookingSaga | |
choose other inquiries -> callRestaurant | |
bookingSaga | |
done -> sendSMS | |
bookingGuests | |
done -> bookingDay | |
bookingDay | |
done -> bookingTime | |
bookingTime | |
done -> bookingPhone | |
bookingPhone | |
done -> bookingName | |
bookingName | |
done -> bookingConfirmation | |
bookingConfirmation | |
done -> bookingAvailability | |
bookingAvailability | |
done -> bookingReservation | |
bookingReservation | |
done -> sendSMS | |
callRestaurant | |
calling | |
whisperRestaurantCall -> inCallWithRestaurant | |
inCallWithRestaurant | |
sendSMS | |
done -> sendLogs | |
sendLogs | |
done -> cleanSession | |
sendErrorToLastResponse | |
done -> sendErrorToLastStatusResponse | |
sendErrorToLastStatusResponse | |
done -> cleanSession | |
cleanSession |
This file contains hidden or 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
function render(model){ | |
let current_state_name = model.active_states[0].name; | |
return $("h1", | |
{style: {color: "darkBlue"}}, | |
`The current state is: ${current_state_name}`); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment