stadiamaps 3.1.0__py3-none-any.whl → 3.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- stadiamaps/__init__.py +8 -2
- stadiamaps/api/geocoding_api.py +384 -101
- stadiamaps/api/geospatial_api.py +13 -11
- stadiamaps/api/routing_api.py +46 -39
- stadiamaps/api_client.py +22 -11
- stadiamaps/configuration.py +19 -5
- stadiamaps/exceptions.py +1 -1
- stadiamaps/models/__init__.py +7 -1
- stadiamaps/models/access.py +1 -1
- stadiamaps/models/admin_region.py +1 -1
- stadiamaps/models/administrative.py +1 -1
- stadiamaps/models/auto_costing_options.py +1 -1
- stadiamaps/models/base_costing_options.py +1 -1
- stadiamaps/models/base_trace_request.py +5 -5
- stadiamaps/models/bicycle_costing_options.py +1 -1
- stadiamaps/models/bike_network.py +1 -1
- stadiamaps/models/bulk_request.py +141 -0
- stadiamaps/models/bulk_search_request_inner.py +141 -0
- stadiamaps/models/bulk_search_response.py +109 -0
- stadiamaps/models/contour.py +1 -1
- stadiamaps/models/coordinate.py +1 -1
- stadiamaps/models/costing_model.py +1 -1
- stadiamaps/models/costing_options.py +1 -1
- stadiamaps/models/directions_options.py +5 -5
- stadiamaps/models/distance_unit.py +1 -1
- stadiamaps/models/edge_sign.py +1 -1
- stadiamaps/models/edge_use.py +1 -1
- stadiamaps/models/end_node.py +1 -1
- stadiamaps/models/geo_attributes.py +1 -1
- stadiamaps/models/geo_json_geometry.py +1 -1
- stadiamaps/models/geo_json_geometry_base.py +1 -1
- stadiamaps/models/geo_json_line_string.py +1 -1
- stadiamaps/models/geo_json_point.py +1 -1
- stadiamaps/models/geo_json_polygon.py +1 -1
- stadiamaps/models/geocoding_object.py +1 -1
- stadiamaps/models/height_request.py +1 -1
- stadiamaps/models/height_response.py +1 -1
- stadiamaps/models/highway_classification.py +1 -1
- stadiamaps/models/intersecting_edge.py +1 -1
- stadiamaps/models/isochrone_costing_model.py +8 -1
- stadiamaps/models/isochrone_feature.py +1 -1
- stadiamaps/models/isochrone_properties.py +1 -1
- stadiamaps/models/isochrone_request.py +1 -1
- stadiamaps/models/isochrone_response.py +1 -1
- stadiamaps/models/locate_detailed_edge.py +1 -1
- stadiamaps/models/locate_edge.py +1 -1
- stadiamaps/models/locate_edge_info.py +1 -1
- stadiamaps/models/locate_node.py +1 -1
- stadiamaps/models/locate_object.py +1 -1
- stadiamaps/models/low_speed_vehicle_costing_options.py +1 -1
- stadiamaps/models/maneuver_sign.py +1 -1
- stadiamaps/models/maneuver_sign_element.py +1 -1
- stadiamaps/models/map_match_costing_model.py +8 -2
- stadiamaps/models/map_match_request.py +5 -5
- stadiamaps/models/map_match_route_response.py +1 -1
- stadiamaps/models/map_match_trace_options.py +1 -1
- stadiamaps/models/map_match_waypoint.py +1 -1
- stadiamaps/models/matched_point.py +1 -1
- stadiamaps/models/matrix_costing_model.py +1 -1
- stadiamaps/models/matrix_distance.py +1 -1
- stadiamaps/models/matrix_request.py +5 -5
- stadiamaps/models/matrix_response.py +2 -2
- stadiamaps/models/matrix_waypoint.py +1 -1
- stadiamaps/models/motor_scooter_costing_options.py +1 -1
- stadiamaps/models/motorcycle_costing_options.py +1 -1
- stadiamaps/models/nearest_roads_request.py +5 -5
- stadiamaps/models/node_id.py +1 -1
- stadiamaps/models/node_type.py +1 -1
- stadiamaps/models/optimized_route_request.py +5 -5
- stadiamaps/models/pedestrian_costing_options.py +1 -1
- stadiamaps/models/pelias_geo_json_feature.py +3 -5
- stadiamaps/models/pelias_geo_json_properties.py +2 -2
- stadiamaps/models/pelias_geo_json_properties_addendum.py +1 -1
- stadiamaps/models/pelias_geo_json_properties_addendum_osm.py +1 -1
- stadiamaps/models/pelias_layer.py +1 -1
- stadiamaps/models/pelias_response.py +1 -1
- stadiamaps/models/pelias_source.py +1 -1
- stadiamaps/models/restrictions.py +1 -1
- stadiamaps/models/road_class.py +1 -1
- stadiamaps/models/route_leg.py +2 -2
- stadiamaps/models/route_maneuver.py +1 -1
- stadiamaps/models/route_request.py +5 -5
- stadiamaps/models/route_response.py +1 -1
- stadiamaps/models/route_response_alternates_inner.py +1 -1
- stadiamaps/models/route_summary.py +1 -1
- stadiamaps/models/route_trip.py +3 -3
- stadiamaps/models/routing_response_waypoint.py +1 -1
- stadiamaps/models/routing_waypoint.py +1 -1
- stadiamaps/models/routing_waypoint_all_of_search_filter.py +1 -1
- stadiamaps/models/search_bulk_query.py +117 -0
- stadiamaps/models/search_bulk_request.py +141 -0
- stadiamaps/models/search_query.py +134 -0
- stadiamaps/models/search_structured_bulk_query.py +117 -0
- stadiamaps/models/search_structured_query.py +148 -0
- stadiamaps/models/simple_routing_waypoint.py +1 -1
- stadiamaps/models/speeds.py +1 -1
- stadiamaps/models/trace_attribute_filter_options.py +1 -1
- stadiamaps/models/trace_attribute_key.py +1 -1
- stadiamaps/models/trace_attributes_base_response.py +1 -1
- stadiamaps/models/trace_attributes_request.py +5 -5
- stadiamaps/models/trace_attributes_response.py +3 -3
- stadiamaps/models/trace_edge.py +1 -1
- stadiamaps/models/travel_mode.py +1 -1
- stadiamaps/models/traversability.py +1 -1
- stadiamaps/models/truck_costing_options.py +1 -1
- stadiamaps/models/tz_response.py +1 -1
- stadiamaps/models/valhalla_languages.py +1 -1
- stadiamaps/models/valhalla_long_units.py +1 -1
- stadiamaps/models/warning.py +1 -1
- stadiamaps/rest.py +1 -1
- {stadiamaps-3.1.0.dist-info → stadiamaps-3.2.0.dist-info}/METADATA +1 -1
- stadiamaps-3.2.0.dist-info/RECORD +138 -0
- {stadiamaps-3.1.0.dist-info → stadiamaps-3.2.0.dist-info}/WHEEL +1 -1
- stadiamaps-3.1.0.dist-info/RECORD +0 -130
- {stadiamaps-3.1.0.dist-info → stadiamaps-3.2.0.dist-info}/LICENSE.txt +0 -0
- {stadiamaps-3.1.0.dist-info → stadiamaps-3.2.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,141 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
"""
|
4
|
+
Stadia Maps Geospatial APIs
|
5
|
+
|
6
|
+
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
|
7
|
+
|
8
|
+
The version of the OpenAPI document: 6.6.2
|
9
|
+
Contact: support@stadiamaps.com
|
10
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
|
+
|
12
|
+
Do not edit the class manually.
|
13
|
+
""" # noqa: E501
|
14
|
+
|
15
|
+
|
16
|
+
from __future__ import annotations
|
17
|
+
import json
|
18
|
+
import pprint
|
19
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictStr, ValidationError, field_validator
|
20
|
+
from typing import Any, List, Optional
|
21
|
+
from stadiamaps.models.search_bulk_query import SearchBulkQuery
|
22
|
+
from stadiamaps.models.search_structured_bulk_query import SearchStructuredBulkQuery
|
23
|
+
from pydantic import StrictStr, Field
|
24
|
+
from typing import Union, List, Set, Optional, Dict
|
25
|
+
from typing_extensions import Literal, Self
|
26
|
+
|
27
|
+
BULKSEARCHREQUESTINNER_ONE_OF_SCHEMAS = ["SearchBulkQuery", "SearchStructuredBulkQuery"]
|
28
|
+
|
29
|
+
class BulkSearchRequestInner(BaseModel):
|
30
|
+
"""
|
31
|
+
BulkSearchRequestInner
|
32
|
+
"""
|
33
|
+
# data type: SearchBulkQuery
|
34
|
+
oneof_schema_1_validator: Optional[SearchBulkQuery] = None
|
35
|
+
# data type: SearchStructuredBulkQuery
|
36
|
+
oneof_schema_2_validator: Optional[SearchStructuredBulkQuery] = None
|
37
|
+
actual_instance: Optional[Union[SearchBulkQuery, SearchStructuredBulkQuery]] = None
|
38
|
+
one_of_schemas: Set[str] = { "SearchBulkQuery", "SearchStructuredBulkQuery" }
|
39
|
+
|
40
|
+
model_config = ConfigDict(
|
41
|
+
validate_assignment=True,
|
42
|
+
protected_namespaces=(),
|
43
|
+
)
|
44
|
+
|
45
|
+
|
46
|
+
discriminator_value_class_map: Dict[str, str] = {
|
47
|
+
}
|
48
|
+
|
49
|
+
def __init__(self, *args, **kwargs) -> None:
|
50
|
+
if args:
|
51
|
+
if len(args) > 1:
|
52
|
+
raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`")
|
53
|
+
if kwargs:
|
54
|
+
raise ValueError("If a position argument is used, keyword arguments cannot be used.")
|
55
|
+
super().__init__(actual_instance=args[0])
|
56
|
+
else:
|
57
|
+
super().__init__(**kwargs)
|
58
|
+
|
59
|
+
@field_validator('actual_instance')
|
60
|
+
def actual_instance_must_validate_oneof(cls, v):
|
61
|
+
instance = BulkSearchRequestInner.model_construct()
|
62
|
+
error_messages = []
|
63
|
+
match = 0
|
64
|
+
# validate data type: SearchBulkQuery
|
65
|
+
if not isinstance(v, SearchBulkQuery):
|
66
|
+
error_messages.append(f"Error! Input type `{type(v)}` is not `SearchBulkQuery`")
|
67
|
+
else:
|
68
|
+
match += 1
|
69
|
+
# validate data type: SearchStructuredBulkQuery
|
70
|
+
if not isinstance(v, SearchStructuredBulkQuery):
|
71
|
+
error_messages.append(f"Error! Input type `{type(v)}` is not `SearchStructuredBulkQuery`")
|
72
|
+
else:
|
73
|
+
match += 1
|
74
|
+
if match > 1:
|
75
|
+
# more than 1 match
|
76
|
+
raise ValueError("Multiple matches found when setting `actual_instance` in BulkSearchRequestInner with oneOf schemas: SearchBulkQuery, SearchStructuredBulkQuery. Details: " + ", ".join(error_messages))
|
77
|
+
elif match == 0:
|
78
|
+
# no match
|
79
|
+
raise ValueError("No match found when setting `actual_instance` in BulkSearchRequestInner with oneOf schemas: SearchBulkQuery, SearchStructuredBulkQuery. Details: " + ", ".join(error_messages))
|
80
|
+
else:
|
81
|
+
return v
|
82
|
+
|
83
|
+
@classmethod
|
84
|
+
def from_dict(cls, obj: Union[str, Dict[str, Any]]) -> Self:
|
85
|
+
return cls.from_json(json.dumps(obj))
|
86
|
+
|
87
|
+
@classmethod
|
88
|
+
def from_json(cls, json_str: str) -> Self:
|
89
|
+
"""Returns the object represented by the json string"""
|
90
|
+
instance = cls.model_construct()
|
91
|
+
error_messages = []
|
92
|
+
match = 0
|
93
|
+
|
94
|
+
# deserialize data into SearchBulkQuery
|
95
|
+
try:
|
96
|
+
instance.actual_instance = SearchBulkQuery.from_json(json_str)
|
97
|
+
match += 1
|
98
|
+
except (ValidationError, ValueError) as e:
|
99
|
+
error_messages.append(str(e))
|
100
|
+
# deserialize data into SearchStructuredBulkQuery
|
101
|
+
try:
|
102
|
+
instance.actual_instance = SearchStructuredBulkQuery.from_json(json_str)
|
103
|
+
match += 1
|
104
|
+
except (ValidationError, ValueError) as e:
|
105
|
+
error_messages.append(str(e))
|
106
|
+
|
107
|
+
if match > 1:
|
108
|
+
# more than 1 match
|
109
|
+
raise ValueError("Multiple matches found when deserializing the JSON string into BulkSearchRequestInner with oneOf schemas: SearchBulkQuery, SearchStructuredBulkQuery. Details: " + ", ".join(error_messages))
|
110
|
+
elif match == 0:
|
111
|
+
# no match
|
112
|
+
raise ValueError("No match found when deserializing the JSON string into BulkSearchRequestInner with oneOf schemas: SearchBulkQuery, SearchStructuredBulkQuery. Details: " + ", ".join(error_messages))
|
113
|
+
else:
|
114
|
+
return instance
|
115
|
+
|
116
|
+
def to_json(self) -> str:
|
117
|
+
"""Returns the JSON representation of the actual instance"""
|
118
|
+
if self.actual_instance is None:
|
119
|
+
return "null"
|
120
|
+
|
121
|
+
if hasattr(self.actual_instance, "to_json") and callable(self.actual_instance.to_json):
|
122
|
+
return self.actual_instance.to_json()
|
123
|
+
else:
|
124
|
+
return json.dumps(self.actual_instance)
|
125
|
+
|
126
|
+
def to_dict(self) -> Optional[Union[Dict[str, Any], SearchBulkQuery, SearchStructuredBulkQuery]]:
|
127
|
+
"""Returns the dict representation of the actual instance"""
|
128
|
+
if self.actual_instance is None:
|
129
|
+
return None
|
130
|
+
|
131
|
+
if hasattr(self.actual_instance, "to_dict") and callable(self.actual_instance.to_dict):
|
132
|
+
return self.actual_instance.to_dict()
|
133
|
+
else:
|
134
|
+
# primitive type
|
135
|
+
return self.actual_instance
|
136
|
+
|
137
|
+
def to_str(self) -> str:
|
138
|
+
"""Returns the string representation of the actual instance"""
|
139
|
+
return pprint.pformat(self.model_dump())
|
140
|
+
|
141
|
+
|
@@ -0,0 +1,109 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
"""
|
4
|
+
Stadia Maps Geospatial APIs
|
5
|
+
|
6
|
+
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
|
7
|
+
|
8
|
+
The version of the OpenAPI document: 6.6.2
|
9
|
+
Contact: support@stadiamaps.com
|
10
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
|
+
|
12
|
+
Do not edit the class manually.
|
13
|
+
""" # noqa: E501
|
14
|
+
|
15
|
+
|
16
|
+
from __future__ import annotations
|
17
|
+
import pprint
|
18
|
+
import re # noqa: F401
|
19
|
+
import json
|
20
|
+
|
21
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr
|
22
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
23
|
+
from stadiamaps.models.pelias_response import PeliasResponse
|
24
|
+
from typing import Optional, Set
|
25
|
+
from typing_extensions import Self
|
26
|
+
|
27
|
+
class BulkSearchResponse(BaseModel):
|
28
|
+
"""
|
29
|
+
BulkSearchResponse
|
30
|
+
""" # noqa: E501
|
31
|
+
status: StrictInt
|
32
|
+
response: Optional[PeliasResponse] = None
|
33
|
+
msg: Optional[StrictStr] = Field(default=None, description="An error message describing what went wrong (if the status is not 200).")
|
34
|
+
additional_properties: Dict[str, Any] = {}
|
35
|
+
__properties: ClassVar[List[str]] = ["status", "response", "msg"]
|
36
|
+
|
37
|
+
model_config = ConfigDict(
|
38
|
+
populate_by_name=True,
|
39
|
+
validate_assignment=True,
|
40
|
+
protected_namespaces=(),
|
41
|
+
)
|
42
|
+
|
43
|
+
|
44
|
+
def to_str(self) -> str:
|
45
|
+
"""Returns the string representation of the model using alias"""
|
46
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
47
|
+
|
48
|
+
def to_json(self) -> str:
|
49
|
+
"""Returns the JSON representation of the model using alias"""
|
50
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
51
|
+
return json.dumps(self.to_dict())
|
52
|
+
|
53
|
+
@classmethod
|
54
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
55
|
+
"""Create an instance of BulkSearchResponse from a JSON string"""
|
56
|
+
return cls.from_dict(json.loads(json_str))
|
57
|
+
|
58
|
+
def to_dict(self) -> Dict[str, Any]:
|
59
|
+
"""Return the dictionary representation of the model using alias.
|
60
|
+
|
61
|
+
This has the following differences from calling pydantic's
|
62
|
+
`self.model_dump(by_alias=True)`:
|
63
|
+
|
64
|
+
* `None` is only added to the output dict for nullable fields that
|
65
|
+
were set at model initialization. Other fields with value `None`
|
66
|
+
are ignored.
|
67
|
+
* Fields in `self.additional_properties` are added to the output dict.
|
68
|
+
"""
|
69
|
+
excluded_fields: Set[str] = set([
|
70
|
+
"additional_properties",
|
71
|
+
])
|
72
|
+
|
73
|
+
_dict = self.model_dump(
|
74
|
+
by_alias=True,
|
75
|
+
exclude=excluded_fields,
|
76
|
+
exclude_none=True,
|
77
|
+
)
|
78
|
+
# override the default output from pydantic by calling `to_dict()` of response
|
79
|
+
if self.response:
|
80
|
+
_dict['response'] = self.response.to_dict()
|
81
|
+
# puts key-value pairs in additional_properties in the top level
|
82
|
+
if self.additional_properties is not None:
|
83
|
+
for _key, _value in self.additional_properties.items():
|
84
|
+
_dict[_key] = _value
|
85
|
+
|
86
|
+
return _dict
|
87
|
+
|
88
|
+
@classmethod
|
89
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
90
|
+
"""Create an instance of BulkSearchResponse from a dict"""
|
91
|
+
if obj is None:
|
92
|
+
return None
|
93
|
+
|
94
|
+
if not isinstance(obj, dict):
|
95
|
+
return cls.model_validate(obj)
|
96
|
+
|
97
|
+
_obj = cls.model_validate({
|
98
|
+
"status": obj.get("status"),
|
99
|
+
"response": PeliasResponse.from_dict(obj["response"]) if obj.get("response") is not None else None,
|
100
|
+
"msg": obj.get("msg")
|
101
|
+
})
|
102
|
+
# store additional fields in additional_properties
|
103
|
+
for _key in obj.keys():
|
104
|
+
if _key not in cls.__properties:
|
105
|
+
_obj.additional_properties[_key] = obj.get(_key)
|
106
|
+
|
107
|
+
return _obj
|
108
|
+
|
109
|
+
|
stadiamaps/models/contour.py
CHANGED
@@ -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.
|
8
|
+
The version of the OpenAPI document: 6.6.2
|
9
9
|
Contact: support@stadiamaps.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
stadiamaps/models/coordinate.py
CHANGED
@@ -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.
|
8
|
+
The version of the OpenAPI document: 6.6.2
|
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.
|
8
|
+
The version of the OpenAPI document: 6.6.2
|
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.
|
8
|
+
The version of the OpenAPI document: 6.6.2
|
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.
|
8
|
+
The version of the OpenAPI document: 6.6.2
|
9
9
|
Contact: support@stadiamaps.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -29,8 +29,8 @@ class DirectionsOptions(BaseModel):
|
|
29
29
|
"""
|
30
30
|
DirectionsOptions
|
31
31
|
""" # noqa: E501
|
32
|
-
units: Optional[DistanceUnit] =
|
33
|
-
language: Optional[ValhallaLanguages] =
|
32
|
+
units: Optional[DistanceUnit] = DistanceUnit.KM
|
33
|
+
language: Optional[ValhallaLanguages] = ValhallaLanguages.EN_MINUS_US
|
34
34
|
directions_type: Optional[StrictStr] = Field(default='instructions', description="The level of directional narrative to include. Locations and times will always be returned, but narrative generation verbosity can be controlled with this parameter.")
|
35
35
|
additional_properties: Dict[str, Any] = {}
|
36
36
|
__properties: ClassVar[List[str]] = ["units", "language", "directions_type"]
|
@@ -103,8 +103,8 @@ class DirectionsOptions(BaseModel):
|
|
103
103
|
return cls.model_validate(obj)
|
104
104
|
|
105
105
|
_obj = cls.model_validate({
|
106
|
-
"units": obj.get("units"),
|
107
|
-
"language": obj.get("language"),
|
106
|
+
"units": obj.get("units") if obj.get("units") is not None else DistanceUnit.KM,
|
107
|
+
"language": obj.get("language") if obj.get("language") is not None else ValhallaLanguages.EN_MINUS_US,
|
108
108
|
"directions_type": obj.get("directions_type") if obj.get("directions_type") is not None else 'instructions'
|
109
109
|
})
|
110
110
|
# store additional fields in additional_properties
|
@@ -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.
|
8
|
+
The version of the OpenAPI document: 6.6.2
|
9
9
|
Contact: support@stadiamaps.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
stadiamaps/models/edge_sign.py
CHANGED
@@ -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.
|
8
|
+
The version of the OpenAPI document: 6.6.2
|
9
9
|
Contact: support@stadiamaps.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
stadiamaps/models/edge_use.py
CHANGED
@@ -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.
|
8
|
+
The version of the OpenAPI document: 6.6.2
|
9
9
|
Contact: support@stadiamaps.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
stadiamaps/models/end_node.py
CHANGED
@@ -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.
|
8
|
+
The version of the OpenAPI document: 6.6.2
|
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.
|
8
|
+
The version of the OpenAPI document: 6.6.2
|
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.
|
8
|
+
The version of the OpenAPI document: 6.6.2
|
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.
|
8
|
+
The version of the OpenAPI document: 6.6.2
|
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.
|
8
|
+
The version of the OpenAPI document: 6.6.2
|
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.
|
8
|
+
The version of the OpenAPI document: 6.6.2
|
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.
|
8
|
+
The version of the OpenAPI document: 6.6.2
|
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.
|
8
|
+
The version of the OpenAPI document: 6.6.2
|
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.
|
8
|
+
The version of the OpenAPI document: 6.6.2
|
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.
|
8
|
+
The version of the OpenAPI document: 6.6.2
|
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.
|
8
|
+
The version of the OpenAPI document: 6.6.2
|
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.
|
8
|
+
The version of the OpenAPI document: 6.6.2
|
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.
|
8
|
+
The version of the OpenAPI document: 6.6.2
|
9
9
|
Contact: support@stadiamaps.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -28,8 +28,15 @@ class IsochroneCostingModel(str, Enum):
|
|
28
28
|
allowed enum values
|
29
29
|
"""
|
30
30
|
AUTO = 'auto'
|
31
|
+
BUS = 'bus'
|
32
|
+
TAXI = 'taxi'
|
33
|
+
TRUCK = 'truck'
|
31
34
|
BICYCLE = 'bicycle'
|
35
|
+
BIKESHARE = 'bikeshare'
|
36
|
+
MOTOR_SCOOTER = 'motor_scooter'
|
37
|
+
MOTORCYCLE = 'motorcycle'
|
32
38
|
PEDESTRIAN = 'pedestrian'
|
39
|
+
LOW_SPEED_VEHICLE = 'low_speed_vehicle'
|
33
40
|
|
34
41
|
@classmethod
|
35
42
|
def from_json(cls, json_str: str) -> 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.
|
8
|
+
The version of the OpenAPI document: 6.6.2
|
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.
|
8
|
+
The version of the OpenAPI document: 6.6.2
|
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.
|
8
|
+
The version of the OpenAPI document: 6.6.2
|
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.
|
8
|
+
The version of the OpenAPI document: 6.6.2
|
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.
|
8
|
+
The version of the OpenAPI document: 6.6.2
|
9
9
|
Contact: support@stadiamaps.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
stadiamaps/models/locate_edge.py
CHANGED
@@ -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.
|
8
|
+
The version of the OpenAPI document: 6.6.2
|
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.
|
8
|
+
The version of the OpenAPI document: 6.6.2
|
9
9
|
Contact: support@stadiamaps.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
stadiamaps/models/locate_node.py
CHANGED
@@ -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.
|
8
|
+
The version of the OpenAPI document: 6.6.2
|
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.
|
8
|
+
The version of the OpenAPI document: 6.6.2
|
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.
|
8
|
+
The version of the OpenAPI document: 6.6.2
|
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.
|
8
|
+
The version of the OpenAPI document: 6.6.2
|
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.
|
8
|
+
The version of the OpenAPI document: 6.6.2
|
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.
|
8
|
+
The version of the OpenAPI document: 6.6.2
|
9
9
|
Contact: support@stadiamaps.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -28,9 +28,15 @@ class MapMatchCostingModel(str, Enum):
|
|
28
28
|
allowed enum values
|
29
29
|
"""
|
30
30
|
AUTO = 'auto'
|
31
|
-
BICYCLE = 'bicycle'
|
32
31
|
BUS = 'bus'
|
32
|
+
TAXI = 'taxi'
|
33
|
+
TRUCK = 'truck'
|
34
|
+
BICYCLE = 'bicycle'
|
35
|
+
BIKESHARE = 'bikeshare'
|
36
|
+
MOTOR_SCOOTER = 'motor_scooter'
|
37
|
+
MOTORCYCLE = 'motorcycle'
|
33
38
|
PEDESTRIAN = 'pedestrian'
|
39
|
+
LOW_SPEED_VEHICLE = 'low_speed_vehicle'
|
34
40
|
|
35
41
|
@classmethod
|
36
42
|
def from_json(cls, json_str: str) -> Self:
|