@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.
@@ -20418,6 +20418,17 @@ function findCallTransferByExpertIdRequest(_ref) {
20418
20418
  });
20419
20419
  }
20420
20420
 
20421
+ function findDadataSuggestionsRequest(_ref) {
20422
+ var body = _ref.body,
20423
+ headers = _ref.headers;
20424
+ return axios.post('https://suggestions.dadata.ru/suggestions/api/4_1/rs/suggest/address', body, {
20425
+ headers: _extends({
20426
+ Accept: 'application/json',
20427
+ 'Content-Type': 'application/json'
20428
+ }, headers)
20429
+ });
20430
+ }
20431
+
20421
20432
  // документация https://developers.icons8.com/docs/icons#get-publicApi-icons-icon
20422
20433
  function findIconByIdRequest(_ref) {
20423
20434
  var params = _ref.params;
@@ -20491,6 +20502,13 @@ var Api$5 = function Api() {
20491
20502
  });
20492
20503
  };
20493
20504
 
20505
+ this.findDadataSuggestions = function (body, headers) {
20506
+ return findDadataSuggestionsRequest({
20507
+ body: body,
20508
+ headers: headers
20509
+ });
20510
+ };
20511
+
20494
20512
  this.findIconById = function (params) {
20495
20513
  return findIconByIdRequest({
20496
20514
  params: params
@@ -20526,6 +20544,7 @@ var index$5 = {
20526
20544
  __proto__: null,
20527
20545
  Api: Api$5,
20528
20546
  findCallTransferByExpertIdRequest: findCallTransferByExpertIdRequest,
20547
+ findDadataSuggestionsRequest: findDadataSuggestionsRequest,
20529
20548
  findIconByIdRequest: findIconByIdRequest,
20530
20549
  findIconPlatformsRequest: findIconPlatformsRequest,
20531
20550
  searchIconsRequest: searchIconsRequest,