@hapl/api-queries 0.2.74 → 0.2.75

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.
@@ -20412,6 +20412,17 @@ function findCallTransferByExpertIdRequest(_ref) {
20412
20412
  });
20413
20413
  }
20414
20414
 
20415
+ function findDadataSuggestionsRequest(_ref) {
20416
+ var body = _ref.body,
20417
+ headers = _ref.headers;
20418
+ return axios.post('https://suggestions.dadata.ru/suggestions/api/4_1/rs/suggest/address', body, {
20419
+ headers: _extends({
20420
+ Accept: 'application/json',
20421
+ 'Content-Type': 'application/json'
20422
+ }, headers)
20423
+ });
20424
+ }
20425
+
20415
20426
  // документация https://developers.icons8.com/docs/icons#get-publicApi-icons-icon
20416
20427
  function findIconByIdRequest(_ref) {
20417
20428
  var params = _ref.params;
@@ -20485,6 +20496,13 @@ var Api$5 = function Api() {
20485
20496
  });
20486
20497
  };
20487
20498
 
20499
+ this.findDadataSuggestions = function (body, headers) {
20500
+ return findDadataSuggestionsRequest({
20501
+ body: body,
20502
+ headers: headers
20503
+ });
20504
+ };
20505
+
20488
20506
  this.findIconById = function (params) {
20489
20507
  return findIconByIdRequest({
20490
20508
  params: params
@@ -20520,6 +20538,7 @@ var index$5 = {
20520
20538
  __proto__: null,
20521
20539
  Api: Api$5,
20522
20540
  findCallTransferByExpertIdRequest: findCallTransferByExpertIdRequest,
20541
+ findDadataSuggestionsRequest: findDadataSuggestionsRequest,
20523
20542
  findIconByIdRequest: findIconByIdRequest,
20524
20543
  findIconPlatformsRequest: findIconPlatformsRequest,
20525
20544
  searchIconsRequest: searchIconsRequest,