@evergis/api 4.0.11 → 4.0.13
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__/FiltersService.d.ts +4 -4
- package/dist/__generated__/ProjectsService.d.ts +2 -2
- package/dist/__generated__/SecurityService.d.ts +11 -0
- package/dist/__generated__/StatisticService.d.ts +2 -2
- package/dist/__generated__/TablesService.d.ts +2 -2
- package/dist/__generated__/WmsServerService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +35 -25
- package/dist/api.cjs.development.js +18 -2
- 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 +18 -2
- package/dist/api.esm.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FilterDc, FilterResponseDc } 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 FiltersService extends Service {
|
|
|
16
16
|
* @request GET:/filters/{id}
|
|
17
17
|
* @response `200` OK
|
|
18
18
|
*/
|
|
19
|
-
get(id: string): Promise<
|
|
19
|
+
get(id: string): Promise<FilterResponseDc>;
|
|
20
20
|
/**
|
|
21
21
|
* No description
|
|
22
22
|
*
|
|
@@ -27,7 +27,7 @@ export declare class FiltersService extends Service {
|
|
|
27
27
|
* @request POST:/filters/{id}
|
|
28
28
|
* @response `200` OK
|
|
29
29
|
*/
|
|
30
|
-
update(id: string, data: FilterDc): Promise<
|
|
30
|
+
update(id: string, data: FilterDc): Promise<FilterResponseDc>;
|
|
31
31
|
/**
|
|
32
32
|
* No description
|
|
33
33
|
*
|
|
@@ -38,5 +38,5 @@ export declare class FiltersService extends Service {
|
|
|
38
38
|
* @request POST:/filters
|
|
39
39
|
* @response `200` OK
|
|
40
40
|
*/
|
|
41
|
-
create(data: FilterDc): Promise<
|
|
41
|
+
create(data: FilterDc): Promise<FilterResponseDc>;
|
|
42
42
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BulkOperationResultDc,
|
|
1
|
+
import { BulkOperationResultDc, DeleteResourcesParams10, EnvelopeDc, ExtendedProjectInfoDc, ExtendedProjectLayersInfo, GetProjectEnvelopeParams, GetProjectsInfoParams, GetProjectsListParams, PagedListProjectInfoDc, ProjectsListDc, ResourceDependenciesDc } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -38,7 +38,7 @@ export declare class ProjectsService extends Service {
|
|
|
38
38
|
* @request DELETE:/projects
|
|
39
39
|
* @response `200` OK
|
|
40
40
|
*/
|
|
41
|
-
deleteResources(query:
|
|
41
|
+
deleteResources(query: DeleteResourcesParams10): Promise<BulkOperationResultDc[]>;
|
|
42
42
|
/**
|
|
43
43
|
* No description
|
|
44
44
|
*
|
|
@@ -83,6 +83,17 @@ export declare class SecurityService extends Service {
|
|
|
83
83
|
* @response `200` OK
|
|
84
84
|
*/
|
|
85
85
|
setPolicy(data: PolicyDc): Promise<void>;
|
|
86
|
+
/**
|
|
87
|
+
* No description
|
|
88
|
+
*
|
|
89
|
+
* @tags SecurityService
|
|
90
|
+
* @name OldCheckLimits
|
|
91
|
+
* @operationId SecurityServiceController_OldCheckLimits
|
|
92
|
+
* @summary Get limits of workspace.
|
|
93
|
+
* @request GET:/security/checkLimits/{userName}
|
|
94
|
+
* @response `200` OK
|
|
95
|
+
*/
|
|
96
|
+
oldCheckLimits(userName: string | null): Promise<WorkspaceLimitsDc>;
|
|
86
97
|
/**
|
|
87
98
|
* No description
|
|
88
99
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ClassifyDc,
|
|
1
|
+
import { ClassifyDc, ClassifyParams8, GetClassifyDc, GetStatisticsDc, GetSumOfProductDc, StatisticsDbParams, StatisticsDc, SumOfProductParams } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -38,7 +38,7 @@ export declare class StatisticService extends Service {
|
|
|
38
38
|
* @request GET:/statistics/classify
|
|
39
39
|
* @response `200` OK
|
|
40
40
|
*/
|
|
41
|
-
classify(query:
|
|
41
|
+
classify(query: ClassifyParams8): Promise<ClassifyDc>;
|
|
42
42
|
/**
|
|
43
43
|
* No description
|
|
44
44
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BulkOperationResultDc, CreateViewFromQueryDc, CreateViewFromQueryLayerDc,
|
|
1
|
+
import { BulkOperationResultDc, CreateViewFromQueryDc, CreateViewFromQueryLayerDc, DeleteResourcesParams4, DeleteTableDataParams, DetailedTableInfoDc, GetTableDataParams, GetTableListParams, GetTablesInfoParams, MapTableInfoDc, MapTableParams, PagedBulkFeaturesListDc, PagedFeaturesListDc, PagedListFeatureDc, PagedListTableListItemDc, ResourceDependenciesDc, UpdateTableDataParams, UpdateTableDataPayload, UpdateTableDc, WriteTableDataPayload } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -38,7 +38,7 @@ export declare class TablesService extends Service {
|
|
|
38
38
|
* @request DELETE:/tables
|
|
39
39
|
* @response `200` OK
|
|
40
40
|
*/
|
|
41
|
-
deleteResources(query:
|
|
41
|
+
deleteResources(query: DeleteResourcesParams4): Promise<BulkOperationResultDc[]>;
|
|
42
42
|
/**
|
|
43
43
|
* No description
|
|
44
44
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GetCapabilities1Params,
|
|
1
|
+
import { GetCapabilities1Params, GetCapabilitiesParams3, GetFeatureInfoParams, GetLegendGraphicParams, GetMapParams } 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 WmsServerService extends Service {
|
|
|
16
16
|
* @request GET:/wms#REQUEST=GetCapabilities
|
|
17
17
|
* @response `200` OK
|
|
18
18
|
*/
|
|
19
|
-
getCapabilities(query:
|
|
19
|
+
getCapabilities(query: GetCapabilitiesParams3): Promise<void>;
|
|
20
20
|
/**
|
|
21
21
|
* No description
|
|
22
22
|
*
|
|
@@ -1977,7 +1977,7 @@ export interface FailedServiceInfoDc {
|
|
|
1977
1977
|
*/
|
|
1978
1978
|
export interface FeatureDc {
|
|
1979
1979
|
/** Feature geometry definition. */
|
|
1980
|
-
geometry?: EnvelopeDc |
|
|
1980
|
+
geometry?: EnvelopeDc | PolygonDc | PolylineDc | MultiPointDc | PointDc;
|
|
1981
1981
|
/** Feature attributes collection. */
|
|
1982
1982
|
attributes: Record<string, any>;
|
|
1983
1983
|
/** Feature unique identifier. */
|
|
@@ -2167,19 +2167,23 @@ export declare type FilledSquareLineEndingDc = LineEndingBaseDc & {
|
|
|
2167
2167
|
vOffset?: CalculatedParameterDc | null;
|
|
2168
2168
|
hOffset?: CalculatedParameterDc | null;
|
|
2169
2169
|
};
|
|
2170
|
-
/**
|
|
2171
|
-
* Server response for the creation of a filter in filter service.
|
|
2172
|
-
*/
|
|
2173
|
-
export interface FilterCreationResponseDc {
|
|
2174
|
-
/** Id of the filter. */
|
|
2175
|
-
id?: string;
|
|
2176
|
-
}
|
|
2177
2170
|
/**
|
|
2178
2171
|
* Provides filter data contract.
|
|
2179
2172
|
*/
|
|
2180
2173
|
export interface FilterDc {
|
|
2181
2174
|
/** Filter string to save. */
|
|
2182
|
-
filterString
|
|
2175
|
+
filterString?: string;
|
|
2176
|
+
/** Filter conditions. */
|
|
2177
|
+
conditions?: string[];
|
|
2178
|
+
}
|
|
2179
|
+
/**
|
|
2180
|
+
* Server response for the creation of a filter in filter service.
|
|
2181
|
+
*/
|
|
2182
|
+
export interface FilterResponseDc {
|
|
2183
|
+
/** Id of the filter. */
|
|
2184
|
+
id?: string;
|
|
2185
|
+
/** Filter conditions. */
|
|
2186
|
+
conditions?: string[];
|
|
2183
2187
|
}
|
|
2184
2188
|
/**
|
|
2185
2189
|
* Sets whether font should be styled.
|
|
@@ -2267,7 +2271,7 @@ export interface GeocodeResultDc {
|
|
|
2267
2271
|
/** The position at the map in [X, Y] format. */
|
|
2268
2272
|
center?: PositionDc;
|
|
2269
2273
|
/** Result geometry. */
|
|
2270
|
-
geometry?: EnvelopeDc |
|
|
2274
|
+
geometry?: EnvelopeDc | PolygonDc | PolylineDc | MultiPointDc | PointDc;
|
|
2271
2275
|
}
|
|
2272
2276
|
/**
|
|
2273
2277
|
* Geocode suggest result.
|
|
@@ -2337,6 +2341,8 @@ export interface GetBulkExtentsDc {
|
|
|
2337
2341
|
layerName?: string;
|
|
2338
2342
|
/** If set, only the features that satisfy the condition will be considered when calculating the extent. */
|
|
2339
2343
|
query?: string;
|
|
2344
|
+
/** Filter conditions. */
|
|
2345
|
+
conditions?: string[];
|
|
2340
2346
|
}
|
|
2341
2347
|
/**
|
|
2342
2348
|
* Get features from layer paramaters.
|
|
@@ -2392,6 +2398,8 @@ export interface GetClassifyDc {
|
|
|
2392
2398
|
attributeName: string;
|
|
2393
2399
|
/** Layer condition. */
|
|
2394
2400
|
condition?: string;
|
|
2401
|
+
/** Collection of filtering conditions. */
|
|
2402
|
+
conditions?: string[];
|
|
2395
2403
|
/**
|
|
2396
2404
|
* The number of classes.
|
|
2397
2405
|
* @format int32
|
|
@@ -2477,6 +2485,8 @@ export interface GetFeaturesParametersDc {
|
|
|
2477
2485
|
export interface GetFilteredFeaturesCountDc {
|
|
2478
2486
|
/** Layer condition. */
|
|
2479
2487
|
condition?: string;
|
|
2488
|
+
/** Collection of filtering conditions. */
|
|
2489
|
+
conditions?: string[];
|
|
2480
2490
|
}
|
|
2481
2491
|
/**
|
|
2482
2492
|
* Get statistics data contract.
|
|
@@ -2488,6 +2498,8 @@ export interface GetStatisticsDc {
|
|
|
2488
2498
|
attributeName: string;
|
|
2489
2499
|
/** Condition. */
|
|
2490
2500
|
condition?: string;
|
|
2501
|
+
/** Collection of filtering conditions. */
|
|
2502
|
+
conditions?: string[];
|
|
2491
2503
|
/** Type of required statistic function. */
|
|
2492
2504
|
types?: AggregationFunction[];
|
|
2493
2505
|
}
|
|
@@ -2501,6 +2513,8 @@ export interface GetSumOfProductDc {
|
|
|
2501
2513
|
attributes: string[];
|
|
2502
2514
|
/** Layer condition. */
|
|
2503
2515
|
condition?: string;
|
|
2516
|
+
/** Collection of filtering conditions. */
|
|
2517
|
+
conditions?: string[];
|
|
2504
2518
|
}
|
|
2505
2519
|
/**
|
|
2506
2520
|
* Map element data contract.
|
|
@@ -3529,12 +3543,6 @@ export declare enum PolicyType {
|
|
|
3529
3543
|
MaxUploadContentSize = "MaxUploadContentSize",
|
|
3530
3544
|
MaxEqlQueryParametersValues = "MaxEqlQueryParametersValues"
|
|
3531
3545
|
}
|
|
3532
|
-
/**
|
|
3533
|
-
* Polyline and Polygon base geometry object definition.
|
|
3534
|
-
*/
|
|
3535
|
-
export declare type PolyDc = GeometryDc & {
|
|
3536
|
-
coordinates: PositionDc[][];
|
|
3537
|
-
};
|
|
3538
3546
|
/**
|
|
3539
3547
|
* Label for polygon objects. It is drawn at the most appropriate place inside a polygon.
|
|
3540
3548
|
*/
|
|
@@ -3545,8 +3553,9 @@ export declare type PolygonCenterLabelSymbolDc = LabelSymbolDc & {
|
|
|
3545
3553
|
/**
|
|
3546
3554
|
* Polygon geometry object definition.
|
|
3547
3555
|
*/
|
|
3548
|
-
export declare type PolygonDc =
|
|
3556
|
+
export declare type PolygonDc = GeometryDc & {
|
|
3549
3557
|
type?: GeometryType;
|
|
3558
|
+
coordinates: PositionDc[][];
|
|
3550
3559
|
};
|
|
3551
3560
|
/**
|
|
3552
3561
|
* <inheritdoc cref="T:SPCore.Kernel.Rendering.Symbols.Adv.PolygonGridSymbol" />
|
|
@@ -3576,8 +3585,9 @@ export declare type PolygonSymbolDc = SymbolDc & {
|
|
|
3576
3585
|
/**
|
|
3577
3586
|
* Polyline geometry object definition.
|
|
3578
3587
|
*/
|
|
3579
|
-
export declare type PolylineDc =
|
|
3588
|
+
export declare type PolylineDc = GeometryDc & {
|
|
3580
3589
|
type?: GeometryType;
|
|
3590
|
+
coordinates: PositionDc[][];
|
|
3581
3591
|
};
|
|
3582
3592
|
/**
|
|
3583
3593
|
* Label for polyline objects. It is drawn repeatedly along a line.
|
|
@@ -6304,7 +6314,7 @@ export declare type TracksSymbolDc = TrackSymbolBaseDc & {
|
|
|
6304
6314
|
*/
|
|
6305
6315
|
export interface UpdateFeatureDc {
|
|
6306
6316
|
/** Feature geometry definition. */
|
|
6307
|
-
geometry?: EnvelopeDc |
|
|
6317
|
+
geometry?: EnvelopeDc | PolygonDc | PolylineDc | MultiPointDc | PointDc;
|
|
6308
6318
|
/** Feature attributes collection. */
|
|
6309
6319
|
attributes?: Record<string, any>;
|
|
6310
6320
|
/** Feature unique identifier. */
|
|
@@ -7369,7 +7379,7 @@ export interface GetByIdParams {
|
|
|
7369
7379
|
/**
|
|
7370
7380
|
* Geometry data contract.
|
|
7371
7381
|
*/
|
|
7372
|
-
export declare type UnitePayload = EnvelopeDc |
|
|
7382
|
+
export declare type UnitePayload = EnvelopeDc | PolygonDc | PolylineDc | MultiPointDc | PointDc;
|
|
7373
7383
|
export interface UniteParams {
|
|
7374
7384
|
/**
|
|
7375
7385
|
* Spatial reference of result feature.
|
|
@@ -7384,7 +7394,7 @@ export interface UniteParams {
|
|
|
7384
7394
|
/**
|
|
7385
7395
|
* Geometry data contract.
|
|
7386
7396
|
*/
|
|
7387
|
-
export declare type SubtractPayload = EnvelopeDc |
|
|
7397
|
+
export declare type SubtractPayload = EnvelopeDc | PolygonDc | PolylineDc | MultiPointDc | PointDc;
|
|
7388
7398
|
export interface SubtractParams {
|
|
7389
7399
|
/**
|
|
7390
7400
|
* Spatial reference id of result features.
|
|
@@ -7723,7 +7733,7 @@ export interface GetProjectsListParams {
|
|
|
7723
7733
|
/** Filter layers by set of tags. */
|
|
7724
7734
|
tags?: string[];
|
|
7725
7735
|
}
|
|
7726
|
-
export interface
|
|
7736
|
+
export interface DeleteResourcesParams10 {
|
|
7727
7737
|
/** Resource names. */
|
|
7728
7738
|
names?: string[];
|
|
7729
7739
|
}
|
|
@@ -7922,7 +7932,7 @@ export interface StatisticsDbParams {
|
|
|
7922
7932
|
*/
|
|
7923
7933
|
types?: AggregationFunction[];
|
|
7924
7934
|
}
|
|
7925
|
-
export interface
|
|
7935
|
+
export interface ClassifyParams8 {
|
|
7926
7936
|
/** Layer name. */
|
|
7927
7937
|
name: string;
|
|
7928
7938
|
/** Attribute name. */
|
|
@@ -8054,7 +8064,7 @@ export interface GetTableListParams {
|
|
|
8054
8064
|
/** All available permissions list. */
|
|
8055
8065
|
acl?: string;
|
|
8056
8066
|
}
|
|
8057
|
-
export interface
|
|
8067
|
+
export interface DeleteResourcesParams4 {
|
|
8058
8068
|
/** Resource names. */
|
|
8059
8069
|
names?: string[];
|
|
8060
8070
|
}
|
|
@@ -8169,7 +8179,7 @@ export interface GetPublicCapabilitiesParams {
|
|
|
8169
8179
|
/** When omitted or not supported by server, server shall return service metadata document using the MIME type "text/xml". */
|
|
8170
8180
|
AcceptFormats?: string[];
|
|
8171
8181
|
}
|
|
8172
|
-
export interface
|
|
8182
|
+
export interface GetCapabilitiesParams3 {
|
|
8173
8183
|
/** Output format of service metadata. */
|
|
8174
8184
|
Format?: string;
|
|
8175
8185
|
/** Must be WMS. */
|
|
@@ -2787,7 +2787,7 @@ let FiltersService = /*#__PURE__*/function (_Service) {
|
|
|
2787
2787
|
* @response `200` OK
|
|
2788
2788
|
*/
|
|
2789
2789
|
function get(id) {
|
|
2790
|
-
return this.http.get("/filters/" + id).
|
|
2790
|
+
return this.http.get("/filters/" + id).json();
|
|
2791
2791
|
}
|
|
2792
2792
|
/**
|
|
2793
2793
|
* No description
|
|
@@ -2803,7 +2803,7 @@ let FiltersService = /*#__PURE__*/function (_Service) {
|
|
|
2803
2803
|
}, {
|
|
2804
2804
|
key: "update",
|
|
2805
2805
|
value: function update(id, data) {
|
|
2806
|
-
return this.http.post("/filters/" + id, data).
|
|
2806
|
+
return this.http.post("/filters/" + id, data).json();
|
|
2807
2807
|
}
|
|
2808
2808
|
/**
|
|
2809
2809
|
* No description
|
|
@@ -5881,6 +5881,22 @@ let SecurityService = /*#__PURE__*/function (_Service) {
|
|
|
5881
5881
|
value: function setPolicy(data) {
|
|
5882
5882
|
return this.http.post("/security/policies", data).then(() => {});
|
|
5883
5883
|
}
|
|
5884
|
+
/**
|
|
5885
|
+
* No description
|
|
5886
|
+
*
|
|
5887
|
+
* @tags SecurityService
|
|
5888
|
+
* @name OldCheckLimits
|
|
5889
|
+
* @operationId SecurityServiceController_OldCheckLimits
|
|
5890
|
+
* @summary Get limits of workspace.
|
|
5891
|
+
* @request GET:/security/checkLimits/{userName}
|
|
5892
|
+
* @response `200` OK
|
|
5893
|
+
*/
|
|
5894
|
+
|
|
5895
|
+
}, {
|
|
5896
|
+
key: "oldCheckLimits",
|
|
5897
|
+
value: function oldCheckLimits(userName) {
|
|
5898
|
+
return this.http.get("/security/checkLimits/" + userName).json();
|
|
5899
|
+
}
|
|
5884
5900
|
/**
|
|
5885
5901
|
* No description
|
|
5886
5902
|
*
|