wink-sdk-travel-agent 0.0.3__py3-none-any.whl → 0.0.19__py3-none-any.whl

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.

Potentially problematic release.


This version of wink-sdk-travel-agent might be problematic. Click here for more details.

Files changed (116) hide show
  1. wink_sdk_travel_agent/__init__.py +11 -7
  2. wink_sdk_travel_agent/api/travel_agent_api.py +2 -2
  3. wink_sdk_travel_agent/api_client.py +3 -3
  4. wink_sdk_travel_agent/configuration.py +164 -41
  5. wink_sdk_travel_agent/exceptions.py +19 -2
  6. wink_sdk_travel_agent/models/__init__.py +10 -6
  7. wink_sdk_travel_agent/models/address_agent.py +2 -2
  8. wink_sdk_travel_agent/models/agent_booking_request_agent.py +2 -2
  9. wink_sdk_travel_agent/models/aggregate_descriptor_agent.py +2 -2
  10. wink_sdk_travel_agent/models/ancillary_request_agent.py +3 -3
  11. wink_sdk_travel_agent/models/authenticated_user_agent.py +2 -2
  12. wink_sdk_travel_agent/models/bed_agent.py +2 -2
  13. wink_sdk_travel_agent/models/bedroom_agent.py +2 -2
  14. wink_sdk_travel_agent/models/bedroom_configuration_agent.py +2 -2
  15. wink_sdk_travel_agent/models/beneficiary_agent.py +8 -6
  16. wink_sdk_travel_agent/models/beneficiary_charge_agent.py +2 -2
  17. wink_sdk_travel_agent/models/booking_agent.py +9 -9
  18. wink_sdk_travel_agent/models/booking_ancillary_agent.py +5 -5
  19. wink_sdk_travel_agent/models/booking_confirmations_agent.py +2 -2
  20. wink_sdk_travel_agent/models/booking_contract_agent.py +113 -11
  21. wink_sdk_travel_agent/models/booking_contract_item_agent.py +2 -2
  22. wink_sdk_travel_agent/models/booking_contract_payment_details_agent.py +2 -2
  23. wink_sdk_travel_agent/models/booking_itinerary_agent.py +2 -2
  24. wink_sdk_travel_agent/models/booking_itinerary_room_configuration_agent.py +2 -2
  25. wink_sdk_travel_agent/models/booking_itinerary_room_configuration_child_agent.py +2 -2
  26. wink_sdk_travel_agent/models/booking_user_agent.py +2 -2
  27. wink_sdk_travel_agent/models/booking_user_request_agent.py +2 -2
  28. wink_sdk_travel_agent/models/booking_user_session_agent.py +2 -2
  29. wink_sdk_travel_agent/models/booking_view_agent.py +2 -2
  30. wink_sdk_travel_agent/models/boolean_response_agent.py +2 -2
  31. wink_sdk_travel_agent/models/cancellation_detail_agent.py +2 -2
  32. wink_sdk_travel_agent/models/cancellation_policy_agent.py +2 -2
  33. wink_sdk_travel_agent/models/cancellation_policy_exception_agent.py +2 -2
  34. wink_sdk_travel_agent/models/cancellation_policy_exceptions_agent.py +2 -2
  35. wink_sdk_travel_agent/models/child_agent.py +2 -2
  36. wink_sdk_travel_agent/models/commissionable_entry_agent.py +2 -2
  37. wink_sdk_travel_agent/models/company_agent.py +26 -10
  38. wink_sdk_travel_agent/models/company_user_agent.py +2 -2
  39. wink_sdk_travel_agent/models/company_view_agent.py +2 -2
  40. wink_sdk_travel_agent/models/composite_filter_descriptor_agent.py +2 -2
  41. wink_sdk_travel_agent/models/contact_agent.py +2 -2
  42. wink_sdk_travel_agent/models/country_agent.py +2 -2
  43. wink_sdk_travel_agent/models/create_agent_booking400_response.py +2 -2
  44. wink_sdk_travel_agent/models/create_agent_booking_request_agent.py +2 -2
  45. wink_sdk_travel_agent/models/custom_monetary_amount.py +2 -2
  46. wink_sdk_travel_agent/models/daily_rate_agent.py +2 -2
  47. wink_sdk_travel_agent/models/dow_pattern_group_agent.py +1 -1
  48. wink_sdk_travel_agent/models/engine_configuration_booking_report_agent.py +45 -7
  49. wink_sdk_travel_agent/models/engine_configuration_theme_colors_agent.py +108 -0
  50. wink_sdk_travel_agent/models/extra_charge_agent.py +2 -2
  51. wink_sdk_travel_agent/models/extra_charges_agent.py +2 -2
  52. wink_sdk_travel_agent/models/fee_agent.py +2 -2
  53. wink_sdk_travel_agent/models/filter_descriptor_agent.py +2 -2
  54. wink_sdk_travel_agent/models/general_manager_agent.py +2 -2
  55. wink_sdk_travel_agent/models/generic_error_message.py +2 -2
  56. wink_sdk_travel_agent/models/geo_json_point_agent.py +2 -2
  57. wink_sdk_travel_agent/models/geo_name_agent.py +2 -2
  58. wink_sdk_travel_agent/models/group_descriptor_agent.py +2 -2
  59. wink_sdk_travel_agent/models/guest_room_agent.py +1 -1
  60. wink_sdk_travel_agent/models/guest_room_lightweight_agent.py +258 -0
  61. wink_sdk_travel_agent/models/guest_user_agent.py +2 -2
  62. wink_sdk_travel_agent/models/hotel_on_map_agent.py +2 -2
  63. wink_sdk_travel_agent/models/image_attribution_agent.py +2 -2
  64. wink_sdk_travel_agent/models/localized_description_agent.py +2 -2
  65. wink_sdk_travel_agent/models/localized_price_agent.py +14 -14
  66. wink_sdk_travel_agent/models/managed_by_entity_agent.py +102 -0
  67. wink_sdk_travel_agent/models/managed_by_entity_rules_agent.py +95 -0
  68. wink_sdk_travel_agent/models/online_presence_agent.py +112 -0
  69. wink_sdk_travel_agent/models/page_booking_view_agent.py +7 -7
  70. wink_sdk_travel_agent/models/pageable_object_agent.py +5 -5
  71. wink_sdk_travel_agent/models/payout_agent.py +15 -11
  72. wink_sdk_travel_agent/models/payout_fee_agent.py +2 -2
  73. wink_sdk_travel_agent/models/pending_refund_agent.py +2 -2
  74. wink_sdk_travel_agent/models/perk_lightweight_agent.py +104 -0
  75. wink_sdk_travel_agent/models/personal_agent.py +2 -2
  76. wink_sdk_travel_agent/models/pet_info_dto_agent.py +2 -2
  77. wink_sdk_travel_agent/models/preferences_agent.py +2 -2
  78. wink_sdk_travel_agent/models/profile_agent.py +2 -2
  79. wink_sdk_travel_agent/models/profile_user_agent.py +2 -2
  80. wink_sdk_travel_agent/models/property_policy_agent.py +2 -2
  81. wink_sdk_travel_agent/models/quote_agent.py +3 -3
  82. wink_sdk_travel_agent/models/rate_plan_agent.py +1 -1
  83. wink_sdk_travel_agent/models/rate_plan_level_fee_agent.py +2 -2
  84. wink_sdk_travel_agent/models/refund_agent.py +2 -2
  85. wink_sdk_travel_agent/models/reporting_ancillary_agent.py +2 -2
  86. wink_sdk_travel_agent/models/reporting_daily_rate_agent.py +2 -2
  87. wink_sdk_travel_agent/models/reporting_extra_charge_agent.py +2 -2
  88. wink_sdk_travel_agent/models/review_agent.py +2 -2
  89. wink_sdk_travel_agent/models/review_answer_agent.py +2 -2
  90. wink_sdk_travel_agent/models/review_user_agent.py +2 -2
  91. wink_sdk_travel_agent/models/room_configuration_agent.py +2 -2
  92. wink_sdk_travel_agent/models/room_configuration_price_rate_plan_agent.py +118 -0
  93. wink_sdk_travel_agent/models/room_stay_agent.py +32 -35
  94. wink_sdk_travel_agent/models/simple_address_agent.py +104 -0
  95. wink_sdk_travel_agent/models/simple_date_time_itinerary_agent.py +2 -2
  96. wink_sdk_travel_agent/models/simple_description_agent.py +3 -3
  97. wink_sdk_travel_agent/models/simple_multimedia_agent.py +2 -2
  98. wink_sdk_travel_agent/models/social_agent.py +2 -2
  99. wink_sdk_travel_agent/models/sort_descriptor_agent.py +2 -2
  100. wink_sdk_travel_agent/models/sort_object.py +2 -2
  101. wink_sdk_travel_agent/models/state_agent.py +2 -2
  102. wink_sdk_travel_agent/models/stay_rate_agent.py +6 -6
  103. wink_sdk_travel_agent/models/sub_country_agent.py +2 -2
  104. wink_sdk_travel_agent/models/sub_sub_country_agent.py +2 -2
  105. wink_sdk_travel_agent/models/supplier_contract_item_policy_agent.py +2 -2
  106. wink_sdk_travel_agent/models/travel_agent_agent.py +2 -2
  107. wink_sdk_travel_agent/models/travel_inventory_recognition_agent.py +2 -2
  108. wink_sdk_travel_agent/models/upsert_travel_agent_request_agent.py +2 -2
  109. wink_sdk_travel_agent/rest.py +3 -2
  110. wink_sdk_travel_agent-0.0.19.dist-info/METADATA +26 -0
  111. wink_sdk_travel_agent-0.0.19.dist-info/RECORD +118 -0
  112. {wink_sdk_travel_agent-0.0.3.dist-info → wink_sdk_travel_agent-0.0.19.dist-info}/WHEEL +1 -1
  113. wink_sdk_travel_agent-0.0.3.dist-info/METADATA +0 -17
  114. wink_sdk_travel_agent-0.0.3.dist-info/RECORD +0 -110
  115. {wink_sdk_travel_agent-0.0.3.dist-info → wink_sdk_travel_agent-0.0.19.dist-info/licenses}/LICENSE +0 -0
  116. {wink_sdk_travel_agent-0.0.3.dist-info → wink_sdk_travel_agent-0.0.19.dist-info}/top_level.txt +0 -0
@@ -5,9 +5,9 @@
5
5
  """
6
6
  Wink API
7
7
 
8
- # Introduction Welcome to the Wink API - A programmer-friendly way to manage, sell and book travel blocking on the Wink platform. The API gives you all the tools you need to ready your properties and blocking for sale across 1000s of our native sales channels. Integrators, affiliates, travel agents and content creators have the ability search for your travel blocking and promote / sell it in a wide variety of ways. # Integrations We have already integrated with the most well-known channel managers so you don't have to. To see our current integrations, please go to https://extranet.wink.travel and scroll to Connectivity section. Once your properties are set up, you can finish the setup by mapping your property to Wink using your channel manager partner portal. If your properties don't have a channel manager, you can easily manage rates and availability with this API. # Intended Audience Programmers are [most likely] a requirement to start integrating with Wink. Companies and organizations that would most benefit from integrating with us are new and existing travel companies that have relationships with suppliers and that need an advanced system from which to manage their travel blocking and get that same blocking out to as many eyeballs as possible at the lowest price possible. - Hotel chains - Hotel brands - Travel tech companies - Destination sites - Integrators - Aggregators - Destination management companies - Travel agencies - OTAs ## APIs Not every integrator needs every API. For that reason, we have separated APIs into context. ### Test API - [Ping](/ping): The Ping API is a quick test endpoint to verify that your credentials work Wink. ### Common APIs - [Notifications](/notifications): The Notifications API is a way for us to stay in touch with your user, property or affiliate account. - [User Settings](/user-settings): The User Settings API exposes endpoints to allow 3rd party integrators to communicate with Wink. ### Consume APIs Consume endpoints are for developers who want to find existing travel blocking and either book it or use it to advertise through one of their Wink affiliate accounts. - [Configuration](/engine-client): A single endpoint to retrieve whitelabel + customization information for the booking engine. - [Lookup](/lookup): All APIs related to locating blocking by region, locale and property flags. - [Inventory](/blocking): All APIs related to retrieve known travel blocking as it was found using the Lookup API.. - [Booking](/booking): All APIs related to creating bookings on the platform. - [Travel Agent](/travel-agent): The Travel Agent API exposes endpoints to manage agent-facilitated bookings. ### Produce APIs Produce endpoints are for developers who want to create and manage travel blocking. #### Property - [Property registration](/extranet/property/register): As a producer, this is, oftentimes, where you start your journey. These endpoints let you create properties on Wink. - [Property](/extranet/property): This collection of property endpoints are mostly management endpoints that let you display, change status and similar for your existing properties. - [Facilities](/extranet/facilities): This collection of endpoints let you manage facilities; such as room types. - [Experiences](/extranet/experiences): This collection of endpoints let you manage experiences, such as activities. - [Monetize](/extranet/monetize): The Monetize API exposes endpoints for managing cancellation polies, rate plans, promotions and more on Wink. - [Distribution](/extranet/distribution): The Distribution API exposes endpoints for sales channels, connecting with affiliates, managing rates and blocking calendars and more on Wink. - [Property Booking](/extranet/booking): The Property Booking API exposes endpoints for managing bookings and reviews at the property-level. #### Affiliate - [Affiliate](/affiliate): This collection of affiliate endpoints are mostly management endpoints that let you display, change status and similar for your existing accounts. - [Browse](/affiliate/browse): The Browse API exposes endpoints for affiliates to find suppliers and blocking to sell. - [Inventory](/affiliate/blocking): The Inventory API exposes endpoints for affiliates to manage the blocking they want to sell and how they want to sell it. - [Sales Channel](/affiliate/sales-channel): The Sales Channel API exposes endpoints for affiliates to manage existing sales channels as well as find new ones. - [WinkLinks](/affiliate/winklinks): The WinkLinks API exposes endpoints for affiliates to manage their WinkLinks page. #### Rate provider - [Channel manager](/channel-manager): The Channel Manager API enables external channel manager partners to map, exchange rate / availability information with us as well as be informed of bookings that occur on the Wink platform for one of their properties. ### Taxonomy APIs Taxonomy endpoints are for developers who want to consume and produce travel blocking and need taxonomies of standard and non-standard codes for blocking types, classes, statuses etc. - [Reference](/reactive): All APIs related to retrieving platform-supported taxonomies. ### Insight APIs Insight endpoints do exactly what the name implies - They offer platform-level insight into the activities of producers and consumers. - [Analytics](/analytics): All APIs related to tracking metrics across a wide variety of data source segments including, more entertaining, leaderboard metrics. ### Payment APIs Payment endpoints are for developers who want to purchase travel blocking. This can be done via the API as a registered Travel Agent or using our API in conjunction with our PCI compliant reactive widget for all other entities. - [TripPay](/reactive): All APIs related to TripPay account management, booking, mapping and integration features. ## SDKs We are actively working on supporting the most used languages out there. If you don't see your language here, reach out to us with a request to officially add your language. In the meantime, if you want to roll your own SDK, you can do so by downloading the OpenAPI spec and using one of the many available OpenAPI generators available: [https://openapi-generator.tech/docs/generators](https://openapi-generator.tech/docs/generators). - Java SDK [https://github.com/wink-travel/wink-sdk-java](https://github.com/wink-travel/wink-sdk-java) ## Usage These features are made available to you via a [REST API](https://en.wikipedia.org/wiki/Representational_state_transfer). This API is language agnostic. ## Versioning We chose to version our endpoints in a way that we hope affects your integration minimally. You request the version of our API you wish to work with via the `Wink-Version` header. When it's time for you to upgrade, you only have to change the version number to get access to our updated endpoints. ## Release history - Follow updates on Github: https://github.com/wink-travel/wink-sdk-java/blob/master/CHANGELOG.md # Travel Agent API The Travel Agent API exposes endpoints to manage agent-facilitated bookings. This API lets you: 1. Travel Agent: Manage agent entity. 2. Booking: Create / Manage bookings Browse the endpoints in the left navigation bar to get started.
8
+ # Introduction Welcome to the Wink API - A programmer-friendly way to manage, sell and book travel inventory on the Wink platform. The API gives you all the tools you need to ready your properties and inventory for sale across 1000s of our native sales channels. Integrators, affiliates, travel agents and content creators have the ability search for your travel inventory and promote / sell it in a wide variety of ways. # Integrations We have already integrated with the most well-known channel managers so you don't have to. To see our current integrations, please go to https://extranet.wink.travel and scroll to Connectivity section. Once your properties are set up, you can finish the setup by mapping your property to Wink using your channel manager partner portal. If your properties don't have a channel manager, you can easily manage rates and availability with this API. # Intended Audience Programmers are [most likely] a requirement to start integrating with Wink. Companies and organizations that would most benefit from integrating with us are new and existing travel companies that have relationships with suppliers and that need an advanced system from which to manage their travel inventory and get that same inventory out to as many eyeballs as possible at the lowest price possible. - Hotel chains - Hotel brands - Travel tech companies - Destination sites - Integrators - Aggregators - Destination management companies - Travel agencies - OTAs ## APIs Not every integrator needs every API. For that reason, we have separated APIs into context. ### Test API - [Ping](/ping): The Ping API is a quick test endpoint to verify that your credentials work Wink. ### Common APIs - [Notifications](/notifications): The Notifications API is a way for us to stay in touch with your user, property or affiliate account. - [User Settings](/user-settings): The User Settings API exposes endpoints to allow 3rd party integrators to communicate with Wink. ### Consume APIs Consume endpoints are for developers who want to find existing travel inventory and either book it or use it to advertise through one of their Wink affiliate accounts. - [Configuration](/engine-client): A single endpoint to retrieve whitelabel + customization information for the booking engine. - [Lookup](/lookup): All APIs related to locating inventory by region, locale and property flags. - [Inventory](/inventory): All APIs related to retrieve known travel inventory as it was found using the Lookup API.. - [Booking](/booking): All APIs related to creating bookings on the platform. - [Travel Agent](/travel-agent): The Travel Agent API exposes endpoints to manage agent-facilitated bookings. ### Produce APIs Produce endpoints are for developers who want to create and manage travel inventory. #### Property - [Property registration](/extranet/property/register): As a producer, this is, oftentimes, where you start your journey. These endpoints let you create properties on Wink. - [Property](/extranet/property): This collection of property endpoints are mostly management endpoints that let you display, change status and similar for your existing properties. - [Facilities](/extranet/facilities): This collection of endpoints let you manage facilities; such as room types. - [Experiences](/extranet/experiences): This collection of endpoints let you manage experiences, such as activities. - [Monetize](/extranet/monetize): The Monetize API exposes endpoints for managing cancellation polies, rate plans, promotions and more on Wink. - [Distribution](/extranet/distribution): The Distribution API exposes endpoints for sales channels, connecting with affiliates, managing rates and inventory calendars and more on Wink. - [Property Booking](/extranet/booking): The Property Booking API exposes endpoints for managing bookings and reviews at the property-level. #### Affiliate - [Affiliate](/affiliate): This collection of affiliate endpoints are mostly management endpoints that let you display, change status and similar for your existing accounts. - [Browse](/affiliate/browse): The Browse API exposes endpoints for affiliates to find suppliers and inventory to sell. - [Inventory](/affiliate/inventory): The Inventory API exposes endpoints for affiliates to manage the inventory they want to sell and how they want to sell it. - [Sales Channel](/affiliate/sales-channel): The Sales Channel API exposes endpoints for affiliates to manage existing sales channels as well as find new ones. - [WinkLinks](/affiliate/winklinks): The WinkLinks API exposes endpoints for affiliates to manage their WinkLinks page. #### Rate provider - [Channel manager](/channel-manager): The Channel Manager API enables external channel manager partners to map, exchange rate / availability information with us as well as be informed of bookings that occur on the Wink platform for one of their properties. ### Taxonomy APIs Taxonomy endpoints are for developers who want to consume and produce travel inventory and need taxonomies of standard and non-standard codes for inventory types, classes, statuses etc. - [Reference](/reactive): All APIs related to retrieving platform-supported taxonomies. ### Insight APIs Insight endpoints do exactly what the name implies - They offer platform-level insight into the activities of producers and consumers. - [Analytics](/analytics): All APIs related to tracking metrics across a wide variety of data source segments including, more entertaining, leaderboard metrics. ### Payment APIs Payment endpoints are for developers who want to purchase travel inventory. This can be done via the API as a registered Travel Agent or using our API in conjunction with our PCI compliant reactive widget for all other entities. - [TripPay](/reactive): All APIs related to TripPay account management, booking, mapping and integration features. ## SDKs We are actively working on supporting the most used languages out there. If you don't see your language here, reach out to us with a request to officially add your language. In the meantime, if you want to roll your own SDK, you can do so by downloading the OpenAPI spec and using one of the many available OpenAPI generators available: [https://openapi-generator.tech/docs/generators](https://openapi-generator.tech/docs/generators). - Java SDK [https://github.com/wink-travel/wink-sdk-java](https://github.com/wink-travel/wink-sdk-java) ## Usage These features are made available to you via a [REST API](https://en.wikipedia.org/wiki/Representational_state_transfer). This API is language agnostic. ## Versioning We chose to version our endpoints in a way that we hope affects your integration minimally. You request the version of our API you wish to work with via the `Wink-Version` header. When it's time for you to upgrade, you only have to change the version number to get access to our updated endpoints. ## Release history - Follow updates on Github: https://github.com/wink-travel/wink-sdk-java/blob/master/CHANGELOG.md # Travel Agent API The Travel Agent API exposes endpoints to manage agent-facilitated bookings. This API lets you: 1. Travel Agent: Manage agent entity. 2. Booking: Create / Manage bookings Browse the endpoints in the left navigation bar to get started.
9
9
 
10
- The version of the OpenAPI document: 30.7.10
10
+ The version of the OpenAPI document: 30.15.2
11
11
  Contact: bjorn@wink.travel
12
12
  Generated by OpenAPI Generator (https://openapi-generator.tech)
13
13
 
@@ -15,7 +15,7 @@
15
15
  """ # noqa: E501
16
16
 
17
17
 
18
- __version__ = "0.0.3"
18
+ __version__ = "0.0.19"
19
19
 
20
20
  # import apis into sdk package
21
21
  from wink_sdk_travel_agent.api.travel_agent_api import TravelAgentApi
@@ -72,9 +72,8 @@ from wink_sdk_travel_agent.models.create_agent_booking400_response import Create
72
72
  from wink_sdk_travel_agent.models.create_agent_booking_request_agent import CreateAgentBookingRequestAgent
73
73
  from wink_sdk_travel_agent.models.custom_monetary_amount import CustomMonetaryAmount
74
74
  from wink_sdk_travel_agent.models.daily_rate_agent import DailyRateAgent
75
- from wink_sdk_travel_agent.models.dow_pattern_group_agent import DowPatternGroupAgent
76
75
  from wink_sdk_travel_agent.models.engine_configuration_booking_report_agent import EngineConfigurationBookingReportAgent
77
- from wink_sdk_travel_agent.models.engine_configuration_theme_agent import EngineConfigurationThemeAgent
76
+ from wink_sdk_travel_agent.models.engine_configuration_theme_colors_agent import EngineConfigurationThemeColorsAgent
78
77
  from wink_sdk_travel_agent.models.extra_charge_agent import ExtraChargeAgent
79
78
  from wink_sdk_travel_agent.models.extra_charges_agent import ExtraChargesAgent
80
79
  from wink_sdk_travel_agent.models.fee_agent import FeeAgent
@@ -84,17 +83,21 @@ from wink_sdk_travel_agent.models.generic_error_message import GenericErrorMessa
84
83
  from wink_sdk_travel_agent.models.geo_json_point_agent import GeoJsonPointAgent
85
84
  from wink_sdk_travel_agent.models.geo_name_agent import GeoNameAgent
86
85
  from wink_sdk_travel_agent.models.group_descriptor_agent import GroupDescriptorAgent
87
- from wink_sdk_travel_agent.models.guest_room_agent import GuestRoomAgent
86
+ from wink_sdk_travel_agent.models.guest_room_lightweight_agent import GuestRoomLightweightAgent
88
87
  from wink_sdk_travel_agent.models.guest_user_agent import GuestUserAgent
89
88
  from wink_sdk_travel_agent.models.hotel_on_map_agent import HotelOnMapAgent
90
89
  from wink_sdk_travel_agent.models.image_attribution_agent import ImageAttributionAgent
91
90
  from wink_sdk_travel_agent.models.localized_description_agent import LocalizedDescriptionAgent
92
91
  from wink_sdk_travel_agent.models.localized_price_agent import LocalizedPriceAgent
92
+ from wink_sdk_travel_agent.models.managed_by_entity_agent import ManagedByEntityAgent
93
+ from wink_sdk_travel_agent.models.managed_by_entity_rules_agent import ManagedByEntityRulesAgent
94
+ from wink_sdk_travel_agent.models.online_presence_agent import OnlinePresenceAgent
93
95
  from wink_sdk_travel_agent.models.page_booking_view_agent import PageBookingViewAgent
94
96
  from wink_sdk_travel_agent.models.pageable_object_agent import PageableObjectAgent
95
97
  from wink_sdk_travel_agent.models.payout_agent import PayoutAgent
96
98
  from wink_sdk_travel_agent.models.payout_fee_agent import PayoutFeeAgent
97
99
  from wink_sdk_travel_agent.models.pending_refund_agent import PendingRefundAgent
100
+ from wink_sdk_travel_agent.models.perk_lightweight_agent import PerkLightweightAgent
98
101
  from wink_sdk_travel_agent.models.personal_agent import PersonalAgent
99
102
  from wink_sdk_travel_agent.models.pet_info_dto_agent import PetInfoDtoAgent
100
103
  from wink_sdk_travel_agent.models.preferences_agent import PreferencesAgent
@@ -102,7 +105,6 @@ from wink_sdk_travel_agent.models.profile_agent import ProfileAgent
102
105
  from wink_sdk_travel_agent.models.profile_user_agent import ProfileUserAgent
103
106
  from wink_sdk_travel_agent.models.property_policy_agent import PropertyPolicyAgent
104
107
  from wink_sdk_travel_agent.models.quote_agent import QuoteAgent
105
- from wink_sdk_travel_agent.models.rate_plan_agent import RatePlanAgent
106
108
  from wink_sdk_travel_agent.models.rate_plan_level_fee_agent import RatePlanLevelFeeAgent
107
109
  from wink_sdk_travel_agent.models.refund_agent import RefundAgent
108
110
  from wink_sdk_travel_agent.models.reporting_ancillary_agent import ReportingAncillaryAgent
@@ -112,7 +114,9 @@ from wink_sdk_travel_agent.models.review_agent import ReviewAgent
112
114
  from wink_sdk_travel_agent.models.review_answer_agent import ReviewAnswerAgent
113
115
  from wink_sdk_travel_agent.models.review_user_agent import ReviewUserAgent
114
116
  from wink_sdk_travel_agent.models.room_configuration_agent import RoomConfigurationAgent
117
+ from wink_sdk_travel_agent.models.room_configuration_price_rate_plan_agent import RoomConfigurationPriceRatePlanAgent
115
118
  from wink_sdk_travel_agent.models.room_stay_agent import RoomStayAgent
119
+ from wink_sdk_travel_agent.models.simple_address_agent import SimpleAddressAgent
116
120
  from wink_sdk_travel_agent.models.simple_date_time_itinerary_agent import SimpleDateTimeItineraryAgent
117
121
  from wink_sdk_travel_agent.models.simple_description_agent import SimpleDescriptionAgent
118
122
  from wink_sdk_travel_agent.models.simple_multimedia_agent import SimpleMultimediaAgent
@@ -3,9 +3,9 @@
3
3
  """
4
4
  Wink API
5
5
 
6
- # Introduction Welcome to the Wink API - A programmer-friendly way to manage, sell and book travel blocking on the Wink platform. The API gives you all the tools you need to ready your properties and blocking for sale across 1000s of our native sales channels. Integrators, affiliates, travel agents and content creators have the ability search for your travel blocking and promote / sell it in a wide variety of ways. # Integrations We have already integrated with the most well-known channel managers so you don't have to. To see our current integrations, please go to https://extranet.wink.travel and scroll to Connectivity section. Once your properties are set up, you can finish the setup by mapping your property to Wink using your channel manager partner portal. If your properties don't have a channel manager, you can easily manage rates and availability with this API. # Intended Audience Programmers are [most likely] a requirement to start integrating with Wink. Companies and organizations that would most benefit from integrating with us are new and existing travel companies that have relationships with suppliers and that need an advanced system from which to manage their travel blocking and get that same blocking out to as many eyeballs as possible at the lowest price possible. - Hotel chains - Hotel brands - Travel tech companies - Destination sites - Integrators - Aggregators - Destination management companies - Travel agencies - OTAs ## APIs Not every integrator needs every API. For that reason, we have separated APIs into context. ### Test API - [Ping](/ping): The Ping API is a quick test endpoint to verify that your credentials work Wink. ### Common APIs - [Notifications](/notifications): The Notifications API is a way for us to stay in touch with your user, property or affiliate account. - [User Settings](/user-settings): The User Settings API exposes endpoints to allow 3rd party integrators to communicate with Wink. ### Consume APIs Consume endpoints are for developers who want to find existing travel blocking and either book it or use it to advertise through one of their Wink affiliate accounts. - [Configuration](/engine-client): A single endpoint to retrieve whitelabel + customization information for the booking engine. - [Lookup](/lookup): All APIs related to locating blocking by region, locale and property flags. - [Inventory](/blocking): All APIs related to retrieve known travel blocking as it was found using the Lookup API.. - [Booking](/booking): All APIs related to creating bookings on the platform. - [Travel Agent](/travel-agent): The Travel Agent API exposes endpoints to manage agent-facilitated bookings. ### Produce APIs Produce endpoints are for developers who want to create and manage travel blocking. #### Property - [Property registration](/extranet/property/register): As a producer, this is, oftentimes, where you start your journey. These endpoints let you create properties on Wink. - [Property](/extranet/property): This collection of property endpoints are mostly management endpoints that let you display, change status and similar for your existing properties. - [Facilities](/extranet/facilities): This collection of endpoints let you manage facilities; such as room types. - [Experiences](/extranet/experiences): This collection of endpoints let you manage experiences, such as activities. - [Monetize](/extranet/monetize): The Monetize API exposes endpoints for managing cancellation polies, rate plans, promotions and more on Wink. - [Distribution](/extranet/distribution): The Distribution API exposes endpoints for sales channels, connecting with affiliates, managing rates and blocking calendars and more on Wink. - [Property Booking](/extranet/booking): The Property Booking API exposes endpoints for managing bookings and reviews at the property-level. #### Affiliate - [Affiliate](/affiliate): This collection of affiliate endpoints are mostly management endpoints that let you display, change status and similar for your existing accounts. - [Browse](/affiliate/browse): The Browse API exposes endpoints for affiliates to find suppliers and blocking to sell. - [Inventory](/affiliate/blocking): The Inventory API exposes endpoints for affiliates to manage the blocking they want to sell and how they want to sell it. - [Sales Channel](/affiliate/sales-channel): The Sales Channel API exposes endpoints for affiliates to manage existing sales channels as well as find new ones. - [WinkLinks](/affiliate/winklinks): The WinkLinks API exposes endpoints for affiliates to manage their WinkLinks page. #### Rate provider - [Channel manager](/channel-manager): The Channel Manager API enables external channel manager partners to map, exchange rate / availability information with us as well as be informed of bookings that occur on the Wink platform for one of their properties. ### Taxonomy APIs Taxonomy endpoints are for developers who want to consume and produce travel blocking and need taxonomies of standard and non-standard codes for blocking types, classes, statuses etc. - [Reference](/reactive): All APIs related to retrieving platform-supported taxonomies. ### Insight APIs Insight endpoints do exactly what the name implies - They offer platform-level insight into the activities of producers and consumers. - [Analytics](/analytics): All APIs related to tracking metrics across a wide variety of data source segments including, more entertaining, leaderboard metrics. ### Payment APIs Payment endpoints are for developers who want to purchase travel blocking. This can be done via the API as a registered Travel Agent or using our API in conjunction with our PCI compliant reactive widget for all other entities. - [TripPay](/reactive): All APIs related to TripPay account management, booking, mapping and integration features. ## SDKs We are actively working on supporting the most used languages out there. If you don't see your language here, reach out to us with a request to officially add your language. In the meantime, if you want to roll your own SDK, you can do so by downloading the OpenAPI spec and using one of the many available OpenAPI generators available: [https://openapi-generator.tech/docs/generators](https://openapi-generator.tech/docs/generators). - Java SDK [https://github.com/wink-travel/wink-sdk-java](https://github.com/wink-travel/wink-sdk-java) ## Usage These features are made available to you via a [REST API](https://en.wikipedia.org/wiki/Representational_state_transfer). This API is language agnostic. ## Versioning We chose to version our endpoints in a way that we hope affects your integration minimally. You request the version of our API you wish to work with via the `Wink-Version` header. When it's time for you to upgrade, you only have to change the version number to get access to our updated endpoints. ## Release history - Follow updates on Github: https://github.com/wink-travel/wink-sdk-java/blob/master/CHANGELOG.md # Travel Agent API The Travel Agent API exposes endpoints to manage agent-facilitated bookings. This API lets you: 1. Travel Agent: Manage agent entity. 2. Booking: Create / Manage bookings Browse the endpoints in the left navigation bar to get started.
6
+ # Introduction Welcome to the Wink API - A programmer-friendly way to manage, sell and book travel inventory on the Wink platform. The API gives you all the tools you need to ready your properties and inventory for sale across 1000s of our native sales channels. Integrators, affiliates, travel agents and content creators have the ability search for your travel inventory and promote / sell it in a wide variety of ways. # Integrations We have already integrated with the most well-known channel managers so you don't have to. To see our current integrations, please go to https://extranet.wink.travel and scroll to Connectivity section. Once your properties are set up, you can finish the setup by mapping your property to Wink using your channel manager partner portal. If your properties don't have a channel manager, you can easily manage rates and availability with this API. # Intended Audience Programmers are [most likely] a requirement to start integrating with Wink. Companies and organizations that would most benefit from integrating with us are new and existing travel companies that have relationships with suppliers and that need an advanced system from which to manage their travel inventory and get that same inventory out to as many eyeballs as possible at the lowest price possible. - Hotel chains - Hotel brands - Travel tech companies - Destination sites - Integrators - Aggregators - Destination management companies - Travel agencies - OTAs ## APIs Not every integrator needs every API. For that reason, we have separated APIs into context. ### Test API - [Ping](/ping): The Ping API is a quick test endpoint to verify that your credentials work Wink. ### Common APIs - [Notifications](/notifications): The Notifications API is a way for us to stay in touch with your user, property or affiliate account. - [User Settings](/user-settings): The User Settings API exposes endpoints to allow 3rd party integrators to communicate with Wink. ### Consume APIs Consume endpoints are for developers who want to find existing travel inventory and either book it or use it to advertise through one of their Wink affiliate accounts. - [Configuration](/engine-client): A single endpoint to retrieve whitelabel + customization information for the booking engine. - [Lookup](/lookup): All APIs related to locating inventory by region, locale and property flags. - [Inventory](/inventory): All APIs related to retrieve known travel inventory as it was found using the Lookup API.. - [Booking](/booking): All APIs related to creating bookings on the platform. - [Travel Agent](/travel-agent): The Travel Agent API exposes endpoints to manage agent-facilitated bookings. ### Produce APIs Produce endpoints are for developers who want to create and manage travel inventory. #### Property - [Property registration](/extranet/property/register): As a producer, this is, oftentimes, where you start your journey. These endpoints let you create properties on Wink. - [Property](/extranet/property): This collection of property endpoints are mostly management endpoints that let you display, change status and similar for your existing properties. - [Facilities](/extranet/facilities): This collection of endpoints let you manage facilities; such as room types. - [Experiences](/extranet/experiences): This collection of endpoints let you manage experiences, such as activities. - [Monetize](/extranet/monetize): The Monetize API exposes endpoints for managing cancellation polies, rate plans, promotions and more on Wink. - [Distribution](/extranet/distribution): The Distribution API exposes endpoints for sales channels, connecting with affiliates, managing rates and inventory calendars and more on Wink. - [Property Booking](/extranet/booking): The Property Booking API exposes endpoints for managing bookings and reviews at the property-level. #### Affiliate - [Affiliate](/affiliate): This collection of affiliate endpoints are mostly management endpoints that let you display, change status and similar for your existing accounts. - [Browse](/affiliate/browse): The Browse API exposes endpoints for affiliates to find suppliers and inventory to sell. - [Inventory](/affiliate/inventory): The Inventory API exposes endpoints for affiliates to manage the inventory they want to sell and how they want to sell it. - [Sales Channel](/affiliate/sales-channel): The Sales Channel API exposes endpoints for affiliates to manage existing sales channels as well as find new ones. - [WinkLinks](/affiliate/winklinks): The WinkLinks API exposes endpoints for affiliates to manage their WinkLinks page. #### Rate provider - [Channel manager](/channel-manager): The Channel Manager API enables external channel manager partners to map, exchange rate / availability information with us as well as be informed of bookings that occur on the Wink platform for one of their properties. ### Taxonomy APIs Taxonomy endpoints are for developers who want to consume and produce travel inventory and need taxonomies of standard and non-standard codes for inventory types, classes, statuses etc. - [Reference](/reactive): All APIs related to retrieving platform-supported taxonomies. ### Insight APIs Insight endpoints do exactly what the name implies - They offer platform-level insight into the activities of producers and consumers. - [Analytics](/analytics): All APIs related to tracking metrics across a wide variety of data source segments including, more entertaining, leaderboard metrics. ### Payment APIs Payment endpoints are for developers who want to purchase travel inventory. This can be done via the API as a registered Travel Agent or using our API in conjunction with our PCI compliant reactive widget for all other entities. - [TripPay](/reactive): All APIs related to TripPay account management, booking, mapping and integration features. ## SDKs We are actively working on supporting the most used languages out there. If you don't see your language here, reach out to us with a request to officially add your language. In the meantime, if you want to roll your own SDK, you can do so by downloading the OpenAPI spec and using one of the many available OpenAPI generators available: [https://openapi-generator.tech/docs/generators](https://openapi-generator.tech/docs/generators). - Java SDK [https://github.com/wink-travel/wink-sdk-java](https://github.com/wink-travel/wink-sdk-java) ## Usage These features are made available to you via a [REST API](https://en.wikipedia.org/wiki/Representational_state_transfer). This API is language agnostic. ## Versioning We chose to version our endpoints in a way that we hope affects your integration minimally. You request the version of our API you wish to work with via the `Wink-Version` header. When it's time for you to upgrade, you only have to change the version number to get access to our updated endpoints. ## Release history - Follow updates on Github: https://github.com/wink-travel/wink-sdk-java/blob/master/CHANGELOG.md # Travel Agent API The Travel Agent API exposes endpoints to manage agent-facilitated bookings. This API lets you: 1. Travel Agent: Manage agent entity. 2. Booking: Create / Manage bookings Browse the endpoints in the left navigation bar to get started.
7
7
 
8
- The version of the OpenAPI document: 30.7.10
8
+ The version of the OpenAPI document: 30.15.2
9
9
  Contact: bjorn@wink.travel
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -3,9 +3,9 @@
3
3
  """
4
4
  Wink API
5
5
 
6
- # Introduction Welcome to the Wink API - A programmer-friendly way to manage, sell and book travel blocking on the Wink platform. The API gives you all the tools you need to ready your properties and blocking for sale across 1000s of our native sales channels. Integrators, affiliates, travel agents and content creators have the ability search for your travel blocking and promote / sell it in a wide variety of ways. # Integrations We have already integrated with the most well-known channel managers so you don't have to. To see our current integrations, please go to https://extranet.wink.travel and scroll to Connectivity section. Once your properties are set up, you can finish the setup by mapping your property to Wink using your channel manager partner portal. If your properties don't have a channel manager, you can easily manage rates and availability with this API. # Intended Audience Programmers are [most likely] a requirement to start integrating with Wink. Companies and organizations that would most benefit from integrating with us are new and existing travel companies that have relationships with suppliers and that need an advanced system from which to manage their travel blocking and get that same blocking out to as many eyeballs as possible at the lowest price possible. - Hotel chains - Hotel brands - Travel tech companies - Destination sites - Integrators - Aggregators - Destination management companies - Travel agencies - OTAs ## APIs Not every integrator needs every API. For that reason, we have separated APIs into context. ### Test API - [Ping](/ping): The Ping API is a quick test endpoint to verify that your credentials work Wink. ### Common APIs - [Notifications](/notifications): The Notifications API is a way for us to stay in touch with your user, property or affiliate account. - [User Settings](/user-settings): The User Settings API exposes endpoints to allow 3rd party integrators to communicate with Wink. ### Consume APIs Consume endpoints are for developers who want to find existing travel blocking and either book it or use it to advertise through one of their Wink affiliate accounts. - [Configuration](/engine-client): A single endpoint to retrieve whitelabel + customization information for the booking engine. - [Lookup](/lookup): All APIs related to locating blocking by region, locale and property flags. - [Inventory](/blocking): All APIs related to retrieve known travel blocking as it was found using the Lookup API.. - [Booking](/booking): All APIs related to creating bookings on the platform. - [Travel Agent](/travel-agent): The Travel Agent API exposes endpoints to manage agent-facilitated bookings. ### Produce APIs Produce endpoints are for developers who want to create and manage travel blocking. #### Property - [Property registration](/extranet/property/register): As a producer, this is, oftentimes, where you start your journey. These endpoints let you create properties on Wink. - [Property](/extranet/property): This collection of property endpoints are mostly management endpoints that let you display, change status and similar for your existing properties. - [Facilities](/extranet/facilities): This collection of endpoints let you manage facilities; such as room types. - [Experiences](/extranet/experiences): This collection of endpoints let you manage experiences, such as activities. - [Monetize](/extranet/monetize): The Monetize API exposes endpoints for managing cancellation polies, rate plans, promotions and more on Wink. - [Distribution](/extranet/distribution): The Distribution API exposes endpoints for sales channels, connecting with affiliates, managing rates and blocking calendars and more on Wink. - [Property Booking](/extranet/booking): The Property Booking API exposes endpoints for managing bookings and reviews at the property-level. #### Affiliate - [Affiliate](/affiliate): This collection of affiliate endpoints are mostly management endpoints that let you display, change status and similar for your existing accounts. - [Browse](/affiliate/browse): The Browse API exposes endpoints for affiliates to find suppliers and blocking to sell. - [Inventory](/affiliate/blocking): The Inventory API exposes endpoints for affiliates to manage the blocking they want to sell and how they want to sell it. - [Sales Channel](/affiliate/sales-channel): The Sales Channel API exposes endpoints for affiliates to manage existing sales channels as well as find new ones. - [WinkLinks](/affiliate/winklinks): The WinkLinks API exposes endpoints for affiliates to manage their WinkLinks page. #### Rate provider - [Channel manager](/channel-manager): The Channel Manager API enables external channel manager partners to map, exchange rate / availability information with us as well as be informed of bookings that occur on the Wink platform for one of their properties. ### Taxonomy APIs Taxonomy endpoints are for developers who want to consume and produce travel blocking and need taxonomies of standard and non-standard codes for blocking types, classes, statuses etc. - [Reference](/reactive): All APIs related to retrieving platform-supported taxonomies. ### Insight APIs Insight endpoints do exactly what the name implies - They offer platform-level insight into the activities of producers and consumers. - [Analytics](/analytics): All APIs related to tracking metrics across a wide variety of data source segments including, more entertaining, leaderboard metrics. ### Payment APIs Payment endpoints are for developers who want to purchase travel blocking. This can be done via the API as a registered Travel Agent or using our API in conjunction with our PCI compliant reactive widget for all other entities. - [TripPay](/reactive): All APIs related to TripPay account management, booking, mapping and integration features. ## SDKs We are actively working on supporting the most used languages out there. If you don't see your language here, reach out to us with a request to officially add your language. In the meantime, if you want to roll your own SDK, you can do so by downloading the OpenAPI spec and using one of the many available OpenAPI generators available: [https://openapi-generator.tech/docs/generators](https://openapi-generator.tech/docs/generators). - Java SDK [https://github.com/wink-travel/wink-sdk-java](https://github.com/wink-travel/wink-sdk-java) ## Usage These features are made available to you via a [REST API](https://en.wikipedia.org/wiki/Representational_state_transfer). This API is language agnostic. ## Versioning We chose to version our endpoints in a way that we hope affects your integration minimally. You request the version of our API you wish to work with via the `Wink-Version` header. When it's time for you to upgrade, you only have to change the version number to get access to our updated endpoints. ## Release history - Follow updates on Github: https://github.com/wink-travel/wink-sdk-java/blob/master/CHANGELOG.md # Travel Agent API The Travel Agent API exposes endpoints to manage agent-facilitated bookings. This API lets you: 1. Travel Agent: Manage agent entity. 2. Booking: Create / Manage bookings Browse the endpoints in the left navigation bar to get started.
6
+ # Introduction Welcome to the Wink API - A programmer-friendly way to manage, sell and book travel inventory on the Wink platform. The API gives you all the tools you need to ready your properties and inventory for sale across 1000s of our native sales channels. Integrators, affiliates, travel agents and content creators have the ability search for your travel inventory and promote / sell it in a wide variety of ways. # Integrations We have already integrated with the most well-known channel managers so you don't have to. To see our current integrations, please go to https://extranet.wink.travel and scroll to Connectivity section. Once your properties are set up, you can finish the setup by mapping your property to Wink using your channel manager partner portal. If your properties don't have a channel manager, you can easily manage rates and availability with this API. # Intended Audience Programmers are [most likely] a requirement to start integrating with Wink. Companies and organizations that would most benefit from integrating with us are new and existing travel companies that have relationships with suppliers and that need an advanced system from which to manage their travel inventory and get that same inventory out to as many eyeballs as possible at the lowest price possible. - Hotel chains - Hotel brands - Travel tech companies - Destination sites - Integrators - Aggregators - Destination management companies - Travel agencies - OTAs ## APIs Not every integrator needs every API. For that reason, we have separated APIs into context. ### Test API - [Ping](/ping): The Ping API is a quick test endpoint to verify that your credentials work Wink. ### Common APIs - [Notifications](/notifications): The Notifications API is a way for us to stay in touch with your user, property or affiliate account. - [User Settings](/user-settings): The User Settings API exposes endpoints to allow 3rd party integrators to communicate with Wink. ### Consume APIs Consume endpoints are for developers who want to find existing travel inventory and either book it or use it to advertise through one of their Wink affiliate accounts. - [Configuration](/engine-client): A single endpoint to retrieve whitelabel + customization information for the booking engine. - [Lookup](/lookup): All APIs related to locating inventory by region, locale and property flags. - [Inventory](/inventory): All APIs related to retrieve known travel inventory as it was found using the Lookup API.. - [Booking](/booking): All APIs related to creating bookings on the platform. - [Travel Agent](/travel-agent): The Travel Agent API exposes endpoints to manage agent-facilitated bookings. ### Produce APIs Produce endpoints are for developers who want to create and manage travel inventory. #### Property - [Property registration](/extranet/property/register): As a producer, this is, oftentimes, where you start your journey. These endpoints let you create properties on Wink. - [Property](/extranet/property): This collection of property endpoints are mostly management endpoints that let you display, change status and similar for your existing properties. - [Facilities](/extranet/facilities): This collection of endpoints let you manage facilities; such as room types. - [Experiences](/extranet/experiences): This collection of endpoints let you manage experiences, such as activities. - [Monetize](/extranet/monetize): The Monetize API exposes endpoints for managing cancellation polies, rate plans, promotions and more on Wink. - [Distribution](/extranet/distribution): The Distribution API exposes endpoints for sales channels, connecting with affiliates, managing rates and inventory calendars and more on Wink. - [Property Booking](/extranet/booking): The Property Booking API exposes endpoints for managing bookings and reviews at the property-level. #### Affiliate - [Affiliate](/affiliate): This collection of affiliate endpoints are mostly management endpoints that let you display, change status and similar for your existing accounts. - [Browse](/affiliate/browse): The Browse API exposes endpoints for affiliates to find suppliers and inventory to sell. - [Inventory](/affiliate/inventory): The Inventory API exposes endpoints for affiliates to manage the inventory they want to sell and how they want to sell it. - [Sales Channel](/affiliate/sales-channel): The Sales Channel API exposes endpoints for affiliates to manage existing sales channels as well as find new ones. - [WinkLinks](/affiliate/winklinks): The WinkLinks API exposes endpoints for affiliates to manage their WinkLinks page. #### Rate provider - [Channel manager](/channel-manager): The Channel Manager API enables external channel manager partners to map, exchange rate / availability information with us as well as be informed of bookings that occur on the Wink platform for one of their properties. ### Taxonomy APIs Taxonomy endpoints are for developers who want to consume and produce travel inventory and need taxonomies of standard and non-standard codes for inventory types, classes, statuses etc. - [Reference](/reactive): All APIs related to retrieving platform-supported taxonomies. ### Insight APIs Insight endpoints do exactly what the name implies - They offer platform-level insight into the activities of producers and consumers. - [Analytics](/analytics): All APIs related to tracking metrics across a wide variety of data source segments including, more entertaining, leaderboard metrics. ### Payment APIs Payment endpoints are for developers who want to purchase travel inventory. This can be done via the API as a registered Travel Agent or using our API in conjunction with our PCI compliant reactive widget for all other entities. - [TripPay](/reactive): All APIs related to TripPay account management, booking, mapping and integration features. ## SDKs We are actively working on supporting the most used languages out there. If you don't see your language here, reach out to us with a request to officially add your language. In the meantime, if you want to roll your own SDK, you can do so by downloading the OpenAPI spec and using one of the many available OpenAPI generators available: [https://openapi-generator.tech/docs/generators](https://openapi-generator.tech/docs/generators). - Java SDK [https://github.com/wink-travel/wink-sdk-java](https://github.com/wink-travel/wink-sdk-java) ## Usage These features are made available to you via a [REST API](https://en.wikipedia.org/wiki/Representational_state_transfer). This API is language agnostic. ## Versioning We chose to version our endpoints in a way that we hope affects your integration minimally. You request the version of our API you wish to work with via the `Wink-Version` header. When it's time for you to upgrade, you only have to change the version number to get access to our updated endpoints. ## Release history - Follow updates on Github: https://github.com/wink-travel/wink-sdk-java/blob/master/CHANGELOG.md # Travel Agent API The Travel Agent API exposes endpoints to manage agent-facilitated bookings. This API lets you: 1. Travel Agent: Manage agent entity. 2. Booking: Create / Manage bookings Browse the endpoints in the left navigation bar to get started.
7
7
 
8
- The version of the OpenAPI document: 30.7.10
8
+ The version of the OpenAPI document: 30.15.2
9
9
  Contact: bjorn@wink.travel
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -518,7 +518,7 @@ class ApiClient:
518
518
  if k in collection_formats:
519
519
  collection_format = collection_formats[k]
520
520
  if collection_format == 'multi':
521
- new_params.extend((k, str(value)) for value in v)
521
+ new_params.extend((k, quote(str(value))) for value in v)
522
522
  else:
523
523
  if collection_format == 'ssv':
524
524
  delimiter = ' '
@@ -3,9 +3,9 @@
3
3
  """
4
4
  Wink API
5
5
 
6
- # Introduction Welcome to the Wink API - A programmer-friendly way to manage, sell and book travel blocking on the Wink platform. The API gives you all the tools you need to ready your properties and blocking for sale across 1000s of our native sales channels. Integrators, affiliates, travel agents and content creators have the ability search for your travel blocking and promote / sell it in a wide variety of ways. # Integrations We have already integrated with the most well-known channel managers so you don't have to. To see our current integrations, please go to https://extranet.wink.travel and scroll to Connectivity section. Once your properties are set up, you can finish the setup by mapping your property to Wink using your channel manager partner portal. If your properties don't have a channel manager, you can easily manage rates and availability with this API. # Intended Audience Programmers are [most likely] a requirement to start integrating with Wink. Companies and organizations that would most benefit from integrating with us are new and existing travel companies that have relationships with suppliers and that need an advanced system from which to manage their travel blocking and get that same blocking out to as many eyeballs as possible at the lowest price possible. - Hotel chains - Hotel brands - Travel tech companies - Destination sites - Integrators - Aggregators - Destination management companies - Travel agencies - OTAs ## APIs Not every integrator needs every API. For that reason, we have separated APIs into context. ### Test API - [Ping](/ping): The Ping API is a quick test endpoint to verify that your credentials work Wink. ### Common APIs - [Notifications](/notifications): The Notifications API is a way for us to stay in touch with your user, property or affiliate account. - [User Settings](/user-settings): The User Settings API exposes endpoints to allow 3rd party integrators to communicate with Wink. ### Consume APIs Consume endpoints are for developers who want to find existing travel blocking and either book it or use it to advertise through one of their Wink affiliate accounts. - [Configuration](/engine-client): A single endpoint to retrieve whitelabel + customization information for the booking engine. - [Lookup](/lookup): All APIs related to locating blocking by region, locale and property flags. - [Inventory](/blocking): All APIs related to retrieve known travel blocking as it was found using the Lookup API.. - [Booking](/booking): All APIs related to creating bookings on the platform. - [Travel Agent](/travel-agent): The Travel Agent API exposes endpoints to manage agent-facilitated bookings. ### Produce APIs Produce endpoints are for developers who want to create and manage travel blocking. #### Property - [Property registration](/extranet/property/register): As a producer, this is, oftentimes, where you start your journey. These endpoints let you create properties on Wink. - [Property](/extranet/property): This collection of property endpoints are mostly management endpoints that let you display, change status and similar for your existing properties. - [Facilities](/extranet/facilities): This collection of endpoints let you manage facilities; such as room types. - [Experiences](/extranet/experiences): This collection of endpoints let you manage experiences, such as activities. - [Monetize](/extranet/monetize): The Monetize API exposes endpoints for managing cancellation polies, rate plans, promotions and more on Wink. - [Distribution](/extranet/distribution): The Distribution API exposes endpoints for sales channels, connecting with affiliates, managing rates and blocking calendars and more on Wink. - [Property Booking](/extranet/booking): The Property Booking API exposes endpoints for managing bookings and reviews at the property-level. #### Affiliate - [Affiliate](/affiliate): This collection of affiliate endpoints are mostly management endpoints that let you display, change status and similar for your existing accounts. - [Browse](/affiliate/browse): The Browse API exposes endpoints for affiliates to find suppliers and blocking to sell. - [Inventory](/affiliate/blocking): The Inventory API exposes endpoints for affiliates to manage the blocking they want to sell and how they want to sell it. - [Sales Channel](/affiliate/sales-channel): The Sales Channel API exposes endpoints for affiliates to manage existing sales channels as well as find new ones. - [WinkLinks](/affiliate/winklinks): The WinkLinks API exposes endpoints for affiliates to manage their WinkLinks page. #### Rate provider - [Channel manager](/channel-manager): The Channel Manager API enables external channel manager partners to map, exchange rate / availability information with us as well as be informed of bookings that occur on the Wink platform for one of their properties. ### Taxonomy APIs Taxonomy endpoints are for developers who want to consume and produce travel blocking and need taxonomies of standard and non-standard codes for blocking types, classes, statuses etc. - [Reference](/reactive): All APIs related to retrieving platform-supported taxonomies. ### Insight APIs Insight endpoints do exactly what the name implies - They offer platform-level insight into the activities of producers and consumers. - [Analytics](/analytics): All APIs related to tracking metrics across a wide variety of data source segments including, more entertaining, leaderboard metrics. ### Payment APIs Payment endpoints are for developers who want to purchase travel blocking. This can be done via the API as a registered Travel Agent or using our API in conjunction with our PCI compliant reactive widget for all other entities. - [TripPay](/reactive): All APIs related to TripPay account management, booking, mapping and integration features. ## SDKs We are actively working on supporting the most used languages out there. If you don't see your language here, reach out to us with a request to officially add your language. In the meantime, if you want to roll your own SDK, you can do so by downloading the OpenAPI spec and using one of the many available OpenAPI generators available: [https://openapi-generator.tech/docs/generators](https://openapi-generator.tech/docs/generators). - Java SDK [https://github.com/wink-travel/wink-sdk-java](https://github.com/wink-travel/wink-sdk-java) ## Usage These features are made available to you via a [REST API](https://en.wikipedia.org/wiki/Representational_state_transfer). This API is language agnostic. ## Versioning We chose to version our endpoints in a way that we hope affects your integration minimally. You request the version of our API you wish to work with via the `Wink-Version` header. When it's time for you to upgrade, you only have to change the version number to get access to our updated endpoints. ## Release history - Follow updates on Github: https://github.com/wink-travel/wink-sdk-java/blob/master/CHANGELOG.md # Travel Agent API The Travel Agent API exposes endpoints to manage agent-facilitated bookings. This API lets you: 1. Travel Agent: Manage agent entity. 2. Booking: Create / Manage bookings Browse the endpoints in the left navigation bar to get started.
6
+ # Introduction Welcome to the Wink API - A programmer-friendly way to manage, sell and book travel inventory on the Wink platform. The API gives you all the tools you need to ready your properties and inventory for sale across 1000s of our native sales channels. Integrators, affiliates, travel agents and content creators have the ability search for your travel inventory and promote / sell it in a wide variety of ways. # Integrations We have already integrated with the most well-known channel managers so you don't have to. To see our current integrations, please go to https://extranet.wink.travel and scroll to Connectivity section. Once your properties are set up, you can finish the setup by mapping your property to Wink using your channel manager partner portal. If your properties don't have a channel manager, you can easily manage rates and availability with this API. # Intended Audience Programmers are [most likely] a requirement to start integrating with Wink. Companies and organizations that would most benefit from integrating with us are new and existing travel companies that have relationships with suppliers and that need an advanced system from which to manage their travel inventory and get that same inventory out to as many eyeballs as possible at the lowest price possible. - Hotel chains - Hotel brands - Travel tech companies - Destination sites - Integrators - Aggregators - Destination management companies - Travel agencies - OTAs ## APIs Not every integrator needs every API. For that reason, we have separated APIs into context. ### Test API - [Ping](/ping): The Ping API is a quick test endpoint to verify that your credentials work Wink. ### Common APIs - [Notifications](/notifications): The Notifications API is a way for us to stay in touch with your user, property or affiliate account. - [User Settings](/user-settings): The User Settings API exposes endpoints to allow 3rd party integrators to communicate with Wink. ### Consume APIs Consume endpoints are for developers who want to find existing travel inventory and either book it or use it to advertise through one of their Wink affiliate accounts. - [Configuration](/engine-client): A single endpoint to retrieve whitelabel + customization information for the booking engine. - [Lookup](/lookup): All APIs related to locating inventory by region, locale and property flags. - [Inventory](/inventory): All APIs related to retrieve known travel inventory as it was found using the Lookup API.. - [Booking](/booking): All APIs related to creating bookings on the platform. - [Travel Agent](/travel-agent): The Travel Agent API exposes endpoints to manage agent-facilitated bookings. ### Produce APIs Produce endpoints are for developers who want to create and manage travel inventory. #### Property - [Property registration](/extranet/property/register): As a producer, this is, oftentimes, where you start your journey. These endpoints let you create properties on Wink. - [Property](/extranet/property): This collection of property endpoints are mostly management endpoints that let you display, change status and similar for your existing properties. - [Facilities](/extranet/facilities): This collection of endpoints let you manage facilities; such as room types. - [Experiences](/extranet/experiences): This collection of endpoints let you manage experiences, such as activities. - [Monetize](/extranet/monetize): The Monetize API exposes endpoints for managing cancellation polies, rate plans, promotions and more on Wink. - [Distribution](/extranet/distribution): The Distribution API exposes endpoints for sales channels, connecting with affiliates, managing rates and inventory calendars and more on Wink. - [Property Booking](/extranet/booking): The Property Booking API exposes endpoints for managing bookings and reviews at the property-level. #### Affiliate - [Affiliate](/affiliate): This collection of affiliate endpoints are mostly management endpoints that let you display, change status and similar for your existing accounts. - [Browse](/affiliate/browse): The Browse API exposes endpoints for affiliates to find suppliers and inventory to sell. - [Inventory](/affiliate/inventory): The Inventory API exposes endpoints for affiliates to manage the inventory they want to sell and how they want to sell it. - [Sales Channel](/affiliate/sales-channel): The Sales Channel API exposes endpoints for affiliates to manage existing sales channels as well as find new ones. - [WinkLinks](/affiliate/winklinks): The WinkLinks API exposes endpoints for affiliates to manage their WinkLinks page. #### Rate provider - [Channel manager](/channel-manager): The Channel Manager API enables external channel manager partners to map, exchange rate / availability information with us as well as be informed of bookings that occur on the Wink platform for one of their properties. ### Taxonomy APIs Taxonomy endpoints are for developers who want to consume and produce travel inventory and need taxonomies of standard and non-standard codes for inventory types, classes, statuses etc. - [Reference](/reactive): All APIs related to retrieving platform-supported taxonomies. ### Insight APIs Insight endpoints do exactly what the name implies - They offer platform-level insight into the activities of producers and consumers. - [Analytics](/analytics): All APIs related to tracking metrics across a wide variety of data source segments including, more entertaining, leaderboard metrics. ### Payment APIs Payment endpoints are for developers who want to purchase travel inventory. This can be done via the API as a registered Travel Agent or using our API in conjunction with our PCI compliant reactive widget for all other entities. - [TripPay](/reactive): All APIs related to TripPay account management, booking, mapping and integration features. ## SDKs We are actively working on supporting the most used languages out there. If you don't see your language here, reach out to us with a request to officially add your language. In the meantime, if you want to roll your own SDK, you can do so by downloading the OpenAPI spec and using one of the many available OpenAPI generators available: [https://openapi-generator.tech/docs/generators](https://openapi-generator.tech/docs/generators). - Java SDK [https://github.com/wink-travel/wink-sdk-java](https://github.com/wink-travel/wink-sdk-java) ## Usage These features are made available to you via a [REST API](https://en.wikipedia.org/wiki/Representational_state_transfer). This API is language agnostic. ## Versioning We chose to version our endpoints in a way that we hope affects your integration minimally. You request the version of our API you wish to work with via the `Wink-Version` header. When it's time for you to upgrade, you only have to change the version number to get access to our updated endpoints. ## Release history - Follow updates on Github: https://github.com/wink-travel/wink-sdk-java/blob/master/CHANGELOG.md # Travel Agent API The Travel Agent API exposes endpoints to manage agent-facilitated bookings. This API lets you: 1. Travel Agent: Manage agent entity. 2. Booking: Create / Manage bookings Browse the endpoints in the left navigation bar to get started.
7
7
 
8
- The version of the OpenAPI document: 30.7.10
8
+ The version of the OpenAPI document: 30.15.2
9
9
  Contact: bjorn@wink.travel
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -14,14 +14,16 @@
14
14
 
15
15
 
16
16
  import copy
17
+ import http.client as httplib
17
18
  import logging
18
19
  from logging import FileHandler
19
20
  import multiprocessing
20
21
  import sys
21
- from typing import Optional
22
+ from typing import Any, ClassVar, Dict, List, Literal, Optional, TypedDict, Union
23
+ from typing_extensions import NotRequired, Self
24
+
22
25
  import urllib3
23
26
 
24
- import http.client as httplib
25
27
 
26
28
  JSON_SCHEMA_VALIDATION_KEYWORDS = {
27
29
  'multipleOf', 'maximum', 'exclusiveMaximum',
@@ -29,6 +31,107 @@ JSON_SCHEMA_VALIDATION_KEYWORDS = {
29
31
  'minLength', 'pattern', 'maxItems', 'minItems'
30
32
  }
31
33
 
34
+ ServerVariablesT = Dict[str, str]
35
+
36
+ GenericAuthSetting = TypedDict(
37
+ "GenericAuthSetting",
38
+ {
39
+ "type": str,
40
+ "in": str,
41
+ "key": str,
42
+ "value": str,
43
+ },
44
+ )
45
+
46
+
47
+ OAuth2AuthSetting = TypedDict(
48
+ "OAuth2AuthSetting",
49
+ {
50
+ "type": Literal["oauth2"],
51
+ "in": Literal["header"],
52
+ "key": Literal["Authorization"],
53
+ "value": str,
54
+ },
55
+ )
56
+
57
+
58
+ APIKeyAuthSetting = TypedDict(
59
+ "APIKeyAuthSetting",
60
+ {
61
+ "type": Literal["api_key"],
62
+ "in": str,
63
+ "key": str,
64
+ "value": Optional[str],
65
+ },
66
+ )
67
+
68
+
69
+ BasicAuthSetting = TypedDict(
70
+ "BasicAuthSetting",
71
+ {
72
+ "type": Literal["basic"],
73
+ "in": Literal["header"],
74
+ "key": Literal["Authorization"],
75
+ "value": Optional[str],
76
+ },
77
+ )
78
+
79
+
80
+ BearerFormatAuthSetting = TypedDict(
81
+ "BearerFormatAuthSetting",
82
+ {
83
+ "type": Literal["bearer"],
84
+ "in": Literal["header"],
85
+ "format": Literal["JWT"],
86
+ "key": Literal["Authorization"],
87
+ "value": str,
88
+ },
89
+ )
90
+
91
+
92
+ BearerAuthSetting = TypedDict(
93
+ "BearerAuthSetting",
94
+ {
95
+ "type": Literal["bearer"],
96
+ "in": Literal["header"],
97
+ "key": Literal["Authorization"],
98
+ "value": str,
99
+ },
100
+ )
101
+
102
+
103
+ HTTPSignatureAuthSetting = TypedDict(
104
+ "HTTPSignatureAuthSetting",
105
+ {
106
+ "type": Literal["http-signature"],
107
+ "in": Literal["header"],
108
+ "key": Literal["Authorization"],
109
+ "value": None,
110
+ },
111
+ )
112
+
113
+
114
+ AuthSettings = TypedDict(
115
+ "AuthSettings",
116
+ {
117
+ "oauth2ClientCredentials": OAuth2AuthSetting,
118
+ },
119
+ total=False,
120
+ )
121
+
122
+
123
+ class HostSettingVariable(TypedDict):
124
+ description: str
125
+ default_value: str
126
+ enum_values: List[str]
127
+
128
+
129
+ class HostSetting(TypedDict):
130
+ url: str
131
+ description: str
132
+ variables: NotRequired[Dict[str, HostSettingVariable]]
133
+
134
+
32
135
  class Configuration:
33
136
  """This class contains various settings of the API client.
34
137
 
@@ -59,24 +162,33 @@ class Configuration:
59
162
  :param ssl_ca_cert: str - the path to a file of concatenated CA certificates
60
163
  in PEM format.
61
164
  :param retries: Number of retries for API requests.
165
+ :param ca_cert_data: verify the peer using concatenated CA certificate data
166
+ in PEM (str) or DER (bytes) format.
62
167
 
63
168
  :Example:
64
169
  """
65
170
 
66
- _default = None
67
-
68
- def __init__(self, host=None,
69
- api_key=None, api_key_prefix=None,
70
- username=None, password=None,
71
- access_token=None,
72
- server_index=None, server_variables=None,
73
- server_operation_index=None, server_operation_variables=None,
74
- ignore_operation_servers=False,
75
- ssl_ca_cert=None,
76
- retries=None,
77
- *,
78
- debug: Optional[bool] = None
79
- ) -> None:
171
+ _default: ClassVar[Optional[Self]] = None
172
+
173
+ def __init__(
174
+ self,
175
+ host: Optional[str]=None,
176
+ api_key: Optional[Dict[str, str]]=None,
177
+ api_key_prefix: Optional[Dict[str, str]]=None,
178
+ username: Optional[str]=None,
179
+ password: Optional[str]=None,
180
+ access_token: Optional[str]=None,
181
+ server_index: Optional[int]=None,
182
+ server_variables: Optional[ServerVariablesT]=None,
183
+ server_operation_index: Optional[Dict[int, int]]=None,
184
+ server_operation_variables: Optional[Dict[int, ServerVariablesT]]=None,
185
+ ignore_operation_servers: bool=False,
186
+ ssl_ca_cert: Optional[str]=None,
187
+ retries: Optional[int] = None,
188
+ ca_cert_data: Optional[Union[str, bytes]] = None,
189
+ *,
190
+ debug: Optional[bool] = None,
191
+ ) -> None:
80
192
  """Constructor
81
193
  """
82
194
  self._base_path = "https://api.wink.travel" if host is None else host
@@ -151,6 +263,10 @@ class Configuration:
151
263
  self.ssl_ca_cert = ssl_ca_cert
152
264
  """Set this to customize the certificate file to verify the peer.
153
265
  """
266
+ self.ca_cert_data = ca_cert_data
267
+ """Set this to verify the peer using PEM (str) or DER (bytes)
268
+ certificate data.
269
+ """
154
270
  self.cert_file = None
155
271
  """client certificate file
156
272
  """
@@ -200,7 +316,7 @@ class Configuration:
200
316
  """date format
201
317
  """
202
318
 
203
- def __deepcopy__(self, memo):
319
+ def __deepcopy__(self, memo: Dict[int, Any]) -> Self:
204
320
  cls = self.__class__
205
321
  result = cls.__new__(cls)
206
322
  memo[id(self)] = result
@@ -214,11 +330,11 @@ class Configuration:
214
330
  result.debug = self.debug
215
331
  return result
216
332
 
217
- def __setattr__(self, name, value):
333
+ def __setattr__(self, name: str, value: Any) -> None:
218
334
  object.__setattr__(self, name, value)
219
335
 
220
336
  @classmethod
221
- def set_default(cls, default):
337
+ def set_default(cls, default: Optional[Self]) -> None:
222
338
  """Set default instance of configuration.
223
339
 
224
340
  It stores default configuration, which can be
@@ -229,7 +345,7 @@ class Configuration:
229
345
  cls._default = default
230
346
 
231
347
  @classmethod
232
- def get_default_copy(cls):
348
+ def get_default_copy(cls) -> Self:
233
349
  """Deprecated. Please use `get_default` instead.
234
350
 
235
351
  Deprecated. Please use `get_default` instead.
@@ -239,7 +355,7 @@ class Configuration:
239
355
  return cls.get_default()
240
356
 
241
357
  @classmethod
242
- def get_default(cls):
358
+ def get_default(cls) -> Self:
243
359
  """Return the default configuration.
244
360
 
245
361
  This method returns newly created, based on default constructor,
@@ -249,11 +365,11 @@ class Configuration:
249
365
  :return: The configuration object.
250
366
  """
251
367
  if cls._default is None:
252
- cls._default = Configuration()
368
+ cls._default = cls()
253
369
  return cls._default
254
370
 
255
371
  @property
256
- def logger_file(self):
372
+ def logger_file(self) -> Optional[str]:
257
373
  """The logger file.
258
374
 
259
375
  If the logger_file is None, then add stream handler and remove file
@@ -265,7 +381,7 @@ class Configuration:
265
381
  return self.__logger_file
266
382
 
267
383
  @logger_file.setter
268
- def logger_file(self, value):
384
+ def logger_file(self, value: Optional[str]) -> None:
269
385
  """The logger file.
270
386
 
271
387
  If the logger_file is None, then add stream handler and remove file
@@ -284,7 +400,7 @@ class Configuration:
284
400
  logger.addHandler(self.logger_file_handler)
285
401
 
286
402
  @property
287
- def debug(self):
403
+ def debug(self) -> bool:
288
404
  """Debug status
289
405
 
290
406
  :param value: The debug status, True or False.
@@ -293,7 +409,7 @@ class Configuration:
293
409
  return self.__debug
294
410
 
295
411
  @debug.setter
296
- def debug(self, value):
412
+ def debug(self, value: bool) -> None:
297
413
  """Debug status
298
414
 
299
415
  :param value: The debug status, True or False.
@@ -315,7 +431,7 @@ class Configuration:
315
431
  httplib.HTTPConnection.debuglevel = 0
316
432
 
317
433
  @property
318
- def logger_format(self):
434
+ def logger_format(self) -> str:
319
435
  """The logger format.
320
436
 
321
437
  The logger_formatter will be updated when sets logger_format.
@@ -326,7 +442,7 @@ class Configuration:
326
442
  return self.__logger_format
327
443
 
328
444
  @logger_format.setter
329
- def logger_format(self, value):
445
+ def logger_format(self, value: str) -> None:
330
446
  """The logger format.
331
447
 
332
448
  The logger_formatter will be updated when sets logger_format.
@@ -337,7 +453,7 @@ class Configuration:
337
453
  self.__logger_format = value
338
454
  self.logger_formatter = logging.Formatter(self.__logger_format)
339
455
 
340
- def get_api_key_with_prefix(self, identifier, alias=None):
456
+ def get_api_key_with_prefix(self, identifier: str, alias: Optional[str]=None) -> Optional[str]:
341
457
  """Gets API key (with prefix if set).
342
458
 
343
459
  :param identifier: The identifier of apiKey.
@@ -354,7 +470,9 @@ class Configuration:
354
470
  else:
355
471
  return key
356
472
 
357
- def get_basic_auth_token(self):
473
+ return None
474
+
475
+ def get_basic_auth_token(self) -> Optional[str]:
358
476
  """Gets HTTP basic authentication header (string).
359
477
 
360
478
  :return: The token for basic HTTP authentication.
@@ -369,12 +487,12 @@ class Configuration:
369
487
  basic_auth=username + ':' + password
370
488
  ).get('authorization')
371
489
 
372
- def auth_settings(self):
490
+ def auth_settings(self)-> AuthSettings:
373
491
  """Gets Auth Settings dict for api client.
374
492
 
375
493
  :return: The Auth Settings information dict.
376
494
  """
377
- auth = {}
495
+ auth: AuthSettings = {}
378
496
  if self.access_token is not None:
379
497
  auth['oauth2ClientCredentials'] = {
380
498
  'type': 'oauth2',
@@ -384,7 +502,7 @@ class Configuration:
384
502
  }
385
503
  return auth
386
504
 
387
- def to_debug_report(self):
505
+ def to_debug_report(self) -> str:
388
506
  """Gets the essential information for debugging.
389
507
 
390
508
  :return: The report for debugging.
@@ -392,11 +510,11 @@ class Configuration:
392
510
  return "Python SDK Debug Report:\n"\
393
511
  "OS: {env}\n"\
394
512
  "Python Version: {pyversion}\n"\
395
- "Version of the API: 30.7.10\n"\
396
- "SDK Package Version: 0.0.3".\
513
+ "Version of the API: 30.15.2\n"\
514
+ "SDK Package Version: 0.0.19".\
397
515
  format(env=sys.platform, pyversion=sys.version)
398
516
 
399
- def get_host_settings(self):
517
+ def get_host_settings(self) -> List[HostSetting]:
400
518
  """Gets an array of host settings
401
519
 
402
520
  :return: An array of host settings
@@ -408,7 +526,12 @@ class Configuration:
408
526
  }
409
527
  ]
410
528
 
411
- def get_host_from_settings(self, index, variables=None, servers=None):
529
+ def get_host_from_settings(
530
+ self,
531
+ index: Optional[int],
532
+ variables: Optional[ServerVariablesT]=None,
533
+ servers: Optional[List[HostSetting]]=None,
534
+ ) -> str:
412
535
  """Gets host URL based on the index and variables
413
536
  :param index: array index of the host settings
414
537
  :param variables: hash of variable and the corresponding value
@@ -448,12 +571,12 @@ class Configuration:
448
571
  return url
449
572
 
450
573
  @property
451
- def host(self):
574
+ def host(self) -> str:
452
575
  """Return generated host."""
453
576
  return self.get_host_from_settings(self.server_index, variables=self.server_variables)
454
577
 
455
578
  @host.setter
456
- def host(self, value):
579
+ def host(self, value: str) -> None:
457
580
  """Fix base path."""
458
581
  self._base_path = value
459
582
  self.server_index = None