@hapl/api-queries 0.2.55 → 0.2.57

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.
@@ -19368,6 +19368,45 @@ function findCallTransferByExpertIdRequest(_ref) {
19368
19368
  });
19369
19369
  }
19370
19370
 
19371
+ // документация https://developers.icons8.com/docs/icons#get-publicApi-icons-icon
19372
+ function findIconByIdRequest(_ref) {
19373
+ var params = _ref.params;
19374
+ return axios.get('https://api-icons.icons8.com/publicApi/icons/icon', {
19375
+ params: params,
19376
+ paramsSerializer: function paramsSerializer(params) {
19377
+ return qs.stringify(params, {
19378
+ arrayFormat: 'comma'
19379
+ });
19380
+ }
19381
+ });
19382
+ }
19383
+
19384
+ // документация https://developers.icons8.com/docs/icons#get-publicApi-platforms
19385
+ function findIconPlatformsRequest(_ref) {
19386
+ var params = _ref.params;
19387
+ return axios.get('https://api-icons.icons8.com/publicApi/platforms', {
19388
+ params: params,
19389
+ paramsSerializer: function paramsSerializer(params) {
19390
+ return qs.stringify(params, {
19391
+ arrayFormat: 'comma'
19392
+ });
19393
+ }
19394
+ });
19395
+ }
19396
+
19397
+ // документация https://developers.icons8.com/docs/searchIcons#get-api-iconsets-v5-search
19398
+ function searchIconsRequest(_ref) {
19399
+ var params = _ref.params;
19400
+ return axios.get('https://search.icons8.com/api/iconsets/v5/search', {
19401
+ params: params,
19402
+ paramsSerializer: function paramsSerializer(params) {
19403
+ return qs.stringify(params, {
19404
+ arrayFormat: 'comma'
19405
+ });
19406
+ }
19407
+ });
19408
+ }
19409
+
19371
19410
  // документация https://yandex.ru/dev/geosuggest/doc/ru/
19372
19411
  function findYandexSuggestionsRequest(_ref) {
19373
19412
  var params = _ref.params;
@@ -19402,6 +19441,24 @@ var Api$5 = function Api() {
19402
19441
  });
19403
19442
  };
19404
19443
 
19444
+ this.findIconById = function (params) {
19445
+ return findIconByIdRequest({
19446
+ params: params
19447
+ });
19448
+ };
19449
+
19450
+ this.findIconPlatforms = function (params) {
19451
+ return findIconPlatformsRequest({
19452
+ params: params
19453
+ });
19454
+ };
19455
+
19456
+ this.searchIcons = function (params) {
19457
+ return searchIconsRequest({
19458
+ params: params
19459
+ });
19460
+ };
19461
+
19405
19462
  this.findYandexSuggestions = function (params) {
19406
19463
  return findYandexSuggestionsRequest({
19407
19464
  params: params
@@ -19419,6 +19476,9 @@ var index$5 = {
19419
19476
  __proto__: null,
19420
19477
  Api: Api$5,
19421
19478
  findCallTransferByExpertIdRequest: findCallTransferByExpertIdRequest,
19479
+ findIconByIdRequest: findIconByIdRequest,
19480
+ findIconPlatformsRequest: findIconPlatformsRequest,
19481
+ searchIconsRequest: searchIconsRequest,
19422
19482
  findYandexSuggestionsRequest: findYandexSuggestionsRequest,
19423
19483
  yandexGeocodeRequest: yandexGeocodeRequest
19424
19484
  };