wink-sdk-travel-agent 0.0.3__tar.gz

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 (212) hide show
  1. wink_sdk_travel_agent-0.0.3/LICENSE +201 -0
  2. wink_sdk_travel_agent-0.0.3/PKG-INFO +17 -0
  3. wink_sdk_travel_agent-0.0.3/README.md +330 -0
  4. wink_sdk_travel_agent-0.0.3/pyproject.toml +72 -0
  5. wink_sdk_travel_agent-0.0.3/setup.cfg +7 -0
  6. wink_sdk_travel_agent-0.0.3/setup.py +50 -0
  7. wink_sdk_travel_agent-0.0.3/test/test_address_agent.py +111 -0
  8. wink_sdk_travel_agent-0.0.3/test/test_agent_booking_request_agent.py +117 -0
  9. wink_sdk_travel_agent-0.0.3/test/test_aggregate_descriptor_agent.py +53 -0
  10. wink_sdk_travel_agent-0.0.3/test/test_ancillary_request_agent.py +66 -0
  11. wink_sdk_travel_agent-0.0.3/test/test_authenticated_user_agent.py +59 -0
  12. wink_sdk_travel_agent-0.0.3/test/test_bed_agent.py +55 -0
  13. wink_sdk_travel_agent-0.0.3/test/test_bedroom_agent.py +63 -0
  14. wink_sdk_travel_agent-0.0.3/test/test_bedroom_configuration_agent.py +73 -0
  15. wink_sdk_travel_agent-0.0.3/test/test_beneficiary_agent.py +115 -0
  16. wink_sdk_travel_agent-0.0.3/test/test_beneficiary_charge_agent.py +54 -0
  17. wink_sdk_travel_agent-0.0.3/test/test_booking_agent.py +2594 -0
  18. wink_sdk_travel_agent-0.0.3/test/test_booking_ancillary_agent.py +245 -0
  19. wink_sdk_travel_agent-0.0.3/test/test_booking_confirmations_agent.py +1243 -0
  20. wink_sdk_travel_agent-0.0.3/test/test_booking_contract_agent.py +1102 -0
  21. wink_sdk_travel_agent-0.0.3/test/test_booking_contract_item_agent.py +422 -0
  22. wink_sdk_travel_agent-0.0.3/test/test_booking_contract_payment_details_agent.py +81 -0
  23. wink_sdk_travel_agent-0.0.3/test/test_booking_itinerary_agent.py +68 -0
  24. wink_sdk_travel_agent-0.0.3/test/test_booking_itinerary_room_configuration_agent.py +57 -0
  25. wink_sdk_travel_agent-0.0.3/test/test_booking_itinerary_room_configuration_child_agent.py +55 -0
  26. wink_sdk_travel_agent-0.0.3/test/test_booking_user_agent.py +60 -0
  27. wink_sdk_travel_agent-0.0.3/test/test_booking_user_request_agent.py +59 -0
  28. wink_sdk_travel_agent-0.0.3/test/test_booking_user_session_agent.py +92 -0
  29. wink_sdk_travel_agent-0.0.3/test/test_booking_view_agent.py +2411 -0
  30. wink_sdk_travel_agent-0.0.3/test/test_boolean_response_agent.py +53 -0
  31. wink_sdk_travel_agent-0.0.3/test/test_cancellation_detail_agent.py +55 -0
  32. wink_sdk_travel_agent-0.0.3/test/test_cancellation_policy_agent.py +64 -0
  33. wink_sdk_travel_agent-0.0.3/test/test_cancellation_policy_exception_agent.py +79 -0
  34. wink_sdk_travel_agent-0.0.3/test/test_cancellation_policy_exceptions_agent.py +85 -0
  35. wink_sdk_travel_agent-0.0.3/test/test_child_agent.py +55 -0
  36. wink_sdk_travel_agent-0.0.3/test/test_commissionable_entry_agent.py +59 -0
  37. wink_sdk_travel_agent-0.0.3/test/test_company_agent.py +203 -0
  38. wink_sdk_travel_agent-0.0.3/test/test_company_user_agent.py +61 -0
  39. wink_sdk_travel_agent-0.0.3/test/test_company_view_agent.py +253 -0
  40. wink_sdk_travel_agent-0.0.3/test/test_composite_filter_descriptor_agent.py +59 -0
  41. wink_sdk_travel_agent-0.0.3/test/test_contact_agent.py +58 -0
  42. wink_sdk_travel_agent-0.0.3/test/test_country_agent.py +58 -0
  43. wink_sdk_travel_agent-0.0.3/test/test_create_agent_booking400_response.py +56 -0
  44. wink_sdk_travel_agent-0.0.3/test/test_create_agent_booking_request_agent.py +164 -0
  45. wink_sdk_travel_agent-0.0.3/test/test_custom_monetary_amount.py +55 -0
  46. wink_sdk_travel_agent-0.0.3/test/test_daily_rate_agent.py +83 -0
  47. wink_sdk_travel_agent-0.0.3/test/test_dow_pattern_group_agent.py +59 -0
  48. wink_sdk_travel_agent-0.0.3/test/test_engine_configuration_booking_report_agent.py +153 -0
  49. wink_sdk_travel_agent-0.0.3/test/test_engine_configuration_theme_agent.py +62 -0
  50. wink_sdk_travel_agent-0.0.3/test/test_extra_charge_agent.py +137 -0
  51. wink_sdk_travel_agent-0.0.3/test/test_extra_charges_agent.py +132 -0
  52. wink_sdk_travel_agent-0.0.3/test/test_fee_agent.py +63 -0
  53. wink_sdk_travel_agent-0.0.3/test/test_filter_descriptor_agent.py +58 -0
  54. wink_sdk_travel_agent-0.0.3/test/test_general_manager_agent.py +82 -0
  55. wink_sdk_travel_agent-0.0.3/test/test_generic_error_message.py +56 -0
  56. wink_sdk_travel_agent-0.0.3/test/test_geo_json_point_agent.py +57 -0
  57. wink_sdk_travel_agent-0.0.3/test/test_geo_name_agent.py +76 -0
  58. wink_sdk_travel_agent-0.0.3/test/test_group_descriptor_agent.py +58 -0
  59. wink_sdk_travel_agent-0.0.3/test/test_guest_room_agent.py +315 -0
  60. wink_sdk_travel_agent-0.0.3/test/test_guest_user_agent.py +147 -0
  61. wink_sdk_travel_agent-0.0.3/test/test_hotel_on_map_agent.py +265 -0
  62. wink_sdk_travel_agent-0.0.3/test/test_image_attribution_agent.py +54 -0
  63. wink_sdk_travel_agent-0.0.3/test/test_localized_description_agent.py +55 -0
  64. wink_sdk_travel_agent-0.0.3/test/test_localized_price_agent.py +115 -0
  65. wink_sdk_travel_agent-0.0.3/test/test_page_booking_view_agent.py +1266 -0
  66. wink_sdk_travel_agent-0.0.3/test/test_pageable_object_agent.py +64 -0
  67. wink_sdk_travel_agent-0.0.3/test/test_payout_agent.py +91 -0
  68. wink_sdk_travel_agent-0.0.3/test/test_payout_fee_agent.py +65 -0
  69. wink_sdk_travel_agent-0.0.3/test/test_pending_refund_agent.py +63 -0
  70. wink_sdk_travel_agent-0.0.3/test/test_personal_agent.py +82 -0
  71. wink_sdk_travel_agent-0.0.3/test/test_pet_info_dto_agent.py +55 -0
  72. wink_sdk_travel_agent-0.0.3/test/test_preferences_agent.py +94 -0
  73. wink_sdk_travel_agent-0.0.3/test/test_profile_agent.py +223 -0
  74. wink_sdk_travel_agent-0.0.3/test/test_profile_user_agent.py +57 -0
  75. wink_sdk_travel_agent-0.0.3/test/test_property_policy_agent.py +74 -0
  76. wink_sdk_travel_agent-0.0.3/test/test_quote_agent.py +59 -0
  77. wink_sdk_travel_agent-0.0.3/test/test_rate_plan_agent.py +153 -0
  78. wink_sdk_travel_agent-0.0.3/test/test_rate_plan_level_fee_agent.py +69 -0
  79. wink_sdk_travel_agent-0.0.3/test/test_refund_agent.py +80 -0
  80. wink_sdk_travel_agent-0.0.3/test/test_reporting_ancillary_agent.py +57 -0
  81. wink_sdk_travel_agent-0.0.3/test/test_reporting_daily_rate_agent.py +57 -0
  82. wink_sdk_travel_agent-0.0.3/test/test_reporting_extra_charge_agent.py +57 -0
  83. wink_sdk_travel_agent-0.0.3/test/test_review_agent.py +80 -0
  84. wink_sdk_travel_agent-0.0.3/test/test_review_answer_agent.py +59 -0
  85. wink_sdk_travel_agent-0.0.3/test/test_review_user_agent.py +57 -0
  86. wink_sdk_travel_agent-0.0.3/test/test_room_configuration_agent.py +58 -0
  87. wink_sdk_travel_agent-0.0.3/test/test_room_stay_agent.py +855 -0
  88. wink_sdk_travel_agent-0.0.3/test/test_simple_date_time_itinerary_agent.py +62 -0
  89. wink_sdk_travel_agent-0.0.3/test/test_simple_description_agent.py +56 -0
  90. wink_sdk_travel_agent-0.0.3/test/test_simple_multimedia_agent.py +80 -0
  91. wink_sdk_travel_agent-0.0.3/test/test_social_agent.py +54 -0
  92. wink_sdk_travel_agent-0.0.3/test/test_sort_descriptor_agent.py +53 -0
  93. wink_sdk_travel_agent-0.0.3/test/test_sort_object.py +56 -0
  94. wink_sdk_travel_agent-0.0.3/test/test_state_agent.py +77 -0
  95. wink_sdk_travel_agent-0.0.3/test/test_stay_rate_agent.py +123 -0
  96. wink_sdk_travel_agent-0.0.3/test/test_sub_country_agent.py +54 -0
  97. wink_sdk_travel_agent-0.0.3/test/test_sub_sub_country_agent.py +54 -0
  98. wink_sdk_travel_agent-0.0.3/test/test_supplier_contract_item_policy_agent.py +62 -0
  99. wink_sdk_travel_agent-0.0.3/test/test_travel_agent_agent.py +55 -0
  100. wink_sdk_travel_agent-0.0.3/test/test_travel_agent_api.py +74 -0
  101. wink_sdk_travel_agent-0.0.3/test/test_travel_inventory_recognition_agent.py +66 -0
  102. wink_sdk_travel_agent-0.0.3/test/test_upsert_travel_agent_request_agent.py +55 -0
  103. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/__init__.py +129 -0
  104. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/api/__init__.py +5 -0
  105. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/api/travel_agent_api.py +1985 -0
  106. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/api_client.py +798 -0
  107. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/api_response.py +21 -0
  108. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/configuration.py +459 -0
  109. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/exceptions.py +200 -0
  110. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/__init__.py +112 -0
  111. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/address_agent.py +110 -0
  112. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/agent_booking_request_agent.py +145 -0
  113. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/aggregate_descriptor_agent.py +100 -0
  114. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/ancillary_request_agent.py +111 -0
  115. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/authenticated_user_agent.py +98 -0
  116. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/bed_agent.py +91 -0
  117. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/bedroom_agent.py +105 -0
  118. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/bedroom_configuration_agent.py +100 -0
  119. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/beneficiary_agent.py +162 -0
  120. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/beneficiary_charge_agent.py +97 -0
  121. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/booking_agent.py +378 -0
  122. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/booking_ancillary_agent.py +153 -0
  123. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/booking_confirmations_agent.py +109 -0
  124. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/booking_contract_agent.py +592 -0
  125. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/booking_contract_item_agent.py +214 -0
  126. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/booking_contract_payment_details_agent.py +131 -0
  127. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/booking_itinerary_agent.py +113 -0
  128. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/booking_itinerary_room_configuration_agent.py +98 -0
  129. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/booking_itinerary_room_configuration_child_agent.py +90 -0
  130. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/booking_user_agent.py +100 -0
  131. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/booking_user_request_agent.py +96 -0
  132. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/booking_user_session_agent.py +112 -0
  133. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/booking_view_agent.py +101 -0
  134. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/boolean_response_agent.py +90 -0
  135. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/cancellation_detail_agent.py +97 -0
  136. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/cancellation_policy_agent.py +166 -0
  137. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/cancellation_policy_exception_agent.py +99 -0
  138. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/cancellation_policy_exceptions_agent.py +96 -0
  139. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/child_agent.py +91 -0
  140. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/commissionable_entry_agent.py +101 -0
  141. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/company_agent.py +160 -0
  142. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/company_user_agent.py +114 -0
  143. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/company_view_agent.py +101 -0
  144. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/composite_filter_descriptor_agent.py +108 -0
  145. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/contact_agent.py +104 -0
  146. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/country_agent.py +100 -0
  147. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/create_agent_booking400_response.py +141 -0
  148. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/create_agent_booking_request_agent.py +104 -0
  149. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/custom_monetary_amount.py +90 -0
  150. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/daily_rate_agent.py +115 -0
  151. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/dow_pattern_group_agent.py +102 -0
  152. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/engine_configuration_booking_report_agent.py +192 -0
  153. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/engine_configuration_theme_agent.py +108 -0
  154. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/extra_charge_agent.py +103 -0
  155. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/extra_charges_agent.py +112 -0
  156. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/fee_agent.py +105 -0
  157. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/filter_descriptor_agent.py +101 -0
  158. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/general_manager_agent.py +104 -0
  159. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/generic_error_message.py +96 -0
  160. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/geo_json_point_agent.py +94 -0
  161. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/geo_name_agent.py +136 -0
  162. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/group_descriptor_agent.py +110 -0
  163. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/guest_room_agent.py +258 -0
  164. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/guest_user_agent.py +106 -0
  165. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/hotel_on_map_agent.py +272 -0
  166. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/image_attribution_agent.py +90 -0
  167. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/localized_description_agent.py +91 -0
  168. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/localized_price_agent.py +162 -0
  169. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/page_booking_view_agent.py +128 -0
  170. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/pageable_object_agent.py +106 -0
  171. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/payout_agent.py +152 -0
  172. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/payout_fee_agent.py +114 -0
  173. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/pending_refund_agent.py +99 -0
  174. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/personal_agent.py +155 -0
  175. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/pet_info_dto_agent.py +90 -0
  176. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/preferences_agent.py +128 -0
  177. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/profile_agent.py +110 -0
  178. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/profile_user_agent.py +100 -0
  179. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/property_policy_agent.py +149 -0
  180. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/quote_agent.py +94 -0
  181. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/rate_plan_agent.py +172 -0
  182. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/rate_plan_level_fee_agent.py +111 -0
  183. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/refund_agent.py +166 -0
  184. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/reporting_ancillary_agent.py +108 -0
  185. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/reporting_daily_rate_agent.py +99 -0
  186. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/reporting_extra_charge_agent.py +98 -0
  187. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/review_agent.py +133 -0
  188. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/review_answer_agent.py +101 -0
  189. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/review_user_agent.py +98 -0
  190. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/room_configuration_agent.py +99 -0
  191. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/room_stay_agent.py +184 -0
  192. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/simple_date_time_itinerary_agent.py +108 -0
  193. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/simple_description_agent.py +93 -0
  194. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/simple_multimedia_agent.py +154 -0
  195. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/social_agent.py +102 -0
  196. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/sort_descriptor_agent.py +100 -0
  197. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/sort_object.py +96 -0
  198. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/state_agent.py +117 -0
  199. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/stay_rate_agent.py +209 -0
  200. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/sub_country_agent.py +92 -0
  201. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/sub_sub_country_agent.py +92 -0
  202. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/supplier_contract_item_policy_agent.py +170 -0
  203. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/travel_agent_agent.py +90 -0
  204. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/travel_inventory_recognition_agent.py +120 -0
  205. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/models/upsert_travel_agent_request_agent.py +90 -0
  206. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/py.typed +0 -0
  207. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent/rest.py +258 -0
  208. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent.egg-info/PKG-INFO +17 -0
  209. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent.egg-info/SOURCES.txt +211 -0
  210. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent.egg-info/dependency_links.txt +1 -0
  211. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent.egg-info/requires.txt +4 -0
  212. wink_sdk_travel_agent-0.0.3/wink_sdk_travel_agent.egg-info/top_level.txt +1 -0
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent 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
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,17 @@
1
+ Metadata-Version: 2.1
2
+ Name: wink-sdk-travel-agent
3
+ Version: 0.0.3
4
+ Summary: Wink API
5
+ Home-page: https://github.com/wink-travel/wink-sdk-python.git
6
+ Author: Bjorn Harvold
7
+ Author-email: bjorn@wink.travel
8
+ Keywords: OpenAPI,OpenAPI-Generator,Wink API
9
+ Description-Content-Type: text/markdown
10
+ License-File: LICENSE
11
+ Requires-Dist: urllib3<3.0.0,>=1.25.3
12
+ Requires-Dist: python-dateutil>=2.8.2
13
+ Requires-Dist: pydantic>=2
14
+ Requires-Dist: typing-extensions>=4.7.1
15
+
16
+ # Introduction Welcome to the Wink API - A programmer-friendly way to manage, sell and book travel blocking on the Wink platform. The API gives you all the tools you need to ready your properties and blocking for sale across 1000s of our native sales channels. Integrators, affiliates, travel agents and content creators have the ability search for your travel blocking and promote / sell it in a wide variety of ways. # Integrations We have already integrated with the most well-known channel managers so you don&#39;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&#39;t have a channel manager, you can easily manage rates and availability with this API. # Intended Audience Programmers are [most likely] a requirement to start integrating with Wink. Companies and organizations that would most benefit from integrating with us are new and existing travel companies that have relationships with suppliers and that need an advanced system from which to manage their travel blocking and get that same blocking out to as many eyeballs as possible at the lowest price possible. - Hotel chains - Hotel brands - Travel tech companies - Destination sites - Integrators - Aggregators - Destination management companies - Travel agencies - OTAs ## APIs Not every integrator needs every API. For that reason, we have separated APIs into context. ### Test API - [Ping](/ping): The Ping API is a quick test endpoint to verify that your credentials work Wink. ### Common APIs - [Notifications](/notifications): The Notifications API is a way for us to stay in touch with your user, property or affiliate account. - [User Settings](/user-settings): The User Settings API exposes endpoints to allow 3rd party integrators to communicate with Wink. ### Consume APIs Consume endpoints are for developers who want to find existing travel blocking and either book it or use it to advertise through one of their Wink affiliate accounts. - [Configuration](/engine-client): A single endpoint to retrieve whitelabel + customization information for the booking engine. - [Lookup](/lookup): All APIs related to locating blocking by region, locale and property flags. - [Inventory](/blocking): All APIs related to retrieve known travel blocking as it was found using the Lookup API.. - [Booking](/booking): All APIs related to creating bookings on the platform. - [Travel Agent](/travel-agent): The Travel Agent API exposes endpoints to manage agent-facilitated bookings. ### Produce APIs Produce endpoints are for developers who want to create and manage travel blocking. #### Property - [Property registration](/extranet/property/register): As a producer, this is, oftentimes, where you start your journey. These endpoints let you create properties on Wink. - [Property](/extranet/property): This collection of property endpoints are mostly management endpoints that let you display, change status and similar for your existing properties. - [Facilities](/extranet/facilities): This collection of endpoints let you manage facilities; such as room types. - [Experiences](/extranet/experiences): This collection of endpoints let you manage experiences, such as activities. - [Monetize](/extranet/monetize): The Monetize API exposes endpoints for managing cancellation polies, rate plans, promotions and more on Wink. - [Distribution](/extranet/distribution): The Distribution API exposes endpoints for sales channels, connecting with affiliates, managing rates and blocking calendars and more on Wink. - [Property Booking](/extranet/booking): The Property Booking API exposes endpoints for managing bookings and reviews at the property-level. #### Affiliate - [Affiliate](/affiliate): This collection of affiliate endpoints are mostly management endpoints that let you display, change status and similar for your existing accounts. - [Browse](/affiliate/browse): The Browse API exposes endpoints for affiliates to find suppliers and blocking to sell. - [Inventory](/affiliate/blocking): The Inventory API exposes endpoints for affiliates to manage the blocking they want to sell and how they want to sell it. - [Sales Channel](/affiliate/sales-channel): The Sales Channel API exposes endpoints for affiliates to manage existing sales channels as well as find new ones. - [WinkLinks](/affiliate/winklinks): The WinkLinks API exposes endpoints for affiliates to manage their WinkLinks page. #### Rate provider - [Channel manager](/channel-manager): The Channel Manager API enables external channel manager partners to map, exchange rate / availability information with us as well as be informed of bookings that occur on the Wink platform for one of their properties. ### Taxonomy APIs Taxonomy endpoints are for developers who want to consume and produce travel blocking and need taxonomies of standard and non-standard codes for blocking types, classes, statuses etc. - [Reference](/reactive): All APIs related to retrieving platform-supported taxonomies. ### Insight APIs Insight endpoints do exactly what the name implies - They offer platform-level insight into the activities of producers and consumers. - [Analytics](/analytics): All APIs related to tracking metrics across a wide variety of data source segments including, more entertaining, leaderboard metrics. ### Payment APIs Payment endpoints are for developers who want to purchase travel blocking. This can be done via the API as a registered Travel Agent or using our API in conjunction with our PCI compliant reactive widget for all other entities. - [TripPay](/reactive): All APIs related to TripPay account management, booking, mapping and integration features. ## SDKs We are actively working on supporting the most used languages out there. If you don&#39;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 &#x60;Wink-Version&#x60; header. When it&#39;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.
17
+
@@ -0,0 +1,330 @@
1
+ # wink-sdk-travel-agent
2
+ # Introduction
3
+ Welcome to the Wink API - A programmer-friendly way to manage, sell and book travel blocking on the Wink platform. The API gives you all the tools you need to ready your properties and blocking for sale across 1000s of our native sales channels.
4
+ Integrators, affiliates, travel agents and content creators have the ability search for your travel blocking and promote / sell it in a wide variety of ways.
5
+
6
+ # Integrations
7
+ 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.
8
+
9
+ # Intended Audience
10
+ Programmers are [most likely] a requirement to start integrating with Wink. Companies and organizations that would most benefit from integrating with us are new and existing travel companies that have relationships with suppliers and that need an advanced system from which to manage their travel blocking and get that same blocking out to as many eyeballs as possible at the lowest price possible.
11
+ - Hotel chains
12
+ - Hotel brands
13
+ - Travel tech companies
14
+ - Destination sites
15
+ - Integrators
16
+ - Aggregators
17
+ - Destination management companies
18
+ - Travel agencies
19
+ - OTAs
20
+
21
+ ## APIs
22
+ Not every integrator needs every API. For that reason, we have separated APIs into context.
23
+
24
+ ### Test API
25
+
26
+ - [Ping](/ping): The Ping API is a quick test endpoint to verify that your credentials work Wink.
27
+
28
+ ### Common APIs
29
+
30
+ - [Notifications](/notifications): The Notifications API is a way for us to stay in touch with your user, property or affiliate account.
31
+ - [User Settings](/user-settings): The User Settings API exposes endpoints to allow 3rd party integrators to communicate with Wink.
32
+
33
+ ### Consume APIs
34
+ Consume endpoints are for developers who want to find existing travel blocking and either book it or use it to advertise through one of their Wink affiliate accounts.
35
+
36
+ - [Configuration](/engine-client): A single endpoint to retrieve whitelabel + customization information for the booking engine.
37
+ - [Lookup](/lookup): All APIs related to locating blocking by region, locale and property flags.
38
+ - [Inventory](/blocking): All APIs related to retrieve known travel blocking as it was found using the Lookup API..
39
+ - [Booking](/booking): All APIs related to creating bookings on the platform.
40
+ - [Travel Agent](/travel-agent): The Travel Agent API exposes endpoints to manage agent-facilitated bookings.
41
+
42
+ ### Produce APIs
43
+ Produce endpoints are for developers who want to create and manage travel blocking.
44
+
45
+ #### Property
46
+ - [Property registration](/extranet/property/register): As a producer, this is, oftentimes, where you start your journey. These endpoints let you create properties on Wink.
47
+ - [Property](/extranet/property): This collection of property endpoints are mostly management endpoints that let you display, change status and similar for your existing properties.
48
+ - [Facilities](/extranet/facilities): This collection of endpoints let you manage facilities; such as room types.
49
+ - [Experiences](/extranet/experiences): This collection of endpoints let you manage experiences, such as activities.
50
+ - [Monetize](/extranet/monetize): The Monetize API exposes endpoints for managing cancellation polies, rate plans, promotions and more on Wink.
51
+ - [Distribution](/extranet/distribution): The Distribution API exposes endpoints for sales channels, connecting with affiliates, managing rates and blocking calendars and more on Wink.
52
+ - [Property Booking](/extranet/booking): The Property Booking API exposes endpoints for managing bookings and reviews at the property-level.
53
+
54
+ #### Affiliate
55
+ - [Affiliate](/affiliate): This collection of affiliate endpoints are mostly management endpoints that let you display, change status and similar for your existing accounts.
56
+ - [Browse](/affiliate/browse): The Browse API exposes endpoints for affiliates to find suppliers and blocking to sell.
57
+ - [Inventory](/affiliate/blocking): The Inventory API exposes endpoints for affiliates to manage the blocking they want to sell and how they want to sell it.
58
+ - [Sales Channel](/affiliate/sales-channel): The Sales Channel API exposes endpoints for affiliates to manage existing sales channels as well as find new ones.
59
+ - [WinkLinks](/affiliate/winklinks): The WinkLinks API exposes endpoints for affiliates to manage their WinkLinks page.
60
+
61
+ #### Rate provider
62
+ - [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.
63
+
64
+ ### Taxonomy APIs
65
+ Taxonomy endpoints are for developers who want to consume and produce travel blocking and need taxonomies of standard and non-standard codes for blocking types, classes, statuses etc.
66
+
67
+ - [Reference](/reactive): All APIs related to retrieving platform-supported taxonomies.
68
+
69
+ ### Insight APIs
70
+ Insight endpoints do exactly what the name implies - They offer platform-level insight into the activities of producers and consumers.
71
+
72
+ - [Analytics](/analytics): All APIs related to tracking metrics across a wide variety of data source segments including, more entertaining, leaderboard metrics.
73
+
74
+ ### Payment APIs
75
+ Payment endpoints are for developers who want to purchase travel blocking. This can be done via the API as a registered Travel Agent or using our API in conjunction with our PCI compliant reactive widget for all other entities.
76
+
77
+ - [TripPay](/reactive): All APIs related to TripPay account management, booking, mapping and integration features.
78
+
79
+ ## SDKs
80
+ 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).
81
+
82
+ - Java SDK [https://github.com/wink-travel/wink-sdk-java](https://github.com/wink-travel/wink-sdk-java)
83
+
84
+ ## Usage
85
+ These features are made available to you via a [REST API](https://en.wikipedia.org/wiki/Representational_state_transfer). This API is language agnostic.
86
+
87
+ ## Versioning
88
+ 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.
89
+
90
+ ## Release history
91
+ - Follow updates on Github: https://github.com/wink-travel/wink-sdk-java/blob/master/CHANGELOG.md
92
+
93
+
94
+
95
+ # Travel Agent API
96
+ The Travel Agent API exposes endpoints to manage agent-facilitated bookings. This API lets you:
97
+
98
+ 1. Travel Agent: Manage agent entity.
99
+ 2. Booking: Create / Manage bookings
100
+
101
+ Browse the endpoints in the left navigation bar to get started.
102
+
103
+
104
+
105
+ This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
106
+
107
+ - API version: 30.7.10
108
+ - Package version: 0.0.3
109
+ - Generator version: 7.9.0
110
+ - Build package: org.openapitools.codegen.languages.PythonClientCodegen
111
+
112
+ ## Requirements.
113
+
114
+ Python 3.7+
115
+
116
+ ## Installation & Usage
117
+ ### pip install
118
+
119
+ You can install the package from PyPi using:
120
+ ```sh
121
+ pip install wink_sdk_travel_agent
122
+ ```
123
+
124
+ Or you can install it directly from the repository using:
125
+ ```sh
126
+ pip install git+https://github.com/wink-travel/wink-sdk-python.git@v0.0.3#egg=wink_sdk_travel_agent&subdirectory=wink-sdk-travel-agent
127
+ ```
128
+ (you may need to run `pip` with root permission: `sudo pip install git+https://github.com/wink-travel/wink-sdk-python.git@v0.0.3#egg=wink_sdk_travel_agent&subdirectory=wink_sdk_travel_agent`)
129
+
130
+ Then import the package:
131
+ ```python
132
+ import wink_sdk_travel_agent
133
+ ```
134
+
135
+ ### Setuptools
136
+
137
+ Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
138
+
139
+ ```sh
140
+ python setup.py install --user
141
+ ```
142
+ (or `sudo python setup.py install` to install the package for all users)
143
+
144
+ Then import the package:
145
+ ```python
146
+ import wink_sdk_travel_agent
147
+ ```
148
+
149
+ ### Tests
150
+
151
+ Execute `pytest` to run the tests.
152
+
153
+ ## Getting Started
154
+
155
+ Please follow the [installation procedure](#installation--usage) and then run the following:
156
+
157
+ ```python
158
+
159
+ import wink_sdk_travel_agent
160
+ from wink_sdk_travel_agent.rest import ApiException
161
+ from pprint import pprint
162
+
163
+ # Defining the host is optional and defaults to https://api.wink.travel
164
+ # See configuration.py for a list of all supported configuration parameters.
165
+ configuration = wink_sdk_travel_agent.Configuration(
166
+ host = "https://api.wink.travel"
167
+ )
168
+
169
+ # The client must configure the authentication and authorization parameters
170
+ # in accordance with the API server security policy.
171
+ # Examples for each auth method are provided below, use the example that
172
+ # satisfies your auth use case.
173
+
174
+ configuration.access_token = os.environ["ACCESS_TOKEN"]
175
+
176
+
177
+ # Enter a context with an instance of the API client
178
+ with wink_sdk_travel_agent.ApiClient(configuration) as api_client:
179
+ # Create an instance of the API class
180
+ api_instance = wink_sdk_travel_agent.TravelAgentApi(api_client)
181
+ company_identifier = 'company-1' # str | Cancel booking owned by company identifier
182
+ booking_identifier = 'booking-1' # str | Cancel booking by identifier
183
+ cancellation_detail_agent = wink_sdk_travel_agent.CancellationDetailAgent() # CancellationDetailAgent |
184
+ wink_version = 'wink_version_example' # str | (optional)
185
+
186
+ try:
187
+ # Cancel Booking
188
+ api_response = api_instance.cancel_booking_as_travel_agent(company_identifier, booking_identifier, cancellation_detail_agent, wink_version=wink_version)
189
+ print("The response of TravelAgentApi->cancel_booking_as_travel_agent:\n")
190
+ pprint(api_response)
191
+ except ApiException as e:
192
+ print("Exception when calling TravelAgentApi->cancel_booking_as_travel_agent: %s\n" % e)
193
+
194
+ ```
195
+
196
+ ## Documentation for API Endpoints
197
+
198
+ All URIs are relative to *https://api.wink.travel*
199
+
200
+ Class | Method | HTTP request | Description
201
+ ------------ | ------------- | ------------- | -------------
202
+ *TravelAgentApi* | [**cancel_booking_as_travel_agent**](docs/TravelAgentApi.md#cancel_booking_as_travel_agent) | **PATCH** /api/affiliate/{companyIdentifier}/booking/{bookingIdentifier} | Cancel Booking
203
+ *TravelAgentApi* | [**create_agent_booking**](docs/TravelAgentApi.md#create_agent_booking) | **POST** /api/booking/agent | Create Agent Booking
204
+ *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
205
+ *TravelAgentApi* | [**show_booking_as_travel_agent**](docs/TravelAgentApi.md#show_booking_as_travel_agent) | **GET** /api/affiliate/{companyIdentifier}/booking/{bookingIdentifier} | Show Booking
206
+ *TravelAgentApi* | [**show_booking_grid_as_travel_agent**](docs/TravelAgentApi.md#show_booking_grid_as_travel_agent) | **POST** /api/affiliate/{companyIdentifier}/booking/grid | Show Bookings
207
+ *TravelAgentApi* | [**update_agent**](docs/TravelAgentApi.md#update_agent) | **PATCH** /api/affiliate/{companyIdentifier}/agent | Update Agent
208
+
209
+
210
+ ## Documentation For Models
211
+
212
+ - [AddressAgent](docs/AddressAgent.md)
213
+ - [AgentBookingRequestAgent](docs/AgentBookingRequestAgent.md)
214
+ - [AggregateDescriptorAgent](docs/AggregateDescriptorAgent.md)
215
+ - [AncillaryRequestAgent](docs/AncillaryRequestAgent.md)
216
+ - [AuthenticatedUserAgent](docs/AuthenticatedUserAgent.md)
217
+ - [BedAgent](docs/BedAgent.md)
218
+ - [BedroomAgent](docs/BedroomAgent.md)
219
+ - [BedroomConfigurationAgent](docs/BedroomConfigurationAgent.md)
220
+ - [BeneficiaryAgent](docs/BeneficiaryAgent.md)
221
+ - [BeneficiaryChargeAgent](docs/BeneficiaryChargeAgent.md)
222
+ - [BookingAgent](docs/BookingAgent.md)
223
+ - [BookingAncillaryAgent](docs/BookingAncillaryAgent.md)
224
+ - [BookingConfirmationsAgent](docs/BookingConfirmationsAgent.md)
225
+ - [BookingContractAgent](docs/BookingContractAgent.md)
226
+ - [BookingContractItemAgent](docs/BookingContractItemAgent.md)
227
+ - [BookingContractPaymentDetailsAgent](docs/BookingContractPaymentDetailsAgent.md)
228
+ - [BookingItineraryAgent](docs/BookingItineraryAgent.md)
229
+ - [BookingItineraryRoomConfigurationAgent](docs/BookingItineraryRoomConfigurationAgent.md)
230
+ - [BookingItineraryRoomConfigurationChildAgent](docs/BookingItineraryRoomConfigurationChildAgent.md)
231
+ - [BookingUserAgent](docs/BookingUserAgent.md)
232
+ - [BookingUserRequestAgent](docs/BookingUserRequestAgent.md)
233
+ - [BookingUserSessionAgent](docs/BookingUserSessionAgent.md)
234
+ - [BookingViewAgent](docs/BookingViewAgent.md)
235
+ - [BooleanResponseAgent](docs/BooleanResponseAgent.md)
236
+ - [CancellationDetailAgent](docs/CancellationDetailAgent.md)
237
+ - [CancellationPolicyAgent](docs/CancellationPolicyAgent.md)
238
+ - [CancellationPolicyExceptionAgent](docs/CancellationPolicyExceptionAgent.md)
239
+ - [CancellationPolicyExceptionsAgent](docs/CancellationPolicyExceptionsAgent.md)
240
+ - [ChildAgent](docs/ChildAgent.md)
241
+ - [CommissionableEntryAgent](docs/CommissionableEntryAgent.md)
242
+ - [CompanyAgent](docs/CompanyAgent.md)
243
+ - [CompanyUserAgent](docs/CompanyUserAgent.md)
244
+ - [CompanyViewAgent](docs/CompanyViewAgent.md)
245
+ - [CompositeFilterDescriptorAgent](docs/CompositeFilterDescriptorAgent.md)
246
+ - [ContactAgent](docs/ContactAgent.md)
247
+ - [CountryAgent](docs/CountryAgent.md)
248
+ - [CreateAgentBooking400Response](docs/CreateAgentBooking400Response.md)
249
+ - [CreateAgentBookingRequestAgent](docs/CreateAgentBookingRequestAgent.md)
250
+ - [CustomMonetaryAmount](docs/CustomMonetaryAmount.md)
251
+ - [DailyRateAgent](docs/DailyRateAgent.md)
252
+ - [DowPatternGroupAgent](docs/DowPatternGroupAgent.md)
253
+ - [EngineConfigurationBookingReportAgent](docs/EngineConfigurationBookingReportAgent.md)
254
+ - [EngineConfigurationThemeAgent](docs/EngineConfigurationThemeAgent.md)
255
+ - [ExtraChargeAgent](docs/ExtraChargeAgent.md)
256
+ - [ExtraChargesAgent](docs/ExtraChargesAgent.md)
257
+ - [FeeAgent](docs/FeeAgent.md)
258
+ - [FilterDescriptorAgent](docs/FilterDescriptorAgent.md)
259
+ - [GeneralManagerAgent](docs/GeneralManagerAgent.md)
260
+ - [GenericErrorMessage](docs/GenericErrorMessage.md)
261
+ - [GeoJsonPointAgent](docs/GeoJsonPointAgent.md)
262
+ - [GeoNameAgent](docs/GeoNameAgent.md)
263
+ - [GroupDescriptorAgent](docs/GroupDescriptorAgent.md)
264
+ - [GuestRoomAgent](docs/GuestRoomAgent.md)
265
+ - [GuestUserAgent](docs/GuestUserAgent.md)
266
+ - [HotelOnMapAgent](docs/HotelOnMapAgent.md)
267
+ - [ImageAttributionAgent](docs/ImageAttributionAgent.md)
268
+ - [LocalizedDescriptionAgent](docs/LocalizedDescriptionAgent.md)
269
+ - [LocalizedPriceAgent](docs/LocalizedPriceAgent.md)
270
+ - [PageBookingViewAgent](docs/PageBookingViewAgent.md)
271
+ - [PageableObjectAgent](docs/PageableObjectAgent.md)
272
+ - [PayoutAgent](docs/PayoutAgent.md)
273
+ - [PayoutFeeAgent](docs/PayoutFeeAgent.md)
274
+ - [PendingRefundAgent](docs/PendingRefundAgent.md)
275
+ - [PersonalAgent](docs/PersonalAgent.md)
276
+ - [PetInfoDtoAgent](docs/PetInfoDtoAgent.md)
277
+ - [PreferencesAgent](docs/PreferencesAgent.md)
278
+ - [ProfileAgent](docs/ProfileAgent.md)
279
+ - [ProfileUserAgent](docs/ProfileUserAgent.md)
280
+ - [PropertyPolicyAgent](docs/PropertyPolicyAgent.md)
281
+ - [QuoteAgent](docs/QuoteAgent.md)
282
+ - [RatePlanAgent](docs/RatePlanAgent.md)
283
+ - [RatePlanLevelFeeAgent](docs/RatePlanLevelFeeAgent.md)
284
+ - [RefundAgent](docs/RefundAgent.md)
285
+ - [ReportingAncillaryAgent](docs/ReportingAncillaryAgent.md)
286
+ - [ReportingDailyRateAgent](docs/ReportingDailyRateAgent.md)
287
+ - [ReportingExtraChargeAgent](docs/ReportingExtraChargeAgent.md)
288
+ - [ReviewAgent](docs/ReviewAgent.md)
289
+ - [ReviewAnswerAgent](docs/ReviewAnswerAgent.md)
290
+ - [ReviewUserAgent](docs/ReviewUserAgent.md)
291
+ - [RoomConfigurationAgent](docs/RoomConfigurationAgent.md)
292
+ - [RoomStayAgent](docs/RoomStayAgent.md)
293
+ - [SimpleDateTimeItineraryAgent](docs/SimpleDateTimeItineraryAgent.md)
294
+ - [SimpleDescriptionAgent](docs/SimpleDescriptionAgent.md)
295
+ - [SimpleMultimediaAgent](docs/SimpleMultimediaAgent.md)
296
+ - [SocialAgent](docs/SocialAgent.md)
297
+ - [SortDescriptorAgent](docs/SortDescriptorAgent.md)
298
+ - [SortObject](docs/SortObject.md)
299
+ - [StateAgent](docs/StateAgent.md)
300
+ - [StayRateAgent](docs/StayRateAgent.md)
301
+ - [SubCountryAgent](docs/SubCountryAgent.md)
302
+ - [SubSubCountryAgent](docs/SubSubCountryAgent.md)
303
+ - [SupplierContractItemPolicyAgent](docs/SupplierContractItemPolicyAgent.md)
304
+ - [TravelAgentAgent](docs/TravelAgentAgent.md)
305
+ - [TravelInventoryRecognitionAgent](docs/TravelInventoryRecognitionAgent.md)
306
+ - [UpsertTravelAgentRequestAgent](docs/UpsertTravelAgentRequestAgent.md)
307
+
308
+
309
+ <a id="documentation-for-authorization"></a>
310
+ ## Documentation For Authorization
311
+
312
+
313
+ Authentication schemes defined for the API:
314
+ <a id="oauth2ClientCredentials"></a>
315
+ ### oauth2ClientCredentials
316
+
317
+ - **Type**: OAuth
318
+ - **Flow**: application
319
+ - **Authorization URL**: https://iam.wink.travel/oauth2/authorize
320
+ - **Scopes**:
321
+ - **inventory.read**: Read Wink data
322
+ - **inventory.write**: Create Wink data
323
+ - **inventory.remove**: Remove Wink data
324
+
325
+
326
+ ## Author
327
+
328
+ bjorn@wink.travel
329
+
330
+
@@ -0,0 +1,72 @@
1
+ [tool.poetry]
2
+ name = "wink_sdk_travel_agent"
3
+ version = "0.0.3"
4
+ description = "Wink API"
5
+ authors = ["Bjorn Harvold <bjorn@wink.travel>"]
6
+ license = "NoLicense"
7
+ readme = "README.md"
8
+ repository = "https://github.com/wink-travel/wink-sdk-python"
9
+ keywords = ["OpenAPI", "OpenAPI-Generator", "Wink API"]
10
+ include = ["wink_sdk_travel_agent/py.typed"]
11
+
12
+ [tool.poetry.dependencies]
13
+ python = "^3.8"
14
+
15
+ urllib3 = ">= 1.25.3 < 3.0.0"
16
+ python-dateutil = ">= 2.8.2"
17
+ pydantic = ">= 2"
18
+ typing-extensions = ">= 4.7.1"
19
+
20
+ [tool.poetry.dev-dependencies]
21
+ pytest = ">= 7.2.1"
22
+ pytest-cov = ">= 2.8.1"
23
+ tox = ">= 3.9.0"
24
+ flake8 = ">= 4.0.0"
25
+ types-python-dateutil = ">= 2.8.19.14"
26
+ mypy = ">= 1.5"
27
+
28
+
29
+ [build-system]
30
+ requires = ["setuptools"]
31
+ build-backend = "setuptools.build_meta"
32
+
33
+ [tool.pylint.'MESSAGES CONTROL']
34
+ extension-pkg-whitelist = "pydantic"
35
+
36
+ [tool.mypy]
37
+ files = [
38
+ "wink_sdk_travel_agent",
39
+ #"test", # auto-generated tests
40
+ "tests", # hand-written tests
41
+ ]
42
+ # TODO: enable "strict" once all these individual checks are passing
43
+ # strict = true
44
+
45
+ # List from: https://mypy.readthedocs.io/en/stable/existing_code.html#introduce-stricter-options
46
+ warn_unused_configs = true
47
+ warn_redundant_casts = true
48
+ warn_unused_ignores = true
49
+
50
+ ## Getting these passing should be easy
51
+ strict_equality = true
52
+ strict_concatenate = true
53
+
54
+ ## Strongly recommend enabling this one as soon as you can
55
+ check_untyped_defs = true
56
+
57
+ ## These shouldn't be too much additional work, but may be tricky to
58
+ ## get passing if you use a lot of untyped libraries
59
+ disallow_subclassing_any = true
60
+ disallow_untyped_decorators = true
61
+ disallow_any_generics = true
62
+
63
+ ### These next few are various gradations of forcing use of type annotations
64
+ #disallow_untyped_calls = true
65
+ #disallow_incomplete_defs = true
66
+ #disallow_untyped_defs = true
67
+ #
68
+ ### This one isn't too hard to get passing, but return on investment is lower
69
+ #no_implicit_reexport = true
70
+ #
71
+ ### This one can be tricky to get passing if you use a lot of untyped libraries
72
+ #warn_return_any = true
@@ -0,0 +1,7 @@
1
+ [flake8]
2
+ max-line-length = 99
3
+
4
+ [egg_info]
5
+ tag_build =
6
+ tag_date = 0
7
+