@hapl/api-queries 0.2.82 → 0.2.83
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.
- package/dist/api-queries.cjs.development.js +0 -60
- package/dist/api-queries.cjs.development.js.map +1 -1
- package/dist/api-queries.cjs.production.min.js +1 -1
- package/dist/api-queries.cjs.production.min.js.map +1 -1
- package/dist/api-queries.esm.js +0 -60
- package/dist/api-queries.esm.js.map +1 -1
- package/dist/external/api/index.d.ts +0 -3
- package/dist/external/index.d.ts +0 -67
- package/package.json +1 -1
- package/src/external/api/index.ts +0 -4
- package/src/external/index.ts +0 -12
- package/dist/external/api/icons/findIconById.d.ts +0 -33
- package/dist/external/api/icons/findIconPlatforms.d.ts +0 -29
- package/dist/external/api/icons/searchIcons.d.ts +0 -54
- package/src/external/api/icons/findIconById.ts +0 -41
- package/src/external/api/icons/findIconPlatforms.ts +0 -37
- package/src/external/api/icons/searchIcons.ts +0 -64
package/dist/api-queries.esm.js
CHANGED
|
@@ -20685,45 +20685,6 @@ function findDadataSuggestionsRequest(_ref) {
|
|
|
20685
20685
|
});
|
|
20686
20686
|
}
|
|
20687
20687
|
|
|
20688
|
-
// документация https://developers.icons8.com/docs/icons#get-publicApi-icons-icon
|
|
20689
|
-
function findIconByIdRequest(_ref) {
|
|
20690
|
-
var params = _ref.params;
|
|
20691
|
-
return axios.get('https://api-icons.icons8.com/publicApi/icons/icon', {
|
|
20692
|
-
params: params,
|
|
20693
|
-
paramsSerializer: function paramsSerializer(params) {
|
|
20694
|
-
return qs.stringify(params, {
|
|
20695
|
-
arrayFormat: 'comma'
|
|
20696
|
-
});
|
|
20697
|
-
}
|
|
20698
|
-
});
|
|
20699
|
-
}
|
|
20700
|
-
|
|
20701
|
-
// документация https://developers.icons8.com/docs/icons#get-publicApi-platforms
|
|
20702
|
-
function findIconPlatformsRequest(_ref) {
|
|
20703
|
-
var params = _ref.params;
|
|
20704
|
-
return axios.get('https://api-icons.icons8.com/publicApi/platforms', {
|
|
20705
|
-
params: params,
|
|
20706
|
-
paramsSerializer: function paramsSerializer(params) {
|
|
20707
|
-
return qs.stringify(params, {
|
|
20708
|
-
arrayFormat: 'comma'
|
|
20709
|
-
});
|
|
20710
|
-
}
|
|
20711
|
-
});
|
|
20712
|
-
}
|
|
20713
|
-
|
|
20714
|
-
// документация https://developers.icons8.com/docs/searchIcons#get-api-iconsets-v5-search
|
|
20715
|
-
function searchIconsRequest(_ref) {
|
|
20716
|
-
var params = _ref.params;
|
|
20717
|
-
return axios.get('https://search.icons8.com/api/iconsets/v5/search', {
|
|
20718
|
-
params: params,
|
|
20719
|
-
paramsSerializer: function paramsSerializer(params) {
|
|
20720
|
-
return qs.stringify(params, {
|
|
20721
|
-
arrayFormat: 'comma'
|
|
20722
|
-
});
|
|
20723
|
-
}
|
|
20724
|
-
});
|
|
20725
|
-
}
|
|
20726
|
-
|
|
20727
20688
|
// документация https://yandex.ru/dev/geosuggest/doc/ru/
|
|
20728
20689
|
function findYandexSuggestionsRequest(_ref) {
|
|
20729
20690
|
var params = _ref.params;
|
|
@@ -20765,24 +20726,6 @@ var Api$5 = function Api() {
|
|
|
20765
20726
|
});
|
|
20766
20727
|
};
|
|
20767
20728
|
|
|
20768
|
-
this.findIconById = function (params) {
|
|
20769
|
-
return findIconByIdRequest({
|
|
20770
|
-
params: params
|
|
20771
|
-
});
|
|
20772
|
-
};
|
|
20773
|
-
|
|
20774
|
-
this.findIconPlatforms = function (params) {
|
|
20775
|
-
return findIconPlatformsRequest({
|
|
20776
|
-
params: params
|
|
20777
|
-
});
|
|
20778
|
-
};
|
|
20779
|
-
|
|
20780
|
-
this.searchIcons = function (params) {
|
|
20781
|
-
return searchIconsRequest({
|
|
20782
|
-
params: params
|
|
20783
|
-
});
|
|
20784
|
-
};
|
|
20785
|
-
|
|
20786
20729
|
this.findYandexSuggestions = function (params) {
|
|
20787
20730
|
return findYandexSuggestionsRequest({
|
|
20788
20731
|
params: params
|
|
@@ -20801,9 +20744,6 @@ var index$5 = {
|
|
|
20801
20744
|
Api: Api$5,
|
|
20802
20745
|
findCallTransferByExpertIdRequest: findCallTransferByExpertIdRequest,
|
|
20803
20746
|
findDadataSuggestionsRequest: findDadataSuggestionsRequest,
|
|
20804
|
-
findIconByIdRequest: findIconByIdRequest,
|
|
20805
|
-
findIconPlatformsRequest: findIconPlatformsRequest,
|
|
20806
|
-
searchIconsRequest: searchIconsRequest,
|
|
20807
20747
|
findYandexSuggestionsRequest: findYandexSuggestionsRequest,
|
|
20808
20748
|
yandexGeocodeRequest: yandexGeocodeRequest
|
|
20809
20749
|
};
|