@evergis/api 4.1.22 → 4.1.24
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/__generated__/ExternalProvidersService.d.ts +2 -2
- package/dist/api.esm.js +3 -3
- package/dist/api.esm.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/services/External.d.ts +2 -2
- package/dist/services/PortalSettings.d.ts +1 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -959,7 +959,7 @@ class ExternalProvidersService extends Service {
|
|
|
959
959
|
* @response `200` OK
|
|
960
960
|
*/
|
|
961
961
|
yandexLogin() {
|
|
962
|
-
return this.http.
|
|
962
|
+
return this.http.createUrl(`/account/external/login/yandex`);
|
|
963
963
|
}
|
|
964
964
|
/**
|
|
965
965
|
* No description
|
|
@@ -1085,7 +1085,7 @@ class ExternalProvidersService extends Service {
|
|
|
1085
1085
|
* @response `200` OK
|
|
1086
1086
|
*/
|
|
1087
1087
|
bindYandex() {
|
|
1088
|
-
return this.http.
|
|
1088
|
+
return this.http.createUrl(`/account/external/bind/yandex`);
|
|
1089
1089
|
}
|
|
1090
1090
|
/**
|
|
1091
1091
|
* No description
|
|
@@ -3009,7 +3009,7 @@ class Api extends EventEmitter {
|
|
|
3009
3009
|
}
|
|
3010
3010
|
}
|
|
3011
3011
|
isAcceptedNetwork(network) {
|
|
3012
|
-
return ["vk", "google", "facebook"].includes(network);
|
|
3012
|
+
return ["vk", "google", "facebook", "yandex"].includes(network);
|
|
3013
3013
|
}
|
|
3014
3014
|
async socAuthLogin(network) {
|
|
3015
3015
|
if (!this.isAcceptedNetwork(network))
|