New dash service usage model

This commit is contained in:
Joaquin Ossa 2025-02-07 12:37:32 +01:00
parent 1a7579c8a8
commit 78e005e8fa
3 changed files with 92 additions and 4 deletions

View file

@ -5165,3 +5165,76 @@ models:
- name: chose_checkin_cover
data_type: boolean
description: "Boolean value indicating if the guest chose CheckIn Cover."
- name: int_core__new_dash_services_usage
description: "This model contains the usage of the services in New Dash.
This usage is displayed by different levels, such as the number of users,
accommodations and bookings."
columns:
- name: product_service_name
data_type: text
description: "The name of the product service."
data_tests:
- not_null
- accepted_values:
values:
- "BASICSCREENING"
- "SCREENINGPLUS"
- "IDVERIFICATION"
- "SEXOFFENDERSCHECK"
- "BASICDAMAGEDEPOSIT"
- "BASICWAIVER"
- "WAIVERPLUS"
- "WAIVERPRO"
- "BASICPROTECTION"
- "PROTECTIONPLUS"
- "PROTECTIONPRO"
- name: number_users
data_type: bigint
description:
"Number of user accounts that have a bundle that considers this service.
The fact that a user has a bundle with the service included does not mean
that the service is active or used. Each user can associate any of their
bundles with any of their accommodations."
- name: number_accommodations
data_type: bigint
description:
"Number of accommodations or listings that have a bundle that considers
this service."
- name: number_active_accommodations
data_type: bigint
description:
"Number of accommodations or listings that have a bundle that considers
this service and are active."
- name: number_inactive_accommodations
data_type: bigint
description:
"Number of accommodations or listings that have a bundle that considers
this service and are inactive."
- name: number_bookings
data_type: bigint
description: "Number of bookings that have a bundle that considers this service."
- name: number_approved_bookings
data_type: bigint
description:
"Number of bookings that have a bundle that considers this service and
are approved."
- name: number_cancelled_bookings
data_type: bigint
description:
"Number of bookings that have a bundle that considers this service and
are cancelled."
- name: number_flagged_bookings
data_type: bigint
description:
"Number of bookings that have a bundle that considers this service and
are flagged."