repull 0.2.19 → 0.2.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/repull/models/reservation.rb +2 -2
- data/lib/repull/version.rb +1 -1
- data/openapi/v1.json +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 71d3ad6c9468a7b360f86f98812fba7773eb3237af66ad61ada50df72db13f72
|
|
4
|
+
data.tar.gz: '09cb8aa5cc955b5e6ebf5250261c625a27072c45c04a6552775a8b7ffe0faeb8'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ac80b60656604b2b775998387d999e7b36f64ac5706b6311b44d67f4f4c642e223a8d3124f4ce6d3a38b375a33a6b39c94bc9e241cb505d3bdc295adfa438401
|
|
7
|
+
data.tar.gz: 92346a3067ed2b39810fe08d3190b5ccc6c4feb30b02c5ba34068ef80878c5c38ca216eaf21803279b195cd1f9be1805a021df2ce1bbcedb96d2ad31e29e6442
|
|
@@ -35,10 +35,10 @@ module Repull
|
|
|
35
35
|
# Local check-out time for this stay, `HH:MM` on a 24-hour clock in the property's own timezone. Pair with `checkOut` to schedule the turnover clean. `null` when unknown. This is the same field `PATCH /v1/reservations/{id}` writes.
|
|
36
36
|
attr_accessor :check_out_time
|
|
37
37
|
|
|
38
|
-
# Lifecycle status. The API normalises a multi-decade internal taxonomy down to these four buckets, so the value you receive is always one of the enum constants. `completed` is derived from `checkOut < today`. A `pending` booking request the channel already let lapse — Airbnb expires an unanswered request 24 hours after the guest asks, and no request can be answered once its check-in has passed — is reported as `cancelled` with `statusDetail: \"request_expired\"`, even when the channel never told us.
|
|
38
|
+
# Lifecycle status. The API normalises a multi-decade internal taxonomy down to these four buckets, so the value you receive is always one of the enum constants. `completed` is derived from `checkOut < today`. A `pending` booking request the channel already let lapse — Airbnb expires an unanswered request 24 hours after the guest asks, and no request can be answered once its check-in has passed — is reported as `cancelled` with `statusDetail: \"request_expired\"`, even when the channel never told us. Every `cancelled` reservation says how it ended in `statusDetail` when the channel tells us.
|
|
39
39
|
attr_accessor :status
|
|
40
40
|
|
|
41
|
-
#
|
|
41
|
+
# On a `cancelled` reservation: how it ended. `request_expired` — a booking request nobody answered in time (Airbnb's 24-hour window passed, or the check-in did), whether the channel reported it or we derived it. `declined` — the host declined the request. `request_voided` — the request was withdrawn or voided before anyone answered it. `verification_failed` — the guest failed Airbnb's identity verification. `hold_voided` — Airbnb voided a booking it was holding for the guest's payment or verification. `cancelled_by_guest` / `cancelled_by_host` / `cancelled_by_platform` — a booking cancelled by that party (`platform` is the channel itself, e.g. Airbnb support). Matches what the webhooks report for the same change. Absent on every other status, and on a cancellation whose channel gives no reason.
|
|
42
42
|
attr_accessor :status_detail
|
|
43
43
|
|
|
44
44
|
# Why a `pending` reservation is pending — who has to act next. `host_approval`: a booking request the host must accept or decline (see `respondBy`). `guest_payment`: Airbnb is waiting for the guest to pay. `guest_verification`: Airbnb is holding the booking while the guest completes identity verification. The last two need no action from the host, and Airbnb does not publish a deadline for them. Present only while `status` is `pending`; when it changes you receive `reservation.updated` with the previous raw status in `previousAttributes.status`, even if `status` stays `pending`.
|
data/lib/repull/version.rb
CHANGED
data/openapi/v1.json
CHANGED
|
@@ -569,12 +569,12 @@
|
|
|
569
569
|
"status": {
|
|
570
570
|
"type": "string",
|
|
571
571
|
"example": "confirmed",
|
|
572
|
-
"description": "Lifecycle status. The API normalises a multi-decade internal taxonomy down to these four buckets, so the value you receive is always one of the enum constants. `completed` is derived from `checkOut < today`. A `pending` booking request the channel already let lapse \u2014 Airbnb expires an unanswered request 24 hours after the guest asks, and no request can be answered once its check-in has passed \u2014 is reported as `cancelled` with `statusDetail: \"request_expired\"`, even when the channel never told us."
|
|
572
|
+
"description": "Lifecycle status. The API normalises a multi-decade internal taxonomy down to these four buckets, so the value you receive is always one of the enum constants. `completed` is derived from `checkOut < today`. A `pending` booking request the channel already let lapse \u2014 Airbnb expires an unanswered request 24 hours after the guest asks, and no request can be answered once its check-in has passed \u2014 is reported as `cancelled` with `statusDetail: \"request_expired\"`, even when the channel never told us. Every `cancelled` reservation says how it ended in `statusDetail` when the channel tells us."
|
|
573
573
|
},
|
|
574
574
|
"statusDetail": {
|
|
575
575
|
"type": "string",
|
|
576
|
-
"description": "
|
|
577
|
-
"example": "
|
|
576
|
+
"description": "On a `cancelled` reservation: how it ended. `request_expired` \u2014 a booking request nobody answered in time (Airbnb's 24-hour window passed, or the check-in did), whether the channel reported it or we derived it. `declined` \u2014 the host declined the request. `request_voided` \u2014 the request was withdrawn or voided before anyone answered it. `verification_failed` \u2014 the guest failed Airbnb's identity verification. `hold_voided` \u2014 Airbnb voided a booking it was holding for the guest's payment or verification. `cancelled_by_guest` / `cancelled_by_host` / `cancelled_by_platform` \u2014 a booking cancelled by that party (`platform` is the channel itself, e.g. Airbnb support). Matches what the webhooks report for the same change. Absent on every other status, and on a cancellation whose channel gives no reason.",
|
|
577
|
+
"example": "declined"
|
|
578
578
|
},
|
|
579
579
|
"pendingReason": {
|
|
580
580
|
"type": "string",
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: repull
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.20
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ivan Nikolov
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-09-
|
|
11
|
+
date: 2026-09-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|