This domain is concerned mainly with the registration process.
The workflow is the following:
The guest books the apartment(s) on our platform, or Airbnb or booking.com, or any of the other platforms
The data gets to the Beds24 platform
We send an email to the user, which contains a link to the guest portal
There is a Cloud Function, called refreshBooking, which is called periodically, every 5 minutes, and it gets all the new bookings from Beds24 and saves it in our database
This also starts the access domain with create / refresh access
When the guest clicks on the link, he gets to the guest portal
if the guest is not yet registered, the guest portal redirects him to the registration page
here he has to fill in all the data of all the guests for all the booking items
after registration, the guest is redirected to the dashboard
if registration was successful, a message is sent into the google chat space defined in the config and a registered string is written back into Beds24 info codes
if the guest has already registered, the guest is redirected to the dashboard
on the dashboard the guest can see the details regarding the booking
here he can also see the access code, which calls a cloud function from the access domain (getAccessCode)