Removed bookings_id so we have unique values for id_verification_request, added details as to how we classify the hosts

This commit is contained in:
Joaquin Ossa 2024-07-11 16:26:41 +02:00
parent db04615039
commit 00502b1597

View file

@ -950,10 +950,11 @@ models:
This model contains information on verification requests
and the category type of host that manages the associated
booking.
For PMS we use the id_integration from stg_core__booking,
if it isn't Null then the host is PMS type.
For OSL we use the id_one_step_link from stg_core__verification_request,
similarly if it isn't Null then the host is OSL type.
For PMS (Property Manager System) we use the id_integration
from stg_core__booking, if it isn't Null then the host is PMS type.
For OSL (One Step Link) we use the id_one_step_link from
stg_core__verification_request, similarly if it isn't Null then
the host is OSL type.
Finally if both id_integration and id_one_step_link are Null,
then we classify them as API/MANUAL. (At this point we can't
differentiate between these 2 categories so for now we keep