@hapl/api-queries 0.2.7--canary.129.cc61c87.0 → 0.2.7
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 +61 -259
- 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 +62 -259
- package/dist/api-queries.esm.js.map +1 -1
- package/dist/clients/v1/dictionaries/Realty.d.ts +2 -1
- package/dist/clients/v1/types/Realty.d.ts +2 -1
- package/dist/index.d.ts +1 -2
- package/dist/publisher/v1/api/index.d.ts +1 -3
- package/dist/publisher/v1/index.d.ts +0 -2
- package/package.json +1 -1
- package/src/clients/v1/dictionaries/Realty.ts +2 -1
- package/src/clients/v1/types/Realty.ts +2 -1
- package/src/index.ts +1 -2
- package/src/publisher/v1/api/index.ts +1 -3
- package/src/publisher/v1/index.ts +0 -12
- package/dist/external/callTransfer/findCallTransferByExpertId.d.ts +0 -16
- package/dist/external/index.d.ts +0 -6
- package/dist/publisher/v1/api/findEventsRow/index.d.ts +0 -36
- package/dist/publisher/v1/api/updateRealtyPublicId/index.d.ts +0 -34
- package/src/external/callTransfer/findCallTransferByExpertId.ts +0 -41
- package/src/external/index.ts +0 -9
- package/src/publisher/v1/api/findEventsRow/index.ts +0 -40
- package/src/publisher/v1/api/updateRealtyPublicId/index.ts +0 -41
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# v0.2.7 (Tue Nov 22 2022)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- FE-1459: вернули типы realty для SR [#130](https://github.com/homeappcorporate/api-queries/pull/130) ([@abd2561024](https://github.com/abd2561024))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Andrey Romashin ([@abd2561024](https://github.com/abd2561024))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v0.2.6 (Tue Nov 15 2022)
|
|
2
14
|
|
|
3
15
|
#### 🐛 Bug Fix
|
|
@@ -4808,7 +4808,8 @@ var PhotoOrderRenovation;
|
|
|
4808
4808
|
var RealtyType;
|
|
4809
4809
|
|
|
4810
4810
|
(function (RealtyType) {
|
|
4811
|
-
RealtyType["
|
|
4811
|
+
RealtyType["FlatSecondary"] = "flat_secondary";
|
|
4812
|
+
RealtyType["FlatNew"] = "flat_new";
|
|
4812
4813
|
RealtyType["House"] = "house";
|
|
4813
4814
|
})(RealtyType || (RealtyType = {}));
|
|
4814
4815
|
|
|
@@ -5325,7 +5326,7 @@ var PhotoOrderDictionary = {
|
|
|
5325
5326
|
|
|
5326
5327
|
var _Type$7, _RenovationType, _Gas, _HouseType, _LandShape, _LandUsageType, _Relief, _Electricity, _Furniture, _Sewerage, _WindowView;
|
|
5327
5328
|
var RealtyDictionary = {
|
|
5328
|
-
Type: (_Type$7 = {}, _Type$7[RealtyType.
|
|
5329
|
+
Type: (_Type$7 = {}, _Type$7[RealtyType.FlatSecondary] = 'Вторичка', _Type$7[RealtyType.FlatNew] = 'Новостройка', _Type$7[RealtyType.House] = 'Дом', _Type$7),
|
|
5329
5330
|
RenovationType: (_RenovationType = {}, _RenovationType[RealtyRenovationType.None] = 'Без ремонта', _RenovationType[RealtyRenovationType.Author] = 'Авторский', _RenovationType[RealtyRenovationType.Cosmetic] = 'Косметический', _RenovationType[RealtyRenovationType.Euro] = 'Евро', _RenovationType[RealtyRenovationType.FineFinishing] = 'Чистовая отделка', _RenovationType[RealtyRenovationType.RoughFinishing] = 'Черновая отделка', _RenovationType),
|
|
5330
5331
|
Gas: (_Gas = {}, _Gas[RealtyGas.None] = 'Нет', _Gas[RealtyGas.Connected] = 'Подключено', _Gas[RealtyGas.Border] = 'По границе', _Gas[RealtyGas.Possible] = 'Возможно', _Gas[RealtyGas.Autonomous] = 'Автономное', _Gas),
|
|
5331
5332
|
HouseType: (_HouseType = {}, _HouseType[RealtyHouseType.Townhouse] = 'Таунхаус', _HouseType[RealtyHouseType.House] = 'Дом', _HouseType[RealtyHouseType.Cottage] = 'Коттедж', _HouseType[RealtyHouseType.Part] = 'Часть дома', _HouseType[RealtyHouseType.Duplex] = 'Дуплекс', _HouseType),
|
|
@@ -12333,71 +12334,6 @@ function findActualEventsRowRequest(_ref) {
|
|
|
12333
12334
|
});
|
|
12334
12335
|
}
|
|
12335
12336
|
|
|
12336
|
-
function findEventsRowRequest(_ref) {
|
|
12337
|
-
var _ref$baseURL = _ref.baseURL,
|
|
12338
|
-
baseURL = _ref$baseURL === void 0 ? 'https://publisher.homeapp.ru' : _ref$baseURL,
|
|
12339
|
-
headers = _ref.headers,
|
|
12340
|
-
params = _ref.params;
|
|
12341
|
-
return axios.get('/api/events-row/delta-view', {
|
|
12342
|
-
baseURL: baseURL,
|
|
12343
|
-
params: params,
|
|
12344
|
-
paramsSerializer: function paramsSerializer(params) {
|
|
12345
|
-
return qs.stringify(params, {
|
|
12346
|
-
arrayFormat: 'brackets'
|
|
12347
|
-
});
|
|
12348
|
-
},
|
|
12349
|
-
headers: _extends({
|
|
12350
|
-
Accept: 'application/json'
|
|
12351
|
-
}, headers),
|
|
12352
|
-
transformResponse: [].concat(axios.defaults.transformResponse, [function (data) {
|
|
12353
|
-
return data.success ? data.data : data.data.error;
|
|
12354
|
-
}])
|
|
12355
|
-
}).then(function (res) {
|
|
12356
|
-
return res;
|
|
12357
|
-
})["catch"](function (err) {
|
|
12358
|
-
throw err;
|
|
12359
|
-
});
|
|
12360
|
-
}
|
|
12361
|
-
|
|
12362
|
-
function findExternalLinksRequest(_ref) {
|
|
12363
|
-
var _ref$baseURL = _ref.baseURL,
|
|
12364
|
-
baseURL = _ref$baseURL === void 0 ? 'https://publisher.homeapp.ru' : _ref$baseURL,
|
|
12365
|
-
headers = _ref.headers,
|
|
12366
|
-
params = _ref.params;
|
|
12367
|
-
return axios.get('/api/crud/external-link', {
|
|
12368
|
-
baseURL: baseURL,
|
|
12369
|
-
params: params,
|
|
12370
|
-
paramsSerializer: function paramsSerializer(params) {
|
|
12371
|
-
return qs.stringify(params, {
|
|
12372
|
-
arrayFormat: 'brackets'
|
|
12373
|
-
});
|
|
12374
|
-
},
|
|
12375
|
-
headers: _extends({
|
|
12376
|
-
Accept: 'application/json'
|
|
12377
|
-
}, headers),
|
|
12378
|
-
transformResponse: [].concat(axios.defaults.transformResponse, [function (data) {
|
|
12379
|
-
if (!data.success) return data.data.error;
|
|
12380
|
-
var ids = [];
|
|
12381
|
-
var byId = {};
|
|
12382
|
-
data.data.forEach(function (entity) {
|
|
12383
|
-
byId[entity.externalSite] = entity;
|
|
12384
|
-
ids.push(entity.externalSite);
|
|
12385
|
-
});
|
|
12386
|
-
return {
|
|
12387
|
-
ids: ids,
|
|
12388
|
-
byId: byId,
|
|
12389
|
-
meta: {
|
|
12390
|
-
total: data.pageParams.length
|
|
12391
|
-
}
|
|
12392
|
-
};
|
|
12393
|
-
}])
|
|
12394
|
-
}).then(function (res) {
|
|
12395
|
-
return res;
|
|
12396
|
-
})["catch"](function (err) {
|
|
12397
|
-
throw err;
|
|
12398
|
-
});
|
|
12399
|
-
}
|
|
12400
|
-
|
|
12401
12337
|
function findNewBuildingsRequest(_ref) {
|
|
12402
12338
|
var _ref$baseURL = _ref.baseURL,
|
|
12403
12339
|
baseURL = _ref$baseURL === void 0 ? 'https://publisher.homeapp.ru' : _ref$baseURL,
|
|
@@ -12519,6 +12455,45 @@ function findScoringRequest(_ref) {
|
|
|
12519
12455
|
});
|
|
12520
12456
|
}
|
|
12521
12457
|
|
|
12458
|
+
function findExternalLinksRequest(_ref) {
|
|
12459
|
+
var _ref$baseURL = _ref.baseURL,
|
|
12460
|
+
baseURL = _ref$baseURL === void 0 ? 'https://publisher.homeapp.ru' : _ref$baseURL,
|
|
12461
|
+
headers = _ref.headers,
|
|
12462
|
+
params = _ref.params;
|
|
12463
|
+
return axios.get('/api/crud/external-link', {
|
|
12464
|
+
baseURL: baseURL,
|
|
12465
|
+
params: params,
|
|
12466
|
+
paramsSerializer: function paramsSerializer(params) {
|
|
12467
|
+
return qs.stringify(params, {
|
|
12468
|
+
arrayFormat: 'brackets'
|
|
12469
|
+
});
|
|
12470
|
+
},
|
|
12471
|
+
headers: _extends({
|
|
12472
|
+
Accept: 'application/json'
|
|
12473
|
+
}, headers),
|
|
12474
|
+
transformResponse: [].concat(axios.defaults.transformResponse, [function (data) {
|
|
12475
|
+
if (!data.success) return data.data.error;
|
|
12476
|
+
var ids = [];
|
|
12477
|
+
var byId = {};
|
|
12478
|
+
data.data.forEach(function (entity) {
|
|
12479
|
+
byId[entity.externalSite] = entity;
|
|
12480
|
+
ids.push(entity.externalSite);
|
|
12481
|
+
});
|
|
12482
|
+
return {
|
|
12483
|
+
ids: ids,
|
|
12484
|
+
byId: byId,
|
|
12485
|
+
meta: {
|
|
12486
|
+
total: data.pageParams.length
|
|
12487
|
+
}
|
|
12488
|
+
};
|
|
12489
|
+
}])
|
|
12490
|
+
}).then(function (res) {
|
|
12491
|
+
return res;
|
|
12492
|
+
})["catch"](function (err) {
|
|
12493
|
+
throw err;
|
|
12494
|
+
});
|
|
12495
|
+
}
|
|
12496
|
+
|
|
12522
12497
|
function findStatisticRowRequest(_ref) {
|
|
12523
12498
|
var _ref$baseURL = _ref.baseURL,
|
|
12524
12499
|
baseURL = _ref$baseURL === void 0 ? 'https://publisher.homeapp.ru' : _ref$baseURL,
|
|
@@ -12606,28 +12581,6 @@ function getPublishedDaysRequest(_ref) {
|
|
|
12606
12581
|
});
|
|
12607
12582
|
}
|
|
12608
12583
|
|
|
12609
|
-
function updateRealtyPublicIdRequest(_ref) {
|
|
12610
|
-
var _ref$baseURL = _ref.baseURL,
|
|
12611
|
-
baseURL = _ref$baseURL === void 0 ? 'https://clients.homeapp.ru' : _ref$baseURL,
|
|
12612
|
-
urlParams = _ref.urlParams,
|
|
12613
|
-
body = _ref.body,
|
|
12614
|
-
headers = _ref.headers;
|
|
12615
|
-
return axios.patch("/api/publication/realty/" + urlParams.realtyId + "/public-id-update", body, {
|
|
12616
|
-
baseURL: baseURL,
|
|
12617
|
-
headers: _extends({
|
|
12618
|
-
Accept: 'application/json',
|
|
12619
|
-
'Content-Type': 'application/json'
|
|
12620
|
-
}, headers),
|
|
12621
|
-
transformResponse: [].concat(axios.defaults.transformResponse, [function (data) {
|
|
12622
|
-
return data.success ? data.data : data.data.error;
|
|
12623
|
-
}])
|
|
12624
|
-
}).then(function (res) {
|
|
12625
|
-
return res;
|
|
12626
|
-
})["catch"](function (err) {
|
|
12627
|
-
throw err;
|
|
12628
|
-
});
|
|
12629
|
-
}
|
|
12630
|
-
|
|
12631
12584
|
function uploadResumeRequest(_ref) {
|
|
12632
12585
|
var _ref$baseURL = _ref.baseURL,
|
|
12633
12586
|
baseURL = _ref$baseURL === void 0 ? 'https://publisher.homeapp.ru' : _ref$baseURL,
|
|
@@ -12667,15 +12620,13 @@ function uploadResumeRequest(_ref) {
|
|
|
12667
12620
|
var api$2 = {
|
|
12668
12621
|
__proto__: null,
|
|
12669
12622
|
findActualEventsRowRequest: findActualEventsRowRequest,
|
|
12670
|
-
findEventsRowRequest: findEventsRowRequest,
|
|
12671
|
-
findExternalLinksRequest: findExternalLinksRequest,
|
|
12672
12623
|
findNewBuildingsRequest: findNewBuildingsRequest,
|
|
12673
12624
|
findPlannedEventsRowRequest: findPlannedEventsRowRequest,
|
|
12674
12625
|
findScoringRequest: findScoringRequest,
|
|
12626
|
+
findExternalLinksRequest: findExternalLinksRequest,
|
|
12675
12627
|
findStatisticRowRequest: findStatisticRowRequest,
|
|
12676
12628
|
getFirstPublishedAtRequest: getFirstPublishedAtRequest,
|
|
12677
12629
|
getPublishedDaysRequest: getPublishedDaysRequest,
|
|
12678
|
-
updateRealtyPublicIdRequest: updateRealtyPublicIdRequest,
|
|
12679
12630
|
uploadResumeRequest: uploadResumeRequest
|
|
12680
12631
|
};
|
|
12681
12632
|
|
|
@@ -12832,7 +12783,7 @@ var Api$2 = function Api(baseURL) {
|
|
|
12832
12783
|
};
|
|
12833
12784
|
}();
|
|
12834
12785
|
|
|
12835
|
-
this.
|
|
12786
|
+
this.findNewBuildings = /*#__PURE__*/function () {
|
|
12836
12787
|
var _ref3 = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee3(params, headers) {
|
|
12837
12788
|
return runtime_1.wrap(function _callee3$(_context3) {
|
|
12838
12789
|
while (1) {
|
|
@@ -12851,7 +12802,7 @@ var Api$2 = function Api(baseURL) {
|
|
|
12851
12802
|
headers: _context3.t2,
|
|
12852
12803
|
baseURL: _context3.t3
|
|
12853
12804
|
};
|
|
12854
|
-
return _context3.abrupt("return", _context3.t0.
|
|
12805
|
+
return _context3.abrupt("return", _context3.t0.findNewBuildingsRequest.call(_context3.t0, _context3.t4));
|
|
12855
12806
|
|
|
12856
12807
|
case 8:
|
|
12857
12808
|
case "end":
|
|
@@ -12866,7 +12817,7 @@ var Api$2 = function Api(baseURL) {
|
|
|
12866
12817
|
};
|
|
12867
12818
|
}();
|
|
12868
12819
|
|
|
12869
|
-
this.
|
|
12820
|
+
this.findExternalLinks = /*#__PURE__*/function () {
|
|
12870
12821
|
var _ref4 = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee4(params, headers) {
|
|
12871
12822
|
return runtime_1.wrap(function _callee4$(_context4) {
|
|
12872
12823
|
while (1) {
|
|
@@ -12885,7 +12836,7 @@ var Api$2 = function Api(baseURL) {
|
|
|
12885
12836
|
headers: _context4.t2,
|
|
12886
12837
|
baseURL: _context4.t3
|
|
12887
12838
|
};
|
|
12888
|
-
return _context4.abrupt("return", _context4.t0.
|
|
12839
|
+
return _context4.abrupt("return", _context4.t0.findExternalLinksRequest.call(_context4.t0, _context4.t4));
|
|
12889
12840
|
|
|
12890
12841
|
case 8:
|
|
12891
12842
|
case "end":
|
|
@@ -12900,7 +12851,7 @@ var Api$2 = function Api(baseURL) {
|
|
|
12900
12851
|
};
|
|
12901
12852
|
}();
|
|
12902
12853
|
|
|
12903
|
-
this.
|
|
12854
|
+
this.findStatisticRow = /*#__PURE__*/function () {
|
|
12904
12855
|
var _ref5 = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee5(params, headers) {
|
|
12905
12856
|
return runtime_1.wrap(function _callee5$(_context5) {
|
|
12906
12857
|
while (1) {
|
|
@@ -12919,7 +12870,7 @@ var Api$2 = function Api(baseURL) {
|
|
|
12919
12870
|
headers: _context5.t2,
|
|
12920
12871
|
baseURL: _context5.t3
|
|
12921
12872
|
};
|
|
12922
|
-
return _context5.abrupt("return", _context5.t0.
|
|
12873
|
+
return _context5.abrupt("return", _context5.t0.findStatisticRowRequest.call(_context5.t0, _context5.t4));
|
|
12923
12874
|
|
|
12924
12875
|
case 8:
|
|
12925
12876
|
case "end":
|
|
@@ -12934,7 +12885,7 @@ var Api$2 = function Api(baseURL) {
|
|
|
12934
12885
|
};
|
|
12935
12886
|
}();
|
|
12936
12887
|
|
|
12937
|
-
this.
|
|
12888
|
+
this.findActualEventsRow = /*#__PURE__*/function () {
|
|
12938
12889
|
var _ref6 = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee6(params, headers) {
|
|
12939
12890
|
return runtime_1.wrap(function _callee6$(_context6) {
|
|
12940
12891
|
while (1) {
|
|
@@ -12953,7 +12904,7 @@ var Api$2 = function Api(baseURL) {
|
|
|
12953
12904
|
headers: _context6.t2,
|
|
12954
12905
|
baseURL: _context6.t3
|
|
12955
12906
|
};
|
|
12956
|
-
return _context6.abrupt("return", _context6.t0.
|
|
12907
|
+
return _context6.abrupt("return", _context6.t0.findActualEventsRowRequest.call(_context6.t0, _context6.t4));
|
|
12957
12908
|
|
|
12958
12909
|
case 8:
|
|
12959
12910
|
case "end":
|
|
@@ -12968,7 +12919,7 @@ var Api$2 = function Api(baseURL) {
|
|
|
12968
12919
|
};
|
|
12969
12920
|
}();
|
|
12970
12921
|
|
|
12971
|
-
this.
|
|
12922
|
+
this.findPlannedEventsRow = /*#__PURE__*/function () {
|
|
12972
12923
|
var _ref7 = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee7(params, headers) {
|
|
12973
12924
|
return runtime_1.wrap(function _callee7$(_context7) {
|
|
12974
12925
|
while (1) {
|
|
@@ -12987,7 +12938,7 @@ var Api$2 = function Api(baseURL) {
|
|
|
12987
12938
|
headers: _context7.t2,
|
|
12988
12939
|
baseURL: _context7.t3
|
|
12989
12940
|
};
|
|
12990
|
-
return _context7.abrupt("return", _context7.t0.
|
|
12941
|
+
return _context7.abrupt("return", _context7.t0.findPlannedEventsRowRequest.call(_context7.t0, _context7.t4));
|
|
12991
12942
|
|
|
12992
12943
|
case 8:
|
|
12993
12944
|
case "end":
|
|
@@ -13002,7 +12953,7 @@ var Api$2 = function Api(baseURL) {
|
|
|
13002
12953
|
};
|
|
13003
12954
|
}();
|
|
13004
12955
|
|
|
13005
|
-
this.
|
|
12956
|
+
this.findScoring = /*#__PURE__*/function () {
|
|
13006
12957
|
var _ref8 = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee8(params, headers) {
|
|
13007
12958
|
return runtime_1.wrap(function _callee8$(_context8) {
|
|
13008
12959
|
while (1) {
|
|
@@ -13021,7 +12972,7 @@ var Api$2 = function Api(baseURL) {
|
|
|
13021
12972
|
headers: _context8.t2,
|
|
13022
12973
|
baseURL: _context8.t3
|
|
13023
12974
|
};
|
|
13024
|
-
return _context8.abrupt("return", _context8.t0.
|
|
12975
|
+
return _context8.abrupt("return", _context8.t0.findScoringRequest.call(_context8.t0, _context8.t4));
|
|
13025
12976
|
|
|
13026
12977
|
case 8:
|
|
13027
12978
|
case "end":
|
|
@@ -13036,14 +12987,14 @@ var Api$2 = function Api(baseURL) {
|
|
|
13036
12987
|
};
|
|
13037
12988
|
}();
|
|
13038
12989
|
|
|
13039
|
-
this.
|
|
13040
|
-
var _ref9 = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee9(
|
|
12990
|
+
this.uploadResume = /*#__PURE__*/function () {
|
|
12991
|
+
var _ref9 = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee9(body, headers) {
|
|
13041
12992
|
return runtime_1.wrap(function _callee9$(_context9) {
|
|
13042
12993
|
while (1) {
|
|
13043
12994
|
switch (_context9.prev = _context9.next) {
|
|
13044
12995
|
case 0:
|
|
13045
12996
|
_context9.t0 = api$2;
|
|
13046
|
-
_context9.t1 =
|
|
12997
|
+
_context9.t1 = body;
|
|
13047
12998
|
_context9.t2 = headers;
|
|
13048
12999
|
_context9.next = 5;
|
|
13049
13000
|
return _this.baseURL;
|
|
@@ -13051,11 +13002,11 @@ var Api$2 = function Api(baseURL) {
|
|
|
13051
13002
|
case 5:
|
|
13052
13003
|
_context9.t3 = _context9.sent;
|
|
13053
13004
|
_context9.t4 = {
|
|
13054
|
-
|
|
13005
|
+
body: _context9.t1,
|
|
13055
13006
|
headers: _context9.t2,
|
|
13056
13007
|
baseURL: _context9.t3
|
|
13057
13008
|
};
|
|
13058
|
-
return _context9.abrupt("return", _context9.t0.
|
|
13009
|
+
return _context9.abrupt("return", _context9.t0.uploadResumeRequest.call(_context9.t0, _context9.t4));
|
|
13059
13010
|
|
|
13060
13011
|
case 8:
|
|
13061
13012
|
case "end":
|
|
@@ -13069,91 +13020,19 @@ var Api$2 = function Api(baseURL) {
|
|
|
13069
13020
|
return _ref9.apply(this, arguments);
|
|
13070
13021
|
};
|
|
13071
13022
|
}();
|
|
13072
|
-
|
|
13073
|
-
this.updateRealtyPublicId = /*#__PURE__*/function () {
|
|
13074
|
-
var _ref10 = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee10(urlParams, body, headers) {
|
|
13075
|
-
return runtime_1.wrap(function _callee10$(_context10) {
|
|
13076
|
-
while (1) {
|
|
13077
|
-
switch (_context10.prev = _context10.next) {
|
|
13078
|
-
case 0:
|
|
13079
|
-
_context10.t0 = api$2;
|
|
13080
|
-
_context10.t1 = urlParams;
|
|
13081
|
-
_context10.t2 = body;
|
|
13082
|
-
_context10.t3 = headers;
|
|
13083
|
-
_context10.next = 6;
|
|
13084
|
-
return _this.baseURL;
|
|
13085
|
-
|
|
13086
|
-
case 6:
|
|
13087
|
-
_context10.t4 = _context10.sent;
|
|
13088
|
-
_context10.t5 = {
|
|
13089
|
-
urlParams: _context10.t1,
|
|
13090
|
-
body: _context10.t2,
|
|
13091
|
-
headers: _context10.t3,
|
|
13092
|
-
baseURL: _context10.t4
|
|
13093
|
-
};
|
|
13094
|
-
return _context10.abrupt("return", _context10.t0.updateRealtyPublicIdRequest.call(_context10.t0, _context10.t5));
|
|
13095
|
-
|
|
13096
|
-
case 9:
|
|
13097
|
-
case "end":
|
|
13098
|
-
return _context10.stop();
|
|
13099
|
-
}
|
|
13100
|
-
}
|
|
13101
|
-
}, _callee10);
|
|
13102
|
-
}));
|
|
13103
|
-
|
|
13104
|
-
return function (_x19, _x20, _x21) {
|
|
13105
|
-
return _ref10.apply(this, arguments);
|
|
13106
|
-
};
|
|
13107
|
-
}();
|
|
13108
|
-
|
|
13109
|
-
this.uploadResume = /*#__PURE__*/function () {
|
|
13110
|
-
var _ref11 = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee11(body, headers) {
|
|
13111
|
-
return runtime_1.wrap(function _callee11$(_context11) {
|
|
13112
|
-
while (1) {
|
|
13113
|
-
switch (_context11.prev = _context11.next) {
|
|
13114
|
-
case 0:
|
|
13115
|
-
_context11.t0 = api$2;
|
|
13116
|
-
_context11.t1 = body;
|
|
13117
|
-
_context11.t2 = headers;
|
|
13118
|
-
_context11.next = 5;
|
|
13119
|
-
return _this.baseURL;
|
|
13120
|
-
|
|
13121
|
-
case 5:
|
|
13122
|
-
_context11.t3 = _context11.sent;
|
|
13123
|
-
_context11.t4 = {
|
|
13124
|
-
body: _context11.t1,
|
|
13125
|
-
headers: _context11.t2,
|
|
13126
|
-
baseURL: _context11.t3
|
|
13127
|
-
};
|
|
13128
|
-
return _context11.abrupt("return", _context11.t0.uploadResumeRequest.call(_context11.t0, _context11.t4));
|
|
13129
|
-
|
|
13130
|
-
case 8:
|
|
13131
|
-
case "end":
|
|
13132
|
-
return _context11.stop();
|
|
13133
|
-
}
|
|
13134
|
-
}
|
|
13135
|
-
}, _callee11);
|
|
13136
|
-
}));
|
|
13137
|
-
|
|
13138
|
-
return function (_x22, _x23) {
|
|
13139
|
-
return _ref11.apply(this, arguments);
|
|
13140
|
-
};
|
|
13141
|
-
}();
|
|
13142
13023
|
};
|
|
13143
13024
|
|
|
13144
13025
|
var index$2 = {
|
|
13145
13026
|
__proto__: null,
|
|
13146
13027
|
Api: Api$2,
|
|
13147
13028
|
findActualEventsRowRequest: findActualEventsRowRequest,
|
|
13148
|
-
findEventsRowRequest: findEventsRowRequest,
|
|
13149
|
-
findExternalLinksRequest: findExternalLinksRequest,
|
|
13150
13029
|
findNewBuildingsRequest: findNewBuildingsRequest,
|
|
13151
13030
|
findPlannedEventsRowRequest: findPlannedEventsRowRequest,
|
|
13152
13031
|
findScoringRequest: findScoringRequest,
|
|
13032
|
+
findExternalLinksRequest: findExternalLinksRequest,
|
|
13153
13033
|
findStatisticRowRequest: findStatisticRowRequest,
|
|
13154
13034
|
getFirstPublishedAtRequest: getFirstPublishedAtRequest,
|
|
13155
13035
|
getPublishedDaysRequest: getPublishedDaysRequest,
|
|
13156
|
-
updateRealtyPublicIdRequest: updateRealtyPublicIdRequest,
|
|
13157
13036
|
uploadResumeRequest: uploadResumeRequest,
|
|
13158
13037
|
get ActualEventsRowSource () { return ActualEventsRowSource; },
|
|
13159
13038
|
get PlannedEventsRowSite () { return PlannedEventsRowSite; },
|
|
@@ -14331,85 +14210,8 @@ var index$4 = {
|
|
|
14331
14210
|
get RealtyRenovationType () { return RealtyRenovationType$3; }
|
|
14332
14211
|
};
|
|
14333
14212
|
|
|
14334
|
-
function findCallTransferByExpertIdRequest(_ref) {
|
|
14335
|
-
var _ref$baseURL = _ref.baseURL,
|
|
14336
|
-
baseURL = _ref$baseURL === void 0 ? 'https://analytics.homeapp.team:9090' : _ref$baseURL,
|
|
14337
|
-
urlParams = _ref.urlParams;
|
|
14338
|
-
return axios.get("?curator_id=" + urlParams.expertId, {
|
|
14339
|
-
baseURL: baseURL,
|
|
14340
|
-
headers: {
|
|
14341
|
-
Accept: 'application/json',
|
|
14342
|
-
'Content-Type': 'application/json'
|
|
14343
|
-
},
|
|
14344
|
-
transformResponse: [].concat(axios.defaults.transformResponse, [function (data) {
|
|
14345
|
-
if (isNil(data == null ? void 0 : data.id)) {
|
|
14346
|
-
throw {
|
|
14347
|
-
response: data
|
|
14348
|
-
};
|
|
14349
|
-
}
|
|
14350
|
-
|
|
14351
|
-
return {
|
|
14352
|
-
id: String(data == null ? void 0 : data.id)
|
|
14353
|
-
};
|
|
14354
|
-
}])
|
|
14355
|
-
}).then(function (res) {
|
|
14356
|
-
return res;
|
|
14357
|
-
})["catch"](function (err) {
|
|
14358
|
-
throw err;
|
|
14359
|
-
});
|
|
14360
|
-
}
|
|
14361
|
-
|
|
14362
|
-
var api$5 = {
|
|
14363
|
-
__proto__: null,
|
|
14364
|
-
findCallTransferByExpertIdRequest: findCallTransferByExpertIdRequest
|
|
14365
|
-
};
|
|
14366
|
-
|
|
14367
|
-
var Api$5 = function Api(baseURL) {
|
|
14368
|
-
var _this = this;
|
|
14369
|
-
|
|
14370
|
-
this.baseURL = baseURL;
|
|
14371
|
-
|
|
14372
|
-
this.findCallTransferByExpertId = /*#__PURE__*/function () {
|
|
14373
|
-
var _ref = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee(urlParams) {
|
|
14374
|
-
return runtime_1.wrap(function _callee$(_context) {
|
|
14375
|
-
while (1) {
|
|
14376
|
-
switch (_context.prev = _context.next) {
|
|
14377
|
-
case 0:
|
|
14378
|
-
_context.t0 = api$5;
|
|
14379
|
-
_context.next = 3;
|
|
14380
|
-
return _this.baseURL;
|
|
14381
|
-
|
|
14382
|
-
case 3:
|
|
14383
|
-
_context.t1 = _context.sent;
|
|
14384
|
-
_context.t2 = urlParams;
|
|
14385
|
-
_context.t3 = {
|
|
14386
|
-
baseURL: _context.t1,
|
|
14387
|
-
urlParams: _context.t2
|
|
14388
|
-
};
|
|
14389
|
-
return _context.abrupt("return", _context.t0.findCallTransferByExpertIdRequest.call(_context.t0, _context.t3));
|
|
14390
|
-
|
|
14391
|
-
case 7:
|
|
14392
|
-
case "end":
|
|
14393
|
-
return _context.stop();
|
|
14394
|
-
}
|
|
14395
|
-
}
|
|
14396
|
-
}, _callee);
|
|
14397
|
-
}));
|
|
14398
|
-
|
|
14399
|
-
return function (_x) {
|
|
14400
|
-
return _ref.apply(this, arguments);
|
|
14401
|
-
};
|
|
14402
|
-
}();
|
|
14403
|
-
};
|
|
14404
|
-
|
|
14405
|
-
var index$5 = {
|
|
14406
|
-
__proto__: null,
|
|
14407
|
-
Api: Api$5
|
|
14408
|
-
};
|
|
14409
|
-
|
|
14410
14213
|
exports.Clients = index;
|
|
14411
14214
|
exports.ClientsV2 = index$1;
|
|
14412
|
-
exports.External = index$5;
|
|
14413
14215
|
exports.Publisher = index$2;
|
|
14414
14216
|
exports.Registry = index$3;
|
|
14415
14217
|
exports.Search = index$4;
|