stadiamaps 2.1.0__tar.gz → 3.1.0__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.
Files changed (257) hide show
  1. {stadiamaps-2.1.0/stadiamaps.egg-info → stadiamaps-3.1.0}/PKG-INFO +1 -1
  2. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/pyproject.toml +1 -1
  3. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/setup.py +2 -2
  4. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/__init__.py +4 -2
  5. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/api/geocoding_api.py +6 -6
  6. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/api/geospatial_api.py +3 -3
  7. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/api/routing_api.py +12 -12
  8. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/api_client.py +37 -25
  9. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/configuration.py +3 -3
  10. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/exceptions.py +1 -1
  11. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/__init__.py +3 -1
  12. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/access.py +1 -1
  13. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/admin_region.py +1 -1
  14. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/administrative.py +1 -1
  15. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/auto_costing_options.py +1 -1
  16. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/base_costing_options.py +1 -1
  17. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/base_trace_request.py +1 -1
  18. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/bicycle_costing_options.py +1 -1
  19. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/bike_network.py +1 -1
  20. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/contour.py +1 -1
  21. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/coordinate.py +1 -1
  22. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/costing_model.py +2 -2
  23. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/costing_options.py +9 -3
  24. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/directions_options.py +1 -1
  25. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/distance_unit.py +1 -1
  26. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/edge_sign.py +1 -1
  27. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/edge_use.py +1 -1
  28. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/end_node.py +1 -1
  29. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/geo_attributes.py +1 -1
  30. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/geo_json_geometry.py +3 -3
  31. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/geo_json_geometry_base.py +1 -1
  32. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/geo_json_line_string.py +1 -1
  33. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/geo_json_point.py +1 -1
  34. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/geo_json_polygon.py +1 -1
  35. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/geocoding_object.py +1 -1
  36. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/height_request.py +1 -1
  37. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/height_response.py +1 -1
  38. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/highway_classification.py +1 -1
  39. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/intersecting_edge.py +1 -1
  40. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/isochrone_costing_model.py +1 -1
  41. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/isochrone_feature.py +1 -1
  42. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/isochrone_properties.py +1 -1
  43. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/isochrone_request.py +1 -1
  44. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/isochrone_response.py +1 -1
  45. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/locate_detailed_edge.py +1 -1
  46. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/locate_edge.py +1 -1
  47. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/locate_edge_info.py +1 -1
  48. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/locate_node.py +1 -1
  49. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/locate_object.py +1 -1
  50. stadiamaps-3.1.0/stadiamaps/models/low_speed_vehicle_costing_options.py +140 -0
  51. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/maneuver_sign.py +1 -1
  52. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/maneuver_sign_element.py +1 -1
  53. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/map_match_costing_model.py +1 -1
  54. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/map_match_request.py +1 -1
  55. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/map_match_route_response.py +1 -1
  56. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/map_match_trace_options.py +1 -1
  57. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/map_match_waypoint.py +1 -1
  58. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/matched_point.py +1 -1
  59. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/matrix_costing_model.py +1 -1
  60. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/matrix_distance.py +14 -4
  61. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/matrix_request.py +6 -6
  62. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/matrix_response.py +3 -3
  63. stadiamaps-3.1.0/stadiamaps/models/matrix_waypoint.py +106 -0
  64. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/motor_scooter_costing_options.py +1 -1
  65. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/motorcycle_costing_options.py +1 -1
  66. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/nearest_roads_request.py +1 -1
  67. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/node_id.py +1 -1
  68. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/node_type.py +1 -1
  69. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/optimized_route_request.py +1 -1
  70. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/pedestrian_costing_options.py +1 -1
  71. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/pelias_geo_json_feature.py +1 -1
  72. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/pelias_geo_json_properties.py +1 -1
  73. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/pelias_geo_json_properties_addendum.py +1 -1
  74. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/pelias_geo_json_properties_addendum_osm.py +1 -1
  75. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/pelias_layer.py +1 -1
  76. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/pelias_response.py +1 -1
  77. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/pelias_source.py +1 -1
  78. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/restrictions.py +1 -1
  79. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/road_class.py +1 -1
  80. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/route_leg.py +9 -5
  81. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/route_maneuver.py +1 -1
  82. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/route_request.py +8 -4
  83. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/route_response.py +1 -1
  84. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/route_response_alternates_inner.py +1 -1
  85. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/route_summary.py +1 -1
  86. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/route_trip.py +1 -1
  87. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/routing_response_waypoint.py +1 -1
  88. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/routing_waypoint.py +1 -1
  89. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/routing_waypoint_all_of_search_filter.py +1 -1
  90. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/simple_routing_waypoint.py +1 -1
  91. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/speeds.py +1 -1
  92. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/trace_attribute_filter_options.py +1 -1
  93. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/trace_attribute_key.py +1 -1
  94. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/trace_attributes_base_response.py +1 -1
  95. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/trace_attributes_request.py +1 -1
  96. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/trace_attributes_response.py +1 -1
  97. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/trace_edge.py +1 -1
  98. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/travel_mode.py +1 -1
  99. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/traversability.py +1 -1
  100. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/truck_costing_options.py +1 -1
  101. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/tz_response.py +1 -1
  102. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/valhalla_languages.py +1 -1
  103. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/valhalla_long_units.py +1 -1
  104. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/warning.py +1 -1
  105. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/rest.py +3 -1
  106. {stadiamaps-2.1.0 → stadiamaps-3.1.0/stadiamaps.egg-info}/PKG-INFO +1 -1
  107. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps.egg-info/SOURCES.txt +4 -0
  108. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/integration/test_gecoding.py +8 -0
  109. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/integration/test_routing.py +66 -6
  110. stadiamaps-3.1.0/test/test_low_speed_vehicle_costing_options.py +66 -0
  111. stadiamaps-3.1.0/test/test_matrix_waypoint.py +56 -0
  112. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/LICENSE.txt +0 -0
  113. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/README.md +0 -0
  114. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/setup.cfg +0 -0
  115. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/api/__init__.py +0 -0
  116. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/api_response.py +0 -0
  117. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/auto_costing_options_all_of.py +0 -0
  118. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/bicycle_costing_options_all_of.py +0 -0
  119. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/geo_json_line_string_all_of.py +0 -0
  120. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/geo_json_point_all_of.py +0 -0
  121. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/geo_json_polygon_all_of.py +0 -0
  122. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/locate_node_all_of.py +0 -0
  123. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/map_match_request_all_of.py +0 -0
  124. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/map_match_route_response_all_of.py +0 -0
  125. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/map_match_waypoint_all_of.py +0 -0
  126. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/motor_scooter_costing_options_all_of.py +0 -0
  127. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/motorcycle_costing_options_all_of.py +0 -0
  128. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/pelias_response_geocoding.py +0 -0
  129. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/route_response_trip.py +0 -0
  130. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/routing_response_waypoint_all_of.py +0 -0
  131. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/routing_waypoint_all_of.py +0 -0
  132. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/simple_routing_waypoint_all_of.py +0 -0
  133. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/trace_attributes_request_all_of.py +0 -0
  134. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/trace_attributes_request_all_of_filters.py +0 -0
  135. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/trace_attributes_response_all_of.py +0 -0
  136. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/models/truck_costing_options_all_of.py +0 -0
  137. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps/py.typed +0 -0
  138. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps.egg-info/dependency_links.txt +0 -0
  139. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps.egg-info/requires.txt +0 -0
  140. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/stadiamaps.egg-info/top_level.txt +0 -0
  141. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/integration/__init__.py +0 -0
  142. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/integration/test_eu_endpoint.py +0 -0
  143. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/integration/test_geospatial.py +0 -0
  144. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_access.py +0 -0
  145. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_admin_region.py +0 -0
  146. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_administrative.py +0 -0
  147. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_auto_costing_options.py +0 -0
  148. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_auto_costing_options_all_of.py +0 -0
  149. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_base_costing_options.py +0 -0
  150. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_base_trace_request.py +0 -0
  151. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_bicycle_costing_options.py +0 -0
  152. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_bicycle_costing_options_all_of.py +0 -0
  153. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_bike_network.py +0 -0
  154. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_contour.py +0 -0
  155. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_coordinate.py +0 -0
  156. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_costing_model.py +0 -0
  157. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_costing_options.py +0 -0
  158. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_directions_options.py +0 -0
  159. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_distance_unit.py +0 -0
  160. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_edge_sign.py +0 -0
  161. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_edge_use.py +0 -0
  162. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_end_node.py +0 -0
  163. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_geo_attributes.py +0 -0
  164. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_geo_json_geometry.py +0 -0
  165. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_geo_json_geometry_base.py +0 -0
  166. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_geo_json_line_string.py +0 -0
  167. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_geo_json_line_string_all_of.py +0 -0
  168. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_geo_json_point.py +0 -0
  169. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_geo_json_point_all_of.py +0 -0
  170. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_geo_json_polygon.py +0 -0
  171. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_geo_json_polygon_all_of.py +0 -0
  172. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_geocoding_api.py +0 -0
  173. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_geocoding_object.py +0 -0
  174. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_geospatial_api.py +0 -0
  175. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_height_request.py +0 -0
  176. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_height_response.py +0 -0
  177. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_highway_classification.py +0 -0
  178. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_intersecting_edge.py +0 -0
  179. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_isochrone_costing_model.py +0 -0
  180. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_isochrone_feature.py +0 -0
  181. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_isochrone_properties.py +0 -0
  182. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_isochrone_request.py +0 -0
  183. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_isochrone_response.py +0 -0
  184. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_locate_detailed_edge.py +0 -0
  185. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_locate_edge.py +0 -0
  186. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_locate_edge_info.py +0 -0
  187. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_locate_node.py +0 -0
  188. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_locate_node_all_of.py +0 -0
  189. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_locate_object.py +0 -0
  190. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_maneuver_sign.py +0 -0
  191. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_maneuver_sign_element.py +0 -0
  192. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_map_match_costing_model.py +0 -0
  193. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_map_match_request.py +0 -0
  194. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_map_match_request_all_of.py +0 -0
  195. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_map_match_route_response.py +0 -0
  196. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_map_match_route_response_all_of.py +0 -0
  197. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_map_match_trace_options.py +0 -0
  198. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_map_match_waypoint.py +0 -0
  199. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_map_match_waypoint_all_of.py +0 -0
  200. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_matched_point.py +0 -0
  201. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_matrix_costing_model.py +0 -0
  202. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_matrix_distance.py +0 -0
  203. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_matrix_request.py +0 -0
  204. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_matrix_response.py +0 -0
  205. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_motor_scooter_costing_options.py +0 -0
  206. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_motor_scooter_costing_options_all_of.py +0 -0
  207. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_motorcycle_costing_options.py +0 -0
  208. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_motorcycle_costing_options_all_of.py +0 -0
  209. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_nearest_roads_request.py +0 -0
  210. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_node_id.py +0 -0
  211. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_node_type.py +0 -0
  212. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_optimized_route_request.py +0 -0
  213. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_pedestrian_costing_options.py +0 -0
  214. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_pelias_geo_json_feature.py +0 -0
  215. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_pelias_geo_json_properties.py +0 -0
  216. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_pelias_geo_json_properties_addendum.py +0 -0
  217. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_pelias_geo_json_properties_addendum_osm.py +0 -0
  218. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_pelias_layer.py +0 -0
  219. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_pelias_response.py +0 -0
  220. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_pelias_response_geocoding.py +0 -0
  221. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_pelias_source.py +0 -0
  222. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_restrictions.py +0 -0
  223. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_road_class.py +0 -0
  224. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_route_leg.py +0 -0
  225. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_route_maneuver.py +0 -0
  226. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_route_request.py +0 -0
  227. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_route_response.py +0 -0
  228. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_route_response_alternates_inner.py +0 -0
  229. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_route_response_trip.py +0 -0
  230. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_route_summary.py +0 -0
  231. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_route_trip.py +0 -0
  232. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_routing_api.py +0 -0
  233. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_routing_response_waypoint.py +0 -0
  234. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_routing_response_waypoint_all_of.py +0 -0
  235. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_routing_waypoint.py +0 -0
  236. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_routing_waypoint_all_of.py +0 -0
  237. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_routing_waypoint_all_of_search_filter.py +0 -0
  238. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_simple_routing_waypoint.py +0 -0
  239. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_simple_routing_waypoint_all_of.py +0 -0
  240. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_speeds.py +0 -0
  241. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_trace_attribute_filter_options.py +0 -0
  242. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_trace_attribute_key.py +0 -0
  243. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_trace_attributes_base_response.py +0 -0
  244. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_trace_attributes_request.py +0 -0
  245. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_trace_attributes_request_all_of.py +0 -0
  246. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_trace_attributes_request_all_of_filters.py +0 -0
  247. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_trace_attributes_response.py +0 -0
  248. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_trace_attributes_response_all_of.py +0 -0
  249. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_trace_edge.py +0 -0
  250. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_travel_mode.py +0 -0
  251. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_traversability.py +0 -0
  252. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_truck_costing_options.py +0 -0
  253. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_truck_costing_options_all_of.py +0 -0
  254. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_tz_response.py +0 -0
  255. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_valhalla_languages.py +0 -0
  256. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_valhalla_long_units.py +0 -0
  257. {stadiamaps-2.1.0 → stadiamaps-3.1.0}/test/test_warning.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stadiamaps
3
- Version: 2.1.0
3
+ Version: 3.1.0
4
4
  Summary: Stadia Maps Geospatial APIs
5
5
  Home-page: https://github.com/stadiamaps/stadiamaps-api-py
6
6
  Author: Stadia Maps Support
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "stadiamaps"
3
- version = "2.1.0"
3
+ version = "3.1.0"
4
4
  description = "Stadia Maps Geospatial APIs"
5
5
  authors = ["Stadia Maps Support <support@stadiamaps.com>"]
6
6
  license = "BSD-3-Clause"
@@ -5,7 +5,7 @@
5
5
 
6
6
  The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
7
7
 
8
- The version of the OpenAPI document: 6.1.0
8
+ The version of the OpenAPI document: 6.3.0
9
9
  Contact: support@stadiamaps.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -22,7 +22,7 @@ from setuptools import setup, find_packages # noqa: H301
22
22
  # prerequisite: setuptools
23
23
  # http://pypi.python.org/pypi/setuptools
24
24
  NAME = "stadiamaps"
25
- VERSION = "2.1.0"
25
+ VERSION = "3.1.0"
26
26
  PYTHON_REQUIRES = ">=3.7"
27
27
  REQUIRES = [
28
28
  "urllib3 >= 1.25.3, < 2.1.0",
@@ -7,7 +7,7 @@
7
7
 
8
8
  The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
9
9
 
10
- The version of the OpenAPI document: 6.1.0
10
+ The version of the OpenAPI document: 6.3.0
11
11
  Contact: support@stadiamaps.com
12
12
  Generated by OpenAPI Generator (https://openapi-generator.tech)
13
13
 
@@ -15,7 +15,7 @@
15
15
  """ # noqa: E501
16
16
 
17
17
 
18
- __version__ = "2.1.0"
18
+ __version__ = "3.1.0"
19
19
 
20
20
  # import apis into sdk package
21
21
  from stadiamaps.api.geocoding_api import GeocodingApi
@@ -72,6 +72,7 @@ from stadiamaps.models.locate_edge import LocateEdge
72
72
  from stadiamaps.models.locate_edge_info import LocateEdgeInfo
73
73
  from stadiamaps.models.locate_node import LocateNode
74
74
  from stadiamaps.models.locate_object import LocateObject
75
+ from stadiamaps.models.low_speed_vehicle_costing_options import LowSpeedVehicleCostingOptions
75
76
  from stadiamaps.models.maneuver_sign import ManeuverSign
76
77
  from stadiamaps.models.maneuver_sign_element import ManeuverSignElement
77
78
  from stadiamaps.models.map_match_costing_model import MapMatchCostingModel
@@ -84,6 +85,7 @@ from stadiamaps.models.matrix_costing_model import MatrixCostingModel
84
85
  from stadiamaps.models.matrix_distance import MatrixDistance
85
86
  from stadiamaps.models.matrix_request import MatrixRequest
86
87
  from stadiamaps.models.matrix_response import MatrixResponse
88
+ from stadiamaps.models.matrix_waypoint import MatrixWaypoint
87
89
  from stadiamaps.models.motor_scooter_costing_options import MotorScooterCostingOptions
88
90
  from stadiamaps.models.motorcycle_costing_options import MotorcycleCostingOptions
89
91
  from stadiamaps.models.nearest_roads_request import NearestRoadsRequest
@@ -5,7 +5,7 @@
5
5
 
6
6
  The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
7
7
 
8
- The version of the OpenAPI document: 6.1.0
8
+ The version of the OpenAPI document: 6.3.0
9
9
  Contact: support@stadiamaps.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -458,7 +458,7 @@ class GeocodingApi:
458
458
  _query_params: List[Tuple[str, str]] = []
459
459
  _header_params: Dict[str, Optional[str]] = _headers or {}
460
460
  _form_params: List[Tuple[str, str]] = []
461
- _files: Dict[str, str] = {}
461
+ _files: Dict[str, Union[str, bytes]] = {}
462
462
  _body_params: Optional[bytes] = None
463
463
 
464
464
  # process the path parameters
@@ -795,7 +795,7 @@ class GeocodingApi:
795
795
  _query_params: List[Tuple[str, str]] = []
796
796
  _header_params: Dict[str, Optional[str]] = _headers or {}
797
797
  _form_params: List[Tuple[str, str]] = []
798
- _files: Dict[str, str] = {}
798
+ _files: Dict[str, Union[str, bytes]] = {}
799
799
  _body_params: Optional[bytes] = None
800
800
 
801
801
  # process the path parameters
@@ -1169,7 +1169,7 @@ class GeocodingApi:
1169
1169
  _query_params: List[Tuple[str, str]] = []
1170
1170
  _header_params: Dict[str, Optional[str]] = _headers or {}
1171
1171
  _form_params: List[Tuple[str, str]] = []
1172
- _files: Dict[str, str] = {}
1172
+ _files: Dict[str, Union[str, bytes]] = {}
1173
1173
  _body_params: Optional[bytes] = None
1174
1174
 
1175
1175
  # process the path parameters
@@ -1662,7 +1662,7 @@ class GeocodingApi:
1662
1662
  _query_params: List[Tuple[str, str]] = []
1663
1663
  _header_params: Dict[str, Optional[str]] = _headers or {}
1664
1664
  _form_params: List[Tuple[str, str]] = []
1665
- _files: Dict[str, str] = {}
1665
+ _files: Dict[str, Union[str, bytes]] = {}
1666
1666
  _body_params: Optional[bytes] = None
1667
1667
 
1668
1668
  # process the path parameters
@@ -2274,7 +2274,7 @@ class GeocodingApi:
2274
2274
  _query_params: List[Tuple[str, str]] = []
2275
2275
  _header_params: Dict[str, Optional[str]] = _headers or {}
2276
2276
  _form_params: List[Tuple[str, str]] = []
2277
- _files: Dict[str, str] = {}
2277
+ _files: Dict[str, Union[str, bytes]] = {}
2278
2278
  _body_params: Optional[bytes] = None
2279
2279
 
2280
2280
  # process the path parameters
@@ -5,7 +5,7 @@
5
5
 
6
6
  The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
7
7
 
8
- The version of the OpenAPI document: 6.1.0
8
+ The version of the OpenAPI document: 6.3.0
9
9
  Contact: support@stadiamaps.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -260,7 +260,7 @@ class GeospatialApi:
260
260
  _query_params: List[Tuple[str, str]] = []
261
261
  _header_params: Dict[str, Optional[str]] = _headers or {}
262
262
  _form_params: List[Tuple[str, str]] = []
263
- _files: Dict[str, str] = {}
263
+ _files: Dict[str, Union[str, bytes]] = {}
264
264
  _body_params: Optional[bytes] = None
265
265
 
266
266
  # process the path parameters
@@ -560,7 +560,7 @@ class GeospatialApi:
560
560
  _query_params: List[Tuple[str, str]] = []
561
561
  _header_params: Dict[str, Optional[str]] = _headers or {}
562
562
  _form_params: List[Tuple[str, str]] = []
563
- _files: Dict[str, str] = {}
563
+ _files: Dict[str, Union[str, bytes]] = {}
564
564
  _body_params: Optional[bytes] = None
565
565
 
566
566
  # process the path parameters
@@ -5,7 +5,7 @@
5
5
 
6
6
  The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
7
7
 
8
- The version of the OpenAPI document: 6.1.0
8
+ The version of the OpenAPI document: 6.3.0
9
9
  Contact: support@stadiamaps.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -17,7 +17,7 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
17
17
  from typing import Any, Dict, List, Optional, Tuple, Union
18
18
  from typing_extensions import Annotated
19
19
 
20
- from typing import Optional
20
+ from typing import List, Optional
21
21
  from stadiamaps.models.isochrone_request import IsochroneRequest
22
22
  from stadiamaps.models.isochrone_response import IsochroneResponse
23
23
  from stadiamaps.models.locate_object import LocateObject
@@ -268,7 +268,7 @@ class RoutingApi:
268
268
  _query_params: List[Tuple[str, str]] = []
269
269
  _header_params: Dict[str, Optional[str]] = _headers or {}
270
270
  _form_params: List[Tuple[str, str]] = []
271
- _files: Dict[str, str] = {}
271
+ _files: Dict[str, Union[str, bytes]] = {}
272
272
  _body_params: Optional[bytes] = None
273
273
 
274
274
  # process the path parameters
@@ -545,7 +545,7 @@ class RoutingApi:
545
545
  _query_params: List[Tuple[str, str]] = []
546
546
  _header_params: Dict[str, Optional[str]] = _headers or {}
547
547
  _form_params: List[Tuple[str, str]] = []
548
- _files: Dict[str, str] = {}
548
+ _files: Dict[str, Union[str, bytes]] = {}
549
549
  _body_params: Optional[bytes] = None
550
550
 
551
551
  # process the path parameters
@@ -819,7 +819,7 @@ class RoutingApi:
819
819
  _query_params: List[Tuple[str, str]] = []
820
820
  _header_params: Dict[str, Optional[str]] = _headers or {}
821
821
  _form_params: List[Tuple[str, str]] = []
822
- _files: Dict[str, str] = {}
822
+ _files: Dict[str, Union[str, bytes]] = {}
823
823
  _body_params: Optional[bytes] = None
824
824
 
825
825
  # process the path parameters
@@ -1096,7 +1096,7 @@ class RoutingApi:
1096
1096
  _query_params: List[Tuple[str, str]] = []
1097
1097
  _header_params: Dict[str, Optional[str]] = _headers or {}
1098
1098
  _form_params: List[Tuple[str, str]] = []
1099
- _files: Dict[str, str] = {}
1099
+ _files: Dict[str, Union[str, bytes]] = {}
1100
1100
  _body_params: Optional[bytes] = None
1101
1101
 
1102
1102
  # process the path parameters
@@ -1373,7 +1373,7 @@ class RoutingApi:
1373
1373
  _query_params: List[Tuple[str, str]] = []
1374
1374
  _header_params: Dict[str, Optional[str]] = _headers or {}
1375
1375
  _form_params: List[Tuple[str, str]] = []
1376
- _files: Dict[str, str] = {}
1376
+ _files: Dict[str, Union[str, bytes]] = {}
1377
1377
  _body_params: Optional[bytes] = None
1378
1378
 
1379
1379
  # process the path parameters
@@ -1448,7 +1448,7 @@ class RoutingApi:
1448
1448
  ) -> MatrixResponse:
1449
1449
  """Calculate a time distance matrix for use in an optimizer.
1450
1450
 
1451
- The time distance matrix API lets you compare travel times between a set of possible start and end points. Note that this endpoint has a limit of 22,500 elements, regardless of the costing/mode of travel. A matrix request with 3 inputs and 5 outputs has 3 x 5 = 15 elements. For example, a matrix request with 3 inputs and 5 outputs has 3 x 5 = 15 elements. This means you could send a 150 x 150 or 30 x 750 matrix request (each having 22,500 elements), but not a 500 x 500 matrix (250,000 elements).
1451
+ The time distance matrix API lets you compare travel times between a set of possible start and end points. See https://docs.stadiamaps.com/limits/ for documentation of our latest limits.
1452
1452
 
1453
1453
  :param matrix_request:
1454
1454
  :type matrix_request: MatrixRequest
@@ -1516,7 +1516,7 @@ class RoutingApi:
1516
1516
  ) -> ApiResponse[MatrixResponse]:
1517
1517
  """Calculate a time distance matrix for use in an optimizer.
1518
1518
 
1519
- The time distance matrix API lets you compare travel times between a set of possible start and end points. Note that this endpoint has a limit of 22,500 elements, regardless of the costing/mode of travel. A matrix request with 3 inputs and 5 outputs has 3 x 5 = 15 elements. For example, a matrix request with 3 inputs and 5 outputs has 3 x 5 = 15 elements. This means you could send a 150 x 150 or 30 x 750 matrix request (each having 22,500 elements), but not a 500 x 500 matrix (250,000 elements).
1519
+ The time distance matrix API lets you compare travel times between a set of possible start and end points. See https://docs.stadiamaps.com/limits/ for documentation of our latest limits.
1520
1520
 
1521
1521
  :param matrix_request:
1522
1522
  :type matrix_request: MatrixRequest
@@ -1584,7 +1584,7 @@ class RoutingApi:
1584
1584
  ) -> RESTResponseType:
1585
1585
  """Calculate a time distance matrix for use in an optimizer.
1586
1586
 
1587
- The time distance matrix API lets you compare travel times between a set of possible start and end points. Note that this endpoint has a limit of 22,500 elements, regardless of the costing/mode of travel. A matrix request with 3 inputs and 5 outputs has 3 x 5 = 15 elements. For example, a matrix request with 3 inputs and 5 outputs has 3 x 5 = 15 elements. This means you could send a 150 x 150 or 30 x 750 matrix request (each having 22,500 elements), but not a 500 x 500 matrix (250,000 elements).
1587
+ The time distance matrix API lets you compare travel times between a set of possible start and end points. See https://docs.stadiamaps.com/limits/ for documentation of our latest limits.
1588
1588
 
1589
1589
  :param matrix_request:
1590
1590
  :type matrix_request: MatrixRequest
@@ -1647,7 +1647,7 @@ class RoutingApi:
1647
1647
  _query_params: List[Tuple[str, str]] = []
1648
1648
  _header_params: Dict[str, Optional[str]] = _headers or {}
1649
1649
  _form_params: List[Tuple[str, str]] = []
1650
- _files: Dict[str, str] = {}
1650
+ _files: Dict[str, Union[str, bytes]] = {}
1651
1651
  _body_params: Optional[bytes] = None
1652
1652
 
1653
1653
  # process the path parameters
@@ -1921,7 +1921,7 @@ class RoutingApi:
1921
1921
  _query_params: List[Tuple[str, str]] = []
1922
1922
  _header_params: Dict[str, Optional[str]] = _headers or {}
1923
1923
  _form_params: List[Tuple[str, str]] = []
1924
- _files: Dict[str, str] = {}
1924
+ _files: Dict[str, Union[str, bytes]] = {}
1925
1925
  _body_params: Optional[bytes] = None
1926
1926
 
1927
1927
  # process the path parameters
@@ -5,7 +5,7 @@
5
5
 
6
6
  The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
7
7
 
8
- The version of the OpenAPI document: 6.1.0
8
+ The version of the OpenAPI document: 6.3.0
9
9
  Contact: support@stadiamaps.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -23,7 +23,8 @@ import re
23
23
  import tempfile
24
24
 
25
25
  from urllib.parse import quote
26
- from typing import Tuple, Optional, List, Dict
26
+ from typing import Tuple, Optional, List, Dict, Union
27
+ from pydantic import SecretStr
27
28
 
28
29
  from stadiamaps.configuration import Configuration
29
30
  from stadiamaps.api_response import ApiResponse, T as ApiResponseT
@@ -88,7 +89,7 @@ class ApiClient:
88
89
  self.default_headers[header_name] = header_value
89
90
  self.cookie = cookie
90
91
  # Set default User-Agent.
91
- self.user_agent = 'OpenAPI-Generator/2.1.0/python'
92
+ self.user_agent = 'OpenAPI-Generator/3.1.0/python'
92
93
  self.client_side_validation = configuration.client_side_validation
93
94
 
94
95
  def __enter__(self):
@@ -208,7 +209,8 @@ class ApiClient:
208
209
  post_params,
209
210
  collection_formats
210
211
  )
211
- post_params.extend(self.files_parameters(files))
212
+ if files:
213
+ post_params.extend(self.files_parameters(files))
212
214
 
213
215
  # auth setting
214
216
  self.update_params_for_auth(
@@ -313,7 +315,10 @@ class ApiClient:
313
315
  match = re.search(r"charset=([a-zA-Z\-\d]+)[\s;]?", content_type)
314
316
  encoding = match.group(1) if match else "utf-8"
315
317
  response_text = response_data.data.decode(encoding)
316
- return_data = self.deserialize(response_text, response_type)
318
+ if response_type in ["bytearray", "str"]:
319
+ return_data = self.__deserialize_primitive(response_text, response_type)
320
+ else:
321
+ return_data = self.deserialize(response_text, response_type)
317
322
  finally:
318
323
  if not 200 <= response_data.status <= 299:
319
324
  raise ApiException.from_response(
@@ -333,6 +338,7 @@ class ApiClient:
333
338
  """Builds a JSON POST object.
334
339
 
335
340
  If obj is None, return None.
341
+ If obj is SecretStr, return obj.get_secret_value()
336
342
  If obj is str, int, long, float, bool, return directly.
337
343
  If obj is datetime.datetime, datetime.date
338
344
  convert to string in iso8601 format.
@@ -345,6 +351,10 @@ class ApiClient:
345
351
  """
346
352
  if obj is None:
347
353
  return None
354
+ elif isinstance(obj, Enum):
355
+ return obj.value
356
+ elif isinstance(obj, SecretStr):
357
+ return obj.get_secret_value()
348
358
  elif isinstance(obj, self.PRIMITIVE_TYPES):
349
359
  return obj
350
360
  elif isinstance(obj, list):
@@ -366,7 +376,10 @@ class ApiClient:
366
376
  # and attributes which value is not None.
367
377
  # Convert attribute name to json key in
368
378
  # model definition for request.
369
- obj_dict = obj.to_dict()
379
+ if hasattr(obj, 'to_dict') and callable(getattr(obj, 'to_dict')):
380
+ obj_dict = obj.to_dict()
381
+ else:
382
+ obj_dict = obj.__dict__
370
383
 
371
384
  return {
372
385
  key: self.sanitize_for_serialization(val)
@@ -505,31 +518,30 @@ class ApiClient:
505
518
 
506
519
  return "&".join(["=".join(map(str, item)) for item in new_params])
507
520
 
508
- def files_parameters(self, files=None):
521
+ def files_parameters(self, files: Dict[str, Union[str, bytes]]):
509
522
  """Builds form parameters.
510
523
 
511
524
  :param files: File parameters.
512
525
  :return: Form parameters with files.
513
526
  """
514
527
  params = []
515
-
516
- if files:
517
- for k, v in files.items():
518
- if not v:
519
- continue
520
- file_names = v if type(v) is list else [v]
521
- for n in file_names:
522
- with open(n, 'rb') as f:
523
- filename = os.path.basename(f.name)
524
- filedata = f.read()
525
- mimetype = (
526
- mimetypes.guess_type(filename)[0]
527
- or 'application/octet-stream'
528
- )
529
- params.append(
530
- tuple([k, tuple([filename, filedata, mimetype])])
531
- )
532
-
528
+ for k, v in files.items():
529
+ if isinstance(v, str):
530
+ with open(v, 'rb') as f:
531
+ filename = os.path.basename(f.name)
532
+ filedata = f.read()
533
+ elif isinstance(v, bytes):
534
+ filename = k
535
+ filedata = v
536
+ else:
537
+ raise ValueError("Unsupported file value")
538
+ mimetype = (
539
+ mimetypes.guess_type(filename)[0]
540
+ or 'application/octet-stream'
541
+ )
542
+ params.append(
543
+ tuple([k, tuple([filename, filedata, mimetype])])
544
+ )
533
545
  return params
534
546
 
535
547
  def select_header_accept(self, accepts: List[str]) -> Optional[str]:
@@ -5,7 +5,7 @@
5
5
 
6
6
  The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
7
7
 
8
- The version of the OpenAPI document: 6.1.0
8
+ The version of the OpenAPI document: 6.3.0
9
9
  Contact: support@stadiamaps.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -399,8 +399,8 @@ conf = stadiamaps.Configuration(
399
399
  return "Python SDK Debug Report:\n"\
400
400
  "OS: {env}\n"\
401
401
  "Python Version: {pyversion}\n"\
402
- "Version of the API: 6.1.0\n"\
403
- "SDK Package Version: 2.1.0".\
402
+ "Version of the API: 6.3.0\n"\
403
+ "SDK Package Version: 3.1.0".\
404
404
  format(env=sys.platform, pyversion=sys.version)
405
405
 
406
406
  def get_host_settings(self):
@@ -5,7 +5,7 @@
5
5
 
6
6
  The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
7
7
 
8
- The version of the OpenAPI document: 6.1.0
8
+ The version of the OpenAPI document: 6.3.0
9
9
  Contact: support@stadiamaps.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -6,7 +6,7 @@
6
6
 
7
7
  The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
8
8
 
9
- The version of the OpenAPI document: 6.1.0
9
+ The version of the OpenAPI document: 6.3.0
10
10
  Contact: support@stadiamaps.com
11
11
  Generated by OpenAPI Generator (https://openapi-generator.tech)
12
12
 
@@ -53,6 +53,7 @@ from stadiamaps.models.locate_edge import LocateEdge
53
53
  from stadiamaps.models.locate_edge_info import LocateEdgeInfo
54
54
  from stadiamaps.models.locate_node import LocateNode
55
55
  from stadiamaps.models.locate_object import LocateObject
56
+ from stadiamaps.models.low_speed_vehicle_costing_options import LowSpeedVehicleCostingOptions
56
57
  from stadiamaps.models.maneuver_sign import ManeuverSign
57
58
  from stadiamaps.models.maneuver_sign_element import ManeuverSignElement
58
59
  from stadiamaps.models.map_match_costing_model import MapMatchCostingModel
@@ -65,6 +66,7 @@ from stadiamaps.models.matrix_costing_model import MatrixCostingModel
65
66
  from stadiamaps.models.matrix_distance import MatrixDistance
66
67
  from stadiamaps.models.matrix_request import MatrixRequest
67
68
  from stadiamaps.models.matrix_response import MatrixResponse
69
+ from stadiamaps.models.matrix_waypoint import MatrixWaypoint
68
70
  from stadiamaps.models.motor_scooter_costing_options import MotorScooterCostingOptions
69
71
  from stadiamaps.models.motorcycle_costing_options import MotorcycleCostingOptions
70
72
  from stadiamaps.models.nearest_roads_request import NearestRoadsRequest
@@ -5,7 +5,7 @@
5
5
 
6
6
  The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
7
7
 
8
- The version of the OpenAPI document: 6.1.0
8
+ The version of the OpenAPI document: 6.3.0
9
9
  Contact: support@stadiamaps.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
7
7
 
8
- The version of the OpenAPI document: 6.1.0
8
+ The version of the OpenAPI document: 6.3.0
9
9
  Contact: support@stadiamaps.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
7
7
 
8
- The version of the OpenAPI document: 6.1.0
8
+ The version of the OpenAPI document: 6.3.0
9
9
  Contact: support@stadiamaps.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
7
7
 
8
- The version of the OpenAPI document: 6.1.0
8
+ The version of the OpenAPI document: 6.3.0
9
9
  Contact: support@stadiamaps.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
7
7
 
8
- The version of the OpenAPI document: 6.1.0
8
+ The version of the OpenAPI document: 6.3.0
9
9
  Contact: support@stadiamaps.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
7
7
 
8
- The version of the OpenAPI document: 6.1.0
8
+ The version of the OpenAPI document: 6.3.0
9
9
  Contact: support@stadiamaps.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
7
7
 
8
- The version of the OpenAPI document: 6.1.0
8
+ The version of the OpenAPI document: 6.3.0
9
9
  Contact: support@stadiamaps.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
7
7
 
8
- The version of the OpenAPI document: 6.1.0
8
+ The version of the OpenAPI document: 6.3.0
9
9
  Contact: support@stadiamaps.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
7
7
 
8
- The version of the OpenAPI document: 6.1.0
8
+ The version of the OpenAPI document: 6.3.0
9
9
  Contact: support@stadiamaps.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
7
7
 
8
- The version of the OpenAPI document: 6.1.0
8
+ The version of the OpenAPI document: 6.3.0
9
9
  Contact: support@stadiamaps.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
7
7
 
8
- The version of the OpenAPI document: 6.1.0
8
+ The version of the OpenAPI document: 6.3.0
9
9
  Contact: support@stadiamaps.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -21,7 +21,7 @@ from typing_extensions import Self
21
21
 
22
22
  class CostingModel(str, Enum):
23
23
  """
24
- Costing models for determining the most optimal route to take. Note that bikeshare and motorcycle are still in beta. While Valhalla supports multimodal routing, we do not currently process transit data and have excluded it from the list. See https://valhalla.github.io/valhalla/api/turn-by-turn/api-reference/#costing-models for detailed descriptions of each model.
24
+ A model which influences the routing based on the type of travel. The costing model affects parameters ranging from which roads are legally accessible to preferences based on comfort or speed. See https://valhalla.github.io/valhalla/api/turn-by-turn/api-reference/#costing-models for in-depth descriptions of each costing model.
25
25
  """
26
26
 
27
27
  """
@@ -5,7 +5,7 @@
5
5
 
6
6
  The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
7
7
 
8
- The version of the OpenAPI document: 6.1.0
8
+ The version of the OpenAPI document: 6.3.0
9
9
  Contact: support@stadiamaps.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -22,6 +22,7 @@ from pydantic import BaseModel, ConfigDict
22
22
  from typing import Any, ClassVar, Dict, List, Optional
23
23
  from stadiamaps.models.auto_costing_options import AutoCostingOptions
24
24
  from stadiamaps.models.bicycle_costing_options import BicycleCostingOptions
25
+ from stadiamaps.models.low_speed_vehicle_costing_options import LowSpeedVehicleCostingOptions
25
26
  from stadiamaps.models.motor_scooter_costing_options import MotorScooterCostingOptions
26
27
  from stadiamaps.models.motorcycle_costing_options import MotorcycleCostingOptions
27
28
  from stadiamaps.models.pedestrian_costing_options import PedestrianCostingOptions
@@ -41,8 +42,9 @@ class CostingOptions(BaseModel):
41
42
  motor_scooter: Optional[MotorScooterCostingOptions] = None
42
43
  motorcycle: Optional[MotorcycleCostingOptions] = None
43
44
  pedestrian: Optional[PedestrianCostingOptions] = None
45
+ low_speed_vehicle: Optional[LowSpeedVehicleCostingOptions] = None
44
46
  additional_properties: Dict[str, Any] = {}
45
- __properties: ClassVar[List[str]] = ["auto", "bus", "taxi", "truck", "bicycle", "motor_scooter", "motorcycle", "pedestrian"]
47
+ __properties: ClassVar[List[str]] = ["auto", "bus", "taxi", "truck", "bicycle", "motor_scooter", "motorcycle", "pedestrian", "low_speed_vehicle"]
46
48
 
47
49
  model_config = ConfigDict(
48
50
  populate_by_name=True,
@@ -109,6 +111,9 @@ class CostingOptions(BaseModel):
109
111
  # override the default output from pydantic by calling `to_dict()` of pedestrian
110
112
  if self.pedestrian:
111
113
  _dict['pedestrian'] = self.pedestrian.to_dict()
114
+ # override the default output from pydantic by calling `to_dict()` of low_speed_vehicle
115
+ if self.low_speed_vehicle:
116
+ _dict['low_speed_vehicle'] = self.low_speed_vehicle.to_dict()
112
117
  # puts key-value pairs in additional_properties in the top level
113
118
  if self.additional_properties is not None:
114
119
  for _key, _value in self.additional_properties.items():
@@ -133,7 +138,8 @@ class CostingOptions(BaseModel):
133
138
  "bicycle": BicycleCostingOptions.from_dict(obj["bicycle"]) if obj.get("bicycle") is not None else None,
134
139
  "motor_scooter": MotorScooterCostingOptions.from_dict(obj["motor_scooter"]) if obj.get("motor_scooter") is not None else None,
135
140
  "motorcycle": MotorcycleCostingOptions.from_dict(obj["motorcycle"]) if obj.get("motorcycle") is not None else None,
136
- "pedestrian": PedestrianCostingOptions.from_dict(obj["pedestrian"]) if obj.get("pedestrian") is not None else None
141
+ "pedestrian": PedestrianCostingOptions.from_dict(obj["pedestrian"]) if obj.get("pedestrian") is not None else None,
142
+ "low_speed_vehicle": LowSpeedVehicleCostingOptions.from_dict(obj["low_speed_vehicle"]) if obj.get("low_speed_vehicle") is not None else None
137
143
  })
138
144
  # store additional fields in additional_properties
139
145
  for _key in obj.keys():
@@ -5,7 +5,7 @@
5
5
 
6
6
  The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
7
7
 
8
- The version of the OpenAPI document: 6.1.0
8
+ The version of the OpenAPI document: 6.3.0
9
9
  Contact: support@stadiamaps.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
7
7
 
8
- The version of the OpenAPI document: 6.1.0
8
+ The version of the OpenAPI document: 6.3.0
9
9
  Contact: support@stadiamaps.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
7
7
 
8
- The version of the OpenAPI document: 6.1.0
8
+ The version of the OpenAPI document: 6.3.0
9
9
  Contact: support@stadiamaps.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11