@evergis/api 3.0.44 → 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__/BulkOperationsService.d.ts +20 -0
- package/dist/__generated__/LayersService.d.ts +12 -1
- package/dist/__generated__/ProjectsService.d.ts +12 -1
- package/dist/__generated__/TablesService.d.ts +12 -1
- package/dist/__generated__/data-contracts.d.ts +23 -0
- package/dist/api.cjs.development.js +48 -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 +48 -0
- package/dist/api.esm.js.map +1 -1
- package/package.json +2 -2
|
@@ -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 { 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
|
*/
|
|
@@ -3193,6 +3204,15 @@ export declare type RemoteTileServiceInfoDc = TileServiceInfoDc & {
|
|
|
3193
3204
|
sourceServers?: string[];
|
|
3194
3205
|
copyrightText?: string;
|
|
3195
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
|
+
}
|
|
3196
3216
|
/**
|
|
3197
3217
|
* Link to a resource.
|
|
3198
3218
|
*/
|
|
@@ -5384,6 +5404,7 @@ export interface GetLayersListParams {
|
|
|
5384
5404
|
/** Filters layers list by users favorite. */
|
|
5385
5405
|
isFavorite?: boolean;
|
|
5386
5406
|
}
|
|
5407
|
+
export declare type SetPermissionsBatchPayload = ResourceAclDc[];
|
|
5387
5408
|
export interface GetFeaturesParams {
|
|
5388
5409
|
/** Sets features filtering query. */
|
|
5389
5410
|
query?: string;
|
|
@@ -5773,6 +5794,7 @@ export interface GetProjectsListParams {
|
|
|
5773
5794
|
/** Filters projects list by users favorite. */
|
|
5774
5795
|
isFavorite?: boolean;
|
|
5775
5796
|
}
|
|
5797
|
+
export declare type SetPermissionsBatchBody = ResourceAclDc[];
|
|
5776
5798
|
export interface SetPreviewBody {
|
|
5777
5799
|
/** @format binary */
|
|
5778
5800
|
file?: File;
|
|
@@ -5973,6 +5995,7 @@ export interface GetTableListParams {
|
|
|
5973
5995
|
/** Filters layers by geometry types. */
|
|
5974
5996
|
geometryFilter?: string[];
|
|
5975
5997
|
}
|
|
5998
|
+
export declare type SetPermissionsBatchInput = ResourceAclDc[];
|
|
5976
5999
|
export declare type UpdateTableDataPayload = Record<string, any>[];
|
|
5977
6000
|
export interface UpdateTableDataParams {
|
|
5978
6001
|
/** Id column name. */
|
|
@@ -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
|
*
|