Добавлен POST /api/v1/delivery/suggest-address

This commit is contained in:
Раис Юсупалиев
2026-03-29 02:05:21 +03:00
parent 17772e5337
commit 4a3737999f
11 changed files with 666 additions and 23 deletions
@@ -65,6 +65,9 @@ def test_dadata_provider_maps_response_to_unified_model() -> None:
"value": "г Москва, ул Хабаровская",
"unrestricted_value": "107241, г Москва, ул Хабаровская",
"data": {
"street": "Хабаровская",
"house": "1",
"flat": "25",
"postal_code": "107241",
"country_iso_code": "RU",
"geo_lat": "55.821168",
@@ -89,8 +92,10 @@ def test_dadata_provider_maps_response_to_unified_model() -> None:
assert result == [
AddressSuggestion(
provider="dadata",
address="107241, г Москва, ул Хабаровская",
street="Хабаровская",
house="1",
flat="25",
postal_code="107241",
)
]