stadiamaps 2.0.0__tar.gz → 3.0.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.0.0/stadiamaps.egg-info → stadiamaps-3.0.0}/PKG-INFO +1 -1
  2. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/pyproject.toml +1 -1
  3. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/setup.py +2 -2
  4. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/__init__.py +4 -2
  5. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/api/geocoding_api.py +1 -1
  6. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/api/geospatial_api.py +1 -1
  7. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/api/routing_api.py +1 -1
  8. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/api_client.py +5 -3
  9. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/configuration.py +3 -3
  10. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/exceptions.py +1 -1
  11. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/__init__.py +3 -1
  12. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/access.py +1 -1
  13. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/admin_region.py +1 -1
  14. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/administrative.py +1 -1
  15. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/auto_costing_options.py +8 -2
  16. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/base_costing_options.py +10 -4
  17. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/base_trace_request.py +1 -1
  18. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/bicycle_costing_options.py +9 -3
  19. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/bike_network.py +1 -1
  20. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/contour.py +1 -1
  21. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/coordinate.py +1 -1
  22. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/costing_model.py +2 -2
  23. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/costing_options.py +9 -3
  24. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/directions_options.py +1 -1
  25. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/distance_unit.py +1 -1
  26. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/edge_sign.py +1 -1
  27. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/edge_use.py +1 -1
  28. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/end_node.py +1 -1
  29. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/geo_attributes.py +1 -1
  30. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/geo_json_geometry.py +1 -1
  31. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/geo_json_geometry_base.py +1 -1
  32. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/geo_json_line_string.py +1 -1
  33. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/geo_json_point.py +1 -1
  34. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/geo_json_polygon.py +1 -1
  35. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/geocoding_object.py +1 -1
  36. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/height_request.py +1 -1
  37. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/height_response.py +1 -1
  38. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/highway_classification.py +1 -1
  39. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/intersecting_edge.py +1 -1
  40. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/isochrone_costing_model.py +1 -1
  41. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/isochrone_feature.py +1 -1
  42. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/isochrone_properties.py +1 -1
  43. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/isochrone_request.py +1 -1
  44. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/isochrone_response.py +1 -1
  45. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/locate_detailed_edge.py +1 -1
  46. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/locate_edge.py +1 -1
  47. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/locate_edge_info.py +1 -1
  48. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/locate_node.py +1 -1
  49. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/locate_object.py +1 -1
  50. stadiamaps-3.0.0/stadiamaps/models/low_speed_vehicle_costing_options.py +140 -0
  51. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/maneuver_sign.py +1 -1
  52. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/maneuver_sign_element.py +1 -1
  53. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/map_match_costing_model.py +1 -1
  54. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/map_match_request.py +1 -1
  55. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/map_match_route_response.py +1 -1
  56. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/map_match_trace_options.py +1 -1
  57. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/map_match_waypoint.py +1 -1
  58. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/matched_point.py +1 -1
  59. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/matrix_costing_model.py +1 -1
  60. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/matrix_distance.py +14 -4
  61. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/matrix_request.py +6 -6
  62. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/matrix_response.py +1 -1
  63. stadiamaps-3.0.0/stadiamaps/models/matrix_waypoint.py +106 -0
  64. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/motor_scooter_costing_options.py +8 -2
  65. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/motorcycle_costing_options.py +8 -2
  66. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/nearest_roads_request.py +1 -1
  67. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/node_id.py +1 -1
  68. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/node_type.py +1 -1
  69. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/optimized_route_request.py +1 -1
  70. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/pedestrian_costing_options.py +1 -1
  71. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/pelias_geo_json_feature.py +1 -1
  72. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/pelias_geo_json_properties.py +1 -1
  73. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/pelias_geo_json_properties_addendum.py +1 -1
  74. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/pelias_geo_json_properties_addendum_osm.py +1 -1
  75. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/pelias_layer.py +1 -1
  76. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/pelias_response.py +1 -1
  77. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/pelias_source.py +1 -1
  78. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/restrictions.py +1 -1
  79. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/road_class.py +1 -1
  80. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/route_leg.py +1 -1
  81. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/route_maneuver.py +1 -1
  82. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/route_request.py +1 -1
  83. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/route_response.py +1 -1
  84. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/route_response_alternates_inner.py +1 -1
  85. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/route_summary.py +1 -1
  86. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/route_trip.py +1 -1
  87. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/routing_response_waypoint.py +1 -1
  88. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/routing_waypoint.py +1 -1
  89. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/routing_waypoint_all_of_search_filter.py +1 -1
  90. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/simple_routing_waypoint.py +1 -1
  91. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/speeds.py +1 -1
  92. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/trace_attribute_filter_options.py +1 -1
  93. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/trace_attribute_key.py +1 -1
  94. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/trace_attributes_base_response.py +1 -1
  95. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/trace_attributes_request.py +1 -1
  96. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/trace_attributes_response.py +1 -1
  97. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/trace_edge.py +1 -1
  98. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/travel_mode.py +1 -1
  99. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/traversability.py +1 -1
  100. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/truck_costing_options.py +8 -2
  101. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/tz_response.py +1 -1
  102. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/valhalla_languages.py +1 -1
  103. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/valhalla_long_units.py +1 -1
  104. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/warning.py +1 -1
  105. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/rest.py +1 -1
  106. {stadiamaps-2.0.0 → stadiamaps-3.0.0/stadiamaps.egg-info}/PKG-INFO +1 -1
  107. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps.egg-info/SOURCES.txt +4 -0
  108. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/integration/test_gecoding.py +8 -0
  109. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/integration/test_routing.py +67 -6
  110. stadiamaps-3.0.0/test/test_low_speed_vehicle_costing_options.py +66 -0
  111. stadiamaps-3.0.0/test/test_matrix_waypoint.py +56 -0
  112. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/LICENSE.txt +0 -0
  113. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/README.md +0 -0
  114. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/setup.cfg +0 -0
  115. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/api/__init__.py +0 -0
  116. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/api_response.py +0 -0
  117. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/auto_costing_options_all_of.py +0 -0
  118. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/bicycle_costing_options_all_of.py +0 -0
  119. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/geo_json_line_string_all_of.py +0 -0
  120. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/geo_json_point_all_of.py +0 -0
  121. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/geo_json_polygon_all_of.py +0 -0
  122. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/locate_node_all_of.py +0 -0
  123. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/map_match_request_all_of.py +0 -0
  124. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/map_match_route_response_all_of.py +0 -0
  125. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/map_match_waypoint_all_of.py +0 -0
  126. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/motor_scooter_costing_options_all_of.py +0 -0
  127. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/motorcycle_costing_options_all_of.py +0 -0
  128. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/pelias_response_geocoding.py +0 -0
  129. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/route_response_trip.py +0 -0
  130. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/routing_response_waypoint_all_of.py +0 -0
  131. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/routing_waypoint_all_of.py +0 -0
  132. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/simple_routing_waypoint_all_of.py +0 -0
  133. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/trace_attributes_request_all_of.py +0 -0
  134. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/trace_attributes_request_all_of_filters.py +0 -0
  135. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/trace_attributes_response_all_of.py +0 -0
  136. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/models/truck_costing_options_all_of.py +0 -0
  137. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps/py.typed +0 -0
  138. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps.egg-info/dependency_links.txt +0 -0
  139. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps.egg-info/requires.txt +0 -0
  140. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/stadiamaps.egg-info/top_level.txt +0 -0
  141. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/integration/__init__.py +0 -0
  142. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/integration/test_eu_endpoint.py +0 -0
  143. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/integration/test_geospatial.py +0 -0
  144. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_access.py +0 -0
  145. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_admin_region.py +0 -0
  146. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_administrative.py +0 -0
  147. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_auto_costing_options.py +0 -0
  148. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_auto_costing_options_all_of.py +0 -0
  149. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_base_costing_options.py +0 -0
  150. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_base_trace_request.py +0 -0
  151. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_bicycle_costing_options.py +0 -0
  152. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_bicycle_costing_options_all_of.py +0 -0
  153. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_bike_network.py +0 -0
  154. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_contour.py +0 -0
  155. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_coordinate.py +0 -0
  156. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_costing_model.py +0 -0
  157. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_costing_options.py +0 -0
  158. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_directions_options.py +0 -0
  159. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_distance_unit.py +0 -0
  160. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_edge_sign.py +0 -0
  161. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_edge_use.py +0 -0
  162. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_end_node.py +0 -0
  163. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_geo_attributes.py +0 -0
  164. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_geo_json_geometry.py +0 -0
  165. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_geo_json_geometry_base.py +0 -0
  166. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_geo_json_line_string.py +0 -0
  167. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_geo_json_line_string_all_of.py +0 -0
  168. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_geo_json_point.py +0 -0
  169. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_geo_json_point_all_of.py +0 -0
  170. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_geo_json_polygon.py +0 -0
  171. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_geo_json_polygon_all_of.py +0 -0
  172. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_geocoding_api.py +0 -0
  173. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_geocoding_object.py +0 -0
  174. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_geospatial_api.py +0 -0
  175. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_height_request.py +0 -0
  176. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_height_response.py +0 -0
  177. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_highway_classification.py +0 -0
  178. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_intersecting_edge.py +0 -0
  179. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_isochrone_costing_model.py +0 -0
  180. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_isochrone_feature.py +0 -0
  181. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_isochrone_properties.py +0 -0
  182. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_isochrone_request.py +0 -0
  183. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_isochrone_response.py +0 -0
  184. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_locate_detailed_edge.py +0 -0
  185. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_locate_edge.py +0 -0
  186. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_locate_edge_info.py +0 -0
  187. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_locate_node.py +0 -0
  188. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_locate_node_all_of.py +0 -0
  189. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_locate_object.py +0 -0
  190. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_maneuver_sign.py +0 -0
  191. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_maneuver_sign_element.py +0 -0
  192. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_map_match_costing_model.py +0 -0
  193. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_map_match_request.py +0 -0
  194. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_map_match_request_all_of.py +0 -0
  195. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_map_match_route_response.py +0 -0
  196. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_map_match_route_response_all_of.py +0 -0
  197. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_map_match_trace_options.py +0 -0
  198. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_map_match_waypoint.py +0 -0
  199. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_map_match_waypoint_all_of.py +0 -0
  200. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_matched_point.py +0 -0
  201. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_matrix_costing_model.py +0 -0
  202. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_matrix_distance.py +0 -0
  203. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_matrix_request.py +0 -0
  204. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_matrix_response.py +0 -0
  205. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_motor_scooter_costing_options.py +0 -0
  206. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_motor_scooter_costing_options_all_of.py +0 -0
  207. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_motorcycle_costing_options.py +0 -0
  208. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_motorcycle_costing_options_all_of.py +0 -0
  209. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_nearest_roads_request.py +0 -0
  210. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_node_id.py +0 -0
  211. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_node_type.py +0 -0
  212. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_optimized_route_request.py +0 -0
  213. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_pedestrian_costing_options.py +0 -0
  214. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_pelias_geo_json_feature.py +0 -0
  215. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_pelias_geo_json_properties.py +0 -0
  216. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_pelias_geo_json_properties_addendum.py +0 -0
  217. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_pelias_geo_json_properties_addendum_osm.py +0 -0
  218. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_pelias_layer.py +0 -0
  219. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_pelias_response.py +0 -0
  220. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_pelias_response_geocoding.py +0 -0
  221. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_pelias_source.py +0 -0
  222. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_restrictions.py +0 -0
  223. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_road_class.py +0 -0
  224. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_route_leg.py +0 -0
  225. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_route_maneuver.py +0 -0
  226. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_route_request.py +0 -0
  227. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_route_response.py +0 -0
  228. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_route_response_alternates_inner.py +0 -0
  229. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_route_response_trip.py +0 -0
  230. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_route_summary.py +0 -0
  231. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_route_trip.py +0 -0
  232. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_routing_api.py +0 -0
  233. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_routing_response_waypoint.py +0 -0
  234. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_routing_response_waypoint_all_of.py +0 -0
  235. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_routing_waypoint.py +0 -0
  236. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_routing_waypoint_all_of.py +0 -0
  237. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_routing_waypoint_all_of_search_filter.py +0 -0
  238. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_simple_routing_waypoint.py +0 -0
  239. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_simple_routing_waypoint_all_of.py +0 -0
  240. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_speeds.py +0 -0
  241. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_trace_attribute_filter_options.py +0 -0
  242. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_trace_attribute_key.py +0 -0
  243. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_trace_attributes_base_response.py +0 -0
  244. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_trace_attributes_request.py +0 -0
  245. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_trace_attributes_request_all_of.py +0 -0
  246. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_trace_attributes_request_all_of_filters.py +0 -0
  247. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_trace_attributes_response.py +0 -0
  248. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_trace_attributes_response_all_of.py +0 -0
  249. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_trace_edge.py +0 -0
  250. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_travel_mode.py +0 -0
  251. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_traversability.py +0 -0
  252. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_truck_costing_options.py +0 -0
  253. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_truck_costing_options_all_of.py +0 -0
  254. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_tz_response.py +0 -0
  255. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_valhalla_languages.py +0 -0
  256. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_valhalla_long_units.py +0 -0
  257. {stadiamaps-2.0.0 → stadiamaps-3.0.0}/test/test_warning.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stadiamaps
3
- Version: 2.0.0
3
+ Version: 3.0.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.0.0"
3
+ version = "3.0.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.0.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.0.0"
25
+ VERSION = "3.0.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.0.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.0.0"
18
+ __version__ = "3.0.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.0.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.0.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.0.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.0.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
 
@@ -88,7 +88,7 @@ class ApiClient:
88
88
  self.default_headers[header_name] = header_value
89
89
  self.cookie = cookie
90
90
  # Set default User-Agent.
91
- self.user_agent = 'OpenAPI-Generator/2.0.0/python'
91
+ self.user_agent = 'OpenAPI-Generator/3.0.0/python'
92
92
  self.client_side_validation = configuration.client_side_validation
93
93
 
94
94
  def __enter__(self):
@@ -481,6 +481,8 @@ class ApiClient:
481
481
  v = str(v).lower()
482
482
  if isinstance(v, (int, float)):
483
483
  v = str(v)
484
+ if isinstance(v, Enum):
485
+ v = str(v.value)
484
486
  if isinstance(v, dict):
485
487
  v = json.dumps(v)
486
488
 
@@ -498,7 +500,7 @@ class ApiClient:
498
500
  else: # csv is the default
499
501
  delimiter = ','
500
502
  new_params.append(
501
- (k, delimiter.join(quote(str(value)) for value in v))
503
+ (k, delimiter.join(quote(str(value.value) if isinstance(value, Enum) else str(value)) for value in v))
502
504
  )
503
505
  else:
504
506
  new_params.append((k, quote(str(v))))
@@ -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.0.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.0.0\n"\
403
- "SDK Package Version: 2.0.0".\
402
+ "Version of the API: 6.3.0\n"\
403
+ "SDK Package Version: 3.0.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.0.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.0.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.0.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.0.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.0.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.0.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
 
@@ -37,6 +37,9 @@ class AutoCostingOptions(BaseModel):
37
37
  service_factor: Optional[Union[StrictFloat, StrictInt]] = Field(default=1, description="A factor that multiplies the cost when service roads are encountered. The default is 1.2 for cars and busses, and 1 for trucks, motor scooters, and motorcycles.")
38
38
  use_living_streets: Optional[Union[Annotated[float, Field(le=1, strict=True, ge=0)], Annotated[int, Field(le=1, strict=True, ge=0)]]] = Field(default=None, description="A measure of willingness to take living streets. Values near 0 attempt to avoid them, and values near 1 will favour them. Note that as some routes may be impossible without living streets, 0 does not guarantee avoidance of them. The default value is 0 for trucks; 0.1 for other motor vehicles; 0.5 for bicycles; and 0.6 for pedestrians.")
39
39
  use_ferry: Optional[Union[Annotated[float, Field(le=1, strict=True, ge=0)], Annotated[int, Field(le=1, strict=True, ge=0)]]] = Field(default=0.5, description="A measure of willingness to take ferries. Values near 0 attempt to avoid ferries, and values near 1 will favour them. Note that as some routes may be impossible without ferries, 0 does not guarantee avoidance of them.")
40
+ ignore_restrictions: Optional[StrictBool] = Field(default=None, description="If set to true, ignores any restrictions (eg: turn and conditional restrictions). Useful for matching GPS traces to the road network regardless of restrictions.")
41
+ ignore_non_vehicular_restrictions: Optional[StrictBool] = Field(default=None, description="If set to true, ignores most restrictions (eg: turn and conditional restrictions), but still respects restrictions that impact vehicle safety such as weight and size.")
42
+ ignore_oneways: Optional[StrictBool] = Field(default=None, description="If set to true, ignores directional restrictions on roads. Useful for matching GPS traces to the road network regardless of restrictions.")
40
43
  height: Optional[Union[StrictFloat, StrictInt]] = Field(default=1.9, description="The height of the automobile (in meters).")
41
44
  width: Optional[Union[StrictFloat, StrictInt]] = Field(default=1.6, description="The width of the automobile (in meters).")
42
45
  toll_booth_cost: Optional[StrictInt] = Field(default=15, description="The estimated cost (in seconds) when a toll booth is encountered.")
@@ -53,7 +56,7 @@ class AutoCostingOptions(BaseModel):
53
56
  include_hot: Optional[StrictBool] = Field(default=False, description="If true, indicates the desire to include toll roads which require the driver to pay a toll if the occupant requirement isn't met")
54
57
  alley_factor: Optional[Union[StrictFloat, StrictInt]] = Field(default=1, description="A factor that multiplies the cost when alleys are encountered.")
55
58
  additional_properties: Dict[str, Any] = {}
56
- __properties: ClassVar[List[str]] = ["maneuver_penalty", "gate_cost", "gate_penalty", "country_crossing_cost", "country_crossing_penalty", "service_penalty", "service_factor", "use_living_streets", "use_ferry", "height", "width", "toll_booth_cost", "toll_booth_penalty", "ferry_cost", "use_highways", "use_tolls", "use_tracks", "top_speed", "shortest", "ignore_closures", "include_hov2", "include_hov3", "include_hot", "alley_factor"]
59
+ __properties: ClassVar[List[str]] = ["maneuver_penalty", "gate_cost", "gate_penalty", "country_crossing_cost", "country_crossing_penalty", "service_penalty", "service_factor", "use_living_streets", "use_ferry", "ignore_restrictions", "ignore_non_vehicular_restrictions", "ignore_oneways", "height", "width", "toll_booth_cost", "toll_booth_penalty", "ferry_cost", "use_highways", "use_tolls", "use_tracks", "top_speed", "shortest", "ignore_closures", "include_hov2", "include_hov3", "include_hot", "alley_factor"]
57
60
 
58
61
  model_config = ConfigDict(
59
62
  populate_by_name=True,
@@ -122,6 +125,9 @@ class AutoCostingOptions(BaseModel):
122
125
  "service_factor": obj.get("service_factor") if obj.get("service_factor") is not None else 1,
123
126
  "use_living_streets": obj.get("use_living_streets"),
124
127
  "use_ferry": obj.get("use_ferry") if obj.get("use_ferry") is not None else 0.5,
128
+ "ignore_restrictions": obj.get("ignore_restrictions"),
129
+ "ignore_non_vehicular_restrictions": obj.get("ignore_non_vehicular_restrictions"),
130
+ "ignore_oneways": obj.get("ignore_oneways"),
125
131
  "height": obj.get("height") if obj.get("height") is not None else 1.9,
126
132
  "width": obj.get("width") if obj.get("width") is not None else 1.6,
127
133
  "toll_booth_cost": obj.get("toll_booth_cost") if obj.get("toll_booth_cost") is not None else 15,
@@ -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.0.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
 
@@ -18,7 +18,7 @@ import pprint
18
18
  import re # noqa: F401
19
19
  import json
20
20
 
21
- from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt
21
+ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt
22
22
  from typing import Any, ClassVar, Dict, List, Optional, Union
23
23
  from typing_extensions import Annotated
24
24
  from typing import Optional, Set
@@ -37,8 +37,11 @@ class BaseCostingOptions(BaseModel):
37
37
  service_factor: Optional[Union[StrictFloat, StrictInt]] = Field(default=1, description="A factor that multiplies the cost when service roads are encountered. The default is 1.2 for cars and busses, and 1 for trucks, motor scooters, and motorcycles.")
38
38
  use_living_streets: Optional[Union[Annotated[float, Field(le=1, strict=True, ge=0)], Annotated[int, Field(le=1, strict=True, ge=0)]]] = Field(default=None, description="A measure of willingness to take living streets. Values near 0 attempt to avoid them, and values near 1 will favour them. Note that as some routes may be impossible without living streets, 0 does not guarantee avoidance of them. The default value is 0 for trucks; 0.1 for other motor vehicles; 0.5 for bicycles; and 0.6 for pedestrians.")
39
39
  use_ferry: Optional[Union[Annotated[float, Field(le=1, strict=True, ge=0)], Annotated[int, Field(le=1, strict=True, ge=0)]]] = Field(default=0.5, description="A measure of willingness to take ferries. Values near 0 attempt to avoid ferries, and values near 1 will favour them. Note that as some routes may be impossible without ferries, 0 does not guarantee avoidance of them.")
40
+ ignore_restrictions: Optional[StrictBool] = Field(default=None, description="If set to true, ignores any restrictions (eg: turn and conditional restrictions). Useful for matching GPS traces to the road network regardless of restrictions.")
41
+ ignore_non_vehicular_restrictions: Optional[StrictBool] = Field(default=None, description="If set to true, ignores most restrictions (eg: turn and conditional restrictions), but still respects restrictions that impact vehicle safety such as weight and size.")
42
+ ignore_oneways: Optional[StrictBool] = Field(default=None, description="If set to true, ignores directional restrictions on roads. Useful for matching GPS traces to the road network regardless of restrictions.")
40
43
  additional_properties: Dict[str, Any] = {}
41
- __properties: ClassVar[List[str]] = ["maneuver_penalty", "gate_cost", "gate_penalty", "country_crossing_cost", "country_crossing_penalty", "service_penalty", "service_factor", "use_living_streets", "use_ferry"]
44
+ __properties: ClassVar[List[str]] = ["maneuver_penalty", "gate_cost", "gate_penalty", "country_crossing_cost", "country_crossing_penalty", "service_penalty", "service_factor", "use_living_streets", "use_ferry", "ignore_restrictions", "ignore_non_vehicular_restrictions", "ignore_oneways"]
42
45
 
43
46
  model_config = ConfigDict(
44
47
  populate_by_name=True,
@@ -106,7 +109,10 @@ class BaseCostingOptions(BaseModel):
106
109
  "service_penalty": obj.get("service_penalty"),
107
110
  "service_factor": obj.get("service_factor") if obj.get("service_factor") is not None else 1,
108
111
  "use_living_streets": obj.get("use_living_streets"),
109
- "use_ferry": obj.get("use_ferry") if obj.get("use_ferry") is not None else 0.5
112
+ "use_ferry": obj.get("use_ferry") if obj.get("use_ferry") is not None else 0.5,
113
+ "ignore_restrictions": obj.get("ignore_restrictions"),
114
+ "ignore_non_vehicular_restrictions": obj.get("ignore_non_vehicular_restrictions"),
115
+ "ignore_oneways": obj.get("ignore_oneways")
110
116
  })
111
117
  # store additional fields in additional_properties
112
118
  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.0.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.0.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
 
@@ -18,7 +18,7 @@ import pprint
18
18
  import re # noqa: F401
19
19
  import json
20
20
 
21
- from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr, field_validator
21
+ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr, field_validator
22
22
  from typing import Any, ClassVar, Dict, List, Optional, Union
23
23
  from typing_extensions import Annotated
24
24
  from typing import Optional, Set
@@ -37,6 +37,9 @@ class BicycleCostingOptions(BaseModel):
37
37
  service_factor: Optional[Union[StrictFloat, StrictInt]] = Field(default=1, description="A factor that multiplies the cost when service roads are encountered. The default is 1.2 for cars and busses, and 1 for trucks, motor scooters, and motorcycles.")
38
38
  use_living_streets: Optional[Union[Annotated[float, Field(le=1, strict=True, ge=0)], Annotated[int, Field(le=1, strict=True, ge=0)]]] = Field(default=None, description="A measure of willingness to take living streets. Values near 0 attempt to avoid them, and values near 1 will favour them. Note that as some routes may be impossible without living streets, 0 does not guarantee avoidance of them. The default value is 0 for trucks; 0.1 for other motor vehicles; 0.5 for bicycles; and 0.6 for pedestrians.")
39
39
  use_ferry: Optional[Union[Annotated[float, Field(le=1, strict=True, ge=0)], Annotated[int, Field(le=1, strict=True, ge=0)]]] = Field(default=0.5, description="A measure of willingness to take ferries. Values near 0 attempt to avoid ferries, and values near 1 will favour them. Note that as some routes may be impossible without ferries, 0 does not guarantee avoidance of them.")
40
+ ignore_restrictions: Optional[StrictBool] = Field(default=None, description="If set to true, ignores any restrictions (eg: turn and conditional restrictions). Useful for matching GPS traces to the road network regardless of restrictions.")
41
+ ignore_non_vehicular_restrictions: Optional[StrictBool] = Field(default=None, description="If set to true, ignores most restrictions (eg: turn and conditional restrictions), but still respects restrictions that impact vehicle safety such as weight and size.")
42
+ ignore_oneways: Optional[StrictBool] = Field(default=None, description="If set to true, ignores directional restrictions on roads. Useful for matching GPS traces to the road network regardless of restrictions.")
40
43
  bicycle_type: Optional[StrictStr] = Field(default='Hybrid', description="The type of bicycle: * Road: has narrow tires and is generally lightweight and designed for speed on paved surfaces * Hybrid or City: designed for city riding or casual riding on roads and paths with good surfaces * Cross: similar to a road bike, but has wider tires so it can handle rougher surfaces * Mountain: able to handle most surfaces, but generally heavier and slower on paved surfaces")
41
44
  cycling_speed: Optional[StrictInt] = Field(default=None, description="The average comfortable travel speed (in kph) along smooth, flat roads. The costing will vary the speed based on the surface, bicycle type, elevation change, etc. This value should be the average sustainable cruising speed the cyclist can maintain over the entire route. The default speeds are as follows based on bicycle type: * Road - 25kph * Cross - 20kph * Hybrid - 18kph * Mountain - 16kph")
42
45
  use_roads: Optional[Union[Annotated[float, Field(le=1, strict=True, ge=0)], Annotated[int, Field(le=1, strict=True, ge=0)]]] = Field(default=0.5, description="A measure of willingness to use roads alongside other vehicles. Values near 0 attempt to avoid roads and stay on cycleways, and values near 1 indicate the cyclist is more comfortable on roads.")
@@ -45,7 +48,7 @@ class BicycleCostingOptions(BaseModel):
45
48
  bss_return_cost: Optional[StrictInt] = Field(default=120, description="The estimated cost (in seconds) to return a bicycle in `bikeshare` mode.")
46
49
  bss_return_penalty: Optional[StrictInt] = Field(default=0, description="A penalty (in seconds) to return a bicycle in `bikeshare` mode.")
47
50
  additional_properties: Dict[str, Any] = {}
48
- __properties: ClassVar[List[str]] = ["maneuver_penalty", "gate_cost", "gate_penalty", "country_crossing_cost", "country_crossing_penalty", "service_penalty", "service_factor", "use_living_streets", "use_ferry", "bicycle_type", "cycling_speed", "use_roads", "use_hills", "avoid_bad_surfaces", "bss_return_cost", "bss_return_penalty"]
51
+ __properties: ClassVar[List[str]] = ["maneuver_penalty", "gate_cost", "gate_penalty", "country_crossing_cost", "country_crossing_penalty", "service_penalty", "service_factor", "use_living_streets", "use_ferry", "ignore_restrictions", "ignore_non_vehicular_restrictions", "ignore_oneways", "bicycle_type", "cycling_speed", "use_roads", "use_hills", "avoid_bad_surfaces", "bss_return_cost", "bss_return_penalty"]
49
52
 
50
53
  @field_validator('bicycle_type')
51
54
  def bicycle_type_validate_enum(cls, value):
@@ -124,6 +127,9 @@ class BicycleCostingOptions(BaseModel):
124
127
  "service_factor": obj.get("service_factor") if obj.get("service_factor") is not None else 1,
125
128
  "use_living_streets": obj.get("use_living_streets"),
126
129
  "use_ferry": obj.get("use_ferry") if obj.get("use_ferry") is not None else 0.5,
130
+ "ignore_restrictions": obj.get("ignore_restrictions"),
131
+ "ignore_non_vehicular_restrictions": obj.get("ignore_non_vehicular_restrictions"),
132
+ "ignore_oneways": obj.get("ignore_oneways"),
127
133
  "bicycle_type": obj.get("bicycle_type") if obj.get("bicycle_type") is not None else 'Hybrid',
128
134
  "cycling_speed": obj.get("cycling_speed"),
129
135
  "use_roads": obj.get("use_roads") if obj.get("use_roads") is not None else 0.5,
@@ -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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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