Merged PR 5242: Adds new model in intermediate for new dash deal onboarding

# Description

Adds new model in intermediate for new dash deal onboarding.
Adds additional fields in new dash tables for services completion at program level.

# Checklist

- [X] The edited models and dependants run properly with production data.
- [X] The edited models are sufficiently documented.
- [X] The edited models contain PK tests, and I've ran and passed them.
- [ ] I have checked for DRY opportunities with other models and docs.
- [ ] I've picked the right materialization for the affected models.

# Other

- [ ] Check if a full-refresh is required after this PR is merged.

Related work items: #30249
This commit is contained in:
Oriol Roqué Paniagua 2025-05-16 17:09:30 +00:00
parent 43a20a3c22
commit 5455bd2c01
6 changed files with 606 additions and 3 deletions

View file

@ -1927,6 +1927,11 @@ models:
a chosen_product_services = 257 means it has the services 1 + 256, which are the
Basic Screening and the Waiver Pro.
- name: product_bundle_services
data_type: string
description: |
List of services that are included in this bundle, separated by "|", ordered alphabetically.
- name: original_starts_at_utc
data_type: timestamp
description: |
@ -1987,6 +1992,23 @@ models:
description: |
Date of when this User has Product Bundle was last updated in the Backend.
- name: is_custom_bundle
data_type: boolean
description: |
True if the bundle or program is custom, false if it's a default one.
- name: has_billable_services
data_type: boolean
description: |
True if the bundle or program contains at least one billable service, false
otherwise.
- name: has_upgraded_services
data_type: boolean
description: |
True if the bundle or program contains at least one service different than
the default one, false otherwise.
- name: dwh_extracted_at
data_type: timestamp
description: |
@ -2141,7 +2163,7 @@ models:
data_tests:
- not_null
- name: product_bundle_name
- name: user_product_bundle_name
data_type: string
description: |
The name of the Product Bundle.
@ -2208,6 +2230,29 @@ models:
description: |
Date of when this Accommodation to Product Bundle record was last updated in the Backend.
- name: product_bundle_services
data_type: string
description: |
List of services that are included in the bundle applied to the listing,
separated by "|", ordered alphabetically.
- name: is_custom_bundle
data_type: boolean
description: |
True if the bundle or program applied to the listing is custom, false if it's a default one.
- name: has_billable_services
data_type: boolean
description: |
True if the bundle or program applied to the listing contains at least one billable service,
false otherwise.
- name: has_upgraded_services
data_type: boolean
description: |
True if the bundle or program applied to the listing contains at least one service different
than the default one, false otherwise.
- name: dwh_extracted_at
data_type: timestamp with timezone
description: |
@ -2842,6 +2887,12 @@ models:
data_tests:
- not_null
- name: is_billable_service
data_type: boolean
description: |
Flag that determines if the service is billable to the
host (True) or not (False).
- name: int_core__product_service_to_price
description: |
This model provides the information related to the prices of the different