@evergis/api 3.0.51 → 3.0.52
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__/LayersService.d.ts +12 -1
- package/dist/__generated__/ProjectsService.d.ts +12 -1
- package/dist/__generated__/SecurityService.d.ts +12 -1
- package/dist/__generated__/TablesService.d.ts +12 -1
- package/dist/__generated__/data-contracts.d.ts +20 -0
- package/dist/api.cjs.development.js +65 -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 +65 -1
- package/dist/api.esm.js.map +1 -1
- package/package.json +2 -2
|
@@ -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, SetPermissionsBatchPayload, SetPreviewPayload, StyledLayerServiceConfigurationDc, SubtractParams, SubtractPayload, TileCatalogServiceInfoDc, TileServiceInfoDc, UniteParams, UnitePayload, UpdateFeaturePayload, ValidateExpressionParams } from './data-contracts';
|
|
1
|
+
import { AccessControlListDc, AggregateAttributeParams, AggregationDataResultDc, AttributeDistinctsDc, BulkOperationResultDc, ClassifyParams, CompositeServiceConfigurationDc, CompositeServiceInfoDc, CreateFeaturesPayload, DeleteFeatureParams, DeleteFeaturesParams, DeleteResourcesParams, 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
|
|
@@ -28,6 +28,17 @@ export declare class LayersService extends Service {
|
|
|
28
28
|
* @response `200` Success
|
|
29
29
|
*/
|
|
30
30
|
setPermissionsBatch(data: SetPermissionsBatchPayload): Promise<void>;
|
|
31
|
+
/**
|
|
32
|
+
* No description
|
|
33
|
+
*
|
|
34
|
+
* @tags Layers
|
|
35
|
+
* @name DeleteResources
|
|
36
|
+
* @operationId LayersController_DeleteResources
|
|
37
|
+
* @summary Bulk delete resources.
|
|
38
|
+
* @request DELETE:/layers
|
|
39
|
+
* @response `200` Success
|
|
40
|
+
*/
|
|
41
|
+
deleteResources(query: DeleteResourcesParams): Promise<BulkOperationResultDc[]>;
|
|
31
42
|
/**
|
|
32
43
|
* No description
|
|
33
44
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccessControlListDc, ExtendedProjectInfoDc, ExtendedProjectLayersInfo, FileUploadResponse, GetProjectsListParams, ListResponseProjectInfoPubDc, ResourceDependenciesDc, SetPermissionsBatchBody, SetPreviewBody, SharedProjectConfigurationDc, SharedProjectInfoDc } from './data-contracts';
|
|
1
|
+
import { AccessControlListDc, BulkOperationResultDc, DeleteResourcesParams7, 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
|
|
@@ -50,6 +50,17 @@ export declare class ProjectsService extends Service {
|
|
|
50
50
|
* @response `200` Success
|
|
51
51
|
*/
|
|
52
52
|
setPermissionsBatch(data: SetPermissionsBatchBody): Promise<void>;
|
|
53
|
+
/**
|
|
54
|
+
* No description
|
|
55
|
+
*
|
|
56
|
+
* @tags Projects
|
|
57
|
+
* @name DeleteResources
|
|
58
|
+
* @operationId ProjectsController_DeleteResources
|
|
59
|
+
* @summary Bulk delete resources.
|
|
60
|
+
* @request DELETE:/projects
|
|
61
|
+
* @response `200` Success
|
|
62
|
+
*/
|
|
63
|
+
deleteResources(query: DeleteResourcesParams7): Promise<BulkOperationResultDc[]>;
|
|
53
64
|
/**
|
|
54
65
|
* No description
|
|
55
66
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FindUserByNameParams, GetPolicyListParams, PolicyDc, RemovePolicyParams, SearchedUserDc } from './data-contracts';
|
|
1
|
+
import { FindUserByNameByRolesParams, FindUserByNameParams, GetPolicyListParams, PolicyDc, RemovePolicyParams, SearchedUserDc } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -6,6 +6,17 @@ import { Service } from './Service';
|
|
|
6
6
|
* @baseUrl /sp
|
|
7
7
|
*/
|
|
8
8
|
export declare class SecurityService extends Service {
|
|
9
|
+
/**
|
|
10
|
+
* No description
|
|
11
|
+
*
|
|
12
|
+
* @tags SecurityService
|
|
13
|
+
* @name FindUserByNameByRoles
|
|
14
|
+
* @operationId SecurityServiceController_FindUserByNameByRoles
|
|
15
|
+
* @summary Get users list with given roles list.
|
|
16
|
+
* @request GET:/security/findUsersWithRoles
|
|
17
|
+
* @response `200` Success
|
|
18
|
+
*/
|
|
19
|
+
findUserByNameByRoles(query: FindUserByNameByRolesParams): Promise<SearchedUserDc[]>;
|
|
9
20
|
/**
|
|
10
21
|
* No description
|
|
11
22
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccessControlListDc, DeleteTableDataParams, DetailedTableInfoDc, FileUploadResponse, GetTableListParams, GetUniqueDataRowsParams, MapRemoteTableInfoDc, MapRemoteTableParams, MapTableParams, MapTablePayload, MapViewInfoDc, MapViewParams, ResourceDependenciesDc, SetPermissionsBatchInput, SetPreviewInput, UpdateTableDataParams, UpdateTableDataPayload, UpdateTableDc } from './data-contracts';
|
|
1
|
+
import { AccessControlListDc, BulkOperationResultDc, DeleteResourcesParams5, 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
|
|
@@ -39,6 +39,17 @@ export declare class TablesService extends Service {
|
|
|
39
39
|
* @response `200` Success
|
|
40
40
|
*/
|
|
41
41
|
setPermissionsBatch(data: SetPermissionsBatchInput): Promise<void>;
|
|
42
|
+
/**
|
|
43
|
+
* No description
|
|
44
|
+
*
|
|
45
|
+
* @tags Tables
|
|
46
|
+
* @name DeleteResources
|
|
47
|
+
* @operationId TablesController_DeleteResources
|
|
48
|
+
* @summary Bulk delete resources.
|
|
49
|
+
* @request DELETE:/tables
|
|
50
|
+
* @response `200` Success
|
|
51
|
+
*/
|
|
52
|
+
deleteResources(query: DeleteResourcesParams5): Promise<BulkOperationResultDc[]>;
|
|
42
53
|
/**
|
|
43
54
|
* No description
|
|
44
55
|
*
|
|
@@ -1918,6 +1918,10 @@ export interface IceRouteDc {
|
|
|
1918
1918
|
attributes?: IceRouteAttributesDc;
|
|
1919
1919
|
/** Route geometry. */
|
|
1920
1920
|
geometry?: IceRouteGeometryDc;
|
|
1921
|
+
/** Gets false if route build process failed. */
|
|
1922
|
+
isSuccess?: boolean;
|
|
1923
|
+
/** Gets error message if route build process failed. */
|
|
1924
|
+
error?: string;
|
|
1921
1925
|
}
|
|
1922
1926
|
/**
|
|
1923
1927
|
* Route geometry.
|
|
@@ -5407,6 +5411,10 @@ export interface GetLayersListParams {
|
|
|
5407
5411
|
forAllUsers?: boolean;
|
|
5408
5412
|
}
|
|
5409
5413
|
export declare type SetPermissionsBatchPayload = ResourceAclDc[];
|
|
5414
|
+
export interface DeleteResourcesParams {
|
|
5415
|
+
/** Resource names. */
|
|
5416
|
+
names?: string[];
|
|
5417
|
+
}
|
|
5410
5418
|
export interface GetFeaturesParams {
|
|
5411
5419
|
/** Sets features filtering query. */
|
|
5412
5420
|
query?: string;
|
|
@@ -5799,6 +5807,10 @@ export interface GetProjectsListParams {
|
|
|
5799
5807
|
forAllUsers?: boolean;
|
|
5800
5808
|
}
|
|
5801
5809
|
export declare type SetPermissionsBatchBody = ResourceAclDc[];
|
|
5810
|
+
export interface DeleteResourcesParams7 {
|
|
5811
|
+
/** Resource names. */
|
|
5812
|
+
names?: string[];
|
|
5813
|
+
}
|
|
5802
5814
|
export interface SetPreviewBody {
|
|
5803
5815
|
/** @format binary */
|
|
5804
5816
|
file?: File;
|
|
@@ -5925,6 +5937,10 @@ export interface UploadScriptFilePayload {
|
|
|
5925
5937
|
/** @format binary */
|
|
5926
5938
|
settings?: File;
|
|
5927
5939
|
}
|
|
5940
|
+
export interface FindUserByNameByRolesParams {
|
|
5941
|
+
/** Roles. */
|
|
5942
|
+
roles?: string[];
|
|
5943
|
+
}
|
|
5928
5944
|
export interface FindUserByNameParams {
|
|
5929
5945
|
/** String filter for the username or email (uses % and _ wild cards like SQL). */
|
|
5930
5946
|
filter?: string;
|
|
@@ -6002,6 +6018,10 @@ export interface GetTableListParams {
|
|
|
6002
6018
|
geometryFilter?: string[];
|
|
6003
6019
|
}
|
|
6004
6020
|
export declare type SetPermissionsBatchInput = ResourceAclDc[];
|
|
6021
|
+
export interface DeleteResourcesParams5 {
|
|
6022
|
+
/** Resource names. */
|
|
6023
|
+
names?: string[];
|
|
6024
|
+
}
|
|
6005
6025
|
export declare type UpdateTableDataPayload = Record<string, any>[];
|
|
6006
6026
|
export interface UpdateTableDataParams {
|
|
6007
6027
|
/** Id column name. */
|
|
@@ -337,8 +337,21 @@ let SecurityService = /*#__PURE__*/function (_Service) {
|
|
|
337
337
|
}
|
|
338
338
|
|
|
339
339
|
_createClass(SecurityService, [{
|
|
340
|
-
key: "
|
|
340
|
+
key: "findUserByNameByRoles",
|
|
341
341
|
|
|
342
|
+
/**
|
|
343
|
+
* No description
|
|
344
|
+
*
|
|
345
|
+
* @tags SecurityService
|
|
346
|
+
* @name FindUserByNameByRoles
|
|
347
|
+
* @operationId SecurityServiceController_FindUserByNameByRoles
|
|
348
|
+
* @summary Get users list with given roles list.
|
|
349
|
+
* @request GET:/security/findUsersWithRoles
|
|
350
|
+
* @response `200` Success
|
|
351
|
+
*/
|
|
352
|
+
value: function findUserByNameByRoles(query) {
|
|
353
|
+
return this.http.get("/security/findUsersWithRoles", query).json();
|
|
354
|
+
}
|
|
342
355
|
/**
|
|
343
356
|
* No description
|
|
344
357
|
*
|
|
@@ -349,6 +362,9 @@ let SecurityService = /*#__PURE__*/function (_Service) {
|
|
|
349
362
|
* @request GET:/security/users
|
|
350
363
|
* @response `200` Success
|
|
351
364
|
*/
|
|
365
|
+
|
|
366
|
+
}, {
|
|
367
|
+
key: "findUserByName",
|
|
352
368
|
value: function findUserByName(query) {
|
|
353
369
|
return this.http.get("/security/users", query).json();
|
|
354
370
|
}
|
|
@@ -1462,6 +1478,22 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1462
1478
|
value: function setPermissionsBatch(data) {
|
|
1463
1479
|
return this.http.put("/layers", data).then(() => {});
|
|
1464
1480
|
}
|
|
1481
|
+
/**
|
|
1482
|
+
* No description
|
|
1483
|
+
*
|
|
1484
|
+
* @tags Layers
|
|
1485
|
+
* @name DeleteResources
|
|
1486
|
+
* @operationId LayersController_DeleteResources
|
|
1487
|
+
* @summary Bulk delete resources.
|
|
1488
|
+
* @request DELETE:/layers
|
|
1489
|
+
* @response `200` Success
|
|
1490
|
+
*/
|
|
1491
|
+
|
|
1492
|
+
}, {
|
|
1493
|
+
key: "deleteResources",
|
|
1494
|
+
value: function deleteResources(query) {
|
|
1495
|
+
return this.http.delete("/layers", null, query).json();
|
|
1496
|
+
}
|
|
1465
1497
|
/**
|
|
1466
1498
|
* No description
|
|
1467
1499
|
*
|
|
@@ -2488,6 +2520,22 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
2488
2520
|
value: function setPermissionsBatch(data) {
|
|
2489
2521
|
return this.http.put("/tables", data).then(() => {});
|
|
2490
2522
|
}
|
|
2523
|
+
/**
|
|
2524
|
+
* No description
|
|
2525
|
+
*
|
|
2526
|
+
* @tags Tables
|
|
2527
|
+
* @name DeleteResources
|
|
2528
|
+
* @operationId TablesController_DeleteResources
|
|
2529
|
+
* @summary Bulk delete resources.
|
|
2530
|
+
* @request DELETE:/tables
|
|
2531
|
+
* @response `200` Success
|
|
2532
|
+
*/
|
|
2533
|
+
|
|
2534
|
+
}, {
|
|
2535
|
+
key: "deleteResources",
|
|
2536
|
+
value: function deleteResources(query) {
|
|
2537
|
+
return this.http.delete("/tables", null, query).json();
|
|
2538
|
+
}
|
|
2491
2539
|
/**
|
|
2492
2540
|
* No description
|
|
2493
2541
|
*
|
|
@@ -2953,6 +3001,22 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
|
|
|
2953
3001
|
value: function setPermissionsBatch(data) {
|
|
2954
3002
|
return this.http.put("/projects", data).then(() => {});
|
|
2955
3003
|
}
|
|
3004
|
+
/**
|
|
3005
|
+
* No description
|
|
3006
|
+
*
|
|
3007
|
+
* @tags Projects
|
|
3008
|
+
* @name DeleteResources
|
|
3009
|
+
* @operationId ProjectsController_DeleteResources
|
|
3010
|
+
* @summary Bulk delete resources.
|
|
3011
|
+
* @request DELETE:/projects
|
|
3012
|
+
* @response `200` Success
|
|
3013
|
+
*/
|
|
3014
|
+
|
|
3015
|
+
}, {
|
|
3016
|
+
key: "deleteResources",
|
|
3017
|
+
value: function deleteResources(query) {
|
|
3018
|
+
return this.http.delete("/projects", null, query).json();
|
|
3019
|
+
}
|
|
2956
3020
|
/**
|
|
2957
3021
|
* No description
|
|
2958
3022
|
*
|