repull 0.2.60 → 0.2.62

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 (65) hide show
  1. checksums.yaml +4 -4
  2. data/lib/repull/api/airbnb_api.rb +8 -8
  3. data/lib/repull/api/connect_api.rb +205 -5
  4. data/lib/repull/api/connections_api.rb +4 -4
  5. data/lib/repull/api/listings_api.rb +70 -0
  6. data/lib/repull/api/properties_api.rb +3 -3
  7. data/lib/repull/api/tiket_api.rb +885 -0
  8. data/lib/repull/models/account_import.rb +1 -1
  9. data/lib/repull/models/airbnb_reservation.rb +346 -6
  10. data/lib/repull/models/airbnb_reservation_detail.rb +679 -0
  11. data/lib/repull/models/airbnb_reservation_detail_response.rb +173 -0
  12. data/lib/repull/models/connect_provider_session.rb +266 -0
  13. data/lib/repull/models/create_connect_session_request.rb +2 -2
  14. data/lib/repull/models/create_connection_request.rb +3 -2
  15. data/lib/repull/models/guest.rb +4 -2
  16. data/lib/repull/models/listing_publish_tiket_response.rb +165 -0
  17. data/lib/repull/models/listing_publish_tiket_response_result.rb +182 -0
  18. data/lib/repull/models/map_tiket_connect_rooms_request.rb +201 -0
  19. data/lib/repull/models/map_tiket_connect_rooms_request_mappings_inner.rb +184 -0
  20. data/lib/repull/models/publish_listing_tiket_request.rb +148 -0
  21. data/lib/repull/models/reservation.rb +1 -1
  22. data/lib/repull/models/start_connection_import202_response_data.rb +32 -6
  23. data/lib/repull/models/start_connection_import_request.rb +3 -5
  24. data/lib/repull/models/sync_tiket_request.rb +160 -0
  25. data/lib/repull/models/tiket_ari_day.rb +347 -0
  26. data/lib/repull/models/tiket_ari_mismatch.rb +198 -0
  27. data/lib/repull/models/tiket_ari_update.rb +468 -0
  28. data/lib/repull/models/tiket_ari_write_response.rb +357 -0
  29. data/lib/repull/models/tiket_availability_response.rb +269 -0
  30. data/lib/repull/models/tiket_availability_update_request.rb +241 -0
  31. data/lib/repull/models/tiket_child_price.rb +217 -0
  32. data/lib/repull/models/tiket_connect_claim_response.rb +216 -0
  33. data/lib/repull/models/tiket_connect_map_rooms_response.rb +204 -0
  34. data/lib/repull/models/tiket_connect_rooms_response.rb +295 -0
  35. data/lib/repull/models/tiket_connect_rooms_response_rooms_inner.rb +199 -0
  36. data/lib/repull/models/tiket_content_response.rb +202 -0
  37. data/lib/repull/models/tiket_content_response_objects_inner.rb +237 -0
  38. data/lib/repull/models/tiket_listing_pricing_response.rb +321 -0
  39. data/lib/repull/models/tiket_listing_pricing_update_request.rb +209 -0
  40. data/lib/repull/models/tiket_map_listings_request.rb +202 -0
  41. data/lib/repull/models/tiket_map_listings_request_mappings_inner.rb +186 -0
  42. data/lib/repull/models/tiket_map_listings_response.rb +169 -0
  43. data/lib/repull/models/tiket_map_listings_response_results_inner.rb +176 -0
  44. data/lib/repull/models/tiket_occupancy_price.rb +201 -0
  45. data/lib/repull/models/tiket_property.rb +278 -0
  46. data/lib/repull/models/tiket_property_list_response.rb +166 -0
  47. data/lib/repull/models/tiket_property_listings_inner.rb +175 -0
  48. data/lib/repull/models/tiket_property_rooms_response.rb +192 -0
  49. data/lib/repull/models/tiket_rate_plan.rb +178 -0
  50. data/lib/repull/models/tiket_reservation.rb +421 -0
  51. data/lib/repull/models/tiket_reservation_list_response.rb +192 -0
  52. data/lib/repull/models/tiket_reservation_list_response_pagination.rb +165 -0
  53. data/lib/repull/models/tiket_room.rb +232 -0
  54. data/lib/repull/models/tiket_setup_request.rb +469 -0
  55. data/lib/repull/models/tiket_setup_request_contacts_inner.rb +192 -0
  56. data/lib/repull/models/tiket_setup_request_properties_inner.rb +174 -0
  57. data/lib/repull/models/tiket_setup_response.rb +159 -0
  58. data/lib/repull/models/tiket_sync_response.rb +167 -0
  59. data/lib/repull/models/tiket_sync_response_results_inner.rb +239 -0
  60. data/lib/repull/models/verify_tiket_claim_request.rb +212 -0
  61. data/lib/repull/version.rb +1 -1
  62. data/lib/repull.rb +46 -0
  63. data/openapi/v1.json +10004 -6945
  64. data/spec/api/tiket_api_spec.rb +56 -0
  65. metadata +50 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2dd89f41149cb24a0923b9b82f9db81d3fbfe1e7b5f68d07c3aef6ce873596c1
4
- data.tar.gz: 576fbad0f3b45836523f36b28ab469f2314bcc2e75cb0226cd81d19d22a27fab
3
+ metadata.gz: 798d0f2ac98496154eb1dc9dab24d72eae0f2f255f1df2ee5a9ca07076fceeb4
4
+ data.tar.gz: b3e0bb01d1d40e7847de51e4eff57f60a5118944dd9ebf9e31fe340036cf52f0
5
5
  SHA512:
6
- metadata.gz: d8ff10e39c15a80f930c5589ed68ac200ea5d635dbb219503f77833b5d1afacf835d878c87707ca2192377fef04b4e19f7994c4fae93b242c4209d372def0a4d
7
- data.tar.gz: 8c57f8df8b29837097254cb0eb73471652f14e6099744e2d695af8da692b6a4497128d6023e9209b4604b509bc3e392f90ccddcc99297c3a79f58f55186ad731
6
+ metadata.gz: 0c629170d20dbef88b46bdc591eb1e868612463285467c24c8dde8c72564ad116f4c2833620eee2ae9b434077a28a6aaac7b37d4b1a17e8e066448585ac3dfef
7
+ data.tar.gz: 5d1293408c8d06d25da947929078c880b11e53018b5d7d71c8a5f13a710311e69c7bd604cc073c3943bfaefdc7167680b4e8bbbccbacdda120a63d860b3a6528
@@ -1908,7 +1908,7 @@ module Repull
1908
1908
  # Fetch a single Airbnb reservation by Airbnb confirmation code (e.g. `HMABCDEF12`). 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.
1909
1909
  # @param code [String]
1910
1910
  # @param [Hash] opts the optional parameters
1911
- # @return [AirbnbReservation]
1911
+ # @return [AirbnbReservationDetailResponse]
1912
1912
  def get_airbnb_reservation(code, opts = {})
1913
1913
  data, _status_code, _headers = get_airbnb_reservation_with_http_info(code, opts)
1914
1914
  data
@@ -1918,7 +1918,7 @@ module Repull
1918
1918
  # Fetch a single Airbnb reservation by Airbnb confirmation code (e.g. `HMABCDEF12`). 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.
1919
1919
  # @param code [String]
1920
1920
  # @param [Hash] opts the optional parameters
1921
- # @return [Array<(AirbnbReservation, Integer, Hash)>] AirbnbReservation data, response status code and response headers
1921
+ # @return [Array<(AirbnbReservationDetailResponse, Integer, Hash)>] AirbnbReservationDetailResponse data, response status code and response headers
1922
1922
  def get_airbnb_reservation_with_http_info(code, opts = {})
1923
1923
  if @api_client.config.debugging
1924
1924
  @api_client.config.logger.debug 'Calling API: AirbnbApi.get_airbnb_reservation ...'
@@ -1945,7 +1945,7 @@ module Repull
1945
1945
  post_body = opts[:debug_body]
1946
1946
 
1947
1947
  # return_type
1948
- return_type = opts[:debug_return_type] || 'AirbnbReservation'
1948
+ return_type = opts[:debug_return_type] || 'AirbnbReservationDetailResponse'
1949
1949
 
1950
1950
  # auth_names
1951
1951
  auth_names = opts[:debug_auth_names] || ['bearerAuth']
@@ -2562,14 +2562,14 @@ module Repull
2562
2562
  end
2563
2563
 
2564
2564
  # List Airbnb reservations
2565
- # Cursor-paginated list of reservations sourced directly from Airbnb. Use this when you need Airbnb-specific fields (guest payout split, cancellation policy snapshot) that the unified `/v1/reservations` endpoint flattens away. **Real time.** Airbnb notifies Repull of every new booking, change and cancellation as it happens, on every access level (read-only included): it is here within seconds and fires `reservation.created` / `reservation.updated` / `reservation.cancelled` within about a minute. `dataFreshness.lastSyncedAt` is the last full re-read of the account, not the age of these rows. To re-read an account now, `POST /v1/connections/{id}/imports` with `{\"scope\": \"reservations\"}`. Walk pages with `?cursor=<pagination.nextCursor>` until `pagination.hasMore` is `false`. The cursor is opaque — never construct or parse it client-side. `?offset=` is also accepted as a first-class alias for shallow paging (0..10000) — see the `offset` parameter below. Mutually exclusive with `cursor`. Internally this walks upstream Airbnb cursor pages to skip rows, so deep offsets cost N/limit upstream round-trips; cursor remains the better choice for deep pagination. When `status` is omitted, all statuses are returned (Airbnb defaults to `accepted` only on its own surface, but this endpoint normalises to \"all\"). Pass `?status=accepted` to scope. Reservations on inactive listings are left out (counts and cursors included); they keep syncing and reappear once the listing is activated. Filtering by an inactive listing (`listing_id`) returns `403 listing_inactive`. **Several Airbnb accounts?** A workspace can connect more than one. By default this returns every connected account's rows; pass `?account_id=<airbnb host id>` to scope to one. Every row carries `accountId` + `accountName` either way, and `dataFreshness.accounts[]` reports each account's freshness separately, so one disconnected host no longer marks the whole response stale.
2565
+ # Cursor-paginated list of reservations sourced directly from Airbnb. Use this when you need Airbnb-specific fields (guest payout split, cancellation policy snapshot) that the unified `/v1/reservations` endpoint flattens away. Each row has the Airbnb `confirmationCode`, the `reservationId` of the same stay on `GET /v1/reservations/{id}`, the Repull `listingId` and Airbnb `airbnbListingId`, a normalised `status`, `checkIn`/`checkOut` dates, `totalPrice` + `currency` (what the guest paid) and `payout` + `payoutCurrency` (what the host receives). Airbnb's own record follows (`airbnbStatus`, `totalPaidAmount`, `expectedPayoutAmount`, …) for integrations already reading it. **Real time.** Airbnb notifies Repull of every new booking, change and cancellation as it happens, on every access level (read-only included): it is here within seconds and fires `reservation.created` / `reservation.updated` / `reservation.cancelled` within about a minute. `dataFreshness.lastSyncedAt` is the last full re-read of the account, not the age of these rows. Walk pages with `?cursor=<pagination.nextCursor>` until `pagination.hasMore` is `false`. The cursor is opaque — never construct or parse it client-side. `?offset=` is also accepted as a first-class alias for shallow paging (0..10000) — see the `offset` parameter below. Mutually exclusive with `cursor`. Internally this walks upstream Airbnb cursor pages to skip rows, so deep offsets cost N/limit upstream round-trips; cursor remains the better choice for deep pagination. When `status` is omitted, all statuses are returned (Airbnb defaults to `accepted` only on its own surface, but this endpoint normalises to \"all\"). Pass `?status=accepted` to scope. Reservations on inactive listings are left out (counts and cursors included); they keep syncing and reappear once the listing is activated. Filtering by an inactive listing (`listing_id`) returns `403 listing_inactive`. **Several Airbnb accounts?** A workspace can connect more than one. By default this returns every connected account's rows; pass `?account_id=<airbnb host id>` to scope to one. Every row carries `accountId` + `accountName` either way, and `dataFreshness.accounts[]` reports each account's freshness separately, so one disconnected host no longer marks the whole response stale.
2566
2566
  # @param [Hash] opts the optional parameters
2567
2567
  # @option opts [String] :account_id Scope the response to ONE connected Airbnb account. The value is the Airbnb host id — the same &#x60;accounts[].externalAccountId&#x60; that &#x60;GET /v1/connect/airbnb&#x60; returns and &#x60;DELETE /v1/connect/airbnb?accountId&#x3D;&#x60; accepts. A workspace can connect several Airbnb accounts. Omit this and you get every account&#39;s rows (the default, unchanged). Every row carries &#x60;accountId&#x60; + &#x60;accountName&#x60; either way, so you can group without a second call. An id that is not connected to THIS workspace returns &#x60;404 not_found&#x60; with your own ids in &#x60;valid_values&#x60; — we do not distinguish \&quot;no such host\&quot; from \&quot;someone else&#39;s host\&quot;, because confirming the latter would leak another workspace&#39;s account. Note this is NOT the &#x60;X-Account-Id&#x60; header, which carries a connection id and cannot tell two Airbnb hosts apart.
2568
2568
  # @option opts [String] :cursor Opaque cursor returned by the previous response&#39;s &#x60;pagination.nextCursor&#x60;. Omit to fetch the first page.
2569
2569
  # @option opts [Integer] :offset First-class alias for cursor-based pagination. Mutually exclusive with &#x60;cursor&#x60; — passing both returns 422. Accepts integers in &#x60;[0, 10000]&#x60;; deeper walks must use &#x60;cursor&#x60; (constant per-page cost). The response always includes &#x60;pagination.nextCursor&#x60; so consumers can switch from offset → cursor mid-walk for deep pagination without re-keying. (default to 0)
2570
2570
  # @option opts [Integer] :limit Max items per page. Hard cap is 100. (default to 50)
2571
2571
  # @option opts [String] :listing_id Filter to one Airbnb listing id (numeric string).
2572
- # @option opts [String] :status Filter by reservation status. Omit to receive all statuses.
2572
+ # @option opts [String] :status Filter by the normalised &#x60;status&#x60;. &#x60;completed&#x60; &#x3D; accepted and already checked out. Airbnb&#39;s raw values (&#x60;accept&#x60;, &#x60;cancelled_by_guest&#x60;, …) are accepted too. Omit to receive all statuses; an unknown value returns &#x60;400 invalid_params&#x60;.
2573
2573
  # @option opts [Date] :start_date ISO 8601 (YYYY-MM-DD) lower bound on Airbnb&#39;s date range filter.
2574
2574
  # @option opts [Date] :end_date ISO 8601 (YYYY-MM-DD) upper bound on Airbnb&#39;s date range filter.
2575
2575
  # @option opts [Boolean] :include_total Whether to include &#x60;pagination.total&#x60;. Always populated when Airbnb returns a total count (effectively always); accepted for shape symmetry with the rest of the API. (default to true)
@@ -2580,14 +2580,14 @@ module Repull
2580
2580
  end
2581
2581
 
2582
2582
  # List Airbnb reservations
2583
- # Cursor-paginated list of reservations sourced directly from Airbnb. Use this when you need Airbnb-specific fields (guest payout split, cancellation policy snapshot) that the unified &#x60;/v1/reservations&#x60; endpoint flattens away. **Real time.** Airbnb notifies Repull of every new booking, change and cancellation as it happens, on every access level (read-only included): it is here within seconds and fires &#x60;reservation.created&#x60; / &#x60;reservation.updated&#x60; / &#x60;reservation.cancelled&#x60; within about a minute. &#x60;dataFreshness.lastSyncedAt&#x60; is the last full re-read of the account, not the age of these rows. To re-read an account now, &#x60;POST /v1/connections/{id}/imports&#x60; with &#x60;{\&quot;scope\&quot;: \&quot;reservations\&quot;}&#x60;. Walk pages with &#x60;?cursor&#x3D;&lt;pagination.nextCursor&gt;&#x60; until &#x60;pagination.hasMore&#x60; is &#x60;false&#x60;. The cursor is opaque — never construct or parse it client-side. &#x60;?offset&#x3D;&#x60; is also accepted as a first-class alias for shallow paging (0..10000) — see the &#x60;offset&#x60; parameter below. Mutually exclusive with &#x60;cursor&#x60;. Internally this walks upstream Airbnb cursor pages to skip rows, so deep offsets cost N/limit upstream round-trips; cursor remains the better choice for deep pagination. When &#x60;status&#x60; is omitted, all statuses are returned (Airbnb defaults to &#x60;accepted&#x60; only on its own surface, but this endpoint normalises to \&quot;all\&quot;). Pass &#x60;?status&#x3D;accepted&#x60; to scope. Reservations on inactive listings are left out (counts and cursors included); they keep syncing and reappear once the listing is activated. Filtering by an inactive listing (&#x60;listing_id&#x60;) returns &#x60;403 listing_inactive&#x60;. **Several Airbnb accounts?** A workspace can connect more than one. By default this returns every connected account&#39;s rows; pass &#x60;?account_id&#x3D;&lt;airbnb host id&gt;&#x60; to scope to one. Every row carries &#x60;accountId&#x60; + &#x60;accountName&#x60; either way, and &#x60;dataFreshness.accounts[]&#x60; reports each account&#39;s freshness separately, so one disconnected host no longer marks the whole response stale.
2583
+ # Cursor-paginated list of reservations sourced directly from Airbnb. Use this when you need Airbnb-specific fields (guest payout split, cancellation policy snapshot) that the unified &#x60;/v1/reservations&#x60; endpoint flattens away. Each row has the Airbnb &#x60;confirmationCode&#x60;, the &#x60;reservationId&#x60; of the same stay on &#x60;GET /v1/reservations/{id}&#x60;, the Repull &#x60;listingId&#x60; and Airbnb &#x60;airbnbListingId&#x60;, a normalised &#x60;status&#x60;, &#x60;checkIn&#x60;/&#x60;checkOut&#x60; dates, &#x60;totalPrice&#x60; + &#x60;currency&#x60; (what the guest paid) and &#x60;payout&#x60; + &#x60;payoutCurrency&#x60; (what the host receives). Airbnb&#39;s own record follows (&#x60;airbnbStatus&#x60;, &#x60;totalPaidAmount&#x60;, &#x60;expectedPayoutAmount&#x60;, …) for integrations already reading it. **Real time.** Airbnb notifies Repull of every new booking, change and cancellation as it happens, on every access level (read-only included): it is here within seconds and fires &#x60;reservation.created&#x60; / &#x60;reservation.updated&#x60; / &#x60;reservation.cancelled&#x60; within about a minute. &#x60;dataFreshness.lastSyncedAt&#x60; is the last full re-read of the account, not the age of these rows. Walk pages with &#x60;?cursor&#x3D;&lt;pagination.nextCursor&gt;&#x60; until &#x60;pagination.hasMore&#x60; is &#x60;false&#x60;. The cursor is opaque — never construct or parse it client-side. &#x60;?offset&#x3D;&#x60; is also accepted as a first-class alias for shallow paging (0..10000) — see the &#x60;offset&#x60; parameter below. Mutually exclusive with &#x60;cursor&#x60;. Internally this walks upstream Airbnb cursor pages to skip rows, so deep offsets cost N/limit upstream round-trips; cursor remains the better choice for deep pagination. When &#x60;status&#x60; is omitted, all statuses are returned (Airbnb defaults to &#x60;accepted&#x60; only on its own surface, but this endpoint normalises to \&quot;all\&quot;). Pass &#x60;?status&#x3D;accepted&#x60; to scope. Reservations on inactive listings are left out (counts and cursors included); they keep syncing and reappear once the listing is activated. Filtering by an inactive listing (&#x60;listing_id&#x60;) returns &#x60;403 listing_inactive&#x60;. **Several Airbnb accounts?** A workspace can connect more than one. By default this returns every connected account&#39;s rows; pass &#x60;?account_id&#x3D;&lt;airbnb host id&gt;&#x60; to scope to one. Every row carries &#x60;accountId&#x60; + &#x60;accountName&#x60; either way, and &#x60;dataFreshness.accounts[]&#x60; reports each account&#39;s freshness separately, so one disconnected host no longer marks the whole response stale.
2584
2584
  # @param [Hash] opts the optional parameters
2585
2585
  # @option opts [String] :account_id Scope the response to ONE connected Airbnb account. The value is the Airbnb host id — the same &#x60;accounts[].externalAccountId&#x60; that &#x60;GET /v1/connect/airbnb&#x60; returns and &#x60;DELETE /v1/connect/airbnb?accountId&#x3D;&#x60; accepts. A workspace can connect several Airbnb accounts. Omit this and you get every account&#39;s rows (the default, unchanged). Every row carries &#x60;accountId&#x60; + &#x60;accountName&#x60; either way, so you can group without a second call. An id that is not connected to THIS workspace returns &#x60;404 not_found&#x60; with your own ids in &#x60;valid_values&#x60; — we do not distinguish \&quot;no such host\&quot; from \&quot;someone else&#39;s host\&quot;, because confirming the latter would leak another workspace&#39;s account. Note this is NOT the &#x60;X-Account-Id&#x60; header, which carries a connection id and cannot tell two Airbnb hosts apart.
2586
2586
  # @option opts [String] :cursor Opaque cursor returned by the previous response&#39;s &#x60;pagination.nextCursor&#x60;. Omit to fetch the first page.
2587
2587
  # @option opts [Integer] :offset First-class alias for cursor-based pagination. Mutually exclusive with &#x60;cursor&#x60; — passing both returns 422. Accepts integers in &#x60;[0, 10000]&#x60;; deeper walks must use &#x60;cursor&#x60; (constant per-page cost). The response always includes &#x60;pagination.nextCursor&#x60; so consumers can switch from offset → cursor mid-walk for deep pagination without re-keying. (default to 0)
2588
2588
  # @option opts [Integer] :limit Max items per page. Hard cap is 100. (default to 50)
2589
2589
  # @option opts [String] :listing_id Filter to one Airbnb listing id (numeric string).
2590
- # @option opts [String] :status Filter by reservation status. Omit to receive all statuses.
2590
+ # @option opts [String] :status Filter by the normalised &#x60;status&#x60;. &#x60;completed&#x60; &#x3D; accepted and already checked out. Airbnb&#39;s raw values (&#x60;accept&#x60;, &#x60;cancelled_by_guest&#x60;, …) are accepted too. Omit to receive all statuses; an unknown value returns &#x60;400 invalid_params&#x60;.
2591
2591
  # @option opts [Date] :start_date ISO 8601 (YYYY-MM-DD) lower bound on Airbnb&#39;s date range filter.
2592
2592
  # @option opts [Date] :end_date ISO 8601 (YYYY-MM-DD) upper bound on Airbnb&#39;s date range filter.
2593
2593
  # @option opts [Boolean] :include_total Whether to include &#x60;pagination.total&#x60;. Always populated when Airbnb returns a total count (effectively always); accepted for shape symmetry with the rest of the API. (default to true)
@@ -2612,7 +2612,7 @@ module Repull
2612
2612
  fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling AirbnbApi.list_airbnb_reservations, must be greater than or equal to 1.'
2613
2613
  end
2614
2614
 
2615
- allowable_values = ["pending", "accepted", "denied", "cancelled", "completed", "failed_verification", "request_voided"]
2615
+ allowable_values = ["pending", "accepted", "denied", "cancelled", "completed", "failed_verification", "request_voided", "expired", "error"]
2616
2616
  if @api_client.config.client_side_validation && opts[:'status'] && !allowable_values.include?(opts[:'status'])
2617
2617
  fail ArgumentError, "invalid value for \"status\", must be one of #{allowable_values}"
2618
2618
  end
@@ -156,22 +156,22 @@ module Repull
156
156
  end
157
157
 
158
158
  # Connect to PMS/OTA provider
159
- # Establish a connection to a PMS or OTA platform. Credentials vary by provider — see docs for each provider. Airbnb-specific: pass `redirectUrl` (where to send the user after consent) and optionally `accessType`. Three tiers: `read_only` grants read-only scopes; `messaging` (shown to hosts as \"Messaging & reviews\") grants read scopes plus message read/send and review writes (reply to guest reviews, submit host reviews — Airbnb's `reviews_write`) but NOT property management, so it can coexist with another app (e.g. an existing PMS) that already holds property management on the same Airbnb account; `full_access` — the default — grants full host scopes including the exclusive property management (only one app per Airbnb account can hold it). The response returns a hosted `url` to redirect the user to. Booking.com: pass `redirectUrl` (no `accessType`). The response returns a hosted `url` — send the user there to select our connectivity provider in their Booking.com Extranet and paste their Hotel ID. Same response shape as Airbnb (`url`, `sessionId`, `expiresAt`). PMS providers are not connected by this call: send their credentials to `POST /v1/connect/{provider}/credentials`, or start a hosted session with `POST /v1/connect`. **PriceLabs (an app).** Pass `redirectUrl` (and optionally `state`, `locale`, `workspace`). The response returns a hosted `url` for the session's workspace: yours, the one `X-Workspace-Id` names, or a new sub-workspace when you send `workspace.name` (its id comes back as `workspaceId`). The page shows the host a key for **every listing of that workspace, including listings added later**, with the steps to paste it into PriceLabs, then waits for PriceLabs' first call and completes like every provider: redirect to `redirectUrl` (`status=connected&connectionId=…`) or the `repull:connect:completed` popup message, and `connect.session.completed`. When PriceLabs first uses the key, `account.created` is sent. To keep PriceLabs away from the rest of an account, put the listings it should price in a sub-workspace and connect PriceLabs there. To issue the key yourself (no hosted page, or only some listings) use `POST /v1/connect/pricelabs/key`.
159
+ # Establish a connection to a PMS or OTA platform. Credentials vary by provider — see docs for each provider. Airbnb-specific: pass `redirectUrl` (where to send the user after consent) and optionally `accessType`. Three tiers: `read_only` grants read-only scopes; `messaging` (shown to hosts as \"Messaging & reviews\") grants read scopes plus message read/send and review writes (reply to guest reviews, submit host reviews — Airbnb's `reviews_write`) but NOT property management, so it can coexist with another app (e.g. an existing PMS) that already holds property management on the same Airbnb account; `full_access` — the default — grants full host scopes including the exclusive property management (only one app per Airbnb account can hold it). The response returns a hosted `url` to redirect the user to. Booking.com: pass `redirectUrl` (no `accessType`). The response returns a hosted `url` — send the user there to select our connectivity provider in their Booking.com Extranet and paste their Hotel ID. Same response shape as Airbnb (`url`, `sessionId`, `expiresAt`, `state`). **Returning to your app.** Every return to `redirectUrl` carries `status`, `sessionId` and your `state`, whether the host connected, cancelled, hit an error or let the session expire, so you can always tie it back to the call that started it. PMS providers are not connected by this call: send their credentials to `POST /v1/connect/{provider}/credentials`, or start a hosted session with `POST /v1/connect`. **PriceLabs (an app).** Pass `redirectUrl` (and optionally `state`, `locale`, `workspace`). The response returns a hosted `url` for the session's workspace: yours, the one `X-Workspace-Id` names, or a new sub-workspace when you send `workspace.name` (its id comes back as `workspaceId`). The page shows the host a key for **every listing of that workspace, including listings added later**, with the steps to paste it into PriceLabs, then waits for PriceLabs' first call and completes like every provider: redirect to `redirectUrl` (`status=connected&connectionId=…`) or the `repull:connect:completed` popup message, and `connect.session.completed`. When PriceLabs first uses the key, `account.created` is sent. To keep PriceLabs away from the rest of an account, put the listings it should price in a sub-workspace and connect PriceLabs there. To issue the key yourself (no hosted page, or only some listings) use `POST /v1/connect/pricelabs/key`.
160
160
  # @param provider [String] PMS provider slug (e.g., hostaway, guesty, ownerrez)
161
161
  # @param [Hash] opts the optional parameters
162
162
  # @option opts [CreateConnectionRequest] :create_connection_request
163
- # @return [Connection]
163
+ # @return [ConnectProviderSession]
164
164
  def create_connection(provider, opts = {})
165
165
  data, _status_code, _headers = create_connection_with_http_info(provider, opts)
166
166
  data
167
167
  end
168
168
 
169
169
  # Connect to PMS/OTA provider
170
- # Establish a connection to a PMS or OTA platform. Credentials vary by provider — see docs for each provider. Airbnb-specific: pass &#x60;redirectUrl&#x60; (where to send the user after consent) and optionally &#x60;accessType&#x60;. Three tiers: &#x60;read_only&#x60; grants read-only scopes; &#x60;messaging&#x60; (shown to hosts as \&quot;Messaging &amp; reviews\&quot;) grants read scopes plus message read/send and review writes (reply to guest reviews, submit host reviews — Airbnb&#39;s &#x60;reviews_write&#x60;) but NOT property management, so it can coexist with another app (e.g. an existing PMS) that already holds property management on the same Airbnb account; &#x60;full_access&#x60; — the default — grants full host scopes including the exclusive property management (only one app per Airbnb account can hold it). The response returns a hosted &#x60;url&#x60; to redirect the user to. Booking.com: pass &#x60;redirectUrl&#x60; (no &#x60;accessType&#x60;). The response returns a hosted &#x60;url&#x60; — send the user there to select our connectivity provider in their Booking.com Extranet and paste their Hotel ID. Same response shape as Airbnb (&#x60;url&#x60;, &#x60;sessionId&#x60;, &#x60;expiresAt&#x60;). PMS providers are not connected by this call: send their credentials to &#x60;POST /v1/connect/{provider}/credentials&#x60;, or start a hosted session with &#x60;POST /v1/connect&#x60;. **PriceLabs (an app).** Pass &#x60;redirectUrl&#x60; (and optionally &#x60;state&#x60;, &#x60;locale&#x60;, &#x60;workspace&#x60;). The response returns a hosted &#x60;url&#x60; for the session&#39;s workspace: yours, the one &#x60;X-Workspace-Id&#x60; names, or a new sub-workspace when you send &#x60;workspace.name&#x60; (its id comes back as &#x60;workspaceId&#x60;). The page shows the host a key for **every listing of that workspace, including listings added later**, with the steps to paste it into PriceLabs, then waits for PriceLabs&#39; first call and completes like every provider: redirect to &#x60;redirectUrl&#x60; (&#x60;status&#x3D;connected&amp;connectionId&#x3D;…&#x60;) or the &#x60;repull:connect:completed&#x60; popup message, and &#x60;connect.session.completed&#x60;. When PriceLabs first uses the key, &#x60;account.created&#x60; is sent. To keep PriceLabs away from the rest of an account, put the listings it should price in a sub-workspace and connect PriceLabs there. To issue the key yourself (no hosted page, or only some listings) use &#x60;POST /v1/connect/pricelabs/key&#x60;.
170
+ # Establish a connection to a PMS or OTA platform. Credentials vary by provider — see docs for each provider. Airbnb-specific: pass &#x60;redirectUrl&#x60; (where to send the user after consent) and optionally &#x60;accessType&#x60;. Three tiers: &#x60;read_only&#x60; grants read-only scopes; &#x60;messaging&#x60; (shown to hosts as \&quot;Messaging &amp; reviews\&quot;) grants read scopes plus message read/send and review writes (reply to guest reviews, submit host reviews — Airbnb&#39;s &#x60;reviews_write&#x60;) but NOT property management, so it can coexist with another app (e.g. an existing PMS) that already holds property management on the same Airbnb account; &#x60;full_access&#x60; — the default — grants full host scopes including the exclusive property management (only one app per Airbnb account can hold it). The response returns a hosted &#x60;url&#x60; to redirect the user to. Booking.com: pass &#x60;redirectUrl&#x60; (no &#x60;accessType&#x60;). The response returns a hosted &#x60;url&#x60; — send the user there to select our connectivity provider in their Booking.com Extranet and paste their Hotel ID. Same response shape as Airbnb (&#x60;url&#x60;, &#x60;sessionId&#x60;, &#x60;expiresAt&#x60;, &#x60;state&#x60;). **Returning to your app.** Every return to &#x60;redirectUrl&#x60; carries &#x60;status&#x60;, &#x60;sessionId&#x60; and your &#x60;state&#x60;, whether the host connected, cancelled, hit an error or let the session expire, so you can always tie it back to the call that started it. PMS providers are not connected by this call: send their credentials to &#x60;POST /v1/connect/{provider}/credentials&#x60;, or start a hosted session with &#x60;POST /v1/connect&#x60;. **PriceLabs (an app).** Pass &#x60;redirectUrl&#x60; (and optionally &#x60;state&#x60;, &#x60;locale&#x60;, &#x60;workspace&#x60;). The response returns a hosted &#x60;url&#x60; for the session&#39;s workspace: yours, the one &#x60;X-Workspace-Id&#x60; names, or a new sub-workspace when you send &#x60;workspace.name&#x60; (its id comes back as &#x60;workspaceId&#x60;). The page shows the host a key for **every listing of that workspace, including listings added later**, with the steps to paste it into PriceLabs, then waits for PriceLabs&#39; first call and completes like every provider: redirect to &#x60;redirectUrl&#x60; (&#x60;status&#x3D;connected&amp;connectionId&#x3D;…&#x60;) or the &#x60;repull:connect:completed&#x60; popup message, and &#x60;connect.session.completed&#x60;. When PriceLabs first uses the key, &#x60;account.created&#x60; is sent. To keep PriceLabs away from the rest of an account, put the listings it should price in a sub-workspace and connect PriceLabs there. To issue the key yourself (no hosted page, or only some listings) use &#x60;POST /v1/connect/pricelabs/key&#x60;.
171
171
  # @param provider [String] PMS provider slug (e.g., hostaway, guesty, ownerrez)
172
172
  # @param [Hash] opts the optional parameters
173
173
  # @option opts [CreateConnectionRequest] :create_connection_request
174
- # @return [Array<(Connection, Integer, Hash)>] Connection data, response status code and response headers
174
+ # @return [Array<(ConnectProviderSession, Integer, Hash)>] ConnectProviderSession data, response status code and response headers
175
175
  def create_connection_with_http_info(provider, opts = {})
176
176
  if @api_client.config.debugging
177
177
  @api_client.config.logger.debug 'Calling API: ConnectApi.create_connection ...'
@@ -203,7 +203,7 @@ module Repull
203
203
  post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'create_connection_request'])
204
204
 
205
205
  # return_type
206
- return_type = opts[:debug_return_type] || 'Connection'
206
+ return_type = opts[:debug_return_type] || 'ConnectProviderSession'
207
207
 
208
208
  # auth_names
209
209
  auth_names = opts[:debug_auth_names] || ['bearerAuth']
@@ -996,6 +996,70 @@ module Repull
996
996
  return data, status_code, headers
997
997
  end
998
998
 
999
+ # List the room types of the tiket.com property in a Connect session
1000
+ # Called by the hosted Connect page and authorized by the Connect session id, not an API key. Start the session with `POST /v1/connect` (`allowedProviders: [\"tiket\"]`) and send the host to its `url`. The room types of the property claimed in the session, for the mapping screen. Same shape as `GET /v1/connect/booking/rooms`. `425 not_ready` means the claim is still being saved; retry in a moment.
1001
+ # @param session_id [String] Connect session id.
1002
+ # @param [Hash] opts the optional parameters
1003
+ # @return [TiketConnectRoomsResponse]
1004
+ def list_tiket_connect_rooms(session_id, opts = {})
1005
+ data, _status_code, _headers = list_tiket_connect_rooms_with_http_info(session_id, opts)
1006
+ data
1007
+ end
1008
+
1009
+ # List the room types of the tiket.com property in a Connect session
1010
+ # Called by the hosted Connect page and authorized by the Connect session id, not an API key. Start the session with &#x60;POST /v1/connect&#x60; (&#x60;allowedProviders: [\&quot;tiket\&quot;]&#x60;) and send the host to its &#x60;url&#x60;. The room types of the property claimed in the session, for the mapping screen. Same shape as &#x60;GET /v1/connect/booking/rooms&#x60;. &#x60;425 not_ready&#x60; means the claim is still being saved; retry in a moment.
1011
+ # @param session_id [String] Connect session id.
1012
+ # @param [Hash] opts the optional parameters
1013
+ # @return [Array<(TiketConnectRoomsResponse, Integer, Hash)>] TiketConnectRoomsResponse data, response status code and response headers
1014
+ def list_tiket_connect_rooms_with_http_info(session_id, opts = {})
1015
+ if @api_client.config.debugging
1016
+ @api_client.config.logger.debug 'Calling API: ConnectApi.list_tiket_connect_rooms ...'
1017
+ end
1018
+ # verify the required parameter 'session_id' is set
1019
+ if @api_client.config.client_side_validation && session_id.nil?
1020
+ fail ArgumentError, "Missing the required parameter 'session_id' when calling ConnectApi.list_tiket_connect_rooms"
1021
+ end
1022
+ # resource path
1023
+ local_var_path = '/v1/connect/tiket/rooms'
1024
+
1025
+ # query parameters
1026
+ query_params = opts[:query_params] || {}
1027
+ query_params[:'sessionId'] = session_id
1028
+
1029
+ # header parameters
1030
+ header_params = opts[:header_params] || {}
1031
+ # HTTP header 'Accept' (if needed)
1032
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
1033
+
1034
+ # form parameters
1035
+ form_params = opts[:form_params] || {}
1036
+
1037
+ # http body (model)
1038
+ post_body = opts[:debug_body]
1039
+
1040
+ # return_type
1041
+ return_type = opts[:debug_return_type] || 'TiketConnectRoomsResponse'
1042
+
1043
+ # auth_names
1044
+ auth_names = opts[:debug_auth_names] || []
1045
+
1046
+ new_options = opts.merge(
1047
+ :operation => :"ConnectApi.list_tiket_connect_rooms",
1048
+ :header_params => header_params,
1049
+ :query_params => query_params,
1050
+ :form_params => form_params,
1051
+ :body => post_body,
1052
+ :auth_names => auth_names,
1053
+ :return_type => return_type
1054
+ )
1055
+
1056
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1057
+ if @api_client.config.debugging
1058
+ @api_client.config.logger.debug "API called: ConnectApi#list_tiket_connect_rooms\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1059
+ end
1060
+ return data, status_code, headers
1061
+ end
1062
+
999
1063
  # Submit room→listing mappings for a Booking.com Connect session
1000
1064
  # Submits the customer's room→listing mapping choices in one transaction. For each mapping, updates `listings_booking_rooms.listing_id` and replaces the corresponding `listing_platform_links` row. Pass `listingId: null` to explicitly unmap a room. On success the Connect session is marked `completed` and the hosted picker page emits a `repull:connect:completed` postMessage to the embedding window. No API key required — the `sessionId` in the body is the capability token. Each mapping's `roomId` must belong to the customer's claimed hotel; mismatched IDs are rejected with 403.
1001
1065
  # @param map_connect_booking_rooms_request [MapConnectBookingRoomsRequest]
@@ -1064,6 +1128,74 @@ module Repull
1064
1128
  return data, status_code, headers
1065
1129
  end
1066
1130
 
1131
+ # Map tiket.com room types to listings in a Connect session
1132
+ # Called by the hosted Connect page and authorized by the Connect session id, not an API key. Start the session with `POST /v1/connect` (`allowedProviders: [\"tiket\"]`) and send the host to its `url`. Submits the host's room mapping for the property claimed in the session and completes the session. Each mapping is `{ roomId, listingId }` (`listingId: null` leaves the room unmapped) or `{ roomId, create: true }`, which creates a listing from the room with tiket.com's calendar. Bookings tiket.com delivered before the rooms were mapped are recorded (`replayedReservations`). Same flow as `POST /v1/connect/booking/map-rooms`.
1133
+ # @param map_tiket_connect_rooms_request [MapTiketConnectRoomsRequest]
1134
+ # @param [Hash] opts the optional parameters
1135
+ # @return [TiketConnectMapRoomsResponse]
1136
+ def map_tiket_connect_rooms(map_tiket_connect_rooms_request, opts = {})
1137
+ data, _status_code, _headers = map_tiket_connect_rooms_with_http_info(map_tiket_connect_rooms_request, opts)
1138
+ data
1139
+ end
1140
+
1141
+ # Map tiket.com room types to listings in a Connect session
1142
+ # Called by the hosted Connect page and authorized by the Connect session id, not an API key. Start the session with &#x60;POST /v1/connect&#x60; (&#x60;allowedProviders: [\&quot;tiket\&quot;]&#x60;) and send the host to its &#x60;url&#x60;. Submits the host&#39;s room mapping for the property claimed in the session and completes the session. Each mapping is &#x60;{ roomId, listingId }&#x60; (&#x60;listingId: null&#x60; leaves the room unmapped) or &#x60;{ roomId, create: true }&#x60;, which creates a listing from the room with tiket.com&#39;s calendar. Bookings tiket.com delivered before the rooms were mapped are recorded (&#x60;replayedReservations&#x60;). Same flow as &#x60;POST /v1/connect/booking/map-rooms&#x60;.
1143
+ # @param map_tiket_connect_rooms_request [MapTiketConnectRoomsRequest]
1144
+ # @param [Hash] opts the optional parameters
1145
+ # @return [Array<(TiketConnectMapRoomsResponse, Integer, Hash)>] TiketConnectMapRoomsResponse data, response status code and response headers
1146
+ def map_tiket_connect_rooms_with_http_info(map_tiket_connect_rooms_request, opts = {})
1147
+ if @api_client.config.debugging
1148
+ @api_client.config.logger.debug 'Calling API: ConnectApi.map_tiket_connect_rooms ...'
1149
+ end
1150
+ # verify the required parameter 'map_tiket_connect_rooms_request' is set
1151
+ if @api_client.config.client_side_validation && map_tiket_connect_rooms_request.nil?
1152
+ fail ArgumentError, "Missing the required parameter 'map_tiket_connect_rooms_request' when calling ConnectApi.map_tiket_connect_rooms"
1153
+ end
1154
+ # resource path
1155
+ local_var_path = '/v1/connect/tiket/map-rooms'
1156
+
1157
+ # query parameters
1158
+ query_params = opts[:query_params] || {}
1159
+
1160
+ # header parameters
1161
+ header_params = opts[:header_params] || {}
1162
+ # HTTP header 'Accept' (if needed)
1163
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
1164
+ # HTTP header 'Content-Type'
1165
+ content_type = @api_client.select_header_content_type(['application/json'])
1166
+ if !content_type.nil?
1167
+ header_params['Content-Type'] = content_type
1168
+ end
1169
+
1170
+ # form parameters
1171
+ form_params = opts[:form_params] || {}
1172
+
1173
+ # http body (model)
1174
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(map_tiket_connect_rooms_request)
1175
+
1176
+ # return_type
1177
+ return_type = opts[:debug_return_type] || 'TiketConnectMapRoomsResponse'
1178
+
1179
+ # auth_names
1180
+ auth_names = opts[:debug_auth_names] || []
1181
+
1182
+ new_options = opts.merge(
1183
+ :operation => :"ConnectApi.map_tiket_connect_rooms",
1184
+ :header_params => header_params,
1185
+ :query_params => query_params,
1186
+ :form_params => form_params,
1187
+ :body => post_body,
1188
+ :auth_names => auth_names,
1189
+ :return_type => return_type
1190
+ )
1191
+
1192
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
1193
+ if @api_client.config.debugging
1194
+ @api_client.config.logger.debug "API called: ConnectApi#map_tiket_connect_rooms\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1195
+ end
1196
+ return data, status_code, headers
1197
+ end
1198
+
1067
1199
  # Re-check Booking.com direct-login permissions
1068
1200
  # Re-runs the account import for a Booking.com direct-login connection after the host has granted the invited user full access in the Booking.com extranet (the `needs_permissions` state). Permissions are probed again and, once full access is in place, the connection continues to property details and room mapping — no new invitation is sent. Poll `GET /v1/connect/booking-extranet-login/status` for the result. Called by the hosted Connect page. No API key — the session ID is the capability token.
1069
1201
  # @param recheck_booking_extranet_login_request [RecheckBookingExtranetLoginRequest]
@@ -2577,6 +2709,74 @@ module Repull
2577
2709
  return data, status_code, headers
2578
2710
  end
2579
2711
 
2712
+ # Claim a tiket.com property in a Connect session
2713
+ # Called by the hosted Connect page and authorized by the Connect session id, not an API key. Start the session with `POST /v1/connect` (`allowedProviders: [\"tiket\"]`) and send the host to its `url`. The host activates Repull as their channel manager in the tiket.com extranet, then enters their tiket.com Hotel ID (a number). Repull checks with tiket.com, then imports the property's room types and rate plans and maps rooms to listings with the same name (`autoMapped`). `412 awaiting_activation` means tiket.com has not activated Repull for that Hotel ID yet, or the id is wrong. tiket.com does not announce activations, so the hosted page offers to try again and Repull keeps checking in the background. A property already connected to another workspace returns `409 property_already_connected`.
2714
+ # @param verify_tiket_claim_request [VerifyTiketClaimRequest]
2715
+ # @param [Hash] opts the optional parameters
2716
+ # @return [TiketConnectClaimResponse]
2717
+ def verify_tiket_claim(verify_tiket_claim_request, opts = {})
2718
+ data, _status_code, _headers = verify_tiket_claim_with_http_info(verify_tiket_claim_request, opts)
2719
+ data
2720
+ end
2721
+
2722
+ # Claim a tiket.com property in a Connect session
2723
+ # Called by the hosted Connect page and authorized by the Connect session id, not an API key. Start the session with &#x60;POST /v1/connect&#x60; (&#x60;allowedProviders: [\&quot;tiket\&quot;]&#x60;) and send the host to its &#x60;url&#x60;. The host activates Repull as their channel manager in the tiket.com extranet, then enters their tiket.com Hotel ID (a number). Repull checks with tiket.com, then imports the property&#39;s room types and rate plans and maps rooms to listings with the same name (&#x60;autoMapped&#x60;). &#x60;412 awaiting_activation&#x60; means tiket.com has not activated Repull for that Hotel ID yet, or the id is wrong. tiket.com does not announce activations, so the hosted page offers to try again and Repull keeps checking in the background. A property already connected to another workspace returns &#x60;409 property_already_connected&#x60;.
2724
+ # @param verify_tiket_claim_request [VerifyTiketClaimRequest]
2725
+ # @param [Hash] opts the optional parameters
2726
+ # @return [Array<(TiketConnectClaimResponse, Integer, Hash)>] TiketConnectClaimResponse data, response status code and response headers
2727
+ def verify_tiket_claim_with_http_info(verify_tiket_claim_request, opts = {})
2728
+ if @api_client.config.debugging
2729
+ @api_client.config.logger.debug 'Calling API: ConnectApi.verify_tiket_claim ...'
2730
+ end
2731
+ # verify the required parameter 'verify_tiket_claim_request' is set
2732
+ if @api_client.config.client_side_validation && verify_tiket_claim_request.nil?
2733
+ fail ArgumentError, "Missing the required parameter 'verify_tiket_claim_request' when calling ConnectApi.verify_tiket_claim"
2734
+ end
2735
+ # resource path
2736
+ local_var_path = '/v1/connect/tiket/verify'
2737
+
2738
+ # query parameters
2739
+ query_params = opts[:query_params] || {}
2740
+
2741
+ # header parameters
2742
+ header_params = opts[:header_params] || {}
2743
+ # HTTP header 'Accept' (if needed)
2744
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
2745
+ # HTTP header 'Content-Type'
2746
+ content_type = @api_client.select_header_content_type(['application/json'])
2747
+ if !content_type.nil?
2748
+ header_params['Content-Type'] = content_type
2749
+ end
2750
+
2751
+ # form parameters
2752
+ form_params = opts[:form_params] || {}
2753
+
2754
+ # http body (model)
2755
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(verify_tiket_claim_request)
2756
+
2757
+ # return_type
2758
+ return_type = opts[:debug_return_type] || 'TiketConnectClaimResponse'
2759
+
2760
+ # auth_names
2761
+ auth_names = opts[:debug_auth_names] || []
2762
+
2763
+ new_options = opts.merge(
2764
+ :operation => :"ConnectApi.verify_tiket_claim",
2765
+ :header_params => header_params,
2766
+ :query_params => query_params,
2767
+ :form_params => form_params,
2768
+ :body => post_body,
2769
+ :auth_names => auth_names,
2770
+ :return_type => return_type
2771
+ )
2772
+
2773
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
2774
+ if @api_client.config.debugging
2775
+ @api_client.config.logger.debug "API called: ConnectApi#verify_tiket_claim\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2776
+ end
2777
+ return data, status_code, headers
2778
+ end
2779
+
2580
2780
  # Sign in with a Vrbo host account
2581
2781
  # `action: login` checks the email and password and answers in seconds: `connected`, `otp_required` (Vrbo sent a code to `destination`) or `failed` with a `reason` (`bad_credentials`, `blocked`, …). `action: otp` submits the code; a refused code comes back as `otp_required` with `reason: bad_code`. `action: resend` (with `accountId`) signs in again with the details already given, so Vrbo sends a new code. `phone_required` means Vrbo accepted the login and its \"complete your profile\" step wants a contact phone: `action: phone` (with `accountId` and `phone`, international format with the country code, any country) fills it in, then answers like the others (`otp_required` when Vrbo texts a code to that number; `phone_required` with `reason: bad_phone` when Vrbo refuses it). Signing in imports nothing. `accessType` (`full_access` or `messaging`, when the session did not lock it) is the host's choice of whether mapped listings push the calendar. The import starts when the mapping is confirmed. Called by the hosted Connect page. No API key — the session ID is the capability token.
2582
2782
  # @param vrbo_login_request [VrboLoginRequest]
@@ -386,8 +386,8 @@ module Repull
386
386
  return data, status_code, headers
387
387
  end
388
388
 
389
- # Refresh a connection's listings or reservations
390
- # Two scopes: `listings` (the default) and `reservations`. **`listings`** — picks up listings you've added on Airbnb since you connected. Re-reads the connected account's listings now: a new property comes in as a new listing, together with its calendar (pricing and availability), and existing listings are refreshed. On a full-access connection Repull is the source of your calendars, so the calendars of listings already in Repull are not re-read from Airbnb; on read-only and messaging connections they are. Nothing else is re-imported: no reservations, conversations, reviews or payouts. The same import runs on its own once a day for every connected Airbnb account, and when the host reconnects. Call this when you know a property was just added and do not want to wait. **`reservations`** — re-reads the account's reservations from Airbnb (stays from the last month and every future one) and applies anything that differs, firing the usual `reservation.*` webhooks for it. You do not need it to stay current: Airbnb notifies Repull of every new booking, change and cancellation as it happens, on every access level (read-only included), and Repull fires `reservation.created` / `reservation.updated` / `reservation.cancelled` within about a minute. Use it as a catch-up — for example after your own webhook endpoint was down — or to confirm a stay right now. New listings obey your plan's active-listing limit: past it, and when the property is unlisted on Airbnb, they arrive inactive. Existing listings keep their status. Both run in the background (`202`) and are recorded like any other import (trigger `resync`, one `listings` or `reservations` stage): follow it on `GET /v1/connections/{id}/imports` or wait for `account.import.completed`, then read the result with `GET /v1/listings` or `GET /v1/reservations`. Airbnb connections only for now. Returns `409 conflict` while a listings import of the account is already running, and `409 connection_reauth_required` when the account is disconnected. Two reservations refreshes of one account in the same minute are one refresh.
389
+ # Start an import of a connection
390
+ # Start an import of a connected Airbnb account now. Two scopes: **`full`** — the import that runs when an account is first connected, again: listings with their calendars (pricing and availability), reservations, then payouts, reviews and conversations. For an account that has never fully imported, e.g. a first import that never started or stalled. Returns `409 conflict` once the account has been fully imported (everything keeps syncing on its own after that). **`listings`** — picks up listings you've added on Airbnb since you connected. Re-reads the connected account's listings now: a new property comes in as a new listing, together with its calendar (pricing and availability), and existing listings are refreshed. On a full-access connection Repull is the source of your calendars, so the calendars of listings already in Repull are not re-read from Airbnb; on read-only and messaging connections they are. Nothing else is re-imported. The same import runs on its own once a day for every connected Airbnb account, and when the host reconnects. With no body, Repull chooses: `full` for an account that has never fully imported, `listings` otherwise. New listings obey your plan's active-listing limit: past it, and when the property is unlisted on Airbnb, they arrive inactive. Existing listings keep their status. Every scope runs in the background (`202`) and is recorded like any other import: follow it on `GET /v1/connections/{id}/imports` (`importId`, when returned, is its id there) or wait for `account.import.completed`. An import no worker picks up within 10 minutes ends `failed` with reason `did_not_start` (and `account.import.failed`); call this again. A `full` request also replaces such an import itself (`replacedImportId`). Airbnb connections only for now. Returns `409 conflict` while an import of the account is already running, and `409 connection_reauth_required` when the account is disconnected.
391
391
  # @param id [String] Airbnb connection handle &#x60;airbnb:{hostId}&#x60; — the &#x60;provider&#x60; and &#x60;externalAccountId&#x60; of an Airbnb connection on &#x60;GET /v1/connect&#x60;, or the account of an &#x60;account.*&#x60; webhook.
392
392
  # @param [Hash] opts the optional parameters
393
393
  # @option opts [StartConnectionImportRequest] :start_connection_import_request
@@ -397,8 +397,8 @@ module Repull
397
397
  data
398
398
  end
399
399
 
400
- # Refresh a connection&#39;s listings or reservations
401
- # Two scopes: &#x60;listings&#x60; (the default) and &#x60;reservations&#x60;. **&#x60;listings&#x60;** — picks up listings you&#39;ve added on Airbnb since you connected. Re-reads the connected account&#39;s listings now: a new property comes in as a new listing, together with its calendar (pricing and availability), and existing listings are refreshed. On a full-access connection Repull is the source of your calendars, so the calendars of listings already in Repull are not re-read from Airbnb; on read-only and messaging connections they are. Nothing else is re-imported: no reservations, conversations, reviews or payouts. The same import runs on its own once a day for every connected Airbnb account, and when the host reconnects. Call this when you know a property was just added and do not want to wait. **&#x60;reservations&#x60;** — re-reads the account&#39;s reservations from Airbnb (stays from the last month and every future one) and applies anything that differs, firing the usual &#x60;reservation.*&#x60; webhooks for it. You do not need it to stay current: Airbnb notifies Repull of every new booking, change and cancellation as it happens, on every access level (read-only included), and Repull fires &#x60;reservation.created&#x60; / &#x60;reservation.updated&#x60; / &#x60;reservation.cancelled&#x60; within about a minute. Use it as a catch-up — for example after your own webhook endpoint was down — or to confirm a stay right now. New listings obey your plan&#39;s active-listing limit: past it, and when the property is unlisted on Airbnb, they arrive inactive. Existing listings keep their status. Both run in the background (&#x60;202&#x60;) and are recorded like any other import (trigger &#x60;resync&#x60;, one &#x60;listings&#x60; or &#x60;reservations&#x60; stage): follow it on &#x60;GET /v1/connections/{id}/imports&#x60; or wait for &#x60;account.import.completed&#x60;, then read the result with &#x60;GET /v1/listings&#x60; or &#x60;GET /v1/reservations&#x60;. Airbnb connections only for now. Returns &#x60;409 conflict&#x60; while a listings import of the account is already running, and &#x60;409 connection_reauth_required&#x60; when the account is disconnected. Two reservations refreshes of one account in the same minute are one refresh.
400
+ # Start an import of a connection
401
+ # Start an import of a connected Airbnb account now. Two scopes: **&#x60;full&#x60;** — the import that runs when an account is first connected, again: listings with their calendars (pricing and availability), reservations, then payouts, reviews and conversations. For an account that has never fully imported, e.g. a first import that never started or stalled. Returns &#x60;409 conflict&#x60; once the account has been fully imported (everything keeps syncing on its own after that). **&#x60;listings&#x60;** — picks up listings you&#39;ve added on Airbnb since you connected. Re-reads the connected account&#39;s listings now: a new property comes in as a new listing, together with its calendar (pricing and availability), and existing listings are refreshed. On a full-access connection Repull is the source of your calendars, so the calendars of listings already in Repull are not re-read from Airbnb; on read-only and messaging connections they are. Nothing else is re-imported. The same import runs on its own once a day for every connected Airbnb account, and when the host reconnects. With no body, Repull chooses: &#x60;full&#x60; for an account that has never fully imported, &#x60;listings&#x60; otherwise. New listings obey your plan&#39;s active-listing limit: past it, and when the property is unlisted on Airbnb, they arrive inactive. Existing listings keep their status. Every scope runs in the background (&#x60;202&#x60;) and is recorded like any other import: follow it on &#x60;GET /v1/connections/{id}/imports&#x60; (&#x60;importId&#x60;, when returned, is its id there) or wait for &#x60;account.import.completed&#x60;. An import no worker picks up within 10 minutes ends &#x60;failed&#x60; with reason &#x60;did_not_start&#x60; (and &#x60;account.import.failed&#x60;); call this again. A &#x60;full&#x60; request also replaces such an import itself (&#x60;replacedImportId&#x60;). Airbnb connections only for now. Returns &#x60;409 conflict&#x60; while an import of the account is already running, and &#x60;409 connection_reauth_required&#x60; when the account is disconnected.
402
402
  # @param id [String] Airbnb connection handle &#x60;airbnb:{hostId}&#x60; — the &#x60;provider&#x60; and &#x60;externalAccountId&#x60; of an Airbnb connection on &#x60;GET /v1/connect&#x60;, or the account of an &#x60;account.*&#x60; webhook.
403
403
  # @param [Hash] opts the optional parameters
404
404
  # @option opts [StartConnectionImportRequest] :start_connection_import_request
@@ -986,6 +986,76 @@ module Repull
986
986
  return data, status_code, headers
987
987
  end
988
988
 
989
+ # Publish a listing's content to tiket.com
990
+ # Send the listing's content to tiket.com (counterpart of `POST /v1/listings/{id}/publish/booking`): room content (name, occupancy, beds, facilities, photos, description), rate-plan policies and — for a property Repull created — the property content. The result lists each section that landed (`sections`) and each that did not, with tiket.com's reason (`errors`). tiket.com only accepts content once it has linked Repull's codes to the property: true for a property Repull created, and for an existing property after `POST /v1/channels/tiket/setup` `request-content-mapping`. Until then the call returns `409 tiket_content_not_mapped`. Prices and availability are not content: they are sent automatically, or with `POST /v1/channels/tiket/sync`. A listing mapped on more than one tiket.com property takes `hotelId`.
991
+ # @param id [Integer] Repull listing id.
992
+ # @param [Hash] opts the optional parameters
993
+ # @option opts [PublishListingTiketRequest] :publish_listing_tiket_request
994
+ # @return [ListingPublishTiketResponse]
995
+ def publish_listing_tiket(id, opts = {})
996
+ data, _status_code, _headers = publish_listing_tiket_with_http_info(id, opts)
997
+ data
998
+ end
999
+
1000
+ # Publish a listing&#39;s content to tiket.com
1001
+ # Send the listing&#39;s content to tiket.com (counterpart of &#x60;POST /v1/listings/{id}/publish/booking&#x60;): room content (name, occupancy, beds, facilities, photos, description), rate-plan policies and — for a property Repull created — the property content. The result lists each section that landed (&#x60;sections&#x60;) and each that did not, with tiket.com&#39;s reason (&#x60;errors&#x60;). tiket.com only accepts content once it has linked Repull&#39;s codes to the property: true for a property Repull created, and for an existing property after &#x60;POST /v1/channels/tiket/setup&#x60; &#x60;request-content-mapping&#x60;. Until then the call returns &#x60;409 tiket_content_not_mapped&#x60;. Prices and availability are not content: they are sent automatically, or with &#x60;POST /v1/channels/tiket/sync&#x60;. A listing mapped on more than one tiket.com property takes &#x60;hotelId&#x60;.
1002
+ # @param id [Integer] Repull listing id.
1003
+ # @param [Hash] opts the optional parameters
1004
+ # @option opts [PublishListingTiketRequest] :publish_listing_tiket_request
1005
+ # @return [Array<(ListingPublishTiketResponse, Integer, Hash)>] ListingPublishTiketResponse data, response status code and response headers
1006
+ def publish_listing_tiket_with_http_info(id, opts = {})
1007
+ if @api_client.config.debugging
1008
+ @api_client.config.logger.debug 'Calling API: ListingsApi.publish_listing_tiket ...'
1009
+ end
1010
+ # verify the required parameter 'id' is set
1011
+ if @api_client.config.client_side_validation && id.nil?
1012
+ fail ArgumentError, "Missing the required parameter 'id' when calling ListingsApi.publish_listing_tiket"
1013
+ end
1014
+ # resource path
1015
+ local_var_path = '/v1/listings/{id}/publish/tiket'.sub('{id}', CGI.escape(id.to_s))
1016
+
1017
+ # query parameters
1018
+ query_params = opts[:query_params] || {}
1019
+
1020
+ # header parameters
1021
+ header_params = opts[:header_params] || {}
1022
+ # HTTP header 'Accept' (if needed)
1023
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
1024
+ # HTTP header 'Content-Type'
1025
+ content_type = @api_client.select_header_content_type(['application/json'])
1026
+ if !content_type.nil?
1027
+ header_params['Content-Type'] = content_type
1028
+ end
1029
+
1030
+ # form parameters
1031
+ form_params = opts[:form_params] || {}
1032
+
1033
+ # http body (model)
1034
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'publish_listing_tiket_request'])
1035
+
1036
+ # return_type
1037
+ return_type = opts[:debug_return_type] || 'ListingPublishTiketResponse'
1038
+
1039
+ # auth_names
1040
+ auth_names = opts[:debug_auth_names] || ['bearerAuth']
1041
+
1042
+ new_options = opts.merge(
1043
+ :operation => :"ListingsApi.publish_listing_tiket",
1044
+ :header_params => header_params,
1045
+ :query_params => query_params,
1046
+ :form_params => form_params,
1047
+ :body => post_body,
1048
+ :auth_names => auth_names,
1049
+ :return_type => return_type
1050
+ )
1051
+
1052
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
1053
+ if @api_client.config.debugging
1054
+ @api_client.config.logger.debug "API called: ListingsApi#publish_listing_tiket\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1055
+ end
1056
+ return data, status_code, headers
1057
+ end
1058
+
989
1059
  # Publish a listing to Airbnb
990
1060
  # Push a Repull listing's canonical content to Airbnb. Pass `airbnbConnectionId` to update an already-mapped Airbnb listing, or `hostId` to create a brand-new Airbnb listing under that host. **A publish is not one call to Airbnb.** It is up to eight independent ones — details, description, amenities, rooms, policies, photos, pricing, checkout_tasks — and each can fail on its own. `result.published` is true only when every attempted section landed; `result.sections` lists the ones that did and `result.errors[]` carries Airbnb's own reason, per section, for the ones that did not. **A partial publish is normal and is not rolled back**: what succeeded stays applied. Publish again once you have fixed the failing sections — a re-publish of an unchanged section is harmless. `result.live` is a different question from `result.published`. `published` is about CONTENT — every attempted section landed. `live` is about whether the listing takes bookings: it is true only when activation was actually performed and succeeded. A create can land all eight sections and still leave the listing inactive, because activation is skipped when instant-booking cannot be confirmed to be off — so `published: true` with `live: false` is a real and common outcome, and `result.warnings` says why. `live` is ABSENT, not `false`, when activation was never part of the operation: publishing to an already-mapped listing updates content and activates nothing. Only treat a listing as not-live when `live` is present and false. `result.warnings[]` lists steps that failed WITHOUT failing the publish — optional work the push carried on past. They were previously swallowed, so the only sign of one was a listing that was somehow not quite right afterwards. A publish can be `published: true` and still carry warnings; read them before concluding nothing needs doing. `result.lockedFields` names the fields Airbnb will not let this listing change at all. They are not retryable by anyone: Airbnb answers 200 and applies nothing. `GET /v1/channels/airbnb/listings/{id}` reports the same list up front. **Which fields this pushes** — title, description sections and house rules (English/primary locale), amenities, rooms and beds, photos, nightly price and fees, cancellation policy and guest controls, check-in/out times, quiet hours, property and room type, checkout tasks. **Not pushed by this endpoint:** non-primary locales (`PUT /v1/channels/airbnb/listings/{id}/descriptions`), guest-safety disclosures (`PUT …/safety-disclosures`), check-in method (`PUT …/details`), permits (`PUT …/permits`), and the calendar (`PUT …/availability`). `force: true` re-pushes every section, ignoring dirty-field tracking. Without it only the sections changed since the last successful publish are sent. Send `Idempotency-Key` to make a retry safe: a timeout on a publish otherwise leaves you unable to tell whether it ran. Returns `403 listing_inactive` when the listing is inactive. An inactive listing keeps syncing, but cannot be read or changed through the API until it is activated.
991
1061
  # @param id [Integer]
@@ -99,7 +99,7 @@ module Repull
99
99
  # @option opts [String] :q Case-insensitive substring search on name, street, or city.
100
100
  # @option opts [String] :status Filter by status. Default returns active only; pass &#x60;inactive&#x60; to invert or &#x60;all&#x60; to include both. Inactive properties carry identity fields only — &#x60;id&#x60;, &#x60;name&#x60;, &#x60;city&#x60;, &#x60;status&#x60;, &#x60;inactiveReason&#x60; (&#x60;plan_limit&#x60;, &#x60;unlisted_on_airbnb&#x60; or &#x60;deactivated&#x60;), &#x60;lifecycleStatus&#x60;, &#x60;channels&#x60; and &#x60;updatedAt&#x60; — never &#x60;address&#x60; or &#x60;currency&#x60;. (default to 'active')
101
101
  # @option opts [String] :lifecycle_status Filter by lifecycle status (e.g. &#x60;live&#x60;, &#x60;draft&#x60;, &#x60;archived&#x60;). Pass &#x60;all&#x60; to disable the filter.
102
- # @option opts [String] :channel Filter to properties with an active link on the given OTA/channel (airbnb, booking, vrbo). Omit to include every channel. Each property also returns a &#x60;channels&#x60; array listing the OTAs it is published on.
102
+ # @option opts [String] :channel Filter to properties with an active link on the given OTA/channel (airbnb, booking, vrbo, tiket). Omit to include every channel. Each property also returns a &#x60;channels&#x60; array listing the OTAs it is published on.
103
103
  # @option opts [Time] :updated_since Incremental sync: return only records whose &#x60;updatedAt&#x60; is at or after this instant. This is the only filter on record **mutation** time — every &#x60;check_*&#x60; filter targets guest **stay** dates. **Accepted formats.** ISO 8601, with &#x60;Z&#x60; or a numeric offset — both work: - &#x60;2026-08-01T00:00:00Z&#x60; - &#x60;2026-08-01T00:00:00.123Z&#x60; - &#x60;2026-08-01T00:00:00+00:00&#x60; - &#x60;2026-08-01T02:30:00-07:00&#x60; (offset colon optional: &#x60;-0700&#x60;) - &#x60;2026-08-01T00:00&#x60; (seconds optional) - &#x60;2026-08-01T00:00:00&#x60; — no zone designator, interpreted as **UTC** - &#x60;2026-08-01&#x60; — date only, means midnight UTC Anything else returns 422 &#x60;invalid_params&#x60; naming the field; the value is never silently ignored. **Ordering changes when you pass this.** Results are ordered &#x60;updatedAt ASC, id ASC&#x60; (instead of the endpoint default) and the cursor keys on the same pair. That is required for correctness: under the default ordering a record amended mid-walk can move behind the cursor and never be emitted — which is exactly the event you are polling for. Ascending mutation time is monotonic with the cursor, so anything touched during a walk resurfaces later in it or on the next poll. **Cursors are not interchangeable between the two orderings.** Keep &#x60;updated_since&#x60; on every page of an incremental walk; replaying a cursor from the other ordering returns 422 rather than a page that silently skips rows. **Watermark.** The bound is inclusive (&#x60;updatedAt &gt;&#x3D; value&#x60;), so the last row of the final page is the watermark for the next poll — re-polling with it re-emits that row. Delivery is at-least-once; upsert by &#x60;id&#x60;.
104
104
  # @option opts [Boolean] :include_total When &#x60;true&#x60; (default), the response&#39;s &#x60;pagination.total&#x60; carries the count of rows matching the current filter, across all pages. Pass &#x60;false&#x60; to skip the count for very large workspaces where the per-page COUNT(*) cost matters. (default to true)
105
105
  # @return [PropertyListResponse]
@@ -118,7 +118,7 @@ module Repull
118
118
  # @option opts [String] :q Case-insensitive substring search on name, street, or city.
119
119
  # @option opts [String] :status Filter by status. Default returns active only; pass &#x60;inactive&#x60; to invert or &#x60;all&#x60; to include both. Inactive properties carry identity fields only — &#x60;id&#x60;, &#x60;name&#x60;, &#x60;city&#x60;, &#x60;status&#x60;, &#x60;inactiveReason&#x60; (&#x60;plan_limit&#x60;, &#x60;unlisted_on_airbnb&#x60; or &#x60;deactivated&#x60;), &#x60;lifecycleStatus&#x60;, &#x60;channels&#x60; and &#x60;updatedAt&#x60; — never &#x60;address&#x60; or &#x60;currency&#x60;. (default to 'active')
120
120
  # @option opts [String] :lifecycle_status Filter by lifecycle status (e.g. &#x60;live&#x60;, &#x60;draft&#x60;, &#x60;archived&#x60;). Pass &#x60;all&#x60; to disable the filter.
121
- # @option opts [String] :channel Filter to properties with an active link on the given OTA/channel (airbnb, booking, vrbo). Omit to include every channel. Each property also returns a &#x60;channels&#x60; array listing the OTAs it is published on.
121
+ # @option opts [String] :channel Filter to properties with an active link on the given OTA/channel (airbnb, booking, vrbo, tiket). Omit to include every channel. Each property also returns a &#x60;channels&#x60; array listing the OTAs it is published on.
122
122
  # @option opts [Time] :updated_since Incremental sync: return only records whose &#x60;updatedAt&#x60; is at or after this instant. This is the only filter on record **mutation** time — every &#x60;check_*&#x60; filter targets guest **stay** dates. **Accepted formats.** ISO 8601, with &#x60;Z&#x60; or a numeric offset — both work: - &#x60;2026-08-01T00:00:00Z&#x60; - &#x60;2026-08-01T00:00:00.123Z&#x60; - &#x60;2026-08-01T00:00:00+00:00&#x60; - &#x60;2026-08-01T02:30:00-07:00&#x60; (offset colon optional: &#x60;-0700&#x60;) - &#x60;2026-08-01T00:00&#x60; (seconds optional) - &#x60;2026-08-01T00:00:00&#x60; — no zone designator, interpreted as **UTC** - &#x60;2026-08-01&#x60; — date only, means midnight UTC Anything else returns 422 &#x60;invalid_params&#x60; naming the field; the value is never silently ignored. **Ordering changes when you pass this.** Results are ordered &#x60;updatedAt ASC, id ASC&#x60; (instead of the endpoint default) and the cursor keys on the same pair. That is required for correctness: under the default ordering a record amended mid-walk can move behind the cursor and never be emitted — which is exactly the event you are polling for. Ascending mutation time is monotonic with the cursor, so anything touched during a walk resurfaces later in it or on the next poll. **Cursors are not interchangeable between the two orderings.** Keep &#x60;updated_since&#x60; on every page of an incremental walk; replaying a cursor from the other ordering returns 422 rather than a page that silently skips rows. **Watermark.** The bound is inclusive (&#x60;updatedAt &gt;&#x3D; value&#x60;), so the last row of the final page is the watermark for the next poll — re-polling with it re-emits that row. Delivery is at-least-once; upsert by &#x60;id&#x60;.
123
123
  # @option opts [Boolean] :include_total When &#x60;true&#x60; (default), the response&#39;s &#x60;pagination.total&#x60; carries the count of rows matching the current filter, across all pages. Pass &#x60;false&#x60; to skip the count for very large workspaces where the per-page COUNT(*) cost matters. (default to true)
124
124
  # @return [Array<(PropertyListResponse, Integer, Hash)>] PropertyListResponse data, response status code and response headers
@@ -146,7 +146,7 @@ module Repull
146
146
  if @api_client.config.client_side_validation && opts[:'status'] && !allowable_values.include?(opts[:'status'])
147
147
  fail ArgumentError, "invalid value for \"status\", must be one of #{allowable_values}"
148
148
  end
149
- allowable_values = ["airbnb", "booking", "vrbo"]
149
+ allowable_values = ["airbnb", "booking", "vrbo", "tiket"]
150
150
  if @api_client.config.client_side_validation && opts[:'channel'] && !allowable_values.include?(opts[:'channel'])
151
151
  fail ArgumentError, "invalid value for \"channel\", must be one of #{allowable_values}"
152
152
  end