@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.
@@ -5250,6 +5250,28 @@ var UserLevel;
5250
5250
  UserLevel["Teamleader"] = "teamleader";
5251
5251
  })(UserLevel || (UserLevel = {}));
5252
5252
 
5253
+ var UserContactInfoType;
5254
+
5255
+ (function (UserContactInfoType) {
5256
+ UserContactInfoType["SlackId"] = "slack-id";
5257
+ UserContactInfoType["SlackGroupId"] = "slack-group-id";
5258
+ UserContactInfoType["SlackUsername"] = "slack-username";
5259
+ UserContactInfoType["SlackGroupName"] = "slack-group-name";
5260
+ UserContactInfoType["Skype"] = "skype";
5261
+ UserContactInfoType["Email"] = "email";
5262
+ UserContactInfoType["Jabber"] = "jabber";
5263
+ UserContactInfoType["Icq"] = "icq";
5264
+ UserContactInfoType["Imessage"] = "imessage";
5265
+ UserContactInfoType["Telegram"] = "telegram";
5266
+ UserContactInfoType["Whatsapp"] = "whatsapp";
5267
+ UserContactInfoType["Facebook"] = "facebook";
5268
+ UserContactInfoType["Linkedin"] = "linkedin";
5269
+ UserContactInfoType["Vk"] = "vk";
5270
+ UserContactInfoType["Odnoklassniki"] = "odnoklassniki";
5271
+ UserContactInfoType["Instagram"] = "instagram";
5272
+ UserContactInfoType["VoxAccount"] = "vox-account";
5273
+ })(UserContactInfoType || (UserContactInfoType = {}));
5274
+
5253
5275
  var UserOffice;
5254
5276
 
5255
5277
  (function (UserOffice) {
@@ -5262,32 +5284,32 @@ var UserOffice;
5262
5284
  var UserRole;
5263
5285
 
5264
5286
  (function (UserRole) {
5265
- UserRole["User"] = "user";
5266
- UserRole["Moderator"] = "moderator";
5267
- UserRole["Supervisor"] = "supervisor";
5268
- UserRole["Trainee"] = "trainee";
5269
- UserRole["Expert"] = "expert";
5270
- UserRole["Mentor"] = "mentor";
5271
- UserRole["Invest"] = "invest";
5272
- UserRole["Teamlead"] = "teamlead";
5273
- UserRole["GroupLead"] = "group_lead";
5274
- UserRole["CallOperator"] = "call_operator";
5275
5287
  UserRole["Admin"] = "admin";
5288
+ UserRole["CallOperator"] = "call_operator";
5289
+ UserRole["CashManager"] = "cash_manager";
5290
+ UserRole["ChatQualityAssessor"] = "chat_quality_assessor";
5291
+ UserRole["DataScience"] = "data_science";
5276
5292
  UserRole["Developer"] = "developer";
5277
- UserRole["Lawyer"] = "lawyer";
5278
- UserRole["LawyerHead"] = "lawyer_head";
5293
+ UserRole["Expert"] = "expert";
5294
+ UserRole["ExternalPartner"] = "external_partner";
5279
5295
  UserRole["Finance"] = "finance";
5280
5296
  UserRole["FinanceHead"] = "finance_head";
5281
- UserRole["ExternalPartner"] = "external_partner";
5297
+ UserRole["GroupLead"] = "group_lead";
5298
+ UserRole["HR"] = "hr";
5299
+ UserRole["Invest"] = "invest";
5300
+ UserRole["Lawyer"] = "lawyer";
5301
+ UserRole["LawyerHead"] = "lawyer_head";
5302
+ UserRole["LiquidityReportReader"] = "liquidity_report_reader";
5303
+ UserRole["Mentor"] = "mentor";
5304
+ UserRole["Moderator"] = "moderator";
5282
5305
  UserRole["QualityAssessor"] = "quality_assessor";
5283
- UserRole["ChatQualityAssessor"] = "chat_quality_assessor";
5306
+ UserRole["Reader"] = "reader";
5284
5307
  UserRole["SalesHead"] = "sales_head";
5308
+ UserRole["Supervisor"] = "supervisor";
5309
+ UserRole["Teamlead"] = "teamlead";
5285
5310
  UserRole["TechSupport"] = "tech_support";
5286
- UserRole["LiquidityReportReader"] = "liquidity_report_reader";
5287
- UserRole["CashManager"] = "cash_manager";
5288
- UserRole["DataScience"] = "data_science";
5289
- UserRole["Reader"] = "reader";
5290
- UserRole["HR"] = "hr";
5311
+ UserRole["Trainee"] = "trainee";
5312
+ UserRole["User"] = "user";
5291
5313
  })(UserRole || (UserRole = {}));
5292
5314
 
5293
5315
  var UserFiredType;
@@ -5517,9 +5539,12 @@ var TaskDictionary = {
5517
5539
  Status: (_Status$5 = {}, _Status$5[TaskStatus.InProgress] = 'В работе', _Status$5[TaskStatus.Resolved] = 'Выполнена', _Status$5[TaskStatus.Closed] = 'Закрыта', _Status$5)
5518
5540
  };
5519
5541
 
5520
- var _TelephonyType, _Direction$1, _Gender, _Level, _Office, _Role, _FiredType, _FiredReason, _AttractionChannel;
5542
+ var _TelephonyType, _GalleryType, _PhoneType$1, _ContactInfoType, _Direction$1, _Gender, _Level, _Office, _Role, _FiredType, _FiredReason, _AttractionChannel;
5521
5543
  var UserDictionary = {
5522
5544
  TelephonyType: (_TelephonyType = {}, _TelephonyType[UserTelephonyType.Vox] = 'Vox', _TelephonyType),
5545
+ GalleryType: (_GalleryType = {}, _GalleryType[GalleryImageType.Main] = 'Основная', _GalleryType[GalleryImageType.Portrait] = 'Портрет', _GalleryType),
5546
+ 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),
5547
+ 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),
5523
5548
  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),
5524
5549
  Gender: (_Gender = {}, _Gender[UserGender.Female] = 'Женщина', _Gender[UserGender.Male] = 'Мужчина', _Gender),
5525
5550
  Level: (_Level = {}, _Level[UserLevel.SalesHead] = 'Директор по продажам', _Level[UserLevel.Teamleader] = 'Руководитель отдела продаж', _Level[UserLevel.Groupleader] = 'Руководитель группы', _Level[UserLevel.Expert] = 'Эксперт', _Level),
@@ -10585,6 +10610,7 @@ var index = {
10585
10610
  get UserDirection () { return UserDirection; },
10586
10611
  get UserGender () { return UserGender; },
10587
10612
  get UserLevel () { return UserLevel; },
10613
+ get UserContactInfoType () { return UserContactInfoType; },
10588
10614
  get UserOffice () { return UserOffice; },
10589
10615
  get UserRole () { return UserRole; },
10590
10616
  get UserFiredType () { return UserFiredType; },
@@ -12658,6 +12684,32 @@ function findActualEventsRowRequest(_ref) {
12658
12684
  });
12659
12685
  }
12660
12686
 
12687
+ function findEventsRowRequest(_ref) {
12688
+ var _ref$baseURL = _ref.baseURL,
12689
+ baseURL = _ref$baseURL === void 0 ? 'https://publisher.homeapp.ru' : _ref$baseURL,
12690
+ headers = _ref.headers,
12691
+ params = _ref.params;
12692
+ return axios.get('/api/events-row/delta-view', {
12693
+ baseURL: baseURL,
12694
+ params: params,
12695
+ paramsSerializer: function paramsSerializer(params) {
12696
+ return qs.stringify(params, {
12697
+ arrayFormat: 'brackets'
12698
+ });
12699
+ },
12700
+ headers: _extends({
12701
+ Accept: 'application/json'
12702
+ }, headers),
12703
+ transformResponse: [].concat(axios.defaults.transformResponse, [function (data) {
12704
+ return data.success ? data.data : data.data.error;
12705
+ }])
12706
+ }).then(function (res) {
12707
+ return res;
12708
+ })["catch"](function (err) {
12709
+ throw err;
12710
+ });
12711
+ }
12712
+
12661
12713
  function findExternalLinksRequest(_ref) {
12662
12714
  var _ref$baseURL = _ref.baseURL,
12663
12715
  baseURL = _ref$baseURL === void 0 ? 'https://publisher.homeapp.ru' : _ref$baseURL,
@@ -12924,6 +12976,28 @@ function getPublishedDaysRequest(_ref) {
12924
12976
  });
12925
12977
  }
12926
12978
 
12979
+ function updateRealtyPublicIdRequest(_ref) {
12980
+ var _ref$baseURL = _ref.baseURL,
12981
+ baseURL = _ref$baseURL === void 0 ? 'https://clients.homeapp.ru' : _ref$baseURL,
12982
+ urlParams = _ref.urlParams,
12983
+ body = _ref.body,
12984
+ headers = _ref.headers;
12985
+ return axios.patch("/api/publication/realty/" + urlParams.realtyId + "/public-id-update", body, {
12986
+ baseURL: baseURL,
12987
+ headers: _extends({
12988
+ Accept: 'application/json',
12989
+ 'Content-Type': 'application/json'
12990
+ }, headers),
12991
+ transformResponse: [].concat(axios.defaults.transformResponse, [function (data) {
12992
+ return data.success ? data.data : data.data.error;
12993
+ }])
12994
+ }).then(function (res) {
12995
+ return res;
12996
+ })["catch"](function (err) {
12997
+ throw err;
12998
+ });
12999
+ }
13000
+
12927
13001
  function uploadResumeRequest(_ref) {
12928
13002
  var _ref$baseURL = _ref.baseURL,
12929
13003
  baseURL = _ref$baseURL === void 0 ? 'https://publisher.homeapp.ru' : _ref$baseURL,
@@ -12963,6 +13037,7 @@ function uploadResumeRequest(_ref) {
12963
13037
  var api$2 = {
12964
13038
  __proto__: null,
12965
13039
  findActualEventsRowRequest: findActualEventsRowRequest,
13040
+ findEventsRowRequest: findEventsRowRequest,
12966
13041
  findExternalLinksRequest: findExternalLinksRequest,
12967
13042
  findHomeappStatisticRowByRealtyId: findHomeappStatisticRowByRealtyId,
12968
13043
  findNewBuildingsRequest: findNewBuildingsRequest,
@@ -12971,6 +13046,7 @@ var api$2 = {
12971
13046
  findStatisticRowRequest: findStatisticRowRequest,
12972
13047
  getFirstPublishedAtRequest: getFirstPublishedAtRequest,
12973
13048
  getPublishedDaysRequest: getPublishedDaysRequest,
13049
+ updateRealtyPublicIdRequest: updateRealtyPublicIdRequest,
12974
13050
  uploadResumeRequest: uploadResumeRequest
12975
13051
  };
12976
13052
 
@@ -13127,7 +13203,7 @@ var Api$2 = function Api(baseURL) {
13127
13203
  };
13128
13204
  }();
13129
13205
 
13130
- this.findNewBuildings = /*#__PURE__*/function () {
13206
+ this.findEventsRow = /*#__PURE__*/function () {
13131
13207
  var _ref3 = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee3(params, headers) {
13132
13208
  return runtime_1.wrap(function _callee3$(_context3) {
13133
13209
  while (1) {
@@ -13146,7 +13222,7 @@ var Api$2 = function Api(baseURL) {
13146
13222
  headers: _context3.t2,
13147
13223
  baseURL: _context3.t3
13148
13224
  };
13149
- return _context3.abrupt("return", _context3.t0.findNewBuildingsRequest.call(_context3.t0, _context3.t4));
13225
+ return _context3.abrupt("return", _context3.t0.findEventsRowRequest.call(_context3.t0, _context3.t4));
13150
13226
 
13151
13227
  case 8:
13152
13228
  case "end":
@@ -13161,7 +13237,7 @@ var Api$2 = function Api(baseURL) {
13161
13237
  };
13162
13238
  }();
13163
13239
 
13164
- this.findExternalLinks = /*#__PURE__*/function () {
13240
+ this.findNewBuildings = /*#__PURE__*/function () {
13165
13241
  var _ref4 = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee4(params, headers) {
13166
13242
  return runtime_1.wrap(function _callee4$(_context4) {
13167
13243
  while (1) {
@@ -13180,7 +13256,7 @@ var Api$2 = function Api(baseURL) {
13180
13256
  headers: _context4.t2,
13181
13257
  baseURL: _context4.t3
13182
13258
  };
13183
- return _context4.abrupt("return", _context4.t0.findExternalLinksRequest.call(_context4.t0, _context4.t4));
13259
+ return _context4.abrupt("return", _context4.t0.findNewBuildingsRequest.call(_context4.t0, _context4.t4));
13184
13260
 
13185
13261
  case 8:
13186
13262
  case "end":
@@ -13195,26 +13271,28 @@ var Api$2 = function Api(baseURL) {
13195
13271
  };
13196
13272
  }();
13197
13273
 
13198
- this.findHomeappStatisticRowByRealtyId = /*#__PURE__*/function () {
13199
- var _ref5 = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee5(urlParams) {
13274
+ this.findExternalLinks = /*#__PURE__*/function () {
13275
+ var _ref5 = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee5(params, headers) {
13200
13276
  return runtime_1.wrap(function _callee5$(_context5) {
13201
13277
  while (1) {
13202
13278
  switch (_context5.prev = _context5.next) {
13203
13279
  case 0:
13204
13280
  _context5.t0 = api$2;
13205
- _context5.t1 = urlParams;
13206
- _context5.next = 4;
13281
+ _context5.t1 = params;
13282
+ _context5.t2 = headers;
13283
+ _context5.next = 5;
13207
13284
  return _this.baseURL;
13208
13285
 
13209
- case 4:
13210
- _context5.t2 = _context5.sent;
13211
- _context5.t3 = {
13212
- urlParams: _context5.t1,
13213
- baseURL: _context5.t2
13286
+ case 5:
13287
+ _context5.t3 = _context5.sent;
13288
+ _context5.t4 = {
13289
+ params: _context5.t1,
13290
+ headers: _context5.t2,
13291
+ baseURL: _context5.t3
13214
13292
  };
13215
- return _context5.abrupt("return", _context5.t0.findHomeappStatisticRowByRealtyId.call(_context5.t0, _context5.t3));
13293
+ return _context5.abrupt("return", _context5.t0.findExternalLinksRequest.call(_context5.t0, _context5.t4));
13216
13294
 
13217
- case 7:
13295
+ case 8:
13218
13296
  case "end":
13219
13297
  return _context5.stop();
13220
13298
  }
@@ -13222,33 +13300,31 @@ var Api$2 = function Api(baseURL) {
13222
13300
  }, _callee5);
13223
13301
  }));
13224
13302
 
13225
- return function (_x9) {
13303
+ return function (_x9, _x10) {
13226
13304
  return _ref5.apply(this, arguments);
13227
13305
  };
13228
13306
  }();
13229
13307
 
13230
- this.findStatisticRow = /*#__PURE__*/function () {
13231
- var _ref6 = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee6(params, headers) {
13308
+ this.findHomeappStatisticRowByRealtyId = /*#__PURE__*/function () {
13309
+ var _ref6 = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee6(urlParams) {
13232
13310
  return runtime_1.wrap(function _callee6$(_context6) {
13233
13311
  while (1) {
13234
13312
  switch (_context6.prev = _context6.next) {
13235
13313
  case 0:
13236
13314
  _context6.t0 = api$2;
13237
- _context6.t1 = params;
13238
- _context6.t2 = headers;
13239
- _context6.next = 5;
13315
+ _context6.t1 = urlParams;
13316
+ _context6.next = 4;
13240
13317
  return _this.baseURL;
13241
13318
 
13242
- case 5:
13243
- _context6.t3 = _context6.sent;
13244
- _context6.t4 = {
13245
- params: _context6.t1,
13246
- headers: _context6.t2,
13247
- baseURL: _context6.t3
13319
+ case 4:
13320
+ _context6.t2 = _context6.sent;
13321
+ _context6.t3 = {
13322
+ urlParams: _context6.t1,
13323
+ baseURL: _context6.t2
13248
13324
  };
13249
- return _context6.abrupt("return", _context6.t0.findStatisticRowRequest.call(_context6.t0, _context6.t4));
13325
+ return _context6.abrupt("return", _context6.t0.findHomeappStatisticRowByRealtyId.call(_context6.t0, _context6.t3));
13250
13326
 
13251
- case 8:
13327
+ case 7:
13252
13328
  case "end":
13253
13329
  return _context6.stop();
13254
13330
  }
@@ -13256,12 +13332,12 @@ var Api$2 = function Api(baseURL) {
13256
13332
  }, _callee6);
13257
13333
  }));
13258
13334
 
13259
- return function (_x10, _x11) {
13335
+ return function (_x11) {
13260
13336
  return _ref6.apply(this, arguments);
13261
13337
  };
13262
13338
  }();
13263
13339
 
13264
- this.findActualEventsRow = /*#__PURE__*/function () {
13340
+ this.findStatisticRow = /*#__PURE__*/function () {
13265
13341
  var _ref7 = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee7(params, headers) {
13266
13342
  return runtime_1.wrap(function _callee7$(_context7) {
13267
13343
  while (1) {
@@ -13280,7 +13356,7 @@ var Api$2 = function Api(baseURL) {
13280
13356
  headers: _context7.t2,
13281
13357
  baseURL: _context7.t3
13282
13358
  };
13283
- return _context7.abrupt("return", _context7.t0.findActualEventsRowRequest.call(_context7.t0, _context7.t4));
13359
+ return _context7.abrupt("return", _context7.t0.findStatisticRowRequest.call(_context7.t0, _context7.t4));
13284
13360
 
13285
13361
  case 8:
13286
13362
  case "end":
@@ -13295,7 +13371,7 @@ var Api$2 = function Api(baseURL) {
13295
13371
  };
13296
13372
  }();
13297
13373
 
13298
- this.findPlannedEventsRow = /*#__PURE__*/function () {
13374
+ this.findActualEventsRow = /*#__PURE__*/function () {
13299
13375
  var _ref8 = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee8(params, headers) {
13300
13376
  return runtime_1.wrap(function _callee8$(_context8) {
13301
13377
  while (1) {
@@ -13314,7 +13390,7 @@ var Api$2 = function Api(baseURL) {
13314
13390
  headers: _context8.t2,
13315
13391
  baseURL: _context8.t3
13316
13392
  };
13317
- return _context8.abrupt("return", _context8.t0.findPlannedEventsRowRequest.call(_context8.t0, _context8.t4));
13393
+ return _context8.abrupt("return", _context8.t0.findActualEventsRowRequest.call(_context8.t0, _context8.t4));
13318
13394
 
13319
13395
  case 8:
13320
13396
  case "end":
@@ -13329,7 +13405,7 @@ var Api$2 = function Api(baseURL) {
13329
13405
  };
13330
13406
  }();
13331
13407
 
13332
- this.findScoring = /*#__PURE__*/function () {
13408
+ this.findPlannedEventsRow = /*#__PURE__*/function () {
13333
13409
  var _ref9 = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee9(params, headers) {
13334
13410
  return runtime_1.wrap(function _callee9$(_context9) {
13335
13411
  while (1) {
@@ -13348,7 +13424,7 @@ var Api$2 = function Api(baseURL) {
13348
13424
  headers: _context9.t2,
13349
13425
  baseURL: _context9.t3
13350
13426
  };
13351
- return _context9.abrupt("return", _context9.t0.findScoringRequest.call(_context9.t0, _context9.t4));
13427
+ return _context9.abrupt("return", _context9.t0.findPlannedEventsRowRequest.call(_context9.t0, _context9.t4));
13352
13428
 
13353
13429
  case 8:
13354
13430
  case "end":
@@ -13363,14 +13439,14 @@ var Api$2 = function Api(baseURL) {
13363
13439
  };
13364
13440
  }();
13365
13441
 
13366
- this.uploadResume = /*#__PURE__*/function () {
13367
- var _ref10 = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee10(body, headers) {
13442
+ this.findScoring = /*#__PURE__*/function () {
13443
+ var _ref10 = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee10(params, headers) {
13368
13444
  return runtime_1.wrap(function _callee10$(_context10) {
13369
13445
  while (1) {
13370
13446
  switch (_context10.prev = _context10.next) {
13371
13447
  case 0:
13372
13448
  _context10.t0 = api$2;
13373
- _context10.t1 = body;
13449
+ _context10.t1 = params;
13374
13450
  _context10.t2 = headers;
13375
13451
  _context10.next = 5;
13376
13452
  return _this.baseURL;
@@ -13378,11 +13454,11 @@ var Api$2 = function Api(baseURL) {
13378
13454
  case 5:
13379
13455
  _context10.t3 = _context10.sent;
13380
13456
  _context10.t4 = {
13381
- body: _context10.t1,
13457
+ params: _context10.t1,
13382
13458
  headers: _context10.t2,
13383
13459
  baseURL: _context10.t3
13384
13460
  };
13385
- return _context10.abrupt("return", _context10.t0.uploadResumeRequest.call(_context10.t0, _context10.t4));
13461
+ return _context10.abrupt("return", _context10.t0.findScoringRequest.call(_context10.t0, _context10.t4));
13386
13462
 
13387
13463
  case 8:
13388
13464
  case "end":
@@ -13396,12 +13472,83 @@ var Api$2 = function Api(baseURL) {
13396
13472
  return _ref10.apply(this, arguments);
13397
13473
  };
13398
13474
  }();
13475
+
13476
+ this.updateRealtyPublicId = /*#__PURE__*/function () {
13477
+ var _ref11 = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee11(urlParams, body, headers) {
13478
+ return runtime_1.wrap(function _callee11$(_context11) {
13479
+ while (1) {
13480
+ switch (_context11.prev = _context11.next) {
13481
+ case 0:
13482
+ _context11.t0 = api$2;
13483
+ _context11.t1 = urlParams;
13484
+ _context11.t2 = body;
13485
+ _context11.t3 = headers;
13486
+ _context11.next = 6;
13487
+ return _this.baseURL;
13488
+
13489
+ case 6:
13490
+ _context11.t4 = _context11.sent;
13491
+ _context11.t5 = {
13492
+ urlParams: _context11.t1,
13493
+ body: _context11.t2,
13494
+ headers: _context11.t3,
13495
+ baseURL: _context11.t4
13496
+ };
13497
+ return _context11.abrupt("return", _context11.t0.updateRealtyPublicIdRequest.call(_context11.t0, _context11.t5));
13498
+
13499
+ case 9:
13500
+ case "end":
13501
+ return _context11.stop();
13502
+ }
13503
+ }
13504
+ }, _callee11);
13505
+ }));
13506
+
13507
+ return function (_x20, _x21, _x22) {
13508
+ return _ref11.apply(this, arguments);
13509
+ };
13510
+ }();
13511
+
13512
+ this.uploadResume = /*#__PURE__*/function () {
13513
+ var _ref12 = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee12(body, headers) {
13514
+ return runtime_1.wrap(function _callee12$(_context12) {
13515
+ while (1) {
13516
+ switch (_context12.prev = _context12.next) {
13517
+ case 0:
13518
+ _context12.t0 = api$2;
13519
+ _context12.t1 = body;
13520
+ _context12.t2 = headers;
13521
+ _context12.next = 5;
13522
+ return _this.baseURL;
13523
+
13524
+ case 5:
13525
+ _context12.t3 = _context12.sent;
13526
+ _context12.t4 = {
13527
+ body: _context12.t1,
13528
+ headers: _context12.t2,
13529
+ baseURL: _context12.t3
13530
+ };
13531
+ return _context12.abrupt("return", _context12.t0.uploadResumeRequest.call(_context12.t0, _context12.t4));
13532
+
13533
+ case 8:
13534
+ case "end":
13535
+ return _context12.stop();
13536
+ }
13537
+ }
13538
+ }, _callee12);
13539
+ }));
13540
+
13541
+ return function (_x23, _x24) {
13542
+ return _ref12.apply(this, arguments);
13543
+ };
13544
+ }();
13399
13545
  };
13400
13546
 
13401
13547
  var index$2 = {
13402
13548
  __proto__: null,
13403
13549
  Api: Api$2,
13404
13550
  findActualEventsRowRequest: findActualEventsRowRequest,
13551
+ findEventsRowRequest: findEventsRowRequest,
13405
13552
  findExternalLinksRequest: findExternalLinksRequest,
13406
13553
  findHomeappStatisticRowByRealtyId: findHomeappStatisticRowByRealtyId,
13407
13554
  findNewBuildingsRequest: findNewBuildingsRequest,
@@ -13410,6 +13557,7 @@ var index$2 = {
13410
13557
  findStatisticRowRequest: findStatisticRowRequest,
13411
13558
  getFirstPublishedAtRequest: getFirstPublishedAtRequest,
13412
13559
  getPublishedDaysRequest: getPublishedDaysRequest,
13560
+ updateRealtyPublicIdRequest: updateRealtyPublicIdRequest,
13413
13561
  uploadResumeRequest: uploadResumeRequest,
13414
13562
  get ActualEventsRowSource () { return ActualEventsRowSource; },
13415
13563
  get PlannedEventsRowSite () { return PlannedEventsRowSite; },
@@ -14587,5 +14735,81 @@ var index$4 = {
14587
14735
  get RealtyRenovationType () { return RealtyRenovationType$3; }
14588
14736
  };
14589
14737
 
14590
- export { index as Clients, index$1 as ClientsV2, index$2 as Publisher, index$3 as Registry, index$4 as Search };
14738
+ function findCallTransferByExpertIdRequest(_ref) {
14739
+ var _ref$baseURL = _ref.baseURL,
14740
+ baseURL = _ref$baseURL === void 0 ? 'https://analytics.homeapp.team:9090' : _ref$baseURL,
14741
+ urlParams = _ref.urlParams;
14742
+ return axios.get("?curator_id=" + urlParams.expertId, {
14743
+ baseURL: baseURL,
14744
+ headers: {
14745
+ Accept: 'application/json',
14746
+ 'Content-Type': 'application/json'
14747
+ },
14748
+ transformResponse: [].concat(axios.defaults.transformResponse, [function (data) {
14749
+ if (isNil(data == null ? void 0 : data.id)) {
14750
+ throw {
14751
+ response: data
14752
+ };
14753
+ }
14754
+
14755
+ return {
14756
+ id: String(data == null ? void 0 : data.id)
14757
+ };
14758
+ }])
14759
+ }).then(function (res) {
14760
+ return res;
14761
+ })["catch"](function (err) {
14762
+ throw err;
14763
+ });
14764
+ }
14765
+
14766
+ var api$5 = {
14767
+ __proto__: null,
14768
+ findCallTransferByExpertIdRequest: findCallTransferByExpertIdRequest
14769
+ };
14770
+
14771
+ var Api$5 = function Api(baseURL) {
14772
+ var _this = this;
14773
+
14774
+ this.baseURL = baseURL;
14775
+
14776
+ this.findCallTransferByExpertId = /*#__PURE__*/function () {
14777
+ var _ref = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee(urlParams) {
14778
+ return runtime_1.wrap(function _callee$(_context) {
14779
+ while (1) {
14780
+ switch (_context.prev = _context.next) {
14781
+ case 0:
14782
+ _context.t0 = api$5;
14783
+ _context.next = 3;
14784
+ return _this.baseURL;
14785
+
14786
+ case 3:
14787
+ _context.t1 = _context.sent;
14788
+ _context.t2 = urlParams;
14789
+ _context.t3 = {
14790
+ baseURL: _context.t1,
14791
+ urlParams: _context.t2
14792
+ };
14793
+ return _context.abrupt("return", _context.t0.findCallTransferByExpertIdRequest.call(_context.t0, _context.t3));
14794
+
14795
+ case 7:
14796
+ case "end":
14797
+ return _context.stop();
14798
+ }
14799
+ }
14800
+ }, _callee);
14801
+ }));
14802
+
14803
+ return function (_x) {
14804
+ return _ref.apply(this, arguments);
14805
+ };
14806
+ }();
14807
+ };
14808
+
14809
+ var index$5 = {
14810
+ __proto__: null,
14811
+ Api: Api$5
14812
+ };
14813
+
14814
+ export { index as Clients, index$1 as ClientsV2, index$5 as External, index$2 as Publisher, index$3 as Registry, index$4 as Search };
14591
14815
  //# sourceMappingURL=api-queries.esm.js.map