@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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# v0.1.119 (Fri Feb 04 2022)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- Запрос на список realty в registry [#54](https://github.com/homeappcorporate/api-queries/pull/54) ([@alexandropavlov](https://github.com/alexandropavlov))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Alexander Pavlov ([@alexandropavlov](https://github.com/alexandropavlov))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v0.1.118 (Fri Feb 04 2022)
|
|
2
14
|
|
|
3
15
|
#### 🐛 Bug Fix
|
|
@@ -1171,7 +1171,7 @@ function findServiceRequestsRequest(_ref) {
|
|
|
1171
1171
|
});
|
|
1172
1172
|
}
|
|
1173
1173
|
|
|
1174
|
-
function
|
|
1174
|
+
function findServiceRequestSellerReportsRequest(_ref) {
|
|
1175
1175
|
var _ref$baseURL = _ref.baseURL,
|
|
1176
1176
|
baseURL = _ref$baseURL === void 0 ? 'https://clients.homeapp.ru' : _ref$baseURL,
|
|
1177
1177
|
urlParams = _ref.urlParams,
|
|
@@ -3035,8 +3035,8 @@ var Api = function Api(baseURL) {
|
|
|
3035
3035
|
});
|
|
3036
3036
|
};
|
|
3037
3037
|
|
|
3038
|
-
this.
|
|
3039
|
-
return
|
|
3038
|
+
this.findServiceRequestSellerReports = function (urlParams, params, headers) {
|
|
3039
|
+
return findServiceRequestSellerReportsRequest({
|
|
3040
3040
|
urlParams: urlParams,
|
|
3041
3041
|
params: params,
|
|
3042
3042
|
headers: headers,
|
|
@@ -3171,7 +3171,7 @@ var index = {
|
|
|
3171
3171
|
findServiceRequestByIdRequest: findServiceRequestByIdRequest,
|
|
3172
3172
|
findServiceRequestDuplicatesRequest: findServiceRequestDuplicatesRequest,
|
|
3173
3173
|
findServiceRequestsRequest: findServiceRequestsRequest,
|
|
3174
|
-
|
|
3174
|
+
findServiceRequestSellerReportsRequest: findServiceRequestSellerReportsRequest,
|
|
3175
3175
|
findServiceRequestShortInfoRequest: findServiceRequestShortInfoRequest,
|
|
3176
3176
|
findServiceRequestShortInfoByIdRequest: findServiceRequestShortInfoByIdRequest,
|
|
3177
3177
|
findServiceRequestShortInfoByDealIdRequest: findServiceRequestShortInfoByDealIdRequest,
|
|
@@ -5094,23 +5094,269 @@ function findComplexIdsRequest(_ref) {
|
|
|
5094
5094
|
});
|
|
5095
5095
|
}
|
|
5096
5096
|
|
|
5097
|
+
function findRealtiesRequest$1(_ref) {
|
|
5098
|
+
var _ref$baseURL = _ref.baseURL,
|
|
5099
|
+
baseURL = _ref$baseURL === void 0 ? 'https://clients.homeapp.ru' : _ref$baseURL,
|
|
5100
|
+
params = _ref.params;
|
|
5101
|
+
return axios.get('/api/realty', {
|
|
5102
|
+
baseURL: baseURL,
|
|
5103
|
+
params: params,
|
|
5104
|
+
paramsSerializer: function paramsSerializer(params) {
|
|
5105
|
+
return qs.stringify(params, {
|
|
5106
|
+
arrayFormat: 'brackets'
|
|
5107
|
+
});
|
|
5108
|
+
},
|
|
5109
|
+
headers: {
|
|
5110
|
+
Accept: 'application/json'
|
|
5111
|
+
},
|
|
5112
|
+
transformResponse: [].concat(axios.defaults.transformResponse, [function (data) {
|
|
5113
|
+
if (!data.success) {
|
|
5114
|
+
return data.data.error || data.data.message;
|
|
5115
|
+
}
|
|
5116
|
+
|
|
5117
|
+
var ids = [];
|
|
5118
|
+
var byId = {};
|
|
5119
|
+
data.data.forEach(function (entity) {
|
|
5120
|
+
byId[entity.id] = entity;
|
|
5121
|
+
ids.push(entity.id);
|
|
5122
|
+
});
|
|
5123
|
+
return {
|
|
5124
|
+
ids: ids,
|
|
5125
|
+
byId: byId,
|
|
5126
|
+
meta: {
|
|
5127
|
+
total: data.pageParams.length
|
|
5128
|
+
}
|
|
5129
|
+
};
|
|
5130
|
+
}])
|
|
5131
|
+
}).then(function (res) {
|
|
5132
|
+
return res;
|
|
5133
|
+
})["catch"](function (err) {
|
|
5134
|
+
throw err;
|
|
5135
|
+
});
|
|
5136
|
+
}
|
|
5137
|
+
|
|
5138
|
+
var AddressBTIParamsParking$1;
|
|
5139
|
+
|
|
5140
|
+
(function (AddressBTIParamsParking) {
|
|
5141
|
+
AddressBTIParamsParking["Ground"] = "ground";
|
|
5142
|
+
AddressBTIParamsParking["Multilevel"] = "multilevel";
|
|
5143
|
+
AddressBTIParamsParking["Underground"] = "underground";
|
|
5144
|
+
})(AddressBTIParamsParking$1 || (AddressBTIParamsParking$1 = {}));
|
|
5145
|
+
|
|
5146
|
+
var AddressBTIParamsWallsMaterial$2;
|
|
5147
|
+
|
|
5148
|
+
(function (AddressBTIParamsWallsMaterial) {
|
|
5149
|
+
AddressBTIParamsWallsMaterial["Brick"] = "brick";
|
|
5150
|
+
AddressBTIParamsWallsMaterial["Monolith"] = "monolith";
|
|
5151
|
+
AddressBTIParamsWallsMaterial["Monobrick"] = "monobrick";
|
|
5152
|
+
AddressBTIParamsWallsMaterial["Timber"] = "timber";
|
|
5153
|
+
AddressBTIParamsWallsMaterial["Panel"] = "panel";
|
|
5154
|
+
AddressBTIParamsWallsMaterial["Block"] = "block";
|
|
5155
|
+
})(AddressBTIParamsWallsMaterial$2 || (AddressBTIParamsWallsMaterial$2 = {}));
|
|
5156
|
+
|
|
5157
|
+
var AddressBTIParamsHeatingType$2;
|
|
5158
|
+
|
|
5159
|
+
(function (AddressBTIParamsHeatingType) {
|
|
5160
|
+
AddressBTIParamsHeatingType["None"] = "none";
|
|
5161
|
+
AddressBTIParamsHeatingType["Central"] = "central";
|
|
5162
|
+
AddressBTIParamsHeatingType["Local"] = "local";
|
|
5163
|
+
AddressBTIParamsHeatingType["Gas"] = "gas";
|
|
5164
|
+
AddressBTIParamsHeatingType["Electricity"] = "electricity";
|
|
5165
|
+
AddressBTIParamsHeatingType["Liquid"] = "liquid";
|
|
5166
|
+
})(AddressBTIParamsHeatingType$2 || (AddressBTIParamsHeatingType$2 = {}));
|
|
5167
|
+
|
|
5168
|
+
var ImageType$1;
|
|
5169
|
+
|
|
5170
|
+
(function (ImageType) {
|
|
5171
|
+
ImageType["Complex"] = "complex";
|
|
5172
|
+
ImageType["Apartment"] = "apartment";
|
|
5173
|
+
ImageType["Layout"] = "layout";
|
|
5174
|
+
})(ImageType$1 || (ImageType$1 = {}));
|
|
5175
|
+
|
|
5176
|
+
var RealtyType$2;
|
|
5177
|
+
|
|
5178
|
+
(function (RealtyType) {
|
|
5179
|
+
RealtyType["Flat"] = "flat";
|
|
5180
|
+
RealtyType["House"] = "house";
|
|
5181
|
+
})(RealtyType$2 || (RealtyType$2 = {}));
|
|
5182
|
+
|
|
5183
|
+
var RealtyRenovationType$2;
|
|
5184
|
+
|
|
5185
|
+
(function (RealtyRenovationType) {
|
|
5186
|
+
RealtyRenovationType["None"] = "none";
|
|
5187
|
+
RealtyRenovationType["Author"] = "author";
|
|
5188
|
+
RealtyRenovationType["Cosmetic"] = "cosmetic";
|
|
5189
|
+
RealtyRenovationType["Euro"] = "euro";
|
|
5190
|
+
RealtyRenovationType["FineFinishing"] = "fine_finishing";
|
|
5191
|
+
RealtyRenovationType["RoughFinishing"] = "rough_finishing";
|
|
5192
|
+
})(RealtyRenovationType$2 || (RealtyRenovationType$2 = {}));
|
|
5193
|
+
|
|
5194
|
+
var RealtyGas$2;
|
|
5195
|
+
|
|
5196
|
+
(function (RealtyGas) {
|
|
5197
|
+
RealtyGas["None"] = "none";
|
|
5198
|
+
RealtyGas["Connected"] = "connected";
|
|
5199
|
+
RealtyGas["Border"] = "border";
|
|
5200
|
+
RealtyGas["Possible"] = "possible";
|
|
5201
|
+
RealtyGas["Autonomous"] = "autonomous";
|
|
5202
|
+
})(RealtyGas$2 || (RealtyGas$2 = {}));
|
|
5203
|
+
|
|
5204
|
+
var RealtyHouseType$2;
|
|
5205
|
+
|
|
5206
|
+
(function (RealtyHouseType) {
|
|
5207
|
+
RealtyHouseType["Townhouse"] = "townhouse";
|
|
5208
|
+
RealtyHouseType["House"] = "house";
|
|
5209
|
+
RealtyHouseType["Cottage"] = "cottage";
|
|
5210
|
+
RealtyHouseType["Part"] = "part";
|
|
5211
|
+
RealtyHouseType["Duplex"] = "duplex";
|
|
5212
|
+
})(RealtyHouseType$2 || (RealtyHouseType$2 = {}));
|
|
5213
|
+
|
|
5214
|
+
var RealtyLandShape$2;
|
|
5215
|
+
|
|
5216
|
+
(function (RealtyLandShape) {
|
|
5217
|
+
RealtyLandShape["Regular"] = "regular";
|
|
5218
|
+
RealtyLandShape["Irregular"] = "irregular";
|
|
5219
|
+
})(RealtyLandShape$2 || (RealtyLandShape$2 = {}));
|
|
5220
|
+
|
|
5221
|
+
var RealtyLandUsageType$2;
|
|
5222
|
+
|
|
5223
|
+
(function (RealtyLandUsageType) {
|
|
5224
|
+
RealtyLandUsageType["IGS"] = "igs";
|
|
5225
|
+
RealtyLandUsageType["LPH"] = "lph";
|
|
5226
|
+
RealtyLandUsageType["DNP"] = "dnp";
|
|
5227
|
+
RealtyLandUsageType["SNT"] = "snt";
|
|
5228
|
+
RealtyLandUsageType["Farm"] = "farm";
|
|
5229
|
+
RealtyLandUsageType["Garden"] = "garden";
|
|
5230
|
+
RealtyLandUsageType["Investproject"] = "investproject";
|
|
5231
|
+
})(RealtyLandUsageType$2 || (RealtyLandUsageType$2 = {}));
|
|
5232
|
+
|
|
5233
|
+
var RealtyRelief$2;
|
|
5234
|
+
|
|
5235
|
+
(function (RealtyRelief) {
|
|
5236
|
+
RealtyRelief["Flat"] = "flat";
|
|
5237
|
+
RealtyRelief["Elevations"] = "elevations";
|
|
5238
|
+
RealtyRelief["Slope"] = "slope";
|
|
5239
|
+
RealtyRelief["Hills"] = "hills";
|
|
5240
|
+
})(RealtyRelief$2 || (RealtyRelief$2 = {}));
|
|
5241
|
+
|
|
5242
|
+
var RealtyElectricity$2;
|
|
5243
|
+
|
|
5244
|
+
(function (RealtyElectricity) {
|
|
5245
|
+
RealtyElectricity["None"] = "none";
|
|
5246
|
+
RealtyElectricity["Connected"] = "connected";
|
|
5247
|
+
RealtyElectricity["Possible"] = "possible";
|
|
5248
|
+
RealtyElectricity["Autonomous"] = "autonomous";
|
|
5249
|
+
})(RealtyElectricity$2 || (RealtyElectricity$2 = {}));
|
|
5250
|
+
|
|
5251
|
+
var RealtyFurniture$2;
|
|
5252
|
+
|
|
5253
|
+
(function (RealtyFurniture) {
|
|
5254
|
+
RealtyFurniture["None"] = "none";
|
|
5255
|
+
RealtyFurniture["Full"] = "full";
|
|
5256
|
+
RealtyFurniture["Part"] = "part";
|
|
5257
|
+
})(RealtyFurniture$2 || (RealtyFurniture$2 = {}));
|
|
5258
|
+
|
|
5259
|
+
var RealtySewerage$2;
|
|
5260
|
+
|
|
5261
|
+
(function (RealtySewerage) {
|
|
5262
|
+
RealtySewerage["None"] = "none";
|
|
5263
|
+
RealtySewerage["Cesspool"] = "cesspool";
|
|
5264
|
+
RealtySewerage["Septic"] = "septic";
|
|
5265
|
+
RealtySewerage["Bio"] = "bio";
|
|
5266
|
+
RealtySewerage["Central"] = "central";
|
|
5267
|
+
})(RealtySewerage$2 || (RealtySewerage$2 = {}));
|
|
5268
|
+
|
|
5269
|
+
var RealtyWindowView$2;
|
|
5270
|
+
|
|
5271
|
+
(function (RealtyWindowView) {
|
|
5272
|
+
RealtyWindowView["Street"] = "street";
|
|
5273
|
+
RealtyWindowView["Yard"] = "yard";
|
|
5274
|
+
RealtyWindowView["Both"] = "both";
|
|
5275
|
+
})(RealtyWindowView$2 || (RealtyWindowView$2 = {}));
|
|
5276
|
+
|
|
5277
|
+
var ShapeType$1;
|
|
5278
|
+
|
|
5279
|
+
(function (ShapeType) {
|
|
5280
|
+
ShapeType["AdministrativeDistrict"] = "administrative_district";
|
|
5281
|
+
ShapeType["Block"] = "block";
|
|
5282
|
+
ShapeType["Complex"] = "complex";
|
|
5283
|
+
ShapeType["District"] = "district";
|
|
5284
|
+
ShapeType["House"] = "house";
|
|
5285
|
+
ShapeType["Microdistrict"] = "microdistrict";
|
|
5286
|
+
})(ShapeType$1 || (ShapeType$1 = {}));
|
|
5287
|
+
|
|
5288
|
+
var _Parking$1, _WallsMaterial$3, _HeatingType$2;
|
|
5289
|
+
var AddressBTIParamsDictionary$2 = {
|
|
5290
|
+
Parking: (_Parking$1 = {}, _Parking$1[AddressBTIParamsParking$1.Ground] = 'Наземная', _Parking$1[AddressBTIParamsParking$1.Multilevel] = 'Многоуровневая', _Parking$1[AddressBTIParamsParking$1.Underground] = 'Подземная', _Parking$1),
|
|
5291
|
+
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),
|
|
5292
|
+
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)
|
|
5293
|
+
};
|
|
5294
|
+
|
|
5295
|
+
var _Type$9, _RenovationType$2, _Gas$2, _HouseType$2, _LandShape$2, _LandUsageType$2, _Relief$2, _Electricity$2, _Furniture$2, _Sewerage$2, _WindowView$2;
|
|
5296
|
+
var RealtyDictionary$2 = {
|
|
5297
|
+
Type: (_Type$9 = {}, _Type$9[RealtyType$2.Flat] = 'Квартира', _Type$9[RealtyType$2.House] = 'Дом', _Type$9),
|
|
5298
|
+
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),
|
|
5299
|
+
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),
|
|
5300
|
+
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),
|
|
5301
|
+
LandShape: (_LandShape$2 = {}, _LandShape$2[RealtyLandShape$2.Regular] = 'Правильная', _LandShape$2[RealtyLandShape$2.Irregular] = 'Неправильная', _LandShape$2),
|
|
5302
|
+
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),
|
|
5303
|
+
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),
|
|
5304
|
+
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),
|
|
5305
|
+
Furniture: (_Furniture$2 = {}, _Furniture$2[RealtyFurniture$2.None] = 'Отсутствует', _Furniture$2[RealtyFurniture$2.Full] = 'Полностью мебелирован', _Furniture$2[RealtyFurniture$2.Part] = 'Частично мебелирован', _Furniture$2),
|
|
5306
|
+
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),
|
|
5307
|
+
WindowView: (_WindowView$2 = {}, _WindowView$2[RealtyWindowView$2.Street] = 'На улицу', _WindowView$2[RealtyWindowView$2.Yard] = 'Во двор', _WindowView$2[RealtyWindowView$2.Both] = 'В обе стороны', _WindowView$2)
|
|
5308
|
+
};
|
|
5309
|
+
|
|
5310
|
+
var _Type$a;
|
|
5311
|
+
var ShapeDictionary$1 = {
|
|
5312
|
+
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)
|
|
5313
|
+
};
|
|
5314
|
+
|
|
5097
5315
|
var Api$3 = function Api(baseURL) {
|
|
5098
5316
|
var _this = this;
|
|
5099
5317
|
|
|
5100
|
-
this.baseURL = baseURL;
|
|
5318
|
+
this.baseURL = baseURL; // complex
|
|
5101
5319
|
|
|
5102
5320
|
this.findComplexIds = function (params) {
|
|
5103
5321
|
return findComplexIdsRequest({
|
|
5104
5322
|
params: params,
|
|
5105
5323
|
baseURL: _this.baseURL
|
|
5106
5324
|
});
|
|
5325
|
+
}; // realty
|
|
5326
|
+
|
|
5327
|
+
|
|
5328
|
+
this.findRealties = function (params) {
|
|
5329
|
+
return findRealtiesRequest$1({
|
|
5330
|
+
params: params,
|
|
5331
|
+
baseURL: _this.baseURL
|
|
5332
|
+
});
|
|
5107
5333
|
};
|
|
5108
5334
|
};
|
|
5109
5335
|
|
|
5110
5336
|
var index$3 = {
|
|
5111
5337
|
__proto__: null,
|
|
5112
5338
|
Api: Api$3,
|
|
5113
|
-
findComplexIdsRequest: findComplexIdsRequest
|
|
5339
|
+
findComplexIdsRequest: findComplexIdsRequest,
|
|
5340
|
+
findRealtiesRequest: findRealtiesRequest$1,
|
|
5341
|
+
AddressBTIParamsDictionary: AddressBTIParamsDictionary$2,
|
|
5342
|
+
RealtyDictionary: RealtyDictionary$2,
|
|
5343
|
+
ShapeDictionary: ShapeDictionary$1,
|
|
5344
|
+
get AddressBTIParamsParking () { return AddressBTIParamsParking$1; },
|
|
5345
|
+
get AddressBTIParamsWallsMaterial () { return AddressBTIParamsWallsMaterial$2; },
|
|
5346
|
+
get AddressBTIParamsHeatingType () { return AddressBTIParamsHeatingType$2; },
|
|
5347
|
+
get ImageType () { return ImageType$1; },
|
|
5348
|
+
get RealtyType () { return RealtyType$2; },
|
|
5349
|
+
get RealtyRenovationType () { return RealtyRenovationType$2; },
|
|
5350
|
+
get RealtyGas () { return RealtyGas$2; },
|
|
5351
|
+
get RealtyHouseType () { return RealtyHouseType$2; },
|
|
5352
|
+
get RealtyLandShape () { return RealtyLandShape$2; },
|
|
5353
|
+
get RealtyLandUsageType () { return RealtyLandUsageType$2; },
|
|
5354
|
+
get RealtyRelief () { return RealtyRelief$2; },
|
|
5355
|
+
get RealtyElectricity () { return RealtyElectricity$2; },
|
|
5356
|
+
get RealtyFurniture () { return RealtyFurniture$2; },
|
|
5357
|
+
get RealtySewerage () { return RealtySewerage$2; },
|
|
5358
|
+
get RealtyWindowView () { return RealtyWindowView$2; },
|
|
5359
|
+
get ShapeType () { return ShapeType$1; }
|
|
5114
5360
|
};
|
|
5115
5361
|
|
|
5116
5362
|
function countApartmentsRequest(_ref) {
|
|
@@ -5347,7 +5593,7 @@ var ApartmentMapPointType;
|
|
|
5347
5593
|
ApartmentMapPointType["Underground"] = "underground";
|
|
5348
5594
|
})(ApartmentMapPointType || (ApartmentMapPointType = {}));
|
|
5349
5595
|
|
|
5350
|
-
var RealtyRenovationType$
|
|
5596
|
+
var RealtyRenovationType$3;
|
|
5351
5597
|
|
|
5352
5598
|
(function (RealtyRenovationType) {
|
|
5353
5599
|
RealtyRenovationType["None"] = "none";
|
|
@@ -5356,7 +5602,7 @@ var RealtyRenovationType$2;
|
|
|
5356
5602
|
RealtyRenovationType["Euro"] = "euro";
|
|
5357
5603
|
RealtyRenovationType["FineFinishing"] = "fine_finishing";
|
|
5358
5604
|
RealtyRenovationType["RoughFinishing"] = "rough_finishing";
|
|
5359
|
-
})(RealtyRenovationType$
|
|
5605
|
+
})(RealtyRenovationType$3 || (RealtyRenovationType$3 = {}));
|
|
5360
5606
|
|
|
5361
5607
|
var _MapPointDistanceType, _MapPointType;
|
|
5362
5608
|
var ApartmentDictionary = {
|
|
@@ -5424,7 +5670,7 @@ var index$4 = {
|
|
|
5424
5670
|
ApartmentDictionary: ApartmentDictionary,
|
|
5425
5671
|
get ApartmentMapPointDistanceType () { return ApartmentMapPointDistanceType; },
|
|
5426
5672
|
get ApartmentMapPointType () { return ApartmentMapPointType; },
|
|
5427
|
-
get RealtyRenovationType () { return RealtyRenovationType$
|
|
5673
|
+
get RealtyRenovationType () { return RealtyRenovationType$3; }
|
|
5428
5674
|
};
|
|
5429
5675
|
|
|
5430
5676
|
exports.Clients = index;
|