@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.
@@ -19374,6 +19374,45 @@ function findCallTransferByExpertIdRequest(_ref) {
19374
19374
  });
19375
19375
  }
19376
19376
 
19377
+ // документация https://developers.icons8.com/docs/icons#get-publicApi-icons-icon
19378
+ function findIconByIdRequest(_ref) {
19379
+ var params = _ref.params;
19380
+ return axios.get('https://api-icons.icons8.com/publicApi/icons/icon', {
19381
+ params: params,
19382
+ paramsSerializer: function paramsSerializer(params) {
19383
+ return qs.stringify(params, {
19384
+ arrayFormat: 'comma'
19385
+ });
19386
+ }
19387
+ });
19388
+ }
19389
+
19390
+ // документация https://developers.icons8.com/docs/icons#get-publicApi-platforms
19391
+ function findIconPlatformsRequest(_ref) {
19392
+ var params = _ref.params;
19393
+ return axios.get('https://api-icons.icons8.com/publicApi/platforms', {
19394
+ params: params,
19395
+ paramsSerializer: function paramsSerializer(params) {
19396
+ return qs.stringify(params, {
19397
+ arrayFormat: 'comma'
19398
+ });
19399
+ }
19400
+ });
19401
+ }
19402
+
19403
+ // документация https://developers.icons8.com/docs/searchIcons#get-api-iconsets-v5-search
19404
+ function searchIconsRequest(_ref) {
19405
+ var params = _ref.params;
19406
+ return axios.get('https://search.icons8.com/api/iconsets/v5/search', {
19407
+ params: params,
19408
+ paramsSerializer: function paramsSerializer(params) {
19409
+ return qs.stringify(params, {
19410
+ arrayFormat: 'comma'
19411
+ });
19412
+ }
19413
+ });
19414
+ }
19415
+
19377
19416
  // документация https://yandex.ru/dev/geosuggest/doc/ru/
19378
19417
  function findYandexSuggestionsRequest(_ref) {
19379
19418
  var params = _ref.params;
@@ -19408,6 +19447,24 @@ var Api$5 = function Api() {
19408
19447
  });
19409
19448
  };
19410
19449
 
19450
+ this.findIconById = function (params) {
19451
+ return findIconByIdRequest({
19452
+ params: params
19453
+ });
19454
+ };
19455
+
19456
+ this.findIconPlatforms = function (params) {
19457
+ return findIconPlatformsRequest({
19458
+ params: params
19459
+ });
19460
+ };
19461
+
19462
+ this.searchIcons = function (params) {
19463
+ return searchIconsRequest({
19464
+ params: params
19465
+ });
19466
+ };
19467
+
19411
19468
  this.findYandexSuggestions = function (params) {
19412
19469
  return findYandexSuggestionsRequest({
19413
19470
  params: params
@@ -19425,6 +19482,9 @@ var index$5 = {
19425
19482
  __proto__: null,
19426
19483
  Api: Api$5,
19427
19484
  findCallTransferByExpertIdRequest: findCallTransferByExpertIdRequest,
19485
+ findIconByIdRequest: findIconByIdRequest,
19486
+ findIconPlatformsRequest: findIconPlatformsRequest,
19487
+ searchIconsRequest: searchIconsRequest,
19428
19488
  findYandexSuggestionsRequest: findYandexSuggestionsRequest,
19429
19489
  yandexGeocodeRequest: yandexGeocodeRequest
19430
19490
  };