repull 0.2.35 → 0.2.36
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/connect_api.rb +2 -2
- data/lib/repull/api/listings_api.rb +8 -8
- data/lib/repull/api/migrate_api.rb +68 -0
- data/lib/repull/models/booking_unacknowledged_event.rb +281 -0
- data/lib/repull/models/booking_unacknowledged_payload.rb +229 -0
- data/lib/repull/models/channel_degraded_event.rb +279 -0
- data/lib/repull/models/channel_degraded_payload.rb +174 -0
- data/lib/repull/models/channel_degraded_payload_object.rb +262 -0
- data/lib/repull/models/channel_sync_failed_event.rb +280 -0
- data/lib/repull/models/channel_sync_failure_payload.rb +214 -0
- data/lib/repull/models/channel_sync_failure_payload_failures_inner.rb +213 -0
- data/lib/repull/models/channel_sync_failure_payload_object.rb +289 -0
- data/lib/repull/models/charge_per.rb +42 -0
- data/lib/repull/models/create_connect_session_request.rb +2 -2
- data/lib/repull/models/create_connection_request.rb +1 -1
- data/lib/repull/models/import_from_channex200_response.rb +147 -0
- data/lib/repull/models/import_from_channex200_response_data.rb +324 -0
- data/lib/repull/models/import_from_channex200_response_data_channels_inner.rb +263 -0
- data/lib/repull/models/import_from_channex200_response_data_properties_inner.rb +222 -0
- data/lib/repull/models/import_from_channex200_response_data_summary.rb +201 -0
- data/lib/repull/models/import_from_channex200_response_data_summary_bookings.rb +165 -0
- data/lib/repull/models/import_from_channex200_response_data_summary_properties.rb +165 -0
- data/lib/repull/models/import_from_channex_request.rb +223 -0
- data/lib/repull/models/listing.rb +82 -1
- data/lib/repull/models/listing_content_photo.rb +206 -0
- data/lib/repull/models/listing_fee.rb +229 -0
- data/lib/repull/models/listing_policies.rb +257 -0
- data/lib/repull/models/listing_policies_check_in.rb +179 -0
- data/lib/repull/models/listing_policies_check_out.rb +148 -0
- data/lib/repull/models/listing_policies_quiet_hours.rb +156 -0
- data/lib/repull/models/listing_pricing_settings.rb +233 -0
- data/lib/repull/models/listing_room.rb +190 -0
- data/lib/repull/models/listing_room_beds_inner.rb +156 -0
- data/lib/repull/models/listing_rules.rb +212 -0
- data/lib/repull/models/listing_tax.rb +241 -0
- data/lib/repull/models/reservation_thread_assigned_event.rb +279 -0
- data/lib/repull/models/reservation_thread_assigned_payload.rb +174 -0
- data/lib/repull/models/reservation_thread_assigned_payload_object.rb +249 -0
- data/lib/repull/models/webhook_event.rb +8 -0
- data/lib/repull/models/webhook_event_type.rb +5 -1
- data/lib/repull/version.rb +1 -1
- data/lib/repull.rb +32 -0
- data/openapi/v1.json +1591 -8
- metadata +34 -4
- data/spec/api/plumguide_api_spec.rb +0 -85
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.36
|
|
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-10-
|
|
11
|
+
date: 2026-10-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -223,6 +223,8 @@ files:
|
|
|
223
223
|
- lib/repull/models/booking_rooms_rates_response_rooms_inner_rates_inner.rb
|
|
224
224
|
- lib/repull/models/booking_setup_request.rb
|
|
225
225
|
- lib/repull/models/booking_setup_request_legal_entity.rb
|
|
226
|
+
- lib/repull/models/booking_unacknowledged_event.rb
|
|
227
|
+
- lib/repull/models/booking_unacknowledged_payload.rb
|
|
226
228
|
- lib/repull/models/booking_upstream_failure.rb
|
|
227
229
|
- lib/repull/models/booking_verify_hotel_request.rb
|
|
228
230
|
- lib/repull/models/booking_verify_hotel_response.rb
|
|
@@ -234,7 +236,15 @@ files:
|
|
|
234
236
|
- lib/repull/models/calendar_response.rb
|
|
235
237
|
- lib/repull/models/cancel_reservation200_response.rb
|
|
236
238
|
- lib/repull/models/cancel_reservation_request.rb
|
|
239
|
+
- lib/repull/models/channel_degraded_event.rb
|
|
240
|
+
- lib/repull/models/channel_degraded_payload.rb
|
|
241
|
+
- lib/repull/models/channel_degraded_payload_object.rb
|
|
237
242
|
- lib/repull/models/channel_market_state_item.rb
|
|
243
|
+
- lib/repull/models/channel_sync_failed_event.rb
|
|
244
|
+
- lib/repull/models/channel_sync_failure_payload.rb
|
|
245
|
+
- lib/repull/models/channel_sync_failure_payload_failures_inner.rb
|
|
246
|
+
- lib/repull/models/channel_sync_failure_payload_object.rb
|
|
247
|
+
- lib/repull/models/charge_per.rb
|
|
238
248
|
- lib/repull/models/check_migration_cutover200_response.rb
|
|
239
249
|
- lib/repull/models/check_migration_cutover_request.rb
|
|
240
250
|
- lib/repull/models/check_migration_cutover_request_reservations_inner.rb
|
|
@@ -365,6 +375,14 @@ files:
|
|
|
365
375
|
- lib/repull/models/guest_update_response.rb
|
|
366
376
|
- lib/repull/models/guest_update_response_contacts_inner.rb
|
|
367
377
|
- lib/repull/models/guest_update_response_pms_inner.rb
|
|
378
|
+
- lib/repull/models/import_from_channex200_response.rb
|
|
379
|
+
- lib/repull/models/import_from_channex200_response_data.rb
|
|
380
|
+
- lib/repull/models/import_from_channex200_response_data_channels_inner.rb
|
|
381
|
+
- lib/repull/models/import_from_channex200_response_data_properties_inner.rb
|
|
382
|
+
- lib/repull/models/import_from_channex200_response_data_summary.rb
|
|
383
|
+
- lib/repull/models/import_from_channex200_response_data_summary_bookings.rb
|
|
384
|
+
- lib/repull/models/import_from_channex200_response_data_summary_properties.rb
|
|
385
|
+
- lib/repull/models/import_from_channex_request.rb
|
|
368
386
|
- lib/repull/models/inquiry_created_event.rb
|
|
369
387
|
- lib/repull/models/inquiry_created_payload.rb
|
|
370
388
|
- lib/repull/models/inquiry_updated_event.rb
|
|
@@ -416,6 +434,7 @@ files:
|
|
|
416
434
|
- lib/repull/models/listing_comp_ratings.rb
|
|
417
435
|
- lib/repull/models/listing_comps_response.rb
|
|
418
436
|
- lib/repull/models/listing_content.rb
|
|
437
|
+
- lib/repull/models/listing_content_photo.rb
|
|
419
438
|
- lib/repull/models/listing_content_update_request.rb
|
|
420
439
|
- lib/repull/models/listing_content_update_request_address.rb
|
|
421
440
|
- lib/repull/models/listing_content_update_request_amenities.rb
|
|
@@ -440,6 +459,7 @@ files:
|
|
|
440
459
|
- lib/repull/models/listing_deleted_event.rb
|
|
441
460
|
- lib/repull/models/listing_deleted_payload.rb
|
|
442
461
|
- lib/repull/models/listing_details.rb
|
|
462
|
+
- lib/repull/models/listing_fee.rb
|
|
443
463
|
- lib/repull/models/listing_generate_content_request.rb
|
|
444
464
|
- lib/repull/models/listing_generate_content_response.rb
|
|
445
465
|
- lib/repull/models/listing_hotel.rb
|
|
@@ -452,6 +472,10 @@ files:
|
|
|
452
472
|
- lib/repull/models/listing_photo_upload_url_request.rb
|
|
453
473
|
- lib/repull/models/listing_photo_upload_url_response.rb
|
|
454
474
|
- lib/repull/models/listing_photos_response.rb
|
|
475
|
+
- lib/repull/models/listing_policies.rb
|
|
476
|
+
- lib/repull/models/listing_policies_check_in.rb
|
|
477
|
+
- lib/repull/models/listing_policies_check_out.rb
|
|
478
|
+
- lib/repull/models/listing_policies_quiet_hours.rb
|
|
455
479
|
- lib/repull/models/listing_pricing_apply_request.rb
|
|
456
480
|
- lib/repull/models/listing_pricing_apply_response.rb
|
|
457
481
|
- lib/repull/models/listing_pricing_history_entry.rb
|
|
@@ -461,6 +485,7 @@ files:
|
|
|
461
485
|
- lib/repull/models/listing_pricing_response_comp_summary.rb
|
|
462
486
|
- lib/repull/models/listing_pricing_response_date_range.rb
|
|
463
487
|
- lib/repull/models/listing_pricing_response_listing.rb
|
|
488
|
+
- lib/repull/models/listing_pricing_settings.rb
|
|
464
489
|
- lib/repull/models/listing_pricing_strategy.rb
|
|
465
490
|
- lib/repull/models/listing_pricing_strategy_input.rb
|
|
466
491
|
- lib/repull/models/listing_publish_airbnb_request.rb
|
|
@@ -474,6 +499,9 @@ files:
|
|
|
474
499
|
- lib/repull/models/listing_pull_response.rb
|
|
475
500
|
- lib/repull/models/listing_quality_tier.rb
|
|
476
501
|
- lib/repull/models/listing_reactivated_event.rb
|
|
502
|
+
- lib/repull/models/listing_room.rb
|
|
503
|
+
- lib/repull/models/listing_room_beds_inner.rb
|
|
504
|
+
- lib/repull/models/listing_rules.rb
|
|
477
505
|
- lib/repull/models/listing_segment.rb
|
|
478
506
|
- lib/repull/models/listing_segment_recommendation.rb
|
|
479
507
|
- lib/repull/models/listing_segments_response.rb
|
|
@@ -482,6 +510,7 @@ files:
|
|
|
482
510
|
- lib/repull/models/listing_status_batch_response.rb
|
|
483
511
|
- lib/repull/models/listing_suspended_event.rb
|
|
484
512
|
- lib/repull/models/listing_suspension_payload.rb
|
|
513
|
+
- lib/repull/models/listing_tax.rb
|
|
485
514
|
- lib/repull/models/listing_units_inner.rb
|
|
486
515
|
- lib/repull/models/listing_updated_event.rb
|
|
487
516
|
- lib/repull/models/listing_updated_payload.rb
|
|
@@ -657,6 +686,9 @@ files:
|
|
|
657
686
|
- lib/repull/models/reservation_request_created_payload.rb
|
|
658
687
|
- lib/repull/models/reservation_request_updated_event.rb
|
|
659
688
|
- lib/repull/models/reservation_request_updated_payload.rb
|
|
689
|
+
- lib/repull/models/reservation_thread_assigned_event.rb
|
|
690
|
+
- lib/repull/models/reservation_thread_assigned_payload.rb
|
|
691
|
+
- lib/repull/models/reservation_thread_assigned_payload_object.rb
|
|
660
692
|
- lib/repull/models/reservation_unit.rb
|
|
661
693
|
- lib/repull/models/reservation_update_request.rb
|
|
662
694
|
- lib/repull/models/reservation_update_response.rb
|
|
@@ -814,7 +846,6 @@ files:
|
|
|
814
846
|
- spec/api/connect_api_spec.rb
|
|
815
847
|
- spec/api/conversations_api_spec.rb
|
|
816
848
|
- spec/api/guests_api_spec.rb
|
|
817
|
-
- spec/api/plumguide_api_spec.rb
|
|
818
849
|
- spec/api/properties_api_spec.rb
|
|
819
850
|
- spec/api/reservations_api_spec.rb
|
|
820
851
|
- spec/api/system_api_spec.rb
|
|
@@ -869,7 +900,6 @@ test_files:
|
|
|
869
900
|
- spec/api/connect_api_spec.rb
|
|
870
901
|
- spec/api/conversations_api_spec.rb
|
|
871
902
|
- spec/api/guests_api_spec.rb
|
|
872
|
-
- spec/api/plumguide_api_spec.rb
|
|
873
903
|
- spec/api/properties_api_spec.rb
|
|
874
904
|
- spec/api/reservations_api_spec.rb
|
|
875
905
|
- spec/api/system_api_spec.rb
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#Repull API
|
|
3
|
-
|
|
4
|
-
#The unified API for vacation rental tech. Connect to 50+ PMS platforms and 4 OTA channels through one REST API. Built-in AI operations for guest communication, pricing, and listing optimization. ## Quick Start 1. Get an API key at https://repull.dev/dashboard 2. Connect a PMS: `POST /v1/connect/{provider}` 3. List properties: `GET /v1/properties` 4. Get reservations: `GET /v1/reservations` ## Authentication All requests require a Bearer token: ``` Authorization: Bearer sk_test_YOUR_API_KEY ``` Sandbox keys start with `sk_test_`, production with `sk_live_`.
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: 1.0.0
|
|
7
|
-
Contact: hello@repull.dev
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.22.0
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'spec_helper'
|
|
14
|
-
require 'json'
|
|
15
|
-
|
|
16
|
-
# Unit tests for Repull::PlumguideApi
|
|
17
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
-
# Please update as you see appropriate
|
|
19
|
-
describe 'PlumguideApi' do
|
|
20
|
-
before do
|
|
21
|
-
# run before each test
|
|
22
|
-
@api_instance = Repull::PlumguideApi.new
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
after do
|
|
26
|
-
# run after each test
|
|
27
|
-
end
|
|
28
|
-
|
|
29
|
-
describe 'test an instance of PlumguideApi' do
|
|
30
|
-
it 'should create an instance of PlumguideApi' do
|
|
31
|
-
expect(@api_instance).to be_instance_of(Repull::PlumguideApi)
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
|
|
35
|
-
# unit tests for v1_channels_plumguide_availability_get
|
|
36
|
-
# Get Plumguide availability
|
|
37
|
-
# @param [Hash] opts the optional parameters
|
|
38
|
-
# @return [nil]
|
|
39
|
-
describe 'v1_channels_plumguide_availability_get test' do
|
|
40
|
-
it 'should work' do
|
|
41
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
42
|
-
end
|
|
43
|
-
end
|
|
44
|
-
|
|
45
|
-
# unit tests for v1_channels_plumguide_availability_put
|
|
46
|
-
# Push availability to Plumguide
|
|
47
|
-
# @param [Hash] opts the optional parameters
|
|
48
|
-
# @return [nil]
|
|
49
|
-
describe 'v1_channels_plumguide_availability_put test' do
|
|
50
|
-
it 'should work' do
|
|
51
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
52
|
-
end
|
|
53
|
-
end
|
|
54
|
-
|
|
55
|
-
# unit tests for v1_channels_plumguide_listings_get
|
|
56
|
-
# List Plumguide listings
|
|
57
|
-
# @param [Hash] opts the optional parameters
|
|
58
|
-
# @return [nil]
|
|
59
|
-
describe 'v1_channels_plumguide_listings_get test' do
|
|
60
|
-
it 'should work' do
|
|
61
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
62
|
-
end
|
|
63
|
-
end
|
|
64
|
-
|
|
65
|
-
# unit tests for v1_channels_plumguide_pricing_get
|
|
66
|
-
# Get Plumguide pricing
|
|
67
|
-
# @param [Hash] opts the optional parameters
|
|
68
|
-
# @return [nil]
|
|
69
|
-
describe 'v1_channels_plumguide_pricing_get test' do
|
|
70
|
-
it 'should work' do
|
|
71
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
72
|
-
end
|
|
73
|
-
end
|
|
74
|
-
|
|
75
|
-
# unit tests for v1_channels_plumguide_pricing_put
|
|
76
|
-
# Push pricing to Plumguide
|
|
77
|
-
# @param [Hash] opts the optional parameters
|
|
78
|
-
# @return [nil]
|
|
79
|
-
describe 'v1_channels_plumguide_pricing_put test' do
|
|
80
|
-
it 'should work' do
|
|
81
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
82
|
-
end
|
|
83
|
-
end
|
|
84
|
-
|
|
85
|
-
end
|