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 This model contains information on verification requests
and the category type of host that manages the associated and the category type of host that manages the associated
booking. booking.
For PMS we use the id_integration from stg_core__booking, For PMS (Property Manager System) we use the id_integration
if it isn't Null then the host is PMS type. 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, For OSL (One Step Link) we use the id_one_step_link from
similarly if it isn't Null then the host is OSL type. 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, 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 then we classify them as API/MANUAL. (At this point we can't
differentiate between these 2 categories so for now we keep differentiate between these 2 categories so for now we keep