repull 0.2.48 → 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.
data/openapi/v1.json CHANGED
@@ -2576,6 +2576,21 @@
2576
2576
  "nullable": true,
2577
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
2578
  },
2579
+ "notificationReceivedAt": {
2580
+ "type": "string",
2581
+ "format": "date-time",
2582
+ "nullable": true,
2583
+ "description": "Vrbo only. When Vrbo's first notification reached `notificationEmail`, i.e. the host added it with notifications on. `null` until then."
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
+ },
2579
2594
  "notificationEmail": {
2580
2595
  "type": "string",
2581
2596
  "nullable": true,
@@ -3039,6 +3054,7 @@
3039
3054
  "account.import.completed",
3040
3055
  "account.import.failed",
3041
3056
  "account.units.added",
3057
+ "account.calendar_access_changed",
3042
3058
  "review.created",
3043
3059
  "review.responded",
3044
3060
  "ai.operation.completed",
@@ -6384,6 +6400,113 @@
6384
6400
  }
6385
6401
  }
6386
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
+ },
6387
6510
  "AccountUnitsAddedEvent": {
6388
6511
  "type": "object",
6389
6512
  "required": [
@@ -7197,6 +7320,9 @@
7197
7320
  {
7198
7321
  "$ref": "#/components/schemas/AccountUnitsAddedEvent"
7199
7322
  },
7323
+ {
7324
+ "$ref": "#/components/schemas/AccountCalendarAccessChangedEvent"
7325
+ },
7200
7326
  {
7201
7327
  "$ref": "#/components/schemas/ReviewCreatedEvent"
7202
7328
  },
@@ -7265,6 +7391,7 @@
7265
7391
  "account.import.completed": "#/components/schemas/AccountImportCompletedEvent",
7266
7392
  "account.import.failed": "#/components/schemas/AccountImportFailedEvent",
7267
7393
  "account.units.added": "#/components/schemas/AccountUnitsAddedEvent",
7394
+ "account.calendar_access_changed": "#/components/schemas/AccountCalendarAccessChangedEvent",
7268
7395
  "review.created": "#/components/schemas/ReviewCreatedEvent",
7269
7396
  "review.responded": "#/components/schemas/ReviewRespondedEvent",
7270
7397
  "ai.operation.completed": "#/components/schemas/AiOperationCompletedEvent",
@@ -38798,6 +38925,18 @@
38798
38925
  ],
38799
38926
  "description": "`in_sync` \u2014 no future night has a problem; `problems` \u2014 see `problems`; `off` \u2014 calendar sync is off for this channel."
38800
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
+ },
38801
38940
  "lastSyncAt": {
38802
38941
  "type": "string",
38803
38942
  "format": "date-time",
@@ -39370,7 +39509,7 @@
39370
39509
  },
39371
39510
  "calendarSync": {
39372
39511
  "type": "boolean",
39373
- "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."
39374
39513
  }
39375
39514
  }
39376
39515
  }
@@ -39422,6 +39561,16 @@
39422
39561
  }
39423
39562
  }
39424
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
+ }
39425
39574
  }
39426
39575
  }
39427
39576
  }
@@ -39567,6 +39716,9 @@
39567
39716
  "nullable": true,
39568
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\"`."
39569
39718
  },
39719
+ "calendar": {
39720
+ "$ref": "#/components/schemas/VrboCalendarAccess"
39721
+ },
39570
39722
  "units": {
39571
39723
  "type": "array",
39572
39724
  "items": {
@@ -39591,7 +39743,7 @@
39591
39743
  },
39592
39744
  "meta": {
39593
39745
  "type": "object",
39594
- "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`."
39595
39747
  }
39596
39748
  }
39597
39749
  }
@@ -41538,7 +41690,7 @@
41538
41690
  "post": {
41539
41691
  "operationId": "startConnectionImport",
41540
41692
  "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.",
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.",
41542
41694
  "tags": [
41543
41695
  "Connections"
41544
41696
  ],
@@ -41566,7 +41718,7 @@
41566
41718
  "listings"
41567
41719
  ],
41568
41720
  "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."
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."
41570
41722
  }
41571
41723
  }
41572
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.48
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-15 00:00:00.000000000 Z
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