repull 0.2.23 → 0.2.25

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.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/lib/repull/api/airbnb_api.rb +6 -6
  3. data/lib/repull/api/connect_api.rb +617 -0
  4. data/lib/repull/api/connections_api.rb +312 -0
  5. data/lib/repull/api/conversations_api.rb +151 -18
  6. data/lib/repull/api/health_api.rb +5 -5
  7. data/lib/repull/api/listings_api.rb +67 -4
  8. data/lib/repull/api/reviews_api.rb +76 -2
  9. data/lib/repull/models/apply_connection_mappings200_response.rb +167 -0
  10. data/lib/repull/models/apply_connection_mappings200_response_results_inner.rb +184 -0
  11. data/lib/repull/models/apply_connection_mappings_request.rb +175 -0
  12. data/lib/repull/models/apply_connection_mappings_request_mappings_inner.rb +193 -0
  13. data/lib/repull/models/auto_map_connection_units200_response.rb +176 -0
  14. data/lib/repull/models/auto_map_connection_units_request.rb +156 -0
  15. data/lib/repull/models/channel_market_state_item.rb +15 -4
  16. data/lib/repull/models/connect_status.rb +25 -5
  17. data/lib/repull/models/connect_status_accounts_inner.rb +71 -4
  18. data/lib/repull/models/conversation_capabilities.rb +260 -0
  19. data/lib/repull/models/conversation_detail.rb +14 -5
  20. data/lib/repull/models/create_connect_session_request.rb +23 -1
  21. data/lib/repull/models/create_conversation_special_offer201_response.rb +127 -4
  22. data/lib/repull/models/create_conversation_special_offer201_response_fees_inner.rb +166 -0
  23. data/lib/repull/models/create_conversation_special_offer201_response_lines_inner.rb +157 -0
  24. data/lib/repull/models/create_conversation_special_offer_request.rb +91 -52
  25. data/lib/repull/models/create_conversation_special_offer_request_fees_inner.rb +199 -0
  26. data/lib/repull/models/get_booking_extranet_login_config200_response.rb +147 -0
  27. data/lib/repull/models/get_booking_extranet_login_status200_response.rb +192 -0
  28. data/lib/repull/models/get_channel_health200_response.rb +190 -0
  29. data/lib/repull/models/get_channel_health200_response_vrbo.rb +197 -0
  30. data/lib/repull/models/get_connect_write_policy200_response.rb +166 -0
  31. data/lib/repull/models/get_listing_calendar_sync200_response.rb +192 -0
  32. data/lib/repull/models/get_listing_calendar_sync200_response_channels_inner.rb +331 -0
  33. data/lib/repull/models/get_listing_calendar_sync200_response_channels_inner_problems_inner.rb +157 -0
  34. data/lib/repull/models/get_listing_calendar_sync200_response_channels_inner_queue.rb +212 -0
  35. data/lib/repull/models/get_listing_calendar_sync200_response_channels_inner_queue_last_push.rb +268 -0
  36. data/lib/repull/models/invite_booking_extranet_user200_response.rb +174 -0
  37. data/lib/repull/models/invite_booking_extranet_user_request.rb +173 -0
  38. data/lib/repull/models/list_connection_units200_response.rb +242 -0
  39. data/lib/repull/models/list_connection_units200_response_listing_options_inner.rb +165 -0
  40. data/lib/repull/models/list_connection_units200_response_units_inner.rb +194 -0
  41. data/lib/repull/models/listing_publish_status_connection.rb +34 -1
  42. data/lib/repull/models/pms_write_policy.rb +191 -0
  43. data/lib/repull/models/pms_write_policy_calendar.rb +219 -0
  44. data/lib/repull/models/pms_write_policy_reservations.rb +219 -0
  45. data/lib/repull/models/preapprove_conversation201_response.rb +47 -6
  46. data/lib/repull/models/preapprove_conversation_request.rb +34 -5
  47. data/lib/repull/models/preview_conversation_special_offer_request.rb +231 -0
  48. data/lib/repull/models/preview_conversation_special_offer_request_fees_inner.rb +199 -0
  49. data/lib/repull/models/preview_conversation_special_offer_request_guests.rb +250 -0
  50. data/lib/repull/models/reply_to_review_request.rb +33 -4
  51. data/lib/repull/models/search_connect_session_listing_options200_response.rb +158 -0
  52. data/lib/repull/models/search_connect_session_listing_options200_response_data_inner.rb +166 -0
  53. data/lib/repull/models/search_connection_listing_options200_response.rb +159 -0
  54. data/lib/repull/models/send_message_request.rb +1 -1
  55. data/lib/repull/models/start_booking_extranet_login200_response.rb +174 -0
  56. data/lib/repull/models/start_booking_extranet_login_request.rb +225 -0
  57. data/lib/repull/models/submit_cloudbeds_credentials200_response.rb +10 -1
  58. data/lib/repull/models/submit_cloudbeds_credentials_request.rb +11 -1
  59. data/lib/repull/models/submit_guest_review200_response.rb +165 -0
  60. data/lib/repull/models/submit_mews_credentials200_response.rb +10 -1
  61. data/lib/repull/models/submit_mews_credentials_request.rb +11 -1
  62. data/lib/repull/models/update_connect_write_policy_request.rb +157 -0
  63. data/lib/repull/models/update_connect_write_policy_request_calendar.rb +165 -0
  64. data/lib/repull/models/update_connect_write_policy_request_reservations.rb +165 -0
  65. data/lib/repull/models/vrbo_import_status.rb +249 -0
  66. data/lib/repull/models/vrbo_login200_response.rb +235 -0
  67. data/lib/repull/models/vrbo_login_request.rb +271 -0
  68. data/lib/repull/models/withdraw_conversation_preapproval200_response.rb +226 -0
  69. data/lib/repull/models/withdraw_conversation_special_offer200_response.rb +29 -1
  70. data/lib/repull/version.rb +1 -1
  71. data/lib/repull.rb +45 -0
  72. data/openapi/v1.json +4871 -2202
  73. data/scripts/regen.sh +1 -1
  74. metadata +47 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: be99faa1ce8ed6c0f212d4e08868a97f1a17d60bfb706cf5a8d3e38edfba78ff
4
- data.tar.gz: 97fde1b3eb6f93014f233b7bf3fb7fbc5b4ad9b3d5273833e8245175f2444d4a
3
+ metadata.gz: 92e78f83c5831c3d0ad17881b8f62d8f28d65b52e60116c16c69163d451d6db1
4
+ data.tar.gz: 76bc43e4dcff04980140d4d840d081f71d34f435bb1f4ad0dfe0b37a3fdfa974
5
5
  SHA512:
6
- metadata.gz: f72d50e4e84bcf98d4e7800bd603aeb6b8bc7606ad6f1b4edd37296d58c6504e2303b03f1d2c2faefccde29576ddb4e7fce0a1d6fef4bab772fb32bb7fb7adf2
7
- data.tar.gz: 6075f9b6a4e73b0b088319fc366b06251730944d36390fda2e3bfd8003696a6e6037375b93b163b1036dd2c625ac7e7f12f11891bfc0bb5c8110f74d74797911
6
+ metadata.gz: b43f37aad4c3b9d3f51ff7dc7dda59fc0eb495181d5ef75d294462053eca6cde1e1b242734ec71fb02ded3795423f1b60804a8385fb7b4cecd56e4300c540dbc
7
+ data.tar.gz: 5149a5b14aff60b621bdbaf3af8a1c786b642816ec053487e651ac6e56356c56046adec959e11ddf39c01a034f5c237f0c4c890b95eb90d2f7d60c4aa0f6b911
@@ -745,7 +745,7 @@ module Repull
745
745
  end
746
746
 
747
747
  # Submit your review of a guest (publishes, final)
748
- # Submit your review of a guest — the review with `reviewerRole: \"host\"`. **Submitting publishes it and is final:** Airbnb has no draft and does not allow edits; a second submission is `409 review_already_submitted`. Airbnb accepts it up to 14 days after checkout (`expiresAt`). Required: `publicReview`, `isRevieweeRecommended` (whether you would host the guest again), and a 1–5 rating for **each** of `cleanliness`, `communication` and `respect_house_rules` — send `rating` to use one score for all three, `categoryRatings` to score them individually, or both (`rating` fills any category you did not rate). Optional: `privateFeedback`, a note to the guest that is not published. A request missing a required piece is refused with `422 invalid_params` naming it, before anything is sent to Airbnb. ```json { \"publicReview\": \"Joanne was a great guest.\", \"rating\": 5, \"privateFeedback\": \"Thanks for leaving the place so tidy!\", \"isRevieweeRecommended\": true } ``` A guest's review of you (`reviewerRole: \"guest\"`) cannot be written here — `409 not_host_review`; reply to it with `POST /v1/channels/airbnb/reviews/{id}/respond`. After the window closes: `409 review_window_closed`. Full guide: https://repull.dev/docs/channels/airbnb/reviews
748
+ # Submit your review of a guest — the review with `reviewerRole: \"host\"`. **Submitting publishes it and is final:** Airbnb has no draft and does not allow edits; a second submission is `409 review_already_submitted`. Airbnb accepts it up to 14 days after checkout (`expiresAt`). Required: `publicReview`, `isRevieweeRecommended` (whether you would host the guest again), and a 1–5 rating for **each** of `cleanliness`, `communication` and `respect_house_rules` — send `rating` to use one score for all three, `categoryRatings` to score them individually, or both (`rating` fills any category you did not rate). Optional: `privateFeedback`, a note to the guest that is not published. A request missing a required piece is refused with `422 invalid_params` naming it, before anything is sent to Airbnb. ```json { \"publicReview\": \"Joanne was a great guest.\", \"rating\": 5, \"privateFeedback\": \"Thanks for leaving the place so tidy!\", \"isRevieweeRecommended\": true } ``` A guest's review of you (`reviewerRole: \"guest\"`) cannot be written here — `409 not_host_review`; reply to it with `POST /v1/reviews/{id}/reply`. After the window closes: `409 review_window_closed`. The same submission is available channel-neutrally as `POST /v1/reviews/{id}/guest-review`. Guide: https://repull.dev/docs/reviews#review-a-guest
749
749
  # @param id [String] The review's `id` or `externalReviewId`, both as returned by `GET /v1/reviews`.
750
750
  # @param airbnb_host_review_submit [AirbnbHostReviewSubmit]
751
751
  # @param [Hash] opts the optional parameters
@@ -756,7 +756,7 @@ module Repull
756
756
  end
757
757
 
758
758
  # Submit your review of a guest (publishes, final)
759
- # Submit your review of a guest — the review with `reviewerRole: \"host\"`. **Submitting publishes it and is final:** Airbnb has no draft and does not allow edits; a second submission is `409 review_already_submitted`. Airbnb accepts it up to 14 days after checkout (`expiresAt`). Required: `publicReview`, `isRevieweeRecommended` (whether you would host the guest again), and a 1–5 rating for **each** of `cleanliness`, `communication` and `respect_house_rules` — send `rating` to use one score for all three, `categoryRatings` to score them individually, or both (`rating` fills any category you did not rate). Optional: `privateFeedback`, a note to the guest that is not published. A request missing a required piece is refused with `422 invalid_params` naming it, before anything is sent to Airbnb. ```json { \"publicReview\": \"Joanne was a great guest.\", \"rating\": 5, \"privateFeedback\": \"Thanks for leaving the place so tidy!\", \"isRevieweeRecommended\": true } ``` A guest's review of you (`reviewerRole: \"guest\"`) cannot be written here — `409 not_host_review`; reply to it with `POST /v1/channels/airbnb/reviews/{id}/respond`. After the window closes: `409 review_window_closed`. Full guide: https://repull.dev/docs/channels/airbnb/reviews
759
+ # Submit your review of a guest — the review with `reviewerRole: \"host\"`. **Submitting publishes it and is final:** Airbnb has no draft and does not allow edits; a second submission is `409 review_already_submitted`. Airbnb accepts it up to 14 days after checkout (`expiresAt`). Required: `publicReview`, `isRevieweeRecommended` (whether you would host the guest again), and a 1–5 rating for **each** of `cleanliness`, `communication` and `respect_house_rules` — send `rating` to use one score for all three, `categoryRatings` to score them individually, or both (`rating` fills any category you did not rate). Optional: `privateFeedback`, a note to the guest that is not published. A request missing a required piece is refused with `422 invalid_params` naming it, before anything is sent to Airbnb. ```json { \"publicReview\": \"Joanne was a great guest.\", \"rating\": 5, \"privateFeedback\": \"Thanks for leaving the place so tidy!\", \"isRevieweeRecommended\": true } ``` A guest's review of you (`reviewerRole: \"guest\"`) cannot be written here — `409 not_host_review`; reply to it with `POST /v1/reviews/{id}/reply`. After the window closes: `409 review_window_closed`. The same submission is available channel-neutrally as `POST /v1/reviews/{id}/guest-review`. Guide: https://repull.dev/docs/reviews#review-a-guest
760
760
  # @param id [String] The review's `id` or `externalReviewId`, both as returned by `GET /v1/reviews`.
761
761
  # @param airbnb_host_review_submit [AirbnbHostReviewSubmit]
762
762
  # @param [Hash] opts the optional parameters
@@ -2771,7 +2771,7 @@ module Repull
2771
2771
  end
2772
2772
 
2773
2773
  # Respond to Airbnb review
2774
- # Post a public host response to a guest review. Airbnb allows one response per review — repeated POSTs return 409. Response text is capped at 1000 characters. Returns `403 listing_inactive` when the listing this resolves to is inactive. An inactive listing keeps syncing, but cannot be read or changed through the API until it is activated.
2774
+ # **Deprecated — use `POST /v1/reviews/{id}/reply`**, which replies to a review from any channel. This route keeps working unchanged. Post a public host response to a guest review. Airbnb allows one response per review — repeated POSTs return 409. Response text is capped at 1000 characters. Returns `403 listing_inactive` when the listing this resolves to is inactive. An inactive listing keeps syncing, but cannot be read or changed through the API until it is activated.
2775
2775
  # @param id [String] Airbnb review id.
2776
2776
  # @param respond_airbnb_review_request [RespondAirbnbReviewRequest]
2777
2777
  # @param [Hash] opts the optional parameters
@@ -2782,7 +2782,7 @@ module Repull
2782
2782
  end
2783
2783
 
2784
2784
  # Respond to Airbnb review
2785
- # Post a public host response to a guest review. Airbnb allows one response per review — repeated POSTs return 409. Response text is capped at 1000 characters. Returns `403 listing_inactive` when the listing this resolves to is inactive. An inactive listing keeps syncing, but cannot be read or changed through the API until it is activated.
2785
+ # **Deprecated — use `POST /v1/reviews/{id}/reply`**, which replies to a review from any channel. This route keeps working unchanged. Post a public host response to a guest review. Airbnb allows one response per review — repeated POSTs return 409. Response text is capped at 1000 characters. Returns `403 listing_inactive` when the listing this resolves to is inactive. An inactive listing keeps syncing, but cannot be read or changed through the API until it is activated.
2786
2786
  # @param id [String] Airbnb review id.
2787
2787
  # @param respond_airbnb_review_request [RespondAirbnbReviewRequest]
2788
2788
  # @param [Hash] opts the optional parameters
@@ -2845,7 +2845,7 @@ module Repull
2845
2845
  end
2846
2846
 
2847
2847
  # Respond to / submit Airbnb review (legacy)
2848
- # Legacy action-based shape. Body `{ action: \"respond\"|\"submit\", reviewId, response?, review? }`. Kept for backwards compatibility — prefer `PUT /v1/channels/airbnb/reviews/{id}` (edit) and `POST /v1/channels/airbnb/reviews/{id}/respond` (reply) for new integrations. Returns `403 listing_inactive` when the listing this resolves to is inactive. An inactive listing keeps syncing, but cannot be read or changed through the API until it is activated.
2848
+ # Legacy action-based shape. Body `{ action: \"respond\"|\"submit\", reviewId, response?, review? }`. Kept for backwards compatibility — prefer `POST /v1/reviews/{id}/guest-review` (review a guest) and `POST /v1/reviews/{id}/reply` (reply) for new integrations. Returns `403 listing_inactive` when the listing this resolves to is inactive. An inactive listing keeps syncing, but cannot be read or changed through the API until it is activated.
2849
2849
  # @param [Hash] opts the optional parameters
2850
2850
  # @return [nil]
2851
2851
  def respond_airbnb_review_legacy(opts = {})
@@ -2854,7 +2854,7 @@ module Repull
2854
2854
  end
2855
2855
 
2856
2856
  # Respond to / submit Airbnb review (legacy)
2857
- # Legacy action-based shape. Body `{ action: \"respond\"|\"submit\", reviewId, response?, review? }`. Kept for backwards compatibility — prefer `PUT /v1/channels/airbnb/reviews/{id}` (edit) and `POST /v1/channels/airbnb/reviews/{id}/respond` (reply) for new integrations. Returns `403 listing_inactive` when the listing this resolves to is inactive. An inactive listing keeps syncing, but cannot be read or changed through the API until it is activated.
2857
+ # Legacy action-based shape. Body `{ action: \"respond\"|\"submit\", reviewId, response?, review? }`. Kept for backwards compatibility — prefer `POST /v1/reviews/{id}/guest-review` (review a guest) and `POST /v1/reviews/{id}/reply` (reply) for new integrations. Returns `403 listing_inactive` when the listing this resolves to is inactive. An inactive listing keeps syncing, but cannot be read or changed through the API until it is activated.
2858
2858
  # @param [Hash] opts the optional parameters
2859
2859
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
2860
2860
  def respond_airbnb_review_legacy_with_http_info(opts = {})