repull 0.2.33 → 0.2.34

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.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/lib/repull/api/promotions_api.rb +574 -0
  3. data/lib/repull/models/listing_updated_payload.rb +2 -2
  4. data/lib/repull/models/promotion.rb +344 -0
  5. data/lib/repull/models/promotion_applies_to.rb +161 -0
  6. data/lib/repull/models/promotion_bulk_request.rb +236 -0
  7. data/lib/repull/models/promotion_bulk_response.rb +158 -0
  8. data/lib/repull/models/promotion_bulk_response_data_inner.rb +174 -0
  9. data/lib/repull/models/promotion_bulk_response_data_inner_error.rb +165 -0
  10. data/lib/repull/models/promotion_bulk_response_summary.rb +156 -0
  11. data/lib/repull/models/promotion_catalog.rb +158 -0
  12. data/lib/repull/models/promotion_catalog_channels_inner.rb +222 -0
  13. data/lib/repull/models/promotion_catalog_entry.rb +265 -0
  14. data/lib/repull/models/promotion_catalog_field.rb +205 -0
  15. data/lib/repull/models/promotion_catalog_field_options_inner.rb +156 -0
  16. data/lib/repull/models/promotion_catalog_response.rb +147 -0
  17. data/lib/repull/models/promotion_create_request.rb +258 -0
  18. data/lib/repull/models/promotion_delete_response.rb +147 -0
  19. data/lib/repull/models/promotion_delete_response_data.rb +156 -0
  20. data/lib/repull/models/promotion_discount.rb +191 -0
  21. data/lib/repull/models/promotion_input.rb +241 -0
  22. data/lib/repull/models/promotion_list_response.rb +170 -0
  23. data/lib/repull/models/promotion_refresh_response.rb +170 -0
  24. data/lib/repull/models/promotion_response.rb +147 -0
  25. data/lib/repull/models/promotion_rules.rb +290 -0
  26. data/lib/repull/models/promotion_rules_blackout_dates_quota.rb +156 -0
  27. data/lib/repull/models/promotion_rules_booking_window.rb +230 -0
  28. data/lib/repull/models/promotion_rules_last_minute.rb +218 -0
  29. data/lib/repull/models/promotion_rules_stay_window.rb +211 -0
  30. data/lib/repull/models/promotion_type.rb +47 -0
  31. data/lib/repull/models/promotion_update_request.rb +175 -0
  32. data/lib/repull/models/promotion_usage.rb +193 -0
  33. data/lib/repull/models/promotion_usage_revenue.rb +156 -0
  34. data/lib/repull/models/reservation_money_line.rb +14 -4
  35. data/lib/repull/version.rb +1 -1
  36. data/lib/repull.rb +31 -0
  37. data/openapi/v1.json +1061 -2
  38. data/scripts/regen.sh +1 -1
  39. metadata +32 -1
data/scripts/regen.sh CHANGED
@@ -73,7 +73,7 @@ npx --yes @openapitools/openapi-generator-cli@latest generate \
73
73
  -i "$SPEC_PATH" \
74
74
  -g ruby \
75
75
  -o "$GEN_OUT" \
76
- --additional-properties=gemName=repull,moduleName=Repull,gemVersion=0.2.33
76
+ --additional-properties=gemName=repull,moduleName=Repull,gemVersion=0.2.34
77
77
 
78
78
  echo "==> syncing lib/ + docs/"
79
79
  rm -rf "$ROOT/lib/repull" "$ROOT/lib/repull.rb" "$ROOT/docs"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: repull
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.33
4
+ version: 0.2.34
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Nikolov
@@ -83,6 +83,7 @@ files:
83
83
  - lib/repull/api/migrate_api.rb
84
84
  - lib/repull/api/plumguide_api.rb
85
85
  - lib/repull/api/pricing_api.rb
86
+ - lib/repull/api/promotions_api.rb
86
87
  - lib/repull/api/properties_api.rb
87
88
  - lib/repull/api/quotes_api.rb
88
89
  - lib/repull/api/reservations_api.rb
@@ -566,6 +567,36 @@ files:
566
567
  - lib/repull/models/preview_conversation_special_offer_request.rb
567
568
  - lib/repull/models/preview_conversation_special_offer_request_fees_inner.rb
568
569
  - lib/repull/models/preview_conversation_special_offer_request_guests.rb
570
+ - lib/repull/models/promotion.rb
571
+ - lib/repull/models/promotion_applies_to.rb
572
+ - lib/repull/models/promotion_bulk_request.rb
573
+ - lib/repull/models/promotion_bulk_response.rb
574
+ - lib/repull/models/promotion_bulk_response_data_inner.rb
575
+ - lib/repull/models/promotion_bulk_response_data_inner_error.rb
576
+ - lib/repull/models/promotion_bulk_response_summary.rb
577
+ - lib/repull/models/promotion_catalog.rb
578
+ - lib/repull/models/promotion_catalog_channels_inner.rb
579
+ - lib/repull/models/promotion_catalog_entry.rb
580
+ - lib/repull/models/promotion_catalog_field.rb
581
+ - lib/repull/models/promotion_catalog_field_options_inner.rb
582
+ - lib/repull/models/promotion_catalog_response.rb
583
+ - lib/repull/models/promotion_create_request.rb
584
+ - lib/repull/models/promotion_delete_response.rb
585
+ - lib/repull/models/promotion_delete_response_data.rb
586
+ - lib/repull/models/promotion_discount.rb
587
+ - lib/repull/models/promotion_input.rb
588
+ - lib/repull/models/promotion_list_response.rb
589
+ - lib/repull/models/promotion_refresh_response.rb
590
+ - lib/repull/models/promotion_response.rb
591
+ - lib/repull/models/promotion_rules.rb
592
+ - lib/repull/models/promotion_rules_blackout_dates_quota.rb
593
+ - lib/repull/models/promotion_rules_booking_window.rb
594
+ - lib/repull/models/promotion_rules_last_minute.rb
595
+ - lib/repull/models/promotion_rules_stay_window.rb
596
+ - lib/repull/models/promotion_type.rb
597
+ - lib/repull/models/promotion_update_request.rb
598
+ - lib/repull/models/promotion_usage.rb
599
+ - lib/repull/models/promotion_usage_revenue.rb
569
600
  - lib/repull/models/property.rb
570
601
  - lib/repull/models/property_availability.rb
571
602
  - lib/repull/models/property_availability_coverage.rb