repull 0.2.51 → 0.2.53

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
@@ -1004,11 +1004,6 @@
1004
1004
  "example": "Jane Doe",
1005
1005
  "description": "Long display name (first + last). Falls back to displayName when last name is missing."
1006
1006
  },
1007
- "avatarUrl": {
1008
- "type": "string",
1009
- "format": "uri",
1010
- "nullable": true
1011
- },
1012
1007
  "language": {
1013
1008
  "type": "string",
1014
1009
  "nullable": true,
@@ -1177,11 +1172,6 @@
1177
1172
  "displayNameLong": {
1178
1173
  "type": "string"
1179
1174
  },
1180
- "avatarUrl": {
1181
- "type": "string",
1182
- "format": "uri",
1183
- "nullable": true
1184
- },
1185
1175
  "language": {
1186
1176
  "type": "string",
1187
1177
  "nullable": true
@@ -1381,11 +1371,6 @@
1381
1371
  },
1382
1372
  "displayName": {
1383
1373
  "type": "string"
1384
- },
1385
- "avatarUrl": {
1386
- "type": "string",
1387
- "format": "uri",
1388
- "nullable": true
1389
1374
  }
1390
1375
  }
1391
1376
  },
@@ -1417,11 +1402,6 @@
1417
1402
  "displayName": {
1418
1403
  "type": "string"
1419
1404
  },
1420
- "avatarUrl": {
1421
- "type": "string",
1422
- "format": "uri",
1423
- "nullable": true
1424
- },
1425
1405
  "contacts": {
1426
1406
  "type": "array",
1427
1407
  "items": {
@@ -3112,6 +3092,7 @@
3112
3092
  "listing.deleted",
3113
3093
  "listing.suspended",
3114
3094
  "listing.reactivated",
3095
+ "listing.ical_feed_changed",
3115
3096
  "account.created",
3116
3097
  "connect.session.completed",
3117
3098
  "connect.session.abandoned",
@@ -6058,6 +6039,112 @@
6058
6039
  }
6059
6040
  }
6060
6041
  },
6042
+ "ListingIcalFeedChangedPayload": {
6043
+ "type": "object",
6044
+ "description": "Payload for `listing.ical_feed_changed`: Repull changed a Vrbo unit's imported calendars, or could not. Repull imports the listing's Repull iCal backup feed into every calendar-synced Vrbo unit, and removes other tools' imported feeds while Repull is the unit's master calendar.",
6045
+ "required": [
6046
+ "object",
6047
+ "provider",
6048
+ "action",
6049
+ "feed",
6050
+ "repullFeedUrl",
6051
+ "trigger",
6052
+ "occurredAt"
6053
+ ],
6054
+ "properties": {
6055
+ "object": {
6056
+ "$ref": "#/components/schemas/ListingWebhookObject"
6057
+ },
6058
+ "provider": {
6059
+ "type": "string"
6060
+ },
6061
+ "action": {
6062
+ "type": "string",
6063
+ "description": "`repull_feed_added`: the Repull feed is now imported (`reason: \"repull_feed_missing\"` when it had been removed on Vrbo and was put back). `repull_feed_add_failed`: Vrbo did not take it \u2014 ask the host to add `repullFeedUrl` in Vrbo \u2192 Calendar \u2192 Import calendar, named \"Repull\"; nothing else is changed on the unit until it is there. `other_feed_removed`: another tool's imported calendar (`feed`) was removed. `other_feed_remove_failed`: removing it failed \u2014 ask the host to remove it in Vrbo \u2192 Calendar \u2192 Import calendar. Repull also emails the workspace owner when an action failed."
6064
+ },
6065
+ "feed": {
6066
+ "type": "object",
6067
+ "description": "The imported calendar acted on, as Vrbo shows it.",
6068
+ "properties": {
6069
+ "name": {
6070
+ "type": "string",
6071
+ "nullable": true,
6072
+ "example": "Other PMS 12B"
6073
+ },
6074
+ "url": {
6075
+ "type": "string",
6076
+ "nullable": true,
6077
+ "example": "https://pms.example.com/ical/12b.ics"
6078
+ }
6079
+ }
6080
+ },
6081
+ "repullFeedUrl": {
6082
+ "type": "string",
6083
+ "format": "uri",
6084
+ "description": "The listing's Repull iCal backup feed (`GET /v1/listings/{id}/ical`)."
6085
+ },
6086
+ "reason": {
6087
+ "type": "string",
6088
+ "nullable": true,
6089
+ "description": "Why Repull acted."
6090
+ },
6091
+ "trigger": {
6092
+ "type": "string",
6093
+ "description": "`calendar_sync_enabled`: calendar sync was just switched on for the unit. `drift_check`: the daily Vrbo calendar check."
6094
+ },
6095
+ "error": {
6096
+ "type": "string",
6097
+ "nullable": true,
6098
+ "description": "Vrbo's answer, on a failed action."
6099
+ },
6100
+ "occurredAt": {
6101
+ "type": "string",
6102
+ "format": "date-time"
6103
+ },
6104
+ "docsUrl": {
6105
+ "type": "string",
6106
+ "format": "uri",
6107
+ "example": "https://repull.dev/docs/channels/vrbo/ical-backup"
6108
+ }
6109
+ }
6110
+ },
6111
+ "ListingIcalFeedChangedEvent": {
6112
+ "type": "object",
6113
+ "required": [
6114
+ "event",
6115
+ "eventId",
6116
+ "apiVersion",
6117
+ "timestamp",
6118
+ "data"
6119
+ ],
6120
+ "properties": {
6121
+ "event": {
6122
+ "type": "string",
6123
+ "description": "The event name. This field is `event`, not `type`."
6124
+ },
6125
+ "eventId": {
6126
+ "type": "string",
6127
+ "format": "uuid",
6128
+ "description": "Stable across every delivery and replay of this logical event \u2014 dedupe on it."
6129
+ },
6130
+ "apiVersion": {
6131
+ "type": "string",
6132
+ "example": "2026-04"
6133
+ },
6134
+ "timestamp": {
6135
+ "type": "string",
6136
+ "format": "date-time",
6137
+ "description": "When this delivery was built."
6138
+ },
6139
+ "account": {
6140
+ "$ref": "#/components/schemas/WebhookEventAccount"
6141
+ },
6142
+ "data": {
6143
+ "$ref": "#/components/schemas/ListingIcalFeedChangedPayload"
6144
+ }
6145
+ },
6146
+ "description": "Repull added its iCal backup feed to a Vrbo unit, removed another tool's imported feed, or could not. On a `*_failed` action, show the host what to change on Vrbo."
6147
+ },
6061
6148
  "ListingSuspendedEvent": {
6062
6149
  "type": "object",
6063
6150
  "required": [
@@ -7540,6 +7627,9 @@
7540
7627
  {
7541
7628
  "$ref": "#/components/schemas/ListingReactivatedEvent"
7542
7629
  },
7630
+ {
7631
+ "$ref": "#/components/schemas/ListingIcalFeedChangedEvent"
7632
+ },
7543
7633
  {
7544
7634
  "$ref": "#/components/schemas/AccountCreatedEvent"
7545
7635
  },
@@ -7631,6 +7721,7 @@
7631
7721
  "listing.deleted": "#/components/schemas/ListingDeletedEvent",
7632
7722
  "listing.suspended": "#/components/schemas/ListingSuspendedEvent",
7633
7723
  "listing.reactivated": "#/components/schemas/ListingReactivatedEvent",
7724
+ "listing.ical_feed_changed": "#/components/schemas/ListingIcalFeedChangedEvent",
7634
7725
  "account.created": "#/components/schemas/AccountCreatedEvent",
7635
7726
  "connect.session.completed": "#/components/schemas/ConnectSessionCompletedEvent",
7636
7727
  "connect.session.abandoned": "#/components/schemas/ConnectSessionAbandonedEvent",
@@ -31448,6 +31539,11 @@
31448
31539
  "type": "string",
31449
31540
  "nullable": true
31450
31541
  },
31542
+ "dashboardSurface": {
31543
+ "type": "string",
31544
+ "nullable": true,
31545
+ "description": "The repull.dev dashboard page this call was run from (`keys`, `playground`, `quickstart`, `connect`, `settings/connect`), or null for a call your own code made. Dashboard calls don't count toward your plan's request quota."
31546
+ },
31451
31547
  "createdAt": {
31452
31548
  "type": "string",
31453
31549
  "format": "date-time"
@@ -39879,6 +39975,12 @@
39879
39975
  },
39880
39976
  "error": {
39881
39977
  "type": "string"
39978
+ },
39979
+ "ical_feed_url": {
39980
+ "type": "string",
39981
+ "format": "uri",
39982
+ "description": "Vrbo, for a mapped unit: the listing's Repull iCal backup feed (`GET /v1/listings/{id}/ical`). With calendar sync on, Repull imports it into the Vrbo unit by itself (Vrbo \u2192 Calendar \u2192 Import calendar, named \"Repull\") and removes other tools' imported feeds; `listing.ical_feed_changed` reports it. Only if that fails does the host add it by hand.",
39983
+ "example": "https://api.repull.dev/ical/4f9c2d7e1a8b3c6d5e0f9a2b7c4d1e8f3a6b9c2d5e8f1a4b7c0d3e6f9a2b5c8d.ics"
39882
39984
  }
39883
39985
  }
39884
39986
  }
@@ -40069,7 +40171,7 @@
40069
40171
  },
40070
40172
  "meta": {
40071
40173
  "type": "object",
40072
- "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`."
40174
+ "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\"`, and for a mapped unit `icalBackup`: `{ feedUrl, status, otherFeeds }` \u2014 the listing's Repull iCal backup feed and whether Vrbo imports it (`status` as on `GET /v1/listings/{id}/ical`: `imported`, `pending`, `failed`, `not_imported`, `off`; Repull adds it itself, so only on `failed` does the host add `feedUrl` in Vrbo \u2192 Calendar \u2192 Import calendar, named \"Repull\"); the Vrbo listing ID is `unit_id`."
40073
40175
  }
40074
40176
  }
40075
40177
  }
@@ -44437,6 +44539,146 @@
44437
44539
  }
44438
44540
  }
44439
44541
  }
44542
+ },
44543
+ "/v1/listings/{id}/ical": {
44544
+ "get": {
44545
+ "operationId": "get_listing_ical",
44546
+ "summary": "Repull iCal backup feed",
44547
+ "description": "The listing's Repull iCal backup feed: an iCal calendar named \"Repull\" with the listing's bookings and blocks as all-day events, at an unguessable address on `api.repull.dev` (created on first request, one per listing). Channels that import iCal close those nights from it on their own schedule \u2014 availability only, never prices.\n\n**Vrbo:** Repull imports this feed into every calendar-synced Vrbo unit by itself, as a backup for the direct calendar push, and removes other tools' imported feeds while Repull is the unit's master calendar. `vrbo` says, per unit, whether Vrbo imports it (as last checked, once a day). When `status` is `failed`, ask the host to add `url` in Vrbo \u2192 Calendar \u2192 Import calendar, named \"Repull\". Changes arrive as `listing.ical_feed_changed`.\n\nThe address is a credential: anyone with it can read the listing's booked dates (no guest details). Returns `403 listing_inactive` for an inactive listing.",
44548
+ "tags": [
44549
+ "Listings"
44550
+ ],
44551
+ "parameters": [
44552
+ {
44553
+ "name": "id",
44554
+ "in": "path",
44555
+ "required": true,
44556
+ "schema": {
44557
+ "type": "integer"
44558
+ },
44559
+ "description": "Repull listing id."
44560
+ }
44561
+ ],
44562
+ "responses": {
44563
+ "200": {
44564
+ "description": "The feed address and its Vrbo state.",
44565
+ "content": {
44566
+ "application/json": {
44567
+ "schema": {
44568
+ "type": "object",
44569
+ "required": [
44570
+ "listingId",
44571
+ "url",
44572
+ "calendarName",
44573
+ "enabled",
44574
+ "vrbo"
44575
+ ],
44576
+ "properties": {
44577
+ "listingId": {
44578
+ "type": "string",
44579
+ "example": "1001"
44580
+ },
44581
+ "url": {
44582
+ "type": "string",
44583
+ "format": "uri",
44584
+ "description": "The feed address. Import it on any channel that reads iCal.",
44585
+ "example": "https://api.repull.dev/ical/4f9c2d7e1a8b3c6d5e0f9a2b7c4d1e8f3a6b9c2d5e8f1a4b7c0d3e6f9a2b5c8d.ics"
44586
+ },
44587
+ "calendarName": {
44588
+ "type": "string",
44589
+ "enum": [
44590
+ "Repull"
44591
+ ],
44592
+ "description": "The calendar name the feed carries, and the name to give it when importing it by hand."
44593
+ },
44594
+ "enabled": {
44595
+ "type": "boolean",
44596
+ "description": "False when the listing's feed was turned off; the address then answers 404."
44597
+ },
44598
+ "vrbo": {
44599
+ "type": "array",
44600
+ "description": "One entry per Vrbo unit mapped to the listing.",
44601
+ "items": {
44602
+ "type": "object",
44603
+ "required": [
44604
+ "unitId",
44605
+ "calendarSync",
44606
+ "status",
44607
+ "otherFeeds",
44608
+ "checkedAt"
44609
+ ],
44610
+ "properties": {
44611
+ "unitId": {
44612
+ "type": "string",
44613
+ "description": "The Vrbo listing number (`unitId` on `GET /v1/connections/{id}/units`).",
44614
+ "example": "7001234"
44615
+ },
44616
+ "calendarSync": {
44617
+ "type": "boolean",
44618
+ "description": "Calendar sync is on for the unit."
44619
+ },
44620
+ "status": {
44621
+ "type": "string",
44622
+ "enum": [
44623
+ "imported",
44624
+ "pending",
44625
+ "failed",
44626
+ "not_imported",
44627
+ "off"
44628
+ ],
44629
+ "description": "`imported`: Vrbo imports the feed. `pending`: calendar sync is on and Repull has not checked the unit yet \u2014 it adds the feed itself. `failed`: Vrbo did not take it; ask the host to add `url` in Vrbo \u2192 Calendar \u2192 Import calendar, named \"Repull\". `not_imported`: checked, not there, and not added (for example, the feed is turned off). `off`: calendar sync is off, so Repull leaves the unit's imported calendars alone."
44630
+ },
44631
+ "otherFeeds": {
44632
+ "type": "array",
44633
+ "items": {
44634
+ "type": "string"
44635
+ },
44636
+ "description": "Names of other calendars the unit still imports, as Vrbo shows them.",
44637
+ "example": []
44638
+ },
44639
+ "checkedAt": {
44640
+ "type": "string",
44641
+ "format": "date-time",
44642
+ "nullable": true,
44643
+ "description": "When Repull last read the unit's imported calendars."
44644
+ }
44645
+ }
44646
+ }
44647
+ }
44648
+ }
44649
+ },
44650
+ "example": {
44651
+ "listingId": "1001",
44652
+ "url": "https://api.repull.dev/ical/4f9c2d7e1a8b3c6d5e0f9a2b7c4d1e8f3a6b9c2d5e8f1a4b7c0d3e6f9a2b5c8d.ics",
44653
+ "calendarName": "Repull",
44654
+ "enabled": true,
44655
+ "vrbo": [
44656
+ {
44657
+ "unitId": "7001234",
44658
+ "calendarSync": true,
44659
+ "status": "imported",
44660
+ "otherFeeds": [],
44661
+ "checkedAt": "2026-11-19T05:12:40.000Z"
44662
+ }
44663
+ ]
44664
+ }
44665
+ }
44666
+ }
44667
+ },
44668
+ "401": {
44669
+ "$ref": "#/components/responses/Unauthorized"
44670
+ },
44671
+ "403": {
44672
+ "$ref": "#/components/responses/ListingInactive"
44673
+ },
44674
+ "404": {
44675
+ "$ref": "#/components/responses/NotFound"
44676
+ },
44677
+ "422": {
44678
+ "$ref": "#/components/responses/UnprocessableEntity"
44679
+ }
44680
+ }
44681
+ }
44440
44682
  }
44441
44683
  }
44442
44684
  }
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.51
4
+ version: 0.2.53
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-18 00:00:00.000000000 Z
11
+ date: 2026-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -189,6 +189,7 @@ files:
189
189
  - lib/repull/models/apply_connection_mappings_request.rb
190
190
  - lib/repull/models/apply_connection_mappings_request_mappings_inner.rb
191
191
  - lib/repull/models/auto_map_connection_units200_response.rb
192
+ - lib/repull/models/auto_map_connection_units200_response_results_inner.rb
192
193
  - lib/repull/models/auto_map_connection_units_request.rb
193
194
  - lib/repull/models/availability_batch_write_request.rb
194
195
  - lib/repull/models/availability_write_request.rb
@@ -371,6 +372,8 @@ files:
371
372
  - lib/repull/models/get_listing_calendar_sync200_response_channels_inner_problems_inner.rb
372
373
  - lib/repull/models/get_listing_calendar_sync200_response_channels_inner_queue.rb
373
374
  - lib/repull/models/get_listing_calendar_sync200_response_channels_inner_queue_last_push.rb
375
+ - lib/repull/models/get_listing_ical200_response.rb
376
+ - lib/repull/models/get_listing_ical200_response_vrbo_inner.rb
374
377
  - lib/repull/models/get_listing_markups200_response.rb
375
378
  - lib/repull/models/get_listing_markups200_response_airbnb_inner.rb
376
379
  - lib/repull/models/get_listing_markups200_response_booking_inner.rb
@@ -504,6 +507,9 @@ files:
504
507
  - lib/repull/models/listing_generate_content_request.rb
505
508
  - lib/repull/models/listing_generate_content_response.rb
506
509
  - lib/repull/models/listing_hotel.rb
510
+ - lib/repull/models/listing_ical_feed_changed_event.rb
511
+ - lib/repull/models/listing_ical_feed_changed_payload.rb
512
+ - lib/repull/models/listing_ical_feed_changed_payload_feed.rb
507
513
  - lib/repull/models/listing_list_response.rb
508
514
  - lib/repull/models/listing_market_state_request.rb
509
515
  - lib/repull/models/listing_market_state_response.rb