adding number of days to complete verification

This commit is contained in:
Joaquin Ossa 2025-02-05 15:31:42 +01:00
parent 961c4e6fdd
commit 083976b6f6
4 changed files with 15 additions and 0 deletions

View file

@ -82,6 +82,12 @@ select
vr.is_verification_request_complete, vr.is_verification_request_complete,
vr.verification_estimated_started_date_utc, vr.verification_estimated_started_date_utc,
vr.verification_estimated_completed_date_utc, vr.verification_estimated_completed_date_utc,
case
when vr.is_verification_request_complete is true
then
vr.verification_estimated_completed_date_utc
- vr.verification_estimated_started_date_utc
end as days_complete_verification,
vr.link_used_date_utc, vr.link_used_date_utc,
b.verification_request_booking_source, b.verification_request_booking_source,
pv.chose_deposit, pv.chose_deposit,

View file

@ -5125,6 +5125,10 @@ models:
data_type: date data_type: date
description: "The estimated date on which the guest finished the guest journey." description: "The estimated date on which the guest finished the guest journey."
- name: days_complete_verification
data_type: numeric
description: "Number of days it took to complete the verification."
- name: link_used_date_utc - name: link_used_date_utc
data_type: date data_type: date
description: "The date on which the guest used the link for the verification." description: "The date on which the guest used the link for the verification."

View file

@ -29,6 +29,7 @@ select
verification_estimated_started_date_utc as verification_estimated_started_date_utc, verification_estimated_started_date_utc as verification_estimated_started_date_utc,
verification_estimated_completed_date_utc verification_estimated_completed_date_utc
as verification_estimated_completed_date_utc, as verification_estimated_completed_date_utc,
days_complete_verification as days_complete_verification,
link_used_date_utc as link_used_date_utc, link_used_date_utc as link_used_date_utc,
verification_request_booking_source as verification_request_booking_source, verification_request_booking_source as verification_request_booking_source,
chose_deposit as chose_deposit, chose_deposit as chose_deposit,

View file

@ -1527,6 +1527,10 @@ models:
data_type: date data_type: date
description: "The estimated date on which the guest finished the guest journey." description: "The estimated date on which the guest finished the guest journey."
- name: days_complete_verification
data_type: numeric
description: "Number of days it took to complete the verification."
- name: link_used_date_utc - name: link_used_date_utc
data_type: date data_type: date
description: "The date on which the guest used the link for the verification." description: "The date on which the guest used the link for the verification."