repull 0.2.49 → 0.2.50
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/connections_api.rb +2 -2
- data/lib/repull/models/account_calendar_access_changed_event.rb +282 -0
- data/lib/repull/models/account_calendar_access_changed_payload.rb +268 -0
- data/lib/repull/models/apply_connection_mappings_request_mappings_inner.rb +1 -1
- data/lib/repull/models/connect_status_accounts_inner.rb +12 -1
- data/lib/repull/models/get_listing_calendar_sync200_response_channels_inner.rb +33 -1
- data/lib/repull/models/list_connection_units200_response.rb +10 -1
- data/lib/repull/models/list_connection_units200_response_units_inner.rb +1 -1
- data/lib/repull/models/start_connection_import_request.rb +1 -1
- data/lib/repull/models/vrbo_calendar_access.rb +204 -0
- data/lib/repull/models/webhook_event.rb +2 -0
- data/lib/repull/models/webhook_event_type.rb +2 -1
- data/lib/repull/version.rb +1 -1
- data/lib/repull.rb +3 -0
- data/openapi/v1.json +150 -4
- metadata +5 -2
data/openapi/v1.json
CHANGED
|
@@ -2582,6 +2582,15 @@
|
|
|
2582
2582
|
"nullable": true,
|
|
2583
2583
|
"description": "Vrbo only. When Vrbo's first notification reached `notificationEmail`, i.e. the host added it with notifications on. `null` until then."
|
|
2584
2584
|
},
|
|
2585
|
+
"calendar": {
|
|
2586
|
+
"nullable": true,
|
|
2587
|
+
"allOf": [
|
|
2588
|
+
{
|
|
2589
|
+
"$ref": "#/components/schemas/VrboCalendarAccess"
|
|
2590
|
+
}
|
|
2591
|
+
],
|
|
2592
|
+
"description": "Vrbo only. Whether another tool (such as a PMS) manages this account's calendar; while `calendar.managedBy` is set, calendar sync is off for all its units."
|
|
2593
|
+
},
|
|
2585
2594
|
"notificationEmail": {
|
|
2586
2595
|
"type": "string",
|
|
2587
2596
|
"nullable": true,
|
|
@@ -3045,6 +3054,7 @@
|
|
|
3045
3054
|
"account.import.completed",
|
|
3046
3055
|
"account.import.failed",
|
|
3047
3056
|
"account.units.added",
|
|
3057
|
+
"account.calendar_access_changed",
|
|
3048
3058
|
"review.created",
|
|
3049
3059
|
"review.responded",
|
|
3050
3060
|
"ai.operation.completed",
|
|
@@ -6390,6 +6400,113 @@
|
|
|
6390
6400
|
}
|
|
6391
6401
|
}
|
|
6392
6402
|
},
|
|
6403
|
+
"VrboCalendarAccess": {
|
|
6404
|
+
"type": "object",
|
|
6405
|
+
"required": [
|
|
6406
|
+
"managedBy",
|
|
6407
|
+
"detectedAt",
|
|
6408
|
+
"checkedAt",
|
|
6409
|
+
"docsUrl"
|
|
6410
|
+
],
|
|
6411
|
+
"description": "Whether another tool manages a Vrbo account's calendar. Vrbo reports it per account; Repull asks when the account connects and once a day. While `managedBy` is set, Vrbo refuses price and availability changes from anyone else, so calendar sync is off for every unit of the account and turning it on returns `409 calendar_managed_elsewhere`. Bookings and messages keep working.",
|
|
6412
|
+
"properties": {
|
|
6413
|
+
"managedBy": {
|
|
6414
|
+
"type": "string",
|
|
6415
|
+
"nullable": true,
|
|
6416
|
+
"description": "`integrated_software`: Vrbo says connected software (such as a PMS) manages the calendar. `null`: Repull may manage it."
|
|
6417
|
+
},
|
|
6418
|
+
"detectedAt": {
|
|
6419
|
+
"type": "string",
|
|
6420
|
+
"format": "date-time",
|
|
6421
|
+
"nullable": true,
|
|
6422
|
+
"description": "When `managedBy` was first seen. `null` when not managed."
|
|
6423
|
+
},
|
|
6424
|
+
"checkedAt": {
|
|
6425
|
+
"type": "string",
|
|
6426
|
+
"format": "date-time",
|
|
6427
|
+
"nullable": true,
|
|
6428
|
+
"description": "When Vrbo was last asked. `null` until the first check."
|
|
6429
|
+
},
|
|
6430
|
+
"docsUrl": {
|
|
6431
|
+
"type": "string",
|
|
6432
|
+
"format": "uri",
|
|
6433
|
+
"example": "https://repull.dev/docs/channels/vrbo/calendar-managed-elsewhere"
|
|
6434
|
+
}
|
|
6435
|
+
}
|
|
6436
|
+
},
|
|
6437
|
+
"AccountCalendarAccessChangedPayload": {
|
|
6438
|
+
"type": "object",
|
|
6439
|
+
"required": [
|
|
6440
|
+
"workspaceId",
|
|
6441
|
+
"provider",
|
|
6442
|
+
"accountId",
|
|
6443
|
+
"connectionId",
|
|
6444
|
+
"calendar",
|
|
6445
|
+
"changedAt"
|
|
6446
|
+
],
|
|
6447
|
+
"properties": {
|
|
6448
|
+
"workspaceId": {
|
|
6449
|
+
"type": "integer"
|
|
6450
|
+
},
|
|
6451
|
+
"provider": {
|
|
6452
|
+
"type": "string"
|
|
6453
|
+
},
|
|
6454
|
+
"accountId": {
|
|
6455
|
+
"type": "string",
|
|
6456
|
+
"nullable": true,
|
|
6457
|
+
"description": "Vrbo's account number (`accounts[].externalAccountId` on `GET /v1/connect/vrbo-login`)."
|
|
6458
|
+
},
|
|
6459
|
+
"connectionId": {
|
|
6460
|
+
"type": "integer",
|
|
6461
|
+
"nullable": true,
|
|
6462
|
+
"description": "The workspace's Vrbo connection record."
|
|
6463
|
+
},
|
|
6464
|
+
"calendar": {
|
|
6465
|
+
"$ref": "#/components/schemas/VrboCalendarAccess"
|
|
6466
|
+
},
|
|
6467
|
+
"changedAt": {
|
|
6468
|
+
"type": "string",
|
|
6469
|
+
"format": "date-time"
|
|
6470
|
+
}
|
|
6471
|
+
}
|
|
6472
|
+
},
|
|
6473
|
+
"AccountCalendarAccessChangedEvent": {
|
|
6474
|
+
"type": "object",
|
|
6475
|
+
"required": [
|
|
6476
|
+
"event",
|
|
6477
|
+
"eventId",
|
|
6478
|
+
"apiVersion",
|
|
6479
|
+
"timestamp",
|
|
6480
|
+
"data"
|
|
6481
|
+
],
|
|
6482
|
+
"properties": {
|
|
6483
|
+
"event": {
|
|
6484
|
+
"type": "string",
|
|
6485
|
+
"description": "The event name. This field is `event`, not `type`."
|
|
6486
|
+
},
|
|
6487
|
+
"eventId": {
|
|
6488
|
+
"type": "string",
|
|
6489
|
+
"format": "uuid",
|
|
6490
|
+
"description": "Stable across every delivery and replay of this logical event \u2014 dedupe on it."
|
|
6491
|
+
},
|
|
6492
|
+
"apiVersion": {
|
|
6493
|
+
"type": "string",
|
|
6494
|
+
"example": "2026-04"
|
|
6495
|
+
},
|
|
6496
|
+
"timestamp": {
|
|
6497
|
+
"type": "string",
|
|
6498
|
+
"format": "date-time",
|
|
6499
|
+
"description": "When this delivery was built."
|
|
6500
|
+
},
|
|
6501
|
+
"account": {
|
|
6502
|
+
"$ref": "#/components/schemas/WebhookEventAccount"
|
|
6503
|
+
},
|
|
6504
|
+
"data": {
|
|
6505
|
+
"$ref": "#/components/schemas/AccountCalendarAccessChangedPayload"
|
|
6506
|
+
}
|
|
6507
|
+
},
|
|
6508
|
+
"description": "Another tool (such as a PMS) started or stopped managing a Vrbo account's calendar. Started: calendar sync is now off for every unit of the account. Stopped: nothing is switched back on; turn it on with `POST /v1/connections/{id}/mappings` (`calendarSync: true`)."
|
|
6509
|
+
},
|
|
6393
6510
|
"AccountUnitsAddedEvent": {
|
|
6394
6511
|
"type": "object",
|
|
6395
6512
|
"required": [
|
|
@@ -7203,6 +7320,9 @@
|
|
|
7203
7320
|
{
|
|
7204
7321
|
"$ref": "#/components/schemas/AccountUnitsAddedEvent"
|
|
7205
7322
|
},
|
|
7323
|
+
{
|
|
7324
|
+
"$ref": "#/components/schemas/AccountCalendarAccessChangedEvent"
|
|
7325
|
+
},
|
|
7206
7326
|
{
|
|
7207
7327
|
"$ref": "#/components/schemas/ReviewCreatedEvent"
|
|
7208
7328
|
},
|
|
@@ -7271,6 +7391,7 @@
|
|
|
7271
7391
|
"account.import.completed": "#/components/schemas/AccountImportCompletedEvent",
|
|
7272
7392
|
"account.import.failed": "#/components/schemas/AccountImportFailedEvent",
|
|
7273
7393
|
"account.units.added": "#/components/schemas/AccountUnitsAddedEvent",
|
|
7394
|
+
"account.calendar_access_changed": "#/components/schemas/AccountCalendarAccessChangedEvent",
|
|
7274
7395
|
"review.created": "#/components/schemas/ReviewCreatedEvent",
|
|
7275
7396
|
"review.responded": "#/components/schemas/ReviewRespondedEvent",
|
|
7276
7397
|
"ai.operation.completed": "#/components/schemas/AiOperationCompletedEvent",
|
|
@@ -38804,6 +38925,18 @@
|
|
|
38804
38925
|
],
|
|
38805
38926
|
"description": "`in_sync` \u2014 no future night has a problem; `problems` \u2014 see `problems`; `off` \u2014 calendar sync is off for this channel."
|
|
38806
38927
|
},
|
|
38928
|
+
"offReason": {
|
|
38929
|
+
"type": "string",
|
|
38930
|
+
"enum": [
|
|
38931
|
+
"calendar_managed_elsewhere"
|
|
38932
|
+
],
|
|
38933
|
+
"description": "Vrbo only, when Repull turned calendar sync off: Vrbo says another tool (such as a PMS) manages the account's calendar. Absent when the host turned it off."
|
|
38934
|
+
},
|
|
38935
|
+
"docsUrl": {
|
|
38936
|
+
"type": "string",
|
|
38937
|
+
"format": "uri",
|
|
38938
|
+
"description": "Explains `offReason` and how to turn calendar sync back on."
|
|
38939
|
+
},
|
|
38807
38940
|
"lastSyncAt": {
|
|
38808
38941
|
"type": "string",
|
|
38809
38942
|
"format": "date-time",
|
|
@@ -39376,7 +39509,7 @@
|
|
|
39376
39509
|
},
|
|
39377
39510
|
"calendarSync": {
|
|
39378
39511
|
"type": "boolean",
|
|
39379
|
-
"description": "Vrbo: push this listing's prices and availability to Vrbo. Omit to follow the connection's access type (`messaging` = off, `full_access` = on). A new listing (`create`) always follows the access type. Other channels ignore it."
|
|
39512
|
+
"description": "Vrbo: push this listing's prices and availability to Vrbo. Omit to follow the connection's access type (`messaging` = off, `full_access` = on). A new listing (`create`) always follows the access type. Other channels ignore it. `true` returns `409 calendar_managed_elsewhere` while Vrbo says another tool (such as a PMS) manages the account's calendar (`calendar.managedBy` on `GET /v1/connect/vrbo-login`); see https://repull.dev/docs/channels/vrbo/calendar-managed-elsewhere."
|
|
39380
39513
|
}
|
|
39381
39514
|
}
|
|
39382
39515
|
}
|
|
@@ -39428,6 +39561,16 @@
|
|
|
39428
39561
|
}
|
|
39429
39562
|
}
|
|
39430
39563
|
}
|
|
39564
|
+
},
|
|
39565
|
+
"409": {
|
|
39566
|
+
"description": "`calendar_managed_elsewhere` (Vrbo): `calendarSync: true` was sent while Vrbo says another tool (such as a PMS) manages the account's calendar. Nothing was applied. `units` lists the units that asked for it; `docs_url` explains how to change it.",
|
|
39567
|
+
"content": {
|
|
39568
|
+
"application/json": {
|
|
39569
|
+
"schema": {
|
|
39570
|
+
"$ref": "#/components/schemas/Error"
|
|
39571
|
+
}
|
|
39572
|
+
}
|
|
39573
|
+
}
|
|
39431
39574
|
}
|
|
39432
39575
|
}
|
|
39433
39576
|
}
|
|
@@ -39573,6 +39716,9 @@
|
|
|
39573
39716
|
"nullable": true,
|
|
39574
39717
|
"description": "Vrbo only. Ask the host to add this address on Vrbo as a secondary email, with message and reservation notifications on. It is how new bookings, inquiries and guest messages reach Repull within a minute; without it they arrive at the next scheduled check. Hosted Connect asks for it on its mapping screen, so show it in your own flow when you map with `mapping: \"api\"`."
|
|
39575
39718
|
},
|
|
39719
|
+
"calendar": {
|
|
39720
|
+
"$ref": "#/components/schemas/VrboCalendarAccess"
|
|
39721
|
+
},
|
|
39576
39722
|
"units": {
|
|
39577
39723
|
"type": "array",
|
|
39578
39724
|
"items": {
|
|
@@ -39597,7 +39743,7 @@
|
|
|
39597
39743
|
},
|
|
39598
39744
|
"meta": {
|
|
39599
39745
|
"type": "object",
|
|
39600
|
-
"description": "Channel details that identify the unit. Booking.com Extranet: `hotel` (property name), `hotelId` (Booking.com property ID), `roomId` (Booking.com room ID), `city`. Vrbo: `headline`, `address`, `vrboStatus`; the Vrbo listing ID is `unit_id`."
|
|
39746
|
+
"description": "Channel details that identify the unit. Booking.com Extranet: `hotel` (property name), `hotelId` (Booking.com property ID), `roomId` (Booking.com room ID), `city`. Vrbo: `headline`, `address`, `vrboStatus`, `calendarSync` (whether the unit's prices and availability are pushed to Vrbo) and, while Vrbo says another tool manages the account's calendar, `calendarSyncBlocked: \"calendar_managed_elsewhere\"`; the Vrbo listing ID is `unit_id`."
|
|
39601
39747
|
}
|
|
39602
39748
|
}
|
|
39603
39749
|
}
|
|
@@ -41544,7 +41690,7 @@
|
|
|
41544
41690
|
"post": {
|
|
41545
41691
|
"operationId": "startConnectionImport",
|
|
41546
41692
|
"summary": "Refresh a connection's listings",
|
|
41547
|
-
"description": "Refresh listings: picks up listings you've added on Airbnb since you connected. Re-reads the connected account's listings
|
|
41693
|
+
"description": "Refresh 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.\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.",
|
|
41548
41694
|
"tags": [
|
|
41549
41695
|
"Connections"
|
|
41550
41696
|
],
|
|
@@ -41572,7 +41718,7 @@
|
|
|
41572
41718
|
"listings"
|
|
41573
41719
|
],
|
|
41574
41720
|
"default": "listings",
|
|
41575
|
-
"description": "What to import. `listings` = the account's listings
|
|
41721
|
+
"description": "What to import. `listings` = the account's listings. New listings come in with their calendar (pricing and availability); on a full-access connection, calendars of listings already in Repull are not re-read. The only scope; the full import runs when an account is connected."
|
|
41576
41722
|
}
|
|
41577
41723
|
}
|
|
41578
41724
|
}
|
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.50
|
|
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-11-
|
|
11
|
+
date: 2026-11-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -99,6 +99,8 @@ files:
|
|
|
99
99
|
- lib/repull/api_model_base.rb
|
|
100
100
|
- lib/repull/configuration.rb
|
|
101
101
|
- lib/repull/models/accept_reservation_request200_response.rb
|
|
102
|
+
- lib/repull/models/account_calendar_access_changed_event.rb
|
|
103
|
+
- lib/repull/models/account_calendar_access_changed_payload.rb
|
|
102
104
|
- lib/repull/models/account_created_event.rb
|
|
103
105
|
- lib/repull/models/account_created_payload.rb
|
|
104
106
|
- lib/repull/models/account_disconnected_event.rb
|
|
@@ -871,6 +873,7 @@ files:
|
|
|
871
873
|
- lib/repull/models/usage_quota_warning_event.rb
|
|
872
874
|
- lib/repull/models/usage_quota_warning_payload.rb
|
|
873
875
|
- lib/repull/models/usage_quota_warning_payload_top_operation.rb
|
|
876
|
+
- lib/repull/models/vrbo_calendar_access.rb
|
|
874
877
|
- lib/repull/models/vrbo_import_status.rb
|
|
875
878
|
- lib/repull/models/vrbo_listing.rb
|
|
876
879
|
- lib/repull/models/vrbo_login200_response.rb
|