repull 0.2.43 → 0.2.44
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/README.md +8 -37
- data/lib/repull/api/airbnb_api.rb +1 -1
- data/lib/repull/api/atlas_api.rb +1 -1
- data/lib/repull/api/availability_api.rb +1 -1
- data/lib/repull/api/billing_api.rb +1 -1
- data/lib/repull/api/booking_com_api.rb +1 -1
- data/lib/repull/api/connect_api.rb +1 -1
- data/lib/repull/api/connections_api.rb +1 -1
- data/lib/repull/api/conversations_api.rb +1 -1
- data/lib/repull/api/guests_api.rb +1 -1
- data/lib/repull/api/health_api.rb +1 -1
- data/lib/repull/api/hotels_api.rb +1 -1
- data/lib/repull/api/kv_api.rb +1 -1
- data/lib/repull/api/listings_api.rb +1 -1
- data/lib/repull/api/markets_api.rb +1 -1
- data/lib/repull/api/migrate_api.rb +1 -1
- data/lib/repull/api/pricing_api.rb +1 -1
- data/lib/repull/api/promotions_api.rb +1 -1
- data/lib/repull/api/properties_api.rb +1 -1
- data/lib/repull/api/quotes_api.rb +1 -1
- data/lib/repull/api/reservations_api.rb +1 -1
- data/lib/repull/api/resolutions_api.rb +1 -1
- data/lib/repull/api/reviews_api.rb +1 -1
- data/lib/repull/api/schema_api.rb +1 -1
- data/lib/repull/api/system_api.rb +1 -1
- data/lib/repull/api/transactions_api.rb +1 -1
- data/lib/repull/api/vrbo_api.rb +1 -1
- data/lib/repull/api/webhooks_api.rb +1 -1
- data/lib/repull/api/workspaces_api.rb +1 -1
- data/lib/repull/api_client.rb +1 -1
- data/lib/repull/api_error.rb +1 -1
- data/lib/repull/api_model_base.rb +1 -1
- data/lib/repull/configuration.rb +1 -1
- data/lib/repull/models/accept_reservation_request200_response.rb +1 -1
- data/lib/repull/models/account_created_event.rb +1 -1
- data/lib/repull/models/account_created_payload.rb +1 -1
- data/lib/repull/models/account_disconnected_event.rb +1 -1
- data/lib/repull/models/account_disconnected_payload.rb +1 -1
- data/lib/repull/models/account_disconnected_payload_listings_inner.rb +1 -1
- data/lib/repull/models/account_import.rb +1 -1
- data/lib/repull/models/account_import_completed_event.rb +1 -1
- data/lib/repull/models/account_import_counts.rb +1 -1
- data/lib/repull/models/account_import_failed_event.rb +1 -1
- data/lib/repull/models/account_import_finished_payload.rb +1 -1
- data/lib/repull/models/account_import_stage.rb +1 -1
- data/lib/repull/models/account_import_started_event.rb +1 -1
- data/lib/repull/models/account_import_started_payload.rb +1 -1
- data/lib/repull/models/acknowledge_booking_reservations_request.rb +1 -1
- data/lib/repull/models/ai_operation.rb +1 -1
- data/lib/repull/models/ai_operation_completed_event.rb +1 -1
- data/lib/repull/models/ai_operation_completed_payload.rb +1 -1
- data/lib/repull/models/ai_operation_failed_event.rb +1 -1
- data/lib/repull/models/ai_operation_failed_payload.rb +1 -1
- data/lib/repull/models/ai_operation_failed_payload_error.rb +1 -1
- data/lib/repull/models/airbnb_access.rb +1 -1
- data/lib/repull/models/airbnb_access_accounts_inner.rb +1 -1
- data/lib/repull/models/airbnb_account_freshness.rb +1 -1
- data/lib/repull/models/airbnb_alteration.rb +1 -1
- data/lib/repull/models/airbnb_alteration_create_request.rb +1 -1
- data/lib/repull/models/airbnb_amenity.rb +1 -1
- data/lib/repull/models/airbnb_availability_write_request.rb +1 -1
- data/lib/repull/models/airbnb_calendar_operation.rb +1 -1
- data/lib/repull/models/airbnb_connection.rb +1 -1
- data/lib/repull/models/airbnb_connection_accessibility_amenities_inner.rb +1 -1
- data/lib/repull/models/airbnb_connection_amenities_inner.rb +1 -1
- data/lib/repull/models/airbnb_connection_host.rb +1 -1
- data/lib/repull/models/airbnb_connection_response.rb +1 -1
- data/lib/repull/models/airbnb_connection_summary.rb +1 -1
- data/lib/repull/models/airbnb_content_write_response.rb +1 -1
- data/lib/repull/models/airbnb_data_freshness.rb +1 -1
- data/lib/repull/models/airbnb_description_write_request.rb +1 -1
- data/lib/repull/models/airbnb_description_write_request_description.rb +1 -1
- data/lib/repull/models/airbnb_host_review_submit.rb +1 -1
- data/lib/repull/models/airbnb_host_review_submit_category_ratings_inner.rb +1 -1
- data/lib/repull/models/airbnb_listing.rb +1 -1
- data/lib/repull/models/airbnb_listing_action200_response.rb +1 -1
- data/lib/repull/models/airbnb_listing_action200_response_one_of.rb +1 -1
- data/lib/repull/models/airbnb_listing_action200_response_one_of1.rb +1 -1
- data/lib/repull/models/airbnb_listing_action_request.rb +1 -1
- data/lib/repull/models/airbnb_listing_details_response.rb +1 -1
- data/lib/repull/models/airbnb_listing_details_write_request.rb +1 -1
- data/lib/repull/models/airbnb_listing_details_write_request_check_in_option.rb +1 -1
- data/lib/repull/models/airbnb_listing_details_write_request_quiet_hours_inner.rb +1 -1
- data/lib/repull/models/airbnb_listing_lifecycle_response.rb +1 -1
- data/lib/repull/models/airbnb_listing_list_response.rb +1 -1
- data/lib/repull/models/airbnb_permits_response.rb +1 -1
- data/lib/repull/models/airbnb_permits_response_cached_inner.rb +1 -1
- data/lib/repull/models/airbnb_permits_write_request.rb +1 -1
- data/lib/repull/models/airbnb_permits_write_request_permits_inner.rb +1 -1
- data/lib/repull/models/airbnb_photo_position.rb +1 -1
- data/lib/repull/models/airbnb_pricing_write_request.rb +1 -1
- data/lib/repull/models/airbnb_pricing_write_request_fees_inner.rb +1 -1
- data/lib/repull/models/airbnb_pricing_write_request_records_inner.rb +1 -1
- data/lib/repull/models/airbnb_publish_result.rb +1 -1
- data/lib/repull/models/airbnb_reservation.rb +1 -1
- data/lib/repull/models/airbnb_reservation_action200_response.rb +1 -1
- data/lib/repull/models/airbnb_reservation_action_request.rb +1 -1
- data/lib/repull/models/airbnb_reservation_list_response.rb +1 -1
- data/lib/repull/models/airbnb_review.rb +1 -1
- data/lib/repull/models/airbnb_review_list_response.rb +1 -1
- data/lib/repull/models/airbnb_safety_disclosure.rb +1 -1
- data/lib/repull/models/airbnb_safety_disclosures_response.rb +1 -1
- data/lib/repull/models/airbnb_safety_disclosures_write_request.rb +1 -1
- data/lib/repull/models/airbnb_thread.rb +1 -1
- data/lib/repull/models/airbnb_thread_list_response.rb +1 -1
- data/lib/repull/models/airbnb_transaction.rb +1 -1
- data/lib/repull/models/airbnb_transaction_fees.rb +1 -1
- data/lib/repull/models/airbnb_transaction_payout.rb +1 -1
- data/lib/repull/models/alteration_change.rb +1 -1
- data/lib/repull/models/alteration_webhook_object.rb +1 -1
- data/lib/repull/models/apply_connection_mappings200_response.rb +1 -1
- data/lib/repull/models/apply_connection_mappings200_response_results_inner.rb +1 -1
- data/lib/repull/models/apply_connection_mappings_request.rb +1 -1
- data/lib/repull/models/apply_connection_mappings_request_mappings_inner.rb +1 -1
- data/lib/repull/models/auto_map_connection_units200_response.rb +1 -1
- data/lib/repull/models/auto_map_connection_units_request.rb +1 -1
- data/lib/repull/models/availability_batch_write_request.rb +1 -1
- data/lib/repull/models/availability_write_request.rb +1 -1
- data/lib/repull/models/availability_write_result.rb +1 -1
- data/lib/repull/models/availability_write_result_synced.rb +1 -1
- data/lib/repull/models/availability_write_settings.rb +1 -1
- data/lib/repull/models/booking_availability_state_response.rb +1 -1
- data/lib/repull/models/booking_availability_update.rb +1 -1
- data/lib/repull/models/booking_availability_update_date_range.rb +1 -1
- data/lib/repull/models/booking_availability_update_request.rb +1 -1
- data/lib/repull/models/booking_availability_update_request_property_id.rb +1 -1
- data/lib/repull/models/booking_availability_update_request_updates_inner.rb +1 -1
- data/lib/repull/models/booking_connect_listing_option.rb +1 -1
- data/lib/repull/models/booking_connect_room.rb +1 -1
- data/lib/repull/models/booking_connect_rooms_response.rb +1 -1
- data/lib/repull/models/booking_conversation.rb +1 -1
- data/lib/repull/models/booking_derived_pricing_update.rb +1 -1
- data/lib/repull/models/booking_derived_pricing_write_response.rb +1 -1
- data/lib/repull/models/booking_derived_pricing_write_response_rates_inner.rb +1 -1
- data/lib/repull/models/booking_derived_pricing_write_response_verification.rb +1 -1
- data/lib/repull/models/booking_derived_pricing_write_response_verification_rows_inner.rb +1 -1
- data/lib/repull/models/booking_occupancy_rule.rb +1 -1
- data/lib/repull/models/booking_pricing_rate_update.rb +1 -1
- data/lib/repull/models/booking_pricing_rate_update_date_range.rb +1 -1
- data/lib/repull/models/booking_pricing_rate_update_restrictions.rb +1 -1
- data/lib/repull/models/booking_pricing_response.rb +1 -1
- data/lib/repull/models/booking_pricing_update_request.rb +1 -1
- data/lib/repull/models/booking_pricing_update_response.rb +1 -1
- data/lib/repull/models/booking_property.rb +1 -1
- data/lib/repull/models/booking_property_action_request.rb +1 -1
- data/lib/repull/models/booking_property_action_response.rb +1 -1
- data/lib/repull/models/booking_property_listings_inner.rb +1 -1
- data/lib/repull/models/booking_publish_result.rb +1 -1
- data/lib/repull/models/booking_publish_section_error.rb +1 -1
- data/lib/repull/models/booking_rate_write_occupancy.rb +1 -1
- data/lib/repull/models/booking_rate_write_price_half.rb +1 -1
- data/lib/repull/models/booking_rate_write_restriction_half.rb +1 -1
- data/lib/repull/models/booking_rate_write_verification.rb +1 -1
- data/lib/repull/models/booking_rate_write_verification_row.rb +1 -1
- data/lib/repull/models/booking_reservation.rb +1 -1
- data/lib/repull/models/booking_reservation_room.rb +1 -1
- data/lib/repull/models/booking_restriction_request_row.rb +1 -1
- data/lib/repull/models/booking_restriction_verification.rb +1 -1
- data/lib/repull/models/booking_restriction_verification_row.rb +1 -1
- data/lib/repull/models/booking_restriction_verification_row_booking_value.rb +1 -1
- data/lib/repull/models/booking_restriction_verification_row_expected.rb +1 -1
- data/lib/repull/models/booking_restriction_write_response.rb +1 -1
- data/lib/repull/models/booking_room_mapping.rb +1 -1
- data/lib/repull/models/booking_rooms_rates_response.rb +1 -1
- data/lib/repull/models/booking_rooms_rates_response_rooms_inner.rb +1 -1
- data/lib/repull/models/booking_rooms_rates_response_rooms_inner_rates_inner.rb +1 -1
- data/lib/repull/models/booking_setup_request.rb +1 -1
- data/lib/repull/models/booking_setup_request_legal_entity.rb +1 -1
- data/lib/repull/models/booking_unacknowledged_event.rb +1 -1
- data/lib/repull/models/booking_unacknowledged_payload.rb +1 -1
- data/lib/repull/models/booking_upstream_failure.rb +1 -1
- data/lib/repull/models/booking_verify_hotel_request.rb +1 -1
- data/lib/repull/models/booking_verify_hotel_response.rb +1 -1
- data/lib/repull/models/bulk_pricing_failure.rb +1 -1
- data/lib/repull/models/bulk_pricing_item.rb +1 -1
- data/lib/repull/models/bulk_pricing_request.rb +1 -1
- data/lib/repull/models/bulk_pricing_response.rb +1 -1
- data/lib/repull/models/calendar_day.rb +1 -1
- data/lib/repull/models/calendar_response.rb +1 -1
- data/lib/repull/models/cancel_reservation200_response.rb +1 -1
- data/lib/repull/models/cancel_reservation_request.rb +1 -1
- data/lib/repull/models/channel_degraded_event.rb +1 -1
- data/lib/repull/models/channel_degraded_payload.rb +1 -1
- data/lib/repull/models/channel_degraded_payload_object.rb +1 -1
- data/lib/repull/models/channel_market_state_item.rb +1 -1
- data/lib/repull/models/channel_sync_failed_event.rb +1 -1
- data/lib/repull/models/channel_sync_failure_payload.rb +1 -1
- data/lib/repull/models/channel_sync_failure_payload_failures_inner.rb +1 -1
- data/lib/repull/models/channel_sync_failure_payload_object.rb +1 -1
- data/lib/repull/models/charge_per.rb +1 -1
- data/lib/repull/models/check_migration_cutover200_response.rb +1 -1
- data/lib/repull/models/check_migration_cutover_request.rb +1 -1
- data/lib/repull/models/check_migration_cutover_request_reservations_inner.rb +1 -1
- data/lib/repull/models/clear_kv200_response.rb +1 -1
- data/lib/repull/models/connect_host.rb +1 -1
- data/lib/repull/models/connect_provider.rb +1 -1
- data/lib/repull/models/connect_provider_list_response.rb +1 -1
- data/lib/repull/models/connect_session.rb +1 -1
- data/lib/repull/models/connect_session_completed_event.rb +1 -1
- data/lib/repull/models/connect_session_completed_payload.rb +1 -1
- data/lib/repull/models/connect_status.rb +1 -1
- data/lib/repull/models/connect_status_accounts_inner.rb +1 -1
- data/lib/repull/models/connect_status_capabilities.rb +1 -1
- data/lib/repull/models/connection.rb +1 -1
- data/lib/repull/models/connection_action.rb +1 -1
- data/lib/repull/models/connection_list_response.rb +1 -1
- data/lib/repull/models/conversation.rb +1 -1
- data/lib/repull/models/conversation_capabilities.rb +1 -1
- data/lib/repull/models/conversation_detail.rb +1 -1
- data/lib/repull/models/conversation_guest.rb +1 -1
- data/lib/repull/models/conversation_guest_contact.rb +1 -1
- data/lib/repull/models/conversation_host.rb +1 -1
- data/lib/repull/models/conversation_list_response.rb +1 -1
- data/lib/repull/models/conversation_message_attachment.rb +1 -1
- data/lib/repull/models/create_airbnb_listing_room_request.rb +1 -1
- data/lib/repull/models/create_airbnb_offer_request.rb +1 -1
- data/lib/repull/models/create_airbnb_offer_request_guest_details.rb +1 -1
- data/lib/repull/models/create_billing_checkout200_response.rb +1 -1
- data/lib/repull/models/create_billing_checkout_request.rb +1 -1
- data/lib/repull/models/create_booking_webhook_request.rb +1 -1
- data/lib/repull/models/create_connect_session_request.rb +1 -1
- data/lib/repull/models/create_connect_session_request_copy.rb +1 -1
- data/lib/repull/models/create_connect_session_request_workspace.rb +1 -1
- data/lib/repull/models/create_connection_request.rb +1 -1
- data/lib/repull/models/create_conversation_special_offer201_response.rb +1 -1
- data/lib/repull/models/create_conversation_special_offer201_response_fees_inner.rb +1 -1
- data/lib/repull/models/create_conversation_special_offer201_response_guests.rb +1 -1
- data/lib/repull/models/create_conversation_special_offer201_response_lines_inner.rb +1 -1
- data/lib/repull/models/create_conversation_special_offer_request.rb +1 -1
- data/lib/repull/models/create_conversation_special_offer_request_fees_inner.rb +1 -1
- data/lib/repull/models/create_conversation_special_offer_request_guests.rb +1 -1
- data/lib/repull/models/create_webhook_request.rb +1 -1
- data/lib/repull/models/custom_schema.rb +1 -1
- data/lib/repull/models/custom_schema_create.rb +1 -1
- data/lib/repull/models/custom_schema_create_response.rb +1 -1
- data/lib/repull/models/custom_schema_delete_response.rb +1 -1
- data/lib/repull/models/custom_schema_list_response.rb +1 -1
- data/lib/repull/models/custom_schema_summary.rb +1 -1
- data/lib/repull/models/custom_schema_update.rb +1 -1
- data/lib/repull/models/decline_reservation_request_request.rb +1 -1
- data/lib/repull/models/delete_airbnb_listing_photo200_response.rb +1 -1
- data/lib/repull/models/delete_airbnb_listing_room200_response.rb +1 -1
- data/lib/repull/models/delete_connection200_response.rb +1 -1
- data/lib/repull/models/delete_kv200_response.rb +1 -1
- data/lib/repull/models/delete_migration200_response.rb +1 -1
- data/lib/repull/models/delete_migration200_response_data.rb +1 -1
- data/lib/repull/models/error.rb +1 -1
- data/lib/repull/models/error_error.rb +1 -1
- data/lib/repull/models/error_error_listings_inner.rb +1 -1
- data/lib/repull/models/error_error_support.rb +1 -1
- data/lib/repull/models/get_airbnb_alteration200_response.rb +1 -1
- data/lib/repull/models/get_airbnb_booking_settings200_response.rb +1 -1
- data/lib/repull/models/get_airbnb_booking_settings200_response_data.rb +1 -1
- data/lib/repull/models/get_airbnb_booking_settings200_response_data_advance_notice.rb +1 -1
- data/lib/repull/models/get_airbnb_booking_settings200_response_data_booking_window.rb +1 -1
- data/lib/repull/models/get_airbnb_booking_settings200_response_data_cancellation.rb +1 -1
- data/lib/repull/models/get_airbnb_booking_settings200_response_data_cancellation_non_refundable.rb +1 -1
- data/lib/repull/models/get_airbnb_booking_settings200_response_data_check_in.rb +1 -1
- data/lib/repull/models/get_airbnb_booking_settings200_response_data_check_in_start.rb +1 -1
- data/lib/repull/models/get_airbnb_booking_settings200_response_data_check_out.rb +1 -1
- data/lib/repull/models/get_airbnb_booking_settings200_response_data_instant_book.rb +1 -1
- data/lib/repull/models/get_airbnb_booking_settings200_response_data_preparation_time.rb +1 -1
- data/lib/repull/models/get_airbnb_checkin_guide200_response.rb +1 -1
- data/lib/repull/models/get_airbnb_listing_details200_response.rb +1 -1
- data/lib/repull/models/get_airbnb_listing_quality200_response.rb +1 -1
- data/lib/repull/models/get_airbnb_listing_settings200_response.rb +1 -1
- data/lib/repull/models/get_airbnb_offer200_response.rb +1 -1
- data/lib/repull/models/get_airbnb_thread200_response.rb +1 -1
- data/lib/repull/models/get_billing200_response.rb +1 -1
- data/lib/repull/models/get_billing200_response_limits.rb +1 -1
- data/lib/repull/models/get_billing200_response_used.rb +1 -1
- data/lib/repull/models/get_booking_extranet_login_config200_response.rb +1 -1
- data/lib/repull/models/get_booking_extranet_login_status200_response.rb +1 -1
- data/lib/repull/models/get_channel_health200_response.rb +1 -1
- data/lib/repull/models/get_channel_health200_response_vrbo.rb +1 -1
- data/lib/repull/models/get_connect_write_policy200_response.rb +1 -1
- data/lib/repull/models/get_health200_response.rb +1 -1
- data/lib/repull/models/get_hotel200_response.rb +1 -1
- data/lib/repull/models/get_hotel200_response_room_types_inner.rb +1 -1
- data/lib/repull/models/get_listing_calendar_sync200_response.rb +1 -1
- data/lib/repull/models/get_listing_calendar_sync200_response_channels_inner.rb +1 -1
- data/lib/repull/models/get_listing_calendar_sync200_response_channels_inner_problems_inner.rb +1 -1
- data/lib/repull/models/get_listing_calendar_sync200_response_channels_inner_queue.rb +1 -1
- data/lib/repull/models/get_listing_calendar_sync200_response_channels_inner_queue_last_push.rb +1 -1
- data/lib/repull/models/get_listing_markups200_response.rb +1 -1
- data/lib/repull/models/get_listing_markups200_response_airbnb_inner.rb +1 -1
- data/lib/repull/models/get_listing_markups200_response_booking_inner.rb +1 -1
- data/lib/repull/models/get_listing_markups200_response_vrbo_inner.rb +1 -1
- data/lib/repull/models/get_migration200_response.rb +1 -1
- data/lib/repull/models/get_migration_channel_map200_response.rb +1 -1
- data/lib/repull/models/get_migration_report200_response.rb +1 -1
- data/lib/repull/models/get_reservation_summary200_response.rb +1 -1
- data/lib/repull/models/get_reservation_summary200_response_totals_inner.rb +1 -1
- data/lib/repull/models/get_usage_logs200_response.rb +1 -1
- data/lib/repull/models/get_usage_logs200_response_data_inner.rb +1 -1
- data/lib/repull/models/get_usage_logs200_response_pagination.rb +1 -1
- data/lib/repull/models/get_usage_summary200_response.rb +1 -1
- data/lib/repull/models/get_usage_summary200_response_breakdown_inner.rb +1 -1
- data/lib/repull/models/get_usage_summary200_response_credits.rb +1 -1
- data/lib/repull/models/get_usage_summary200_response_limits.rb +1 -1
- data/lib/repull/models/get_usage_summary200_response_remaining.rb +1 -1
- data/lib/repull/models/get_usage_summary200_response_status_distribution.rb +1 -1
- data/lib/repull/models/get_usage_summary200_response_timeline_inner.rb +1 -1
- data/lib/repull/models/get_usage_summary200_response_totals.rb +1 -1
- data/lib/repull/models/get_usage_summary200_response_used.rb +1 -1
- data/lib/repull/models/get_usage_tier200_response.rb +1 -1
- data/lib/repull/models/get_usage_tier200_response_limits.rb +1 -1
- data/lib/repull/models/get_usage_tier200_response_remaining.rb +1 -1
- data/lib/repull/models/get_usage_tier200_response_used.rb +1 -1
- data/lib/repull/models/get_vrbo_publish_job200_response.rb +1 -1
- data/lib/repull/models/get_vrbo_publish_job200_response_job.rb +1 -1
- data/lib/repull/models/get_vrbo_publish_job200_response_job_rejected_photos_inner.rb +1 -1
- data/lib/repull/models/guest.rb +1 -1
- data/lib/repull/models/guest_contact.rb +1 -1
- data/lib/repull/models/guest_create_request.rb +1 -1
- data/lib/repull/models/guest_create_response.rb +1 -1
- data/lib/repull/models/guest_create_response_pms.rb +1 -1
- data/lib/repull/models/guest_flag.rb +1 -1
- data/lib/repull/models/guest_list_response.rb +1 -1
- data/lib/repull/models/guest_note.rb +1 -1
- data/lib/repull/models/guest_profile.rb +1 -1
- data/lib/repull/models/guest_reservations_summary.rb +1 -1
- data/lib/repull/models/guest_update_request.rb +1 -1
- data/lib/repull/models/guest_update_response.rb +1 -1
- data/lib/repull/models/guest_update_response_contacts_inner.rb +1 -1
- data/lib/repull/models/guest_update_response_pms_inner.rb +1 -1
- data/lib/repull/models/import_from_channex200_response.rb +1 -1
- data/lib/repull/models/import_from_channex200_response_data.rb +1 -1
- data/lib/repull/models/import_from_channex200_response_data_channels_inner.rb +1 -1
- data/lib/repull/models/import_from_channex200_response_data_properties_inner.rb +1 -1
- data/lib/repull/models/import_from_channex200_response_data_summary.rb +1 -1
- data/lib/repull/models/import_from_channex200_response_data_summary_bookings.rb +1 -1
- data/lib/repull/models/import_from_channex200_response_data_summary_properties.rb +1 -1
- data/lib/repull/models/import_from_channex_request.rb +1 -1
- data/lib/repull/models/inquiry_created_event.rb +1 -1
- data/lib/repull/models/inquiry_created_payload.rb +1 -1
- data/lib/repull/models/inquiry_updated_event.rb +1 -1
- data/lib/repull/models/inquiry_updated_payload.rb +1 -1
- data/lib/repull/models/inquiry_webhook_object.rb +1 -1
- data/lib/repull/models/inquiry_webhook_object_expected_payout.rb +1 -1
- data/lib/repull/models/inquiry_webhook_object_guest.rb +1 -1
- data/lib/repull/models/inquiry_webhook_object_guests.rb +1 -1
- data/lib/repull/models/invite_booking_extranet_user200_response.rb +1 -1
- data/lib/repull/models/invite_booking_extranet_user_request.rb +1 -1
- data/lib/repull/models/list_airbnb_alterations200_response.rb +1 -1
- data/lib/repull/models/list_airbnb_listing_amenities200_response.rb +1 -1
- data/lib/repull/models/list_airbnb_listing_amenities200_response_data.rb +1 -1
- data/lib/repull/models/list_airbnb_listing_permits200_response.rb +1 -1
- data/lib/repull/models/list_airbnb_listing_safety_disclosures200_response.rb +1 -1
- data/lib/repull/models/list_airbnb_resolutions200_response.rb +1 -1
- data/lib/repull/models/list_airbnb_thread_messages200_response.rb +1 -1
- data/lib/repull/models/list_airbnb_thread_messages200_response_data_inner.rb +1 -1
- data/lib/repull/models/list_airbnb_thread_messages200_response_pagination.rb +1 -1
- data/lib/repull/models/list_airbnb_transactions200_response.rb +1 -1
- data/lib/repull/models/list_booking_reservations200_response.rb +1 -1
- data/lib/repull/models/list_booking_transactions200_response.rb +1 -1
- data/lib/repull/models/list_connection_imports200_response.rb +1 -1
- data/lib/repull/models/list_connection_units200_response.rb +1 -1
- data/lib/repull/models/list_connection_units200_response_listing_options_inner.rb +1 -1
- data/lib/repull/models/list_connection_units200_response_units_inner.rb +1 -1
- data/lib/repull/models/list_hotels200_response.rb +1 -1
- data/lib/repull/models/list_hotels200_response_data_inner.rb +1 -1
- data/lib/repull/models/list_inquiries200_response.rb +1 -1
- data/lib/repull/models/list_inquiries200_response_data_inner.rb +1 -1
- data/lib/repull/models/list_inquiries200_response_data_inner_expected_payout.rb +1 -1
- data/lib/repull/models/list_inquiries200_response_data_inner_guest.rb +1 -1
- data/lib/repull/models/list_inquiries200_response_data_inner_guests.rb +1 -1
- data/lib/repull/models/list_kv200_response.rb +1 -1
- data/lib/repull/models/list_kv200_response_data_inner.rb +1 -1
- data/lib/repull/models/list_kv200_response_pagination.rb +1 -1
- data/lib/repull/models/list_listing_units200_response.rb +1 -1
- data/lib/repull/models/list_listing_units200_response_data_inner.rb +1 -1
- data/lib/repull/models/list_migrations200_response.rb +1 -1
- data/lib/repull/models/list_workspaces200_response.rb +1 -1
- data/lib/repull/models/listing.rb +1 -1
- data/lib/repull/models/listing_active_request.rb +1 -1
- data/lib/repull/models/listing_active_response.rb +1 -1
- data/lib/repull/models/listing_address.rb +1 -1
- data/lib/repull/models/listing_address_readiness.rb +1 -1
- data/lib/repull/models/listing_amenity.rb +1 -1
- data/lib/repull/models/listing_capabilities.rb +1 -1
- data/lib/repull/models/listing_channel.rb +1 -1
- data/lib/repull/models/listing_comp.rb +1 -1
- data/lib/repull/models/listing_comp_nightly.rb +1 -1
- data/lib/repull/models/listing_comp_ratings.rb +1 -1
- data/lib/repull/models/listing_comps_response.rb +1 -1
- data/lib/repull/models/listing_content.rb +1 -1
- data/lib/repull/models/listing_content_photo.rb +1 -1
- data/lib/repull/models/listing_content_update_request.rb +1 -1
- data/lib/repull/models/listing_content_update_request_address.rb +1 -1
- data/lib/repull/models/listing_content_update_request_amenities.rb +1 -1
- data/lib/repull/models/listing_content_update_request_amenities_one_of_inner.rb +1 -1
- data/lib/repull/models/listing_content_update_request_checkout_tasks_inner.rb +1 -1
- data/lib/repull/models/listing_content_update_request_details.rb +1 -1
- data/lib/repull/models/listing_content_update_request_occupancy.rb +1 -1
- data/lib/repull/models/listing_content_update_request_photos_inner.rb +1 -1
- data/lib/repull/models/listing_content_update_request_photos_inner_one_of.rb +1 -1
- data/lib/repull/models/listing_content_update_request_policies.rb +1 -1
- data/lib/repull/models/listing_content_update_request_pricing.rb +1 -1
- data/lib/repull/models/listing_content_update_request_rooms_inner.rb +1 -1
- data/lib/repull/models/listing_content_update_request_rooms_inner_beds_inner.rb +1 -1
- data/lib/repull/models/listing_content_update_response.rb +1 -1
- data/lib/repull/models/listing_content_update_response_pms.rb +1 -1
- data/lib/repull/models/listing_content_update_response_pms_errors_inner.rb +1 -1
- data/lib/repull/models/listing_create_request.rb +1 -1
- data/lib/repull/models/listing_create_response.rb +1 -1
- data/lib/repull/models/listing_created_event.rb +1 -1
- data/lib/repull/models/listing_created_payload.rb +1 -1
- data/lib/repull/models/listing_created_payload_address.rb +1 -1
- data/lib/repull/models/listing_deleted_event.rb +1 -1
- data/lib/repull/models/listing_deleted_payload.rb +1 -1
- data/lib/repull/models/listing_details.rb +1 -1
- data/lib/repull/models/listing_fee.rb +1 -1
- data/lib/repull/models/listing_generate_content_request.rb +1 -1
- data/lib/repull/models/listing_generate_content_response.rb +1 -1
- data/lib/repull/models/listing_hotel.rb +1 -1
- data/lib/repull/models/listing_list_response.rb +1 -1
- data/lib/repull/models/listing_market_state_request.rb +1 -1
- data/lib/repull/models/listing_market_state_response.rb +1 -1
- data/lib/repull/models/listing_parent.rb +1 -1
- data/lib/repull/models/listing_photo.rb +1 -1
- data/lib/repull/models/listing_photo_delete_request.rb +1 -1
- data/lib/repull/models/listing_photo_delete_response.rb +1 -1
- data/lib/repull/models/listing_photo_upload_url_request.rb +1 -1
- data/lib/repull/models/listing_photo_upload_url_response.rb +1 -1
- data/lib/repull/models/listing_photos_response.rb +1 -1
- data/lib/repull/models/listing_policies.rb +1 -1
- data/lib/repull/models/listing_policies_check_in.rb +1 -1
- data/lib/repull/models/listing_policies_check_out.rb +1 -1
- data/lib/repull/models/listing_policies_quiet_hours.rb +1 -1
- data/lib/repull/models/listing_pricing_apply_request.rb +1 -1
- data/lib/repull/models/listing_pricing_apply_response.rb +1 -1
- data/lib/repull/models/listing_pricing_history_entry.rb +1 -1
- data/lib/repull/models/listing_pricing_history_response.rb +1 -1
- data/lib/repull/models/listing_pricing_recommendation.rb +1 -1
- data/lib/repull/models/listing_pricing_response.rb +1 -1
- data/lib/repull/models/listing_pricing_response_comp_summary.rb +1 -1
- data/lib/repull/models/listing_pricing_response_date_range.rb +1 -1
- data/lib/repull/models/listing_pricing_response_listing.rb +1 -1
- data/lib/repull/models/listing_pricing_settings.rb +1 -1
- data/lib/repull/models/listing_pricing_strategy.rb +1 -1
- data/lib/repull/models/listing_pricing_strategy_input.rb +1 -1
- data/lib/repull/models/listing_publish_airbnb_request.rb +1 -1
- data/lib/repull/models/listing_publish_airbnb_response.rb +1 -1
- data/lib/repull/models/listing_publish_booking_request.rb +1 -1
- data/lib/repull/models/listing_publish_booking_response.rb +1 -1
- data/lib/repull/models/listing_publish_status_channel.rb +1 -1
- data/lib/repull/models/listing_publish_status_connection.rb +1 -1
- data/lib/repull/models/listing_publish_status_response.rb +1 -1
- data/lib/repull/models/listing_pull_airbnb_request.rb +1 -1
- data/lib/repull/models/listing_pull_response.rb +1 -1
- data/lib/repull/models/listing_quality_tier.rb +1 -1
- data/lib/repull/models/listing_reactivated_event.rb +1 -1
- data/lib/repull/models/listing_room.rb +1 -1
- data/lib/repull/models/listing_room_beds_inner.rb +1 -1
- data/lib/repull/models/listing_rules.rb +1 -1
- data/lib/repull/models/listing_segment.rb +1 -1
- data/lib/repull/models/listing_segment_recommendation.rb +1 -1
- data/lib/repull/models/listing_segments_response.rb +1 -1
- data/lib/repull/models/listing_segments_response_scope.rb +1 -1
- data/lib/repull/models/listing_status_batch_request.rb +1 -1
- data/lib/repull/models/listing_status_batch_response.rb +1 -1
- data/lib/repull/models/listing_suspended_event.rb +1 -1
- data/lib/repull/models/listing_suspension_payload.rb +1 -1
- data/lib/repull/models/listing_tax.rb +1 -1
- data/lib/repull/models/listing_units_inner.rb +1 -1
- data/lib/repull/models/listing_updated_event.rb +1 -1
- data/lib/repull/models/listing_updated_payload.rb +1 -1
- data/lib/repull/models/listing_webhook_object.rb +1 -1
- data/lib/repull/models/listing_webhook_object_address.rb +1 -1
- data/lib/repull/models/listing_webhook_object_channels_inner.rb +1 -1
- data/lib/repull/models/map_airbnb_listing_request.rb +1 -1
- data/lib/repull/models/map_airbnb_listing_response.rb +1 -1
- data/lib/repull/models/map_booking_room_request.rb +1 -1
- data/lib/repull/models/map_booking_room_response.rb +1 -1
- data/lib/repull/models/map_connect_booking_rooms_request.rb +1 -1
- data/lib/repull/models/map_connect_booking_rooms_response.rb +1 -1
- data/lib/repull/models/market_browse_category.rb +1 -1
- data/lib/repull/models/market_browse_entry.rb +1 -1
- data/lib/repull/models/market_browse_featured.rb +1 -1
- data/lib/repull/models/market_browse_response.rb +1 -1
- data/lib/repull/models/market_calendar_day.rb +1 -1
- data/lib/repull/models/market_calendar_day_events_inner.rb +1 -1
- data/lib/repull/models/market_calendar_response.rb +1 -1
- data/lib/repull/models/market_detail_response.rb +1 -1
- data/lib/repull/models/market_detail_response_price_distribution_inner.rb +1 -1
- data/lib/repull/models/market_detail_response_property_type_mix_inner.rb +1 -1
- data/lib/repull/models/market_detail_response_supply_trend_inner.rb +1 -1
- data/lib/repull/models/market_detail_response_top_comps.rb +1 -1
- data/lib/repull/models/market_event.rb +1 -1
- data/lib/repull/models/market_my_listing.rb +1 -1
- data/lib/repull/models/market_summary.rb +1 -1
- data/lib/repull/models/market_top_comp.rb +1 -1
- data/lib/repull/models/markets_overview_response.rb +1 -1
- data/lib/repull/models/markets_overview_response_browse.rb +1 -1
- data/lib/repull/models/markets_overview_response_subscriptions.rb +1 -1
- data/lib/repull/models/markets_overview_response_totals.rb +1 -1
- data/lib/repull/models/message.rb +1 -1
- data/lib/repull/models/message_actor.rb +1 -1
- data/lib/repull/models/message_list_response.rb +1 -1
- data/lib/repull/models/message_reaction.rb +1 -1
- data/lib/repull/models/migration.rb +1 -1
- data/lib/repull/models/migration_channel_map.rb +1 -1
- data/lib/repull/models/migration_channel_map_listings_inner.rb +1 -1
- data/lib/repull/models/migration_channel_map_listings_inner_airbnb.rb +1 -1
- data/lib/repull/models/migration_channel_map_listings_inner_booking.rb +1 -1
- data/lib/repull/models/migration_channel_map_sources_inner.rb +1 -1
- data/lib/repull/models/migration_completed_event.rb +1 -1
- data/lib/repull/models/migration_connections_inner.rb +1 -1
- data/lib/repull/models/migration_counts.rb +1 -1
- data/lib/repull/models/migration_cutover_check.rb +1 -1
- data/lib/repull/models/migration_cutover_check_mismatched_inner.rb +1 -1
- data/lib/repull/models/migration_failed_event.rb +1 -1
- data/lib/repull/models/migration_import_payload.rb +1 -1
- data/lib/repull/models/migration_import_payload_results_inner.rb +1 -1
- data/lib/repull/models/migration_import_run.rb +1 -1
- data/lib/repull/models/migration_import_run_results_inner.rb +1 -1
- data/lib/repull/models/migration_report.rb +1 -1
- data/lib/repull/models/migration_report_issues_inner.rb +1 -1
- data/lib/repull/models/migration_reservation_ref.rb +1 -1
- data/lib/repull/models/pagination.rb +1 -1
- data/lib/repull/models/payment_completed_event.rb +1 -1
- data/lib/repull/models/payment_completed_payload.rb +1 -1
- data/lib/repull/models/payment_refunded_event.rb +1 -1
- data/lib/repull/models/payment_refunded_payload.rb +1 -1
- data/lib/repull/models/payment_webhook_object.rb +1 -1
- data/lib/repull/models/payout_completed_event.rb +1 -1
- data/lib/repull/models/payout_completed_payload.rb +1 -1
- data/lib/repull/models/plan_notice.rb +1 -1
- data/lib/repull/models/pms_capabilities.rb +1 -1
- data/lib/repull/models/pms_capabilities_calendar.rb +1 -1
- data/lib/repull/models/pms_capabilities_conversations.rb +1 -1
- data/lib/repull/models/pms_capabilities_guests.rb +1 -1
- data/lib/repull/models/pms_capabilities_listings.rb +1 -1
- data/lib/repull/models/pms_capabilities_payments.rb +1 -1
- data/lib/repull/models/pms_capabilities_reservations.rb +1 -1
- data/lib/repull/models/pms_capabilities_reviews.rb +1 -1
- data/lib/repull/models/pms_capabilities_tasks.rb +1 -1
- data/lib/repull/models/pms_write_policy.rb +1 -1
- data/lib/repull/models/pms_write_policy_calendar.rb +1 -1
- data/lib/repull/models/pms_write_policy_reservations.rb +1 -1
- data/lib/repull/models/postal_address.rb +1 -1
- data/lib/repull/models/preapprove_conversation201_response.rb +1 -1
- data/lib/repull/models/preapprove_conversation_request.rb +1 -1
- data/lib/repull/models/preview_conversation_special_offer_request.rb +1 -1
- data/lib/repull/models/preview_conversation_special_offer_request_fees_inner.rb +1 -1
- data/lib/repull/models/preview_conversation_special_offer_request_guests.rb +1 -1
- data/lib/repull/models/promotion.rb +1 -1
- data/lib/repull/models/promotion_applies_to.rb +1 -1
- data/lib/repull/models/promotion_bulk_request.rb +1 -1
- data/lib/repull/models/promotion_bulk_response.rb +1 -1
- data/lib/repull/models/promotion_bulk_response_data_inner.rb +1 -1
- data/lib/repull/models/promotion_bulk_response_data_inner_error.rb +1 -1
- data/lib/repull/models/promotion_bulk_response_summary.rb +1 -1
- data/lib/repull/models/promotion_catalog.rb +1 -1
- data/lib/repull/models/promotion_catalog_channels_inner.rb +1 -1
- data/lib/repull/models/promotion_catalog_entry.rb +1 -1
- data/lib/repull/models/promotion_catalog_field.rb +1 -1
- data/lib/repull/models/promotion_catalog_field_options_inner.rb +1 -1
- data/lib/repull/models/promotion_catalog_response.rb +1 -1
- data/lib/repull/models/promotion_create_request.rb +1 -1
- data/lib/repull/models/promotion_delete_response.rb +1 -1
- data/lib/repull/models/promotion_delete_response_data.rb +1 -1
- data/lib/repull/models/promotion_discount.rb +1 -1
- data/lib/repull/models/promotion_input.rb +1 -1
- data/lib/repull/models/promotion_list_response.rb +1 -1
- data/lib/repull/models/promotion_refresh_response.rb +1 -1
- data/lib/repull/models/promotion_response.rb +1 -1
- data/lib/repull/models/promotion_rules.rb +1 -1
- data/lib/repull/models/promotion_rules_blackout_dates_quota.rb +1 -1
- data/lib/repull/models/promotion_rules_booking_window.rb +1 -1
- data/lib/repull/models/promotion_rules_last_minute.rb +1 -1
- data/lib/repull/models/promotion_rules_stay_window.rb +1 -1
- data/lib/repull/models/promotion_type.rb +1 -1
- data/lib/repull/models/promotion_update_request.rb +1 -1
- data/lib/repull/models/promotion_usage.rb +1 -1
- data/lib/repull/models/promotion_usage_revenue.rb +1 -1
- data/lib/repull/models/property.rb +1 -1
- data/lib/repull/models/property_availability.rb +1 -1
- data/lib/repull/models/property_availability_coverage.rb +1 -1
- data/lib/repull/models/property_availability_day.rb +1 -1
- data/lib/repull/models/property_availability_unit.rb +1 -1
- data/lib/repull/models/property_list_response.rb +1 -1
- data/lib/repull/models/publish_listing_to_vrbo_request.rb +1 -1
- data/lib/repull/models/publish_section_error.rb +1 -1
- data/lib/repull/models/quote.rb +1 -1
- data/lib/repull/models/quote_pricing.rb +1 -1
- data/lib/repull/models/recheck_booking_extranet_login200_response.rb +1 -1
- data/lib/repull/models/recheck_booking_extranet_login_request.rb +1 -1
- data/lib/repull/models/record_account.rb +1 -1
- data/lib/repull/models/refresh_airbnb_resolutions200_response.rb +1 -1
- data/lib/repull/models/refresh_airbnb_resolutions200_response_accounts_inner.rb +1 -1
- data/lib/repull/models/refresh_airbnb_resolutions200_response_accounts_inner_error.rb +1 -1
- data/lib/repull/models/refresh_airbnb_resolutions_request.rb +1 -1
- data/lib/repull/models/reorder_airbnb_listing_photos200_response.rb +1 -1
- data/lib/repull/models/reorder_airbnb_listing_photos200_response_data.rb +1 -1
- data/lib/repull/models/reorder_airbnb_listing_photos_request.rb +1 -1
- data/lib/repull/models/replay_webhook_delivery_request.rb +1 -1
- data/lib/repull/models/reply_booking_review200_response.rb +1 -1
- data/lib/repull/models/reply_booking_review_request.rb +1 -1
- data/lib/repull/models/reply_to_review201_response.rb +1 -1
- data/lib/repull/models/reply_to_review_request.rb +1 -1
- data/lib/repull/models/repull_ping_event.rb +1 -1
- data/lib/repull/models/repull_ping_payload.rb +1 -1
- data/lib/repull/models/reservation.rb +1 -1
- data/lib/repull/models/reservation_access_code.rb +1 -1
- data/lib/repull/models/reservation_access_code_locks_inner.rb +1 -1
- data/lib/repull/models/reservation_alteration_created_event.rb +1 -1
- data/lib/repull/models/reservation_alteration_created_payload.rb +1 -1
- data/lib/repull/models/reservation_alteration_responded_event.rb +1 -1
- data/lib/repull/models/reservation_alteration_responded_payload.rb +1 -1
- data/lib/repull/models/reservation_cancelled_event.rb +1 -1
- data/lib/repull/models/reservation_cancelled_payload.rb +1 -1
- data/lib/repull/models/reservation_capabilities.rb +1 -1
- data/lib/repull/models/reservation_create_request.rb +1 -1
- data/lib/repull/models/reservation_create_response.rb +1 -1
- data/lib/repull/models/reservation_create_response_unit.rb +1 -1
- data/lib/repull/models/reservation_created_event.rb +1 -1
- data/lib/repull/models/reservation_created_payload.rb +1 -1
- data/lib/repull/models/reservation_financials.rb +1 -1
- data/lib/repull/models/reservation_guest_financials.rb +1 -1
- data/lib/repull/models/reservation_guest_input.rb +1 -1
- data/lib/repull/models/reservation_host_financials.rb +1 -1
- data/lib/repull/models/reservation_list_response.rb +1 -1
- data/lib/repull/models/reservation_message_reaction_event.rb +1 -1
- data/lib/repull/models/reservation_message_reaction_payload.rb +1 -1
- data/lib/repull/models/reservation_message_reaction_payload_reaction.rb +1 -1
- data/lib/repull/models/reservation_message_read_event.rb +1 -1
- data/lib/repull/models/reservation_message_read_payload.rb +1 -1
- data/lib/repull/models/reservation_message_received_event.rb +1 -1
- data/lib/repull/models/reservation_message_received_payload.rb +166 -6
- data/lib/repull/models/reservation_message_received_payload_from.rb +3 -2
- data/lib/repull/models/reservation_message_sent_event.rb +1 -1
- data/lib/repull/models/reservation_message_sent_payload.rb +110 -16
- data/lib/repull/models/reservation_message_sent_payload_from.rb +1 -1
- data/lib/repull/models/reservation_message_updated_event.rb +1 -1
- data/lib/repull/models/reservation_message_updated_payload.rb +132 -11
- data/lib/repull/models/reservation_message_updated_payload_from.rb +1 -1
- data/lib/repull/models/reservation_money_line.rb +1 -1
- data/lib/repull/models/reservation_occupancy.rb +1 -1
- data/lib/repull/models/reservation_pms_outcome.rb +1 -1
- data/lib/repull/models/reservation_pms_outcome_quote.rb +1 -1
- data/lib/repull/models/reservation_pms_section_error.rb +1 -1
- data/lib/repull/models/reservation_primary_guest.rb +1 -1
- data/lib/repull/models/reservation_quote_request.rb +1 -1
- data/lib/repull/models/reservation_quote_response.rb +1 -1
- data/lib/repull/models/reservation_quote_response_breakdown.rb +1 -1
- data/lib/repull/models/reservation_request_created_event.rb +1 -1
- data/lib/repull/models/reservation_request_created_payload.rb +1 -1
- data/lib/repull/models/reservation_request_updated_event.rb +1 -1
- data/lib/repull/models/reservation_request_updated_payload.rb +1 -1
- data/lib/repull/models/reservation_thread_assigned_event.rb +1 -1
- data/lib/repull/models/reservation_thread_assigned_payload.rb +1 -1
- data/lib/repull/models/reservation_thread_assigned_payload_object.rb +1 -1
- data/lib/repull/models/reservation_unit.rb +1 -1
- data/lib/repull/models/reservation_update_request.rb +1 -1
- data/lib/repull/models/reservation_update_response.rb +1 -1
- data/lib/repull/models/reservation_updated_event.rb +1 -1
- data/lib/repull/models/reservation_updated_payload.rb +1 -1
- data/lib/repull/models/reservation_webhook_object.rb +1 -1
- data/lib/repull/models/resolution.rb +1 -1
- data/lib/repull/models/respond_airbnb_review_request.rb +1 -1
- data/lib/repull/models/resume_connect400_response.rb +1 -1
- data/lib/repull/models/resume_connect500_response.rb +1 -1
- data/lib/repull/models/review.rb +1 -1
- data/lib/repull/models/review_category.rb +1 -1
- data/lib/repull/models/review_created_event.rb +1 -1
- data/lib/repull/models/review_created_payload.rb +1 -1
- data/lib/repull/models/review_list_response.rb +1 -1
- data/lib/repull/models/review_responded_event.rb +1 -1
- data/lib/repull/models/review_responded_payload.rb +1 -1
- data/lib/repull/models/review_response.rb +1 -1
- data/lib/repull/models/review_webhook_object.rb +1 -1
- data/lib/repull/models/rotate_webhook_secret200_response.rb +1 -1
- data/lib/repull/models/run_migration_import202_response.rb +1 -1
- data/lib/repull/models/run_migration_import202_response_data.rb +1 -1
- data/lib/repull/models/run_migration_import202_response_data_queued_inner.rb +1 -1
- data/lib/repull/models/run_migration_import_request.rb +1 -1
- data/lib/repull/models/search_connect_session_listing_options200_response.rb +1 -1
- data/lib/repull/models/search_connect_session_listing_options200_response_data_inner.rb +1 -1
- data/lib/repull/models/search_connection_listing_options200_response.rb +1 -1
- data/lib/repull/models/select_connect_provider_request.rb +1 -1
- data/lib/repull/models/select_provider_response.rb +1 -1
- data/lib/repull/models/send_airbnb_message201_response.rb +1 -1
- data/lib/repull/models/send_airbnb_message_request.rb +1 -1
- data/lib/repull/models/send_booking_message_request.rb +1 -1
- data/lib/repull/models/send_message_attachment.rb +1 -1
- data/lib/repull/models/send_message_part.rb +1 -1
- data/lib/repull/models/send_message_request.rb +1 -1
- data/lib/repull/models/send_message_response.rb +1 -1
- data/lib/repull/models/sent_attachment.rb +1 -1
- data/lib/repull/models/set_airbnb_listing_cover_photo200_response.rb +1 -1
- data/lib/repull/models/set_airbnb_listing_cover_photo200_response_data.rb +1 -1
- data/lib/repull/models/set_airbnb_listing_cover_photo_request.rb +1 -1
- data/lib/repull/models/set_kv_request.rb +1 -1
- data/lib/repull/models/set_listing_markup_request.rb +1 -1
- data/lib/repull/models/start_booking_extranet_login200_response.rb +1 -1
- data/lib/repull/models/start_booking_extranet_login_request.rb +1 -1
- data/lib/repull/models/submit_beds24_credentials200_response.rb +1 -1
- data/lib/repull/models/submit_beds24_credentials_request.rb +1 -1
- data/lib/repull/models/submit_bookingsync_credentials_request.rb +1 -1
- data/lib/repull/models/submit_ciirus_credentials200_response.rb +1 -1
- data/lib/repull/models/submit_ciirus_credentials200_response_account_info.rb +1 -1
- data/lib/repull/models/submit_ciirus_credentials_request.rb +1 -1
- data/lib/repull/models/submit_ciirus_credentials_request_credentials.rb +1 -1
- data/lib/repull/models/submit_cloudbeds_credentials200_response.rb +1 -1
- data/lib/repull/models/submit_cloudbeds_credentials200_response_account_info.rb +1 -1
- data/lib/repull/models/submit_cloudbeds_credentials200_response_webhooks.rb +1 -1
- data/lib/repull/models/submit_cloudbeds_credentials_request.rb +1 -1
- data/lib/repull/models/submit_cloudbeds_credentials_request_credentials.rb +1 -1
- data/lib/repull/models/submit_guest_review200_response.rb +1 -1
- data/lib/repull/models/submit_guesty_credentials_request.rb +1 -1
- data/lib/repull/models/submit_hospitable_credentials_request.rb +1 -1
- data/lib/repull/models/submit_hostaway_credentials_request.rb +1 -1
- data/lib/repull/models/submit_igms_credentials_request.rb +1 -1
- data/lib/repull/models/submit_lodgify_credentials_request.rb +1 -1
- data/lib/repull/models/submit_mews_credentials200_response.rb +1 -1
- data/lib/repull/models/submit_mews_credentials200_response_account_info.rb +1 -1
- data/lib/repull/models/submit_mews_credentials_request.rb +1 -1
- data/lib/repull/models/submit_mews_credentials_request_credentials.rb +1 -1
- data/lib/repull/models/submit_ownerrez_credentials_request.rb +1 -1
- data/lib/repull/models/submit_smoobu_credentials_request.rb +1 -1
- data/lib/repull/models/submit_smoobu_credentials_request_credentials.rb +1 -1
- data/lib/repull/models/submit_track_credentials200_response.rb +1 -1
- data/lib/repull/models/submit_track_credentials200_response_account_info.rb +1 -1
- data/lib/repull/models/submit_track_credentials200_response_first_sync.rb +1 -1
- data/lib/repull/models/submit_track_credentials_request.rb +1 -1
- data/lib/repull/models/submit_track_credentials_request_credentials.rb +1 -1
- data/lib/repull/models/submit_vrbo_credentials_request.rb +1 -1
- data/lib/repull/models/sync_airbnb_transactions200_response.rb +1 -1
- data/lib/repull/models/sync_airbnb_transactions200_response_accounts_inner.rb +1 -1
- data/lib/repull/models/sync_airbnb_transactions200_response_accounts_inner_error.rb +1 -1
- data/lib/repull/models/sync_airbnb_transactions_request.rb +1 -1
- data/lib/repull/models/test_webhook_request.rb +1 -1
- data/lib/repull/models/transaction.rb +1 -1
- data/lib/repull/models/transaction_fees.rb +1 -1
- data/lib/repull/models/transaction_payout.rb +1 -1
- data/lib/repull/models/update_airbnb_booking_settings200_response.rb +1 -1
- data/lib/repull/models/update_airbnb_booking_settings200_response_data.rb +1 -1
- data/lib/repull/models/update_airbnb_booking_settings_request.rb +1 -1
- data/lib/repull/models/update_airbnb_booking_settings_request_advance_notice.rb +1 -1
- data/lib/repull/models/update_airbnb_booking_settings_request_booking_window.rb +1 -1
- data/lib/repull/models/update_airbnb_booking_settings_request_cancellation.rb +1 -1
- data/lib/repull/models/update_airbnb_booking_settings_request_cancellation_non_refundable.rb +1 -1
- data/lib/repull/models/update_airbnb_booking_settings_request_check_in.rb +1 -1
- data/lib/repull/models/update_airbnb_booking_settings_request_check_out.rb +1 -1
- data/lib/repull/models/update_airbnb_booking_settings_request_instant_book.rb +1 -1
- data/lib/repull/models/update_airbnb_booking_settings_request_preparation_time.rb +1 -1
- data/lib/repull/models/update_airbnb_checkin_guide200_response.rb +1 -1
- data/lib/repull/models/update_airbnb_checkin_guide200_response_data.rb +1 -1
- data/lib/repull/models/update_airbnb_checkin_guide200_response_data_steps_inner.rb +1 -1
- data/lib/repull/models/update_airbnb_checkin_guide_request.rb +1 -1
- data/lib/repull/models/update_airbnb_checkin_guide_request_steps_inner.rb +1 -1
- data/lib/repull/models/update_airbnb_listing_amenities200_response.rb +1 -1
- data/lib/repull/models/update_airbnb_listing_amenities200_response_data.rb +1 -1
- data/lib/repull/models/update_airbnb_listing_amenities_request.rb +1 -1
- data/lib/repull/models/update_airbnb_listing_amenities_request_accessibility_amenities_inner.rb +1 -1
- data/lib/repull/models/update_airbnb_listing_amenities_request_amenities_inner.rb +1 -1
- data/lib/repull/models/update_airbnb_listing_permits200_response.rb +1 -1
- data/lib/repull/models/update_airbnb_listing_photo200_response.rb +1 -1
- data/lib/repull/models/update_airbnb_listing_photo_request.rb +1 -1
- data/lib/repull/models/update_airbnb_listing_room200_response.rb +1 -1
- data/lib/repull/models/update_airbnb_listing_room_request.rb +1 -1
- data/lib/repull/models/update_airbnb_listing_room_request_beds_inner.rb +1 -1
- data/lib/repull/models/update_airbnb_listing_room_request_room_amenities_inner.rb +1 -1
- data/lib/repull/models/update_airbnb_listing_room_request_room_amenities_inner_value.rb +1 -1
- data/lib/repull/models/update_airbnb_listing_safety_disclosures200_response.rb +1 -1
- data/lib/repull/models/update_airbnb_message_request.rb +1 -1
- data/lib/repull/models/update_booking_availability200_response.rb +1 -1
- data/lib/repull/models/update_booking_charges_request.rb +1 -1
- data/lib/repull/models/update_booking_content_request.rb +1 -1
- data/lib/repull/models/update_booking_content_request_content_data_inner.rb +1 -1
- data/lib/repull/models/update_booking_content_request_photos_inner.rb +1 -1
- data/lib/repull/models/update_connect_write_policy_request.rb +1 -1
- data/lib/repull/models/update_connect_write_policy_request_calendar.rb +1 -1
- data/lib/repull/models/update_connect_write_policy_request_reservations.rb +1 -1
- data/lib/repull/models/update_listing_pricing_strategy200_response.rb +1 -1
- data/lib/repull/models/update_webhook_request.rb +1 -1
- data/lib/repull/models/upload_airbnb_listing_photos_request.rb +1 -1
- data/lib/repull/models/upload_airbnb_listing_photos_request_photos_inner.rb +1 -1
- data/lib/repull/models/upload_airbnb_listing_photos_request_photos_inner_listing_id.rb +1 -1
- data/lib/repull/models/usage_quota_warning_event.rb +1 -1
- data/lib/repull/models/usage_quota_warning_payload.rb +1 -1
- data/lib/repull/models/usage_quota_warning_payload_top_operation.rb +1 -1
- data/lib/repull/models/vrbo_import_status.rb +1 -1
- data/lib/repull/models/vrbo_listing.rb +1 -1
- data/lib/repull/models/vrbo_login200_response.rb +1 -1
- data/lib/repull/models/vrbo_login_request.rb +1 -1
- data/lib/repull/models/vrbo_reservation.rb +1 -1
- data/lib/repull/models/vrbo_reservation_list_response.rb +1 -1
- data/lib/repull/models/webhook_delivery.rb +1 -1
- data/lib/repull/models/webhook_delivery_detail.rb +1 -1
- data/lib/repull/models/webhook_delivery_list_response.rb +1 -1
- data/lib/repull/models/webhook_event.rb +1 -1
- data/lib/repull/models/webhook_event_account.rb +1 -1
- data/lib/repull/models/webhook_event_catalog.rb +1 -1
- data/lib/repull/models/webhook_event_catalog_domains_inner.rb +1 -1
- data/lib/repull/models/webhook_event_catalog_entry.rb +1 -1
- data/lib/repull/models/webhook_event_type.rb +1 -1
- data/lib/repull/models/webhook_list_response.rb +1 -1
- data/lib/repull/models/webhook_subscription.rb +1 -1
- data/lib/repull/models/withdraw_conversation_preapproval200_response.rb +1 -1
- data/lib/repull/models/withdraw_conversation_special_offer200_response.rb +1 -1
- data/lib/repull/models/workspace.rb +1 -1
- data/lib/repull/version.rb +2 -2
- data/lib/repull.rb +1 -1
- data/openapi/v1.json +198 -14
- data/repull.gemspec +2 -2
- data/scripts/regen.sh +1 -1
- metadata +5 -5
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Repull API
|
|
3
3
|
|
|
4
|
-
#The unified API for vacation rental tech. Connect
|
|
4
|
+
#The unified API for vacation rental tech. Connect Airbnb, Booking.com, Vrbo and more channels, plus 15 PMS platforms, through one REST API. ## Designed for AI agents Every error response on this API includes machine-parseable fields so an LLM (Claude in MCP, Cursor, Cline, GPT, etc.) can self-recover without escalating to a human: - `error.code` — stable string identifier (e.g. `invalid_params`, `rate_limit_exceeded`) - `error.message` — human-readable cause - `error.fix` — exact recovery steps (e.g. \"Pass `check_in_after` as ISO 8601: `?check_in_after=2026-01-15`\") - `error.docs_url` — link to the canonical write-up at `https://repull.dev/docs/errors/{code}` - `error.request_id` — id to correlate with server-side logs - `error.field` / `error.value_received` / `error.valid_values` / `error.did_you_mean` — when the error is parameter-specific - `error.retry_after` — seconds to wait before retrying (rate-limit + transient upstream) `Access-Control-Expose-Headers` lists `x-request-id` and the `X-RateLimit-*` family so browsers can read them on cross-origin responses. ## Quick Start 1. Get an API key at https://repull.dev/dashboard 2. Connect a PMS: `POST /v1/connect/{provider}` 3. List properties: `GET /v1/properties` 4. Get reservations: `GET /v1/reservations` ## Authentication All requests require a Bearer token: ``` Authorization: Bearer sk_live_YOUR_API_KEY ``` ## Request Correlation (X-Request-ID) Every response carries an `X-Request-ID` header, e.g. `X-Request-ID: req_01HXY...`. Include this id in support tickets and bug reports — we can trace the full request lifecycle (auth, rate limit, handler, downstream calls, log row) from a single id. You may set the header on the inbound request to forward your own trace id; we will echo it back instead of generating a new one. Accepted format: `^[\\\\w.-]{1,128}$`. The id is also embedded in error envelopes as `request_id` so server-side log diffs work even when the response headers are stripped by an intermediate proxy. ## Rate Limits The public API enforces a per-API-key sliding-window rate limit on top of the per-tier monthly + daily-AI quotas. **Default policy:** 600 requests per 60 seconds, per API key. Sliding window — there is no fixed-minute boundary you can burst across. Every response includes: | Header | Meaning | |---|---| | `X-RateLimit-Limit` | Requests permitted in the current window. | | `X-RateLimit-Remaining` | Requests left in the current window after this call. | | `X-RateLimit-Reset` | Unix epoch (seconds) when the next slot opens. | | `X-RateLimit-Policy` | Machine-readable policy descriptor, e.g. `600;w=60`. | | `Retry-After` | Seconds to wait before retrying. **Only present on 429 responses.** | **On 429 (rate_limit_exceeded):** the response body matches the standard error envelope with `code: \"rate_limit_exceeded\"`, plus `limit`, `window_seconds`, `retry_after`, and `request_id` fields. SDKs MUST honor `Retry-After` and use exponential backoff with jitter on subsequent retries — never a tight loop. Recommended backoff: ``` sleep_ms = (Retry-After * 1000) + random(0..250) ``` Monthly + daily-AI tier quotas (`free`, `starter`, `custom`) are enforced separately and also surface as 429s; they include `tier`, `scope`, and `resetsAt` fields. ## Plan listing limits Each plan includes a number of **active listings**: | Tier | Active listings | |---|---| | `free` | 3 | | `starter` | no cap: 10 included, then billed per listing | | `custom` | no cap | Going over the plan never blocks your API calls. Listings beyond the plan are **held back**: they stay connected and keep syncing, but they are not served. A held-back listing answers `403 listing_inactive` with `reason: \"plan_limit\"`, and collection routes leave it out. Every JSON response then carries a `planNotice` and the `X-Repull-Listings-Held-Back` header, so you know there is more to see. Choose which listings are active with `POST /v1/listings/status`, or upgrade at `https://repull.dev/dashboard/billing` to activate them all. Only a call that would itself take you over the plan is refused, with **`402 listings_limit_exceeded`**: activating listings (`PATCH /v1/listings/{id}` with `{ \"active\": true }`, `POST /v1/listings/status`) or creating one (`POST /v1/listings`). Nothing else changes. The envelope carries the tier, the limit, the active count and an upgrade link next to the standard `code` / `message` / `fix` / `docs_url` / `request_id`. If an account has more active listings than its plan (for example after a downgrade), calls are still served and `planNotice` says so (code \"listings_over_plan\").
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Repull API
|
|
3
3
|
|
|
4
|
-
#The unified API for vacation rental tech. Connect
|
|
4
|
+
#The unified API for vacation rental tech. Connect Airbnb, Booking.com, Vrbo and more channels, plus 15 PMS platforms, through one REST API. ## Designed for AI agents Every error response on this API includes machine-parseable fields so an LLM (Claude in MCP, Cursor, Cline, GPT, etc.) can self-recover without escalating to a human: - `error.code` — stable string identifier (e.g. `invalid_params`, `rate_limit_exceeded`) - `error.message` — human-readable cause - `error.fix` — exact recovery steps (e.g. \"Pass `check_in_after` as ISO 8601: `?check_in_after=2026-01-15`\") - `error.docs_url` — link to the canonical write-up at `https://repull.dev/docs/errors/{code}` - `error.request_id` — id to correlate with server-side logs - `error.field` / `error.value_received` / `error.valid_values` / `error.did_you_mean` — when the error is parameter-specific - `error.retry_after` — seconds to wait before retrying (rate-limit + transient upstream) `Access-Control-Expose-Headers` lists `x-request-id` and the `X-RateLimit-*` family so browsers can read them on cross-origin responses. ## Quick Start 1. Get an API key at https://repull.dev/dashboard 2. Connect a PMS: `POST /v1/connect/{provider}` 3. List properties: `GET /v1/properties` 4. Get reservations: `GET /v1/reservations` ## Authentication All requests require a Bearer token: ``` Authorization: Bearer sk_live_YOUR_API_KEY ``` ## Request Correlation (X-Request-ID) Every response carries an `X-Request-ID` header, e.g. `X-Request-ID: req_01HXY...`. Include this id in support tickets and bug reports — we can trace the full request lifecycle (auth, rate limit, handler, downstream calls, log row) from a single id. You may set the header on the inbound request to forward your own trace id; we will echo it back instead of generating a new one. Accepted format: `^[\\\\w.-]{1,128}$`. The id is also embedded in error envelopes as `request_id` so server-side log diffs work even when the response headers are stripped by an intermediate proxy. ## Rate Limits The public API enforces a per-API-key sliding-window rate limit on top of the per-tier monthly + daily-AI quotas. **Default policy:** 600 requests per 60 seconds, per API key. Sliding window — there is no fixed-minute boundary you can burst across. Every response includes: | Header | Meaning | |---|---| | `X-RateLimit-Limit` | Requests permitted in the current window. | | `X-RateLimit-Remaining` | Requests left in the current window after this call. | | `X-RateLimit-Reset` | Unix epoch (seconds) when the next slot opens. | | `X-RateLimit-Policy` | Machine-readable policy descriptor, e.g. `600;w=60`. | | `Retry-After` | Seconds to wait before retrying. **Only present on 429 responses.** | **On 429 (rate_limit_exceeded):** the response body matches the standard error envelope with `code: \"rate_limit_exceeded\"`, plus `limit`, `window_seconds`, `retry_after`, and `request_id` fields. SDKs MUST honor `Retry-After` and use exponential backoff with jitter on subsequent retries — never a tight loop. Recommended backoff: ``` sleep_ms = (Retry-After * 1000) + random(0..250) ``` Monthly + daily-AI tier quotas (`free`, `starter`, `custom`) are enforced separately and also surface as 429s; they include `tier`, `scope`, and `resetsAt` fields. ## Plan listing limits Each plan includes a number of **active listings**: | Tier | Active listings | |---|---| | `free` | 3 | | `starter` | no cap: 10 included, then billed per listing | | `custom` | no cap | Going over the plan never blocks your API calls. Listings beyond the plan are **held back**: they stay connected and keep syncing, but they are not served. A held-back listing answers `403 listing_inactive` with `reason: \"plan_limit\"`, and collection routes leave it out. Every JSON response then carries a `planNotice` and the `X-Repull-Listings-Held-Back` header, so you know there is more to see. Choose which listings are active with `POST /v1/listings/status`, or upgrade at `https://repull.dev/dashboard/billing` to activate them all. Only a call that would itself take you over the plan is refused, with **`402 listings_limit_exceeded`**: activating listings (`PATCH /v1/listings/{id}` with `{ \"active\": true }`, `POST /v1/listings/status`) or creating one (`POST /v1/listings`). Nothing else changes. The envelope carries the tier, the limit, the active count and an upgrade link next to the standard `code` / `message` / `fix` / `docs_url` / `request_id`. If an account has more active listings than its plan (for example after a downgrade), calls are still served and `planNotice` says so (code \"listings_over_plan\").
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
|
|
@@ -14,35 +14,94 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module Repull
|
|
17
|
-
# Payload for `reservation.message.received`. A new inbound message arrived on a reservation thread.
|
|
17
|
+
# Payload for `reservation.message.received`. A new inbound message arrived on a reservation thread: from the guest, a co-traveler, the booker, or Airbnb Support (`from.type: \"airbnb\"`). The whole message, the same as `GET /v1/conversations/{threadId}/messages` returns it, plus where it belongs. Dedupe on `externalMessageId` (or `messageId`).
|
|
18
18
|
class ReservationMessageReceivedPayload < ApiModelBase
|
|
19
19
|
# Booking.com only: the hotel (property) id of the conversation's listing. Absent on other channels. A Booking.com Extranet login can cover several hotels, so use this to route the message.
|
|
20
20
|
attr_accessor :hotel_id
|
|
21
21
|
|
|
22
|
+
# The reservation the conversation belongs to. `null` for an inquiry, or a message that arrived before its booking was imported (`reservation.thread.assigned` fires when it is attached).
|
|
22
23
|
attr_accessor :reservation_id
|
|
23
24
|
|
|
25
|
+
# The Repull conversation id: the numeric id, as a string. Pass it as `{id}` to `GET /v1/conversations/{id}` and `GET /v1/conversations/{id}/messages`.
|
|
24
26
|
attr_accessor :thread_id
|
|
25
27
|
|
|
28
|
+
# The channel's own thread id (Airbnb thread id, Booking.com conversation id). Same as `externalThreadId` on `GET /v1/conversations/{id}`.
|
|
29
|
+
attr_accessor :external_thread_id
|
|
30
|
+
|
|
31
|
+
# The Repull listing the conversation is about.
|
|
32
|
+
attr_accessor :listing_id
|
|
33
|
+
|
|
34
|
+
# The channel the message came through: `airbnb`, `booking`, `vrbo`, …
|
|
35
|
+
attr_accessor :channel
|
|
36
|
+
|
|
37
|
+
# Repull message id, as `GET /v1/conversations/{id}/messages` returns it (`id`).
|
|
38
|
+
attr_accessor :message_id
|
|
39
|
+
|
|
40
|
+
# The channel's own message id. Stable across retries and backfill: dedupe on it.
|
|
41
|
+
attr_accessor :external_message_id
|
|
42
|
+
|
|
43
|
+
# The reservation's confirmation code on the channel. `null` when there is no reservation.
|
|
44
|
+
attr_accessor :confirmation_code
|
|
45
|
+
|
|
26
46
|
attr_accessor :from
|
|
27
47
|
|
|
28
48
|
# Empty when the guest sent only a file.
|
|
29
49
|
attr_accessor :body
|
|
30
50
|
|
|
51
|
+
# When the message was sent on the channel.
|
|
31
52
|
attr_accessor :sent_at
|
|
32
53
|
|
|
54
|
+
# Always `inbound` on this event.
|
|
55
|
+
attr_accessor :direction
|
|
56
|
+
|
|
57
|
+
# Sender role as stored, the same as `senderType` on `GET /v1/conversations/{id}/messages`.
|
|
58
|
+
attr_accessor :sender_type
|
|
59
|
+
|
|
60
|
+
attr_accessor :sender_name
|
|
61
|
+
|
|
62
|
+
attr_accessor :sender_avatar
|
|
63
|
+
|
|
64
|
+
# English translation, when one has been computed.
|
|
65
|
+
attr_accessor :translated_body
|
|
66
|
+
|
|
33
67
|
# Files the guest sent (photos, videos, documents), same shape as `GET /v1/conversations/{id}/messages`. Empty array when there are none.
|
|
34
68
|
attr_accessor :attachments
|
|
35
69
|
|
|
70
|
+
attr_accessor :is_automated
|
|
71
|
+
|
|
72
|
+
attr_accessor :ai_generated
|
|
73
|
+
|
|
74
|
+
# Stored delivery state. Usually `null` on inbound messages (`GET /v1/conversations/{id}/messages` shows them as `received`).
|
|
75
|
+
attr_accessor :status
|
|
76
|
+
|
|
77
|
+
# Orders two deliveries about the same message without parsing the body.
|
|
78
|
+
attr_accessor :revision
|
|
79
|
+
|
|
36
80
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
37
81
|
def self.attribute_map
|
|
38
82
|
{
|
|
39
83
|
:'hotel_id' => :'hotelId',
|
|
40
84
|
:'reservation_id' => :'reservationId',
|
|
41
85
|
:'thread_id' => :'threadId',
|
|
86
|
+
:'external_thread_id' => :'externalThreadId',
|
|
87
|
+
:'listing_id' => :'listingId',
|
|
88
|
+
:'channel' => :'channel',
|
|
89
|
+
:'message_id' => :'messageId',
|
|
90
|
+
:'external_message_id' => :'externalMessageId',
|
|
91
|
+
:'confirmation_code' => :'confirmationCode',
|
|
42
92
|
:'from' => :'from',
|
|
43
93
|
:'body' => :'body',
|
|
44
94
|
:'sent_at' => :'sentAt',
|
|
45
|
-
:'
|
|
95
|
+
:'direction' => :'direction',
|
|
96
|
+
:'sender_type' => :'senderType',
|
|
97
|
+
:'sender_name' => :'senderName',
|
|
98
|
+
:'sender_avatar' => :'senderAvatar',
|
|
99
|
+
:'translated_body' => :'translatedBody',
|
|
100
|
+
:'attachments' => :'attachments',
|
|
101
|
+
:'is_automated' => :'isAutomated',
|
|
102
|
+
:'ai_generated' => :'aiGenerated',
|
|
103
|
+
:'status' => :'status',
|
|
104
|
+
:'revision' => :'revision'
|
|
46
105
|
}
|
|
47
106
|
end
|
|
48
107
|
|
|
@@ -62,10 +121,25 @@ module Repull
|
|
|
62
121
|
:'hotel_id' => :'String',
|
|
63
122
|
:'reservation_id' => :'Integer',
|
|
64
123
|
:'thread_id' => :'String',
|
|
124
|
+
:'external_thread_id' => :'String',
|
|
125
|
+
:'listing_id' => :'Integer',
|
|
126
|
+
:'channel' => :'String',
|
|
127
|
+
:'message_id' => :'String',
|
|
128
|
+
:'external_message_id' => :'String',
|
|
129
|
+
:'confirmation_code' => :'String',
|
|
65
130
|
:'from' => :'ReservationMessageReceivedPayloadFrom',
|
|
66
131
|
:'body' => :'String',
|
|
67
132
|
:'sent_at' => :'Time',
|
|
68
|
-
:'
|
|
133
|
+
:'direction' => :'String',
|
|
134
|
+
:'sender_type' => :'String',
|
|
135
|
+
:'sender_name' => :'String',
|
|
136
|
+
:'sender_avatar' => :'String',
|
|
137
|
+
:'translated_body' => :'String',
|
|
138
|
+
:'attachments' => :'Array<ConversationMessageAttachment>',
|
|
139
|
+
:'is_automated' => :'Boolean',
|
|
140
|
+
:'ai_generated' => :'Boolean',
|
|
141
|
+
:'status' => :'String',
|
|
142
|
+
:'revision' => :'Time'
|
|
69
143
|
}
|
|
70
144
|
end
|
|
71
145
|
|
|
@@ -73,6 +147,17 @@ module Repull
|
|
|
73
147
|
def self.openapi_nullable
|
|
74
148
|
Set.new([
|
|
75
149
|
:'hotel_id',
|
|
150
|
+
:'reservation_id',
|
|
151
|
+
:'external_thread_id',
|
|
152
|
+
:'listing_id',
|
|
153
|
+
:'external_message_id',
|
|
154
|
+
:'confirmation_code',
|
|
155
|
+
:'sender_type',
|
|
156
|
+
:'sender_name',
|
|
157
|
+
:'sender_avatar',
|
|
158
|
+
:'translated_body',
|
|
159
|
+
:'status',
|
|
160
|
+
:'revision'
|
|
76
161
|
])
|
|
77
162
|
end
|
|
78
163
|
|
|
@@ -104,6 +189,30 @@ module Repull
|
|
|
104
189
|
self.thread_id = attributes[:'thread_id']
|
|
105
190
|
end
|
|
106
191
|
|
|
192
|
+
if attributes.key?(:'external_thread_id')
|
|
193
|
+
self.external_thread_id = attributes[:'external_thread_id']
|
|
194
|
+
end
|
|
195
|
+
|
|
196
|
+
if attributes.key?(:'listing_id')
|
|
197
|
+
self.listing_id = attributes[:'listing_id']
|
|
198
|
+
end
|
|
199
|
+
|
|
200
|
+
if attributes.key?(:'channel')
|
|
201
|
+
self.channel = attributes[:'channel']
|
|
202
|
+
end
|
|
203
|
+
|
|
204
|
+
if attributes.key?(:'message_id')
|
|
205
|
+
self.message_id = attributes[:'message_id']
|
|
206
|
+
end
|
|
207
|
+
|
|
208
|
+
if attributes.key?(:'external_message_id')
|
|
209
|
+
self.external_message_id = attributes[:'external_message_id']
|
|
210
|
+
end
|
|
211
|
+
|
|
212
|
+
if attributes.key?(:'confirmation_code')
|
|
213
|
+
self.confirmation_code = attributes[:'confirmation_code']
|
|
214
|
+
end
|
|
215
|
+
|
|
107
216
|
if attributes.key?(:'from')
|
|
108
217
|
self.from = attributes[:'from']
|
|
109
218
|
end
|
|
@@ -116,11 +225,47 @@ module Repull
|
|
|
116
225
|
self.sent_at = attributes[:'sent_at']
|
|
117
226
|
end
|
|
118
227
|
|
|
228
|
+
if attributes.key?(:'direction')
|
|
229
|
+
self.direction = attributes[:'direction']
|
|
230
|
+
end
|
|
231
|
+
|
|
232
|
+
if attributes.key?(:'sender_type')
|
|
233
|
+
self.sender_type = attributes[:'sender_type']
|
|
234
|
+
end
|
|
235
|
+
|
|
236
|
+
if attributes.key?(:'sender_name')
|
|
237
|
+
self.sender_name = attributes[:'sender_name']
|
|
238
|
+
end
|
|
239
|
+
|
|
240
|
+
if attributes.key?(:'sender_avatar')
|
|
241
|
+
self.sender_avatar = attributes[:'sender_avatar']
|
|
242
|
+
end
|
|
243
|
+
|
|
244
|
+
if attributes.key?(:'translated_body')
|
|
245
|
+
self.translated_body = attributes[:'translated_body']
|
|
246
|
+
end
|
|
247
|
+
|
|
119
248
|
if attributes.key?(:'attachments')
|
|
120
249
|
if (value = attributes[:'attachments']).is_a?(Array)
|
|
121
250
|
self.attachments = value
|
|
122
251
|
end
|
|
123
252
|
end
|
|
253
|
+
|
|
254
|
+
if attributes.key?(:'is_automated')
|
|
255
|
+
self.is_automated = attributes[:'is_automated']
|
|
256
|
+
end
|
|
257
|
+
|
|
258
|
+
if attributes.key?(:'ai_generated')
|
|
259
|
+
self.ai_generated = attributes[:'ai_generated']
|
|
260
|
+
end
|
|
261
|
+
|
|
262
|
+
if attributes.key?(:'status')
|
|
263
|
+
self.status = attributes[:'status']
|
|
264
|
+
end
|
|
265
|
+
|
|
266
|
+
if attributes.key?(:'revision')
|
|
267
|
+
self.revision = attributes[:'revision']
|
|
268
|
+
end
|
|
124
269
|
end
|
|
125
270
|
|
|
126
271
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -146,10 +291,25 @@ module Repull
|
|
|
146
291
|
hotel_id == o.hotel_id &&
|
|
147
292
|
reservation_id == o.reservation_id &&
|
|
148
293
|
thread_id == o.thread_id &&
|
|
294
|
+
external_thread_id == o.external_thread_id &&
|
|
295
|
+
listing_id == o.listing_id &&
|
|
296
|
+
channel == o.channel &&
|
|
297
|
+
message_id == o.message_id &&
|
|
298
|
+
external_message_id == o.external_message_id &&
|
|
299
|
+
confirmation_code == o.confirmation_code &&
|
|
149
300
|
from == o.from &&
|
|
150
301
|
body == o.body &&
|
|
151
302
|
sent_at == o.sent_at &&
|
|
152
|
-
|
|
303
|
+
direction == o.direction &&
|
|
304
|
+
sender_type == o.sender_type &&
|
|
305
|
+
sender_name == o.sender_name &&
|
|
306
|
+
sender_avatar == o.sender_avatar &&
|
|
307
|
+
translated_body == o.translated_body &&
|
|
308
|
+
attachments == o.attachments &&
|
|
309
|
+
is_automated == o.is_automated &&
|
|
310
|
+
ai_generated == o.ai_generated &&
|
|
311
|
+
status == o.status &&
|
|
312
|
+
revision == o.revision
|
|
153
313
|
end
|
|
154
314
|
|
|
155
315
|
# @see the `==` method
|
|
@@ -161,7 +321,7 @@ module Repull
|
|
|
161
321
|
# Calculates hash code according to all attributes.
|
|
162
322
|
# @return [Integer] Hash code
|
|
163
323
|
def hash
|
|
164
|
-
[hotel_id, reservation_id, thread_id, from, body, sent_at, attachments].hash
|
|
324
|
+
[hotel_id, reservation_id, thread_id, external_thread_id, listing_id, channel, message_id, external_message_id, confirmation_code, from, body, sent_at, direction, sender_type, sender_name, sender_avatar, translated_body, attachments, is_automated, ai_generated, status, revision].hash
|
|
165
325
|
end
|
|
166
326
|
|
|
167
327
|
# Builds the object from hash
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Repull API
|
|
3
3
|
|
|
4
|
-
#The unified API for vacation rental tech. Connect
|
|
4
|
+
#The unified API for vacation rental tech. Connect Airbnb, Booking.com, Vrbo and more channels, plus 15 PMS platforms, through one REST API. ## Designed for AI agents Every error response on this API includes machine-parseable fields so an LLM (Claude in MCP, Cursor, Cline, GPT, etc.) can self-recover without escalating to a human: - `error.code` — stable string identifier (e.g. `invalid_params`, `rate_limit_exceeded`) - `error.message` — human-readable cause - `error.fix` — exact recovery steps (e.g. \"Pass `check_in_after` as ISO 8601: `?check_in_after=2026-01-15`\") - `error.docs_url` — link to the canonical write-up at `https://repull.dev/docs/errors/{code}` - `error.request_id` — id to correlate with server-side logs - `error.field` / `error.value_received` / `error.valid_values` / `error.did_you_mean` — when the error is parameter-specific - `error.retry_after` — seconds to wait before retrying (rate-limit + transient upstream) `Access-Control-Expose-Headers` lists `x-request-id` and the `X-RateLimit-*` family so browsers can read them on cross-origin responses. ## Quick Start 1. Get an API key at https://repull.dev/dashboard 2. Connect a PMS: `POST /v1/connect/{provider}` 3. List properties: `GET /v1/properties` 4. Get reservations: `GET /v1/reservations` ## Authentication All requests require a Bearer token: ``` Authorization: Bearer sk_live_YOUR_API_KEY ``` ## Request Correlation (X-Request-ID) Every response carries an `X-Request-ID` header, e.g. `X-Request-ID: req_01HXY...`. Include this id in support tickets and bug reports — we can trace the full request lifecycle (auth, rate limit, handler, downstream calls, log row) from a single id. You may set the header on the inbound request to forward your own trace id; we will echo it back instead of generating a new one. Accepted format: `^[\\\\w.-]{1,128}$`. The id is also embedded in error envelopes as `request_id` so server-side log diffs work even when the response headers are stripped by an intermediate proxy. ## Rate Limits The public API enforces a per-API-key sliding-window rate limit on top of the per-tier monthly + daily-AI quotas. **Default policy:** 600 requests per 60 seconds, per API key. Sliding window — there is no fixed-minute boundary you can burst across. Every response includes: | Header | Meaning | |---|---| | `X-RateLimit-Limit` | Requests permitted in the current window. | | `X-RateLimit-Remaining` | Requests left in the current window after this call. | | `X-RateLimit-Reset` | Unix epoch (seconds) when the next slot opens. | | `X-RateLimit-Policy` | Machine-readable policy descriptor, e.g. `600;w=60`. | | `Retry-After` | Seconds to wait before retrying. **Only present on 429 responses.** | **On 429 (rate_limit_exceeded):** the response body matches the standard error envelope with `code: \"rate_limit_exceeded\"`, plus `limit`, `window_seconds`, `retry_after`, and `request_id` fields. SDKs MUST honor `Retry-After` and use exponential backoff with jitter on subsequent retries — never a tight loop. Recommended backoff: ``` sleep_ms = (Retry-After * 1000) + random(0..250) ``` Monthly + daily-AI tier quotas (`free`, `starter`, `custom`) are enforced separately and also surface as 429s; they include `tier`, `scope`, and `resetsAt` fields. ## Plan listing limits Each plan includes a number of **active listings**: | Tier | Active listings | |---|---| | `free` | 3 | | `starter` | no cap: 10 included, then billed per listing | | `custom` | no cap | Going over the plan never blocks your API calls. Listings beyond the plan are **held back**: they stay connected and keep syncing, but they are not served. A held-back listing answers `403 listing_inactive` with `reason: \"plan_limit\"`, and collection routes leave it out. Every JSON response then carries a `planNotice` and the `X-Repull-Listings-Held-Back` header, so you know there is more to see. Choose which listings are active with `POST /v1/listings/status`, or upgrade at `https://repull.dev/dashboard/billing` to activate them all. Only a call that would itself take you over the plan is refused, with **`402 listings_limit_exceeded`**: activating listings (`PATCH /v1/listings/{id}` with `{ \"active\": true }`, `POST /v1/listings/status`) or creating one (`POST /v1/listings`). Nothing else changes. The envelope carries the tier, the limit, the active count and an upgrade link next to the standard `code` / `message` / `fix` / `docs_url` / `request_id`. If an account has more active listings than its plan (for example after a downgrade), calls are still served and `planNotice` says so (code \"listings_over_plan\").
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
|
|
@@ -15,7 +15,7 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module Repull
|
|
17
17
|
class ReservationMessageReceivedPayloadFrom < ApiModelBase
|
|
18
|
-
#
|
|
18
|
+
# Who wrote it: `guest`, `booker`, `cotraveler`, or `airbnb` (Airbnb Support writing on the thread).
|
|
19
19
|
attr_accessor :type
|
|
20
20
|
|
|
21
21
|
attr_accessor :name
|
|
@@ -49,6 +49,7 @@ module Repull
|
|
|
49
49
|
# List of attributes with nullable: true
|
|
50
50
|
def self.openapi_nullable
|
|
51
51
|
Set.new([
|
|
52
|
+
:'name'
|
|
52
53
|
])
|
|
53
54
|
end
|
|
54
55
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Repull API
|
|
3
3
|
|
|
4
|
-
#The unified API for vacation rental tech. Connect
|
|
4
|
+
#The unified API for vacation rental tech. Connect Airbnb, Booking.com, Vrbo and more channels, plus 15 PMS platforms, through one REST API. ## Designed for AI agents Every error response on this API includes machine-parseable fields so an LLM (Claude in MCP, Cursor, Cline, GPT, etc.) can self-recover without escalating to a human: - `error.code` — stable string identifier (e.g. `invalid_params`, `rate_limit_exceeded`) - `error.message` — human-readable cause - `error.fix` — exact recovery steps (e.g. \"Pass `check_in_after` as ISO 8601: `?check_in_after=2026-01-15`\") - `error.docs_url` — link to the canonical write-up at `https://repull.dev/docs/errors/{code}` - `error.request_id` — id to correlate with server-side logs - `error.field` / `error.value_received` / `error.valid_values` / `error.did_you_mean` — when the error is parameter-specific - `error.retry_after` — seconds to wait before retrying (rate-limit + transient upstream) `Access-Control-Expose-Headers` lists `x-request-id` and the `X-RateLimit-*` family so browsers can read them on cross-origin responses. ## Quick Start 1. Get an API key at https://repull.dev/dashboard 2. Connect a PMS: `POST /v1/connect/{provider}` 3. List properties: `GET /v1/properties` 4. Get reservations: `GET /v1/reservations` ## Authentication All requests require a Bearer token: ``` Authorization: Bearer sk_live_YOUR_API_KEY ``` ## Request Correlation (X-Request-ID) Every response carries an `X-Request-ID` header, e.g. `X-Request-ID: req_01HXY...`. Include this id in support tickets and bug reports — we can trace the full request lifecycle (auth, rate limit, handler, downstream calls, log row) from a single id. You may set the header on the inbound request to forward your own trace id; we will echo it back instead of generating a new one. Accepted format: `^[\\\\w.-]{1,128}$`. The id is also embedded in error envelopes as `request_id` so server-side log diffs work even when the response headers are stripped by an intermediate proxy. ## Rate Limits The public API enforces a per-API-key sliding-window rate limit on top of the per-tier monthly + daily-AI quotas. **Default policy:** 600 requests per 60 seconds, per API key. Sliding window — there is no fixed-minute boundary you can burst across. Every response includes: | Header | Meaning | |---|---| | `X-RateLimit-Limit` | Requests permitted in the current window. | | `X-RateLimit-Remaining` | Requests left in the current window after this call. | | `X-RateLimit-Reset` | Unix epoch (seconds) when the next slot opens. | | `X-RateLimit-Policy` | Machine-readable policy descriptor, e.g. `600;w=60`. | | `Retry-After` | Seconds to wait before retrying. **Only present on 429 responses.** | **On 429 (rate_limit_exceeded):** the response body matches the standard error envelope with `code: \"rate_limit_exceeded\"`, plus `limit`, `window_seconds`, `retry_after`, and `request_id` fields. SDKs MUST honor `Retry-After` and use exponential backoff with jitter on subsequent retries — never a tight loop. Recommended backoff: ``` sleep_ms = (Retry-After * 1000) + random(0..250) ``` Monthly + daily-AI tier quotas (`free`, `starter`, `custom`) are enforced separately and also surface as 429s; they include `tier`, `scope`, and `resetsAt` fields. ## Plan listing limits Each plan includes a number of **active listings**: | Tier | Active listings | |---|---| | `free` | 3 | | `starter` | no cap: 10 included, then billed per listing | | `custom` | no cap | Going over the plan never blocks your API calls. Listings beyond the plan are **held back**: they stay connected and keep syncing, but they are not served. A held-back listing answers `403 listing_inactive` with `reason: \"plan_limit\"`, and collection routes leave it out. Every JSON response then carries a `planNotice` and the `X-Repull-Listings-Held-Back` header, so you know there is more to see. Choose which listings are active with `POST /v1/listings/status`, or upgrade at `https://repull.dev/dashboard/billing` to activate them all. Only a call that would itself take you over the plan is refused, with **`402 listings_limit_exceeded`**: activating listings (`PATCH /v1/listings/{id}` with `{ \"active\": true }`, `POST /v1/listings/status`) or creating one (`POST /v1/listings`). Nothing else changes. The envelope carries the tier, the limit, the active count and an upgrade link next to the standard `code` / `message` / `fix` / `docs_url` / `request_id`. If an account has more active listings than its plan (for example after a downgrade), calls are still served and `planNotice` says so (code \"listings_over_plan\").
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Repull API
|
|
3
3
|
|
|
4
|
-
#The unified API for vacation rental tech. Connect
|
|
4
|
+
#The unified API for vacation rental tech. Connect Airbnb, Booking.com, Vrbo and more channels, plus 15 PMS platforms, through one REST API. ## Designed for AI agents Every error response on this API includes machine-parseable fields so an LLM (Claude in MCP, Cursor, Cline, GPT, etc.) can self-recover without escalating to a human: - `error.code` — stable string identifier (e.g. `invalid_params`, `rate_limit_exceeded`) - `error.message` — human-readable cause - `error.fix` — exact recovery steps (e.g. \"Pass `check_in_after` as ISO 8601: `?check_in_after=2026-01-15`\") - `error.docs_url` — link to the canonical write-up at `https://repull.dev/docs/errors/{code}` - `error.request_id` — id to correlate with server-side logs - `error.field` / `error.value_received` / `error.valid_values` / `error.did_you_mean` — when the error is parameter-specific - `error.retry_after` — seconds to wait before retrying (rate-limit + transient upstream) `Access-Control-Expose-Headers` lists `x-request-id` and the `X-RateLimit-*` family so browsers can read them on cross-origin responses. ## Quick Start 1. Get an API key at https://repull.dev/dashboard 2. Connect a PMS: `POST /v1/connect/{provider}` 3. List properties: `GET /v1/properties` 4. Get reservations: `GET /v1/reservations` ## Authentication All requests require a Bearer token: ``` Authorization: Bearer sk_live_YOUR_API_KEY ``` ## Request Correlation (X-Request-ID) Every response carries an `X-Request-ID` header, e.g. `X-Request-ID: req_01HXY...`. Include this id in support tickets and bug reports — we can trace the full request lifecycle (auth, rate limit, handler, downstream calls, log row) from a single id. You may set the header on the inbound request to forward your own trace id; we will echo it back instead of generating a new one. Accepted format: `^[\\\\w.-]{1,128}$`. The id is also embedded in error envelopes as `request_id` so server-side log diffs work even when the response headers are stripped by an intermediate proxy. ## Rate Limits The public API enforces a per-API-key sliding-window rate limit on top of the per-tier monthly + daily-AI quotas. **Default policy:** 600 requests per 60 seconds, per API key. Sliding window — there is no fixed-minute boundary you can burst across. Every response includes: | Header | Meaning | |---|---| | `X-RateLimit-Limit` | Requests permitted in the current window. | | `X-RateLimit-Remaining` | Requests left in the current window after this call. | | `X-RateLimit-Reset` | Unix epoch (seconds) when the next slot opens. | | `X-RateLimit-Policy` | Machine-readable policy descriptor, e.g. `600;w=60`. | | `Retry-After` | Seconds to wait before retrying. **Only present on 429 responses.** | **On 429 (rate_limit_exceeded):** the response body matches the standard error envelope with `code: \"rate_limit_exceeded\"`, plus `limit`, `window_seconds`, `retry_after`, and `request_id` fields. SDKs MUST honor `Retry-After` and use exponential backoff with jitter on subsequent retries — never a tight loop. Recommended backoff: ``` sleep_ms = (Retry-After * 1000) + random(0..250) ``` Monthly + daily-AI tier quotas (`free`, `starter`, `custom`) are enforced separately and also surface as 429s; they include `tier`, `scope`, and `resetsAt` fields. ## Plan listing limits Each plan includes a number of **active listings**: | Tier | Active listings | |---|---| | `free` | 3 | | `starter` | no cap: 10 included, then billed per listing | | `custom` | no cap | Going over the plan never blocks your API calls. Listings beyond the plan are **held back**: they stay connected and keep syncing, but they are not served. A held-back listing answers `403 listing_inactive` with `reason: \"plan_limit\"`, and collection routes leave it out. Every JSON response then carries a `planNotice` and the `X-Repull-Listings-Held-Back` header, so you know there is more to see. Choose which listings are active with `POST /v1/listings/status`, or upgrade at `https://repull.dev/dashboard/billing` to activate them all. Only a call that would itself take you over the plan is refused, with **`402 listings_limit_exceeded`**: activating listings (`PATCH /v1/listings/{id}` with `{ \"active\": true }`, `POST /v1/listings/status`) or creating one (`POST /v1/listings`). Nothing else changes. The envelope carries the tier, the limit, the active count and an upgrade link next to the standard `code` / `message` / `fix` / `docs_url` / `request_id`. If an account has more active listings than its plan (for example after a downgrade), calls are still served and `planNotice` says so (code \"listings_over_plan\").
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
|
|
@@ -21,15 +21,23 @@ module Repull
|
|
|
21
21
|
|
|
22
22
|
attr_accessor :reservation_id
|
|
23
23
|
|
|
24
|
+
# The Repull conversation id (numeric, as a string), for `GET /v1/conversations/{id}`.
|
|
24
25
|
attr_accessor :thread_id
|
|
25
26
|
|
|
27
|
+
# The channel's own thread id.
|
|
28
|
+
attr_accessor :external_thread_id
|
|
29
|
+
|
|
30
|
+
attr_accessor :listing_id
|
|
31
|
+
|
|
32
|
+
attr_accessor :channel
|
|
33
|
+
|
|
26
34
|
# Repull message id, as `GET /v1/conversations/{id}/messages` returns it.
|
|
27
35
|
attr_accessor :message_id
|
|
28
36
|
|
|
29
37
|
# The channel's own message id. Dedupe on it.
|
|
30
38
|
attr_accessor :external_message_id
|
|
31
39
|
|
|
32
|
-
attr_accessor :
|
|
40
|
+
attr_accessor :confirmation_code
|
|
33
41
|
|
|
34
42
|
# `channel`: sent in the channel's own app (e.g. the Airbnb app). `repull`: sent through Repull — the API, the dashboard, an automation or AI.
|
|
35
43
|
attr_accessor :source
|
|
@@ -42,11 +50,25 @@ module Repull
|
|
|
42
50
|
|
|
43
51
|
attr_accessor :direction
|
|
44
52
|
|
|
53
|
+
# Sender role as stored, the same as on `GET /v1/conversations/{id}/messages` (`user` for a message sent through Repull).
|
|
54
|
+
attr_accessor :sender_type
|
|
55
|
+
|
|
56
|
+
attr_accessor :sender_name
|
|
57
|
+
|
|
58
|
+
attr_accessor :sender_avatar
|
|
59
|
+
|
|
60
|
+
attr_accessor :translated_body
|
|
61
|
+
|
|
62
|
+
attr_accessor :attachments
|
|
63
|
+
|
|
45
64
|
attr_accessor :is_automated
|
|
46
65
|
|
|
47
66
|
attr_accessor :ai_generated
|
|
48
67
|
|
|
49
|
-
|
|
68
|
+
# Delivery state: `sending`, `sent` or `failed`, as on `GET /v1/conversations/{id}/messages`. `null` for a message sent in the channel's app.
|
|
69
|
+
attr_accessor :status
|
|
70
|
+
|
|
71
|
+
attr_accessor :revision
|
|
50
72
|
|
|
51
73
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
52
74
|
def self.attribute_map
|
|
@@ -54,17 +76,26 @@ module Repull
|
|
|
54
76
|
:'hotel_id' => :'hotelId',
|
|
55
77
|
:'reservation_id' => :'reservationId',
|
|
56
78
|
:'thread_id' => :'threadId',
|
|
79
|
+
:'external_thread_id' => :'externalThreadId',
|
|
80
|
+
:'listing_id' => :'listingId',
|
|
81
|
+
:'channel' => :'channel',
|
|
57
82
|
:'message_id' => :'messageId',
|
|
58
83
|
:'external_message_id' => :'externalMessageId',
|
|
59
|
-
:'
|
|
84
|
+
:'confirmation_code' => :'confirmationCode',
|
|
60
85
|
:'source' => :'source',
|
|
61
86
|
:'from' => :'from',
|
|
62
87
|
:'body' => :'body',
|
|
63
88
|
:'sent_at' => :'sentAt',
|
|
64
89
|
:'direction' => :'direction',
|
|
90
|
+
:'sender_type' => :'senderType',
|
|
91
|
+
:'sender_name' => :'senderName',
|
|
92
|
+
:'sender_avatar' => :'senderAvatar',
|
|
93
|
+
:'translated_body' => :'translatedBody',
|
|
94
|
+
:'attachments' => :'attachments',
|
|
65
95
|
:'is_automated' => :'isAutomated',
|
|
66
96
|
:'ai_generated' => :'aiGenerated',
|
|
67
|
-
:'
|
|
97
|
+
:'status' => :'status',
|
|
98
|
+
:'revision' => :'revision'
|
|
68
99
|
}
|
|
69
100
|
end
|
|
70
101
|
|
|
@@ -84,17 +115,26 @@ module Repull
|
|
|
84
115
|
:'hotel_id' => :'String',
|
|
85
116
|
:'reservation_id' => :'Integer',
|
|
86
117
|
:'thread_id' => :'String',
|
|
118
|
+
:'external_thread_id' => :'String',
|
|
119
|
+
:'listing_id' => :'Integer',
|
|
120
|
+
:'channel' => :'String',
|
|
87
121
|
:'message_id' => :'String',
|
|
88
122
|
:'external_message_id' => :'String',
|
|
89
|
-
:'
|
|
123
|
+
:'confirmation_code' => :'String',
|
|
90
124
|
:'source' => :'String',
|
|
91
125
|
:'from' => :'ReservationMessageSentPayloadFrom',
|
|
92
126
|
:'body' => :'String',
|
|
93
127
|
:'sent_at' => :'Time',
|
|
94
128
|
:'direction' => :'String',
|
|
129
|
+
:'sender_type' => :'String',
|
|
130
|
+
:'sender_name' => :'String',
|
|
131
|
+
:'sender_avatar' => :'String',
|
|
132
|
+
:'translated_body' => :'String',
|
|
133
|
+
:'attachments' => :'Array<ConversationMessageAttachment>',
|
|
95
134
|
:'is_automated' => :'Boolean',
|
|
96
135
|
:'ai_generated' => :'Boolean',
|
|
97
|
-
:'
|
|
136
|
+
:'status' => :'String',
|
|
137
|
+
:'revision' => :'Time'
|
|
98
138
|
}
|
|
99
139
|
end
|
|
100
140
|
|
|
@@ -103,7 +143,16 @@ module Repull
|
|
|
103
143
|
Set.new([
|
|
104
144
|
:'hotel_id',
|
|
105
145
|
:'reservation_id',
|
|
146
|
+
:'external_thread_id',
|
|
147
|
+
:'listing_id',
|
|
106
148
|
:'external_message_id',
|
|
149
|
+
:'confirmation_code',
|
|
150
|
+
:'sender_type',
|
|
151
|
+
:'sender_name',
|
|
152
|
+
:'sender_avatar',
|
|
153
|
+
:'translated_body',
|
|
154
|
+
:'status',
|
|
155
|
+
:'revision'
|
|
107
156
|
])
|
|
108
157
|
end
|
|
109
158
|
|
|
@@ -135,6 +184,18 @@ module Repull
|
|
|
135
184
|
self.thread_id = attributes[:'thread_id']
|
|
136
185
|
end
|
|
137
186
|
|
|
187
|
+
if attributes.key?(:'external_thread_id')
|
|
188
|
+
self.external_thread_id = attributes[:'external_thread_id']
|
|
189
|
+
end
|
|
190
|
+
|
|
191
|
+
if attributes.key?(:'listing_id')
|
|
192
|
+
self.listing_id = attributes[:'listing_id']
|
|
193
|
+
end
|
|
194
|
+
|
|
195
|
+
if attributes.key?(:'channel')
|
|
196
|
+
self.channel = attributes[:'channel']
|
|
197
|
+
end
|
|
198
|
+
|
|
138
199
|
if attributes.key?(:'message_id')
|
|
139
200
|
self.message_id = attributes[:'message_id']
|
|
140
201
|
end
|
|
@@ -143,8 +204,8 @@ module Repull
|
|
|
143
204
|
self.external_message_id = attributes[:'external_message_id']
|
|
144
205
|
end
|
|
145
206
|
|
|
146
|
-
if attributes.key?(:'
|
|
147
|
-
self.
|
|
207
|
+
if attributes.key?(:'confirmation_code')
|
|
208
|
+
self.confirmation_code = attributes[:'confirmation_code']
|
|
148
209
|
end
|
|
149
210
|
|
|
150
211
|
if attributes.key?(:'source')
|
|
@@ -167,12 +228,20 @@ module Repull
|
|
|
167
228
|
self.direction = attributes[:'direction']
|
|
168
229
|
end
|
|
169
230
|
|
|
170
|
-
if attributes.key?(:'
|
|
171
|
-
self.
|
|
231
|
+
if attributes.key?(:'sender_type')
|
|
232
|
+
self.sender_type = attributes[:'sender_type']
|
|
172
233
|
end
|
|
173
234
|
|
|
174
|
-
if attributes.key?(:'
|
|
175
|
-
self.
|
|
235
|
+
if attributes.key?(:'sender_name')
|
|
236
|
+
self.sender_name = attributes[:'sender_name']
|
|
237
|
+
end
|
|
238
|
+
|
|
239
|
+
if attributes.key?(:'sender_avatar')
|
|
240
|
+
self.sender_avatar = attributes[:'sender_avatar']
|
|
241
|
+
end
|
|
242
|
+
|
|
243
|
+
if attributes.key?(:'translated_body')
|
|
244
|
+
self.translated_body = attributes[:'translated_body']
|
|
176
245
|
end
|
|
177
246
|
|
|
178
247
|
if attributes.key?(:'attachments')
|
|
@@ -180,6 +249,22 @@ module Repull
|
|
|
180
249
|
self.attachments = value
|
|
181
250
|
end
|
|
182
251
|
end
|
|
252
|
+
|
|
253
|
+
if attributes.key?(:'is_automated')
|
|
254
|
+
self.is_automated = attributes[:'is_automated']
|
|
255
|
+
end
|
|
256
|
+
|
|
257
|
+
if attributes.key?(:'ai_generated')
|
|
258
|
+
self.ai_generated = attributes[:'ai_generated']
|
|
259
|
+
end
|
|
260
|
+
|
|
261
|
+
if attributes.key?(:'status')
|
|
262
|
+
self.status = attributes[:'status']
|
|
263
|
+
end
|
|
264
|
+
|
|
265
|
+
if attributes.key?(:'revision')
|
|
266
|
+
self.revision = attributes[:'revision']
|
|
267
|
+
end
|
|
183
268
|
end
|
|
184
269
|
|
|
185
270
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -205,17 +290,26 @@ module Repull
|
|
|
205
290
|
hotel_id == o.hotel_id &&
|
|
206
291
|
reservation_id == o.reservation_id &&
|
|
207
292
|
thread_id == o.thread_id &&
|
|
293
|
+
external_thread_id == o.external_thread_id &&
|
|
294
|
+
listing_id == o.listing_id &&
|
|
295
|
+
channel == o.channel &&
|
|
208
296
|
message_id == o.message_id &&
|
|
209
297
|
external_message_id == o.external_message_id &&
|
|
210
|
-
|
|
298
|
+
confirmation_code == o.confirmation_code &&
|
|
211
299
|
source == o.source &&
|
|
212
300
|
from == o.from &&
|
|
213
301
|
body == o.body &&
|
|
214
302
|
sent_at == o.sent_at &&
|
|
215
303
|
direction == o.direction &&
|
|
304
|
+
sender_type == o.sender_type &&
|
|
305
|
+
sender_name == o.sender_name &&
|
|
306
|
+
sender_avatar == o.sender_avatar &&
|
|
307
|
+
translated_body == o.translated_body &&
|
|
308
|
+
attachments == o.attachments &&
|
|
216
309
|
is_automated == o.is_automated &&
|
|
217
310
|
ai_generated == o.ai_generated &&
|
|
218
|
-
|
|
311
|
+
status == o.status &&
|
|
312
|
+
revision == o.revision
|
|
219
313
|
end
|
|
220
314
|
|
|
221
315
|
# @see the `==` method
|
|
@@ -227,7 +321,7 @@ module Repull
|
|
|
227
321
|
# Calculates hash code according to all attributes.
|
|
228
322
|
# @return [Integer] Hash code
|
|
229
323
|
def hash
|
|
230
|
-
[hotel_id, reservation_id, thread_id, message_id, external_message_id,
|
|
324
|
+
[hotel_id, reservation_id, thread_id, external_thread_id, listing_id, channel, message_id, external_message_id, confirmation_code, source, from, body, sent_at, direction, sender_type, sender_name, sender_avatar, translated_body, attachments, is_automated, ai_generated, status, revision].hash
|
|
231
325
|
end
|
|
232
326
|
|
|
233
327
|
# Builds the object from hash
|