Added listings data

This commit is contained in:
Joaquin Ossa 2025-02-19 14:57:44 +01:00
parent 5585880b63
commit 6fce8c0ec6
4 changed files with 58 additions and 8 deletions

View file

@ -51,8 +51,12 @@ select
uu.email as guest_email,
uu.billing_country_name as guest_billing_country,
uu.billing_town as guest_billing_town,
a.friendly_name,
a.address_line_1,
a.id_accommodation,
a.friendly_name as accommodation_name,
a.country_name as accommodation_country,
a.town as accommodation_town,
a.address_line_1 as accommodation_address,
a.postcode as accommodation_postcode,
b.check_in_date_utc,
b.check_out_date_utc,
uh.account_currency_iso4217 as host_currency

View file

@ -5640,17 +5640,38 @@ models:
description: |
The town or city name of the guest's billing address.
- name: friendly_name
- name: id_accommodation
data_type: character varying
description: |
"Id of the accommodation or listing."
- name: accommodation_name
data_type: character varying
description: |
A user-friendly name for the booking or transaction, often used for
display purposes.
- name: address_line_1
- name: accommodation_country
data_type: text
description: |
The country name of the accommodation.
- name: accommodation_town
data_type: text
description: |
The town or city name of the accommodation.
- name: accommodation_address
data_type: character varying
description: |
The first line of the property address associated with the payment.
- name: accommodation_postcode
data_type: character varying
description: |
The postal code of the property address associated with the payment
for the booking.
- name: check_in_date_utc
data_type: date
description: The scheduled check-in date of the guest, in UTC.