data-dwh-dbt-project/models/intermediate/core
Pablo Martin 8b8b8441d3 Merged PR 5365: New version of CIH users through activity
# Description

This PR adds a new version to `int_core__check_in_cover_users`. The new version respectes the public interface of V1, but changes the strategy to determine which users get included in the list. Instead of relying on their account configuration (v1), v2 simply looks at whether they had any VR created offering CIH in the past 30 days.

This approach changes the semantic of the model, but we deem the new one reasonable.

The motivation behind this change is to ensure this models (1) keeps working after the activation of the Guest Products FF and (2) stays simple. Trying to follow a strategy where we look at both old and new configs was deemed very complex and didn't add much value.

# 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.
- [X] I have checked for DRY opportunities with other models and docs.
- [X] 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: #30165
2025-06-04 08:55:55 +00:00
..
int_core__ab_test_monitoring_guest_journey.sql Merged PR 5187: Switch models that use int_core__verification_payments 2025-05-12 15:58:53 +00:00
int_core__ab_test_tracking_guest_journey.sql Merged PR 3766: First version of ab_test_tracking_guest_journey 2024-12-04 07:58:14 +00:00
int_core__accommodation.sql Merged PR 3761: Remove no longer existing fields from Accommodation 2024-12-03 16:39:05 +00:00
int_core__accommodation_to_product_bundle.sql Merged PR 5242: Adds new model in intermediate for new dash deal onboarding 2025-05-16 17:09:30 +00:00
int_core__accommodations_activity.sql Listings report model 2025-02-03 10:37:25 +01:00
int_core__active_property_managers_system.sql renamed field 2025-02-19 11:57:58 +01:00
int_core__booking_charge_events.sql
int_core__booking_details.sql Merged PR 5187: Switch models that use int_core__verification_payments 2025-05-12 15:58:53 +00:00
int_core__booking_service_detail.sql Merged PR 5187: Switch models that use int_core__verification_payments 2025-05-12 15:58:53 +00:00
int_core__booking_to_product_bundle.sql Merged PR 3539: Normalise service names and create booking to service table 2024-11-15 10:04:02 +00:00
int_core__booking_to_service.sql Merged PR 4287: Bugfix - Ensure exclusion of test account at where condition 2025-02-05 15:54:19 +00:00
int_core__bookings.sql Merged PR 3825: Removing Booking fields soon to be dropped 2024-12-11 13:06:28 +00:00
int_core__check_in_cover_listings.sql
int_core__check_in_cover_prices.sql
int_core__check_in_cover_users.sql
int_core__check_in_cover_users_v2.sql removed unused upstream models 2025-06-04 10:53:24 +02:00
int_core__check_in_hero_users.sql Added booking fee and currency to model 2025-01-15 09:00:36 +01:00
int_core__country.sql
int_core__deal.sql Merged PR 4618: Bugfix - Ensure the PMS is active 2025-03-05 14:57:57 +00:00
int_core__duplicate_bookings.sql
int_core__guest_journey_payments.sql Merged PR 5214: Integrates Guest Product new flow Payments 2025-05-15 07:00:11 +00:00
int_core__guest_product_payments_v2.sql change from model var to project var 2025-05-27 14:49:29 +02:00
int_core__guest_product_price_plans.sql Removes configuration status and adds config id for further joins 2025-03-18 09:20:31 +01:00
int_core__guest_products.sql Merged PR 4699: Creates a master table for guest products 2025-03-14 13:04:46 +00:00
int_core__guest_satisfaction_responses.sql Merged PR 5187: Switch models that use int_core__verification_payments 2025-05-12 15:58:53 +00:00
int_core__host_booking_fees.sql
int_core__invoicing_price_plans_per_month.sql
int_core__new_dash_deal_since_date.sql Merged PR 4349: Xero metrics by Business Scope 2025-02-11 15:13:42 +00:00
int_core__new_dash_user_overview.sql Addressed comments 2025-04-03 16:23:58 +02:00
int_core__new_dash_users.sql Merged PR 3491: Allows possibility to retrieve claim as date or timestamp 2024-11-13 11:42:04 +00:00
int_core__payaway.sql
int_core__payaway_per_month_user.sql
int_core__payments.sql Merged PR 5187: Switch models that use int_core__verification_payments 2025-05-12 15:58:53 +00:00
int_core__price_plans.sql
int_core__product_service_billing_item.sql Merged PR 3638: Propagates billing info to booking service detail and booking summary 2024-11-22 13:50:30 +00:00
int_core__product_service_to_price.sql Merged PR 3578: First version of int_core__booking_service_detail 2024-11-19 08:24:32 +00:00
int_core__protection_plan_billing_item.sql Merged PR 3638: Propagates billing info to booking service detail and booking summary 2024-11-22 13:50:30 +00:00
int_core__protection_plan_cover.sql Merged PR 3539: Normalise service names and create booking to service table 2024-11-15 10:04:02 +00:00
int_core__protection_plan_to_price.sql Merged PR 3578: First version of int_core__booking_service_detail 2024-11-19 08:24:32 +00:00
int_core__screen_and_protect_users.sql Invoice model completed 2025-02-13 15:31:22 +01:00
int_core__unified_user.sql Merged PR 5234: Remove 2 fields that no longer exist 2025-05-16 10:06:08 +00:00
int_core__unique_accommodation_to_user.sql
int_core__user_host.sql Merged PR 4618: Bugfix - Ensure the PMS is active 2025-03-05 14:57:57 +00:00
int_core__user_product_bundle.sql Merged PR 5242: Adds new model in intermediate for new dash deal onboarding 2025-05-16 17:09:30 +00:00
int_core__user_product_bundle_contains_services.sql Merged PR 5242: Adds new model in intermediate for new dash deal onboarding 2025-05-16 17:09:30 +00:00
int_core__user_role.sql
int_core__verification_product_payments.sql Merged PR 5182: First version of Guest Journey Payments 2025-05-12 09:25:54 +00:00
int_core__verification_request_booking_source.sql
int_core__verification_request_completed_date.sql
int_core__verification_request_completeness.sql
int_core__verification_requests.sql
int_core__vr_check_in_cover.sql change logic in new CTE to use new tables 2025-05-30 15:47:35 +02:00
int_core__waiver_fees.sql ***ing decimals 2025-02-11 17:10:07 +01:00
schema.yml Merged PR 5365: New version of CIH users through activity 2025-06-04 08:55:55 +00:00