@evergis/api 3.0.38 → 3.0.42

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.
Files changed (32) hide show
  1. package/dist/__generated__/AccountPreviewService.d.ts +1 -1
  2. package/dist/__generated__/AccountService.d.ts +13 -2
  3. package/dist/__generated__/AutosharedListService.d.ts +1 -1
  4. package/dist/__generated__/ClientSettingsService.d.ts +1 -1
  5. package/dist/__generated__/ExternalProvidersService.d.ts +5 -5
  6. package/dist/__generated__/FavoritesService.d.ts +1 -1
  7. package/dist/__generated__/FeedbackService.d.ts +1 -1
  8. package/dist/__generated__/GeneralService.d.ts +1 -1
  9. package/dist/__generated__/GeocodeService.d.ts +1 -1
  10. package/dist/__generated__/ImportService.d.ts +1 -1
  11. package/dist/__generated__/LayersService.d.ts +1 -1
  12. package/dist/__generated__/NamespaceService.d.ts +1 -1
  13. package/dist/__generated__/NotificationService.d.ts +1 -1
  14. package/dist/__generated__/PrintService.d.ts +1 -1
  15. package/dist/__generated__/ProjectsService.d.ts +1 -1
  16. package/dist/__generated__/ResourceCatalogService.d.ts +1 -1
  17. package/dist/__generated__/SchedulerService.d.ts +1 -1
  18. package/dist/__generated__/ScriptsService.d.ts +1 -1
  19. package/dist/__generated__/SecurityService.d.ts +1 -1
  20. package/dist/__generated__/StaticContentService.d.ts +1 -1
  21. package/dist/__generated__/StyleService.d.ts +1 -1
  22. package/dist/__generated__/TablesService.d.ts +1 -1
  23. package/dist/__generated__/ToolsService.d.ts +1 -1
  24. package/dist/__generated__/data-contracts.d.ts +47 -0
  25. package/dist/api.cjs.development.js +55 -27
  26. package/dist/api.cjs.development.js.map +1 -1
  27. package/dist/api.cjs.production.min.js +1 -1
  28. package/dist/api.cjs.production.min.js.map +1 -1
  29. package/dist/api.esm.js +55 -27
  30. package/dist/api.esm.js.map +1 -1
  31. package/dist/services/External.d.ts +1 -1
  32. package/package.json +4 -3
@@ -2,7 +2,7 @@ import { FileUploadResponse, UploadPreviewPayload } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
5
- * @version v0.5.1.2
5
+ * @version v0.6.0
6
6
  * @baseUrl /sp
7
7
  */
8
8
  export declare class AccountPreviewService extends Service {
@@ -1,8 +1,8 @@
1
- import { ChangeEmailParams, ChangePasswordPayload, ConfirmChangeEmailParams, ConfirmEmail1Params, CreateRoleDc, CreateUserDc, CreateUserParams, ExtendedUserInfoDc, GetRolesParams, GetUsersParams, IsEmailExistsParams, IsUsernameExistsParams, ListResponseString, ListResponseUserInfoDc, LoginDc, RegisterUserDc, ResetPasswordCallbackPayload, ResetPasswordParams, SetEmailPayload, SetUserPasswordPayload, UpdateRoleDc, UpdateUserDc, UsedProjectDc, UserInfoDc } from './data-contracts';
1
+ import { ChangeEmailParams, ChangePasswordPayload, ConfirmChangeEmailParams, ConfirmEmail1Params, CreateRoleDc, CreateUserDc, CreateUserParams, ExtendedUserInfoDc, GetExtendedUsersParams, GetRolesParams, GetUsersParams, IsEmailExistsParams, IsUsernameExistsParams, ListResponseExtendedUserInfoDc, ListResponseString, ListResponseUserInfoDc, LoginDc, RegisterUserDc, ResetPasswordCallbackPayload, ResetPasswordParams, SetEmailPayload, SetUserPasswordPayload, UpdateRoleDc, UpdateUserDc, UsedProjectDc, UserInfoDc } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
5
- * @version v0.5.1.2
5
+ * @version v0.6.0
6
6
  * @baseUrl /sp
7
7
  */
8
8
  export declare class AccountService extends Service {
@@ -17,6 +17,17 @@ export declare class AccountService extends Service {
17
17
  * @response `200` Success
18
18
  */
19
19
  getUsers(query: GetUsersParams): Promise<ListResponseUserInfoDc>;
20
+ /**
21
+ * No description
22
+ *
23
+ * @tags Account
24
+ * @name GetExtendedUsers
25
+ * @operationId AccountController_GetExtendedUsers
26
+ * @summary Returns the list of extended users informations that correspond to the given conditions.
27
+ * @request GET:/account/user/extendedlist
28
+ * @response `200` Success
29
+ */
30
+ getExtendedUsers(query: GetExtendedUsersParams): Promise<ListResponseExtendedUserInfoDc>;
20
31
  /**
21
32
  * No description
22
33
  *
@@ -2,7 +2,7 @@ import { AutoshareListDc, IsAutoshareListExistsParams, RemoveAutosharedListParam
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
5
- * @version v0.5.1.2
5
+ * @version v0.6.0
6
6
  * @baseUrl /sp
7
7
  */
8
8
  export declare class AutosharedListService extends Service {
@@ -2,7 +2,7 @@ import { ConfigInfo, CreateConfigDc, CreateValueDc, CreateVariableDc, GetConfig1
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
5
- * @version v0.5.1.2
5
+ * @version v0.6.0
6
6
  * @baseUrl /sp
7
7
  */
8
8
  export declare class ClientSettingsService extends Service {
@@ -1,7 +1,7 @@
1
1
  import { Service } from './Service';
2
2
  /**
3
3
  * @title Spatial Processing Core API
4
- * @version v0.5.1.2
4
+ * @version v0.6.0
5
5
  * @baseUrl /sp
6
6
  */
7
7
  export declare class ExternalProvidersService extends Service {
@@ -48,7 +48,7 @@ export declare class ExternalProvidersService extends Service {
48
48
  * @request GET:/account/external/login/callback
49
49
  * @response `200` Success
50
50
  */
51
- loginCallback(): Promise<string>;
51
+ loginCallback(): Promise<void>;
52
52
  /**
53
53
  * No description
54
54
  *
@@ -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(): Promise<void>;
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(): Promise<void>;
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(): Promise<void>;
117
+ bindFacebook(): string;
118
118
  /**
119
119
  * No description
120
120
  *
@@ -2,7 +2,7 @@ import { AddFavoritesPayload, RemoveFavoritesParams, ResourceTypeLink } from './
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
5
- * @version v0.5.1.2
5
+ * @version v0.6.0
6
6
  * @baseUrl /sp
7
7
  */
8
8
  export declare class FavoritesService extends Service {
@@ -2,7 +2,7 @@ import { IncreaseResourcesLimitParams, MoreSymbolsParams } from './data-contract
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
5
- * @version v0.5.1.2
5
+ * @version v0.6.0
6
6
  * @baseUrl /sp
7
7
  */
8
8
  export declare class FeedbackService extends Service {
@@ -2,7 +2,7 @@ import { FunctionInfoDc, ServerInfoDc } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
5
- * @version v0.5.1.2
5
+ * @version v0.6.0
6
6
  * @baseUrl /sp
7
7
  */
8
8
  export declare class GeneralService extends Service {
@@ -2,7 +2,7 @@ import { GeocodeByPointParams, GeocodeParams, GeocodeResultDc, GeocodeSuggestRes
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
5
- * @version v0.5.1.2
5
+ * @version v0.6.0
6
6
  * @baseUrl /sp
7
7
  */
8
8
  export declare class GeocodeService extends Service {
@@ -2,7 +2,7 @@ import { GetCsvDataSchemaParams, GetDataSchemaParams, GetExcelDataSchemaParams,
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
5
- * @version v0.5.1.2
5
+ * @version v0.6.0
6
6
  * @baseUrl /sp
7
7
  */
8
8
  export declare class ImportService extends Service {
@@ -2,7 +2,7 @@ import { AccessControlListDc, AggregateAttributeParams, AggregationDataResultDc,
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
5
- * @version v0.5.1.2
5
+ * @version v0.6.0
6
6
  * @baseUrl /sp
7
7
  */
8
8
  export declare class LayersService extends Service {
@@ -2,7 +2,7 @@ import { CreateNamespaceParams, GetNamespacesParams, ListResponseNamespaceInfoDc
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
5
- * @version v0.5.1.2
5
+ * @version v0.6.0
6
6
  * @baseUrl /sp
7
7
  */
8
8
  export declare class NamespaceService extends Service {
@@ -2,7 +2,7 @@ import { SubscribeListOperationPayload, SubscribeOperationParams, UnsubscribeLis
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
5
- * @version v0.5.1.2
5
+ * @version v0.6.0
6
6
  * @baseUrl /sp
7
7
  */
8
8
  export declare class NotificationService extends Service {
@@ -2,7 +2,7 @@ import { PrintPayload, PrintToHtmlPayload, UploadTemplateParams, UploadTemplateP
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
5
- * @version v0.5.1.2
5
+ * @version v0.6.0
6
6
  * @baseUrl /sp
7
7
  */
8
8
  export declare class PrintService extends Service {
@@ -2,7 +2,7 @@ import { AccessControlListDc, ExtendedProjectInfoDc, ExtendedProjectLayersInfo,
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
5
- * @version v0.5.1.2
5
+ * @version v0.6.0
6
6
  * @baseUrl /sp
7
7
  */
8
8
  export declare class ProjectsService extends Service {
@@ -2,7 +2,7 @@ import { AddResourcesParams, AddResourcesPayload, CatalogDataDc, CopyResourceRes
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
5
- * @version v0.5.1.2
5
+ * @version v0.6.0
6
6
  * @baseUrl /sp
7
7
  */
8
8
  export declare class ResourceCatalogService extends Service {
@@ -2,7 +2,7 @@ import { AggregateTaskParametersDc, AvailabilityAreaTaskDc, BufferTaskParameters
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
5
- * @version v0.5.1.2
5
+ * @version v0.6.0
6
6
  * @baseUrl /sp
7
7
  */
8
8
  export declare class SchedulerService extends Service {
@@ -2,7 +2,7 @@ import { UploadScriptFilePayload } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
5
- * @version v0.5.1.2
5
+ * @version v0.6.0
6
6
  * @baseUrl /sp
7
7
  */
8
8
  export declare class ScriptsService extends Service {
@@ -2,7 +2,7 @@ import { FindUserByNameParams, GetPolicyListParams, PolicyDc, RemovePolicyParams
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
5
- * @version v0.5.1.2
5
+ * @version v0.6.0
6
6
  * @baseUrl /sp
7
7
  */
8
8
  export declare class SecurityService extends Service {
@@ -2,7 +2,7 @@ import { DownloadFileParams, FileUploadResponse, UploadFilePayload } from './dat
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
5
- * @version v0.5.1.2
5
+ * @version v0.6.0
6
6
  * @baseUrl /sp
7
7
  */
8
8
  export declare class StaticContentService extends Service {
@@ -2,7 +2,7 @@ import { StyleCreationResponseDc, StyleDc } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
5
- * @version v0.5.1.2
5
+ * @version v0.6.0
6
6
  * @baseUrl /sp
7
7
  */
8
8
  export declare class StyleService extends Service {
@@ -2,7 +2,7 @@ import { AccessControlListDc, DeleteTableDataParams, DetailedTableInfoDc, FileUp
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
5
- * @version v0.5.1.2
5
+ * @version v0.6.0
6
6
  * @baseUrl /sp
7
7
  */
8
8
  export declare class TablesService extends Service {
@@ -2,7 +2,7 @@ import { AccessControlListDc, CreateToolGroupDc, EditToolGroupDc, EditToolGroups
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
5
- * @version v0.5.1.2
5
+ * @version v0.6.0
6
6
  * @baseUrl /sp
7
7
  */
8
8
  export declare class ToolsService extends Service {
@@ -2301,6 +2301,19 @@ export declare enum LineEndingType {
2301
2301
  Circle = "circle",
2302
2302
  FilledCircle = "filledCircle"
2303
2303
  }
2304
+ /**
2305
+ * The response that contains a paged list of items.
2306
+ */
2307
+ export interface ListResponseExtendedUserInfoDc {
2308
+ /** The items of the response. */
2309
+ items?: ExtendedUserInfoDc[];
2310
+ /** @format int64 */
2311
+ totalCount?: number;
2312
+ /** @format int64 */
2313
+ offset?: number;
2314
+ /** @format int64 */
2315
+ limit?: number;
2316
+ }
2304
2317
  /**
2305
2318
  * The response that contains a paged list of items.
2306
2319
  */
@@ -3377,6 +3390,13 @@ export interface ServiceConfigurationBaseDc {
3377
3390
  acl?: AccessControlListDc;
3378
3391
  /** Base64 encoded image - icon of the resource. */
3379
3392
  icon?: string;
3393
+ /**
3394
+ * <br>
3395
+ * If the owner user is set, a configuration will be created for that user.
3396
+ * Administrator permissions are required to perform this operation.
3397
+ *
3398
+ */
3399
+ owner?: string;
3380
3400
  }
3381
3401
  /**
3382
3402
  * Description of a service in the Spatial Processor.
@@ -3668,6 +3688,13 @@ export interface SharedProjectConfigurationDc {
3668
3688
  acl?: AccessControlListDc;
3669
3689
  /** Base64 encoded image - icon of the resource. */
3670
3690
  icon?: string;
3691
+ /**
3692
+ * <br>
3693
+ * If the owner user is set, a configuration will be created for that user.
3694
+ * Administrator permissions are required to perform this operation.
3695
+ *
3696
+ */
3697
+ owner?: string;
3671
3698
  }
3672
3699
  /**
3673
3700
  * The {SharedProjectInfoDc} describes shared project info data contract.
@@ -4991,6 +5018,26 @@ export interface GetUsersParams {
4991
5018
  /** If given, will retrieve only users that have one of the given roles. */
4992
5019
  roles?: string[];
4993
5020
  }
5021
+ export interface GetExtendedUsersParams {
5022
+ /** String filter for the user name (uses % and _ wild cards like SQL). */
5023
+ filter?: string;
5024
+ /**
5025
+ * First index in the list to get.
5026
+ * @format int32
5027
+ */
5028
+ offset?: number;
5029
+ /**
5030
+ * Max number of entries in the returned list.
5031
+ * @format int32
5032
+ */
5033
+ limit?: number;
5034
+ /** If given, will retrieve only users that belong to one of the given username. */
5035
+ users?: string[];
5036
+ /** If given, will retrieve only users that belong to one of the given groups. */
5037
+ groups?: string[];
5038
+ /** If given, will retrieve only users that have one of the given roles. */
5039
+ roles?: string[];
5040
+ }
4994
5041
  export interface IsUsernameExistsParams {
4995
5042
  /** User name to check. */
4996
5043
  username: string;
@@ -92,7 +92,7 @@ function _isNativeReflectConstruct() {
92
92
  if (typeof Proxy === "function") return true;
93
93
 
94
94
  try {
95
- Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
95
+ Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
96
96
  return true;
97
97
  } catch (e) {
98
98
  return false;
@@ -199,7 +199,7 @@ let Service = function Service(http) {
199
199
 
200
200
  /**
201
201
  * @title Spatial Processing Core API
202
- * @version v0.5.1.2
202
+ * @version v0.6.0
203
203
  * @baseUrl /sp
204
204
  */
205
205
 
@@ -427,7 +427,7 @@ function toFormData(input) {
427
427
 
428
428
  /**
429
429
  * @title Spatial Processing Core API
430
- * @version v0.5.1.2
430
+ * @version v0.6.0
431
431
  * @baseUrl /sp
432
432
  */
433
433
 
@@ -505,7 +505,7 @@ let FileUpload = /*#__PURE__*/function (_StaticContentService) {
505
505
 
506
506
  /**
507
507
  * @title Spatial Processing Core API
508
- * @version v0.5.1.2
508
+ * @version v0.6.0
509
509
  * @baseUrl /sp
510
510
  */
511
511
 
@@ -605,7 +605,7 @@ let Import = /*#__PURE__*/function (_ImportService) {
605
605
 
606
606
  /**
607
607
  * @title Spatial Processing Core API
608
- * @version v0.5.1.2
608
+ * @version v0.6.0
609
609
  * @baseUrl /sp
610
610
  */
611
611
 
@@ -860,7 +860,7 @@ let NotificationEvent = function NotificationEvent(data) {
860
860
 
861
861
  /**
862
862
  * @title Spatial Processing Core API
863
- * @version v0.5.1.2
863
+ * @version v0.6.0
864
864
  * @baseUrl /sp
865
865
  */
866
866
 
@@ -1293,7 +1293,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
1293
1293
 
1294
1294
  /**
1295
1295
  * @title Spatial Processing Core API
1296
- * @version v0.5.1.2
1296
+ * @version v0.6.0
1297
1297
  * @baseUrl /sp
1298
1298
  */
1299
1299
 
@@ -2287,7 +2287,7 @@ function isTileLayerService(layer) {
2287
2287
 
2288
2288
  /**
2289
2289
  * @title Spatial Processing Core API
2290
- * @version v0.5.1.2
2290
+ * @version v0.6.0
2291
2291
  * @baseUrl /sp
2292
2292
  */
2293
2293
 
@@ -2720,7 +2720,7 @@ let Tables = /*#__PURE__*/function (_TablesService) {
2720
2720
 
2721
2721
  /**
2722
2722
  * @title Spatial Processing Core API
2723
- * @version v0.5.1.2
2723
+ * @version v0.6.0
2724
2724
  * @baseUrl /sp
2725
2725
  */
2726
2726
 
@@ -3179,7 +3179,7 @@ let Resources = /*#__PURE__*/function () {
3179
3179
 
3180
3180
  /**
3181
3181
  * @title Spatial Processing Core API
3182
- * @version v0.5.1.2
3182
+ * @version v0.6.0
3183
3183
  * @baseUrl /sp
3184
3184
  */
3185
3185
 
@@ -3279,7 +3279,7 @@ let Styles = /*#__PURE__*/function (_StyleService) {
3279
3279
 
3280
3280
  /**
3281
3281
  * @title Spatial Processing Core API
3282
- * @version v0.5.1.2
3282
+ * @version v0.6.0
3283
3283
  * @baseUrl /sp
3284
3284
  */
3285
3285
 
@@ -3395,7 +3395,7 @@ let Geocode = /*#__PURE__*/function (_GeocodeService) {
3395
3395
 
3396
3396
  /**
3397
3397
  * @title Spatial Processing Core API
3398
- * @version v0.5.1.2
3398
+ * @version v0.6.0
3399
3399
  * @baseUrl /sp
3400
3400
  */
3401
3401
 
@@ -3660,7 +3660,7 @@ let ResourceCatalog = /*#__PURE__*/function (_ResourceCatalogServi) {
3660
3660
 
3661
3661
  /**
3662
3662
  * @title Spatial Processing Core API
3663
- * @version v0.5.1.2
3663
+ * @version v0.6.0
3664
3664
  * @baseUrl /sp
3665
3665
  */
3666
3666
 
@@ -4157,7 +4157,7 @@ let Tools = /*#__PURE__*/function (_ToolsService) {
4157
4157
 
4158
4158
  /**
4159
4159
  * @title Spatial Processing Core API
4160
- * @version v0.5.1.2
4160
+ * @version v0.6.0
4161
4161
  * @baseUrl /sp
4162
4162
  */
4163
4163
 
@@ -4241,7 +4241,7 @@ let General = /*#__PURE__*/function (_GeneralService) {
4241
4241
 
4242
4242
  /**
4243
4243
  * @title Spatial Processing Core API
4244
- * @version v0.5.1.2
4244
+ * @version v0.6.0
4245
4245
  * @baseUrl /sp
4246
4246
  */
4247
4247
 
@@ -4341,7 +4341,7 @@ let Namespace = /*#__PURE__*/function (_NamespaceService) {
4341
4341
 
4342
4342
  /**
4343
4343
  * @title Spatial Processing Core API
4344
- * @version v0.5.1.2
4344
+ * @version v0.6.0
4345
4345
  * @baseUrl /sp
4346
4346
  */
4347
4347
 
@@ -4372,6 +4372,22 @@ let AccountService = /*#__PURE__*/function (_Service) {
4372
4372
  value: function getUsers(query) {
4373
4373
  return this.http.get("/account/user/list", query).json();
4374
4374
  }
4375
+ /**
4376
+ * No description
4377
+ *
4378
+ * @tags Account
4379
+ * @name GetExtendedUsers
4380
+ * @operationId AccountController_GetExtendedUsers
4381
+ * @summary Returns the list of extended users informations that correspond to the given conditions.
4382
+ * @request GET:/account/user/extendedlist
4383
+ * @response `200` Success
4384
+ */
4385
+
4386
+ }, {
4387
+ key: "getExtendedUsers",
4388
+ value: function getExtendedUsers(query) {
4389
+ return this.http.get("/account/user/extendedlist", query).json();
4390
+ }
4375
4391
  /**
4376
4392
  * No description
4377
4393
  *
@@ -4980,7 +4996,7 @@ let Account = /*#__PURE__*/function (_AccountService) {
4980
4996
 
4981
4997
  /**
4982
4998
  * @title Spatial Processing Core API
4983
- * @version v0.5.1.2
4999
+ * @version v0.6.0
4984
5000
  * @baseUrl /sp
4985
5001
  */
4986
5002
 
@@ -5139,7 +5155,7 @@ let AccountPreview = /*#__PURE__*/function (_AccountPreviewServic) {
5139
5155
 
5140
5156
  /**
5141
5157
  * @title Spatial Processing Core API
5142
- * @version v0.5.1.2
5158
+ * @version v0.6.0
5143
5159
  * @baseUrl /sp
5144
5160
  */
5145
5161
 
@@ -5216,7 +5232,7 @@ let ExternalProvidersService = /*#__PURE__*/function (_Service) {
5216
5232
  }, {
5217
5233
  key: "loginCallback",
5218
5234
  value: function loginCallback() {
5219
- return this.http.get("/account/external/login/callback").text();
5235
+ return this.http.get("/account/external/login/callback").then(() => {});
5220
5236
  }
5221
5237
  /**
5222
5238
  * No description
@@ -5280,7 +5296,7 @@ let ExternalProvidersService = /*#__PURE__*/function (_Service) {
5280
5296
  }, {
5281
5297
  key: "bindVk",
5282
5298
  value: function bindVk() {
5283
- return this.http.get("/account/external/bind/vk").then(() => {});
5299
+ return this.http.createUrl("/account/external/bind/vk");
5284
5300
  }
5285
5301
  /**
5286
5302
  * No description
@@ -5296,7 +5312,7 @@ let ExternalProvidersService = /*#__PURE__*/function (_Service) {
5296
5312
  }, {
5297
5313
  key: "bindGoogle",
5298
5314
  value: function bindGoogle() {
5299
- return this.http.get("/account/external/bind/google").then(() => {});
5315
+ return this.http.createUrl("/account/external/bind/google");
5300
5316
  }
5301
5317
  /**
5302
5318
  * No description
@@ -5312,7 +5328,7 @@ let ExternalProvidersService = /*#__PURE__*/function (_Service) {
5312
5328
  }, {
5313
5329
  key: "bindFacebook",
5314
5330
  value: function bindFacebook() {
5315
- return this.http.get("/account/external/bind/facebook").then(() => {});
5331
+ return this.http.createUrl("/account/external/bind/facebook");
5316
5332
  }
5317
5333
  /**
5318
5334
  * No description
@@ -5364,9 +5380,21 @@ let External = /*#__PURE__*/function (_ExternalProvidersSer) {
5364
5380
  }
5365
5381
  }
5366
5382
  }, {
5367
- key: "callback",
5368
- value: function callback() {
5369
- return this.loginCallback();
5383
+ key: "bind",
5384
+ value: function bind(network) {
5385
+ switch (network) {
5386
+ case 'vk':
5387
+ return this.bindVk();
5388
+
5389
+ case 'google':
5390
+ return this.bindGoogle();
5391
+
5392
+ case 'facebook':
5393
+ return this.bindFacebook();
5394
+
5395
+ default:
5396
+ return '';
5397
+ }
5370
5398
  }
5371
5399
  }, {
5372
5400
  key: "unbind",
@@ -5392,7 +5420,7 @@ let External = /*#__PURE__*/function (_ExternalProvidersSer) {
5392
5420
 
5393
5421
  /**
5394
5422
  * @title Spatial Processing Core API
5395
- * @version v0.5.1.2
5423
+ * @version v0.6.0
5396
5424
  * @baseUrl /sp
5397
5425
  */
5398
5426
 
@@ -5932,7 +5960,7 @@ let Names = /*#__PURE__*/function () {
5932
5960
 
5933
5961
  /**
5934
5962
  * @title Spatial Processing Core API
5935
- * @version v0.5.1.2
5963
+ * @version v0.6.0
5936
5964
  * @baseUrl /sp
5937
5965
  */
5938
5966