wink-sdk-travel-agent 0.0.55__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.
Files changed (144) hide show
  1. wink_sdk_travel_agent/__init__.py +229 -0
  2. wink_sdk_travel_agent/api/__init__.py +6 -0
  3. wink_sdk_travel_agent/api/analytics_api.py +671 -0
  4. wink_sdk_travel_agent/api/travel_agent_api.py +1668 -0
  5. wink_sdk_travel_agent/api_client.py +805 -0
  6. wink_sdk_travel_agent/api_response.py +21 -0
  7. wink_sdk_travel_agent/configuration.py +582 -0
  8. wink_sdk_travel_agent/exceptions.py +217 -0
  9. wink_sdk_travel_agent/models/__init__.py +106 -0
  10. wink_sdk_travel_agent/models/address_agent.py +111 -0
  11. wink_sdk_travel_agent/models/affiliate_account_agent.py +181 -0
  12. wink_sdk_travel_agent/models/affiliate_account_user_agent.py +115 -0
  13. wink_sdk_travel_agent/models/agent_booking_request_agent.py +130 -0
  14. wink_sdk_travel_agent/models/aggregate_descriptor_agent.py +100 -0
  15. wink_sdk_travel_agent/models/ancillary_request_agent.py +111 -0
  16. wink_sdk_travel_agent/models/authenticated_user_agent.py +100 -0
  17. wink_sdk_travel_agent/models/bed_agent.py +91 -0
  18. wink_sdk_travel_agent/models/bedroom_agent.py +106 -0
  19. wink_sdk_travel_agent/models/bedroom_configuration_agent.py +102 -0
  20. wink_sdk_travel_agent/models/beneficiary_agent.py +156 -0
  21. wink_sdk_travel_agent/models/beneficiary_charge_agent.py +97 -0
  22. wink_sdk_travel_agent/models/booking_agent.py +342 -0
  23. wink_sdk_travel_agent/models/booking_analytics_supplier.py +96 -0
  24. wink_sdk_travel_agent/models/booking_ancillary_agent.py +155 -0
  25. wink_sdk_travel_agent/models/booking_confirmations_agent.py +101 -0
  26. wink_sdk_travel_agent/models/booking_contract_agent.py +697 -0
  27. wink_sdk_travel_agent/models/booking_contract_item_agent.py +206 -0
  28. wink_sdk_travel_agent/models/booking_contract_payment_details_agent.py +124 -0
  29. wink_sdk_travel_agent/models/booking_itinerary_agent.py +113 -0
  30. wink_sdk_travel_agent/models/booking_itinerary_room_configuration_agent.py +98 -0
  31. wink_sdk_travel_agent/models/booking_itinerary_room_configuration_child_agent.py +90 -0
  32. wink_sdk_travel_agent/models/booking_overview_request_supplier.py +97 -0
  33. wink_sdk_travel_agent/models/booking_user_agent.py +102 -0
  34. wink_sdk_travel_agent/models/booking_user_request_agent.py +96 -0
  35. wink_sdk_travel_agent/models/booking_user_session_agent.py +112 -0
  36. wink_sdk_travel_agent/models/booking_view_agent.py +101 -0
  37. wink_sdk_travel_agent/models/boolean_response_agent.py +90 -0
  38. wink_sdk_travel_agent/models/cancellation_detail_agent.py +98 -0
  39. wink_sdk_travel_agent/models/cancellation_policy_agent.py +166 -0
  40. wink_sdk_travel_agent/models/cancellation_policy_exception_agent.py +100 -0
  41. wink_sdk_travel_agent/models/cancellation_policy_exceptions_agent.py +97 -0
  42. wink_sdk_travel_agent/models/cancellation_policy_lightweight_agent.py +167 -0
  43. wink_sdk_travel_agent/models/chart_category_axis_supplier.py +88 -0
  44. wink_sdk_travel_agent/models/chart_legend_supplier.py +88 -0
  45. wink_sdk_travel_agent/models/chart_series_supplier.py +90 -0
  46. wink_sdk_travel_agent/models/chart_title_supplier.py +88 -0
  47. wink_sdk_travel_agent/models/child_agent.py +91 -0
  48. wink_sdk_travel_agent/models/commissionable_entry_agent.py +102 -0
  49. wink_sdk_travel_agent/models/company_agent.py +176 -0
  50. wink_sdk_travel_agent/models/company_user_agent.py +114 -0
  51. wink_sdk_travel_agent/models/company_view_agent.py +101 -0
  52. wink_sdk_travel_agent/models/composite_filter_descriptor_agent.py +108 -0
  53. wink_sdk_travel_agent/models/contact_agent.py +104 -0
  54. wink_sdk_travel_agent/models/country_agent.py +100 -0
  55. wink_sdk_travel_agent/models/country_lightweight_agent.py +100 -0
  56. wink_sdk_travel_agent/models/create_agent_booking400_response.py +141 -0
  57. wink_sdk_travel_agent/models/create_agent_booking_request_agent.py +105 -0
  58. wink_sdk_travel_agent/models/custom_monetary_amount.py +91 -0
  59. wink_sdk_travel_agent/models/customization_lightweight_agent.py +232 -0
  60. wink_sdk_travel_agent/models/customization_theme_colors_agent.py +108 -0
  61. wink_sdk_travel_agent/models/daily_rate_agent.py +115 -0
  62. wink_sdk_travel_agent/models/dow_pattern_group_agent.py +102 -0
  63. wink_sdk_travel_agent/models/engine_configuration_booking_report_agent.py +230 -0
  64. wink_sdk_travel_agent/models/engine_configuration_theme_agent.py +108 -0
  65. wink_sdk_travel_agent/models/engine_configuration_theme_colors_agent.py +108 -0
  66. wink_sdk_travel_agent/models/extra_charge_agent.py +103 -0
  67. wink_sdk_travel_agent/models/extra_charges_agent.py +112 -0
  68. wink_sdk_travel_agent/models/fee_agent.py +105 -0
  69. wink_sdk_travel_agent/models/filter_descriptor_agent.py +107 -0
  70. wink_sdk_travel_agent/models/general_manager_agent.py +104 -0
  71. wink_sdk_travel_agent/models/generic_error_message.py +94 -0
  72. wink_sdk_travel_agent/models/geo_json_point_agent.py +94 -0
  73. wink_sdk_travel_agent/models/geo_name_agent.py +136 -0
  74. wink_sdk_travel_agent/models/geo_name_lightweight_agent.py +136 -0
  75. wink_sdk_travel_agent/models/group_descriptor_agent.py +110 -0
  76. wink_sdk_travel_agent/models/grouped_booking_sales_metrics_supplier_details.py +110 -0
  77. wink_sdk_travel_agent/models/guest_room_agent.py +258 -0
  78. wink_sdk_travel_agent/models/guest_room_lightweight_agent.py +259 -0
  79. wink_sdk_travel_agent/models/guest_user_agent.py +108 -0
  80. wink_sdk_travel_agent/models/hotel_on_map_agent.py +270 -0
  81. wink_sdk_travel_agent/models/image_attribution_agent.py +91 -0
  82. wink_sdk_travel_agent/models/line_chart_supplier.py +122 -0
  83. wink_sdk_travel_agent/models/localized_description_agent.py +109 -0
  84. wink_sdk_travel_agent/models/localized_price_agent.py +162 -0
  85. wink_sdk_travel_agent/models/managed_by_entity_agent.py +103 -0
  86. wink_sdk_travel_agent/models/managed_by_entity_rules_agent.py +95 -0
  87. wink_sdk_travel_agent/models/media_author_attribution_agent.py +91 -0
  88. wink_sdk_travel_agent/models/online_presence_agent.py +112 -0
  89. wink_sdk_travel_agent/models/page_booking_agent.py +124 -0
  90. wink_sdk_travel_agent/models/page_booking_view_agent.py +124 -0
  91. wink_sdk_travel_agent/models/pageable_object_agent.py +102 -0
  92. wink_sdk_travel_agent/models/payout_agent.py +158 -0
  93. wink_sdk_travel_agent/models/payout_fee_agent.py +116 -0
  94. wink_sdk_travel_agent/models/pending_refund_agent.py +99 -0
  95. wink_sdk_travel_agent/models/perk_lightweight_agent.py +105 -0
  96. wink_sdk_travel_agent/models/personal_agent.py +139 -0
  97. wink_sdk_travel_agent/models/pet_info_dto_agent.py +90 -0
  98. wink_sdk_travel_agent/models/preferences_agent.py +128 -0
  99. wink_sdk_travel_agent/models/profile_agent.py +110 -0
  100. wink_sdk_travel_agent/models/profile_lightweight_agent.py +111 -0
  101. wink_sdk_travel_agent/models/profile_user_agent.py +100 -0
  102. wink_sdk_travel_agent/models/property_aggregate_lightweight_agent.py +245 -0
  103. wink_sdk_travel_agent/models/property_policy_agent.py +150 -0
  104. wink_sdk_travel_agent/models/quote_agent.py +94 -0
  105. wink_sdk_travel_agent/models/quote_lightweight_agent.py +95 -0
  106. wink_sdk_travel_agent/models/rate_plan_agent.py +172 -0
  107. wink_sdk_travel_agent/models/rate_plan_level_fee_agent.py +112 -0
  108. wink_sdk_travel_agent/models/refund_agent.py +167 -0
  109. wink_sdk_travel_agent/models/reporting_ancillary_agent.py +108 -0
  110. wink_sdk_travel_agent/models/reporting_daily_rate_agent.py +99 -0
  111. wink_sdk_travel_agent/models/reporting_extra_charge_agent.py +98 -0
  112. wink_sdk_travel_agent/models/review_agent.py +133 -0
  113. wink_sdk_travel_agent/models/review_answer_agent.py +102 -0
  114. wink_sdk_travel_agent/models/review_lightweight_agent.py +134 -0
  115. wink_sdk_travel_agent/models/review_user_agent.py +99 -0
  116. wink_sdk_travel_agent/models/room_configuration_agent.py +99 -0
  117. wink_sdk_travel_agent/models/room_configuration_price_rate_plan_agent.py +130 -0
  118. wink_sdk_travel_agent/models/room_stay_agent.py +183 -0
  119. wink_sdk_travel_agent/models/simple_address_agent.py +109 -0
  120. wink_sdk_travel_agent/models/simple_date_time_itinerary_agent.py +108 -0
  121. wink_sdk_travel_agent/models/simple_description_agent.py +111 -0
  122. wink_sdk_travel_agent/models/simple_multimedia_agent.py +156 -0
  123. wink_sdk_travel_agent/models/social_agent.py +100 -0
  124. wink_sdk_travel_agent/models/sort_descriptor_agent.py +100 -0
  125. wink_sdk_travel_agent/models/sort_object.py +96 -0
  126. wink_sdk_travel_agent/models/sort_object_agent.py +92 -0
  127. wink_sdk_travel_agent/models/state_agent.py +117 -0
  128. wink_sdk_travel_agent/models/stay_rate_agent.py +209 -0
  129. wink_sdk_travel_agent/models/sub_country_agent.py +92 -0
  130. wink_sdk_travel_agent/models/sub_country_lightweight_agent.py +92 -0
  131. wink_sdk_travel_agent/models/sub_sub_country_agent.py +92 -0
  132. wink_sdk_travel_agent/models/sub_sub_country_lightweight_agent.py +92 -0
  133. wink_sdk_travel_agent/models/supplier_contract_item_policy_agent.py +170 -0
  134. wink_sdk_travel_agent/models/travel_agent_agent.py +90 -0
  135. wink_sdk_travel_agent/models/travel_inventory_recognition_agent.py +121 -0
  136. wink_sdk_travel_agent/models/upsert_travel_agent_request_agent.py +90 -0
  137. wink_sdk_travel_agent/models/wink_booking_contract_agent.py +697 -0
  138. wink_sdk_travel_agent/py.typed +0 -0
  139. wink_sdk_travel_agent/rest.py +259 -0
  140. wink_sdk_travel_agent-0.0.55.dist-info/METADATA +539 -0
  141. wink_sdk_travel_agent-0.0.55.dist-info/RECORD +144 -0
  142. wink_sdk_travel_agent-0.0.55.dist-info/WHEEL +5 -0
  143. wink_sdk_travel_agent-0.0.55.dist-info/licenses/LICENSE +201 -0
  144. wink_sdk_travel_agent-0.0.55.dist-info/top_level.txt +1 -0
@@ -0,0 +1,539 @@
1
+ Metadata-Version: 2.4
2
+ Name: wink_sdk_travel_agent
3
+ Version: 0.0.55
4
+ Summary: Wink API
5
+ Home-page: https://github.com/wink-travel/wink-sdk-python.git
6
+ Author: Bjorn Harvold
7
+ Author-email: Bjorn Harvold <bjorn@wink.travel>
8
+ License: Apache License
9
+ Version 2.0, January 2004
10
+ http://www.apache.org/licenses/
11
+
12
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
13
+
14
+ 1. Definitions.
15
+
16
+ "License" shall mean the terms and conditions for use, reproduction,
17
+ and distribution as defined by Sections 1 through 9 of this document.
18
+
19
+ "Licensor" shall mean the copyright owner or entity authorized by
20
+ the copyright owner that is granting the License.
21
+
22
+ "Legal Entity" shall mean the union of the acting entity and all
23
+ other entities that control, are controlled by, or are under common
24
+ control with that entity. For the purposes of this definition,
25
+ "control" means (i) the power, direct or indirect, to cause the
26
+ direction or management of such entity, whether by contract or
27
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
28
+ outstanding shares, or (iii) beneficial ownership of such entity.
29
+
30
+ "You" (or "Your") shall mean an individual or Legal Entity
31
+ exercising permissions granted by this License.
32
+
33
+ "Source" form shall mean the preferred form for making modifications,
34
+ including but not limited to software source code, documentation
35
+ source, and configuration files.
36
+
37
+ "Object" form shall mean any form resulting from mechanical
38
+ transformation or translation of a Source form, including but
39
+ not limited to compiled object code, generated documentation,
40
+ and conversions to other media types.
41
+
42
+ "Work" shall mean the work of authorship, whether in Source or
43
+ Object form, made available under the License, as indicated by a
44
+ copyright notice that is included in or attached to the work
45
+ (an example is provided in the Appendix below).
46
+
47
+ "Derivative Works" shall mean any work, whether in Source or Object
48
+ form, that is based on (or derived from) the Work and for which the
49
+ editorial revisions, annotations, elaborations, or other modifications
50
+ represent, as a whole, an original work of authorship. For the purposes
51
+ of this License, Derivative Works shall not include works that remain
52
+ separable from, or merely link (or bind by name) to the interfaces of,
53
+ the Work and Derivative Works thereof.
54
+
55
+ "Contribution" shall mean any work of authorship, including
56
+ the original version of the Work and any modifications or additions
57
+ to that Work or Derivative Works thereof, that is intentionally
58
+ submitted to Licensor for inclusion in the Work by the copyright owner
59
+ or by an individual or Legal Entity authorized to submit on behalf of
60
+ the copyright owner. For the purposes of this definition, "submitted"
61
+ means any form of electronic, verbal, or written communication sent
62
+ to the Licensor or its representatives, including but not limited to
63
+ communication on electronic mailing lists, source code control systems,
64
+ and issue tracking systems that are managed by, or on behalf of, the
65
+ Licensor for the purpose of discussing and improving the Work, but
66
+ excluding communication that is conspicuously marked or otherwise
67
+ designated in writing by the copyright owner as "Not a Contribution."
68
+
69
+ "Contributor" shall mean Licensor and any individual or Legal Entity
70
+ on behalf of whom a Contribution has been received by Licensor and
71
+ subsequently incorporated within the Work.
72
+
73
+ 2. Grant of Copyright License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ copyright license to reproduce, prepare Derivative Works of,
77
+ publicly display, publicly perform, sublicense, and distribute the
78
+ Work and such Derivative Works in Source or Object form.
79
+
80
+ 3. Grant of Patent License. Subject to the terms and conditions of
81
+ this License, each Contributor hereby grants to You a perpetual,
82
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
83
+ (except as stated in this section) patent license to make, have made,
84
+ use, offer to sell, sell, import, and otherwise transfer the Work,
85
+ where such license applies only to those patent claims licensable
86
+ by such Contributor that are necessarily infringed by their
87
+ Contribution(s) alone or by combination of their Contribution(s)
88
+ with the Work to which such Contribution(s) was submitted. If You
89
+ institute patent litigation against any entity (including a
90
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
91
+ or a Contribution incorporated within the Work constitutes direct
92
+ or contributory patent infringement, then any patent licenses
93
+ granted to You under this License for that Work shall terminate
94
+ as of the date such litigation is filed.
95
+
96
+ 4. Redistribution. You may reproduce and distribute copies of the
97
+ Work or Derivative Works thereof in any medium, with or without
98
+ modifications, and in Source or Object form, provided that You
99
+ meet the following conditions:
100
+
101
+ (a) You must give any other recipients of the Work or
102
+ Derivative Works a copy of this License; and
103
+
104
+ (b) You must cause any modified files to carry prominent notices
105
+ stating that You changed the files; and
106
+
107
+ (c) You must retain, in the Source form of any Derivative Works
108
+ that You distribute, all copyright, patent, trademark, and
109
+ attribution notices from the Source form of the Work,
110
+ excluding those notices that do not pertain to any part of
111
+ the Derivative Works; and
112
+
113
+ (d) If the Work includes a "NOTICE" text file as part of its
114
+ distribution, then any Derivative Works that You distribute must
115
+ include a readable copy of the attribution notices contained
116
+ within such NOTICE file, excluding those notices that do not
117
+ pertain to any part of the Derivative Works, in at least one
118
+ of the following places: within a NOTICE text file distributed
119
+ as part of the Derivative Works; within the Source form or
120
+ documentation, if provided along with the Derivative Works; or,
121
+ within a display generated by the Derivative Works, if and
122
+ wherever such third-party notices normally appear. The contents
123
+ of the NOTICE file are for informational purposes only and
124
+ do not modify the License. You may add Your own attribution
125
+ notices within Derivative Works that You distribute, alongside
126
+ or as an addendum to the NOTICE text from the Work, provided
127
+ that such additional attribution notices cannot be construed
128
+ as modifying the License.
129
+
130
+ You may add Your own copyright statement to Your modifications and
131
+ may provide additional or different license terms and conditions
132
+ for use, reproduction, or distribution of Your modifications, or
133
+ for any such Derivative Works as a whole, provided Your use,
134
+ reproduction, and distribution of the Work otherwise complies with
135
+ the conditions stated in this License.
136
+
137
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
138
+ any Contribution intentionally submitted for inclusion in the Work
139
+ by You to the Licensor shall be under the terms and conditions of
140
+ this License, without any additional terms or conditions.
141
+ Notwithstanding the above, nothing herein shall supersede or modify
142
+ the terms of any separate license agreement you may have executed
143
+ with Licensor regarding such Contributions.
144
+
145
+ 6. Trademarks. This License does not grant permission to use the trade
146
+ names, trademarks, service marks, or product names of the Licensor,
147
+ except as required for reasonable and customary use in describing the
148
+ origin of the Work and reproducing the content of the NOTICE file.
149
+
150
+ 7. Disclaimer of Warranty. Unless required by applicable law or
151
+ agreed to in writing, Licensor provides the Work (and each
152
+ Contributor provides its Contributions) on an "AS IS" BASIS,
153
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
154
+ implied, including, without limitation, any warranties or conditions
155
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
156
+ PARTICULAR PURPOSE. You are solely responsible for determining the
157
+ appropriateness of using or redistributing the Work and assume any
158
+ risks associated with Your exercise of permissions under this License.
159
+
160
+ 8. Limitation of Liability. In no event and under no legal theory,
161
+ whether in tort (including negligence), contract, or otherwise,
162
+ unless required by applicable law (such as deliberate and grossly
163
+ negligent acts) or agreed to in writing, shall any Contributor be
164
+ liable to You for damages, including any direct, indirect, special,
165
+ incidental, or consequential damages of any character arising as a
166
+ result of this License or out of the use or inability to use the
167
+ Work (including but not limited to damages for loss of goodwill,
168
+ work stoppage, computer failure or malfunction, or any and all
169
+ other commercial damages or losses), even if such Contributor
170
+ has been advised of the possibility of such damages.
171
+
172
+ 9. Accepting Warranty or Additional Liability. While redistributing
173
+ the Work or Derivative Works thereof, You may choose to offer,
174
+ and charge a fee for, acceptance of support, warranty, indemnity,
175
+ or other liability obligations and/or rights consistent with this
176
+ License. However, in accepting such obligations, You may act only
177
+ on Your own behalf and on Your sole responsibility, not on behalf
178
+ of any other Contributor, and only if You agree to indemnify,
179
+ defend, and hold each Contributor harmless for any liability
180
+ incurred by, or claims asserted against, such Contributor by reason
181
+ of your accepting any such warranty or additional liability.
182
+
183
+ END OF TERMS AND CONDITIONS
184
+
185
+ APPENDIX: How to apply the Apache License to your work.
186
+
187
+ To apply the Apache License to your work, attach the following
188
+ boilerplate notice, with the fields enclosed by brackets "[]"
189
+ replaced with your own identifying information. (Don't include
190
+ the brackets!) The text should be enclosed in the appropriate
191
+ comment syntax for the file format. We also recommend that a
192
+ file or class name and description of purpose be included on the
193
+ same "printed page" as the copyright notice for easier
194
+ identification within third-party archives.
195
+
196
+ Copyright [yyyy] [name of copyright owner]
197
+
198
+ Licensed under the Apache License, Version 2.0 (the "License");
199
+ you may not use this file except in compliance with the License.
200
+ You may obtain a copy of the License at
201
+
202
+ http://www.apache.org/licenses/LICENSE-2.0
203
+
204
+ Unless required by applicable law or agreed to in writing, software
205
+ distributed under the License is distributed on an "AS IS" BASIS,
206
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
207
+ See the License for the specific language governing permissions and
208
+ limitations under the License.
209
+
210
+ Keywords: OpenAPI,OpenAPI-Generator,Wink API
211
+ Description-Content-Type: text/markdown
212
+ License-File: LICENSE
213
+ Dynamic: author
214
+ Dynamic: home-page
215
+ Dynamic: license-file
216
+
217
+ # wink-sdk-travel-agent
218
+ # Introduction
219
+ 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.
220
+ 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.
221
+
222
+ # Integrations
223
+ 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.
224
+
225
+ # Intended Audience
226
+ 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.
227
+ - Hotel chains
228
+ - Hotel brands
229
+ - Travel tech companies
230
+ - Destination sites
231
+ - Integrators
232
+ - Aggregators
233
+ - Destination management companies
234
+ - Travel agencies
235
+ - OTAs
236
+
237
+ ## APIs
238
+ Not every integrator needs every API. For that reason, we have separated APIs into context.
239
+
240
+ ### Test API
241
+
242
+ - [Ping](/ping): The Ping API is a quick test endpoint to verify that your credentials work Wink.
243
+
244
+ ### Common APIs
245
+
246
+ - [Notifications](/notifications): The Notifications API is a way for us to stay in touch with your user, property or affiliate account.
247
+ - [User Settings](/user-settings): The User Settings API exposes endpoints to allow 3rd party integrators to communicate with Wink.
248
+
249
+ ### Consume APIs
250
+ 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.
251
+
252
+ - [Configuration](/customization-client): A single endpoint to retrieve whitelabel + customization information for the booking customization.
253
+ - [Lookup](/lookup): All APIs related to locating inventory by region, locale and property flags.
254
+ - [Inventory](/inventory): All APIs related to retrieve known travel inventory as it was found using the Lookup API..
255
+ - [Booking](/booking): All APIs related to creating bookings on the platform.
256
+ - [Travel Agent](/travel-agent): The Travel Agent API exposes endpoints to manage agent-facilitated bookings.
257
+
258
+ ### Produce APIs
259
+ Produce endpoints are for developers who want to create and manage travel inventory.
260
+
261
+ #### Property
262
+ - [Property registration](/extranet/property/register): As a producer, this is, oftentimes, where you start your journey. These endpoints let you create properties on Wink.
263
+ - [Property](/extranet/property): This collection of property endpoints are mostly management endpoints that let you display, change status and similar for your existing properties.
264
+ - [Facilities](/extranet/facilities): This collection of endpoints let you manage facilities; such as room types.
265
+ - [Experiences](/extranet/experiences): This collection of endpoints let you manage experiences, such as activities.
266
+ - [Monetize](/extranet/monetize): The Monetize API exposes endpoints for managing cancellation polies, rate plans, promotions and more on Wink.
267
+ - [Distribution](/extranet/distribution): The Distribution API exposes endpoints for sales channels, connecting with affiliates, managing rates and inventory calendars and more on Wink.
268
+ - [Property Booking](/extranet/booking): The Property Booking API exposes endpoints for managing bookings and reviews at the property-level.
269
+
270
+ #### Affiliate
271
+ - [Affiliate](/affiliate): This collection of affiliate endpoints are mostly management endpoints that let you display, change status and similar for your existing accounts.
272
+ - [Browse](/affiliate/browse): The Browse API exposes endpoints for affiliates to find suppliers and inventory to sell.
273
+ - [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.
274
+ - [Sales Channel](/affiliate/sales-channel): The Sales Channel API exposes endpoints for affiliates to manage existing sales channels as well as find new ones.
275
+ - [WinkLinks](/affiliate/winklinks): The WinkLinks API exposes endpoints for affiliates to manage their WinkLinks page.
276
+
277
+ #### Rate provider
278
+ - [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.
279
+
280
+ ### Taxonomy APIs
281
+ 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.
282
+
283
+ - [Reference](/reference): All APIs related to retrieving platform-supported taxonomies.
284
+
285
+ ### Insight APIs
286
+ Insight endpoints do exactly what the name implies - They offer platform-level insight into the activities of producers and consumers.
287
+
288
+ - [Analytics](/analytics): All APIs related to tracking metrics across a wide variety of data source segments including, more entertaining, leaderboard metrics.
289
+
290
+ ### Payment APIs
291
+ 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 payment widget for all other entities.
292
+
293
+ - [TripPay](/payment): All APIs related to TripPay account management, booking, mapping and integration features.
294
+
295
+ ## SDKs
296
+ 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).
297
+
298
+ - Java SDK [https://github.com/wink-travel/wink-sdk-java](https://github.com/wink-travel/wink-sdk-java)
299
+
300
+ ## Usage
301
+ These features are made available to you via a [REST API](https://en.wikipedia.org/wiki/Representational_state_transfer). This API is language agnostic.
302
+
303
+ ## Versioning
304
+ 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.
305
+
306
+ ## Release history
307
+ - Follow updates on Github: https://github.com/wink-travel/wink-sdk-java/blob/master/CHANGELOG.md
308
+
309
+
310
+
311
+ # Travel Agent API
312
+ The Travel Agent API exposes endpoints to manage agent-facilitated bookings. This API lets you:
313
+
314
+ 1. Travel Agent: Manage agent entity.
315
+ 2. Booking: Create / Manage bookings
316
+
317
+ Browse the endpoints in the left navigation bar to get started.
318
+
319
+
320
+
321
+ This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
322
+
323
+ - API version: 30.29.0
324
+ - Package version: 0.0.55
325
+ - Generator version: 7.16.0
326
+ - Build package: org.openapitools.codegen.languages.PythonClientCodegen
327
+
328
+ ## Requirements.
329
+
330
+ Python 3.9+
331
+
332
+ ## Installation & Usage
333
+ ### pip install
334
+
335
+ You can install the package from PyPi using:
336
+ ```sh
337
+ pip install wink_sdk_travel_agent
338
+ ```
339
+
340
+ Or you can install it directly from the repository using:
341
+ ```sh
342
+ pip install git+https://github.com/wink-travel/wink-sdk-python.git@v0.0.55#egg=wink_sdk_travel_agent&subdirectory=wink-sdk-travel-agent
343
+ ```
344
+ (you may need to run `pip` with root permission: `sudo pip install git+https://github.com/wink-travel/wink-sdk-python.git@v0.0.55#egg=wink_sdk_travel_agent&subdirectory=wink_sdk_travel_agent`)
345
+
346
+ Then import the package:
347
+ ```python
348
+ import wink_sdk_travel_agent
349
+ ```
350
+
351
+ ### Setuptools
352
+
353
+ Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
354
+
355
+ ```sh
356
+ python setup.py install --user
357
+ ```
358
+ (or `sudo python setup.py install` to install the package for all users)
359
+
360
+ Then import the package:
361
+ ```python
362
+ import wink_sdk_travel_agent
363
+ ```
364
+
365
+ ### Tests
366
+
367
+ Execute `pytest` to run the tests.
368
+
369
+ ## Getting Started
370
+
371
+ Please follow the [installation procedure](#installation--usage) and then run the following:
372
+
373
+ ```python
374
+
375
+ import wink_sdk_travel_agent
376
+ from wink_sdk_travel_agent.rest import ApiException
377
+ from pprint import pprint
378
+
379
+ # Defining the host is optional and defaults to https://api.wink.travel
380
+ # See configuration.py for a list of all supported configuration parameters.
381
+ configuration = wink_sdk_travel_agent.Configuration(
382
+ host = "https://api.wink.travel"
383
+ )
384
+
385
+ # The client must configure the authentication and authorization parameters
386
+ # in accordance with the API server security policy.
387
+ # Examples for each auth method are provided below, use the example that
388
+ # satisfies your auth use case.
389
+
390
+ configuration.access_token = os.environ["ACCESS_TOKEN"]
391
+
392
+
393
+ # Enter a context with an instance of the API client
394
+ with wink_sdk_travel_agent.ApiClient(configuration) as api_client:
395
+ # Create an instance of the API class
396
+ api_instance = wink_sdk_travel_agent.AnalyticsApi(api_client)
397
+ company_identifier = 'company-1' # str | Show active booking count for company with this identifier
398
+ booking_overview_request_supplier = wink_sdk_travel_agent.BookingOverviewRequestSupplier() # BookingOverviewRequestSupplier | Overview request body
399
+ wink_version = 'wink_version_example' # str | (optional)
400
+
401
+ try:
402
+ # Affiliate Booking Analytics
403
+ api_response = api_instance.show_affiliate_booking_analytics(company_identifier, booking_overview_request_supplier, wink_version=wink_version)
404
+ print("The response of AnalyticsApi->show_affiliate_booking_analytics:\n")
405
+ pprint(api_response)
406
+ except ApiException as e:
407
+ print("Exception when calling AnalyticsApi->show_affiliate_booking_analytics: %s\n" % e)
408
+
409
+ ```
410
+
411
+ ## Documentation for API Endpoints
412
+
413
+ All URIs are relative to *https://api.wink.travel*
414
+
415
+ Class | Method | HTTP request | Description
416
+ ------------ | ------------- | ------------- | -------------
417
+ *AnalyticsApi* | [**show_affiliate_booking_analytics**](docs/AnalyticsApi.md#show_affiliate_booking_analytics) | **POST** /api/affiliate/{companyIdentifier}/booking/analytics | Affiliate Booking Analytics
418
+ *AnalyticsApi* | [**show_booking_overview**](docs/AnalyticsApi.md#show_booking_overview) | **GET** /api/affiliate/{companyIdentifier}/booking/overview | Affiliate Booking Overview
419
+ *TravelAgentApi* | [**cancel_booking_as_travel_agent**](docs/TravelAgentApi.md#cancel_booking_as_travel_agent) | **PATCH** /api/affiliate/{companyIdentifier}/booking/{bookingIdentifier} | Cancel Booking
420
+ *TravelAgentApi* | [**create_agent_booking**](docs/TravelAgentApi.md#create_agent_booking) | **POST** /api/booking/agent | Create Agent Booking
421
+ *TravelAgentApi* | [**resend_booking_confirmation_email_as_travel_agent**](docs/TravelAgentApi.md#resend_booking_confirmation_email_as_travel_agent) | **PATCH** /api/affiliate/{companyIdentifier}/booking/{bookingIdentifier}/resend | Resend Booking Confirmation
422
+ *TravelAgentApi* | [**show_booking_as_travel_agent**](docs/TravelAgentApi.md#show_booking_as_travel_agent) | **GET** /api/affiliate/{companyIdentifier}/booking/{bookingIdentifier} | Show Booking
423
+ *TravelAgentApi* | [**show_booking_grid_as_travel_agent**](docs/TravelAgentApi.md#show_booking_grid_as_travel_agent) | **POST** /api/affiliate/{companyIdentifier}/booking/grid | Show Bookings
424
+
425
+
426
+ ## Documentation For Models
427
+
428
+ - [AgentBookingRequestAgent](docs/AgentBookingRequestAgent.md)
429
+ - [AggregateDescriptorAgent](docs/AggregateDescriptorAgent.md)
430
+ - [AuthenticatedUserAgent](docs/AuthenticatedUserAgent.md)
431
+ - [BedAgent](docs/BedAgent.md)
432
+ - [BedroomAgent](docs/BedroomAgent.md)
433
+ - [BedroomConfigurationAgent](docs/BedroomConfigurationAgent.md)
434
+ - [BeneficiaryAgent](docs/BeneficiaryAgent.md)
435
+ - [BeneficiaryChargeAgent](docs/BeneficiaryChargeAgent.md)
436
+ - [BookingAgent](docs/BookingAgent.md)
437
+ - [BookingAnalyticsSupplier](docs/BookingAnalyticsSupplier.md)
438
+ - [BookingAncillaryAgent](docs/BookingAncillaryAgent.md)
439
+ - [BookingConfirmationsAgent](docs/BookingConfirmationsAgent.md)
440
+ - [BookingContractItemAgent](docs/BookingContractItemAgent.md)
441
+ - [BookingContractPaymentDetailsAgent](docs/BookingContractPaymentDetailsAgent.md)
442
+ - [BookingItineraryAgent](docs/BookingItineraryAgent.md)
443
+ - [BookingItineraryRoomConfigurationAgent](docs/BookingItineraryRoomConfigurationAgent.md)
444
+ - [BookingItineraryRoomConfigurationChildAgent](docs/BookingItineraryRoomConfigurationChildAgent.md)
445
+ - [BookingOverviewRequestSupplier](docs/BookingOverviewRequestSupplier.md)
446
+ - [BookingUserAgent](docs/BookingUserAgent.md)
447
+ - [BookingUserRequestAgent](docs/BookingUserRequestAgent.md)
448
+ - [BookingUserSessionAgent](docs/BookingUserSessionAgent.md)
449
+ - [BooleanResponseAgent](docs/BooleanResponseAgent.md)
450
+ - [CancellationDetailAgent](docs/CancellationDetailAgent.md)
451
+ - [CancellationPolicyExceptionAgent](docs/CancellationPolicyExceptionAgent.md)
452
+ - [CancellationPolicyExceptionsAgent](docs/CancellationPolicyExceptionsAgent.md)
453
+ - [CancellationPolicyLightweightAgent](docs/CancellationPolicyLightweightAgent.md)
454
+ - [ChartCategoryAxisSupplier](docs/ChartCategoryAxisSupplier.md)
455
+ - [ChartLegendSupplier](docs/ChartLegendSupplier.md)
456
+ - [ChartSeriesSupplier](docs/ChartSeriesSupplier.md)
457
+ - [ChartTitleSupplier](docs/ChartTitleSupplier.md)
458
+ - [ChildAgent](docs/ChildAgent.md)
459
+ - [CommissionableEntryAgent](docs/CommissionableEntryAgent.md)
460
+ - [CompositeFilterDescriptorAgent](docs/CompositeFilterDescriptorAgent.md)
461
+ - [ContactAgent](docs/ContactAgent.md)
462
+ - [CountryLightweightAgent](docs/CountryLightweightAgent.md)
463
+ - [CreateAgentBooking400Response](docs/CreateAgentBooking400Response.md)
464
+ - [CreateAgentBookingRequestAgent](docs/CreateAgentBookingRequestAgent.md)
465
+ - [CustomMonetaryAmount](docs/CustomMonetaryAmount.md)
466
+ - [CustomizationLightweightAgent](docs/CustomizationLightweightAgent.md)
467
+ - [CustomizationThemeColorsAgent](docs/CustomizationThemeColorsAgent.md)
468
+ - [ExtraChargeAgent](docs/ExtraChargeAgent.md)
469
+ - [ExtraChargesAgent](docs/ExtraChargesAgent.md)
470
+ - [FilterDescriptorAgent](docs/FilterDescriptorAgent.md)
471
+ - [GeneralManagerAgent](docs/GeneralManagerAgent.md)
472
+ - [GenericErrorMessage](docs/GenericErrorMessage.md)
473
+ - [GeoJsonPointAgent](docs/GeoJsonPointAgent.md)
474
+ - [GeoNameLightweightAgent](docs/GeoNameLightweightAgent.md)
475
+ - [GroupDescriptorAgent](docs/GroupDescriptorAgent.md)
476
+ - [GroupedBookingSalesMetricsSupplierDetails](docs/GroupedBookingSalesMetricsSupplierDetails.md)
477
+ - [GuestRoomLightweightAgent](docs/GuestRoomLightweightAgent.md)
478
+ - [GuestUserAgent](docs/GuestUserAgent.md)
479
+ - [LineChartSupplier](docs/LineChartSupplier.md)
480
+ - [LocalizedDescriptionAgent](docs/LocalizedDescriptionAgent.md)
481
+ - [LocalizedPriceAgent](docs/LocalizedPriceAgent.md)
482
+ - [MediaAuthorAttributionAgent](docs/MediaAuthorAttributionAgent.md)
483
+ - [PageBookingAgent](docs/PageBookingAgent.md)
484
+ - [PageableObjectAgent](docs/PageableObjectAgent.md)
485
+ - [PayoutAgent](docs/PayoutAgent.md)
486
+ - [PayoutFeeAgent](docs/PayoutFeeAgent.md)
487
+ - [PerkLightweightAgent](docs/PerkLightweightAgent.md)
488
+ - [PersonalAgent](docs/PersonalAgent.md)
489
+ - [PreferencesAgent](docs/PreferencesAgent.md)
490
+ - [ProfileLightweightAgent](docs/ProfileLightweightAgent.md)
491
+ - [ProfileUserAgent](docs/ProfileUserAgent.md)
492
+ - [PropertyAggregateLightweightAgent](docs/PropertyAggregateLightweightAgent.md)
493
+ - [PropertyPolicyAgent](docs/PropertyPolicyAgent.md)
494
+ - [QuoteLightweightAgent](docs/QuoteLightweightAgent.md)
495
+ - [RatePlanLevelFeeAgent](docs/RatePlanLevelFeeAgent.md)
496
+ - [RefundAgent](docs/RefundAgent.md)
497
+ - [ReviewAnswerAgent](docs/ReviewAnswerAgent.md)
498
+ - [ReviewLightweightAgent](docs/ReviewLightweightAgent.md)
499
+ - [ReviewUserAgent](docs/ReviewUserAgent.md)
500
+ - [RoomConfigurationAgent](docs/RoomConfigurationAgent.md)
501
+ - [RoomConfigurationPriceRatePlanAgent](docs/RoomConfigurationPriceRatePlanAgent.md)
502
+ - [RoomStayAgent](docs/RoomStayAgent.md)
503
+ - [SimpleAddressAgent](docs/SimpleAddressAgent.md)
504
+ - [SimpleDateTimeItineraryAgent](docs/SimpleDateTimeItineraryAgent.md)
505
+ - [SimpleDescriptionAgent](docs/SimpleDescriptionAgent.md)
506
+ - [SimpleMultimediaAgent](docs/SimpleMultimediaAgent.md)
507
+ - [SocialAgent](docs/SocialAgent.md)
508
+ - [SortDescriptorAgent](docs/SortDescriptorAgent.md)
509
+ - [SortObjectAgent](docs/SortObjectAgent.md)
510
+ - [StateAgent](docs/StateAgent.md)
511
+ - [StayRateAgent](docs/StayRateAgent.md)
512
+ - [SubCountryLightweightAgent](docs/SubCountryLightweightAgent.md)
513
+ - [SubSubCountryLightweightAgent](docs/SubSubCountryLightweightAgent.md)
514
+ - [SupplierContractItemPolicyAgent](docs/SupplierContractItemPolicyAgent.md)
515
+ - [TravelInventoryRecognitionAgent](docs/TravelInventoryRecognitionAgent.md)
516
+ - [WinkBookingContractAgent](docs/WinkBookingContractAgent.md)
517
+
518
+
519
+ <a id="documentation-for-authorization"></a>
520
+ ## Documentation For Authorization
521
+
522
+
523
+ Authentication schemes defined for the API:
524
+ <a id="oauth2ClientCredentials"></a>
525
+ ### oauth2ClientCredentials
526
+
527
+ - **Type**: OAuth
528
+ - **Flow**: application
529
+ - **Authorization URL**: https://iam.wink.travel/oauth2/authorize
530
+ - **Scopes**:
531
+ - **inventory.read**: Read Wink data
532
+ - **inventory.write**: Create Wink data
533
+ - **inventory.remove**: Remove Wink data
534
+
535
+
536
+ ## Author
537
+
538
+ bjorn@wink.travel
539
+