@evergis/api 3.0.39 → 3.0.40
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 +3 -3
- package/dist/api.cjs.development.js +18 -6
- package/dist/api.cjs.development.js.map +1 -1
- package/dist/api.cjs.production.min.js +1 -1
- package/dist/api.cjs.production.min.js.map +1 -1
- package/dist/api.esm.js +18 -6
- package/dist/api.esm.js.map +1 -1
- package/dist/services/External.d.ts +1 -1
- package/package.json +1 -1
package/dist/api.esm.js
CHANGED
|
@@ -5278,7 +5278,7 @@ let ExternalProvidersService = /*#__PURE__*/function (_Service) {
|
|
|
5278
5278
|
}, {
|
|
5279
5279
|
key: "bindVk",
|
|
5280
5280
|
value: function bindVk() {
|
|
5281
|
-
return this.http.
|
|
5281
|
+
return this.http.createUrl("/account/external/bind/vk");
|
|
5282
5282
|
}
|
|
5283
5283
|
/**
|
|
5284
5284
|
* No description
|
|
@@ -5294,7 +5294,7 @@ let ExternalProvidersService = /*#__PURE__*/function (_Service) {
|
|
|
5294
5294
|
}, {
|
|
5295
5295
|
key: "bindGoogle",
|
|
5296
5296
|
value: function bindGoogle() {
|
|
5297
|
-
return this.http.
|
|
5297
|
+
return this.http.createUrl("/account/external/bind/google");
|
|
5298
5298
|
}
|
|
5299
5299
|
/**
|
|
5300
5300
|
* No description
|
|
@@ -5310,7 +5310,7 @@ let ExternalProvidersService = /*#__PURE__*/function (_Service) {
|
|
|
5310
5310
|
}, {
|
|
5311
5311
|
key: "bindFacebook",
|
|
5312
5312
|
value: function bindFacebook() {
|
|
5313
|
-
return this.http.
|
|
5313
|
+
return this.http.createUrl("/account/external/bind/facebook");
|
|
5314
5314
|
}
|
|
5315
5315
|
/**
|
|
5316
5316
|
* No description
|
|
@@ -5362,9 +5362,21 @@ let External = /*#__PURE__*/function (_ExternalProvidersSer) {
|
|
|
5362
5362
|
}
|
|
5363
5363
|
}
|
|
5364
5364
|
}, {
|
|
5365
|
-
key: "
|
|
5366
|
-
value: function
|
|
5367
|
-
|
|
5365
|
+
key: "bind",
|
|
5366
|
+
value: function bind(network) {
|
|
5367
|
+
switch (network) {
|
|
5368
|
+
case 'vk':
|
|
5369
|
+
return this.bindVk();
|
|
5370
|
+
|
|
5371
|
+
case 'google':
|
|
5372
|
+
return this.bindGoogle();
|
|
5373
|
+
|
|
5374
|
+
case 'facebook':
|
|
5375
|
+
return this.bindFacebook();
|
|
5376
|
+
|
|
5377
|
+
default:
|
|
5378
|
+
return '';
|
|
5379
|
+
}
|
|
5368
5380
|
}
|
|
5369
5381
|
}, {
|
|
5370
5382
|
key: "unbind",
|