@mivis/petmart-api 1.2.155 → 1.2.157
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.
- package/package.json +1 -1
- package/type.d.ts +10 -1
package/package.json
CHANGED
package/type.d.ts
CHANGED
|
@@ -916,7 +916,7 @@ declare namespace Components {
|
|
|
916
916
|
|
|
917
917
|
export interface IGetCDEKOffices {
|
|
918
918
|
weight_max?: string;
|
|
919
|
-
city: string; // city or
|
|
919
|
+
city: string; // city or city_district from dadata
|
|
920
920
|
}
|
|
921
921
|
|
|
922
922
|
export interface ICDEKOffice {
|
|
@@ -1407,10 +1407,17 @@ declare namespace Components {
|
|
|
1407
1407
|
sum: number;
|
|
1408
1408
|
}
|
|
1409
1409
|
|
|
1410
|
+
export interface IAddressSuggestionRequest {
|
|
1411
|
+
address: string;
|
|
1412
|
+
isCityOnly?: 'true' | 'false';
|
|
1413
|
+
}
|
|
1414
|
+
|
|
1410
1415
|
export interface IAddressSuggestion {
|
|
1411
1416
|
value: string;
|
|
1412
1417
|
unrestricted_value: string;
|
|
1413
1418
|
data: {
|
|
1419
|
+
city: string;
|
|
1420
|
+
city_district: string;
|
|
1414
1421
|
region_fias_id: string;
|
|
1415
1422
|
city_fias_id: string;
|
|
1416
1423
|
city_kladr_id: string;
|
|
@@ -1418,6 +1425,8 @@ declare namespace Components {
|
|
|
1418
1425
|
fias_code: null;
|
|
1419
1426
|
fias_level: string;
|
|
1420
1427
|
kladr_id: string;
|
|
1428
|
+
geo_lat: string | null;
|
|
1429
|
+
geo_lon: string | null;
|
|
1421
1430
|
};
|
|
1422
1431
|
}
|
|
1423
1432
|
|