repull 0.2.53 → 0.2.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/repull/api/listings_api.rb +8 -8
- data/lib/repull/api/vrbo_api.rb +3212 -54
- data/lib/repull/models/add_vrbo_listing_video200_response.rb +298 -0
- data/lib/repull/models/add_vrbo_listing_video200_response_data.rb +150 -0
- data/lib/repull/models/add_vrbo_listing_video_request.rb +176 -0
- data/lib/repull/models/get_vrbo_listing_additional_info200_response.rb +269 -0
- data/lib/repull/models/get_vrbo_listing_additional_info200_response_data.rb +180 -0
- data/lib/repull/models/get_vrbo_listing_amenities200_response.rb +269 -0
- data/lib/repull/models/get_vrbo_listing_amenities200_response_data.rb +151 -0
- data/lib/repull/models/get_vrbo_listing_amenities200_response_data_groups_value.rb +158 -0
- data/lib/repull/models/get_vrbo_listing_amenities200_response_data_groups_value_fields_inner.rb +272 -0
- data/lib/repull/models/get_vrbo_listing_amenities200_response_data_groups_value_fields_inner_options_inner.rb +157 -0
- data/lib/repull/models/get_vrbo_listing_amenities200_response_data_groups_value_fields_inner_shown_when.rb +157 -0
- data/lib/repull/models/get_vrbo_listing_amenities200_response_data_groups_value_fields_inner_value.rb +106 -0
- data/lib/repull/models/get_vrbo_listing_booking_settings200_response.rb +269 -0
- data/lib/repull/models/get_vrbo_listing_booking_settings200_response_data.rb +305 -0
- data/lib/repull/models/get_vrbo_listing_booking_settings200_response_data_min_nights_range.rb +158 -0
- data/lib/repull/models/get_vrbo_listing_cancellation200_response.rb +269 -0
- data/lib/repull/models/get_vrbo_listing_cancellation200_response_data.rb +182 -0
- data/lib/repull/models/get_vrbo_listing_cancellation200_response_data_options_inner.rb +158 -0
- data/lib/repull/models/get_vrbo_listing_cancellation200_response_data_tiers_inner.rb +168 -0
- data/lib/repull/models/get_vrbo_listing_content200_response.rb +252 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_listing.rb +198 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections.rb +328 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_additional_info.rb +179 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_amenities.rb +150 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_booking_settings.rb +304 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_cancellation.rb +181 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_description.rb +167 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_description_limits.rb +158 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_description_limits_headline.rb +158 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_fees.rb +222 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_fees_cleaning.rb +168 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_fees_custom_inner.rb +178 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_fees_extra_guests.rb +188 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_house_rules.rb +276 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_house_rules_children.rb +169 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_house_rules_children_ages_inner.rb +156 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_house_rules_events.rb +178 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_house_rules_pets.rb +188 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_house_rules_smoking.rb +178 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_location.rb +168 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_payment_terms.rb +159 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_payment_terms_payments_inner.rb +156 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_photos.rb +169 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_photos_items_inner.rb +209 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_photos_rejected_inner.rb +166 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_pricing.rb +201 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_property.rb +198 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_property_interior_size.rb +192 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_protection.rb +189 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_protection_options_inner.rb +177 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_rates.rb +177 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_rates_days_inner.rb +196 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_registration.rb +159 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_registration_fields_inner.rb +178 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_rooms.rb +192 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_rooms_bed_types_inner.rb +168 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_rooms_spaces_inner.rb +217 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_rooms_spaces_inner_amenities_inner.rb +186 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_rooms_spaces_inner_beds_inner.rb +194 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_story.rb +179 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_taxes.rb +179 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_taxes_rules_inner.rb +188 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_translations.rb +160 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_translations_items_inner.rb +167 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_videos.rb +149 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_videos_items_inner.rb +209 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_welcome_guide.rb +221 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_welcome_guide_access.rb +168 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_welcome_guide_check_in.rb +169 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_welcome_guide_contacts_inner.rb +168 -0
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_welcome_guide_wifi.rb +178 -0
- data/lib/repull/models/get_vrbo_listing_description200_response.rb +269 -0
- data/lib/repull/models/get_vrbo_listing_description200_response_data.rb +168 -0
- data/lib/repull/models/get_vrbo_listing_fees200_response.rb +269 -0
- data/lib/repull/models/get_vrbo_listing_fees200_response_data.rb +223 -0
- data/lib/repull/models/get_vrbo_listing_house_rules200_response.rb +269 -0
- data/lib/repull/models/get_vrbo_listing_house_rules200_response_data.rb +277 -0
- data/lib/repull/models/get_vrbo_listing_location200_response.rb +269 -0
- data/lib/repull/models/get_vrbo_listing_location200_response_data.rb +169 -0
- data/lib/repull/models/get_vrbo_listing_payment_terms200_response.rb +269 -0
- data/lib/repull/models/get_vrbo_listing_payment_terms200_response_data.rb +160 -0
- data/lib/repull/models/get_vrbo_listing_photos200_response.rb +269 -0
- data/lib/repull/models/get_vrbo_listing_photos200_response_data.rb +170 -0
- data/lib/repull/models/get_vrbo_listing_pricing200_response.rb +269 -0
- data/lib/repull/models/get_vrbo_listing_pricing200_response_data.rb +202 -0
- data/lib/repull/models/get_vrbo_listing_property200_response.rb +269 -0
- data/lib/repull/models/get_vrbo_listing_property200_response_data.rb +199 -0
- data/lib/repull/models/get_vrbo_listing_protection200_response.rb +269 -0
- data/lib/repull/models/get_vrbo_listing_protection200_response_data.rb +190 -0
- data/lib/repull/models/get_vrbo_listing_rates200_response.rb +269 -0
- data/lib/repull/models/get_vrbo_listing_rates200_response_data.rb +178 -0
- data/lib/repull/models/get_vrbo_listing_registration200_response.rb +269 -0
- data/lib/repull/models/get_vrbo_listing_registration200_response_data.rb +160 -0
- data/lib/repull/models/get_vrbo_listing_rooms200_response.rb +269 -0
- data/lib/repull/models/get_vrbo_listing_rooms200_response_data.rb +193 -0
- data/lib/repull/models/get_vrbo_listing_story200_response.rb +269 -0
- data/lib/repull/models/get_vrbo_listing_story200_response_data.rb +180 -0
- data/lib/repull/models/get_vrbo_listing_taxes200_response.rb +269 -0
- data/lib/repull/models/get_vrbo_listing_taxes200_response_data.rb +180 -0
- data/lib/repull/models/get_vrbo_listing_translations200_response.rb +269 -0
- data/lib/repull/models/get_vrbo_listing_translations200_response_data.rb +161 -0
- data/lib/repull/models/get_vrbo_listing_videos200_response.rb +269 -0
- data/lib/repull/models/get_vrbo_listing_videos200_response_data.rb +150 -0
- data/lib/repull/models/get_vrbo_listing_welcome_guide200_response.rb +269 -0
- data/lib/repull/models/get_vrbo_listing_welcome_guide200_response_data.rb +222 -0
- data/lib/repull/models/get_vrbo_publish_job200_response.rb +22 -1
- data/lib/repull/models/get_vrbo_publish_job200_response_job.rb +73 -6
- data/lib/repull/models/get_vrbo_publish_job200_response_job_sections_inner.rb +235 -0
- data/lib/repull/models/get_vrbo_publish_job200_response_job_sections_inner_errors_inner.rb +167 -0
- data/lib/repull/models/get_vrbo_publish_job200_response_job_skipped_inner.rb +156 -0
- data/lib/repull/models/publish_listing_to_vrbo_request.rb +48 -4
- data/lib/repull/models/update_vrbo_listing_additional_info200_response.rb +298 -0
- data/lib/repull/models/update_vrbo_listing_additional_info200_response_data.rb +180 -0
- data/lib/repull/models/update_vrbo_listing_additional_info_request.rb +165 -0
- data/lib/repull/models/update_vrbo_listing_amenities200_response.rb +298 -0
- data/lib/repull/models/update_vrbo_listing_amenities200_response_data.rb +151 -0
- data/lib/repull/models/update_vrbo_listing_amenities_request.rb +164 -0
- data/lib/repull/models/update_vrbo_listing_amenities_request_groups.rb +310 -0
- data/lib/repull/models/update_vrbo_listing_amenities_request_groups_essentials.rb +167 -0
- data/lib/repull/models/update_vrbo_listing_amenities_request_groups_essentials_values_value.rb +105 -0
- data/lib/repull/models/update_vrbo_listing_booking_settings200_response.rb +298 -0
- data/lib/repull/models/update_vrbo_listing_booking_settings200_response_data.rb +305 -0
- data/lib/repull/models/update_vrbo_listing_booking_settings_request.rb +279 -0
- data/lib/repull/models/update_vrbo_listing_cancellation200_response.rb +298 -0
- data/lib/repull/models/update_vrbo_listing_cancellation200_response_data.rb +182 -0
- data/lib/repull/models/update_vrbo_listing_cancellation_request.rb +176 -0
- data/lib/repull/models/update_vrbo_listing_cancellation_request_tiers_inner.rb +217 -0
- data/lib/repull/models/update_vrbo_listing_description200_response.rb +298 -0
- data/lib/repull/models/update_vrbo_listing_description200_response_data.rb +168 -0
- data/lib/repull/models/update_vrbo_listing_description_request.rb +212 -0
- data/lib/repull/models/update_vrbo_listing_fees200_response.rb +298 -0
- data/lib/repull/models/update_vrbo_listing_fees200_response_data.rb +223 -0
- data/lib/repull/models/update_vrbo_listing_fees_request.rb +179 -0
- data/lib/repull/models/update_vrbo_listing_fees_request_cleaning.rb +225 -0
- data/lib/repull/models/update_vrbo_listing_fees_request_custom_inner.rb +280 -0
- data/lib/repull/models/update_vrbo_listing_fees_request_extra_guests.rb +246 -0
- data/lib/repull/models/update_vrbo_listing_house_rules200_response.rb +298 -0
- data/lib/repull/models/update_vrbo_listing_house_rules200_response_data.rb +277 -0
- data/lib/repull/models/update_vrbo_listing_house_rules_request.rb +332 -0
- data/lib/repull/models/update_vrbo_listing_house_rules_request_children.rb +168 -0
- data/lib/repull/models/update_vrbo_listing_house_rules_request_events.rb +177 -0
- data/lib/repull/models/update_vrbo_listing_house_rules_request_pets.rb +187 -0
- data/lib/repull/models/update_vrbo_listing_house_rules_request_pets_allowed_pets.rb +104 -0
- data/lib/repull/models/update_vrbo_listing_house_rules_request_pets_max_weight.rb +104 -0
- data/lib/repull/models/update_vrbo_listing_house_rules_request_smoking.rb +177 -0
- data/lib/repull/models/update_vrbo_listing_location200_response.rb +298 -0
- data/lib/repull/models/update_vrbo_listing_location200_response_data.rb +169 -0
- data/lib/repull/models/update_vrbo_listing_location_request.rb +164 -0
- data/lib/repull/models/update_vrbo_listing_payment_terms200_response.rb +298 -0
- data/lib/repull/models/update_vrbo_listing_payment_terms200_response_data.rb +160 -0
- data/lib/repull/models/update_vrbo_listing_payment_terms_request.rb +193 -0
- data/lib/repull/models/update_vrbo_listing_payment_terms_request_payments_inner.rb +199 -0
- data/lib/repull/models/update_vrbo_listing_photos200_response.rb +298 -0
- data/lib/repull/models/update_vrbo_listing_photos200_response_data.rb +170 -0
- data/lib/repull/models/update_vrbo_listing_photos_request.rb +192 -0
- data/lib/repull/models/update_vrbo_listing_photos_request_add_inner.rb +184 -0
- data/lib/repull/models/update_vrbo_listing_pricing200_response.rb +298 -0
- data/lib/repull/models/update_vrbo_listing_pricing200_response_data.rb +202 -0
- data/lib/repull/models/update_vrbo_listing_pricing_request.rb +173 -0
- data/lib/repull/models/update_vrbo_listing_property200_response.rb +298 -0
- data/lib/repull/models/update_vrbo_listing_property200_response_data.rb +199 -0
- data/lib/repull/models/update_vrbo_listing_property_request.rb +185 -0
- data/lib/repull/models/update_vrbo_listing_property_request_interior_size.rb +223 -0
- data/lib/repull/models/update_vrbo_listing_protection200_response.rb +298 -0
- data/lib/repull/models/update_vrbo_listing_protection200_response_data.rb +190 -0
- data/lib/repull/models/update_vrbo_listing_protection_request.rb +159 -0
- data/lib/repull/models/update_vrbo_listing_protection_request_damage_deposit.rb +104 -0
- data/lib/repull/models/update_vrbo_listing_protection_request_damage_deposit_one_of.rb +173 -0
- data/lib/repull/models/update_vrbo_listing_rates200_response.rb +298 -0
- data/lib/repull/models/update_vrbo_listing_rates200_response_data.rb +178 -0
- data/lib/repull/models/update_vrbo_listing_rates_request.rb +305 -0
- data/lib/repull/models/update_vrbo_listing_rates_request_nightly_rates.rb +335 -0
- data/lib/repull/models/update_vrbo_listing_registration200_response.rb +298 -0
- data/lib/repull/models/update_vrbo_listing_registration200_response_data.rb +160 -0
- data/lib/repull/models/update_vrbo_listing_registration_request.rb +166 -0
- data/lib/repull/models/update_vrbo_listing_registration_request_settings_inner.rb +177 -0
- data/lib/repull/models/update_vrbo_listing_registration_request_settings_inner_value.rb +105 -0
- data/lib/repull/models/update_vrbo_listing_rooms200_response.rb +298 -0
- data/lib/repull/models/update_vrbo_listing_rooms200_response_data.rb +193 -0
- data/lib/repull/models/update_vrbo_listing_rooms_request.rb +171 -0
- data/lib/repull/models/update_vrbo_listing_rooms_request_add_inner.rb +213 -0
- data/lib/repull/models/update_vrbo_listing_rooms_request_add_inner_amenities.rb +105 -0
- data/lib/repull/models/update_vrbo_listing_rooms_request_add_inner_amenities_one_of_inner.rb +165 -0
- data/lib/repull/models/update_vrbo_listing_rooms_request_update_inner.rb +212 -0
- data/lib/repull/models/update_vrbo_listing_story200_response.rb +298 -0
- data/lib/repull/models/update_vrbo_listing_story200_response_data.rb +180 -0
- data/lib/repull/models/update_vrbo_listing_story_request.rb +165 -0
- data/lib/repull/models/update_vrbo_listing_taxes200_response.rb +298 -0
- data/lib/repull/models/update_vrbo_listing_taxes200_response_data.rb +180 -0
- data/lib/repull/models/update_vrbo_listing_taxes_request.rb +167 -0
- data/lib/repull/models/update_vrbo_listing_taxes_request_partner_tax_settings.rb +175 -0
- data/lib/repull/models/update_vrbo_listing_taxes_request_stay_tax.rb +173 -0
- data/lib/repull/models/update_vrbo_listing_translations200_response.rb +298 -0
- data/lib/repull/models/update_vrbo_listing_translations200_response_data.rb +161 -0
- data/lib/repull/models/update_vrbo_listing_translations_request.rb +160 -0
- data/lib/repull/models/update_vrbo_listing_translations_request_set_inner.rb +184 -0
- data/lib/repull/models/update_vrbo_listing_welcome_guide200_response.rb +298 -0
- data/lib/repull/models/update_vrbo_listing_welcome_guide200_response_data.rb +222 -0
- data/lib/repull/models/update_vrbo_listing_welcome_guide_request.rb +204 -0
- data/lib/repull/models/update_vrbo_listing_welcome_guide_request_access.rb +203 -0
- data/lib/repull/models/update_vrbo_listing_welcome_guide_request_check_in.rb +173 -0
- data/lib/repull/models/update_vrbo_listing_welcome_guide_request_wifi.rb +222 -0
- data/lib/repull/version.rb +1 -1
- data/lib/repull.rb +199 -0
- data/openapi/v1.json +16331 -8
- metadata +201 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5681eeff9d13a413a33a2e6677bfd84b3ae0706483e511cc87ed6e9c3dda38af
|
|
4
|
+
data.tar.gz: 68c4622b06cbc18ecc1ad9acccceb3de21f106b5c426ff1c96313e13c86b958b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a8fabdc3daba3dd413314c80a589b2829d3c66b2b3c142d69fe901f36291b421d989140a80478328e7a2454d31405811b55394fa87d8b158a926c4c398ff9403
|
|
7
|
+
data.tar.gz: 1a66fb02bce1e2a110a64b6120148fb23a0c409f99a90ffdceb21a3a73b19b95e9c54cb5df978280487ed9a5a714d1cc46e8625e0d9232c73f292b3005d679dc
|
|
@@ -689,8 +689,8 @@ module Repull
|
|
|
689
689
|
return data, status_code, headers
|
|
690
690
|
end
|
|
691
691
|
|
|
692
|
-
# Progress of a Vrbo listing creation
|
|
693
|
-
#
|
|
692
|
+
# Progress of a Vrbo listing creation or update
|
|
693
|
+
# For a push onto an existing Vrbo listing (`vrbo_push_…` job): each section with its status, Vrbo's refusals and what Vrbo stored; pushes are kept for a day. For a creation: each step Vrbo has finished, Vrbo's reason when it failed, the new Vrbo listing number once published, and photos Vrbo's review refused. When Vrbo has published the listing, this read links the new unit to the listing with calendar sync on and queues the whole calendar — poll until `linked` is true. A job is remembered while it runs and for a while after; an unknown job is `404` (publish again to resume).
|
|
694
694
|
# @param id [Integer] Repull listing id
|
|
695
695
|
# @param job_id [String] `job.jobId` from the POST.
|
|
696
696
|
# @param [Hash] opts the optional parameters
|
|
@@ -700,8 +700,8 @@ module Repull
|
|
|
700
700
|
data
|
|
701
701
|
end
|
|
702
702
|
|
|
703
|
-
# Progress of a Vrbo listing creation
|
|
704
|
-
#
|
|
703
|
+
# Progress of a Vrbo listing creation or update
|
|
704
|
+
# For a push onto an existing Vrbo listing (`vrbo_push_…` job): each section with its status, Vrbo's refusals and what Vrbo stored; pushes are kept for a day. For a creation: each step Vrbo has finished, Vrbo's reason when it failed, the new Vrbo listing number once published, and photos Vrbo's review refused. When Vrbo has published the listing, this read links the new unit to the listing with calendar sync on and queues the whole calendar — poll until `linked` is true. A job is remembered while it runs and for a while after; an unknown job is `404` (publish again to resume).
|
|
705
705
|
# @param id [Integer] Repull listing id
|
|
706
706
|
# @param job_id [String] `job.jobId` from the POST.
|
|
707
707
|
# @param [Hash] opts the optional parameters
|
|
@@ -1136,8 +1136,8 @@ module Repull
|
|
|
1136
1136
|
return data, status_code, headers
|
|
1137
1137
|
end
|
|
1138
1138
|
|
|
1139
|
-
# Create a listing on Vrbo
|
|
1140
|
-
# Creates the listing on Vrbo in the host's connected Vrbo account, from the listing's content: title and description, property type, rooms and beds, amenities, photos, house rules (guests, minimum age, children, pets, smoking, events), check-in and check-out times, minimum stay, advance notice and booking window, the nightly price, cleaning, pet and extra-guest fees, the cancellation policy and the licence number. Vrbo's automatic new-listing discount is turned off so the listing sells at your prices. **It is a job.** Vrbo's onboarding takes 5–15 minutes (photos go up one at a time), so this answers `202` with `job.jobId`. Poll `GET /v1/listings/{id}/publish/vrbo?jobId=` for each finished step. When Vrbo has published the listing, that read links the new Vrbo unit to the listing with calendar sync on and queues the whole calendar (prices, availability, minimum stay) to Vrbo: **keep polling until `linked` is true.** **Which account.** A workspace with one Vrbo account needs nothing. With several, name it with `accountId` (`\"vrbo:13\"`, as the connection id). An account connected with messaging access is refused with `403 vrbo_messaging_access`. **Missing content** (street address, city, photos, nightly price, description) is refused with `422 listing_incomplete` naming what is missing. A
|
|
1139
|
+
# Create or update a listing on Vrbo
|
|
1140
|
+
# **A listing not yet on Vrbo** is created there; **a listing already linked to a Vrbo listing** gets its content pushed onto that listing (`mode: update`, below). Creates the listing on Vrbo in the host's connected Vrbo account, from the listing's content: title and description, property type, rooms and beds, amenities, photos, house rules (guests, minimum age, children, pets, smoking, events), check-in and check-out times, minimum stay, advance notice and booking window, the nightly price, cleaning, pet and extra-guest fees, the cancellation policy and the licence number. Vrbo's automatic new-listing discount is turned off so the listing sells at your prices. **It is a job.** Vrbo's onboarding takes 5–15 minutes (photos go up one at a time), so this answers `202` with `job.jobId`. Poll `GET /v1/listings/{id}/publish/vrbo?jobId=` for each finished step. When Vrbo has published the listing, that read links the new Vrbo unit to the listing with calendar sync on and queues the whole calendar (prices, availability, minimum stay) to Vrbo: **keep polling until `linked` is true.** **Which account.** A workspace with one Vrbo account needs nothing. With several, name it with `accountId` (`\"vrbo:13\"`, as the connection id). An account connected with messaging access is refused with `403 vrbo_messaging_access`. **Missing content** (street address, city, photos, nightly price, description) is refused with `422 listing_incomplete` naming what is missing. A run that failed part-way leaves an unpublished Vrbo property: publishing again completes it instead of creating a second one. **Update (listing already on Vrbo).** Write the content with `PUT /v1/listings/{id}/content`, then publish: the listing's content is pushed onto its existing Vrbo listing, section by section — headline and description, property type, amenities, house rules (check-in/out, guests, children, pets, smoking, events), booking settings (instant book, minimum stay, notice, booking window), cancellation policy, cleaning/pet/extra-guest fees, the base rate (with the unit's markup) and the weekly and monthly stay discounts over the booking window (`rates`; the nights keep the prices Vrbo has). Rates and the base rate share Vrbo's calendar quota with the listing's calendar push: when it is writing, those steps wait for it (up to 3 minutes) and try once more, else they end `failed` with `vrbo_calendar_busy` — publish again later. Each write is partial (a field the content has no value for is left alone) and is read back from Vrbo. Rooms, photos and registration are not replaced on an existing listing (`skipped` says so): edit them with `PUT /v1/channels/vrbo/listings/{id}/{section}`. It is a job too (a few minutes: Vrbo calls are spaced ~3 s apart per account): poll `GET ?jobId=` — each entry of `job.sections` has its `status`, Vrbo's refusals and what Vrbo stored. Limit it with `sections` (e.g. `[\"description\", \"fees\"]`); name the Vrbo listing with `vrboListingNumber` when the listing is linked to several. One push per listing at a time (`409 vrbo_push_running`). Needs full access (`403 vrbo_messaging_access` otherwise). Prices, availability and minimum stay per night always go through the calendar: `PUT /v1/availability/{propertyId}`.
|
|
1141
1141
|
# @param id [Integer] Repull listing id
|
|
1142
1142
|
# @param [Hash] opts the optional parameters
|
|
1143
1143
|
# @option opts [PublishListingToVrboRequest] :publish_listing_to_vrbo_request
|
|
@@ -1147,8 +1147,8 @@ module Repull
|
|
|
1147
1147
|
data
|
|
1148
1148
|
end
|
|
1149
1149
|
|
|
1150
|
-
# Create a listing on Vrbo
|
|
1151
|
-
# Creates the listing on Vrbo in the host's connected Vrbo account, from the listing's content: title and description, property type, rooms and beds, amenities, photos, house rules (guests, minimum age, children, pets, smoking, events), check-in and check-out times, minimum stay, advance notice and booking window, the nightly price, cleaning, pet and extra-guest fees, the cancellation policy and the licence number. Vrbo's automatic new-listing discount is turned off so the listing sells at your prices. **It is a job.** Vrbo's onboarding takes 5–15 minutes (photos go up one at a time), so this answers `202` with `job.jobId`. Poll `GET /v1/listings/{id}/publish/vrbo?jobId=` for each finished step. When Vrbo has published the listing, that read links the new Vrbo unit to the listing with calendar sync on and queues the whole calendar (prices, availability, minimum stay) to Vrbo: **keep polling until `linked` is true.** **Which account.** A workspace with one Vrbo account needs nothing. With several, name it with `accountId` (`\"vrbo:13\"`, as the connection id). An account connected with messaging access is refused with `403 vrbo_messaging_access`. **Missing content** (street address, city, photos, nightly price, description) is refused with `422 listing_incomplete` naming what is missing. A
|
|
1150
|
+
# Create or update a listing on Vrbo
|
|
1151
|
+
# **A listing not yet on Vrbo** is created there; **a listing already linked to a Vrbo listing** gets its content pushed onto that listing (`mode: update`, below). Creates the listing on Vrbo in the host's connected Vrbo account, from the listing's content: title and description, property type, rooms and beds, amenities, photos, house rules (guests, minimum age, children, pets, smoking, events), check-in and check-out times, minimum stay, advance notice and booking window, the nightly price, cleaning, pet and extra-guest fees, the cancellation policy and the licence number. Vrbo's automatic new-listing discount is turned off so the listing sells at your prices. **It is a job.** Vrbo's onboarding takes 5–15 minutes (photos go up one at a time), so this answers `202` with `job.jobId`. Poll `GET /v1/listings/{id}/publish/vrbo?jobId=` for each finished step. When Vrbo has published the listing, that read links the new Vrbo unit to the listing with calendar sync on and queues the whole calendar (prices, availability, minimum stay) to Vrbo: **keep polling until `linked` is true.** **Which account.** A workspace with one Vrbo account needs nothing. With several, name it with `accountId` (`\"vrbo:13\"`, as the connection id). An account connected with messaging access is refused with `403 vrbo_messaging_access`. **Missing content** (street address, city, photos, nightly price, description) is refused with `422 listing_incomplete` naming what is missing. A run that failed part-way leaves an unpublished Vrbo property: publishing again completes it instead of creating a second one. **Update (listing already on Vrbo).** Write the content with `PUT /v1/listings/{id}/content`, then publish: the listing's content is pushed onto its existing Vrbo listing, section by section — headline and description, property type, amenities, house rules (check-in/out, guests, children, pets, smoking, events), booking settings (instant book, minimum stay, notice, booking window), cancellation policy, cleaning/pet/extra-guest fees, the base rate (with the unit's markup) and the weekly and monthly stay discounts over the booking window (`rates`; the nights keep the prices Vrbo has). Rates and the base rate share Vrbo's calendar quota with the listing's calendar push: when it is writing, those steps wait for it (up to 3 minutes) and try once more, else they end `failed` with `vrbo_calendar_busy` — publish again later. Each write is partial (a field the content has no value for is left alone) and is read back from Vrbo. Rooms, photos and registration are not replaced on an existing listing (`skipped` says so): edit them with `PUT /v1/channels/vrbo/listings/{id}/{section}`. It is a job too (a few minutes: Vrbo calls are spaced ~3 s apart per account): poll `GET ?jobId=` — each entry of `job.sections` has its `status`, Vrbo's refusals and what Vrbo stored. Limit it with `sections` (e.g. `[\"description\", \"fees\"]`); name the Vrbo listing with `vrboListingNumber` when the listing is linked to several. One push per listing at a time (`409 vrbo_push_running`). Needs full access (`403 vrbo_messaging_access` otherwise). Prices, availability and minimum stay per night always go through the calendar: `PUT /v1/availability/{propertyId}`.
|
|
1152
1152
|
# @param id [Integer] Repull listing id
|
|
1153
1153
|
# @param [Hash] opts the optional parameters
|
|
1154
1154
|
# @option opts [PublishListingToVrboRequest] :publish_listing_to_vrbo_request
|