repull 0.2.46 → 0.2.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/repull/api/booking_com_api.rb +4 -4
- data/lib/repull/api/connect_api.rb +6 -6
- data/lib/repull/api/connections_api.rb +70 -0
- data/lib/repull/api/listings_api.rb +4 -4
- data/lib/repull/models/booking_property_action_request.rb +13 -3
- data/lib/repull/models/booking_property_action_response.rb +33 -19
- data/lib/repull/models/booking_property_open_result.rb +264 -0
- data/lib/repull/models/connect_session_abandoned_payload.rb +24 -2
- data/lib/repull/models/connect_status.rb +1 -1
- data/lib/repull/models/connect_status_accounts_inner.rb +24 -2
- data/lib/repull/models/connection.rb +2 -2
- data/lib/repull/models/listing_active_response.rb +16 -4
- data/lib/repull/models/listing_status_batch_response.rb +16 -4
- data/lib/repull/models/map_connect_booking_rooms_response_property_status.rb +3 -3
- data/lib/repull/models/start_connection_import202_response.rb +147 -0
- data/lib/repull/models/start_connection_import202_response_data.rb +269 -0
- data/lib/repull/models/start_connection_import_request.rb +184 -0
- data/lib/repull/models/submit_vrbo_credentials_request.rb +48 -19
- data/lib/repull/models/vrbo_login_request.rb +2 -2
- data/lib/repull/version.rb +1 -1
- data/lib/repull.rb +4 -0
- data/openapi/v1.json +224 -25
- metadata +6 -2
|
@@ -18,14 +18,22 @@ module Repull
|
|
|
18
18
|
# Connect session id from `POST /v1/connect/vrbo`.
|
|
19
19
|
attr_accessor :session_id
|
|
20
20
|
|
|
21
|
-
#
|
|
22
|
-
attr_accessor :
|
|
21
|
+
# The host's Vrbo advertiser id. Repull mints the Basic-Auth pair for it, which the host pastes into Vrbo Partner Central.
|
|
22
|
+
attr_accessor :advertiser_external_id
|
|
23
|
+
|
|
24
|
+
# Optional. Vrbo Partner Central sets this itself.
|
|
25
|
+
attr_accessor :endpoint_url
|
|
26
|
+
|
|
27
|
+
# Replace the advertiser's existing password and return the new one. The old password stops working.
|
|
28
|
+
attr_accessor :rotate
|
|
23
29
|
|
|
24
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
25
31
|
def self.attribute_map
|
|
26
32
|
{
|
|
27
33
|
:'session_id' => :'sessionId',
|
|
28
|
-
:'
|
|
34
|
+
:'advertiser_external_id' => :'advertiserExternalId',
|
|
35
|
+
:'endpoint_url' => :'endpointUrl',
|
|
36
|
+
:'rotate' => :'rotate'
|
|
29
37
|
}
|
|
30
38
|
end
|
|
31
39
|
|
|
@@ -43,7 +51,9 @@ module Repull
|
|
|
43
51
|
def self.openapi_types
|
|
44
52
|
{
|
|
45
53
|
:'session_id' => :'String',
|
|
46
|
-
:'
|
|
54
|
+
:'advertiser_external_id' => :'String',
|
|
55
|
+
:'endpoint_url' => :'String',
|
|
56
|
+
:'rotate' => :'Boolean'
|
|
47
57
|
}
|
|
48
58
|
end
|
|
49
59
|
|
|
@@ -73,12 +83,18 @@ module Repull
|
|
|
73
83
|
self.session_id = attributes[:'session_id']
|
|
74
84
|
end
|
|
75
85
|
|
|
76
|
-
if attributes.key?(:'
|
|
77
|
-
|
|
78
|
-
self.credentials = value
|
|
79
|
-
end
|
|
86
|
+
if attributes.key?(:'advertiser_external_id')
|
|
87
|
+
self.advertiser_external_id = attributes[:'advertiser_external_id']
|
|
80
88
|
else
|
|
81
|
-
self.
|
|
89
|
+
self.advertiser_external_id = nil
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
if attributes.key?(:'endpoint_url')
|
|
93
|
+
self.endpoint_url = attributes[:'endpoint_url']
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
if attributes.key?(:'rotate')
|
|
97
|
+
self.rotate = attributes[:'rotate']
|
|
82
98
|
end
|
|
83
99
|
end
|
|
84
100
|
|
|
@@ -87,8 +103,13 @@ module Repull
|
|
|
87
103
|
def list_invalid_properties
|
|
88
104
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
89
105
|
invalid_properties = Array.new
|
|
90
|
-
if @
|
|
91
|
-
invalid_properties.push('invalid value for "
|
|
106
|
+
if @advertiser_external_id.nil?
|
|
107
|
+
invalid_properties.push('invalid value for "advertiser_external_id", advertiser_external_id cannot be nil.')
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
pattern = Regexp.new(/^[A-Za-z0-9_-]{1,255}$/)
|
|
111
|
+
if @advertiser_external_id !~ pattern
|
|
112
|
+
invalid_properties.push("invalid value for \"advertiser_external_id\", must conform to the pattern #{pattern}.")
|
|
92
113
|
end
|
|
93
114
|
|
|
94
115
|
invalid_properties
|
|
@@ -98,18 +119,24 @@ module Repull
|
|
|
98
119
|
# @return true if the model is valid
|
|
99
120
|
def valid?
|
|
100
121
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
101
|
-
return false if @
|
|
122
|
+
return false if @advertiser_external_id.nil?
|
|
123
|
+
return false if @advertiser_external_id !~ Regexp.new(/^[A-Za-z0-9_-]{1,255}$/)
|
|
102
124
|
true
|
|
103
125
|
end
|
|
104
126
|
|
|
105
127
|
# Custom attribute writer method with validation
|
|
106
|
-
# @param [Object]
|
|
107
|
-
def
|
|
108
|
-
if
|
|
109
|
-
fail ArgumentError, '
|
|
128
|
+
# @param [Object] advertiser_external_id Value to be assigned
|
|
129
|
+
def advertiser_external_id=(advertiser_external_id)
|
|
130
|
+
if advertiser_external_id.nil?
|
|
131
|
+
fail ArgumentError, 'advertiser_external_id cannot be nil'
|
|
132
|
+
end
|
|
133
|
+
|
|
134
|
+
pattern = Regexp.new(/^[A-Za-z0-9_-]{1,255}$/)
|
|
135
|
+
if advertiser_external_id !~ pattern
|
|
136
|
+
fail ArgumentError, "invalid value for \"advertiser_external_id\", must conform to the pattern #{pattern}."
|
|
110
137
|
end
|
|
111
138
|
|
|
112
|
-
@
|
|
139
|
+
@advertiser_external_id = advertiser_external_id
|
|
113
140
|
end
|
|
114
141
|
|
|
115
142
|
# Checks equality by comparing each attribute.
|
|
@@ -118,7 +145,9 @@ module Repull
|
|
|
118
145
|
return true if self.equal?(o)
|
|
119
146
|
self.class == o.class &&
|
|
120
147
|
session_id == o.session_id &&
|
|
121
|
-
|
|
148
|
+
advertiser_external_id == o.advertiser_external_id &&
|
|
149
|
+
endpoint_url == o.endpoint_url &&
|
|
150
|
+
rotate == o.rotate
|
|
122
151
|
end
|
|
123
152
|
|
|
124
153
|
# @see the `==` method
|
|
@@ -130,7 +159,7 @@ module Repull
|
|
|
130
159
|
# Calculates hash code according to all attributes.
|
|
131
160
|
# @return [Integer] Hash code
|
|
132
161
|
def hash
|
|
133
|
-
[session_id,
|
|
162
|
+
[session_id, advertiser_external_id, endpoint_url, rotate].hash
|
|
134
163
|
end
|
|
135
164
|
|
|
136
165
|
# Builds the object from hash
|
|
@@ -164,7 +164,7 @@ module Repull
|
|
|
164
164
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
165
165
|
return false if @session_id.nil?
|
|
166
166
|
return false if @action.nil?
|
|
167
|
-
action_validator = EnumAttributeValidator.new('String', ["login", "otp"])
|
|
167
|
+
action_validator = EnumAttributeValidator.new('String', ["login", "otp", "resend"])
|
|
168
168
|
return false unless action_validator.valid?(@action)
|
|
169
169
|
access_type_validator = EnumAttributeValidator.new('String', ["full_access", "messaging"])
|
|
170
170
|
return false unless access_type_validator.valid?(@access_type)
|
|
@@ -184,7 +184,7 @@ module Repull
|
|
|
184
184
|
# Custom attribute writer method checking allowed values (enum).
|
|
185
185
|
# @param [Object] action Object to be assigned
|
|
186
186
|
def action=(action)
|
|
187
|
-
validator = EnumAttributeValidator.new('String', ["login", "otp"])
|
|
187
|
+
validator = EnumAttributeValidator.new('String', ["login", "otp", "resend"])
|
|
188
188
|
unless validator.valid?(action)
|
|
189
189
|
fail ArgumentError, "invalid value for \"action\", must be one of #{validator.allowable_values}."
|
|
190
190
|
end
|
data/lib/repull/version.rb
CHANGED
data/lib/repull.rb
CHANGED
|
@@ -139,6 +139,7 @@ require 'repull/models/booking_property'
|
|
|
139
139
|
require 'repull/models/booking_property_action_request'
|
|
140
140
|
require 'repull/models/booking_property_action_response'
|
|
141
141
|
require 'repull/models/booking_property_listings_inner'
|
|
142
|
+
require 'repull/models/booking_property_open_result'
|
|
142
143
|
require 'repull/models/booking_publish_result'
|
|
143
144
|
require 'repull/models/booking_publish_section_error'
|
|
144
145
|
require 'repull/models/booking_rate_write_occupancy'
|
|
@@ -701,6 +702,9 @@ require 'repull/models/set_kv_request'
|
|
|
701
702
|
require 'repull/models/set_listing_markup_request'
|
|
702
703
|
require 'repull/models/start_booking_extranet_login200_response'
|
|
703
704
|
require 'repull/models/start_booking_extranet_login_request'
|
|
705
|
+
require 'repull/models/start_connection_import202_response'
|
|
706
|
+
require 'repull/models/start_connection_import202_response_data'
|
|
707
|
+
require 'repull/models/start_connection_import_request'
|
|
704
708
|
require 'repull/models/submit_beds24_credentials200_response'
|
|
705
709
|
require 'repull/models/submit_beds24_credentials_request'
|
|
706
710
|
require 'repull/models/submit_bookingsync_credentials_request'
|
data/openapi/v1.json
CHANGED
|
@@ -1831,13 +1831,13 @@
|
|
|
1831
1831
|
"$ref": "#/components/schemas/ConnectionAction"
|
|
1832
1832
|
}
|
|
1833
1833
|
],
|
|
1834
|
-
"description": "Set when the host must do something before the connection works (e.g. grant the invited Booking.com Extranet user full access). `null` when no action is pending."
|
|
1834
|
+
"description": "Set when the host must do something before the connection works (e.g. grant the invited Booking.com Extranet user full access), or has units still to map (`reason: needs_mapping` \u2014 Booking.com Extranet rooms, Vrbo units; `required` is false when only some Vrbo units are left). `null` when no action is pending."
|
|
1835
1835
|
},
|
|
1836
1836
|
"fixUrl": {
|
|
1837
1837
|
"type": "string",
|
|
1838
1838
|
"format": "uri",
|
|
1839
1839
|
"nullable": true,
|
|
1840
|
-
"description": "Durable link that reopens the hosted Connect flow bound to this account on the fix screen \u2014 send the host here to resolve `action`. Present
|
|
1840
|
+
"description": "Durable link that reopens the hosted Connect flow bound to this account on the fix screen \u2014 send the host here to resolve `action`. For `needs_mapping` it opens the unit mapping directly (no new sign-in). Present whenever `action` is set; `null` otherwise."
|
|
1841
1841
|
},
|
|
1842
1842
|
"import": {
|
|
1843
1843
|
"allOf": [
|
|
@@ -2517,14 +2517,14 @@
|
|
|
2517
2517
|
},
|
|
2518
2518
|
"accounts": {
|
|
2519
2519
|
"type": "array",
|
|
2520
|
-
"description": "
|
|
2520
|
+
"description": "One entry per connected account, for every provider: Airbnb, every host account connected (including ones since disconnected), each with its own `accessType`; Booking.com, every hotel (`externalAccountId` is the hotel id); Vrbo, every sign-in; Booking.com Extranet, every hotel login; a PMS, its one account. Pass `externalAccountId` as `accountId` to `DELETE /v1/connect/{provider}` to disconnect one. The top-level fields describe one record and stay for existing integrations; show `accounts[]` to list what is connected. Vrbo sign-ins also carry `accessType` and `import` (a `VrboImportStatus`), with a top-level `dataFreshness` on `GET /v1/connect/vrbo-login`.",
|
|
2521
2521
|
"items": {
|
|
2522
2522
|
"type": "object",
|
|
2523
2523
|
"properties": {
|
|
2524
2524
|
"externalAccountId": {
|
|
2525
2525
|
"type": "string",
|
|
2526
2526
|
"nullable": true,
|
|
2527
|
-
"description": "Airbnb: the host id, as a string (it can exceed 2^53). Vrbo: Vrbo's own account id; `null` until it is captured at sign-in.",
|
|
2527
|
+
"description": "Airbnb: the host id, as a string (it can exceed 2^53). Booking.com: the hotel id. Vrbo: Vrbo's own account id; `null` until it is captured at sign-in. Extranet: the Booking.com account id. PMS: the PMS account id.",
|
|
2528
2528
|
"example": "79730216"
|
|
2529
2529
|
},
|
|
2530
2530
|
"connectionId": {
|
|
@@ -2566,6 +2566,16 @@
|
|
|
2566
2566
|
],
|
|
2567
2567
|
"description": "What this account may do. Airbnb: the tier the host's token was granted with (`read_only`, `messaging`, `full_access`). Vrbo: `messaging` (bookings and messages, no calendar push) or `full_access` (also pushes prices and availability). `null` when unknown."
|
|
2568
2568
|
},
|
|
2569
|
+
"action": {
|
|
2570
|
+
"type": "object",
|
|
2571
|
+
"nullable": true,
|
|
2572
|
+
"description": "Booking.com: `{ required, reason: \"needs_mapping\", message }` while a room of this hotel is matched to no listing (nothing syncs for that room). Null when nothing is needed."
|
|
2573
|
+
},
|
|
2574
|
+
"fixUrl": {
|
|
2575
|
+
"type": "string",
|
|
2576
|
+
"nullable": true,
|
|
2577
|
+
"description": "Booking.com: a link that opens room mapping for this hotel (no new Connect session needed). Send the host to it when `action` is set."
|
|
2578
|
+
},
|
|
2569
2579
|
"notificationEmail": {
|
|
2570
2580
|
"type": "string",
|
|
2571
2581
|
"nullable": true,
|
|
@@ -4481,9 +4491,21 @@
|
|
|
4481
4491
|
"externalAccountId": {
|
|
4482
4492
|
"type": "string",
|
|
4483
4493
|
"nullable": true,
|
|
4484
|
-
"description": "Booking.com: the Hotel ID the user entered while waiting for the Extranet approval.",
|
|
4494
|
+
"description": "Booking.com: the Hotel ID the user entered while waiting for the Extranet approval. Booking.com Extranet in `awaiting_room_mapping`: the Booking.com account id of the connected login.",
|
|
4485
4495
|
"example": "17168363"
|
|
4486
4496
|
},
|
|
4497
|
+
"connectionId": {
|
|
4498
|
+
"type": "string",
|
|
4499
|
+
"nullable": true,
|
|
4500
|
+
"description": "Booking.com Extranet in `awaiting_room_mapping`: the connection record of the connected login (the `X-Account-Id`). Absent otherwise.",
|
|
4501
|
+
"example": "1701"
|
|
4502
|
+
},
|
|
4503
|
+
"fixUrl": {
|
|
4504
|
+
"type": "string",
|
|
4505
|
+
"format": "uri",
|
|
4506
|
+
"nullable": true,
|
|
4507
|
+
"description": "Booking.com Extranet in `awaiting_room_mapping`: a durable link that reopens Connect on the room-mapping step for this login. Send the host there to finish. `null` when there is nothing to resume."
|
|
4508
|
+
},
|
|
4487
4509
|
"nextStep": {
|
|
4488
4510
|
"type": "string",
|
|
4489
4511
|
"description": "What to tell the user, in plain English."
|
|
@@ -9675,6 +9697,53 @@
|
|
|
9675
9697
|
"active": {
|
|
9676
9698
|
"type": "boolean",
|
|
9677
9699
|
"description": "The resulting active state after the toggle."
|
|
9700
|
+
},
|
|
9701
|
+
"bookingProperties": {
|
|
9702
|
+
"type": "array",
|
|
9703
|
+
"description": "Only when activating: what happened to the Booking.com properties this listing is mapped to. Activating a listing opens its Booking.com property if Booking.com still has it in a build stage. Empty when the listing has no Booking.com property.",
|
|
9704
|
+
"items": {
|
|
9705
|
+
"$ref": "#/components/schemas/BookingPropertyOpenResult"
|
|
9706
|
+
}
|
|
9707
|
+
}
|
|
9708
|
+
}
|
|
9709
|
+
},
|
|
9710
|
+
"BookingPropertyOpenResult": {
|
|
9711
|
+
"type": "object",
|
|
9712
|
+
"required": [
|
|
9713
|
+
"hotelId",
|
|
9714
|
+
"listingIds",
|
|
9715
|
+
"outcome",
|
|
9716
|
+
"bookingStatus",
|
|
9717
|
+
"blockers"
|
|
9718
|
+
],
|
|
9719
|
+
"description": "What happened to one Booking.com property when its listing was activated. Repull opens a Booking.com property automatically only while every listing mapped to it is active. Keep a listing that is not ready inactive and its property is never opened; activate it and Repull opens the property, provided Booking.com's own readiness check passes.",
|
|
9720
|
+
"properties": {
|
|
9721
|
+
"hotelId": {
|
|
9722
|
+
"type": "string",
|
|
9723
|
+
"description": "The Booking.com property (hotel id)."
|
|
9724
|
+
},
|
|
9725
|
+
"listingIds": {
|
|
9726
|
+
"type": "array",
|
|
9727
|
+
"items": {
|
|
9728
|
+
"type": "string"
|
|
9729
|
+
},
|
|
9730
|
+
"description": "The listings in this request that are mapped to the property."
|
|
9731
|
+
},
|
|
9732
|
+
"outcome": {
|
|
9733
|
+
"type": "string",
|
|
9734
|
+
"description": "`opened`: Booking.com's check passed and the property is now open. `refused`: Booking.com's check did not pass \u2014 `blockers` has its own reasons \u2014 and nothing changed. `not_needed`: Booking.com already has the property past its build stage (open, or closed by you), so it was left alone; use the `open` action on `POST /v1/channels/booking/properties/{id}` to reopen a closed property. `listing_inactive`: another listing on the same property is still inactive. `no_listing`: no listing is mapped to the property. `failed`: Booking.com did not answer; nothing changed \u2014 send the request again."
|
|
9735
|
+
},
|
|
9736
|
+
"bookingStatus": {
|
|
9737
|
+
"type": "string",
|
|
9738
|
+
"nullable": true,
|
|
9739
|
+
"description": "Booking.com's status for the property before anything was sent, e.g. `XML: Ready to open`, when it was read."
|
|
9740
|
+
},
|
|
9741
|
+
"blockers": {
|
|
9742
|
+
"type": "array",
|
|
9743
|
+
"items": {
|
|
9744
|
+
"type": "string"
|
|
9745
|
+
},
|
|
9746
|
+
"description": "Booking.com's own reasons it will not open the property, e.g. \"Room 1554900501 does not have kitchen or kitchenette\". Empty unless `outcome` is `refused`."
|
|
9678
9747
|
}
|
|
9679
9748
|
}
|
|
9680
9749
|
},
|
|
@@ -9728,6 +9797,13 @@
|
|
|
9728
9797
|
"type": "string"
|
|
9729
9798
|
},
|
|
9730
9799
|
"description": "Listing ids that were already in the requested state, in request order."
|
|
9800
|
+
},
|
|
9801
|
+
"bookingProperties": {
|
|
9802
|
+
"type": "array",
|
|
9803
|
+
"description": "Only when `active` is true: one entry per Booking.com property the listings in the request are mapped to, saying whether it was opened. Every listing in the request counts, including those in `unchanged`, so sending `active: true` again retries an open Booking.com refused. Empty when none of the listings has a Booking.com property.",
|
|
9804
|
+
"items": {
|
|
9805
|
+
"$ref": "#/components/schemas/BookingPropertyOpenResult"
|
|
9806
|
+
}
|
|
9731
9807
|
}
|
|
9732
9808
|
}
|
|
9733
9809
|
},
|
|
@@ -16457,9 +16533,11 @@
|
|
|
16457
16533
|
"blocked",
|
|
16458
16534
|
"not_needed",
|
|
16459
16535
|
"status_unknown",
|
|
16460
|
-
"failed"
|
|
16536
|
+
"failed",
|
|
16537
|
+
"listing_inactive",
|
|
16538
|
+
"no_listing"
|
|
16461
16539
|
],
|
|
16462
|
-
"description": "`opened`: it was being built and is now open. `not_needed`: it was already past that stage. `blocked`: Booking.com will not open it yet \u2014 see `blockers`. `status_unknown`: its status could not be read. `failed`: Booking.com did not answer the open request."
|
|
16540
|
+
"description": "`opened`: it was being built and is now open. `not_needed`: it was already past that stage. `blocked`: Booking.com will not open it yet \u2014 see `blockers`. `status_unknown`: its status could not be read. `failed`: Booking.com did not answer the open request. `listing_inactive`: a listing mapped to the property is inactive, so it was not opened \u2014 activate it when it is ready and Repull opens the property. `no_listing`: no listing is mapped to it."
|
|
16463
16541
|
},
|
|
16464
16542
|
"statusBefore": {
|
|
16465
16543
|
"type": "string",
|
|
@@ -16994,11 +17072,15 @@
|
|
|
16994
17072
|
"required": [
|
|
16995
17073
|
"action"
|
|
16996
17074
|
],
|
|
16997
|
-
"description": "Take this listing's Booking.com property off sale
|
|
17075
|
+
"description": "Take this listing's Booking.com property off sale or put it back (`unlist` / `relist`), or open or close the property itself on Booking.com (`open` / `close`).",
|
|
16998
17076
|
"properties": {
|
|
16999
17077
|
"action": {
|
|
17000
17078
|
"type": "string",
|
|
17001
|
-
"description": "`unlist` closes the room's availability across the whole forward window, so the property stops selling. `relist` re-syncs the real calendar: dates that are genuinely blocked (a reservation, an owner stay) stay blocked, and only the closure `unlist` wrote lifts. They are not mirror images, and that is deliberate."
|
|
17079
|
+
"description": "`unlist` closes the room's availability across the whole forward window, so the property stops selling. `relist` re-syncs the real calendar: dates that are genuinely blocked (a reservation, an owner stay) stay blocked, and only the closure `unlist` wrote lifts. They are not mirror images, and that is deliberate.\n\n`open` runs Booking.com's readiness check and opens the property only if it passes \u2014 on a property that is not ready it changes nothing and answers `422 booking_rejected` with Booking.com's reasons in `blockers`. It opens a property Booking.com has in a build stage (`XML: Being built`, `XML: Ready to open`) or closed. `close` closes the property on Booking.com with `reason`."
|
|
17080
|
+
},
|
|
17081
|
+
"reason": {
|
|
17082
|
+
"type": "string",
|
|
17083
|
+
"description": "`close` only: the reason Booking.com records for closing the property. Default `PROPERTY_NOT_AVAILABLE`."
|
|
17002
17084
|
},
|
|
17003
17085
|
"hotelId": {
|
|
17004
17086
|
"type": "string",
|
|
@@ -17012,8 +17094,7 @@
|
|
|
17012
17094
|
"listingId",
|
|
17013
17095
|
"channel",
|
|
17014
17096
|
"action",
|
|
17015
|
-
"hotelId"
|
|
17016
|
-
"selling"
|
|
17097
|
+
"hotelId"
|
|
17017
17098
|
],
|
|
17018
17099
|
"properties": {
|
|
17019
17100
|
"listingId": {
|
|
@@ -17025,6 +17106,19 @@
|
|
|
17025
17106
|
"action": {
|
|
17026
17107
|
"type": "string"
|
|
17027
17108
|
},
|
|
17109
|
+
"propertyStatus": {
|
|
17110
|
+
"type": "string",
|
|
17111
|
+
"description": "`open` / `close` only: the property's state on Booking.com after the call."
|
|
17112
|
+
},
|
|
17113
|
+
"changed": {
|
|
17114
|
+
"type": "boolean",
|
|
17115
|
+
"description": "`open` / `close` only: false when the property was already in that state, so nothing was sent."
|
|
17116
|
+
},
|
|
17117
|
+
"bookingStatus": {
|
|
17118
|
+
"type": "string",
|
|
17119
|
+
"nullable": true,
|
|
17120
|
+
"description": "`open` / `close` only: Booking.com's status for the property before the call, e.g. `XML: Ready to open`."
|
|
17121
|
+
},
|
|
17028
17122
|
"hotelId": {
|
|
17029
17123
|
"type": "string",
|
|
17030
17124
|
"description": "The Booking.com property that was acted on. Always read it back \u2014 a listing can be mapped to several, and this states which one changed."
|
|
@@ -17036,7 +17130,7 @@
|
|
|
17036
17130
|
},
|
|
17037
17131
|
"selling": {
|
|
17038
17132
|
"type": "boolean",
|
|
17039
|
-
"description": "Whether the property is now on sale. **This is the state of the property on Booking.com, not of the listing in Repull** \u2014 `active` (what Repull bills and serves) is untouched by both actions and is deliberately not echoed here so the two can never be read as one field."
|
|
17133
|
+
"description": "`unlist` / `relist` only. Whether the property is now on sale. **This is the state of the property on Booking.com, not of the listing in Repull** \u2014 `active` (what Repull bills and serves) is untouched by both actions and is deliberately not echoed here so the two can never be read as one field."
|
|
17040
17134
|
}
|
|
17041
17135
|
}
|
|
17042
17136
|
},
|
|
@@ -20726,7 +20820,7 @@
|
|
|
20726
20820
|
"get": {
|
|
20727
20821
|
"operationId": "list_connections",
|
|
20728
20822
|
"summary": "List PMS/OTA connections",
|
|
20729
|
-
"description": "Returns every PMS and OTA connection in the workspace, each with its `status`.\n\n**Account ids.** `externalAccountId` is the platform's own account id (Airbnb host id, Booking.com hotel id, the Booking.com account id behind an Extranet login, the PMS account id; `null` when the platform does not give us one) and `id` is our connection record, the `X-Account-Id`.\n\n**Access level.** Every connection carries `accessType`: `read_only`, `messaging` or `full_access`, or `null` when unknown. Airbnb: the tier the host's token was granted with. Vrbo: bookings and messages only (`messaging`) or with the calendar push (`full_access`). Booking.com: always `full_access`. Booking.com Extranet: always `messaging` (reads reservations, messages and reviews and replies; never writes rates or availability). PMS: `read_only` when every write-policy switch is off, else `full_access`. See the `ConnectionAccessType` schema.\n\n**One entry per Booking.com Extranet login.** Each Booking.com account that invites the Repull user connects as its own login, with its own `externalAccountId` \u2014 the Booking.com account id (handle `booking_extranet:{externalAccountId}`). A new login adds an entry next to the existing ones and never replaces them
|
|
20823
|
+
"description": "Returns every PMS and OTA connection in the workspace, each with its `status`.\n\n**Account ids.** `externalAccountId` is the platform's own account id (Airbnb host id, Booking.com hotel id, the Booking.com account id behind an Extranet login, the PMS account id; `null` when the platform does not give us one) and `id` is our connection record, the `X-Account-Id`.\n\n**Access level.** Every connection carries `accessType`: `read_only`, `messaging` or `full_access`, or `null` when unknown. Airbnb: the tier the host's token was granted with. Vrbo: bookings and messages only (`messaging`) or with the calendar push (`full_access`). Booking.com: always `full_access`. Booking.com Extranet: always `messaging` (reads reservations, messages and reviews and replies; never writes rates or availability). PMS: `read_only` when every write-policy switch is off, else `full_access`. See the `ConnectionAccessType` schema.\n\n**One entry per Booking.com Extranet login.** Each Booking.com account that invites the Repull user connects as its own login, with its own `externalAccountId` \u2014 the Booking.com account id (handle `booking_extranet:{externalAccountId}`). A new login adds an entry next to the existing ones and never replaces them. Each login is its own connection with its own `id` (the `X-Account-Id`, and `account.id` in webhooks), and each login's listings, reservations, conversations and reviews stay under its own account (filter them with `?account=booking_extranet:{externalAccountId}`).\n\n**Spot connections that need attention.** A connection whose `status` is not `active` may need the host to do something before it works \u2014 most commonly a Booking.com Extranet connection where the invited user was granted only partial access (`status: \"needs_permissions\"`). A Smoobu connection still on a legacy single API key carries `action.reason: \"reauth_required\"` while its `status` is `active`: Smoobu stops accepting those keys on October 31, 2026, and `fixUrl` opens the form for a new API key + secret (the connection id stays the same). A Booking.com Extranet login whose rooms are imported but none matched to a listing carries `action.reason: \"needs_mapping\"` while its `status` is `active`: nothing syncs until the host maps the rooms, and `fixUrl` opens the room-mapping step. These connections carry two extra fields:\n\n- `action` \u2014 `{ required: true, reason, message }`. `reason` is a stable machine code (`needs_permissions`, `needs_mapping`, `reauth_required`); `message` is a host-facing one-liner describing what to do.\n- `fixUrl` \u2014 a durable link that reopens the hosted Connect flow **bound to that account, on the fix screen** (e.g. \"grant full access\" + a Re-check button). It is safe to store and show in your own dashboard.\n\n**Self-serve repair:** when `action.required` is true, surface a \"Fix\" button that opens `fixUrl` in a new tab (or embed it). The host resolves the issue (e.g. grants the user full access in Booking.com) and clicks Re-check; the import finishes on its own and the connection flips back to `active` \u2014 no re-invite, no support ticket. Poll this endpoint (or read it after the host returns) to confirm `action` has cleared.",
|
|
20730
20824
|
"tags": [
|
|
20731
20825
|
"Connect"
|
|
20732
20826
|
],
|
|
@@ -21794,7 +21888,7 @@
|
|
|
21794
21888
|
"post": {
|
|
21795
21889
|
"operationId": "submitVrboCredentials",
|
|
21796
21890
|
"summary": "Submit Vrbo credentials for a Connect session",
|
|
21797
|
-
"description": "Completes a credentials-pattern connection for Vrbo. Activation handshake \u2014 Repull mints the Basic-Auth pair the host pastes into Vrbo Partner Central.\n\nThe credentials are validated against Vrbo before anything is persisted, so an invalid pair returns `invalid_credentials` rather than creating a dead connection. On success the `pms_connections` row is written and the Connect session moves to its terminal state.\n\nNo API key required when called with a `sessionId` \u2014 the session is the capability token.",
|
|
21891
|
+
"description": "Completes a credentials-pattern connection for Vrbo. Activation handshake \u2014 Repull mints the Basic-Auth pair the host pastes into Vrbo Partner Central.\n\nThe credentials are validated against Vrbo before anything is persisted, so an invalid pair returns `invalid_credentials` rather than creating a dead connection. On success the `pms_connections` row is written and the Connect session moves to its terminal state.\n\nNo API key required when called with a `sessionId` \u2014 the session is the capability token.\n\n**Lost the password?** It is returned once. Send the same request with `\"rotate\": true` to replace it and get the new one back; the old password stops working, so paste the new one into Vrbo. Without `rotate`, a second request for the same advertiser returns `409 credentials_already_provisioned`.",
|
|
21798
21892
|
"tags": [
|
|
21799
21893
|
"Connect"
|
|
21800
21894
|
],
|
|
@@ -21809,14 +21903,22 @@
|
|
|
21809
21903
|
"type": "string",
|
|
21810
21904
|
"description": "Connect session id from `POST /v1/connect/vrbo`."
|
|
21811
21905
|
},
|
|
21812
|
-
"
|
|
21813
|
-
"type": "
|
|
21814
|
-
"
|
|
21815
|
-
"description": "
|
|
21906
|
+
"advertiserExternalId": {
|
|
21907
|
+
"type": "string",
|
|
21908
|
+
"pattern": "^[A-Za-z0-9_-]{1,255}$",
|
|
21909
|
+
"description": "The host's Vrbo advertiser id. Repull mints the Basic-Auth pair for it, which the host pastes into Vrbo Partner Central."
|
|
21910
|
+
},
|
|
21911
|
+
"endpointUrl": {
|
|
21912
|
+
"type": "string",
|
|
21913
|
+
"description": "Optional. Vrbo Partner Central sets this itself."
|
|
21914
|
+
},
|
|
21915
|
+
"rotate": {
|
|
21916
|
+
"type": "boolean",
|
|
21917
|
+
"description": "Replace the advertiser's existing password and return the new one. The old password stops working."
|
|
21816
21918
|
}
|
|
21817
21919
|
},
|
|
21818
21920
|
"required": [
|
|
21819
|
-
"
|
|
21921
|
+
"advertiserExternalId"
|
|
21820
21922
|
]
|
|
21821
21923
|
}
|
|
21822
21924
|
}
|
|
@@ -27850,7 +27952,7 @@
|
|
|
27850
27952
|
"patch": {
|
|
27851
27953
|
"operationId": "updateListingActive",
|
|
27852
27954
|
"summary": "Deactivate or reactivate a listing",
|
|
27853
|
-
"description": "Toggle a listing's active state. Send `{ \"active\": false }` to **deactivate** (exclude the listing from Repull) or `{ \"active\": true }` to **reactivate** it.\n\n\"Deactivate\" keeps the listing row \u2014 it is NOT a hard delete, and it NEVER touches the upstream channel (Airbnb / Hospitable / Booking.com). Repull only mutates its own copy of the inventory. Deactivating is the self-serve way to get back under the plan-listings cap without paying.\n\nReactivation respects the plan-listings cap: if activating this listing would push you over the cap for your tier, the call returns `402 listings_limit_exceeded` and the listing stays inactive. Deactivate another listing or upgrade first.\n\nIdempotent: setting a listing to the state it's already in returns 200.\n\nTo change many listings at once, all or nothing, use `POST /v1/listings/status`.",
|
|
27955
|
+
"description": "Toggle a listing's active state. Send `{ \"active\": false }` to **deactivate** (exclude the listing from Repull) or `{ \"active\": true }` to **reactivate** it.\n\n\"Deactivate\" keeps the listing row \u2014 it is NOT a hard delete, and it NEVER touches the upstream channel (Airbnb / Hospitable / Booking.com). Repull only mutates its own copy of the inventory. Activating opens the listing's Booking.com property if Booking.com still has it in a build stage and its check passes; `bookingProperties` in the response says what happened. Deactivating is the self-serve way to get back under the plan-listings cap without paying.\n\nReactivation respects the plan-listings cap: if activating this listing would push you over the cap for your tier, the call returns `402 listings_limit_exceeded` and the listing stays inactive. Deactivate another listing or upgrade first.\n\nIdempotent: setting a listing to the state it's already in returns 200.\n\nTo change many listings at once, all or nothing, use `POST /v1/listings/status`.",
|
|
27854
27956
|
"tags": [
|
|
27855
27957
|
"Listings"
|
|
27856
27958
|
],
|
|
@@ -29369,8 +29471,8 @@
|
|
|
29369
29471
|
},
|
|
29370
29472
|
"post": {
|
|
29371
29473
|
"operationId": "booking_property_action",
|
|
29372
|
-
"summary": "Take a property off sale / put it back (unlist/relist)",
|
|
29373
|
-
"description": "Stop this listing's Booking.com property being sold, or start it again. `id` is a **Repull listing id**, not a Booking.com hotel id, as on the GET.\n\n**Booking.com has no unlist, so this is an availability write.** Airbnb has a real deactivate; Booking.com does not. `unlist` closes the mapped room across the whole forward window, so the property stops selling. `relist` is not its mirror image: it re-syncs the true calendar, so dates that are genuinely blocked (a reservation, an owner stay) stay blocked and only the closure `unlist` wrote lifts. Re-opening everything would sell dates that are not for sale.\n\n**Which property gets closed.** A listing can be mapped to more than one Booking.com property \u2014 the same unit re-listed under a new property keeps its old mapping, and workspaces routinely sit on five or six. With exactly one, send nothing. With several, name one with `hotelId` (or `?hotel_id=`); omit it and the request is refused with **`409 ambiguous_booking_mapping`** listing the candidates, and nothing is written. That refusal matters more here than on a publish: writing content into the wrong property is recoverable, closing the wrong property's availability takes real inventory off sale while the property you meant keeps selling. Naming a property this listing is not mapped to is a `404` that names the ones it is.\n\n**This does not change the listing in Repull.** `active` \u2014 what Repull bills and serves \u2014 is untouched by both actions and is deliberately not echoed in the response, so the two ideas can never be read as one field. To take a listing off the market on every channel at once, use `POST /v1/listings/{id}/offline`.\n\nAny other action returns a structured `422` naming the ones that are supported. To push content use `POST /v1/listings/{id}/publish/booking`; to map rooms use `POST /v1/connect/booking/map-rooms`.\n\nReturns `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.",
|
|
29474
|
+
"summary": "Take a property off sale / put it back, or open / close it (unlist/relist/open/close)",
|
|
29475
|
+
"description": "Stop this listing's Booking.com property being sold, or start it again. `id` is a **Repull listing id**, not a Booking.com hotel id, as on the GET.\n\n**Booking.com has no unlist, so this is an availability write.** Airbnb has a real deactivate; Booking.com does not. `unlist` closes the mapped room across the whole forward window, so the property stops selling. `relist` is not its mirror image: it re-syncs the true calendar, so dates that are genuinely blocked (a reservation, an owner stay) stay blocked and only the closure `unlist` wrote lifts. Re-opening everything would sell dates that are not for sale.\n\n**Which property gets closed.** A listing can be mapped to more than one Booking.com property \u2014 the same unit re-listed under a new property keeps its old mapping, and workspaces routinely sit on five or six. With exactly one, send nothing. With several, name one with `hotelId` (or `?hotel_id=`); omit it and the request is refused with **`409 ambiguous_booking_mapping`** listing the candidates, and nothing is written. That refusal matters more here than on a publish: writing content into the wrong property is recoverable, closing the wrong property's availability takes real inventory off sale while the property you meant keeps selling. Naming a property this listing is not mapped to is a `404` that names the ones it is.\n\n**This does not change the listing in Repull.** `active` \u2014 what Repull bills and serves \u2014 is untouched by both actions and is deliberately not echoed in the response, so the two ideas can never be read as one field. To take a listing off the market on every channel at once, use `POST /v1/listings/{id}/offline`.\n\n**Opening and closing the property on Booking.com.** `open` runs Booking.com's readiness check and, only if it passes, opens the property. On a property that is not ready it changes nothing and answers **`422 booking_rejected`** with Booking.com's own reasons in `blockers` (for example \"Room 1554900501 does not have kitchen or kitchenette\"), so it is safe to ask. It opens a property Booking.com has in a build stage (`XML: Being built`, `XML: Ready to open`) or closed; an open property answers `changed: false`. `close` closes the property on Booking.com, with an optional `reason` (default `PROPERTY_NOT_AVAILABLE`). An inactive listing cannot be opened (`403 listing_inactive`), and neither can a property another inactive listing shares.\n\n**When Repull opens a property by itself.** Repull opens a Booking.com property automatically only while every listing mapped to it is active. Keep a listing that is not ready inactive and its property is never opened; activate it and Repull opens the property, provided Booking.com's own readiness check passes. Activate with `POST /v1/listings/status` (or `PATCH /v1/listings/{id}`); its response has a `bookingProperties` entry per property saying whether it opened. Deactivating never closes a property that is already open \u2014 use `close` for that.\n\nAny other action returns a structured `422` naming the ones that are supported. To push content use `POST /v1/listings/{id}/publish/booking`; to map rooms use `POST /v1/connect/booking/map-rooms`.\n\nReturns `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.",
|
|
29374
29476
|
"tags": [
|
|
29375
29477
|
"Booking.com"
|
|
29376
29478
|
],
|
|
@@ -31855,7 +31957,7 @@
|
|
|
31855
31957
|
"post": {
|
|
31856
31958
|
"operationId": "setListingsStatus",
|
|
31857
31959
|
"summary": "Activate or deactivate listings in bulk",
|
|
31858
|
-
"description": "Sets up to 500 listings active or inactive in one call. Send `{ \"listingIds\": [\"4118\", \"4119\"], \"active\": false }` to deactivate them, or `\"active\": true` to activate them.\n\nAn inactive listing is not counted toward your plan's listing limit or billed. It is NOT deleted and the upstream channel (Airbnb / Booking.com / your PMS)
|
|
31960
|
+
"description": "Sets up to 500 listings active or inactive in one call. Send `{ \"listingIds\": [\"4118\", \"4119\"], \"active\": false }` to deactivate them, or `\"active\": true` to activate them.\n\nAn inactive listing is not counted toward your plan's listing limit or billed. It is NOT deleted and nothing is pushed to the upstream channel (Airbnb / Booking.com / your PMS) \u2014 its data keeps syncing, so it is complete the moment you activate it again. Until then it cannot be read, changed, or receive webhooks.\n\n**Activating opens the listing's Booking.com property.** Repull opens a Booking.com property automatically only while every listing mapped to it is active. Keep a listing that is not ready inactive and its property is never opened; activate it and Repull opens the property, provided Booking.com's own readiness check passes. `bookingProperties` in the response says, per property, whether it was opened or what Booking.com said is missing. Sending `active: true` again for a listing that is already active retries the open. Deactivating never closes a property that is already open \u2014 use the `close` action on `POST /v1/channels/booking/properties/{id}`.\n\n**All or nothing.** Nothing changes unless the whole request can be applied:\n- If any id is not one of your listings, the call returns `404` naming those ids.\n- If activating would take you over your plan's listing limit, the call returns `402 listings_limit_exceeded`. Only listings that are currently inactive count toward the new total, so re-sending ids that are already active never trips the limit.\n\nDeactivating is always allowed, including when your account is already over its limit \u2014 it is how you get back under it.\n\n**Idempotent.** Ids already in the requested state are returned in `unchanged`; ids this call changed are returned in `updated`.\n\nFor a single listing, `PATCH /v1/listings/{id}` does the same.",
|
|
31859
31961
|
"tags": [
|
|
31860
31962
|
"Listings"
|
|
31861
31963
|
],
|
|
@@ -39091,7 +39193,7 @@
|
|
|
39091
39193
|
"post": {
|
|
39092
39194
|
"operationId": "vrboLogin",
|
|
39093
39195
|
"summary": "Sign in with a Vrbo host account",
|
|
39094
|
-
"description": "`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`, \u2026). `action: otp` submits the code; a refused code comes back as `otp_required` with `reason: bad_code
|
|
39196
|
+
"description": "`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`, \u2026). `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.\n\nSigning 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.\n\nCalled by the hosted Connect page. No API key \u2014 the session ID is the capability token.",
|
|
39095
39197
|
"tags": [
|
|
39096
39198
|
"Connect"
|
|
39097
39199
|
],
|
|
@@ -39114,7 +39216,8 @@
|
|
|
39114
39216
|
"type": "string",
|
|
39115
39217
|
"enum": [
|
|
39116
39218
|
"login",
|
|
39117
|
-
"otp"
|
|
39219
|
+
"otp",
|
|
39220
|
+
"resend"
|
|
39118
39221
|
]
|
|
39119
39222
|
},
|
|
39120
39223
|
"email": {
|
|
@@ -41431,6 +41534,102 @@
|
|
|
41431
41534
|
"$ref": "#/components/responses/Unauthorized"
|
|
41432
41535
|
}
|
|
41433
41536
|
}
|
|
41537
|
+
},
|
|
41538
|
+
"post": {
|
|
41539
|
+
"operationId": "startConnectionImport",
|
|
41540
|
+
"summary": "Refresh a connection's listings",
|
|
41541
|
+
"description": "Refresh listings: picks up listings you've added on Airbnb since you connected. Re-reads the connected account's listings and their calendars (pricing and availability) now; a new property comes in as a new listing and existing listings are refreshed. Nothing else is re-imported: no reservations, conversations, reviews or payouts.\n\nThe 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.\n\nNew 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.\n\nThe import runs in the background (`202`). It is recorded like any other import (trigger `resync`, one `listings` stage): follow it on `GET /v1/connections/{id}/imports` or wait for `account.import.completed`, then read the new listings with `GET /v1/listings`.\n\nAirbnb 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.",
|
|
41542
|
+
"tags": [
|
|
41543
|
+
"Connections"
|
|
41544
|
+
],
|
|
41545
|
+
"parameters": [
|
|
41546
|
+
{
|
|
41547
|
+
"name": "id",
|
|
41548
|
+
"in": "path",
|
|
41549
|
+
"required": true,
|
|
41550
|
+
"schema": {
|
|
41551
|
+
"type": "string"
|
|
41552
|
+
},
|
|
41553
|
+
"description": "Airbnb connection handle `airbnb:{hostId}` \u2014 the `provider` and `externalAccountId` of an Airbnb connection on `GET /v1/connect`, or the account of an `account.*` webhook."
|
|
41554
|
+
}
|
|
41555
|
+
],
|
|
41556
|
+
"requestBody": {
|
|
41557
|
+
"required": false,
|
|
41558
|
+
"content": {
|
|
41559
|
+
"application/json": {
|
|
41560
|
+
"schema": {
|
|
41561
|
+
"type": "object",
|
|
41562
|
+
"properties": {
|
|
41563
|
+
"scope": {
|
|
41564
|
+
"type": "string",
|
|
41565
|
+
"enum": [
|
|
41566
|
+
"listings"
|
|
41567
|
+
],
|
|
41568
|
+
"default": "listings",
|
|
41569
|
+
"description": "What to import. `listings` = the account's listings and their calendars (pricing and availability). The only scope; the full import runs when an account is connected."
|
|
41570
|
+
}
|
|
41571
|
+
}
|
|
41572
|
+
}
|
|
41573
|
+
}
|
|
41574
|
+
}
|
|
41575
|
+
},
|
|
41576
|
+
"responses": {
|
|
41577
|
+
"202": {
|
|
41578
|
+
"description": "The import is queued.",
|
|
41579
|
+
"content": {
|
|
41580
|
+
"application/json": {
|
|
41581
|
+
"schema": {
|
|
41582
|
+
"type": "object",
|
|
41583
|
+
"properties": {
|
|
41584
|
+
"data": {
|
|
41585
|
+
"type": "object",
|
|
41586
|
+
"properties": {
|
|
41587
|
+
"connection": {
|
|
41588
|
+
"type": "string",
|
|
41589
|
+
"description": "The connection handle, e.g. `airbnb:1234567`."
|
|
41590
|
+
},
|
|
41591
|
+
"scope": {
|
|
41592
|
+
"type": "string",
|
|
41593
|
+
"enum": [
|
|
41594
|
+
"listings"
|
|
41595
|
+
]
|
|
41596
|
+
},
|
|
41597
|
+
"status": {
|
|
41598
|
+
"type": "string",
|
|
41599
|
+
"enum": [
|
|
41600
|
+
"queued"
|
|
41601
|
+
]
|
|
41602
|
+
},
|
|
41603
|
+
"queuedAt": {
|
|
41604
|
+
"type": "string",
|
|
41605
|
+
"format": "date-time"
|
|
41606
|
+
}
|
|
41607
|
+
},
|
|
41608
|
+
"required": [
|
|
41609
|
+
"connection",
|
|
41610
|
+
"scope",
|
|
41611
|
+
"status",
|
|
41612
|
+
"queuedAt"
|
|
41613
|
+
]
|
|
41614
|
+
}
|
|
41615
|
+
}
|
|
41616
|
+
}
|
|
41617
|
+
}
|
|
41618
|
+
}
|
|
41619
|
+
},
|
|
41620
|
+
"400": {
|
|
41621
|
+
"$ref": "#/components/responses/BadRequest"
|
|
41622
|
+
},
|
|
41623
|
+
"401": {
|
|
41624
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
41625
|
+
},
|
|
41626
|
+
"404": {
|
|
41627
|
+
"$ref": "#/components/responses/NotFound"
|
|
41628
|
+
},
|
|
41629
|
+
"409": {
|
|
41630
|
+
"$ref": "#/components/responses/Conflict"
|
|
41631
|
+
}
|
|
41632
|
+
}
|
|
41434
41633
|
}
|
|
41435
41634
|
},
|
|
41436
41635
|
"/v1/listings/promotions/bulk": {
|