wink-sdk-travel-agent 0.0.25__py3-none-any.whl → 0.0.26__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.
- wink_sdk_travel_agent/__init__.py +17 -28
- wink_sdk_travel_agent/api/travel_agent_api.py +29 -29
- wink_sdk_travel_agent/api_client.py +2 -2
- wink_sdk_travel_agent/configuration.py +4 -4
- wink_sdk_travel_agent/exceptions.py +2 -2
- wink_sdk_travel_agent/models/__init__.py +16 -27
- wink_sdk_travel_agent/models/address_agent.py +7 -6
- wink_sdk_travel_agent/models/affiliate_account_agent.py +179 -0
- wink_sdk_travel_agent/models/affiliate_account_user_agent.py +115 -0
- wink_sdk_travel_agent/models/agent_booking_request_agent.py +13 -28
- wink_sdk_travel_agent/models/aggregate_descriptor_agent.py +3 -3
- wink_sdk_travel_agent/models/authenticated_user_agent.py +7 -6
- wink_sdk_travel_agent/models/bed_agent.py +4 -4
- wink_sdk_travel_agent/models/bedroom_agent.py +4 -3
- wink_sdk_travel_agent/models/bedroom_configuration_agent.py +8 -7
- wink_sdk_travel_agent/models/beneficiary_agent.py +13 -21
- wink_sdk_travel_agent/models/beneficiary_charge_agent.py +2 -2
- wink_sdk_travel_agent/models/booking_agent.py +37 -74
- wink_sdk_travel_agent/models/booking_ancillary_agent.py +16 -15
- wink_sdk_travel_agent/models/booking_confirmations_agent.py +6 -14
- wink_sdk_travel_agent/models/booking_contract_agent.py +104 -104
- wink_sdk_travel_agent/models/booking_contract_item_agent.py +13 -21
- wink_sdk_travel_agent/models/booking_contract_payment_details_agent.py +10 -17
- wink_sdk_travel_agent/models/booking_itinerary_agent.py +3 -3
- wink_sdk_travel_agent/models/booking_itinerary_room_configuration_agent.py +4 -4
- wink_sdk_travel_agent/models/booking_itinerary_room_configuration_child_agent.py +2 -2
- wink_sdk_travel_agent/models/booking_user_agent.py +7 -6
- wink_sdk_travel_agent/models/booking_user_request_agent.py +3 -3
- wink_sdk_travel_agent/models/booking_user_session_agent.py +4 -4
- wink_sdk_travel_agent/models/boolean_response_agent.py +2 -2
- wink_sdk_travel_agent/models/cancellation_detail_agent.py +4 -3
- wink_sdk_travel_agent/models/cancellation_policy_exception_agent.py +8 -7
- wink_sdk_travel_agent/models/cancellation_policy_exceptions_agent.py +5 -4
- wink_sdk_travel_agent/models/cancellation_policy_lightweight_agent.py +166 -0
- wink_sdk_travel_agent/models/child_agent.py +2 -2
- wink_sdk_travel_agent/models/commissionable_entry_agent.py +6 -5
- wink_sdk_travel_agent/models/composite_filter_descriptor_agent.py +3 -3
- wink_sdk_travel_agent/models/contact_agent.py +3 -3
- wink_sdk_travel_agent/models/country_lightweight_agent.py +100 -0
- wink_sdk_travel_agent/models/create_agent_booking400_response.py +3 -3
- wink_sdk_travel_agent/models/create_agent_booking_request_agent.py +7 -6
- wink_sdk_travel_agent/models/custom_monetary_amount.py +5 -4
- wink_sdk_travel_agent/models/customization_lightweight_agent.py +231 -0
- wink_sdk_travel_agent/models/customization_theme_colors_agent.py +108 -0
- wink_sdk_travel_agent/models/extra_charge_agent.py +6 -6
- wink_sdk_travel_agent/models/extra_charges_agent.py +3 -3
- wink_sdk_travel_agent/models/filter_descriptor_agent.py +11 -5
- wink_sdk_travel_agent/models/general_manager_agent.py +4 -4
- wink_sdk_travel_agent/models/generic_error_message.py +2 -2
- wink_sdk_travel_agent/models/geo_json_point_agent.py +3 -3
- wink_sdk_travel_agent/models/geo_name_lightweight_agent.py +136 -0
- wink_sdk_travel_agent/models/group_descriptor_agent.py +3 -3
- wink_sdk_travel_agent/models/guest_room_lightweight_agent.py +22 -22
- wink_sdk_travel_agent/models/guest_user_agent.py +9 -8
- wink_sdk_travel_agent/models/image_attribution_agent.py +5 -4
- wink_sdk_travel_agent/models/localized_description_agent.py +25 -7
- wink_sdk_travel_agent/models/localized_price_agent.py +11 -11
- wink_sdk_travel_agent/models/managed_by_entity_agent.py +8 -7
- wink_sdk_travel_agent/models/managed_by_entity_rules_agent.py +3 -3
- wink_sdk_travel_agent/models/page_booking_agent.py +124 -0
- wink_sdk_travel_agent/models/pageable_object_agent.py +6 -6
- wink_sdk_travel_agent/models/payout_agent.py +10 -9
- wink_sdk_travel_agent/models/payout_fee_agent.py +7 -6
- wink_sdk_travel_agent/models/perk_lightweight_agent.py +7 -6
- wink_sdk_travel_agent/models/personal_agent.py +8 -24
- wink_sdk_travel_agent/models/preferences_agent.py +13 -13
- wink_sdk_travel_agent/models/profile_lightweight_agent.py +111 -0
- wink_sdk_travel_agent/models/profile_user_agent.py +3 -3
- wink_sdk_travel_agent/models/property_aggregate_lightweight_agent.py +242 -0
- wink_sdk_travel_agent/models/property_policy_agent.py +6 -5
- wink_sdk_travel_agent/models/quote_lightweight_agent.py +95 -0
- wink_sdk_travel_agent/models/rate_plan_level_fee_agent.py +6 -5
- wink_sdk_travel_agent/models/refund_agent.py +6 -5
- wink_sdk_travel_agent/models/review_answer_agent.py +4 -3
- wink_sdk_travel_agent/models/review_lightweight_agent.py +133 -0
- wink_sdk_travel_agent/models/review_user_agent.py +3 -3
- wink_sdk_travel_agent/models/room_configuration_agent.py +3 -3
- wink_sdk_travel_agent/models/room_configuration_price_rate_plan_agent.py +23 -12
- wink_sdk_travel_agent/models/room_stay_agent.py +23 -22
- wink_sdk_travel_agent/models/simple_address_agent.py +12 -7
- wink_sdk_travel_agent/models/simple_date_time_itinerary_agent.py +7 -7
- wink_sdk_travel_agent/models/simple_description_agent.py +25 -7
- wink_sdk_travel_agent/models/simple_multimedia_agent.py +5 -5
- wink_sdk_travel_agent/models/social_agent.py +2 -2
- wink_sdk_travel_agent/models/sort_descriptor_agent.py +3 -3
- wink_sdk_travel_agent/models/sort_object_agent.py +2 -2
- wink_sdk_travel_agent/models/state_agent.py +3 -3
- wink_sdk_travel_agent/models/stay_rate_agent.py +16 -16
- wink_sdk_travel_agent/models/sub_country_lightweight_agent.py +92 -0
- wink_sdk_travel_agent/models/sub_sub_country_lightweight_agent.py +92 -0
- wink_sdk_travel_agent/models/supplier_contract_item_policy_agent.py +2 -2
- wink_sdk_travel_agent/models/travel_agent_agent.py +3 -3
- wink_sdk_travel_agent/models/travel_inventory_recognition_agent.py +4 -4
- wink_sdk_travel_agent/models/upsert_travel_agent_request_agent.py +2 -2
- wink_sdk_travel_agent/rest.py +2 -2
- {wink_sdk_travel_agent-0.0.25.dist-info → wink_sdk_travel_agent-0.0.26.dist-info}/METADATA +20 -31
- wink_sdk_travel_agent-0.0.26.dist-info/RECORD +133 -0
- {wink_sdk_travel_agent-0.0.25.dist-info → wink_sdk_travel_agent-0.0.26.dist-info}/WHEEL +1 -1
- wink_sdk_travel_agent-0.0.25.dist-info/RECORD +0 -119
- {wink_sdk_travel_agent-0.0.25.dist-info → wink_sdk_travel_agent-0.0.26.dist-info}/licenses/LICENSE +0 -0
- {wink_sdk_travel_agent-0.0.25.dist-info → wink_sdk_travel_agent-0.0.26.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 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](/
|
|
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](/customization-client): A single endpoint to retrieve whitelabel + customization information for the booking customization. - [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.
|
|
10
|
+
The version of the OpenAPI document: 30.17.1
|
|
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.
|
|
18
|
+
__version__ = "0.0.26"
|
|
19
19
|
|
|
20
20
|
# import apis into sdk package
|
|
21
21
|
from wink_sdk_travel_agent.api.travel_agent_api import TravelAgentApi
|
|
@@ -33,9 +33,10 @@ from wink_sdk_travel_agent.exceptions import ApiException
|
|
|
33
33
|
|
|
34
34
|
# import models into sdk package
|
|
35
35
|
from wink_sdk_travel_agent.models.address_agent import AddressAgent
|
|
36
|
+
from wink_sdk_travel_agent.models.affiliate_account_agent import AffiliateAccountAgent
|
|
37
|
+
from wink_sdk_travel_agent.models.affiliate_account_user_agent import AffiliateAccountUserAgent
|
|
36
38
|
from wink_sdk_travel_agent.models.agent_booking_request_agent import AgentBookingRequestAgent
|
|
37
39
|
from wink_sdk_travel_agent.models.aggregate_descriptor_agent import AggregateDescriptorAgent
|
|
38
|
-
from wink_sdk_travel_agent.models.ancillary_request_agent import AncillaryRequestAgent
|
|
39
40
|
from wink_sdk_travel_agent.models.authenticated_user_agent import AuthenticatedUserAgent
|
|
40
41
|
from wink_sdk_travel_agent.models.bed_agent import BedAgent
|
|
41
42
|
from wink_sdk_travel_agent.models.bedroom_agent import BedroomAgent
|
|
@@ -54,64 +55,52 @@ from wink_sdk_travel_agent.models.booking_itinerary_room_configuration_child_age
|
|
|
54
55
|
from wink_sdk_travel_agent.models.booking_user_agent import BookingUserAgent
|
|
55
56
|
from wink_sdk_travel_agent.models.booking_user_request_agent import BookingUserRequestAgent
|
|
56
57
|
from wink_sdk_travel_agent.models.booking_user_session_agent import BookingUserSessionAgent
|
|
57
|
-
from wink_sdk_travel_agent.models.booking_view_agent import BookingViewAgent
|
|
58
58
|
from wink_sdk_travel_agent.models.boolean_response_agent import BooleanResponseAgent
|
|
59
59
|
from wink_sdk_travel_agent.models.cancellation_detail_agent import CancellationDetailAgent
|
|
60
|
-
from wink_sdk_travel_agent.models.cancellation_policy_agent import CancellationPolicyAgent
|
|
61
60
|
from wink_sdk_travel_agent.models.cancellation_policy_exception_agent import CancellationPolicyExceptionAgent
|
|
62
61
|
from wink_sdk_travel_agent.models.cancellation_policy_exceptions_agent import CancellationPolicyExceptionsAgent
|
|
62
|
+
from wink_sdk_travel_agent.models.cancellation_policy_lightweight_agent import CancellationPolicyLightweightAgent
|
|
63
63
|
from wink_sdk_travel_agent.models.child_agent import ChildAgent
|
|
64
64
|
from wink_sdk_travel_agent.models.commissionable_entry_agent import CommissionableEntryAgent
|
|
65
|
-
from wink_sdk_travel_agent.models.company_agent import CompanyAgent
|
|
66
|
-
from wink_sdk_travel_agent.models.company_user_agent import CompanyUserAgent
|
|
67
|
-
from wink_sdk_travel_agent.models.company_view_agent import CompanyViewAgent
|
|
68
65
|
from wink_sdk_travel_agent.models.composite_filter_descriptor_agent import CompositeFilterDescriptorAgent
|
|
69
66
|
from wink_sdk_travel_agent.models.contact_agent import ContactAgent
|
|
70
|
-
from wink_sdk_travel_agent.models.
|
|
67
|
+
from wink_sdk_travel_agent.models.country_lightweight_agent import CountryLightweightAgent
|
|
71
68
|
from wink_sdk_travel_agent.models.create_agent_booking400_response import CreateAgentBooking400Response
|
|
72
69
|
from wink_sdk_travel_agent.models.create_agent_booking_request_agent import CreateAgentBookingRequestAgent
|
|
73
70
|
from wink_sdk_travel_agent.models.custom_monetary_amount import CustomMonetaryAmount
|
|
74
|
-
from wink_sdk_travel_agent.models.
|
|
75
|
-
from wink_sdk_travel_agent.models.
|
|
76
|
-
from wink_sdk_travel_agent.models.engine_configuration_theme_colors_agent import EngineConfigurationThemeColorsAgent
|
|
71
|
+
from wink_sdk_travel_agent.models.customization_lightweight_agent import CustomizationLightweightAgent
|
|
72
|
+
from wink_sdk_travel_agent.models.customization_theme_colors_agent import CustomizationThemeColorsAgent
|
|
77
73
|
from wink_sdk_travel_agent.models.extra_charge_agent import ExtraChargeAgent
|
|
78
74
|
from wink_sdk_travel_agent.models.extra_charges_agent import ExtraChargesAgent
|
|
79
|
-
from wink_sdk_travel_agent.models.fee_agent import FeeAgent
|
|
80
75
|
from wink_sdk_travel_agent.models.filter_descriptor_agent import FilterDescriptorAgent
|
|
81
76
|
from wink_sdk_travel_agent.models.general_manager_agent import GeneralManagerAgent
|
|
82
77
|
from wink_sdk_travel_agent.models.generic_error_message import GenericErrorMessage
|
|
83
78
|
from wink_sdk_travel_agent.models.geo_json_point_agent import GeoJsonPointAgent
|
|
84
|
-
from wink_sdk_travel_agent.models.
|
|
79
|
+
from wink_sdk_travel_agent.models.geo_name_lightweight_agent import GeoNameLightweightAgent
|
|
85
80
|
from wink_sdk_travel_agent.models.group_descriptor_agent import GroupDescriptorAgent
|
|
86
81
|
from wink_sdk_travel_agent.models.guest_room_lightweight_agent import GuestRoomLightweightAgent
|
|
87
82
|
from wink_sdk_travel_agent.models.guest_user_agent import GuestUserAgent
|
|
88
|
-
from wink_sdk_travel_agent.models.hotel_on_map_agent import HotelOnMapAgent
|
|
89
83
|
from wink_sdk_travel_agent.models.image_attribution_agent import ImageAttributionAgent
|
|
90
84
|
from wink_sdk_travel_agent.models.localized_description_agent import LocalizedDescriptionAgent
|
|
91
85
|
from wink_sdk_travel_agent.models.localized_price_agent import LocalizedPriceAgent
|
|
92
86
|
from wink_sdk_travel_agent.models.managed_by_entity_agent import ManagedByEntityAgent
|
|
93
87
|
from wink_sdk_travel_agent.models.managed_by_entity_rules_agent import ManagedByEntityRulesAgent
|
|
94
|
-
from wink_sdk_travel_agent.models.
|
|
95
|
-
from wink_sdk_travel_agent.models.page_booking_view_agent import PageBookingViewAgent
|
|
88
|
+
from wink_sdk_travel_agent.models.page_booking_agent import PageBookingAgent
|
|
96
89
|
from wink_sdk_travel_agent.models.pageable_object_agent import PageableObjectAgent
|
|
97
90
|
from wink_sdk_travel_agent.models.payout_agent import PayoutAgent
|
|
98
91
|
from wink_sdk_travel_agent.models.payout_fee_agent import PayoutFeeAgent
|
|
99
|
-
from wink_sdk_travel_agent.models.pending_refund_agent import PendingRefundAgent
|
|
100
92
|
from wink_sdk_travel_agent.models.perk_lightweight_agent import PerkLightweightAgent
|
|
101
93
|
from wink_sdk_travel_agent.models.personal_agent import PersonalAgent
|
|
102
|
-
from wink_sdk_travel_agent.models.pet_info_dto_agent import PetInfoDtoAgent
|
|
103
94
|
from wink_sdk_travel_agent.models.preferences_agent import PreferencesAgent
|
|
104
|
-
from wink_sdk_travel_agent.models.
|
|
95
|
+
from wink_sdk_travel_agent.models.profile_lightweight_agent import ProfileLightweightAgent
|
|
105
96
|
from wink_sdk_travel_agent.models.profile_user_agent import ProfileUserAgent
|
|
97
|
+
from wink_sdk_travel_agent.models.property_aggregate_lightweight_agent import PropertyAggregateLightweightAgent
|
|
106
98
|
from wink_sdk_travel_agent.models.property_policy_agent import PropertyPolicyAgent
|
|
107
|
-
from wink_sdk_travel_agent.models.
|
|
99
|
+
from wink_sdk_travel_agent.models.quote_lightweight_agent import QuoteLightweightAgent
|
|
108
100
|
from wink_sdk_travel_agent.models.rate_plan_level_fee_agent import RatePlanLevelFeeAgent
|
|
109
101
|
from wink_sdk_travel_agent.models.refund_agent import RefundAgent
|
|
110
|
-
from wink_sdk_travel_agent.models.reporting_ancillary_agent import ReportingAncillaryAgent
|
|
111
|
-
from wink_sdk_travel_agent.models.reporting_daily_rate_agent import ReportingDailyRateAgent
|
|
112
|
-
from wink_sdk_travel_agent.models.reporting_extra_charge_agent import ReportingExtraChargeAgent
|
|
113
|
-
from wink_sdk_travel_agent.models.review_agent import ReviewAgent
|
|
114
102
|
from wink_sdk_travel_agent.models.review_answer_agent import ReviewAnswerAgent
|
|
103
|
+
from wink_sdk_travel_agent.models.review_lightweight_agent import ReviewLightweightAgent
|
|
115
104
|
from wink_sdk_travel_agent.models.review_user_agent import ReviewUserAgent
|
|
116
105
|
from wink_sdk_travel_agent.models.room_configuration_agent import RoomConfigurationAgent
|
|
117
106
|
from wink_sdk_travel_agent.models.room_configuration_price_rate_plan_agent import RoomConfigurationPriceRatePlanAgent
|
|
@@ -125,8 +114,8 @@ from wink_sdk_travel_agent.models.sort_descriptor_agent import SortDescriptorAge
|
|
|
125
114
|
from wink_sdk_travel_agent.models.sort_object_agent import SortObjectAgent
|
|
126
115
|
from wink_sdk_travel_agent.models.state_agent import StateAgent
|
|
127
116
|
from wink_sdk_travel_agent.models.stay_rate_agent import StayRateAgent
|
|
128
|
-
from wink_sdk_travel_agent.models.
|
|
129
|
-
from wink_sdk_travel_agent.models.
|
|
117
|
+
from wink_sdk_travel_agent.models.sub_country_lightweight_agent import SubCountryLightweightAgent
|
|
118
|
+
from wink_sdk_travel_agent.models.sub_sub_country_lightweight_agent import SubSubCountryLightweightAgent
|
|
130
119
|
from wink_sdk_travel_agent.models.supplier_contract_item_policy_agent import SupplierContractItemPolicyAgent
|
|
131
120
|
from wink_sdk_travel_agent.models.travel_agent_agent import TravelAgentAgent
|
|
132
121
|
from wink_sdk_travel_agent.models.travel_inventory_recognition_agent import TravelInventoryRecognitionAgent
|
|
@@ -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 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](/
|
|
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](/customization-client): A single endpoint to retrieve whitelabel + customization information for the booking customization. - [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.
|
|
8
|
+
The version of the OpenAPI document: 30.17.1
|
|
9
9
|
Contact: bjorn@wink.travel
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -18,15 +18,15 @@ from typing import Any, Dict, List, Optional, Tuple, Union
|
|
|
18
18
|
from typing_extensions import Annotated
|
|
19
19
|
|
|
20
20
|
from pydantic import Field, StrictStr, field_validator
|
|
21
|
-
from typing import Any,
|
|
21
|
+
from typing import Any, Optional
|
|
22
22
|
from typing_extensions import Annotated
|
|
23
|
+
from wink_sdk_travel_agent.models.affiliate_account_agent import AffiliateAccountAgent
|
|
24
|
+
from wink_sdk_travel_agent.models.booking_agent import BookingAgent
|
|
23
25
|
from wink_sdk_travel_agent.models.booking_confirmations_agent import BookingConfirmationsAgent
|
|
24
|
-
from wink_sdk_travel_agent.models.booking_view_agent import BookingViewAgent
|
|
25
26
|
from wink_sdk_travel_agent.models.boolean_response_agent import BooleanResponseAgent
|
|
26
27
|
from wink_sdk_travel_agent.models.cancellation_detail_agent import CancellationDetailAgent
|
|
27
|
-
from wink_sdk_travel_agent.models.company_view_agent import CompanyViewAgent
|
|
28
28
|
from wink_sdk_travel_agent.models.create_agent_booking_request_agent import CreateAgentBookingRequestAgent
|
|
29
|
-
from wink_sdk_travel_agent.models.
|
|
29
|
+
from wink_sdk_travel_agent.models.page_booking_agent import PageBookingAgent
|
|
30
30
|
from wink_sdk_travel_agent.models.state_agent import StateAgent
|
|
31
31
|
from wink_sdk_travel_agent.models.upsert_travel_agent_request_agent import UpsertTravelAgentRequestAgent
|
|
32
32
|
|
|
@@ -67,7 +67,7 @@ class TravelAgentApi:
|
|
|
67
67
|
_content_type: Optional[StrictStr] = None,
|
|
68
68
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
69
69
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
70
|
-
) ->
|
|
70
|
+
) -> BookingAgent:
|
|
71
71
|
"""Cancel Booking
|
|
72
72
|
|
|
73
73
|
Cancel a booking by its booking identifier
|
|
@@ -118,7 +118,7 @@ class TravelAgentApi:
|
|
|
118
118
|
'403': "GenericErrorMessage",
|
|
119
119
|
'401': "GenericErrorMessage",
|
|
120
120
|
'400': "CreateAgentBooking400Response",
|
|
121
|
-
'200': "
|
|
121
|
+
'200': "BookingAgent",
|
|
122
122
|
}
|
|
123
123
|
response_data = self.api_client.call_api(
|
|
124
124
|
*_param,
|
|
@@ -150,7 +150,7 @@ class TravelAgentApi:
|
|
|
150
150
|
_content_type: Optional[StrictStr] = None,
|
|
151
151
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
152
152
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
153
|
-
) -> ApiResponse[
|
|
153
|
+
) -> ApiResponse[BookingAgent]:
|
|
154
154
|
"""Cancel Booking
|
|
155
155
|
|
|
156
156
|
Cancel a booking by its booking identifier
|
|
@@ -201,7 +201,7 @@ class TravelAgentApi:
|
|
|
201
201
|
'403': "GenericErrorMessage",
|
|
202
202
|
'401': "GenericErrorMessage",
|
|
203
203
|
'400': "CreateAgentBooking400Response",
|
|
204
|
-
'200': "
|
|
204
|
+
'200': "BookingAgent",
|
|
205
205
|
}
|
|
206
206
|
response_data = self.api_client.call_api(
|
|
207
207
|
*_param,
|
|
@@ -284,7 +284,7 @@ class TravelAgentApi:
|
|
|
284
284
|
'403': "GenericErrorMessage",
|
|
285
285
|
'401': "GenericErrorMessage",
|
|
286
286
|
'400': "CreateAgentBooking400Response",
|
|
287
|
-
'200': "
|
|
287
|
+
'200': "BookingAgent",
|
|
288
288
|
}
|
|
289
289
|
response_data = self.api_client.call_api(
|
|
290
290
|
*_param,
|
|
@@ -693,7 +693,7 @@ class TravelAgentApi:
|
|
|
693
693
|
self,
|
|
694
694
|
company_identifier: Annotated[StrictStr, Field(description="Resend booking owned by company identifier")],
|
|
695
695
|
booking_identifier: Annotated[StrictStr, Field(description="Resend booking by identifier")],
|
|
696
|
-
body: Annotated[
|
|
696
|
+
body: Annotated[Optional[Any], Field(description="Empty request body")],
|
|
697
697
|
wink_version: Optional[StrictStr] = None,
|
|
698
698
|
_request_timeout: Union[
|
|
699
699
|
None,
|
|
@@ -776,7 +776,7 @@ class TravelAgentApi:
|
|
|
776
776
|
self,
|
|
777
777
|
company_identifier: Annotated[StrictStr, Field(description="Resend booking owned by company identifier")],
|
|
778
778
|
booking_identifier: Annotated[StrictStr, Field(description="Resend booking by identifier")],
|
|
779
|
-
body: Annotated[
|
|
779
|
+
body: Annotated[Optional[Any], Field(description="Empty request body")],
|
|
780
780
|
wink_version: Optional[StrictStr] = None,
|
|
781
781
|
_request_timeout: Union[
|
|
782
782
|
None,
|
|
@@ -859,7 +859,7 @@ class TravelAgentApi:
|
|
|
859
859
|
self,
|
|
860
860
|
company_identifier: Annotated[StrictStr, Field(description="Resend booking owned by company identifier")],
|
|
861
861
|
booking_identifier: Annotated[StrictStr, Field(description="Resend booking by identifier")],
|
|
862
|
-
body: Annotated[
|
|
862
|
+
body: Annotated[Optional[Any], Field(description="Empty request body")],
|
|
863
863
|
wink_version: Optional[StrictStr] = None,
|
|
864
864
|
_request_timeout: Union[
|
|
865
865
|
None,
|
|
@@ -1042,7 +1042,7 @@ class TravelAgentApi:
|
|
|
1042
1042
|
_content_type: Optional[StrictStr] = None,
|
|
1043
1043
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1044
1044
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1045
|
-
) ->
|
|
1045
|
+
) -> BookingAgent:
|
|
1046
1046
|
"""Show Booking
|
|
1047
1047
|
|
|
1048
1048
|
Show a booking record by its identifier.
|
|
@@ -1093,7 +1093,7 @@ class TravelAgentApi:
|
|
|
1093
1093
|
'403': "GenericErrorMessage",
|
|
1094
1094
|
'401': "GenericErrorMessage",
|
|
1095
1095
|
'400': "CreateAgentBooking400Response",
|
|
1096
|
-
'200': "
|
|
1096
|
+
'200': "BookingAgent",
|
|
1097
1097
|
}
|
|
1098
1098
|
response_data = self.api_client.call_api(
|
|
1099
1099
|
*_param,
|
|
@@ -1125,7 +1125,7 @@ class TravelAgentApi:
|
|
|
1125
1125
|
_content_type: Optional[StrictStr] = None,
|
|
1126
1126
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1127
1127
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1128
|
-
) -> ApiResponse[
|
|
1128
|
+
) -> ApiResponse[BookingAgent]:
|
|
1129
1129
|
"""Show Booking
|
|
1130
1130
|
|
|
1131
1131
|
Show a booking record by its identifier.
|
|
@@ -1176,7 +1176,7 @@ class TravelAgentApi:
|
|
|
1176
1176
|
'403': "GenericErrorMessage",
|
|
1177
1177
|
'401': "GenericErrorMessage",
|
|
1178
1178
|
'400': "CreateAgentBooking400Response",
|
|
1179
|
-
'200': "
|
|
1179
|
+
'200': "BookingAgent",
|
|
1180
1180
|
}
|
|
1181
1181
|
response_data = self.api_client.call_api(
|
|
1182
1182
|
*_param,
|
|
@@ -1259,7 +1259,7 @@ class TravelAgentApi:
|
|
|
1259
1259
|
'403': "GenericErrorMessage",
|
|
1260
1260
|
'401': "GenericErrorMessage",
|
|
1261
1261
|
'400': "CreateAgentBooking400Response",
|
|
1262
|
-
'200': "
|
|
1262
|
+
'200': "BookingAgent",
|
|
1263
1263
|
}
|
|
1264
1264
|
response_data = self.api_client.call_api(
|
|
1265
1265
|
*_param,
|
|
@@ -1363,7 +1363,7 @@ class TravelAgentApi:
|
|
|
1363
1363
|
_content_type: Optional[StrictStr] = None,
|
|
1364
1364
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1365
1365
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1366
|
-
) ->
|
|
1366
|
+
) -> PageBookingAgent:
|
|
1367
1367
|
"""Show Bookings
|
|
1368
1368
|
|
|
1369
1369
|
Show bookings for the company that helped create those booking.
|
|
@@ -1411,7 +1411,7 @@ class TravelAgentApi:
|
|
|
1411
1411
|
'403': "GenericErrorMessage",
|
|
1412
1412
|
'401': "GenericErrorMessage",
|
|
1413
1413
|
'400': "CreateAgentBooking400Response",
|
|
1414
|
-
'200': "
|
|
1414
|
+
'200': "PageBookingAgent",
|
|
1415
1415
|
}
|
|
1416
1416
|
response_data = self.api_client.call_api(
|
|
1417
1417
|
*_param,
|
|
@@ -1442,7 +1442,7 @@ class TravelAgentApi:
|
|
|
1442
1442
|
_content_type: Optional[StrictStr] = None,
|
|
1443
1443
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1444
1444
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1445
|
-
) -> ApiResponse[
|
|
1445
|
+
) -> ApiResponse[PageBookingAgent]:
|
|
1446
1446
|
"""Show Bookings
|
|
1447
1447
|
|
|
1448
1448
|
Show bookings for the company that helped create those booking.
|
|
@@ -1490,7 +1490,7 @@ class TravelAgentApi:
|
|
|
1490
1490
|
'403': "GenericErrorMessage",
|
|
1491
1491
|
'401': "GenericErrorMessage",
|
|
1492
1492
|
'400': "CreateAgentBooking400Response",
|
|
1493
|
-
'200': "
|
|
1493
|
+
'200': "PageBookingAgent",
|
|
1494
1494
|
}
|
|
1495
1495
|
response_data = self.api_client.call_api(
|
|
1496
1496
|
*_param,
|
|
@@ -1569,7 +1569,7 @@ class TravelAgentApi:
|
|
|
1569
1569
|
'403': "GenericErrorMessage",
|
|
1570
1570
|
'401': "GenericErrorMessage",
|
|
1571
1571
|
'400': "CreateAgentBooking400Response",
|
|
1572
|
-
'200': "
|
|
1572
|
+
'200': "PageBookingAgent",
|
|
1573
1573
|
}
|
|
1574
1574
|
response_data = self.api_client.call_api(
|
|
1575
1575
|
*_param,
|
|
@@ -1683,7 +1683,7 @@ class TravelAgentApi:
|
|
|
1683
1683
|
_content_type: Optional[StrictStr] = None,
|
|
1684
1684
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1685
1685
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1686
|
-
) ->
|
|
1686
|
+
) -> AffiliateAccountAgent:
|
|
1687
1687
|
"""Update Agent
|
|
1688
1688
|
|
|
1689
1689
|
Update an existing agent
|
|
@@ -1731,7 +1731,7 @@ class TravelAgentApi:
|
|
|
1731
1731
|
'403': "GenericErrorMessage",
|
|
1732
1732
|
'401': "GenericErrorMessage",
|
|
1733
1733
|
'400': "CreateAgentBooking400Response",
|
|
1734
|
-
'200': "
|
|
1734
|
+
'200': "AffiliateAccountAgent",
|
|
1735
1735
|
}
|
|
1736
1736
|
response_data = self.api_client.call_api(
|
|
1737
1737
|
*_param,
|
|
@@ -1762,7 +1762,7 @@ class TravelAgentApi:
|
|
|
1762
1762
|
_content_type: Optional[StrictStr] = None,
|
|
1763
1763
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1764
1764
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1765
|
-
) -> ApiResponse[
|
|
1765
|
+
) -> ApiResponse[AffiliateAccountAgent]:
|
|
1766
1766
|
"""Update Agent
|
|
1767
1767
|
|
|
1768
1768
|
Update an existing agent
|
|
@@ -1810,7 +1810,7 @@ class TravelAgentApi:
|
|
|
1810
1810
|
'403': "GenericErrorMessage",
|
|
1811
1811
|
'401': "GenericErrorMessage",
|
|
1812
1812
|
'400': "CreateAgentBooking400Response",
|
|
1813
|
-
'200': "
|
|
1813
|
+
'200': "AffiliateAccountAgent",
|
|
1814
1814
|
}
|
|
1815
1815
|
response_data = self.api_client.call_api(
|
|
1816
1816
|
*_param,
|
|
@@ -1889,7 +1889,7 @@ class TravelAgentApi:
|
|
|
1889
1889
|
'403': "GenericErrorMessage",
|
|
1890
1890
|
'401': "GenericErrorMessage",
|
|
1891
1891
|
'400': "CreateAgentBooking400Response",
|
|
1892
|
-
'200': "
|
|
1892
|
+
'200': "AffiliateAccountAgent",
|
|
1893
1893
|
}
|
|
1894
1894
|
response_data = self.api_client.call_api(
|
|
1895
1895
|
*_param,
|
|
@@ -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 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](/
|
|
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](/customization-client): A single endpoint to retrieve whitelabel + customization information for the booking customization. - [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.
|
|
8
|
+
The version of the OpenAPI document: 30.17.1
|
|
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 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](/
|
|
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](/customization-client): A single endpoint to retrieve whitelabel + customization information for the booking customization. - [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.
|
|
8
|
+
The version of the OpenAPI document: 30.17.1
|
|
9
9
|
Contact: bjorn@wink.travel
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -510,8 +510,8 @@ class Configuration:
|
|
|
510
510
|
return "Python SDK Debug Report:\n"\
|
|
511
511
|
"OS: {env}\n"\
|
|
512
512
|
"Python Version: {pyversion}\n"\
|
|
513
|
-
"Version of the API: 30.
|
|
514
|
-
"SDK Package Version: 0.0.
|
|
513
|
+
"Version of the API: 30.17.1\n"\
|
|
514
|
+
"SDK Package Version: 0.0.26".\
|
|
515
515
|
format(env=sys.platform, pyversion=sys.version)
|
|
516
516
|
|
|
517
517
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -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 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](/
|
|
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](/customization-client): A single endpoint to retrieve whitelabel + customization information for the booking customization. - [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.
|
|
8
|
+
The version of the OpenAPI document: 30.17.1
|
|
9
9
|
Contact: bjorn@wink.travel
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|