@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
|
@@ -92,7 +92,7 @@ export declare class ExternalProvidersService extends Service {
|
|
|
92
92
|
* @request GET:/account/external/bind/vk
|
|
93
93
|
* @response `200` Success
|
|
94
94
|
*/
|
|
95
|
-
bindVk():
|
|
95
|
+
bindVk(): string;
|
|
96
96
|
/**
|
|
97
97
|
* No description
|
|
98
98
|
*
|
|
@@ -103,7 +103,7 @@ export declare class ExternalProvidersService extends Service {
|
|
|
103
103
|
* @request GET:/account/external/bind/google
|
|
104
104
|
* @response `200` Success
|
|
105
105
|
*/
|
|
106
|
-
bindGoogle():
|
|
106
|
+
bindGoogle(): string;
|
|
107
107
|
/**
|
|
108
108
|
* No description
|
|
109
109
|
*
|
|
@@ -114,7 +114,7 @@ export declare class ExternalProvidersService extends Service {
|
|
|
114
114
|
* @request GET:/account/external/bind/facebook
|
|
115
115
|
* @response `200` Success
|
|
116
116
|
*/
|
|
117
|
-
bindFacebook():
|
|
117
|
+
bindFacebook(): string;
|
|
118
118
|
/**
|
|
119
119
|
* No description
|
|
120
120
|
*
|
|
@@ -5280,7 +5280,7 @@ let ExternalProvidersService = /*#__PURE__*/function (_Service) {
|
|
|
5280
5280
|
}, {
|
|
5281
5281
|
key: "bindVk",
|
|
5282
5282
|
value: function bindVk() {
|
|
5283
|
-
return this.http.
|
|
5283
|
+
return this.http.createUrl("/account/external/bind/vk");
|
|
5284
5284
|
}
|
|
5285
5285
|
/**
|
|
5286
5286
|
* No description
|
|
@@ -5296,7 +5296,7 @@ let ExternalProvidersService = /*#__PURE__*/function (_Service) {
|
|
|
5296
5296
|
}, {
|
|
5297
5297
|
key: "bindGoogle",
|
|
5298
5298
|
value: function bindGoogle() {
|
|
5299
|
-
return this.http.
|
|
5299
|
+
return this.http.createUrl("/account/external/bind/google");
|
|
5300
5300
|
}
|
|
5301
5301
|
/**
|
|
5302
5302
|
* No description
|
|
@@ -5312,7 +5312,7 @@ let ExternalProvidersService = /*#__PURE__*/function (_Service) {
|
|
|
5312
5312
|
}, {
|
|
5313
5313
|
key: "bindFacebook",
|
|
5314
5314
|
value: function bindFacebook() {
|
|
5315
|
-
return this.http.
|
|
5315
|
+
return this.http.createUrl("/account/external/bind/facebook");
|
|
5316
5316
|
}
|
|
5317
5317
|
/**
|
|
5318
5318
|
* No description
|
|
@@ -5364,9 +5364,21 @@ let External = /*#__PURE__*/function (_ExternalProvidersSer) {
|
|
|
5364
5364
|
}
|
|
5365
5365
|
}
|
|
5366
5366
|
}, {
|
|
5367
|
-
key: "
|
|
5368
|
-
value: function
|
|
5369
|
-
|
|
5367
|
+
key: "bind",
|
|
5368
|
+
value: function bind(network) {
|
|
5369
|
+
switch (network) {
|
|
5370
|
+
case 'vk':
|
|
5371
|
+
return this.bindVk();
|
|
5372
|
+
|
|
5373
|
+
case 'google':
|
|
5374
|
+
return this.bindGoogle();
|
|
5375
|
+
|
|
5376
|
+
case 'facebook':
|
|
5377
|
+
return this.bindFacebook();
|
|
5378
|
+
|
|
5379
|
+
default:
|
|
5380
|
+
return '';
|
|
5381
|
+
}
|
|
5370
5382
|
}
|
|
5371
5383
|
}, {
|
|
5372
5384
|
key: "unbind",
|