@hapl/api-queries 0.1.118 → 0.1.119
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/CHANGELOG.md +12 -0
- package/dist/api-queries.cjs.development.js +255 -9
- package/dist/api-queries.cjs.development.js.map +1 -1
- package/dist/api-queries.cjs.production.min.js +1 -1
- package/dist/api-queries.cjs.production.min.js.map +1 -1
- package/dist/api-queries.esm.js +255 -9
- package/dist/api-queries.esm.js.map +1 -1
- package/dist/clients/v1/api/index.d.ts +1 -1
- package/dist/clients/v1/api/serviceRequest/findServiceRequestSellerReports/index.d.ts +42 -0
- package/dist/clients/v1/index.d.ts +1 -1
- package/dist/registry/v1/api/{complexes → complex}/findComplexIds/index.d.ts +0 -0
- package/dist/registry/v1/api/index.d.ts +2 -1
- package/dist/registry/v1/api/realty/findRealties/index.d.ts +34 -0
- package/dist/registry/v1/dictionaries/AddressBTIParams.d.ts +24 -0
- package/dist/registry/v1/dictionaries/Realty.d.ts +71 -0
- package/dist/registry/v1/dictionaries/Shape.d.ts +11 -0
- package/dist/registry/v1/dictionaries/index.d.ts +3 -0
- package/dist/registry/v1/index.d.ts +3 -0
- package/dist/registry/v1/types/Address.d.ts +31 -0
- package/dist/registry/v1/types/AddressBTIParams.d.ts +39 -0
- package/dist/registry/v1/types/AddressMetroDistance.d.ts +9 -0
- package/dist/registry/v1/types/Image.d.ts +15 -0
- package/dist/registry/v1/types/Realty.d.ts +116 -0
- package/dist/registry/v1/types/RealtyOffer.d.ts +6 -0
- package/dist/registry/v1/types/Shape.d.ts +24 -0
- package/dist/registry/v1/types/index.d.ts +7 -0
- package/package.json +1 -1
- package/src/clients/v1/api/index.ts +1 -1
- package/src/clients/v1/api/serviceRequest/{findServiceRequestSellerReport → findServiceRequestSellerReports}/index.ts +13 -13
- package/src/clients/v1/index.ts +5 -5
- package/src/registry/v1/api/{complexes → complex}/findComplexIds/index.ts +0 -0
- package/src/registry/v1/api/index.ts +3 -1
- package/src/registry/v1/api/realty/findRealties/index.ts +54 -0
- package/src/registry/v1/dictionaries/AddressBTIParams.ts +25 -0
- package/src/registry/v1/dictionaries/Realty.ts +84 -0
- package/src/registry/v1/dictionaries/Shape.ts +12 -0
- package/src/registry/v1/dictionaries/index.ts +3 -0
- package/src/registry/v1/index.ts +10 -0
- package/src/registry/v1/types/Address.ts +29 -0
- package/src/registry/v1/types/AddressBTIParams.ts +42 -0
- package/src/registry/v1/types/AddressMetroDistance.ts +9 -0
- package/src/registry/v1/types/Image.ts +13 -0
- package/src/registry/v1/types/Realty.ts +123 -0
- package/src/registry/v1/types/RealtyOffer.ts +6 -0
- package/src/registry/v1/types/Shape.ts +24 -0
- package/src/registry/v1/types/index.ts +7 -0
- package/dist/clients/v1/api/serviceRequest/findServiceRequestSellerReport/index.d.ts +0 -42
package/dist/api-queries.esm.js
CHANGED
|
@@ -1165,7 +1165,7 @@ function findServiceRequestsRequest(_ref) {
|
|
|
1165
1165
|
});
|
|
1166
1166
|
}
|
|
1167
1167
|
|
|
1168
|
-
function
|
|
1168
|
+
function findServiceRequestSellerReportsRequest(_ref) {
|
|
1169
1169
|
var _ref$baseURL = _ref.baseURL,
|
|
1170
1170
|
baseURL = _ref$baseURL === void 0 ? 'https://clients.homeapp.ru' : _ref$baseURL,
|
|
1171
1171
|
urlParams = _ref.urlParams,
|
|
@@ -3029,8 +3029,8 @@ var Api = function Api(baseURL) {
|
|
|
3029
3029
|
});
|
|
3030
3030
|
};
|
|
3031
3031
|
|
|
3032
|
-
this.
|
|
3033
|
-
return
|
|
3032
|
+
this.findServiceRequestSellerReports = function (urlParams, params, headers) {
|
|
3033
|
+
return findServiceRequestSellerReportsRequest({
|
|
3034
3034
|
urlParams: urlParams,
|
|
3035
3035
|
params: params,
|
|
3036
3036
|
headers: headers,
|
|
@@ -3165,7 +3165,7 @@ var index = {
|
|
|
3165
3165
|
findServiceRequestByIdRequest: findServiceRequestByIdRequest,
|
|
3166
3166
|
findServiceRequestDuplicatesRequest: findServiceRequestDuplicatesRequest,
|
|
3167
3167
|
findServiceRequestsRequest: findServiceRequestsRequest,
|
|
3168
|
-
|
|
3168
|
+
findServiceRequestSellerReportsRequest: findServiceRequestSellerReportsRequest,
|
|
3169
3169
|
findServiceRequestShortInfoRequest: findServiceRequestShortInfoRequest,
|
|
3170
3170
|
findServiceRequestShortInfoByIdRequest: findServiceRequestShortInfoByIdRequest,
|
|
3171
3171
|
findServiceRequestShortInfoByDealIdRequest: findServiceRequestShortInfoByDealIdRequest,
|
|
@@ -5088,23 +5088,269 @@ function findComplexIdsRequest(_ref) {
|
|
|
5088
5088
|
});
|
|
5089
5089
|
}
|
|
5090
5090
|
|
|
5091
|
+
function findRealtiesRequest$1(_ref) {
|
|
5092
|
+
var _ref$baseURL = _ref.baseURL,
|
|
5093
|
+
baseURL = _ref$baseURL === void 0 ? 'https://clients.homeapp.ru' : _ref$baseURL,
|
|
5094
|
+
params = _ref.params;
|
|
5095
|
+
return axios.get('/api/realty', {
|
|
5096
|
+
baseURL: baseURL,
|
|
5097
|
+
params: params,
|
|
5098
|
+
paramsSerializer: function paramsSerializer(params) {
|
|
5099
|
+
return qs.stringify(params, {
|
|
5100
|
+
arrayFormat: 'brackets'
|
|
5101
|
+
});
|
|
5102
|
+
},
|
|
5103
|
+
headers: {
|
|
5104
|
+
Accept: 'application/json'
|
|
5105
|
+
},
|
|
5106
|
+
transformResponse: [].concat(axios.defaults.transformResponse, [function (data) {
|
|
5107
|
+
if (!data.success) {
|
|
5108
|
+
return data.data.error || data.data.message;
|
|
5109
|
+
}
|
|
5110
|
+
|
|
5111
|
+
var ids = [];
|
|
5112
|
+
var byId = {};
|
|
5113
|
+
data.data.forEach(function (entity) {
|
|
5114
|
+
byId[entity.id] = entity;
|
|
5115
|
+
ids.push(entity.id);
|
|
5116
|
+
});
|
|
5117
|
+
return {
|
|
5118
|
+
ids: ids,
|
|
5119
|
+
byId: byId,
|
|
5120
|
+
meta: {
|
|
5121
|
+
total: data.pageParams.length
|
|
5122
|
+
}
|
|
5123
|
+
};
|
|
5124
|
+
}])
|
|
5125
|
+
}).then(function (res) {
|
|
5126
|
+
return res;
|
|
5127
|
+
})["catch"](function (err) {
|
|
5128
|
+
throw err;
|
|
5129
|
+
});
|
|
5130
|
+
}
|
|
5131
|
+
|
|
5132
|
+
var AddressBTIParamsParking$1;
|
|
5133
|
+
|
|
5134
|
+
(function (AddressBTIParamsParking) {
|
|
5135
|
+
AddressBTIParamsParking["Ground"] = "ground";
|
|
5136
|
+
AddressBTIParamsParking["Multilevel"] = "multilevel";
|
|
5137
|
+
AddressBTIParamsParking["Underground"] = "underground";
|
|
5138
|
+
})(AddressBTIParamsParking$1 || (AddressBTIParamsParking$1 = {}));
|
|
5139
|
+
|
|
5140
|
+
var AddressBTIParamsWallsMaterial$2;
|
|
5141
|
+
|
|
5142
|
+
(function (AddressBTIParamsWallsMaterial) {
|
|
5143
|
+
AddressBTIParamsWallsMaterial["Brick"] = "brick";
|
|
5144
|
+
AddressBTIParamsWallsMaterial["Monolith"] = "monolith";
|
|
5145
|
+
AddressBTIParamsWallsMaterial["Monobrick"] = "monobrick";
|
|
5146
|
+
AddressBTIParamsWallsMaterial["Timber"] = "timber";
|
|
5147
|
+
AddressBTIParamsWallsMaterial["Panel"] = "panel";
|
|
5148
|
+
AddressBTIParamsWallsMaterial["Block"] = "block";
|
|
5149
|
+
})(AddressBTIParamsWallsMaterial$2 || (AddressBTIParamsWallsMaterial$2 = {}));
|
|
5150
|
+
|
|
5151
|
+
var AddressBTIParamsHeatingType$2;
|
|
5152
|
+
|
|
5153
|
+
(function (AddressBTIParamsHeatingType) {
|
|
5154
|
+
AddressBTIParamsHeatingType["None"] = "none";
|
|
5155
|
+
AddressBTIParamsHeatingType["Central"] = "central";
|
|
5156
|
+
AddressBTIParamsHeatingType["Local"] = "local";
|
|
5157
|
+
AddressBTIParamsHeatingType["Gas"] = "gas";
|
|
5158
|
+
AddressBTIParamsHeatingType["Electricity"] = "electricity";
|
|
5159
|
+
AddressBTIParamsHeatingType["Liquid"] = "liquid";
|
|
5160
|
+
})(AddressBTIParamsHeatingType$2 || (AddressBTIParamsHeatingType$2 = {}));
|
|
5161
|
+
|
|
5162
|
+
var ImageType$1;
|
|
5163
|
+
|
|
5164
|
+
(function (ImageType) {
|
|
5165
|
+
ImageType["Complex"] = "complex";
|
|
5166
|
+
ImageType["Apartment"] = "apartment";
|
|
5167
|
+
ImageType["Layout"] = "layout";
|
|
5168
|
+
})(ImageType$1 || (ImageType$1 = {}));
|
|
5169
|
+
|
|
5170
|
+
var RealtyType$2;
|
|
5171
|
+
|
|
5172
|
+
(function (RealtyType) {
|
|
5173
|
+
RealtyType["Flat"] = "flat";
|
|
5174
|
+
RealtyType["House"] = "house";
|
|
5175
|
+
})(RealtyType$2 || (RealtyType$2 = {}));
|
|
5176
|
+
|
|
5177
|
+
var RealtyRenovationType$2;
|
|
5178
|
+
|
|
5179
|
+
(function (RealtyRenovationType) {
|
|
5180
|
+
RealtyRenovationType["None"] = "none";
|
|
5181
|
+
RealtyRenovationType["Author"] = "author";
|
|
5182
|
+
RealtyRenovationType["Cosmetic"] = "cosmetic";
|
|
5183
|
+
RealtyRenovationType["Euro"] = "euro";
|
|
5184
|
+
RealtyRenovationType["FineFinishing"] = "fine_finishing";
|
|
5185
|
+
RealtyRenovationType["RoughFinishing"] = "rough_finishing";
|
|
5186
|
+
})(RealtyRenovationType$2 || (RealtyRenovationType$2 = {}));
|
|
5187
|
+
|
|
5188
|
+
var RealtyGas$2;
|
|
5189
|
+
|
|
5190
|
+
(function (RealtyGas) {
|
|
5191
|
+
RealtyGas["None"] = "none";
|
|
5192
|
+
RealtyGas["Connected"] = "connected";
|
|
5193
|
+
RealtyGas["Border"] = "border";
|
|
5194
|
+
RealtyGas["Possible"] = "possible";
|
|
5195
|
+
RealtyGas["Autonomous"] = "autonomous";
|
|
5196
|
+
})(RealtyGas$2 || (RealtyGas$2 = {}));
|
|
5197
|
+
|
|
5198
|
+
var RealtyHouseType$2;
|
|
5199
|
+
|
|
5200
|
+
(function (RealtyHouseType) {
|
|
5201
|
+
RealtyHouseType["Townhouse"] = "townhouse";
|
|
5202
|
+
RealtyHouseType["House"] = "house";
|
|
5203
|
+
RealtyHouseType["Cottage"] = "cottage";
|
|
5204
|
+
RealtyHouseType["Part"] = "part";
|
|
5205
|
+
RealtyHouseType["Duplex"] = "duplex";
|
|
5206
|
+
})(RealtyHouseType$2 || (RealtyHouseType$2 = {}));
|
|
5207
|
+
|
|
5208
|
+
var RealtyLandShape$2;
|
|
5209
|
+
|
|
5210
|
+
(function (RealtyLandShape) {
|
|
5211
|
+
RealtyLandShape["Regular"] = "regular";
|
|
5212
|
+
RealtyLandShape["Irregular"] = "irregular";
|
|
5213
|
+
})(RealtyLandShape$2 || (RealtyLandShape$2 = {}));
|
|
5214
|
+
|
|
5215
|
+
var RealtyLandUsageType$2;
|
|
5216
|
+
|
|
5217
|
+
(function (RealtyLandUsageType) {
|
|
5218
|
+
RealtyLandUsageType["IGS"] = "igs";
|
|
5219
|
+
RealtyLandUsageType["LPH"] = "lph";
|
|
5220
|
+
RealtyLandUsageType["DNP"] = "dnp";
|
|
5221
|
+
RealtyLandUsageType["SNT"] = "snt";
|
|
5222
|
+
RealtyLandUsageType["Farm"] = "farm";
|
|
5223
|
+
RealtyLandUsageType["Garden"] = "garden";
|
|
5224
|
+
RealtyLandUsageType["Investproject"] = "investproject";
|
|
5225
|
+
})(RealtyLandUsageType$2 || (RealtyLandUsageType$2 = {}));
|
|
5226
|
+
|
|
5227
|
+
var RealtyRelief$2;
|
|
5228
|
+
|
|
5229
|
+
(function (RealtyRelief) {
|
|
5230
|
+
RealtyRelief["Flat"] = "flat";
|
|
5231
|
+
RealtyRelief["Elevations"] = "elevations";
|
|
5232
|
+
RealtyRelief["Slope"] = "slope";
|
|
5233
|
+
RealtyRelief["Hills"] = "hills";
|
|
5234
|
+
})(RealtyRelief$2 || (RealtyRelief$2 = {}));
|
|
5235
|
+
|
|
5236
|
+
var RealtyElectricity$2;
|
|
5237
|
+
|
|
5238
|
+
(function (RealtyElectricity) {
|
|
5239
|
+
RealtyElectricity["None"] = "none";
|
|
5240
|
+
RealtyElectricity["Connected"] = "connected";
|
|
5241
|
+
RealtyElectricity["Possible"] = "possible";
|
|
5242
|
+
RealtyElectricity["Autonomous"] = "autonomous";
|
|
5243
|
+
})(RealtyElectricity$2 || (RealtyElectricity$2 = {}));
|
|
5244
|
+
|
|
5245
|
+
var RealtyFurniture$2;
|
|
5246
|
+
|
|
5247
|
+
(function (RealtyFurniture) {
|
|
5248
|
+
RealtyFurniture["None"] = "none";
|
|
5249
|
+
RealtyFurniture["Full"] = "full";
|
|
5250
|
+
RealtyFurniture["Part"] = "part";
|
|
5251
|
+
})(RealtyFurniture$2 || (RealtyFurniture$2 = {}));
|
|
5252
|
+
|
|
5253
|
+
var RealtySewerage$2;
|
|
5254
|
+
|
|
5255
|
+
(function (RealtySewerage) {
|
|
5256
|
+
RealtySewerage["None"] = "none";
|
|
5257
|
+
RealtySewerage["Cesspool"] = "cesspool";
|
|
5258
|
+
RealtySewerage["Septic"] = "septic";
|
|
5259
|
+
RealtySewerage["Bio"] = "bio";
|
|
5260
|
+
RealtySewerage["Central"] = "central";
|
|
5261
|
+
})(RealtySewerage$2 || (RealtySewerage$2 = {}));
|
|
5262
|
+
|
|
5263
|
+
var RealtyWindowView$2;
|
|
5264
|
+
|
|
5265
|
+
(function (RealtyWindowView) {
|
|
5266
|
+
RealtyWindowView["Street"] = "street";
|
|
5267
|
+
RealtyWindowView["Yard"] = "yard";
|
|
5268
|
+
RealtyWindowView["Both"] = "both";
|
|
5269
|
+
})(RealtyWindowView$2 || (RealtyWindowView$2 = {}));
|
|
5270
|
+
|
|
5271
|
+
var ShapeType$1;
|
|
5272
|
+
|
|
5273
|
+
(function (ShapeType) {
|
|
5274
|
+
ShapeType["AdministrativeDistrict"] = "administrative_district";
|
|
5275
|
+
ShapeType["Block"] = "block";
|
|
5276
|
+
ShapeType["Complex"] = "complex";
|
|
5277
|
+
ShapeType["District"] = "district";
|
|
5278
|
+
ShapeType["House"] = "house";
|
|
5279
|
+
ShapeType["Microdistrict"] = "microdistrict";
|
|
5280
|
+
})(ShapeType$1 || (ShapeType$1 = {}));
|
|
5281
|
+
|
|
5282
|
+
var _Parking$1, _WallsMaterial$3, _HeatingType$2;
|
|
5283
|
+
var AddressBTIParamsDictionary$2 = {
|
|
5284
|
+
Parking: (_Parking$1 = {}, _Parking$1[AddressBTIParamsParking$1.Ground] = 'Наземная', _Parking$1[AddressBTIParamsParking$1.Multilevel] = 'Многоуровневая', _Parking$1[AddressBTIParamsParking$1.Underground] = 'Подземная', _Parking$1),
|
|
5285
|
+
WallsMaterial: (_WallsMaterial$3 = {}, _WallsMaterial$3[AddressBTIParamsWallsMaterial$2.Brick] = 'Кирпичный', _WallsMaterial$3[AddressBTIParamsWallsMaterial$2.Monolith] = 'Монолитный', _WallsMaterial$3[AddressBTIParamsWallsMaterial$2.Monobrick] = 'Монолитно-кирпичный', _WallsMaterial$3[AddressBTIParamsWallsMaterial$2.Timber] = 'Деревянный', _WallsMaterial$3[AddressBTIParamsWallsMaterial$2.Panel] = 'Панельный', _WallsMaterial$3[AddressBTIParamsWallsMaterial$2.Block] = 'Блочный', _WallsMaterial$3),
|
|
5286
|
+
HeatingType: (_HeatingType$2 = {}, _HeatingType$2[AddressBTIParamsHeatingType$2.None] = 'Нет', _HeatingType$2[AddressBTIParamsHeatingType$2.Central] = 'Центральное', _HeatingType$2[AddressBTIParamsHeatingType$2.Local] = 'Отдельное', _HeatingType$2[AddressBTIParamsHeatingType$2.Gas] = 'Газовое', _HeatingType$2[AddressBTIParamsHeatingType$2.Electricity] = 'Электрическое', _HeatingType$2[AddressBTIParamsHeatingType$2.Liquid] = 'Жидкое топливо', _HeatingType$2)
|
|
5287
|
+
};
|
|
5288
|
+
|
|
5289
|
+
var _Type$9, _RenovationType$2, _Gas$2, _HouseType$2, _LandShape$2, _LandUsageType$2, _Relief$2, _Electricity$2, _Furniture$2, _Sewerage$2, _WindowView$2;
|
|
5290
|
+
var RealtyDictionary$2 = {
|
|
5291
|
+
Type: (_Type$9 = {}, _Type$9[RealtyType$2.Flat] = 'Квартира', _Type$9[RealtyType$2.House] = 'Дом', _Type$9),
|
|
5292
|
+
RenovationType: (_RenovationType$2 = {}, _RenovationType$2[RealtyRenovationType$2.None] = 'Без ремонта', _RenovationType$2[RealtyRenovationType$2.Author] = 'Авторский', _RenovationType$2[RealtyRenovationType$2.Cosmetic] = 'Косметический', _RenovationType$2[RealtyRenovationType$2.Euro] = 'Евро', _RenovationType$2[RealtyRenovationType$2.FineFinishing] = 'Чистовая отделка', _RenovationType$2[RealtyRenovationType$2.RoughFinishing] = 'Черновая отделка', _RenovationType$2),
|
|
5293
|
+
Gas: (_Gas$2 = {}, _Gas$2[RealtyGas$2.None] = 'Нет', _Gas$2[RealtyGas$2.Connected] = 'Подключено', _Gas$2[RealtyGas$2.Border] = 'По границе', _Gas$2[RealtyGas$2.Possible] = 'Возможно', _Gas$2[RealtyGas$2.Autonomous] = 'Автономное', _Gas$2),
|
|
5294
|
+
HouseType: (_HouseType$2 = {}, _HouseType$2[RealtyHouseType$2.Townhouse] = 'Таунхаус', _HouseType$2[RealtyHouseType$2.House] = 'Дом', _HouseType$2[RealtyHouseType$2.Cottage] = 'Коттедж', _HouseType$2[RealtyHouseType$2.Part] = 'Часть дома', _HouseType$2[RealtyHouseType$2.Duplex] = 'Дуплекс', _HouseType$2),
|
|
5295
|
+
LandShape: (_LandShape$2 = {}, _LandShape$2[RealtyLandShape$2.Regular] = 'Правильная', _LandShape$2[RealtyLandShape$2.Irregular] = 'Неправильная', _LandShape$2),
|
|
5296
|
+
LandUsageType: (_LandUsageType$2 = {}, _LandUsageType$2[RealtyLandUsageType$2.IGS] = 'ИЖС', _LandUsageType$2[RealtyLandUsageType$2.LPH] = 'ЛПХ (личное подсобное хозяйство)', _LandUsageType$2[RealtyLandUsageType$2.DNP] = 'ДНП (дачное некоммерческое партнероство)', _LandUsageType$2[RealtyLandUsageType$2.SNT] = 'СНТ (садоводческое некоммерческое товарищество)', _LandUsageType$2[RealtyLandUsageType$2.Farm] = 'Фермерское хозяйство', _LandUsageType$2[RealtyLandUsageType$2.Garden] = 'Садоводство', _LandUsageType$2[RealtyLandUsageType$2.Investproject] = 'Инвестпроект', _LandUsageType$2),
|
|
5297
|
+
Relief: (_Relief$2 = {}, _Relief$2[RealtyRelief$2.Flat] = 'Ровный', _Relief$2[RealtyRelief$2.Elevations] = 'Значительные перепады высот', _Relief$2[RealtyRelief$2.Slope] = 'Склон', _Relief$2[RealtyRelief$2.Hills] = 'Холмы', _Relief$2),
|
|
5298
|
+
Electricity: (_Electricity$2 = {}, _Electricity$2[RealtyElectricity$2.None] = 'Нет', _Electricity$2[RealtyElectricity$2.Connected] = 'Подключено', _Electricity$2[RealtyElectricity$2.Possible] = 'Возможно', _Electricity$2[RealtyElectricity$2.Autonomous] = 'Автономное', _Electricity$2),
|
|
5299
|
+
Furniture: (_Furniture$2 = {}, _Furniture$2[RealtyFurniture$2.None] = 'Отсутствует', _Furniture$2[RealtyFurniture$2.Full] = 'Полностью мебелирован', _Furniture$2[RealtyFurniture$2.Part] = 'Частично мебелирован', _Furniture$2),
|
|
5300
|
+
Sewerage: (_Sewerage$2 = {}, _Sewerage$2[RealtySewerage$2.None] = 'Нет', _Sewerage$2[RealtySewerage$2.Cesspool] = 'Выгребная яма', _Sewerage$2[RealtySewerage$2.Septic] = 'Септик', _Sewerage$2[RealtySewerage$2.Bio] = 'Устройства биологической очистки', _Sewerage$2[RealtySewerage$2.Central] = 'Центральная', _Sewerage$2),
|
|
5301
|
+
WindowView: (_WindowView$2 = {}, _WindowView$2[RealtyWindowView$2.Street] = 'На улицу', _WindowView$2[RealtyWindowView$2.Yard] = 'Во двор', _WindowView$2[RealtyWindowView$2.Both] = 'В обе стороны', _WindowView$2)
|
|
5302
|
+
};
|
|
5303
|
+
|
|
5304
|
+
var _Type$a;
|
|
5305
|
+
var ShapeDictionary$1 = {
|
|
5306
|
+
Type: (_Type$a = {}, _Type$a[ShapeType$1.AdministrativeDistrict] = 'Административный округ', _Type$a[ShapeType$1.Block] = 'Квартал', _Type$a[ShapeType$1.Complex] = 'Новостройка', _Type$a[ShapeType$1.District] = 'Район', _Type$a[ShapeType$1.House] = 'Здание', _Type$a[ShapeType$1.Microdistrict] = 'Микрорайон', _Type$a)
|
|
5307
|
+
};
|
|
5308
|
+
|
|
5091
5309
|
var Api$3 = function Api(baseURL) {
|
|
5092
5310
|
var _this = this;
|
|
5093
5311
|
|
|
5094
|
-
this.baseURL = baseURL;
|
|
5312
|
+
this.baseURL = baseURL; // complex
|
|
5095
5313
|
|
|
5096
5314
|
this.findComplexIds = function (params) {
|
|
5097
5315
|
return findComplexIdsRequest({
|
|
5098
5316
|
params: params,
|
|
5099
5317
|
baseURL: _this.baseURL
|
|
5100
5318
|
});
|
|
5319
|
+
}; // realty
|
|
5320
|
+
|
|
5321
|
+
|
|
5322
|
+
this.findRealties = function (params) {
|
|
5323
|
+
return findRealtiesRequest$1({
|
|
5324
|
+
params: params,
|
|
5325
|
+
baseURL: _this.baseURL
|
|
5326
|
+
});
|
|
5101
5327
|
};
|
|
5102
5328
|
};
|
|
5103
5329
|
|
|
5104
5330
|
var index$3 = {
|
|
5105
5331
|
__proto__: null,
|
|
5106
5332
|
Api: Api$3,
|
|
5107
|
-
findComplexIdsRequest: findComplexIdsRequest
|
|
5333
|
+
findComplexIdsRequest: findComplexIdsRequest,
|
|
5334
|
+
findRealtiesRequest: findRealtiesRequest$1,
|
|
5335
|
+
AddressBTIParamsDictionary: AddressBTIParamsDictionary$2,
|
|
5336
|
+
RealtyDictionary: RealtyDictionary$2,
|
|
5337
|
+
ShapeDictionary: ShapeDictionary$1,
|
|
5338
|
+
get AddressBTIParamsParking () { return AddressBTIParamsParking$1; },
|
|
5339
|
+
get AddressBTIParamsWallsMaterial () { return AddressBTIParamsWallsMaterial$2; },
|
|
5340
|
+
get AddressBTIParamsHeatingType () { return AddressBTIParamsHeatingType$2; },
|
|
5341
|
+
get ImageType () { return ImageType$1; },
|
|
5342
|
+
get RealtyType () { return RealtyType$2; },
|
|
5343
|
+
get RealtyRenovationType () { return RealtyRenovationType$2; },
|
|
5344
|
+
get RealtyGas () { return RealtyGas$2; },
|
|
5345
|
+
get RealtyHouseType () { return RealtyHouseType$2; },
|
|
5346
|
+
get RealtyLandShape () { return RealtyLandShape$2; },
|
|
5347
|
+
get RealtyLandUsageType () { return RealtyLandUsageType$2; },
|
|
5348
|
+
get RealtyRelief () { return RealtyRelief$2; },
|
|
5349
|
+
get RealtyElectricity () { return RealtyElectricity$2; },
|
|
5350
|
+
get RealtyFurniture () { return RealtyFurniture$2; },
|
|
5351
|
+
get RealtySewerage () { return RealtySewerage$2; },
|
|
5352
|
+
get RealtyWindowView () { return RealtyWindowView$2; },
|
|
5353
|
+
get ShapeType () { return ShapeType$1; }
|
|
5108
5354
|
};
|
|
5109
5355
|
|
|
5110
5356
|
function countApartmentsRequest(_ref) {
|
|
@@ -5341,7 +5587,7 @@ var ApartmentMapPointType;
|
|
|
5341
5587
|
ApartmentMapPointType["Underground"] = "underground";
|
|
5342
5588
|
})(ApartmentMapPointType || (ApartmentMapPointType = {}));
|
|
5343
5589
|
|
|
5344
|
-
var RealtyRenovationType$
|
|
5590
|
+
var RealtyRenovationType$3;
|
|
5345
5591
|
|
|
5346
5592
|
(function (RealtyRenovationType) {
|
|
5347
5593
|
RealtyRenovationType["None"] = "none";
|
|
@@ -5350,7 +5596,7 @@ var RealtyRenovationType$2;
|
|
|
5350
5596
|
RealtyRenovationType["Euro"] = "euro";
|
|
5351
5597
|
RealtyRenovationType["FineFinishing"] = "fine_finishing";
|
|
5352
5598
|
RealtyRenovationType["RoughFinishing"] = "rough_finishing";
|
|
5353
|
-
})(RealtyRenovationType$
|
|
5599
|
+
})(RealtyRenovationType$3 || (RealtyRenovationType$3 = {}));
|
|
5354
5600
|
|
|
5355
5601
|
var _MapPointDistanceType, _MapPointType;
|
|
5356
5602
|
var ApartmentDictionary = {
|
|
@@ -5418,7 +5664,7 @@ var index$4 = {
|
|
|
5418
5664
|
ApartmentDictionary: ApartmentDictionary,
|
|
5419
5665
|
get ApartmentMapPointDistanceType () { return ApartmentMapPointDistanceType; },
|
|
5420
5666
|
get ApartmentMapPointType () { return ApartmentMapPointType; },
|
|
5421
|
-
get RealtyRenovationType () { return RealtyRenovationType$
|
|
5667
|
+
get RealtyRenovationType () { return RealtyRenovationType$3; }
|
|
5422
5668
|
};
|
|
5423
5669
|
|
|
5424
5670
|
export { index as Clients, index$1 as ClientsV2, index$2 as Publisher, index$3 as Registry, index$4 as Search };
|