@evergis/api 3.0.41 → 3.0.45
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__/AccountService.d.ts +13 -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 +155 -6
- package/dist/api.cjs.development.js +66 -1
- 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 +68 -1
- package/dist/api.esm.js.map +1 -1
- package/package.json +3 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeEmailParams, ChangePasswordPayload, ConfirmChangeEmailParams, ConfirmEmail1Params, CreateRoleDc, CreateUserDc, CreateUserParams, ExtendedUserInfoDc, GetRolesParams, GetUsersParams, IsEmailExistsParams, IsUsernameExistsParams,
|
|
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
|
|
@@ -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
|
*
|
|
@@ -280,7 +291,7 @@ export declare class AccountService extends Service {
|
|
|
280
291
|
* @request GET:/account/role/list
|
|
281
292
|
* @response `200` Success
|
|
282
293
|
*/
|
|
283
|
-
getRoles(query: GetRolesParams): Promise<
|
|
294
|
+
getRoles(query: GetRolesParams): Promise<ListResponseRoleInfoDc>;
|
|
284
295
|
/**
|
|
285
296
|
* No description
|
|
286
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. */
|
|
@@ -2301,6 +2332,19 @@ export declare enum LineEndingType {
|
|
|
2301
2332
|
Circle = "circle",
|
|
2302
2333
|
FilledCircle = "filledCircle"
|
|
2303
2334
|
}
|
|
2335
|
+
/**
|
|
2336
|
+
* The response that contains a paged list of items.
|
|
2337
|
+
*/
|
|
2338
|
+
export interface ListResponseExtendedUserInfoDc {
|
|
2339
|
+
/** The items of the response. */
|
|
2340
|
+
items?: ExtendedUserInfoDc[];
|
|
2341
|
+
/** @format int64 */
|
|
2342
|
+
totalCount?: number;
|
|
2343
|
+
/** @format int64 */
|
|
2344
|
+
offset?: number;
|
|
2345
|
+
/** @format int64 */
|
|
2346
|
+
limit?: number;
|
|
2347
|
+
}
|
|
2304
2348
|
/**
|
|
2305
2349
|
* The response that contains a paged list of items.
|
|
2306
2350
|
*/
|
|
@@ -2343,9 +2387,9 @@ export interface ListResponseProjectInfoPubDc {
|
|
|
2343
2387
|
/**
|
|
2344
2388
|
* The response that contains a paged list of items.
|
|
2345
2389
|
*/
|
|
2346
|
-
export interface
|
|
2390
|
+
export interface ListResponseRoleInfoDc {
|
|
2347
2391
|
/** The items of the response. */
|
|
2348
|
-
items?:
|
|
2392
|
+
items?: RoleInfoDc[];
|
|
2349
2393
|
/** @format int64 */
|
|
2350
2394
|
totalCount?: number;
|
|
2351
2395
|
/** @format int64 */
|
|
@@ -2356,9 +2400,9 @@ export interface ListResponseServiceInfoPubDc {
|
|
|
2356
2400
|
/**
|
|
2357
2401
|
* The response that contains a paged list of items.
|
|
2358
2402
|
*/
|
|
2359
|
-
export interface
|
|
2403
|
+
export interface ListResponseServiceInfoPubDc {
|
|
2360
2404
|
/** The items of the response. */
|
|
2361
|
-
items?:
|
|
2405
|
+
items?: ServiceInfoPubDc[];
|
|
2362
2406
|
/** @format int64 */
|
|
2363
2407
|
totalCount?: number;
|
|
2364
2408
|
/** @format int64 */
|
|
@@ -2369,9 +2413,9 @@ export interface ListResponseServiceListItemDc {
|
|
|
2369
2413
|
/**
|
|
2370
2414
|
* The response that contains a paged list of items.
|
|
2371
2415
|
*/
|
|
2372
|
-
export interface
|
|
2416
|
+
export interface ListResponseServiceListItemDc {
|
|
2373
2417
|
/** The items of the response. */
|
|
2374
|
-
items?:
|
|
2418
|
+
items?: ServiceListItemDc[];
|
|
2375
2419
|
/** @format int64 */
|
|
2376
2420
|
totalCount?: number;
|
|
2377
2421
|
/** @format int64 */
|
|
@@ -2703,6 +2747,8 @@ write
|
|
|
2703
2747
|
|
|
2704
2748
|
read
|
|
2705
2749
|
|
|
2750
|
+
read,configure
|
|
2751
|
+
|
|
2706
2752
|
read,write
|
|
2707
2753
|
|
|
2708
2754
|
read,write,configure
|
|
@@ -2712,6 +2758,7 @@ export declare enum Permissions {
|
|
|
2712
2758
|
Configure = "configure",
|
|
2713
2759
|
Write = "write",
|
|
2714
2760
|
Read = "read",
|
|
2761
|
+
ReadConfigure = "read,configure",
|
|
2715
2762
|
ReadWrite = "read,write",
|
|
2716
2763
|
All = "read,write,configure"
|
|
2717
2764
|
}
|
|
@@ -2973,6 +3020,8 @@ export interface ProjectInfoPubDc {
|
|
|
2973
3020
|
*
|
|
2974
3021
|
* read
|
|
2975
3022
|
*
|
|
3023
|
+
* read,configure
|
|
3024
|
+
*
|
|
2976
3025
|
* read,write
|
|
2977
3026
|
*
|
|
2978
3027
|
* read,write,configure
|
|
@@ -3155,6 +3204,15 @@ export declare type RemoteTileServiceInfoDc = TileServiceInfoDc & {
|
|
|
3155
3204
|
sourceServers?: string[];
|
|
3156
3205
|
copyrightText?: string;
|
|
3157
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
|
+
}
|
|
3158
3216
|
/**
|
|
3159
3217
|
* Link to a resource.
|
|
3160
3218
|
*/
|
|
@@ -3222,6 +3280,8 @@ export interface ResourceInfoDc {
|
|
|
3222
3280
|
*
|
|
3223
3281
|
* read
|
|
3224
3282
|
*
|
|
3283
|
+
* read,configure
|
|
3284
|
+
*
|
|
3225
3285
|
* read,write
|
|
3226
3286
|
*
|
|
3227
3287
|
* read,write,configure
|
|
@@ -3267,6 +3327,33 @@ export declare enum ResourceTypeLink {
|
|
|
3267
3327
|
Layer = "layers",
|
|
3268
3328
|
Project = "projects"
|
|
3269
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
|
+
}
|
|
3270
3357
|
/**
|
|
3271
3358
|
* Roles permission.
|
|
3272
3359
|
*/
|
|
@@ -3284,6 +3371,8 @@ export interface RolePermissionDc {
|
|
|
3284
3371
|
*
|
|
3285
3372
|
* read
|
|
3286
3373
|
*
|
|
3374
|
+
* read,configure
|
|
3375
|
+
*
|
|
3287
3376
|
* read,write
|
|
3288
3377
|
*
|
|
3289
3378
|
* read,write,configure
|
|
@@ -3314,6 +3403,15 @@ export declare type ScaleBarElementDc = ModelElementDc & {
|
|
|
3314
3403
|
font?: string;
|
|
3315
3404
|
fontSize?: number;
|
|
3316
3405
|
};
|
|
3406
|
+
/**
|
|
3407
|
+
* Suggest user information.
|
|
3408
|
+
*/
|
|
3409
|
+
export interface SearchedUserDc {
|
|
3410
|
+
/** Username. */
|
|
3411
|
+
username?: string;
|
|
3412
|
+
/** Photo. */
|
|
3413
|
+
photo?: string;
|
|
3414
|
+
}
|
|
3317
3415
|
/**
|
|
3318
3416
|
* General information about the server.
|
|
3319
3417
|
*/
|
|
@@ -3377,6 +3475,13 @@ export interface ServiceConfigurationBaseDc {
|
|
|
3377
3475
|
acl?: AccessControlListDc;
|
|
3378
3476
|
/** Base64 encoded image - icon of the resource. */
|
|
3379
3477
|
icon?: string;
|
|
3478
|
+
/**
|
|
3479
|
+
* <br>
|
|
3480
|
+
* If the owner user is set, a configuration will be created for that user.
|
|
3481
|
+
* Administrator permissions are required to perform this operation.
|
|
3482
|
+
*
|
|
3483
|
+
*/
|
|
3484
|
+
owner?: string;
|
|
3380
3485
|
}
|
|
3381
3486
|
/**
|
|
3382
3487
|
* Description of a service in the Spatial Processor.
|
|
@@ -3532,6 +3637,8 @@ export interface ServiceInfoPubDc {
|
|
|
3532
3637
|
*
|
|
3533
3638
|
* read
|
|
3534
3639
|
*
|
|
3640
|
+
* read,configure
|
|
3641
|
+
*
|
|
3535
3642
|
* read,write
|
|
3536
3643
|
*
|
|
3537
3644
|
* read,write,configure
|
|
@@ -3568,6 +3675,8 @@ export interface ServiceListItemDc {
|
|
|
3568
3675
|
*
|
|
3569
3676
|
* read
|
|
3570
3677
|
*
|
|
3678
|
+
* read,configure
|
|
3679
|
+
*
|
|
3571
3680
|
* read,write
|
|
3572
3681
|
*
|
|
3573
3682
|
* read,write,configure
|
|
@@ -3668,6 +3777,13 @@ export interface SharedProjectConfigurationDc {
|
|
|
3668
3777
|
acl?: AccessControlListDc;
|
|
3669
3778
|
/** Base64 encoded image - icon of the resource. */
|
|
3670
3779
|
icon?: string;
|
|
3780
|
+
/**
|
|
3781
|
+
* <br>
|
|
3782
|
+
* If the owner user is set, a configuration will be created for that user.
|
|
3783
|
+
* Administrator permissions are required to perform this operation.
|
|
3784
|
+
*
|
|
3785
|
+
*/
|
|
3786
|
+
owner?: string;
|
|
3671
3787
|
}
|
|
3672
3788
|
/**
|
|
3673
3789
|
* The {SharedProjectInfoDc} describes shared project info data contract.
|
|
@@ -3740,6 +3856,8 @@ export interface SharedProjectInfoDc {
|
|
|
3740
3856
|
*
|
|
3741
3857
|
* read
|
|
3742
3858
|
*
|
|
3859
|
+
* read,configure
|
|
3860
|
+
*
|
|
3743
3861
|
* read,write
|
|
3744
3862
|
*
|
|
3745
3863
|
* read,write,configure
|
|
@@ -3971,6 +4089,8 @@ export interface TableInfoPubDc {
|
|
|
3971
4089
|
*
|
|
3972
4090
|
* read
|
|
3973
4091
|
*
|
|
4092
|
+
* read,configure
|
|
4093
|
+
*
|
|
3974
4094
|
* read,write
|
|
3975
4095
|
*
|
|
3976
4096
|
* read,write,configure
|
|
@@ -4974,6 +5094,30 @@ export interface WorkspaceLimitsDc {
|
|
|
4974
5094
|
export interface GetUsersParams {
|
|
4975
5095
|
/** String filter for the user name (uses % and _ wild cards like SQL). */
|
|
4976
5096
|
filter?: string;
|
|
5097
|
+
/** Ordering property name. */
|
|
5098
|
+
orderBy?: string;
|
|
5099
|
+
/**
|
|
5100
|
+
* First index in the list to get.
|
|
5101
|
+
* @format int32
|
|
5102
|
+
*/
|
|
5103
|
+
offset?: number;
|
|
5104
|
+
/**
|
|
5105
|
+
* Max number of entries in the returned list.
|
|
5106
|
+
* @format int32
|
|
5107
|
+
*/
|
|
5108
|
+
limit?: number;
|
|
5109
|
+
/** If given, will retrieve only users that belong to one of the given username. */
|
|
5110
|
+
users?: string[];
|
|
5111
|
+
/** If given, will retrieve only users that belong to one of the given groups. */
|
|
5112
|
+
groups?: string[];
|
|
5113
|
+
/** If given, will retrieve only users that have one of the given roles. */
|
|
5114
|
+
roles?: string[];
|
|
5115
|
+
}
|
|
5116
|
+
export interface GetExtendedUsersParams {
|
|
5117
|
+
/** String filter for the user name (uses % and _ wild cards like SQL). */
|
|
5118
|
+
filter?: string;
|
|
5119
|
+
/** Ordering property name. */
|
|
5120
|
+
orderBy?: string;
|
|
4977
5121
|
/**
|
|
4978
5122
|
* First index in the list to get.
|
|
4979
5123
|
* @format int32
|
|
@@ -5044,6 +5188,8 @@ export interface ResetPasswordCallbackPayload {
|
|
|
5044
5188
|
export interface GetRolesParams {
|
|
5045
5189
|
/** String filter for the role name (uses % and _ wild cards like SQL). */
|
|
5046
5190
|
filter?: string;
|
|
5191
|
+
/** Ordering property name. */
|
|
5192
|
+
orderBy?: string;
|
|
5047
5193
|
/** Include system roles (starts from '__'). */
|
|
5048
5194
|
withSystem?: boolean;
|
|
5049
5195
|
/**
|
|
@@ -5258,6 +5404,7 @@ export interface GetLayersListParams {
|
|
|
5258
5404
|
/** Filters layers list by users favorite. */
|
|
5259
5405
|
isFavorite?: boolean;
|
|
5260
5406
|
}
|
|
5407
|
+
export declare type SetPermissionsBatchPayload = ResourceAclDc[];
|
|
5261
5408
|
export interface GetFeaturesParams {
|
|
5262
5409
|
/** Sets features filtering query. */
|
|
5263
5410
|
query?: string;
|
|
@@ -5647,6 +5794,7 @@ export interface GetProjectsListParams {
|
|
|
5647
5794
|
/** Filters projects list by users favorite. */
|
|
5648
5795
|
isFavorite?: boolean;
|
|
5649
5796
|
}
|
|
5797
|
+
export declare type SetPermissionsBatchBody = ResourceAclDc[];
|
|
5650
5798
|
export interface SetPreviewBody {
|
|
5651
5799
|
/** @format binary */
|
|
5652
5800
|
file?: File;
|
|
@@ -5847,6 +5995,7 @@ export interface GetTableListParams {
|
|
|
5847
5995
|
/** Filters layers by geometry types. */
|
|
5848
5996
|
geometryFilter?: string[];
|
|
5849
5997
|
}
|
|
5998
|
+
export declare type SetPermissionsBatchInput = ResourceAclDc[];
|
|
5850
5999
|
export declare type UpdateTableDataPayload = Record<string, any>[];
|
|
5851
6000
|
export interface UpdateTableDataParams {
|
|
5852
6001
|
/** Id column name. */
|
|
@@ -92,7 +92,7 @@ function _isNativeReflectConstruct() {
|
|
|
92
92
|
if (typeof Proxy === "function") return true;
|
|
93
93
|
|
|
94
94
|
try {
|
|
95
|
-
|
|
95
|
+
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
96
96
|
return true;
|
|
97
97
|
} catch (e) {
|
|
98
98
|
return false;
|
|
@@ -1324,6 +1324,22 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1324
1324
|
value: function getLayersList(query) {
|
|
1325
1325
|
return this.http.get("/layers", query).json();
|
|
1326
1326
|
}
|
|
1327
|
+
/**
|
|
1328
|
+
* No description
|
|
1329
|
+
*
|
|
1330
|
+
* @tags Layers
|
|
1331
|
+
* @name SetPermissionsBatch
|
|
1332
|
+
* @operationId LayersController_SetPermissionsBatch
|
|
1333
|
+
* @summary Overrides multiply resources permissions in single batch.
|
|
1334
|
+
* @request PUT:/layers
|
|
1335
|
+
* @response `200` Success
|
|
1336
|
+
*/
|
|
1337
|
+
|
|
1338
|
+
}, {
|
|
1339
|
+
key: "setPermissionsBatch",
|
|
1340
|
+
value: function setPermissionsBatch(data) {
|
|
1341
|
+
return this.http.put("/layers", data).then(() => {});
|
|
1342
|
+
}
|
|
1327
1343
|
/**
|
|
1328
1344
|
* No description
|
|
1329
1345
|
*
|
|
@@ -2334,6 +2350,22 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
2334
2350
|
value: function createTable(data) {
|
|
2335
2351
|
return this.http.post("/tables", data).json();
|
|
2336
2352
|
}
|
|
2353
|
+
/**
|
|
2354
|
+
* No description
|
|
2355
|
+
*
|
|
2356
|
+
* @tags Tables
|
|
2357
|
+
* @name SetPermissionsBatch
|
|
2358
|
+
* @operationId TablesController_SetPermissionsBatch
|
|
2359
|
+
* @summary Overrides multiply resources permissions in single batch.
|
|
2360
|
+
* @request PUT:/tables
|
|
2361
|
+
* @response `200` Success
|
|
2362
|
+
*/
|
|
2363
|
+
|
|
2364
|
+
}, {
|
|
2365
|
+
key: "setPermissionsBatch",
|
|
2366
|
+
value: function setPermissionsBatch(data) {
|
|
2367
|
+
return this.http.put("/tables", data).then(() => {});
|
|
2368
|
+
}
|
|
2337
2369
|
/**
|
|
2338
2370
|
* No description
|
|
2339
2371
|
*
|
|
@@ -2783,6 +2815,22 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
|
|
|
2783
2815
|
value: function createProject(data) {
|
|
2784
2816
|
return this.http.post("/projects", data).json();
|
|
2785
2817
|
}
|
|
2818
|
+
/**
|
|
2819
|
+
* No description
|
|
2820
|
+
*
|
|
2821
|
+
* @tags Projects
|
|
2822
|
+
* @name SetPermissionsBatch
|
|
2823
|
+
* @operationId ProjectsController_SetPermissionsBatch
|
|
2824
|
+
* @summary Overrides multiply resources permissions in single batch.
|
|
2825
|
+
* @request PUT:/projects
|
|
2826
|
+
* @response `200` Success
|
|
2827
|
+
*/
|
|
2828
|
+
|
|
2829
|
+
}, {
|
|
2830
|
+
key: "setPermissionsBatch",
|
|
2831
|
+
value: function setPermissionsBatch(data) {
|
|
2832
|
+
return this.http.put("/projects", data).then(() => {});
|
|
2833
|
+
}
|
|
2786
2834
|
/**
|
|
2787
2835
|
* No description
|
|
2788
2836
|
*
|
|
@@ -4372,6 +4420,22 @@ let AccountService = /*#__PURE__*/function (_Service) {
|
|
|
4372
4420
|
value: function getUsers(query) {
|
|
4373
4421
|
return this.http.get("/account/user/list", query).json();
|
|
4374
4422
|
}
|
|
4423
|
+
/**
|
|
4424
|
+
* No description
|
|
4425
|
+
*
|
|
4426
|
+
* @tags Account
|
|
4427
|
+
* @name GetExtendedUsers
|
|
4428
|
+
* @operationId AccountController_GetExtendedUsers
|
|
4429
|
+
* @summary Returns the list of extended users informations that correspond to the given conditions.
|
|
4430
|
+
* @request GET:/account/user/extendedlist
|
|
4431
|
+
* @response `200` Success
|
|
4432
|
+
*/
|
|
4433
|
+
|
|
4434
|
+
}, {
|
|
4435
|
+
key: "getExtendedUsers",
|
|
4436
|
+
value: function getExtendedUsers(query) {
|
|
4437
|
+
return this.http.get("/account/user/extendedlist", query).json();
|
|
4438
|
+
}
|
|
4375
4439
|
/**
|
|
4376
4440
|
* No description
|
|
4377
4441
|
*
|
|
@@ -6831,6 +6895,7 @@ function isFeatureLayer(layer) {
|
|
|
6831
6895
|
Permissions["Configure"] = "configure";
|
|
6832
6896
|
Permissions["Write"] = "write";
|
|
6833
6897
|
Permissions["Read"] = "read";
|
|
6898
|
+
Permissions["ReadConfigure"] = "read,configure";
|
|
6834
6899
|
Permissions["ReadWrite"] = "read,write";
|
|
6835
6900
|
Permissions["All"] = "read,write,configure";
|
|
6836
6901
|
})(exports.Permissions || (exports.Permissions = {}));
|