@hapl/api-queries 0.2.9 → 0.2.10

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 CHANGED
@@ -1,3 +1,15 @@
1
+ # v0.2.10 (Thu Dec 01 2022)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - FE-1427: добавлена ручка на запрос `callTransfer` по `expertId` [#129](https://github.com/homeappcorporate/api-queries/pull/129) ([@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.9 (Tue Nov 29 2022)
2
14
 
3
15
  #### 🐛 Bug Fix
@@ -5256,6 +5256,28 @@ var UserLevel;
5256
5256
  UserLevel["Teamleader"] = "teamleader";
5257
5257
  })(UserLevel || (UserLevel = {}));
5258
5258
 
5259
+ var UserContactInfoType;
5260
+
5261
+ (function (UserContactInfoType) {
5262
+ UserContactInfoType["SlackId"] = "slack-id";
5263
+ UserContactInfoType["SlackGroupId"] = "slack-group-id";
5264
+ UserContactInfoType["SlackUsername"] = "slack-username";
5265
+ UserContactInfoType["SlackGroupName"] = "slack-group-name";
5266
+ UserContactInfoType["Skype"] = "skype";
5267
+ UserContactInfoType["Email"] = "email";
5268
+ UserContactInfoType["Jabber"] = "jabber";
5269
+ UserContactInfoType["Icq"] = "icq";
5270
+ UserContactInfoType["Imessage"] = "imessage";
5271
+ UserContactInfoType["Telegram"] = "telegram";
5272
+ UserContactInfoType["Whatsapp"] = "whatsapp";
5273
+ UserContactInfoType["Facebook"] = "facebook";
5274
+ UserContactInfoType["Linkedin"] = "linkedin";
5275
+ UserContactInfoType["Vk"] = "vk";
5276
+ UserContactInfoType["Odnoklassniki"] = "odnoklassniki";
5277
+ UserContactInfoType["Instagram"] = "instagram";
5278
+ UserContactInfoType["VoxAccount"] = "vox-account";
5279
+ })(UserContactInfoType || (UserContactInfoType = {}));
5280
+
5259
5281
  var UserOffice;
5260
5282
 
5261
5283
  (function (UserOffice) {
@@ -5268,32 +5290,32 @@ var UserOffice;
5268
5290
  var UserRole;
5269
5291
 
5270
5292
  (function (UserRole) {
5271
- UserRole["User"] = "user";
5272
- UserRole["Moderator"] = "moderator";
5273
- UserRole["Supervisor"] = "supervisor";
5274
- UserRole["Trainee"] = "trainee";
5275
- UserRole["Expert"] = "expert";
5276
- UserRole["Mentor"] = "mentor";
5277
- UserRole["Invest"] = "invest";
5278
- UserRole["Teamlead"] = "teamlead";
5279
- UserRole["GroupLead"] = "group_lead";
5280
- UserRole["CallOperator"] = "call_operator";
5281
5293
  UserRole["Admin"] = "admin";
5294
+ UserRole["CallOperator"] = "call_operator";
5295
+ UserRole["CashManager"] = "cash_manager";
5296
+ UserRole["ChatQualityAssessor"] = "chat_quality_assessor";
5297
+ UserRole["DataScience"] = "data_science";
5282
5298
  UserRole["Developer"] = "developer";
5283
- UserRole["Lawyer"] = "lawyer";
5284
- UserRole["LawyerHead"] = "lawyer_head";
5299
+ UserRole["Expert"] = "expert";
5300
+ UserRole["ExternalPartner"] = "external_partner";
5285
5301
  UserRole["Finance"] = "finance";
5286
5302
  UserRole["FinanceHead"] = "finance_head";
5287
- UserRole["ExternalPartner"] = "external_partner";
5303
+ UserRole["GroupLead"] = "group_lead";
5304
+ UserRole["HR"] = "hr";
5305
+ UserRole["Invest"] = "invest";
5306
+ UserRole["Lawyer"] = "lawyer";
5307
+ UserRole["LawyerHead"] = "lawyer_head";
5308
+ UserRole["LiquidityReportReader"] = "liquidity_report_reader";
5309
+ UserRole["Mentor"] = "mentor";
5310
+ UserRole["Moderator"] = "moderator";
5288
5311
  UserRole["QualityAssessor"] = "quality_assessor";
5289
- UserRole["ChatQualityAssessor"] = "chat_quality_assessor";
5312
+ UserRole["Reader"] = "reader";
5290
5313
  UserRole["SalesHead"] = "sales_head";
5314
+ UserRole["Supervisor"] = "supervisor";
5315
+ UserRole["Teamlead"] = "teamlead";
5291
5316
  UserRole["TechSupport"] = "tech_support";
5292
- UserRole["LiquidityReportReader"] = "liquidity_report_reader";
5293
- UserRole["CashManager"] = "cash_manager";
5294
- UserRole["DataScience"] = "data_science";
5295
- UserRole["Reader"] = "reader";
5296
- UserRole["HR"] = "hr";
5317
+ UserRole["Trainee"] = "trainee";
5318
+ UserRole["User"] = "user";
5297
5319
  })(UserRole || (UserRole = {}));
5298
5320
 
5299
5321
  var UserFiredType;
@@ -5523,9 +5545,12 @@ var TaskDictionary = {
5523
5545
  Status: (_Status$5 = {}, _Status$5[TaskStatus.InProgress] = 'В работе', _Status$5[TaskStatus.Resolved] = 'Выполнена', _Status$5[TaskStatus.Closed] = 'Закрыта', _Status$5)
5524
5546
  };
5525
5547
 
5526
- var _TelephonyType, _Direction$1, _Gender, _Level, _Office, _Role, _FiredType, _FiredReason, _AttractionChannel;
5548
+ var _TelephonyType, _GalleryType, _PhoneType$1, _ContactInfoType, _Direction$1, _Gender, _Level, _Office, _Role, _FiredType, _FiredReason, _AttractionChannel;
5527
5549
  var UserDictionary = {
5528
5550
  TelephonyType: (_TelephonyType = {}, _TelephonyType[UserTelephonyType.Vox] = 'Vox', _TelephonyType),
5551
+ GalleryType: (_GalleryType = {}, _GalleryType[GalleryImageType.Main] = 'Основная', _GalleryType[GalleryImageType.Portrait] = 'Портрет', _GalleryType),
5552
+ PhoneType: (_PhoneType$1 = {}, _PhoneType$1[UserPhoneType.Sip] = 'Внутренний', _PhoneType$1[UserPhoneType.Main] = 'Основной', _PhoneType$1[UserPhoneType.Work] = 'Рабочий', _PhoneType$1[UserPhoneType.Home] = 'Домашний', _PhoneType$1[UserPhoneType.VirtualVox] = 'Общий виртуальный (VOX)', _PhoneType$1),
5553
+ ContactInfoType: (_ContactInfoType = {}, _ContactInfoType[UserContactInfoType.SlackId] = 'ID пользователя в слак', _ContactInfoType[UserContactInfoType.SlackGroupId] = 'ID канала в слак', _ContactInfoType[UserContactInfoType.SlackUsername] = 'Имя пользователя в слак', _ContactInfoType[UserContactInfoType.SlackGroupName] = 'Название канала слак', _ContactInfoType[UserContactInfoType.Skype] = 'Skype', _ContactInfoType[UserContactInfoType.Email] = 'E-mail', _ContactInfoType[UserContactInfoType.Jabber] = 'Jabber', _ContactInfoType[UserContactInfoType.Icq] = 'ICQ', _ContactInfoType[UserContactInfoType.Imessage] = 'iMessage', _ContactInfoType[UserContactInfoType.Telegram] = 'telegram', _ContactInfoType[UserContactInfoType.Whatsapp] = 'whatsapp', _ContactInfoType[UserContactInfoType.Facebook] = 'Facebook', _ContactInfoType[UserContactInfoType.Linkedin] = 'LinkedIn', _ContactInfoType[UserContactInfoType.Vk] = 'Вконтакте', _ContactInfoType[UserContactInfoType.Odnoklassniki] = 'Одноклассники', _ContactInfoType[UserContactInfoType.Instagram] = 'Instagram', _ContactInfoType[UserContactInfoType.VoxAccount] = 'Аккаунт телефонии (vox)', _ContactInfoType),
5529
5554
  Direction: (_Direction$1 = {}, _Direction$1[UserDirection.Resale] = 'Вторичка', _Direction$1[UserDirection.NewBuildings] = 'Новостройки', _Direction$1[UserDirection.Elite] = 'Элитное жилье', _Direction$1[UserDirection.Private] = 'Частные дома', _Direction$1[UserDirection.Commercial] = 'Коммерческая недвижимость', _Direction$1),
5530
5555
  Gender: (_Gender = {}, _Gender[UserGender.Female] = 'Женщина', _Gender[UserGender.Male] = 'Мужчина', _Gender),
5531
5556
  Level: (_Level = {}, _Level[UserLevel.SalesHead] = 'Директор по продажам', _Level[UserLevel.Teamleader] = 'Руководитель отдела продаж', _Level[UserLevel.Groupleader] = 'Руководитель группы', _Level[UserLevel.Expert] = 'Эксперт', _Level),
@@ -10591,6 +10616,7 @@ var index = {
10591
10616
  get UserDirection () { return UserDirection; },
10592
10617
  get UserGender () { return UserGender; },
10593
10618
  get UserLevel () { return UserLevel; },
10619
+ get UserContactInfoType () { return UserContactInfoType; },
10594
10620
  get UserOffice () { return UserOffice; },
10595
10621
  get UserRole () { return UserRole; },
10596
10622
  get UserFiredType () { return UserFiredType; },
@@ -12664,6 +12690,32 @@ function findActualEventsRowRequest(_ref) {
12664
12690
  });
12665
12691
  }
12666
12692
 
12693
+ function findEventsRowRequest(_ref) {
12694
+ var _ref$baseURL = _ref.baseURL,
12695
+ baseURL = _ref$baseURL === void 0 ? 'https://publisher.homeapp.ru' : _ref$baseURL,
12696
+ headers = _ref.headers,
12697
+ params = _ref.params;
12698
+ return axios.get('/api/events-row/delta-view', {
12699
+ baseURL: baseURL,
12700
+ params: params,
12701
+ paramsSerializer: function paramsSerializer(params) {
12702
+ return qs.stringify(params, {
12703
+ arrayFormat: 'brackets'
12704
+ });
12705
+ },
12706
+ headers: _extends({
12707
+ Accept: 'application/json'
12708
+ }, headers),
12709
+ transformResponse: [].concat(axios.defaults.transformResponse, [function (data) {
12710
+ return data.success ? data.data : data.data.error;
12711
+ }])
12712
+ }).then(function (res) {
12713
+ return res;
12714
+ })["catch"](function (err) {
12715
+ throw err;
12716
+ });
12717
+ }
12718
+
12667
12719
  function findExternalLinksRequest(_ref) {
12668
12720
  var _ref$baseURL = _ref.baseURL,
12669
12721
  baseURL = _ref$baseURL === void 0 ? 'https://publisher.homeapp.ru' : _ref$baseURL,
@@ -12930,6 +12982,28 @@ function getPublishedDaysRequest(_ref) {
12930
12982
  });
12931
12983
  }
12932
12984
 
12985
+ function updateRealtyPublicIdRequest(_ref) {
12986
+ var _ref$baseURL = _ref.baseURL,
12987
+ baseURL = _ref$baseURL === void 0 ? 'https://clients.homeapp.ru' : _ref$baseURL,
12988
+ urlParams = _ref.urlParams,
12989
+ body = _ref.body,
12990
+ headers = _ref.headers;
12991
+ return axios.patch("/api/publication/realty/" + urlParams.realtyId + "/public-id-update", body, {
12992
+ baseURL: baseURL,
12993
+ headers: _extends({
12994
+ Accept: 'application/json',
12995
+ 'Content-Type': 'application/json'
12996
+ }, headers),
12997
+ transformResponse: [].concat(axios.defaults.transformResponse, [function (data) {
12998
+ return data.success ? data.data : data.data.error;
12999
+ }])
13000
+ }).then(function (res) {
13001
+ return res;
13002
+ })["catch"](function (err) {
13003
+ throw err;
13004
+ });
13005
+ }
13006
+
12933
13007
  function uploadResumeRequest(_ref) {
12934
13008
  var _ref$baseURL = _ref.baseURL,
12935
13009
  baseURL = _ref$baseURL === void 0 ? 'https://publisher.homeapp.ru' : _ref$baseURL,
@@ -12969,6 +13043,7 @@ function uploadResumeRequest(_ref) {
12969
13043
  var api$2 = {
12970
13044
  __proto__: null,
12971
13045
  findActualEventsRowRequest: findActualEventsRowRequest,
13046
+ findEventsRowRequest: findEventsRowRequest,
12972
13047
  findExternalLinksRequest: findExternalLinksRequest,
12973
13048
  findHomeappStatisticRowByRealtyId: findHomeappStatisticRowByRealtyId,
12974
13049
  findNewBuildingsRequest: findNewBuildingsRequest,
@@ -12977,6 +13052,7 @@ var api$2 = {
12977
13052
  findStatisticRowRequest: findStatisticRowRequest,
12978
13053
  getFirstPublishedAtRequest: getFirstPublishedAtRequest,
12979
13054
  getPublishedDaysRequest: getPublishedDaysRequest,
13055
+ updateRealtyPublicIdRequest: updateRealtyPublicIdRequest,
12980
13056
  uploadResumeRequest: uploadResumeRequest
12981
13057
  };
12982
13058
 
@@ -13133,7 +13209,7 @@ var Api$2 = function Api(baseURL) {
13133
13209
  };
13134
13210
  }();
13135
13211
 
13136
- this.findNewBuildings = /*#__PURE__*/function () {
13212
+ this.findEventsRow = /*#__PURE__*/function () {
13137
13213
  var _ref3 = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee3(params, headers) {
13138
13214
  return runtime_1.wrap(function _callee3$(_context3) {
13139
13215
  while (1) {
@@ -13152,7 +13228,7 @@ var Api$2 = function Api(baseURL) {
13152
13228
  headers: _context3.t2,
13153
13229
  baseURL: _context3.t3
13154
13230
  };
13155
- return _context3.abrupt("return", _context3.t0.findNewBuildingsRequest.call(_context3.t0, _context3.t4));
13231
+ return _context3.abrupt("return", _context3.t0.findEventsRowRequest.call(_context3.t0, _context3.t4));
13156
13232
 
13157
13233
  case 8:
13158
13234
  case "end":
@@ -13167,7 +13243,7 @@ var Api$2 = function Api(baseURL) {
13167
13243
  };
13168
13244
  }();
13169
13245
 
13170
- this.findExternalLinks = /*#__PURE__*/function () {
13246
+ this.findNewBuildings = /*#__PURE__*/function () {
13171
13247
  var _ref4 = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee4(params, headers) {
13172
13248
  return runtime_1.wrap(function _callee4$(_context4) {
13173
13249
  while (1) {
@@ -13186,7 +13262,7 @@ var Api$2 = function Api(baseURL) {
13186
13262
  headers: _context4.t2,
13187
13263
  baseURL: _context4.t3
13188
13264
  };
13189
- return _context4.abrupt("return", _context4.t0.findExternalLinksRequest.call(_context4.t0, _context4.t4));
13265
+ return _context4.abrupt("return", _context4.t0.findNewBuildingsRequest.call(_context4.t0, _context4.t4));
13190
13266
 
13191
13267
  case 8:
13192
13268
  case "end":
@@ -13201,26 +13277,28 @@ var Api$2 = function Api(baseURL) {
13201
13277
  };
13202
13278
  }();
13203
13279
 
13204
- this.findHomeappStatisticRowByRealtyId = /*#__PURE__*/function () {
13205
- var _ref5 = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee5(urlParams) {
13280
+ this.findExternalLinks = /*#__PURE__*/function () {
13281
+ var _ref5 = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee5(params, headers) {
13206
13282
  return runtime_1.wrap(function _callee5$(_context5) {
13207
13283
  while (1) {
13208
13284
  switch (_context5.prev = _context5.next) {
13209
13285
  case 0:
13210
13286
  _context5.t0 = api$2;
13211
- _context5.t1 = urlParams;
13212
- _context5.next = 4;
13287
+ _context5.t1 = params;
13288
+ _context5.t2 = headers;
13289
+ _context5.next = 5;
13213
13290
  return _this.baseURL;
13214
13291
 
13215
- case 4:
13216
- _context5.t2 = _context5.sent;
13217
- _context5.t3 = {
13218
- urlParams: _context5.t1,
13219
- baseURL: _context5.t2
13292
+ case 5:
13293
+ _context5.t3 = _context5.sent;
13294
+ _context5.t4 = {
13295
+ params: _context5.t1,
13296
+ headers: _context5.t2,
13297
+ baseURL: _context5.t3
13220
13298
  };
13221
- return _context5.abrupt("return", _context5.t0.findHomeappStatisticRowByRealtyId.call(_context5.t0, _context5.t3));
13299
+ return _context5.abrupt("return", _context5.t0.findExternalLinksRequest.call(_context5.t0, _context5.t4));
13222
13300
 
13223
- case 7:
13301
+ case 8:
13224
13302
  case "end":
13225
13303
  return _context5.stop();
13226
13304
  }
@@ -13228,33 +13306,31 @@ var Api$2 = function Api(baseURL) {
13228
13306
  }, _callee5);
13229
13307
  }));
13230
13308
 
13231
- return function (_x9) {
13309
+ return function (_x9, _x10) {
13232
13310
  return _ref5.apply(this, arguments);
13233
13311
  };
13234
13312
  }();
13235
13313
 
13236
- this.findStatisticRow = /*#__PURE__*/function () {
13237
- var _ref6 = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee6(params, headers) {
13314
+ this.findHomeappStatisticRowByRealtyId = /*#__PURE__*/function () {
13315
+ var _ref6 = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee6(urlParams) {
13238
13316
  return runtime_1.wrap(function _callee6$(_context6) {
13239
13317
  while (1) {
13240
13318
  switch (_context6.prev = _context6.next) {
13241
13319
  case 0:
13242
13320
  _context6.t0 = api$2;
13243
- _context6.t1 = params;
13244
- _context6.t2 = headers;
13245
- _context6.next = 5;
13321
+ _context6.t1 = urlParams;
13322
+ _context6.next = 4;
13246
13323
  return _this.baseURL;
13247
13324
 
13248
- case 5:
13249
- _context6.t3 = _context6.sent;
13250
- _context6.t4 = {
13251
- params: _context6.t1,
13252
- headers: _context6.t2,
13253
- baseURL: _context6.t3
13325
+ case 4:
13326
+ _context6.t2 = _context6.sent;
13327
+ _context6.t3 = {
13328
+ urlParams: _context6.t1,
13329
+ baseURL: _context6.t2
13254
13330
  };
13255
- return _context6.abrupt("return", _context6.t0.findStatisticRowRequest.call(_context6.t0, _context6.t4));
13331
+ return _context6.abrupt("return", _context6.t0.findHomeappStatisticRowByRealtyId.call(_context6.t0, _context6.t3));
13256
13332
 
13257
- case 8:
13333
+ case 7:
13258
13334
  case "end":
13259
13335
  return _context6.stop();
13260
13336
  }
@@ -13262,12 +13338,12 @@ var Api$2 = function Api(baseURL) {
13262
13338
  }, _callee6);
13263
13339
  }));
13264
13340
 
13265
- return function (_x10, _x11) {
13341
+ return function (_x11) {
13266
13342
  return _ref6.apply(this, arguments);
13267
13343
  };
13268
13344
  }();
13269
13345
 
13270
- this.findActualEventsRow = /*#__PURE__*/function () {
13346
+ this.findStatisticRow = /*#__PURE__*/function () {
13271
13347
  var _ref7 = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee7(params, headers) {
13272
13348
  return runtime_1.wrap(function _callee7$(_context7) {
13273
13349
  while (1) {
@@ -13286,7 +13362,7 @@ var Api$2 = function Api(baseURL) {
13286
13362
  headers: _context7.t2,
13287
13363
  baseURL: _context7.t3
13288
13364
  };
13289
- return _context7.abrupt("return", _context7.t0.findActualEventsRowRequest.call(_context7.t0, _context7.t4));
13365
+ return _context7.abrupt("return", _context7.t0.findStatisticRowRequest.call(_context7.t0, _context7.t4));
13290
13366
 
13291
13367
  case 8:
13292
13368
  case "end":
@@ -13301,7 +13377,7 @@ var Api$2 = function Api(baseURL) {
13301
13377
  };
13302
13378
  }();
13303
13379
 
13304
- this.findPlannedEventsRow = /*#__PURE__*/function () {
13380
+ this.findActualEventsRow = /*#__PURE__*/function () {
13305
13381
  var _ref8 = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee8(params, headers) {
13306
13382
  return runtime_1.wrap(function _callee8$(_context8) {
13307
13383
  while (1) {
@@ -13320,7 +13396,7 @@ var Api$2 = function Api(baseURL) {
13320
13396
  headers: _context8.t2,
13321
13397
  baseURL: _context8.t3
13322
13398
  };
13323
- return _context8.abrupt("return", _context8.t0.findPlannedEventsRowRequest.call(_context8.t0, _context8.t4));
13399
+ return _context8.abrupt("return", _context8.t0.findActualEventsRowRequest.call(_context8.t0, _context8.t4));
13324
13400
 
13325
13401
  case 8:
13326
13402
  case "end":
@@ -13335,7 +13411,7 @@ var Api$2 = function Api(baseURL) {
13335
13411
  };
13336
13412
  }();
13337
13413
 
13338
- this.findScoring = /*#__PURE__*/function () {
13414
+ this.findPlannedEventsRow = /*#__PURE__*/function () {
13339
13415
  var _ref9 = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee9(params, headers) {
13340
13416
  return runtime_1.wrap(function _callee9$(_context9) {
13341
13417
  while (1) {
@@ -13354,7 +13430,7 @@ var Api$2 = function Api(baseURL) {
13354
13430
  headers: _context9.t2,
13355
13431
  baseURL: _context9.t3
13356
13432
  };
13357
- return _context9.abrupt("return", _context9.t0.findScoringRequest.call(_context9.t0, _context9.t4));
13433
+ return _context9.abrupt("return", _context9.t0.findPlannedEventsRowRequest.call(_context9.t0, _context9.t4));
13358
13434
 
13359
13435
  case 8:
13360
13436
  case "end":
@@ -13369,14 +13445,14 @@ var Api$2 = function Api(baseURL) {
13369
13445
  };
13370
13446
  }();
13371
13447
 
13372
- this.uploadResume = /*#__PURE__*/function () {
13373
- var _ref10 = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee10(body, headers) {
13448
+ this.findScoring = /*#__PURE__*/function () {
13449
+ var _ref10 = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee10(params, headers) {
13374
13450
  return runtime_1.wrap(function _callee10$(_context10) {
13375
13451
  while (1) {
13376
13452
  switch (_context10.prev = _context10.next) {
13377
13453
  case 0:
13378
13454
  _context10.t0 = api$2;
13379
- _context10.t1 = body;
13455
+ _context10.t1 = params;
13380
13456
  _context10.t2 = headers;
13381
13457
  _context10.next = 5;
13382
13458
  return _this.baseURL;
@@ -13384,11 +13460,11 @@ var Api$2 = function Api(baseURL) {
13384
13460
  case 5:
13385
13461
  _context10.t3 = _context10.sent;
13386
13462
  _context10.t4 = {
13387
- body: _context10.t1,
13463
+ params: _context10.t1,
13388
13464
  headers: _context10.t2,
13389
13465
  baseURL: _context10.t3
13390
13466
  };
13391
- return _context10.abrupt("return", _context10.t0.uploadResumeRequest.call(_context10.t0, _context10.t4));
13467
+ return _context10.abrupt("return", _context10.t0.findScoringRequest.call(_context10.t0, _context10.t4));
13392
13468
 
13393
13469
  case 8:
13394
13470
  case "end":
@@ -13402,12 +13478,83 @@ var Api$2 = function Api(baseURL) {
13402
13478
  return _ref10.apply(this, arguments);
13403
13479
  };
13404
13480
  }();
13481
+
13482
+ this.updateRealtyPublicId = /*#__PURE__*/function () {
13483
+ var _ref11 = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee11(urlParams, body, headers) {
13484
+ return runtime_1.wrap(function _callee11$(_context11) {
13485
+ while (1) {
13486
+ switch (_context11.prev = _context11.next) {
13487
+ case 0:
13488
+ _context11.t0 = api$2;
13489
+ _context11.t1 = urlParams;
13490
+ _context11.t2 = body;
13491
+ _context11.t3 = headers;
13492
+ _context11.next = 6;
13493
+ return _this.baseURL;
13494
+
13495
+ case 6:
13496
+ _context11.t4 = _context11.sent;
13497
+ _context11.t5 = {
13498
+ urlParams: _context11.t1,
13499
+ body: _context11.t2,
13500
+ headers: _context11.t3,
13501
+ baseURL: _context11.t4
13502
+ };
13503
+ return _context11.abrupt("return", _context11.t0.updateRealtyPublicIdRequest.call(_context11.t0, _context11.t5));
13504
+
13505
+ case 9:
13506
+ case "end":
13507
+ return _context11.stop();
13508
+ }
13509
+ }
13510
+ }, _callee11);
13511
+ }));
13512
+
13513
+ return function (_x20, _x21, _x22) {
13514
+ return _ref11.apply(this, arguments);
13515
+ };
13516
+ }();
13517
+
13518
+ this.uploadResume = /*#__PURE__*/function () {
13519
+ var _ref12 = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee12(body, headers) {
13520
+ return runtime_1.wrap(function _callee12$(_context12) {
13521
+ while (1) {
13522
+ switch (_context12.prev = _context12.next) {
13523
+ case 0:
13524
+ _context12.t0 = api$2;
13525
+ _context12.t1 = body;
13526
+ _context12.t2 = headers;
13527
+ _context12.next = 5;
13528
+ return _this.baseURL;
13529
+
13530
+ case 5:
13531
+ _context12.t3 = _context12.sent;
13532
+ _context12.t4 = {
13533
+ body: _context12.t1,
13534
+ headers: _context12.t2,
13535
+ baseURL: _context12.t3
13536
+ };
13537
+ return _context12.abrupt("return", _context12.t0.uploadResumeRequest.call(_context12.t0, _context12.t4));
13538
+
13539
+ case 8:
13540
+ case "end":
13541
+ return _context12.stop();
13542
+ }
13543
+ }
13544
+ }, _callee12);
13545
+ }));
13546
+
13547
+ return function (_x23, _x24) {
13548
+ return _ref12.apply(this, arguments);
13549
+ };
13550
+ }();
13405
13551
  };
13406
13552
 
13407
13553
  var index$2 = {
13408
13554
  __proto__: null,
13409
13555
  Api: Api$2,
13410
13556
  findActualEventsRowRequest: findActualEventsRowRequest,
13557
+ findEventsRowRequest: findEventsRowRequest,
13411
13558
  findExternalLinksRequest: findExternalLinksRequest,
13412
13559
  findHomeappStatisticRowByRealtyId: findHomeappStatisticRowByRealtyId,
13413
13560
  findNewBuildingsRequest: findNewBuildingsRequest,
@@ -13416,6 +13563,7 @@ var index$2 = {
13416
13563
  findStatisticRowRequest: findStatisticRowRequest,
13417
13564
  getFirstPublishedAtRequest: getFirstPublishedAtRequest,
13418
13565
  getPublishedDaysRequest: getPublishedDaysRequest,
13566
+ updateRealtyPublicIdRequest: updateRealtyPublicIdRequest,
13419
13567
  uploadResumeRequest: uploadResumeRequest,
13420
13568
  get ActualEventsRowSource () { return ActualEventsRowSource; },
13421
13569
  get PlannedEventsRowSite () { return PlannedEventsRowSite; },
@@ -14593,8 +14741,85 @@ var index$4 = {
14593
14741
  get RealtyRenovationType () { return RealtyRenovationType$3; }
14594
14742
  };
14595
14743
 
14744
+ function findCallTransferByExpertIdRequest(_ref) {
14745
+ var _ref$baseURL = _ref.baseURL,
14746
+ baseURL = _ref$baseURL === void 0 ? 'https://analytics.homeapp.team:9090' : _ref$baseURL,
14747
+ urlParams = _ref.urlParams;
14748
+ return axios.get("?curator_id=" + urlParams.expertId, {
14749
+ baseURL: baseURL,
14750
+ headers: {
14751
+ Accept: 'application/json',
14752
+ 'Content-Type': 'application/json'
14753
+ },
14754
+ transformResponse: [].concat(axios.defaults.transformResponse, [function (data) {
14755
+ if (isNil(data == null ? void 0 : data.id)) {
14756
+ throw {
14757
+ response: data
14758
+ };
14759
+ }
14760
+
14761
+ return {
14762
+ id: String(data == null ? void 0 : data.id)
14763
+ };
14764
+ }])
14765
+ }).then(function (res) {
14766
+ return res;
14767
+ })["catch"](function (err) {
14768
+ throw err;
14769
+ });
14770
+ }
14771
+
14772
+ var api$5 = {
14773
+ __proto__: null,
14774
+ findCallTransferByExpertIdRequest: findCallTransferByExpertIdRequest
14775
+ };
14776
+
14777
+ var Api$5 = function Api(baseURL) {
14778
+ var _this = this;
14779
+
14780
+ this.baseURL = baseURL;
14781
+
14782
+ this.findCallTransferByExpertId = /*#__PURE__*/function () {
14783
+ var _ref = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee(urlParams) {
14784
+ return runtime_1.wrap(function _callee$(_context) {
14785
+ while (1) {
14786
+ switch (_context.prev = _context.next) {
14787
+ case 0:
14788
+ _context.t0 = api$5;
14789
+ _context.next = 3;
14790
+ return _this.baseURL;
14791
+
14792
+ case 3:
14793
+ _context.t1 = _context.sent;
14794
+ _context.t2 = urlParams;
14795
+ _context.t3 = {
14796
+ baseURL: _context.t1,
14797
+ urlParams: _context.t2
14798
+ };
14799
+ return _context.abrupt("return", _context.t0.findCallTransferByExpertIdRequest.call(_context.t0, _context.t3));
14800
+
14801
+ case 7:
14802
+ case "end":
14803
+ return _context.stop();
14804
+ }
14805
+ }
14806
+ }, _callee);
14807
+ }));
14808
+
14809
+ return function (_x) {
14810
+ return _ref.apply(this, arguments);
14811
+ };
14812
+ }();
14813
+ };
14814
+
14815
+ var index$5 = {
14816
+ __proto__: null,
14817
+ Api: Api$5
14818
+ };
14819
+
14596
14820
  exports.Clients = index;
14597
14821
  exports.ClientsV2 = index$1;
14822
+ exports.External = index$5;
14598
14823
  exports.Publisher = index$2;
14599
14824
  exports.Registry = index$3;
14600
14825
  exports.Search = index$4;