wink-sdk-travel-agent 0.0.24__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.

Files changed (126) hide show
  1. wink_sdk_travel_agent/__init__.py +17 -28
  2. wink_sdk_travel_agent/api/travel_agent_api.py +29 -29
  3. wink_sdk_travel_agent/api_client.py +2 -2
  4. wink_sdk_travel_agent/configuration.py +4 -4
  5. wink_sdk_travel_agent/exceptions.py +2 -2
  6. wink_sdk_travel_agent/models/__init__.py +16 -27
  7. wink_sdk_travel_agent/models/address_agent.py +7 -6
  8. wink_sdk_travel_agent/models/affiliate_account_agent.py +179 -0
  9. wink_sdk_travel_agent/models/affiliate_account_user_agent.py +115 -0
  10. wink_sdk_travel_agent/models/agent_booking_request_agent.py +13 -28
  11. wink_sdk_travel_agent/models/aggregate_descriptor_agent.py +3 -3
  12. wink_sdk_travel_agent/models/ancillary_request_agent.py +1 -1
  13. wink_sdk_travel_agent/models/authenticated_user_agent.py +7 -6
  14. wink_sdk_travel_agent/models/bed_agent.py +4 -4
  15. wink_sdk_travel_agent/models/bedroom_agent.py +4 -3
  16. wink_sdk_travel_agent/models/bedroom_configuration_agent.py +8 -7
  17. wink_sdk_travel_agent/models/beneficiary_agent.py +13 -21
  18. wink_sdk_travel_agent/models/beneficiary_charge_agent.py +2 -2
  19. wink_sdk_travel_agent/models/booking_agent.py +37 -74
  20. wink_sdk_travel_agent/models/booking_ancillary_agent.py +16 -15
  21. wink_sdk_travel_agent/models/booking_confirmations_agent.py +8 -16
  22. wink_sdk_travel_agent/models/booking_contract_agent.py +104 -104
  23. wink_sdk_travel_agent/models/booking_contract_item_agent.py +13 -21
  24. wink_sdk_travel_agent/models/booking_contract_payment_details_agent.py +10 -17
  25. wink_sdk_travel_agent/models/booking_itinerary_agent.py +3 -3
  26. wink_sdk_travel_agent/models/booking_itinerary_room_configuration_agent.py +4 -4
  27. wink_sdk_travel_agent/models/booking_itinerary_room_configuration_child_agent.py +2 -2
  28. wink_sdk_travel_agent/models/booking_user_agent.py +7 -6
  29. wink_sdk_travel_agent/models/booking_user_request_agent.py +3 -3
  30. wink_sdk_travel_agent/models/booking_user_session_agent.py +4 -4
  31. wink_sdk_travel_agent/models/booking_view_agent.py +2 -2
  32. wink_sdk_travel_agent/models/boolean_response_agent.py +2 -2
  33. wink_sdk_travel_agent/models/cancellation_detail_agent.py +4 -3
  34. wink_sdk_travel_agent/models/cancellation_policy_agent.py +1 -1
  35. wink_sdk_travel_agent/models/cancellation_policy_exception_agent.py +8 -7
  36. wink_sdk_travel_agent/models/cancellation_policy_exceptions_agent.py +5 -4
  37. wink_sdk_travel_agent/models/cancellation_policy_lightweight_agent.py +166 -0
  38. wink_sdk_travel_agent/models/child_agent.py +2 -2
  39. wink_sdk_travel_agent/models/commissionable_entry_agent.py +6 -5
  40. wink_sdk_travel_agent/models/company_agent.py +1 -1
  41. wink_sdk_travel_agent/models/company_user_agent.py +1 -1
  42. wink_sdk_travel_agent/models/company_view_agent.py +1 -1
  43. wink_sdk_travel_agent/models/composite_filter_descriptor_agent.py +3 -3
  44. wink_sdk_travel_agent/models/contact_agent.py +3 -3
  45. wink_sdk_travel_agent/models/country_agent.py +1 -1
  46. wink_sdk_travel_agent/models/country_lightweight_agent.py +100 -0
  47. wink_sdk_travel_agent/models/create_agent_booking400_response.py +3 -3
  48. wink_sdk_travel_agent/models/create_agent_booking_request_agent.py +7 -6
  49. wink_sdk_travel_agent/models/custom_monetary_amount.py +5 -4
  50. wink_sdk_travel_agent/models/customization_lightweight_agent.py +231 -0
  51. wink_sdk_travel_agent/models/customization_theme_colors_agent.py +108 -0
  52. wink_sdk_travel_agent/models/daily_rate_agent.py +1 -1
  53. wink_sdk_travel_agent/models/engine_configuration_booking_report_agent.py +1 -1
  54. wink_sdk_travel_agent/models/engine_configuration_theme_colors_agent.py +1 -1
  55. wink_sdk_travel_agent/models/extra_charge_agent.py +6 -6
  56. wink_sdk_travel_agent/models/extra_charges_agent.py +3 -3
  57. wink_sdk_travel_agent/models/fee_agent.py +1 -1
  58. wink_sdk_travel_agent/models/filter_descriptor_agent.py +11 -5
  59. wink_sdk_travel_agent/models/general_manager_agent.py +4 -4
  60. wink_sdk_travel_agent/models/generic_error_message.py +2 -2
  61. wink_sdk_travel_agent/models/geo_json_point_agent.py +3 -3
  62. wink_sdk_travel_agent/models/geo_name_agent.py +1 -1
  63. wink_sdk_travel_agent/models/geo_name_lightweight_agent.py +136 -0
  64. wink_sdk_travel_agent/models/group_descriptor_agent.py +3 -3
  65. wink_sdk_travel_agent/models/guest_room_lightweight_agent.py +22 -22
  66. wink_sdk_travel_agent/models/guest_user_agent.py +9 -8
  67. wink_sdk_travel_agent/models/hotel_on_map_agent.py +1 -1
  68. wink_sdk_travel_agent/models/image_attribution_agent.py +5 -4
  69. wink_sdk_travel_agent/models/localized_description_agent.py +25 -7
  70. wink_sdk_travel_agent/models/localized_price_agent.py +18 -18
  71. wink_sdk_travel_agent/models/managed_by_entity_agent.py +8 -7
  72. wink_sdk_travel_agent/models/managed_by_entity_rules_agent.py +3 -3
  73. wink_sdk_travel_agent/models/online_presence_agent.py +1 -1
  74. wink_sdk_travel_agent/models/page_booking_agent.py +124 -0
  75. wink_sdk_travel_agent/models/page_booking_view_agent.py +1 -1
  76. wink_sdk_travel_agent/models/pageable_object_agent.py +6 -6
  77. wink_sdk_travel_agent/models/payout_agent.py +10 -9
  78. wink_sdk_travel_agent/models/payout_fee_agent.py +7 -6
  79. wink_sdk_travel_agent/models/pending_refund_agent.py +1 -1
  80. wink_sdk_travel_agent/models/perk_lightweight_agent.py +7 -6
  81. wink_sdk_travel_agent/models/personal_agent.py +8 -24
  82. wink_sdk_travel_agent/models/pet_info_dto_agent.py +1 -1
  83. wink_sdk_travel_agent/models/preferences_agent.py +13 -13
  84. wink_sdk_travel_agent/models/profile_agent.py +1 -1
  85. wink_sdk_travel_agent/models/profile_lightweight_agent.py +111 -0
  86. wink_sdk_travel_agent/models/profile_user_agent.py +3 -3
  87. wink_sdk_travel_agent/models/property_aggregate_lightweight_agent.py +242 -0
  88. wink_sdk_travel_agent/models/property_policy_agent.py +6 -5
  89. wink_sdk_travel_agent/models/quote_agent.py +1 -1
  90. wink_sdk_travel_agent/models/quote_lightweight_agent.py +95 -0
  91. wink_sdk_travel_agent/models/rate_plan_level_fee_agent.py +6 -5
  92. wink_sdk_travel_agent/models/refund_agent.py +6 -5
  93. wink_sdk_travel_agent/models/reporting_ancillary_agent.py +1 -1
  94. wink_sdk_travel_agent/models/reporting_daily_rate_agent.py +1 -1
  95. wink_sdk_travel_agent/models/reporting_extra_charge_agent.py +1 -1
  96. wink_sdk_travel_agent/models/review_agent.py +1 -1
  97. wink_sdk_travel_agent/models/review_answer_agent.py +4 -3
  98. wink_sdk_travel_agent/models/review_lightweight_agent.py +133 -0
  99. wink_sdk_travel_agent/models/review_user_agent.py +3 -3
  100. wink_sdk_travel_agent/models/room_configuration_agent.py +3 -3
  101. wink_sdk_travel_agent/models/room_configuration_price_rate_plan_agent.py +23 -12
  102. wink_sdk_travel_agent/models/room_stay_agent.py +23 -22
  103. wink_sdk_travel_agent/models/simple_address_agent.py +12 -7
  104. wink_sdk_travel_agent/models/simple_date_time_itinerary_agent.py +6 -6
  105. wink_sdk_travel_agent/models/simple_description_agent.py +25 -7
  106. wink_sdk_travel_agent/models/simple_multimedia_agent.py +5 -5
  107. wink_sdk_travel_agent/models/social_agent.py +2 -2
  108. wink_sdk_travel_agent/models/sort_descriptor_agent.py +3 -3
  109. wink_sdk_travel_agent/models/sort_object_agent.py +2 -2
  110. wink_sdk_travel_agent/models/state_agent.py +3 -3
  111. wink_sdk_travel_agent/models/stay_rate_agent.py +16 -16
  112. wink_sdk_travel_agent/models/sub_country_agent.py +1 -1
  113. wink_sdk_travel_agent/models/sub_country_lightweight_agent.py +92 -0
  114. wink_sdk_travel_agent/models/sub_sub_country_agent.py +1 -1
  115. wink_sdk_travel_agent/models/sub_sub_country_lightweight_agent.py +92 -0
  116. wink_sdk_travel_agent/models/supplier_contract_item_policy_agent.py +2 -2
  117. wink_sdk_travel_agent/models/travel_agent_agent.py +3 -3
  118. wink_sdk_travel_agent/models/travel_inventory_recognition_agent.py +4 -4
  119. wink_sdk_travel_agent/models/upsert_travel_agent_request_agent.py +2 -2
  120. wink_sdk_travel_agent/rest.py +2 -2
  121. {wink_sdk_travel_agent-0.0.24.dist-info → wink_sdk_travel_agent-0.0.26.dist-info}/METADATA +20 -31
  122. wink_sdk_travel_agent-0.0.26.dist-info/RECORD +133 -0
  123. {wink_sdk_travel_agent-0.0.24.dist-info → wink_sdk_travel_agent-0.0.26.dist-info}/WHEEL +1 -1
  124. wink_sdk_travel_agent-0.0.24.dist-info/RECORD +0 -119
  125. {wink_sdk_travel_agent-0.0.24.dist-info → wink_sdk_travel_agent-0.0.26.dist-info}/licenses/LICENSE +0 -0
  126. {wink_sdk_travel_agent-0.0.24.dist-info → wink_sdk_travel_agent-0.0.26.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,111 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Wink API
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](/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
+
8
+ The version of the OpenAPI document: 30.17.1
9
+ Contact: bjorn@wink.travel
10
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
11
+
12
+ Do not edit the class manually.
13
+ """ # noqa: E501
14
+
15
+
16
+ from __future__ import annotations
17
+ import pprint
18
+ import re # noqa: F401
19
+ import json
20
+
21
+ from pydantic import BaseModel, ConfigDict, Field, StrictBool
22
+ from typing import Any, ClassVar, Dict, List
23
+ from typing_extensions import Annotated
24
+ from wink_sdk_travel_agent.models.personal_agent import PersonalAgent
25
+ from wink_sdk_travel_agent.models.preferences_agent import PreferencesAgent
26
+ from wink_sdk_travel_agent.models.profile_user_agent import ProfileUserAgent
27
+ from typing import Optional, Set
28
+ from typing_extensions import Self
29
+
30
+ class ProfileLightweightAgent(BaseModel):
31
+ """
32
+ ProfileLightweightAgent
33
+ """ # noqa: E501
34
+ profile_identifier: Annotated[str, Field(min_length=1, strict=True)] = Field(description="Profile identifier", alias="profileIdentifier")
35
+ user_identifier: Annotated[str, Field(min_length=1, strict=True)] = Field(description="User identifier", alias="userIdentifier")
36
+ share: StrictBool = Field(description="Indicates whether the user wants to share this profile of themselves with hotel(s)")
37
+ user: ProfileUserAgent = Field(description="User details")
38
+ personal: PersonalAgent = Field(description="Detailed customer information for this profile")
39
+ preferences: PreferencesAgent = Field(description="Customer preferences")
40
+ __properties: ClassVar[List[str]] = ["profileIdentifier", "userIdentifier", "share", "user", "personal", "preferences"]
41
+
42
+ model_config = ConfigDict(
43
+ populate_by_name=True,
44
+ validate_assignment=True,
45
+ protected_namespaces=(),
46
+ )
47
+
48
+
49
+ def to_str(self) -> str:
50
+ """Returns the string representation of the model using alias"""
51
+ return pprint.pformat(self.model_dump(by_alias=True))
52
+
53
+ def to_json(self) -> str:
54
+ """Returns the JSON representation of the model using alias"""
55
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
56
+ return json.dumps(self.to_dict())
57
+
58
+ @classmethod
59
+ def from_json(cls, json_str: str) -> Optional[Self]:
60
+ """Create an instance of ProfileLightweightAgent from a JSON string"""
61
+ return cls.from_dict(json.loads(json_str))
62
+
63
+ def to_dict(self) -> Dict[str, Any]:
64
+ """Return the dictionary representation of the model using alias.
65
+
66
+ This has the following differences from calling pydantic's
67
+ `self.model_dump(by_alias=True)`:
68
+
69
+ * `None` is only added to the output dict for nullable fields that
70
+ were set at model initialization. Other fields with value `None`
71
+ are ignored.
72
+ """
73
+ excluded_fields: Set[str] = set([
74
+ ])
75
+
76
+ _dict = self.model_dump(
77
+ by_alias=True,
78
+ exclude=excluded_fields,
79
+ exclude_none=True,
80
+ )
81
+ # override the default output from pydantic by calling `to_dict()` of user
82
+ if self.user:
83
+ _dict['user'] = self.user.to_dict()
84
+ # override the default output from pydantic by calling `to_dict()` of personal
85
+ if self.personal:
86
+ _dict['personal'] = self.personal.to_dict()
87
+ # override the default output from pydantic by calling `to_dict()` of preferences
88
+ if self.preferences:
89
+ _dict['preferences'] = self.preferences.to_dict()
90
+ return _dict
91
+
92
+ @classmethod
93
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
94
+ """Create an instance of ProfileLightweightAgent from a dict"""
95
+ if obj is None:
96
+ return None
97
+
98
+ if not isinstance(obj, dict):
99
+ return cls.model_validate(obj)
100
+
101
+ _obj = cls.model_validate({
102
+ "profileIdentifier": obj.get("profileIdentifier"),
103
+ "userIdentifier": obj.get("userIdentifier"),
104
+ "share": obj.get("share"),
105
+ "user": ProfileUserAgent.from_dict(obj["user"]) if obj.get("user") is not None else None,
106
+ "personal": PersonalAgent.from_dict(obj["personal"]) if obj.get("personal") is not None else None,
107
+ "preferences": PreferencesAgent.from_dict(obj["preferences"]) if obj.get("preferences") is not None else None
108
+ })
109
+ return _obj
110
+
111
+
@@ -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](/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.
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.16.3
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
 
@@ -25,7 +25,7 @@ from typing_extensions import Self
25
25
 
26
26
  class ProfileUserAgent(BaseModel):
27
27
  """
28
- User details
28
+ ProfileUserAgent
29
29
  """ # noqa: E501
30
30
  first_name: Optional[StrictStr] = Field(default=None, description="First name", alias="firstName")
31
31
  last_name: Optional[StrictStr] = Field(default=None, description="Last name", alias="lastName")
@@ -0,0 +1,242 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Wink API
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](/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
+
8
+ The version of the OpenAPI document: 30.17.1
9
+ Contact: bjorn@wink.travel
10
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
11
+
12
+ Do not edit the class manually.
13
+ """ # noqa: E501
14
+
15
+
16
+ from __future__ import annotations
17
+ import pprint
18
+ import re # noqa: F401
19
+ import json
20
+
21
+ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr
22
+ from typing import Any, ClassVar, Dict, List, Optional, Union
23
+ from typing_extensions import Annotated
24
+ from wink_sdk_travel_agent.models.contact_agent import ContactAgent
25
+ from wink_sdk_travel_agent.models.general_manager_agent import GeneralManagerAgent
26
+ from wink_sdk_travel_agent.models.geo_json_point_agent import GeoJsonPointAgent
27
+ from wink_sdk_travel_agent.models.property_policy_agent import PropertyPolicyAgent
28
+ from wink_sdk_travel_agent.models.simple_address_agent import SimpleAddressAgent
29
+ from wink_sdk_travel_agent.models.simple_description_agent import SimpleDescriptionAgent
30
+ from wink_sdk_travel_agent.models.simple_multimedia_agent import SimpleMultimediaAgent
31
+ from wink_sdk_travel_agent.models.social_agent import SocialAgent
32
+ from wink_sdk_travel_agent.models.travel_inventory_recognition_agent import TravelInventoryRecognitionAgent
33
+ from typing import Optional, Set
34
+ from typing_extensions import Self
35
+
36
+ class PropertyAggregateLightweightAgent(BaseModel):
37
+ """
38
+ PropertyAggregateLightweightAgent
39
+ """ # noqa: E501
40
+ hotel_identifier: Optional[StrictStr] = Field(default=None, description="Unique hotel record identifier.", alias="hotelIdentifier")
41
+ name: Optional[StrictStr] = Field(default=None, description="Hotel trade name")
42
+ local_name: Optional[StrictStr] = Field(default=None, description="Hotel local name if different from the trade name or if it is the local language.", alias="localName")
43
+ chain: Optional[StrictStr] = Field(default=None, description="Name of hotel chain if applicable.")
44
+ brand: Optional[StrictStr] = Field(default=None, description="Name of hotel brand")
45
+ url_name: Optional[StrictStr] = Field(default=None, description="Unique URL-friendly name slug of hotel", alias="urlName")
46
+ star_rating: Optional[Annotated[int, Field(le=6, strict=True, ge=0)]] = Field(default=None, description="Official or self-designated property star rating. Note that in some regions there are 6-star hotels. They are the same as 5-star hotels everywhere else.", alias="starRating")
47
+ bookings: Optional[StrictInt] = Field(default=0, description="Number of bookings for this property on the wink.travel platform.")
48
+ aggregate_review_rating: Optional[Union[StrictFloat, StrictInt]] = Field(default=0.0, description="Aggregate score based on all current user reviews.", alias="aggregateReviewRating")
49
+ location: Optional[GeoJsonPointAgent] = Field(default=None, description="Geo-location")
50
+ descriptions: Optional[List[SimpleDescriptionAgent]] = Field(default=None, description="Short and long welcome text")
51
+ aggregate_greendex_rating: Optional[Union[StrictFloat, StrictInt]] = Field(default=0.0, description="Aggregate Green Index score if the property has answered our questionnaire available in the Extranet.", alias="aggregateGreendexRating")
52
+ lifestyle_types: Optional[List[Any]] = Field(default=None, alias="lifestyleTypes")
53
+ total_reviews: Optional[StrictInt] = Field(default=0, description="Count of total reviews left by users at this property.", alias="totalReviews")
54
+ reservations: Optional[ContactAgent] = Field(default=None, description="Contact details for reservations desk")
55
+ socials: Optional[List[SocialAgent]] = Field(default=None, description="Property's social network accounts")
56
+ images: Optional[List[SimpleMultimediaAgent]] = Field(default=None, description="Property images.")
57
+ videos: Optional[List[SimpleMultimediaAgent]] = Field(default=None, description="Property videos.")
58
+ policy: Optional[PropertyPolicyAgent] = Field(default=None, description="Basic property policy record.")
59
+ third_party_reviews: Optional[List[TravelInventoryRecognitionAgent]] = Field(default=None, description="Array of awards and third party reviews given to property by certified / non-certified providers.", alias="thirdPartyReviews")
60
+ attractions: Optional[StrictInt] = Field(default=0, description="Number of attractions property has listed on its profile.")
61
+ activities: Optional[StrictInt] = Field(default=0, description="Number of activites property has listed on its profile.")
62
+ places: Optional[StrictInt] = Field(default=0, description="Number of places property has listed on its profile.")
63
+ restaurants: Optional[StrictInt] = Field(default=0, description="Number of restaurants property has on its profile.")
64
+ meeting_rooms: Optional[StrictInt] = Field(default=0, description="Number of meeting rooms property has on its profile.", alias="meetingRooms")
65
+ spas: Optional[StrictInt] = Field(default=0, description="Number of spas property has on its profile.")
66
+ add_ons: Optional[StrictInt] = Field(default=0, description="Number of add-ons property has on its profile.", alias="addOns")
67
+ general_manager: Optional[GeneralManagerAgent] = Field(default=None, alias="generalManager")
68
+ location_category: Optional[StrictStr] = Field(default=None, description="Supported OTA specification `LOC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)", alias="locationCategory")
69
+ segment_category: Optional[StrictStr] = Field(default=None, description="Supported OTA specification `SEG` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)", alias="segmentCategory")
70
+ hotel_category: Optional[StrictStr] = Field(default=None, description="Supported OTA specification `PCT` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)", alias="hotelCategory")
71
+ architectural_style: Optional[StrictStr] = Field(default=None, description="Supported OTA specification `ARC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)", alias="architecturalStyle")
72
+ when_built: Optional[StrictStr] = Field(default=None, description="Year the property was constructed.", alias="whenBuilt")
73
+ currency_code: Optional[StrictStr] = Field(default=None, description="Currency code for property.", alias="currencyCode")
74
+ membership_rate_discount: Optional[Union[StrictFloat, StrictInt]] = Field(default=0, description="A property's price score is based on calculating historical pricing data. Each property receives a unique score. There is no max score; it's there to compare it against other properties.", alias="membershipRateDiscount")
75
+ price_score: Optional[StrictInt] = Field(default=0, description="A property's price score is based on calculating historical pricing data. Each property receives a unique score. There is no max score; it's there to compare it against other properties.", alias="priceScore")
76
+ perk_score: Optional[StrictInt] = Field(default=0, description="A property's perk score is based on the type of perks that is offered to the guests across all master rates. There is no max score; it's there to compare it against other properties.", alias="perkScore")
77
+ add_on_score: Optional[StrictInt] = Field(default=0, description="A property's package score is based on general availability and price for all packages and add-ons offered by the property. There is no max score; it's there to compare it against other properties.", alias="addOnScore")
78
+ loyalty_score: Optional[StrictInt] = Field(default=0, description="A property's loyalty score is based on calculating how many available rate plans honor loyalty points. There is no max score; it's there to compare it against other properties.", alias="loyaltyScore")
79
+ popular_score: Optional[StrictInt] = Field(default=0, description="A property's popular score is based on calculating number of bookings across room types. There is no max score; it's there to compare it against other properties.", alias="popularScore")
80
+ experience_score: Optional[StrictInt] = Field(default=0, description="A property's experience score is based on how calculating how many types of experiences are available and at what price ranges. There is no max score; it's there to compare it against other properties.", alias="experienceScore")
81
+ hotel_amenity_codes: Optional[List[StrictStr]] = Field(default=None, description="Supported OTA specification `HAC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)", alias="hotelAmenityCodes")
82
+ property_accessibility_codes: Optional[List[StrictStr]] = Field(default=None, description="Supported OTA specification `PHY` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)", alias="propertyAccessibilityCodes")
83
+ property_security_codes: Optional[List[StrictStr]] = Field(default=None, description="Supported OTA specification `SEC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)", alias="propertySecurityCodes")
84
+ number_of_rooms: Optional[StrictInt] = Field(default=0, description="Number of rooms / keys for this property.", alias="numberOfRooms")
85
+ address: Optional[SimpleAddressAgent] = Field(default=None, description="Property address.")
86
+ active: Optional[StrictBool] = Field(default=None, description="Whether property is active")
87
+ url_parameters: Optional[StrictStr] = Field(default=None, description="Convenience data point that creates url friendly query parameters of property.", alias="urlParameters")
88
+ __properties: ClassVar[List[str]] = ["hotelIdentifier", "name", "localName", "chain", "brand", "urlName", "starRating", "bookings", "aggregateReviewRating", "location", "descriptions", "aggregateGreendexRating", "lifestyleTypes", "totalReviews", "reservations", "socials", "images", "videos", "policy", "thirdPartyReviews", "attractions", "activities", "places", "restaurants", "meetingRooms", "spas", "addOns", "generalManager", "locationCategory", "segmentCategory", "hotelCategory", "architecturalStyle", "whenBuilt", "currencyCode", "membershipRateDiscount", "priceScore", "perkScore", "addOnScore", "loyaltyScore", "popularScore", "experienceScore", "hotelAmenityCodes", "propertyAccessibilityCodes", "propertySecurityCodes", "numberOfRooms", "address", "active", "urlParameters"]
89
+
90
+ model_config = ConfigDict(
91
+ populate_by_name=True,
92
+ validate_assignment=True,
93
+ protected_namespaces=(),
94
+ )
95
+
96
+
97
+ def to_str(self) -> str:
98
+ """Returns the string representation of the model using alias"""
99
+ return pprint.pformat(self.model_dump(by_alias=True))
100
+
101
+ def to_json(self) -> str:
102
+ """Returns the JSON representation of the model using alias"""
103
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
104
+ return json.dumps(self.to_dict())
105
+
106
+ @classmethod
107
+ def from_json(cls, json_str: str) -> Optional[Self]:
108
+ """Create an instance of PropertyAggregateLightweightAgent from a JSON string"""
109
+ return cls.from_dict(json.loads(json_str))
110
+
111
+ def to_dict(self) -> Dict[str, Any]:
112
+ """Return the dictionary representation of the model using alias.
113
+
114
+ This has the following differences from calling pydantic's
115
+ `self.model_dump(by_alias=True)`:
116
+
117
+ * `None` is only added to the output dict for nullable fields that
118
+ were set at model initialization. Other fields with value `None`
119
+ are ignored.
120
+ """
121
+ excluded_fields: Set[str] = set([
122
+ ])
123
+
124
+ _dict = self.model_dump(
125
+ by_alias=True,
126
+ exclude=excluded_fields,
127
+ exclude_none=True,
128
+ )
129
+ # override the default output from pydantic by calling `to_dict()` of location
130
+ if self.location:
131
+ _dict['location'] = self.location.to_dict()
132
+ # override the default output from pydantic by calling `to_dict()` of each item in descriptions (list)
133
+ _items = []
134
+ if self.descriptions:
135
+ for _item_descriptions in self.descriptions:
136
+ if _item_descriptions:
137
+ _items.append(_item_descriptions.to_dict())
138
+ _dict['descriptions'] = _items
139
+ # override the default output from pydantic by calling `to_dict()` of reservations
140
+ if self.reservations:
141
+ _dict['reservations'] = self.reservations.to_dict()
142
+ # override the default output from pydantic by calling `to_dict()` of each item in socials (list)
143
+ _items = []
144
+ if self.socials:
145
+ for _item_socials in self.socials:
146
+ if _item_socials:
147
+ _items.append(_item_socials.to_dict())
148
+ _dict['socials'] = _items
149
+ # override the default output from pydantic by calling `to_dict()` of each item in images (list)
150
+ _items = []
151
+ if self.images:
152
+ for _item_images in self.images:
153
+ if _item_images:
154
+ _items.append(_item_images.to_dict())
155
+ _dict['images'] = _items
156
+ # override the default output from pydantic by calling `to_dict()` of each item in videos (list)
157
+ _items = []
158
+ if self.videos:
159
+ for _item_videos in self.videos:
160
+ if _item_videos:
161
+ _items.append(_item_videos.to_dict())
162
+ _dict['videos'] = _items
163
+ # override the default output from pydantic by calling `to_dict()` of policy
164
+ if self.policy:
165
+ _dict['policy'] = self.policy.to_dict()
166
+ # override the default output from pydantic by calling `to_dict()` of each item in third_party_reviews (list)
167
+ _items = []
168
+ if self.third_party_reviews:
169
+ for _item_third_party_reviews in self.third_party_reviews:
170
+ if _item_third_party_reviews:
171
+ _items.append(_item_third_party_reviews.to_dict())
172
+ _dict['thirdPartyReviews'] = _items
173
+ # override the default output from pydantic by calling `to_dict()` of general_manager
174
+ if self.general_manager:
175
+ _dict['generalManager'] = self.general_manager.to_dict()
176
+ # override the default output from pydantic by calling `to_dict()` of address
177
+ if self.address:
178
+ _dict['address'] = self.address.to_dict()
179
+ return _dict
180
+
181
+ @classmethod
182
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
183
+ """Create an instance of PropertyAggregateLightweightAgent from a dict"""
184
+ if obj is None:
185
+ return None
186
+
187
+ if not isinstance(obj, dict):
188
+ return cls.model_validate(obj)
189
+
190
+ _obj = cls.model_validate({
191
+ "hotelIdentifier": obj.get("hotelIdentifier"),
192
+ "name": obj.get("name"),
193
+ "localName": obj.get("localName"),
194
+ "chain": obj.get("chain"),
195
+ "brand": obj.get("brand"),
196
+ "urlName": obj.get("urlName"),
197
+ "starRating": obj.get("starRating"),
198
+ "bookings": obj.get("bookings") if obj.get("bookings") is not None else 0,
199
+ "aggregateReviewRating": obj.get("aggregateReviewRating") if obj.get("aggregateReviewRating") is not None else 0.0,
200
+ "location": GeoJsonPointAgent.from_dict(obj["location"]) if obj.get("location") is not None else None,
201
+ "descriptions": [SimpleDescriptionAgent.from_dict(_item) for _item in obj["descriptions"]] if obj.get("descriptions") is not None else None,
202
+ "aggregateGreendexRating": obj.get("aggregateGreendexRating") if obj.get("aggregateGreendexRating") is not None else 0.0,
203
+ "lifestyleTypes": obj.get("lifestyleTypes"),
204
+ "totalReviews": obj.get("totalReviews") if obj.get("totalReviews") is not None else 0,
205
+ "reservations": ContactAgent.from_dict(obj["reservations"]) if obj.get("reservations") is not None else None,
206
+ "socials": [SocialAgent.from_dict(_item) for _item in obj["socials"]] if obj.get("socials") is not None else None,
207
+ "images": [SimpleMultimediaAgent.from_dict(_item) for _item in obj["images"]] if obj.get("images") is not None else None,
208
+ "videos": [SimpleMultimediaAgent.from_dict(_item) for _item in obj["videos"]] if obj.get("videos") is not None else None,
209
+ "policy": PropertyPolicyAgent.from_dict(obj["policy"]) if obj.get("policy") is not None else None,
210
+ "thirdPartyReviews": [TravelInventoryRecognitionAgent.from_dict(_item) for _item in obj["thirdPartyReviews"]] if obj.get("thirdPartyReviews") is not None else None,
211
+ "attractions": obj.get("attractions") if obj.get("attractions") is not None else 0,
212
+ "activities": obj.get("activities") if obj.get("activities") is not None else 0,
213
+ "places": obj.get("places") if obj.get("places") is not None else 0,
214
+ "restaurants": obj.get("restaurants") if obj.get("restaurants") is not None else 0,
215
+ "meetingRooms": obj.get("meetingRooms") if obj.get("meetingRooms") is not None else 0,
216
+ "spas": obj.get("spas") if obj.get("spas") is not None else 0,
217
+ "addOns": obj.get("addOns") if obj.get("addOns") is not None else 0,
218
+ "generalManager": GeneralManagerAgent.from_dict(obj["generalManager"]) if obj.get("generalManager") is not None else None,
219
+ "locationCategory": obj.get("locationCategory"),
220
+ "segmentCategory": obj.get("segmentCategory"),
221
+ "hotelCategory": obj.get("hotelCategory"),
222
+ "architecturalStyle": obj.get("architecturalStyle"),
223
+ "whenBuilt": obj.get("whenBuilt"),
224
+ "currencyCode": obj.get("currencyCode"),
225
+ "membershipRateDiscount": obj.get("membershipRateDiscount") if obj.get("membershipRateDiscount") is not None else 0,
226
+ "priceScore": obj.get("priceScore") if obj.get("priceScore") is not None else 0,
227
+ "perkScore": obj.get("perkScore") if obj.get("perkScore") is not None else 0,
228
+ "addOnScore": obj.get("addOnScore") if obj.get("addOnScore") is not None else 0,
229
+ "loyaltyScore": obj.get("loyaltyScore") if obj.get("loyaltyScore") is not None else 0,
230
+ "popularScore": obj.get("popularScore") if obj.get("popularScore") is not None else 0,
231
+ "experienceScore": obj.get("experienceScore") if obj.get("experienceScore") is not None else 0,
232
+ "hotelAmenityCodes": obj.get("hotelAmenityCodes"),
233
+ "propertyAccessibilityCodes": obj.get("propertyAccessibilityCodes"),
234
+ "propertySecurityCodes": obj.get("propertySecurityCodes"),
235
+ "numberOfRooms": obj.get("numberOfRooms") if obj.get("numberOfRooms") is not None else 0,
236
+ "address": SimpleAddressAgent.from_dict(obj["address"]) if obj.get("address") is not None else None,
237
+ "active": obj.get("active"),
238
+ "urlParameters": obj.get("urlParameters")
239
+ })
240
+ return _obj
241
+
242
+
@@ -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](/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.
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.16.3
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
 
@@ -20,6 +20,7 @@ import json
20
20
 
21
21
  from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator
22
22
  from typing import Any, ClassVar, Dict, List, Optional
23
+ from typing_extensions import Annotated
23
24
  from wink_sdk_travel_agent.models.custom_monetary_amount import CustomMonetaryAmount
24
25
  from typing import Optional, Set
25
26
  from typing_extensions import Self
@@ -37,9 +38,9 @@ class PropertyPolicyAgent(BaseModel):
37
38
  parking_access: StrictStr = Field(description="Indicates what type of parking is available at the property.", alias="parkingAccess")
38
39
  pets_allowed: StrictBool = Field(description="Indicates whether pets are allowed on the property. Note: There are thousand different kinds of pets. Just because the property allows small dogs does not mean the guest can bring a python. Always best to check with property.", alias="petsAllowed")
39
40
  pet_max_weight_in_kilos: Optional[StrictInt] = Field(default=None, description="If pets are allowed, property can further limit on weight.", alias="petMaxWeightInKilos")
40
- pet_charge: Optional[CustomMonetaryAmount] = Field(default=None, alias="petCharge")
41
- check_out_time: StrictStr = Field(description="When the guest has to check out.", alias="checkOutTime")
42
- check_in_time: StrictStr = Field(description="When the guest can check in.", alias="checkInTime")
41
+ pet_charge: Optional[CustomMonetaryAmount] = Field(default=None, description="If pets are allowed, property can tell travelers if there is a charge applicable for the pet.", alias="petCharge")
42
+ check_out_time: Annotated[str, Field(min_length=1, strict=True)] = Field(description="When the guest has to check out.", alias="checkOutTime")
43
+ check_in_time: Annotated[str, Field(min_length=1, strict=True)] = Field(description="When the guest can check in.", alias="checkInTime")
43
44
  __properties: ClassVar[List[str]] = ["childrenAllowed", "childrenMinimumAge", "internetAvailability", "internetConnectionType", "internetConnectionLocation", "parkingAvailability", "parkingAccess", "petsAllowed", "petMaxWeightInKilos", "petCharge", "checkOutTime", "checkInTime"]
44
45
 
45
46
  @field_validator('internet_availability')
@@ -5,7 +5,7 @@
5
5
 
6
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.16.3
8
+ The version of the OpenAPI document: 30.16.4
9
9
  Contact: bjorn@wink.travel
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11