@evergis/api 3.0.42 → 3.0.46
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.d.ts +2 -1
- package/dist/__generated__/AccountService.d.ts +2 -2
- package/dist/__generated__/BulkOperationsService.d.ts +20 -0
- package/dist/__generated__/LayersService.d.ts +12 -1
- package/dist/__generated__/ProjectsService.d.ts +12 -1
- package/dist/__generated__/SecurityService.d.ts +2 -2
- package/dist/__generated__/TablesService.d.ts +12 -1
- package/dist/__generated__/data-contracts.d.ts +108 -6
- package/dist/api.cjs.development.js +110 -0
- 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 +112 -1
- package/dist/api.esm.js.map +1 -1
- package/dist/services/BulkOperations.d.ts +5 -0
- package/dist/services/index.d.ts +1 -0
- package/package.json +2 -2
package/dist/Api.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Options as KyOptions } from 'ky';
|
|
2
2
|
import { EventEmitter } from '@evergis/event-emitter';
|
|
3
|
-
import { Account, External, ClientSettings, FileUpload, General, Geocode, Import, Layers, Names, Namespace, Notification, Projects, ResourceCatalog, Resources, Scheduler, Security, Styles, Tables, Tools, AccountPreview } from './services';
|
|
3
|
+
import { Account, External, ClientSettings, FileUpload, General, Geocode, Import, Layers, Names, Namespace, Notification, Projects, ResourceCatalog, Resources, Scheduler, Security, Styles, Tables, Tools, AccountPreview, BulkOperations } from './services';
|
|
4
4
|
import { Print } from './services/Print';
|
|
5
5
|
import { HttpClient } from './__generated__/HttpClient';
|
|
6
6
|
import { LoginDc } from './__generated__/data-contracts';
|
|
@@ -43,6 +43,7 @@ export declare class Api extends EventEmitter {
|
|
|
43
43
|
readonly external: External;
|
|
44
44
|
readonly clientSettings: ClientSettings;
|
|
45
45
|
readonly names: Names;
|
|
46
|
+
readonly bulk: BulkOperations;
|
|
46
47
|
constructor({ url, wsUrl, http, urlPath, httpOptions }: ApiParams);
|
|
47
48
|
init({ authParams, connectWs, initScheduler, fetchSettings, fetchUser, }: {
|
|
48
49
|
authParams?: LoginDc;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeEmailParams, ChangePasswordPayload, ConfirmChangeEmailParams, ConfirmEmail1Params, CreateRoleDc, CreateUserDc, CreateUserParams, ExtendedUserInfoDc, GetExtendedUsersParams, GetRolesParams, GetUsersParams, IsEmailExistsParams, IsUsernameExistsParams, ListResponseExtendedUserInfoDc,
|
|
1
|
+
import { ChangeEmailParams, ChangePasswordPayload, ConfirmChangeEmailParams, ConfirmEmail1Params, CreateRoleDc, CreateUserDc, CreateUserParams, ExtendedUserInfoDc, GetExtendedUsersParams, GetRolesParams, GetUsersParams, IsEmailExistsParams, IsUsernameExistsParams, ListResponseExtendedUserInfoDc, ListResponseRoleInfoDc, 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
|
|
@@ -291,7 +291,7 @@ export declare class AccountService extends Service {
|
|
|
291
291
|
* @request GET:/account/role/list
|
|
292
292
|
* @response `200` Success
|
|
293
293
|
*/
|
|
294
|
-
getRoles(query: GetRolesParams): Promise<
|
|
294
|
+
getRoles(query: GetRolesParams): Promise<ListResponseRoleInfoDc>;
|
|
295
295
|
/**
|
|
296
296
|
* No description
|
|
297
297
|
*
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { BatchResourcesAclDc } from './data-contracts';
|
|
2
|
+
import { Service } from './Service';
|
|
3
|
+
/**
|
|
4
|
+
* @title Spatial Processing Core API
|
|
5
|
+
* @version v0.6.0
|
|
6
|
+
* @baseUrl /sp
|
|
7
|
+
*/
|
|
8
|
+
export declare class BulkOperationsService extends Service {
|
|
9
|
+
/**
|
|
10
|
+
* No description
|
|
11
|
+
*
|
|
12
|
+
* @tags BulkOperations
|
|
13
|
+
* @name BatchResourcesPermissionsSet
|
|
14
|
+
* @operationId BulkOperationsController_BatchResourcesPermissionsSet
|
|
15
|
+
* @summary Perform resources set acl access batch operation.
|
|
16
|
+
* @request PUT:/bulk/resources/permissions
|
|
17
|
+
* @response `200` Success
|
|
18
|
+
*/
|
|
19
|
+
batchResourcesPermissionsSet(data: BatchResourcesAclDc): Promise<void>;
|
|
20
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccessControlListDc, AggregateAttributeParams, AggregationDataResultDc, AttributeDistinctsDc, ClassifyParams, CompositeServiceConfigurationDc, CompositeServiceInfoDc, CreateFeaturesPayload, DeleteFeatureParams, DeleteFeaturesParams, DistinctsParams, EditAttributesInfoDc, EnvelopeDc, ExpressionValidationResultDc, FailedServiceInfoDc, FeatureDc, FeatureLayerServiceInfoDc, FeatureSelectionDc, FeaturesListDc, FileUploadResponse, GetByGeometryGetParams, GetByGeometryParams, GetByGeometryPostParams, GetByGeometryPostPayload, GetByIdParams, GetFeaturesParams, GetFilteredFeaturesCountParams, GetLayerExtentParams, GetLayerImageParams, GetLayersListParams, GetTilesLayerImageParams, LayerUpdateInfoDc, LocalTileServiceConfigurationDc, PositionDc, PostgresLayerServiceConfigurationDc, PostgresTileCatalogServiceConfigurationDc, ProxyServiceConfigurationDc, ProxyServiceInfoDc, RemoteTileServiceConfigurationDc, RemoteTileServiceInfo, RemoteTileServiceInfoDc, ResourceDependenciesDc, SelectFeaturesParams, ServiceInfoDc, SetPreviewPayload, StyledLayerServiceConfigurationDc, SubtractParams, SubtractPayload, TileCatalogServiceInfoDc, TileServiceInfoDc, UniteParams, UnitePayload, UpdateFeaturePayload, ValidateExpressionParams } from './data-contracts';
|
|
1
|
+
import { AccessControlListDc, AggregateAttributeParams, AggregationDataResultDc, AttributeDistinctsDc, ClassifyParams, CompositeServiceConfigurationDc, CompositeServiceInfoDc, CreateFeaturesPayload, DeleteFeatureParams, DeleteFeaturesParams, DistinctsParams, EditAttributesInfoDc, EnvelopeDc, ExpressionValidationResultDc, FailedServiceInfoDc, FeatureDc, FeatureLayerServiceInfoDc, FeatureSelectionDc, FeaturesListDc, FileUploadResponse, GetByGeometryGetParams, GetByGeometryParams, GetByGeometryPostParams, GetByGeometryPostPayload, GetByIdParams, GetFeaturesParams, GetFilteredFeaturesCountParams, GetLayerExtentParams, GetLayerImageParams, GetLayersListParams, GetTilesLayerImageParams, LayerUpdateInfoDc, LocalTileServiceConfigurationDc, PositionDc, PostgresLayerServiceConfigurationDc, PostgresTileCatalogServiceConfigurationDc, ProxyServiceConfigurationDc, ProxyServiceInfoDc, RemoteTileServiceConfigurationDc, RemoteTileServiceInfo, RemoteTileServiceInfoDc, ResourceDependenciesDc, SelectFeaturesParams, ServiceInfoDc, SetPermissionsBatchPayload, SetPreviewPayload, StyledLayerServiceConfigurationDc, SubtractParams, SubtractPayload, TileCatalogServiceInfoDc, TileServiceInfoDc, UniteParams, UnitePayload, UpdateFeaturePayload, ValidateExpressionParams } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -17,6 +17,17 @@ export declare class LayersService extends Service {
|
|
|
17
17
|
* @response `200` Success
|
|
18
18
|
*/
|
|
19
19
|
getLayersList(query: GetLayersListParams): Promise<import("./data-contracts").ListResponseServiceListItemDc>;
|
|
20
|
+
/**
|
|
21
|
+
* No description
|
|
22
|
+
*
|
|
23
|
+
* @tags Layers
|
|
24
|
+
* @name SetPermissionsBatch
|
|
25
|
+
* @operationId LayersController_SetPermissionsBatch
|
|
26
|
+
* @summary Overrides multiply resources permissions in single batch.
|
|
27
|
+
* @request PUT:/layers
|
|
28
|
+
* @response `200` Success
|
|
29
|
+
*/
|
|
30
|
+
setPermissionsBatch(data: SetPermissionsBatchPayload): Promise<void>;
|
|
20
31
|
/**
|
|
21
32
|
* No description
|
|
22
33
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccessControlListDc, ExtendedProjectInfoDc, ExtendedProjectLayersInfo, FileUploadResponse, GetProjectsListParams, ListResponseProjectInfoPubDc, ResourceDependenciesDc, SetPreviewBody, SharedProjectConfigurationDc, SharedProjectInfoDc } from './data-contracts';
|
|
1
|
+
import { AccessControlListDc, ExtendedProjectInfoDc, ExtendedProjectLayersInfo, FileUploadResponse, GetProjectsListParams, ListResponseProjectInfoPubDc, ResourceDependenciesDc, SetPermissionsBatchBody, SetPreviewBody, SharedProjectConfigurationDc, SharedProjectInfoDc } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -39,6 +39,17 @@ export declare class ProjectsService extends Service {
|
|
|
39
39
|
* @response `200` Success
|
|
40
40
|
*/
|
|
41
41
|
createProject(data: ExtendedProjectInfoDc): Promise<ExtendedProjectInfoDc>;
|
|
42
|
+
/**
|
|
43
|
+
* No description
|
|
44
|
+
*
|
|
45
|
+
* @tags Projects
|
|
46
|
+
* @name SetPermissionsBatch
|
|
47
|
+
* @operationId ProjectsController_SetPermissionsBatch
|
|
48
|
+
* @summary Overrides multiply resources permissions in single batch.
|
|
49
|
+
* @request PUT:/projects
|
|
50
|
+
* @response `200` Success
|
|
51
|
+
*/
|
|
52
|
+
setPermissionsBatch(data: SetPermissionsBatchBody): Promise<void>;
|
|
42
53
|
/**
|
|
43
54
|
* No description
|
|
44
55
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FindUserByNameParams, GetPolicyListParams, PolicyDc, RemovePolicyParams } from './data-contracts';
|
|
1
|
+
import { FindUserByNameParams, GetPolicyListParams, PolicyDc, RemovePolicyParams, SearchedUserDc } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -16,7 +16,7 @@ export declare class SecurityService extends Service {
|
|
|
16
16
|
* @request GET:/security/users
|
|
17
17
|
* @response `200` Success
|
|
18
18
|
*/
|
|
19
|
-
findUserByName(query: FindUserByNameParams): Promise<
|
|
19
|
+
findUserByName(query: FindUserByNameParams): Promise<SearchedUserDc[]>;
|
|
20
20
|
/**
|
|
21
21
|
* @description This method requires superuser permission.
|
|
22
22
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccessControlListDc, DeleteTableDataParams, DetailedTableInfoDc, FileUploadResponse, GetTableListParams, GetUniqueDataRowsParams, MapRemoteTableInfoDc, MapRemoteTableParams, MapTableParams, MapTablePayload, MapViewInfoDc, MapViewParams, ResourceDependenciesDc, SetPreviewInput, UpdateTableDataParams, UpdateTableDataPayload, UpdateTableDc } from './data-contracts';
|
|
1
|
+
import { AccessControlListDc, DeleteTableDataParams, DetailedTableInfoDc, FileUploadResponse, GetTableListParams, GetUniqueDataRowsParams, MapRemoteTableInfoDc, MapRemoteTableParams, MapTableParams, MapTablePayload, MapViewInfoDc, MapViewParams, ResourceDependenciesDc, SetPermissionsBatchInput, SetPreviewInput, UpdateTableDataParams, UpdateTableDataPayload, UpdateTableDc } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -28,6 +28,17 @@ export declare class TablesService extends Service {
|
|
|
28
28
|
* @response `200` Success
|
|
29
29
|
*/
|
|
30
30
|
createTable(data: DetailedTableInfoDc): Promise<DetailedTableInfoDc>;
|
|
31
|
+
/**
|
|
32
|
+
* No description
|
|
33
|
+
*
|
|
34
|
+
* @tags Tables
|
|
35
|
+
* @name SetPermissionsBatch
|
|
36
|
+
* @operationId TablesController_SetPermissionsBatch
|
|
37
|
+
* @summary Overrides multiply resources permissions in single batch.
|
|
38
|
+
* @request PUT:/tables
|
|
39
|
+
* @response `200` Success
|
|
40
|
+
*/
|
|
41
|
+
setPermissionsBatch(data: SetPermissionsBatchInput): Promise<void>;
|
|
31
42
|
/**
|
|
32
43
|
* No description
|
|
33
44
|
*
|
|
@@ -593,6 +593,17 @@ export interface BaseTaskDataStorageDc {
|
|
|
593
593
|
/** Type of the data storage. */
|
|
594
594
|
type: string;
|
|
595
595
|
}
|
|
596
|
+
/**
|
|
597
|
+
* Provides resources with their acl.
|
|
598
|
+
*/
|
|
599
|
+
export interface BatchResourcesAclDc {
|
|
600
|
+
/** A set of layers acl. */
|
|
601
|
+
layers?: ResourceAclDc[];
|
|
602
|
+
/** A set of tables acl. */
|
|
603
|
+
tables?: ResourceAclDc[];
|
|
604
|
+
/** A set of projects acl. */
|
|
605
|
+
projects?: ResourceAclDc[];
|
|
606
|
+
}
|
|
596
607
|
/**
|
|
597
608
|
* The class describes data contract of bookmark at the map.
|
|
598
609
|
*/
|
|
@@ -1477,6 +1488,26 @@ export interface ExtendedUserInfoDc {
|
|
|
1477
1488
|
company?: string;
|
|
1478
1489
|
/** Position. */
|
|
1479
1490
|
position?: string;
|
|
1491
|
+
/**
|
|
1492
|
+
* Gets or sets date and time of creation.
|
|
1493
|
+
* @format date-time
|
|
1494
|
+
*/
|
|
1495
|
+
dtCreate?: string;
|
|
1496
|
+
/**
|
|
1497
|
+
* Gets or sets date and time of last modifing.
|
|
1498
|
+
* @format date-time
|
|
1499
|
+
*/
|
|
1500
|
+
dtModify?: string;
|
|
1501
|
+
/**
|
|
1502
|
+
* Gets or sets date and time of last log in.
|
|
1503
|
+
* @format date-time
|
|
1504
|
+
*/
|
|
1505
|
+
dtLastLogin?: string;
|
|
1506
|
+
/**
|
|
1507
|
+
* Gets or sets id of modified user.
|
|
1508
|
+
* @format int32
|
|
1509
|
+
*/
|
|
1510
|
+
idModifyUser?: number;
|
|
1480
1511
|
/** Information about connected social networks. */
|
|
1481
1512
|
social?: SocialNetworkInfoDc[];
|
|
1482
1513
|
/** Username. */
|
|
@@ -2356,9 +2387,9 @@ export interface ListResponseProjectInfoPubDc {
|
|
|
2356
2387
|
/**
|
|
2357
2388
|
* The response that contains a paged list of items.
|
|
2358
2389
|
*/
|
|
2359
|
-
export interface
|
|
2390
|
+
export interface ListResponseRoleInfoDc {
|
|
2360
2391
|
/** The items of the response. */
|
|
2361
|
-
items?:
|
|
2392
|
+
items?: RoleInfoDc[];
|
|
2362
2393
|
/** @format int64 */
|
|
2363
2394
|
totalCount?: number;
|
|
2364
2395
|
/** @format int64 */
|
|
@@ -2369,9 +2400,9 @@ export interface ListResponseServiceInfoPubDc {
|
|
|
2369
2400
|
/**
|
|
2370
2401
|
* The response that contains a paged list of items.
|
|
2371
2402
|
*/
|
|
2372
|
-
export interface
|
|
2403
|
+
export interface ListResponseServiceInfoPubDc {
|
|
2373
2404
|
/** The items of the response. */
|
|
2374
|
-
items?:
|
|
2405
|
+
items?: ServiceInfoPubDc[];
|
|
2375
2406
|
/** @format int64 */
|
|
2376
2407
|
totalCount?: number;
|
|
2377
2408
|
/** @format int64 */
|
|
@@ -2382,9 +2413,9 @@ export interface ListResponseServiceListItemDc {
|
|
|
2382
2413
|
/**
|
|
2383
2414
|
* The response that contains a paged list of items.
|
|
2384
2415
|
*/
|
|
2385
|
-
export interface
|
|
2416
|
+
export interface ListResponseServiceListItemDc {
|
|
2386
2417
|
/** The items of the response. */
|
|
2387
|
-
items?:
|
|
2418
|
+
items?: ServiceListItemDc[];
|
|
2388
2419
|
/** @format int64 */
|
|
2389
2420
|
totalCount?: number;
|
|
2390
2421
|
/** @format int64 */
|
|
@@ -2716,6 +2747,8 @@ write
|
|
|
2716
2747
|
|
|
2717
2748
|
read
|
|
2718
2749
|
|
|
2750
|
+
read,configure
|
|
2751
|
+
|
|
2719
2752
|
read,write
|
|
2720
2753
|
|
|
2721
2754
|
read,write,configure
|
|
@@ -2725,6 +2758,7 @@ export declare enum Permissions {
|
|
|
2725
2758
|
Configure = "configure",
|
|
2726
2759
|
Write = "write",
|
|
2727
2760
|
Read = "read",
|
|
2761
|
+
ReadConfigure = "read,configure",
|
|
2728
2762
|
ReadWrite = "read,write",
|
|
2729
2763
|
All = "read,write,configure"
|
|
2730
2764
|
}
|
|
@@ -2986,6 +3020,8 @@ export interface ProjectInfoPubDc {
|
|
|
2986
3020
|
*
|
|
2987
3021
|
* read
|
|
2988
3022
|
*
|
|
3023
|
+
* read,configure
|
|
3024
|
+
*
|
|
2989
3025
|
* read,write
|
|
2990
3026
|
*
|
|
2991
3027
|
* read,write,configure
|
|
@@ -3168,6 +3204,15 @@ export declare type RemoteTileServiceInfoDc = TileServiceInfoDc & {
|
|
|
3168
3204
|
sourceServers?: string[];
|
|
3169
3205
|
copyrightText?: string;
|
|
3170
3206
|
};
|
|
3207
|
+
/**
|
|
3208
|
+
* Provides resource and its acl.
|
|
3209
|
+
*/
|
|
3210
|
+
export interface ResourceAclDc {
|
|
3211
|
+
/** Name of the resource to apply acl. */
|
|
3212
|
+
objectName: string;
|
|
3213
|
+
/** All available permissions list. */
|
|
3214
|
+
data: RolePermissionDc[];
|
|
3215
|
+
}
|
|
3171
3216
|
/**
|
|
3172
3217
|
* Link to a resource.
|
|
3173
3218
|
*/
|
|
@@ -3235,6 +3280,8 @@ export interface ResourceInfoDc {
|
|
|
3235
3280
|
*
|
|
3236
3281
|
* read
|
|
3237
3282
|
*
|
|
3283
|
+
* read,configure
|
|
3284
|
+
*
|
|
3238
3285
|
* read,write
|
|
3239
3286
|
*
|
|
3240
3287
|
* read,write,configure
|
|
@@ -3280,6 +3327,33 @@ export declare enum ResourceTypeLink {
|
|
|
3280
3327
|
Layer = "layers",
|
|
3281
3328
|
Project = "projects"
|
|
3282
3329
|
}
|
|
3330
|
+
/**
|
|
3331
|
+
* Short role information.
|
|
3332
|
+
*/
|
|
3333
|
+
export interface RoleInfoDc {
|
|
3334
|
+
/** Username. */
|
|
3335
|
+
name?: string;
|
|
3336
|
+
/**
|
|
3337
|
+
* The number of users in the role.
|
|
3338
|
+
* @format int32
|
|
3339
|
+
*/
|
|
3340
|
+
usersInRole?: number;
|
|
3341
|
+
/**
|
|
3342
|
+
* Gets or sets date and time of creation.
|
|
3343
|
+
* @format date-time
|
|
3344
|
+
*/
|
|
3345
|
+
dtCreate?: string;
|
|
3346
|
+
/**
|
|
3347
|
+
* Gets or sets date and time of last modifing.
|
|
3348
|
+
* @format date-time
|
|
3349
|
+
*/
|
|
3350
|
+
dtModify?: string;
|
|
3351
|
+
/**
|
|
3352
|
+
* Gets or sets id of modified user.
|
|
3353
|
+
* @format int32
|
|
3354
|
+
*/
|
|
3355
|
+
idModifyUser?: number;
|
|
3356
|
+
}
|
|
3283
3357
|
/**
|
|
3284
3358
|
* Roles permission.
|
|
3285
3359
|
*/
|
|
@@ -3297,6 +3371,8 @@ export interface RolePermissionDc {
|
|
|
3297
3371
|
*
|
|
3298
3372
|
* read
|
|
3299
3373
|
*
|
|
3374
|
+
* read,configure
|
|
3375
|
+
*
|
|
3300
3376
|
* read,write
|
|
3301
3377
|
*
|
|
3302
3378
|
* read,write,configure
|
|
@@ -3327,6 +3403,15 @@ export declare type ScaleBarElementDc = ModelElementDc & {
|
|
|
3327
3403
|
font?: string;
|
|
3328
3404
|
fontSize?: number;
|
|
3329
3405
|
};
|
|
3406
|
+
/**
|
|
3407
|
+
* Suggest user information.
|
|
3408
|
+
*/
|
|
3409
|
+
export interface SearchedUserDc {
|
|
3410
|
+
/** Username. */
|
|
3411
|
+
username?: string;
|
|
3412
|
+
/** Photo. */
|
|
3413
|
+
photo?: string;
|
|
3414
|
+
}
|
|
3330
3415
|
/**
|
|
3331
3416
|
* General information about the server.
|
|
3332
3417
|
*/
|
|
@@ -3552,6 +3637,8 @@ export interface ServiceInfoPubDc {
|
|
|
3552
3637
|
*
|
|
3553
3638
|
* read
|
|
3554
3639
|
*
|
|
3640
|
+
* read,configure
|
|
3641
|
+
*
|
|
3555
3642
|
* read,write
|
|
3556
3643
|
*
|
|
3557
3644
|
* read,write,configure
|
|
@@ -3588,6 +3675,8 @@ export interface ServiceListItemDc {
|
|
|
3588
3675
|
*
|
|
3589
3676
|
* read
|
|
3590
3677
|
*
|
|
3678
|
+
* read,configure
|
|
3679
|
+
*
|
|
3591
3680
|
* read,write
|
|
3592
3681
|
*
|
|
3593
3682
|
* read,write,configure
|
|
@@ -3767,6 +3856,8 @@ export interface SharedProjectInfoDc {
|
|
|
3767
3856
|
*
|
|
3768
3857
|
* read
|
|
3769
3858
|
*
|
|
3859
|
+
* read,configure
|
|
3860
|
+
*
|
|
3770
3861
|
* read,write
|
|
3771
3862
|
*
|
|
3772
3863
|
* read,write,configure
|
|
@@ -3998,6 +4089,8 @@ export interface TableInfoPubDc {
|
|
|
3998
4089
|
*
|
|
3999
4090
|
* read
|
|
4000
4091
|
*
|
|
4092
|
+
* read,configure
|
|
4093
|
+
*
|
|
4001
4094
|
* read,write
|
|
4002
4095
|
*
|
|
4003
4096
|
* read,write,configure
|
|
@@ -5001,6 +5094,8 @@ export interface WorkspaceLimitsDc {
|
|
|
5001
5094
|
export interface GetUsersParams {
|
|
5002
5095
|
/** String filter for the user name (uses % and _ wild cards like SQL). */
|
|
5003
5096
|
filter?: string;
|
|
5097
|
+
/** Ordering property name. */
|
|
5098
|
+
orderBy?: string;
|
|
5004
5099
|
/**
|
|
5005
5100
|
* First index in the list to get.
|
|
5006
5101
|
* @format int32
|
|
@@ -5021,6 +5116,8 @@ export interface GetUsersParams {
|
|
|
5021
5116
|
export interface GetExtendedUsersParams {
|
|
5022
5117
|
/** String filter for the user name (uses % and _ wild cards like SQL). */
|
|
5023
5118
|
filter?: string;
|
|
5119
|
+
/** Ordering property name. */
|
|
5120
|
+
orderBy?: string;
|
|
5024
5121
|
/**
|
|
5025
5122
|
* First index in the list to get.
|
|
5026
5123
|
* @format int32
|
|
@@ -5091,6 +5188,8 @@ export interface ResetPasswordCallbackPayload {
|
|
|
5091
5188
|
export interface GetRolesParams {
|
|
5092
5189
|
/** String filter for the role name (uses % and _ wild cards like SQL). */
|
|
5093
5190
|
filter?: string;
|
|
5191
|
+
/** Ordering property name. */
|
|
5192
|
+
orderBy?: string;
|
|
5094
5193
|
/** Include system roles (starts from '__'). */
|
|
5095
5194
|
withSystem?: boolean;
|
|
5096
5195
|
/**
|
|
@@ -5305,6 +5404,7 @@ export interface GetLayersListParams {
|
|
|
5305
5404
|
/** Filters layers list by users favorite. */
|
|
5306
5405
|
isFavorite?: boolean;
|
|
5307
5406
|
}
|
|
5407
|
+
export declare type SetPermissionsBatchPayload = ResourceAclDc[];
|
|
5308
5408
|
export interface GetFeaturesParams {
|
|
5309
5409
|
/** Sets features filtering query. */
|
|
5310
5410
|
query?: string;
|
|
@@ -5694,6 +5794,7 @@ export interface GetProjectsListParams {
|
|
|
5694
5794
|
/** Filters projects list by users favorite. */
|
|
5695
5795
|
isFavorite?: boolean;
|
|
5696
5796
|
}
|
|
5797
|
+
export declare type SetPermissionsBatchBody = ResourceAclDc[];
|
|
5697
5798
|
export interface SetPreviewBody {
|
|
5698
5799
|
/** @format binary */
|
|
5699
5800
|
file?: File;
|
|
@@ -5894,6 +5995,7 @@ export interface GetTableListParams {
|
|
|
5894
5995
|
/** Filters layers by geometry types. */
|
|
5895
5996
|
geometryFilter?: string[];
|
|
5896
5997
|
}
|
|
5998
|
+
export declare type SetPermissionsBatchInput = ResourceAclDc[];
|
|
5897
5999
|
export declare type UpdateTableDataPayload = Record<string, any>[];
|
|
5898
6000
|
export interface UpdateTableDataParams {
|
|
5899
6001
|
/** Id column name. */
|
|
@@ -197,6 +197,65 @@ let Service = function Service(http) {
|
|
|
197
197
|
this.http = http;
|
|
198
198
|
};
|
|
199
199
|
|
|
200
|
+
/**
|
|
201
|
+
* @title Spatial Processing Core API
|
|
202
|
+
* @version v0.6.0
|
|
203
|
+
* @baseUrl /sp
|
|
204
|
+
*/
|
|
205
|
+
|
|
206
|
+
let BulkOperationsService = /*#__PURE__*/function (_Service) {
|
|
207
|
+
_inherits(BulkOperationsService, _Service);
|
|
208
|
+
|
|
209
|
+
var _super = /*#__PURE__*/_createSuper(BulkOperationsService);
|
|
210
|
+
|
|
211
|
+
function BulkOperationsService() {
|
|
212
|
+
_classCallCheck(this, BulkOperationsService);
|
|
213
|
+
|
|
214
|
+
return _super.apply(this, arguments);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
_createClass(BulkOperationsService, [{
|
|
218
|
+
key: "batchResourcesPermissionsSet",
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* No description
|
|
222
|
+
*
|
|
223
|
+
* @tags BulkOperations
|
|
224
|
+
* @name BatchResourcesPermissionsSet
|
|
225
|
+
* @operationId BulkOperationsController_BatchResourcesPermissionsSet
|
|
226
|
+
* @summary Perform resources set acl access batch operation.
|
|
227
|
+
* @request PUT:/bulk/resources/permissions
|
|
228
|
+
* @response `200` Success
|
|
229
|
+
*/
|
|
230
|
+
value: function batchResourcesPermissionsSet(data) {
|
|
231
|
+
return this.http.put("/bulk/resources/permissions", data).then(() => {});
|
|
232
|
+
}
|
|
233
|
+
}]);
|
|
234
|
+
|
|
235
|
+
return BulkOperationsService;
|
|
236
|
+
}(Service);
|
|
237
|
+
|
|
238
|
+
let BulkOperations = /*#__PURE__*/function (_BulkOperationsServic) {
|
|
239
|
+
_inherits(BulkOperations, _BulkOperationsServic);
|
|
240
|
+
|
|
241
|
+
var _super = /*#__PURE__*/_createSuper(BulkOperations);
|
|
242
|
+
|
|
243
|
+
function BulkOperations() {
|
|
244
|
+
_classCallCheck(this, BulkOperations);
|
|
245
|
+
|
|
246
|
+
return _super.apply(this, arguments);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
_createClass(BulkOperations, [{
|
|
250
|
+
key: "updatePermissions",
|
|
251
|
+
value: function updatePermissions(data) {
|
|
252
|
+
return this.batchResourcesPermissionsSet(data);
|
|
253
|
+
}
|
|
254
|
+
}]);
|
|
255
|
+
|
|
256
|
+
return BulkOperations;
|
|
257
|
+
}(BulkOperationsService);
|
|
258
|
+
|
|
200
259
|
/**
|
|
201
260
|
* @title Spatial Processing Core API
|
|
202
261
|
* @version v0.6.0
|
|
@@ -1324,6 +1383,22 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1324
1383
|
value: function getLayersList(query) {
|
|
1325
1384
|
return this.http.get("/layers", query).json();
|
|
1326
1385
|
}
|
|
1386
|
+
/**
|
|
1387
|
+
* No description
|
|
1388
|
+
*
|
|
1389
|
+
* @tags Layers
|
|
1390
|
+
* @name SetPermissionsBatch
|
|
1391
|
+
* @operationId LayersController_SetPermissionsBatch
|
|
1392
|
+
* @summary Overrides multiply resources permissions in single batch.
|
|
1393
|
+
* @request PUT:/layers
|
|
1394
|
+
* @response `200` Success
|
|
1395
|
+
*/
|
|
1396
|
+
|
|
1397
|
+
}, {
|
|
1398
|
+
key: "setPermissionsBatch",
|
|
1399
|
+
value: function setPermissionsBatch(data) {
|
|
1400
|
+
return this.http.put("/layers", data).then(() => {});
|
|
1401
|
+
}
|
|
1327
1402
|
/**
|
|
1328
1403
|
* No description
|
|
1329
1404
|
*
|
|
@@ -2334,6 +2409,22 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
2334
2409
|
value: function createTable(data) {
|
|
2335
2410
|
return this.http.post("/tables", data).json();
|
|
2336
2411
|
}
|
|
2412
|
+
/**
|
|
2413
|
+
* No description
|
|
2414
|
+
*
|
|
2415
|
+
* @tags Tables
|
|
2416
|
+
* @name SetPermissionsBatch
|
|
2417
|
+
* @operationId TablesController_SetPermissionsBatch
|
|
2418
|
+
* @summary Overrides multiply resources permissions in single batch.
|
|
2419
|
+
* @request PUT:/tables
|
|
2420
|
+
* @response `200` Success
|
|
2421
|
+
*/
|
|
2422
|
+
|
|
2423
|
+
}, {
|
|
2424
|
+
key: "setPermissionsBatch",
|
|
2425
|
+
value: function setPermissionsBatch(data) {
|
|
2426
|
+
return this.http.put("/tables", data).then(() => {});
|
|
2427
|
+
}
|
|
2337
2428
|
/**
|
|
2338
2429
|
* No description
|
|
2339
2430
|
*
|
|
@@ -2783,6 +2874,22 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
|
|
|
2783
2874
|
value: function createProject(data) {
|
|
2784
2875
|
return this.http.post("/projects", data).json();
|
|
2785
2876
|
}
|
|
2877
|
+
/**
|
|
2878
|
+
* No description
|
|
2879
|
+
*
|
|
2880
|
+
* @tags Projects
|
|
2881
|
+
* @name SetPermissionsBatch
|
|
2882
|
+
* @operationId ProjectsController_SetPermissionsBatch
|
|
2883
|
+
* @summary Overrides multiply resources permissions in single batch.
|
|
2884
|
+
* @request PUT:/projects
|
|
2885
|
+
* @response `200` Success
|
|
2886
|
+
*/
|
|
2887
|
+
|
|
2888
|
+
}, {
|
|
2889
|
+
key: "setPermissionsBatch",
|
|
2890
|
+
value: function setPermissionsBatch(data) {
|
|
2891
|
+
return this.http.put("/projects", data).then(() => {});
|
|
2892
|
+
}
|
|
2786
2893
|
/**
|
|
2787
2894
|
* No description
|
|
2788
2895
|
*
|
|
@@ -6155,6 +6262,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
6155
6262
|
_this.styles = new Styles(_this.http);
|
|
6156
6263
|
_this.account = new Account(_this.http);
|
|
6157
6264
|
_this.accountPreview = new AccountPreview(_this.http, _this.account);
|
|
6265
|
+
_this.bulk = new BulkOperations(_this.http);
|
|
6158
6266
|
_this.security = new Security(_this.http, _this.account);
|
|
6159
6267
|
_this.notification = new Notification(_this.http);
|
|
6160
6268
|
_this.scheduler = new Scheduler(_this.http);
|
|
@@ -6847,6 +6955,7 @@ function isFeatureLayer(layer) {
|
|
|
6847
6955
|
Permissions["Configure"] = "configure";
|
|
6848
6956
|
Permissions["Write"] = "write";
|
|
6849
6957
|
Permissions["Read"] = "read";
|
|
6958
|
+
Permissions["ReadConfigure"] = "read,configure";
|
|
6850
6959
|
Permissions["ReadWrite"] = "read,write";
|
|
6851
6960
|
Permissions["All"] = "read,write,configure";
|
|
6852
6961
|
})(exports.Permissions || (exports.Permissions = {}));
|
|
@@ -6934,6 +7043,7 @@ exports.API_USER_INFO_KEY = API_USER_INFO_KEY;
|
|
|
6934
7043
|
exports.Account = Account;
|
|
6935
7044
|
exports.AccountPreview = AccountPreview;
|
|
6936
7045
|
exports.Api = Api;
|
|
7046
|
+
exports.BulkOperations = BulkOperations;
|
|
6937
7047
|
exports.ClientSettings = ClientSettings;
|
|
6938
7048
|
exports.EvergisDynamicLayer = EvergisDynamicLayer;
|
|
6939
7049
|
exports.EvergisTileLayer = EvergisTileLayer;
|