@evergis/api 4.0.19 → 4.0.21
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 +14 -2
- package/dist/__generated__/ProjectsService.d.ts +14 -2
- 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 +47 -13
- package/dist/api.cjs.development.js +36 -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 +42 -2
- package/dist/api.esm.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AggregateAttributeParams, AggregationDataResultDc, AttributeDistinctsDc, BulkExtentsDc, BulkFilteredFeaturesCountDc, BulkOperationResultDc, ClassifyDc, ClassifyParams, CreateFeaturesPayload, DeleteByConditionParams, DeleteFeatureParams, DeleteFeaturesParams, DeleteResourcesParams, DistinctsParams, EditAttributesInfoDc, EnvelopeDc, ExpressionValidationResultDc, FeatureDc, GetBulkExtentsParams, GetBulkExtentsPayload, GetBulkFeaturesPayload, GetByIdParams, GetFeatures1Params, GetFeaturesParametersDc, GetFilteredFeaturesCount1Params, GetFilteredFeaturesCountDc, GetFilteredFeaturesCountPayload, GetLayerExtentParams, GetLayerImageParams, GetLayersInfoParams, GetLayersListParams,
|
|
1
|
+
import { AggregateAttributeParams, AggregationDataResultDc, AttributeDistinctsDc, BulkExtentsDc, BulkFilteredFeaturesCountDc, BulkOperationResultDc, ClassifyDc, ClassifyParams, CreateFeaturesPayload, DeleteByConditionParams, DeleteFeatureParams, DeleteFeaturesParams, DeleteResourcesParams, DistinctsParams, EditAttributesInfoDc, EnvelopeDc, ExpressionValidationResultDc, FeatureDc, GetBulkExtentsParams, GetBulkExtentsPayload, GetBulkFeaturesPayload, GetByIdParams, GetFeatures1Params, GetFeaturesParametersDc, GetFilteredFeaturesCount1Params, GetFilteredFeaturesCountDc, GetFilteredFeaturesCountPayload, GetLayerExtentParams, GetLayerImageParams, GetLayersInfoParams, GetLayersListParams, GetRasterMetaParams8, GetTilesLayerImage1Params, GetTilesLayerImageParams, GetTilesLayerImageWithFormatAndDpiParams, LayerUpdateInfoDc, LinearServiceConfigurationDc, NetCdfMetaDc, PagedBulkFeaturesListDc, PagedFeaturesListDc, PbfServiceConfigurationDc, PbfServiceInfoDc, PostgresTileCatalogServiceConfigurationDc, ProxyServiceInfoDc, PublishProxyServicePayload, PythonServiceConfigurationDc, PythonServiceInfoDc, QueryLayerServiceConfigurationDc, QueryLayerServiceInfoDc, RasterMetaDc, RemoteTileServiceConfigurationDc, RemoteTileServiceInfoDc, ResourceDependenciesDc, ResourceInfoDc, RouteFeatureDc, RouteServiceConfigurationDc, ServiceInfoDc, ServiceListDc, SimpleSymbolDc, StyleDc, SubtractParams, SubtractPayload, TileCatalogServiceInfoDc, UniteParams, UnitePayload, UpdateFeaturePayload, UpdateProxyServicePayload, ValidateExpressionParams } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -546,6 +546,18 @@ export declare class LayersService extends Service {
|
|
|
546
546
|
* @response `200` OK
|
|
547
547
|
*/
|
|
548
548
|
validateExpression({ layerName, ...query }: ValidateExpressionParams): Promise<ExpressionValidationResultDc>;
|
|
549
|
+
/**
|
|
550
|
+
* No description
|
|
551
|
+
*
|
|
552
|
+
* @tags Layers
|
|
553
|
+
* @name FlipCoordinates
|
|
554
|
+
* @operationId LayersController_FlipCoordinates
|
|
555
|
+
* @summary Flip geometry coordinates.
|
|
556
|
+
* @request POST:/layers/{layerName}/flip-coordinates
|
|
557
|
+
* @secure
|
|
558
|
+
* @response `200` OK
|
|
559
|
+
*/
|
|
560
|
+
flipCoordinates(layerName: string): Promise<ResourceInfoDc | ServiceInfoDc>;
|
|
549
561
|
/**
|
|
550
562
|
* No description
|
|
551
563
|
*
|
|
@@ -557,7 +569,7 @@ export declare class LayersService extends Service {
|
|
|
557
569
|
* @secure
|
|
558
570
|
* @response `200` OK
|
|
559
571
|
*/
|
|
560
|
-
getRasterMeta({ name, id, ...query }:
|
|
572
|
+
getRasterMeta({ name, id, ...query }: GetRasterMetaParams8): Promise<(RasterMetaDc | NetCdfMetaDc)[]>;
|
|
561
573
|
/**
|
|
562
574
|
* No description
|
|
563
575
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BulkOperationResultDc,
|
|
1
|
+
import { BulkOperationResultDc, DeleteResourcesParams3, EnvelopeDc, ExtendedProjectInfoDc, ExtendedProjectLayersInfo, GetProjectEnvelopeParams, GetProjectsInfoParams, GetProjectsListParams, JsonPatchDocumentExtendedProjectInfoDcV2, PagedListProjectInfoDc, ProjectsListDc, ResourceDependenciesDc, UpdateProjectV2Payload } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -41,7 +41,7 @@ export declare class ProjectsService extends Service {
|
|
|
41
41
|
* @secure
|
|
42
42
|
* @response `200` OK
|
|
43
43
|
*/
|
|
44
|
-
deleteResources(query:
|
|
44
|
+
deleteResources(query: DeleteResourcesParams3): Promise<BulkOperationResultDc[]>;
|
|
45
45
|
/**
|
|
46
46
|
* No description
|
|
47
47
|
*
|
|
@@ -78,6 +78,18 @@ export declare class ProjectsService extends Service {
|
|
|
78
78
|
* @response `200` OK
|
|
79
79
|
*/
|
|
80
80
|
deleteResource(name: string): Promise<void>;
|
|
81
|
+
/**
|
|
82
|
+
* No description
|
|
83
|
+
*
|
|
84
|
+
* @tags Projects
|
|
85
|
+
* @name UpdateProjectV2
|
|
86
|
+
* @operationId ProjectsController_UpdateProjectV2
|
|
87
|
+
* @summary Update table.
|
|
88
|
+
* @request PATCH:/projects/{name}/v2
|
|
89
|
+
* @secure
|
|
90
|
+
* @response `200` OK
|
|
91
|
+
*/
|
|
92
|
+
updateProjectV2(name: string, data: UpdateProjectV2Payload): Promise<JsonPatchDocumentExtendedProjectInfoDcV2>;
|
|
81
93
|
/**
|
|
82
94
|
* No description
|
|
83
95
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ClassifyDc,
|
|
1
|
+
import { ClassifyDc, ClassifyParams4, GetClassifyDc, GetStatisticsDc, GetSumOfProductDc, StatisticsDbParams, StatisticsDc, SumOfProductParams } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -41,7 +41,7 @@ export declare class StatisticService extends Service {
|
|
|
41
41
|
* @secure
|
|
42
42
|
* @response `200` OK
|
|
43
43
|
*/
|
|
44
|
-
classify(query:
|
|
44
|
+
classify(query: ClassifyParams4): Promise<ClassifyDc>;
|
|
45
45
|
/**
|
|
46
46
|
* No description
|
|
47
47
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BulkOperationResultDc, CreateViewFromQueryDc, CreateViewFromQueryLayerDc,
|
|
1
|
+
import { BulkOperationResultDc, CreateViewFromQueryDc, CreateViewFromQueryLayerDc, DeleteResourcesParams5, 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
|
|
@@ -41,7 +41,7 @@ export declare class TablesService extends Service {
|
|
|
41
41
|
* @secure
|
|
42
42
|
* @response `200` OK
|
|
43
43
|
*/
|
|
44
|
-
deleteResources(query:
|
|
44
|
+
deleteResources(query: DeleteResourcesParams5): Promise<BulkOperationResultDc[]>;
|
|
45
45
|
/**
|
|
46
46
|
* No description
|
|
47
47
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GetCapabilities1Params,
|
|
1
|
+
import { GetCapabilities1Params, GetCapabilitiesParams8, GetFeatureInfoParams, GetLegendGraphicParams, GetMapParams } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -17,7 +17,7 @@ export declare class WmsServerService extends Service {
|
|
|
17
17
|
* @secure
|
|
18
18
|
* @response `200` OK
|
|
19
19
|
*/
|
|
20
|
-
getCapabilities(query:
|
|
20
|
+
getCapabilities(query: GetCapabilitiesParams8): Promise<void>;
|
|
21
21
|
/**
|
|
22
22
|
* No description
|
|
23
23
|
*
|
|
@@ -977,7 +977,7 @@ export declare type ClassificationRasterSymbolDc = RasterSymbolDc & {
|
|
|
977
977
|
defaultColor?: ParameterDcColor;
|
|
978
978
|
};
|
|
979
979
|
/**
|
|
980
|
-
*
|
|
980
|
+
*
|
|
981
981
|
|
|
982
982
|
none
|
|
983
983
|
|
|
@@ -987,6 +987,10 @@ equalInterval
|
|
|
987
987
|
|
|
988
988
|
quantile
|
|
989
989
|
|
|
990
|
+
distinct
|
|
991
|
+
|
|
992
|
+
step
|
|
993
|
+
|
|
990
994
|
unique
|
|
991
995
|
*/
|
|
992
996
|
export declare enum ClassificationType {
|
|
@@ -994,6 +998,8 @@ export declare enum ClassificationType {
|
|
|
994
998
|
NaturalBreaks = "naturalBreaks",
|
|
995
999
|
EqualInterval = "equalInterval",
|
|
996
1000
|
Quantile = "quantile",
|
|
1001
|
+
Distinct = "distinct",
|
|
1002
|
+
Step = "step",
|
|
997
1003
|
Unique = "unique"
|
|
998
1004
|
}
|
|
999
1005
|
/**
|
|
@@ -2442,7 +2448,7 @@ export interface GetClassifyDc {
|
|
|
2442
2448
|
*/
|
|
2443
2449
|
precision?: number;
|
|
2444
2450
|
/**
|
|
2445
|
-
*
|
|
2451
|
+
*
|
|
2446
2452
|
*
|
|
2447
2453
|
* none
|
|
2448
2454
|
*
|
|
@@ -2452,6 +2458,10 @@ export interface GetClassifyDc {
|
|
|
2452
2458
|
*
|
|
2453
2459
|
* quantile
|
|
2454
2460
|
*
|
|
2461
|
+
* distinct
|
|
2462
|
+
*
|
|
2463
|
+
* step
|
|
2464
|
+
*
|
|
2455
2465
|
* unique
|
|
2456
2466
|
*/
|
|
2457
2467
|
type?: ClassificationType;
|
|
@@ -2754,6 +2764,9 @@ export declare type IsolinesLabelSymbolDc = LabelSymbolDc & {
|
|
|
2754
2764
|
type?: string | null;
|
|
2755
2765
|
placement?: ParameterDcString;
|
|
2756
2766
|
};
|
|
2767
|
+
export interface JsonPatchDocumentExtendedProjectInfoDcV2 {
|
|
2768
|
+
operations?: OperationExtendedProjectInfoDcV2[];
|
|
2769
|
+
}
|
|
2757
2770
|
/**
|
|
2758
2771
|
* Base class for labels.
|
|
2759
2772
|
*/
|
|
@@ -3236,6 +3249,18 @@ export declare type NoneEndingDc = LineEndingBaseDc & {
|
|
|
3236
3249
|
type?: LineEndingType;
|
|
3237
3250
|
};
|
|
3238
3251
|
export declare type ObjectId = object;
|
|
3252
|
+
export interface Operation {
|
|
3253
|
+
value?: any;
|
|
3254
|
+
path?: string;
|
|
3255
|
+
op?: string;
|
|
3256
|
+
from?: string;
|
|
3257
|
+
}
|
|
3258
|
+
export interface OperationExtendedProjectInfoDcV2 {
|
|
3259
|
+
value?: any;
|
|
3260
|
+
path?: string;
|
|
3261
|
+
op?: string;
|
|
3262
|
+
from?: string;
|
|
3263
|
+
}
|
|
3239
3264
|
/**
|
|
3240
3265
|
* Filter exists resources by owner.
|
|
3241
3266
|
|
|
@@ -4421,7 +4446,7 @@ export interface RegisterUserDc {
|
|
|
4421
4446
|
password?: string;
|
|
4422
4447
|
}
|
|
4423
4448
|
/**
|
|
4424
|
-
*
|
|
4449
|
+
*
|
|
4425
4450
|
|
|
4426
4451
|
Init
|
|
4427
4452
|
|
|
@@ -5444,7 +5469,7 @@ export interface SubTasksDto {
|
|
|
5444
5469
|
*/
|
|
5445
5470
|
ended?: string;
|
|
5446
5471
|
/**
|
|
5447
|
-
*
|
|
5472
|
+
*
|
|
5448
5473
|
*
|
|
5449
5474
|
* Init
|
|
5450
5475
|
*
|
|
@@ -5698,7 +5723,7 @@ export interface TaskDto {
|
|
|
5698
5723
|
*/
|
|
5699
5724
|
id?: string;
|
|
5700
5725
|
/**
|
|
5701
|
-
*
|
|
5726
|
+
*
|
|
5702
5727
|
*
|
|
5703
5728
|
* Init
|
|
5704
5729
|
*
|
|
@@ -5919,7 +5944,7 @@ export interface TaskPrototypeDto {
|
|
|
5919
5944
|
*/
|
|
5920
5945
|
tasksCount?: number;
|
|
5921
5946
|
/**
|
|
5922
|
-
*
|
|
5947
|
+
*
|
|
5923
5948
|
*
|
|
5924
5949
|
* Init
|
|
5925
5950
|
*
|
|
@@ -7622,6 +7647,10 @@ export interface ClassifyParams {
|
|
|
7622
7647
|
*
|
|
7623
7648
|
* quantile
|
|
7624
7649
|
*
|
|
7650
|
+
* distinct
|
|
7651
|
+
*
|
|
7652
|
+
* step
|
|
7653
|
+
*
|
|
7625
7654
|
* unique
|
|
7626
7655
|
*/
|
|
7627
7656
|
type?: ClassificationType;
|
|
@@ -7719,7 +7748,7 @@ export interface ValidateExpressionParams {
|
|
|
7719
7748
|
/** Layer name. */
|
|
7720
7749
|
layerName: string;
|
|
7721
7750
|
}
|
|
7722
|
-
export interface
|
|
7751
|
+
export interface GetRasterMetaParams8 {
|
|
7723
7752
|
/**
|
|
7724
7753
|
* Min value for build histogram.
|
|
7725
7754
|
* @format double
|
|
@@ -7798,10 +7827,11 @@ export interface GetProjectsListParams {
|
|
|
7798
7827
|
/** Filter layers by set of tags. */
|
|
7799
7828
|
tags?: string[];
|
|
7800
7829
|
}
|
|
7801
|
-
export interface
|
|
7830
|
+
export interface DeleteResourcesParams3 {
|
|
7802
7831
|
/** Resource names. */
|
|
7803
7832
|
names?: string[];
|
|
7804
7833
|
}
|
|
7834
|
+
export declare type UpdateProjectV2Payload = Operation[];
|
|
7805
7835
|
export interface GetProjectsInfoParams {
|
|
7806
7836
|
/** Project names. */
|
|
7807
7837
|
projectNames?: string[];
|
|
@@ -7996,7 +8026,7 @@ export interface StatisticsDbParams {
|
|
|
7996
8026
|
*/
|
|
7997
8027
|
types?: AggregationFunction[];
|
|
7998
8028
|
}
|
|
7999
|
-
export interface
|
|
8029
|
+
export interface ClassifyParams4 {
|
|
8000
8030
|
/** Layer name. */
|
|
8001
8031
|
name: string;
|
|
8002
8032
|
/** Attribute name. */
|
|
@@ -8024,6 +8054,10 @@ export interface ClassifyParams9 {
|
|
|
8024
8054
|
*
|
|
8025
8055
|
* quantile
|
|
8026
8056
|
*
|
|
8057
|
+
* distinct
|
|
8058
|
+
*
|
|
8059
|
+
* step
|
|
8060
|
+
*
|
|
8027
8061
|
* unique
|
|
8028
8062
|
*/
|
|
8029
8063
|
type?: ClassificationType;
|
|
@@ -8128,7 +8162,7 @@ export interface GetTableListParams {
|
|
|
8128
8162
|
/** All available permissions list. */
|
|
8129
8163
|
acl?: string;
|
|
8130
8164
|
}
|
|
8131
|
-
export interface
|
|
8165
|
+
export interface DeleteResourcesParams5 {
|
|
8132
8166
|
/** Resource names. */
|
|
8133
8167
|
names?: string[];
|
|
8134
8168
|
}
|
|
@@ -8189,12 +8223,12 @@ export interface MapTableParams {
|
|
|
8189
8223
|
type?: string;
|
|
8190
8224
|
}
|
|
8191
8225
|
export interface GetVectorTileParams {
|
|
8192
|
-
/** Include all feature attributes. */
|
|
8193
|
-
withAttributes?: boolean;
|
|
8194
8226
|
/** Condition. */
|
|
8195
8227
|
condition?: string;
|
|
8196
8228
|
/** Id of override data filter to apply to the layer. If not set, the default filter is used. */
|
|
8197
8229
|
dataFilterId?: string;
|
|
8230
|
+
/** List of included feature attribute names. */
|
|
8231
|
+
attributes?: string[];
|
|
8198
8232
|
/** Project or layer name. */
|
|
8199
8233
|
name: string;
|
|
8200
8234
|
/**
|
|
@@ -8243,7 +8277,7 @@ export interface GetPublicCapabilitiesParams {
|
|
|
8243
8277
|
/** When omitted or not supported by server, server shall return service metadata document using the MIME type "text/xml". */
|
|
8244
8278
|
AcceptFormats?: string[];
|
|
8245
8279
|
}
|
|
8246
|
-
export interface
|
|
8280
|
+
export interface GetCapabilitiesParams8 {
|
|
8247
8281
|
/** Output format of service metadata. */
|
|
8248
8282
|
Format?: string;
|
|
8249
8283
|
/** Must be WMS. */
|
|
@@ -4415,6 +4415,23 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4415
4415
|
|
|
4416
4416
|
return this.http.get("/layers/" + layerName + "/validateExpression", query).json();
|
|
4417
4417
|
}
|
|
4418
|
+
/**
|
|
4419
|
+
* No description
|
|
4420
|
+
*
|
|
4421
|
+
* @tags Layers
|
|
4422
|
+
* @name FlipCoordinates
|
|
4423
|
+
* @operationId LayersController_FlipCoordinates
|
|
4424
|
+
* @summary Flip geometry coordinates.
|
|
4425
|
+
* @request POST:/layers/{layerName}/flip-coordinates
|
|
4426
|
+
* @secure
|
|
4427
|
+
* @response `200` OK
|
|
4428
|
+
*/
|
|
4429
|
+
|
|
4430
|
+
}, {
|
|
4431
|
+
key: "flipCoordinates",
|
|
4432
|
+
value: function flipCoordinates(layerName) {
|
|
4433
|
+
return this.http.post("/layers/" + layerName + "/flip-coordinates", null).json();
|
|
4434
|
+
}
|
|
4418
4435
|
/**
|
|
4419
4436
|
* No description
|
|
4420
4437
|
*
|
|
@@ -5422,6 +5439,23 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
|
|
|
5422
5439
|
value: function deleteResource(name) {
|
|
5423
5440
|
return this.http.delete("/projects/" + name, null).then(() => {});
|
|
5424
5441
|
}
|
|
5442
|
+
/**
|
|
5443
|
+
* No description
|
|
5444
|
+
*
|
|
5445
|
+
* @tags Projects
|
|
5446
|
+
* @name UpdateProjectV2
|
|
5447
|
+
* @operationId ProjectsController_UpdateProjectV2
|
|
5448
|
+
* @summary Update table.
|
|
5449
|
+
* @request PATCH:/projects/{name}/v2
|
|
5450
|
+
* @secure
|
|
5451
|
+
* @response `200` OK
|
|
5452
|
+
*/
|
|
5453
|
+
|
|
5454
|
+
}, {
|
|
5455
|
+
key: "updateProjectV2",
|
|
5456
|
+
value: function updateProjectV2(name, data) {
|
|
5457
|
+
return this.http.patch("/projects/" + name + "/v2", data).json();
|
|
5458
|
+
}
|
|
5425
5459
|
/**
|
|
5426
5460
|
* No description
|
|
5427
5461
|
*
|
|
@@ -7495,6 +7529,8 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7495
7529
|
ClassificationType["NaturalBreaks"] = "naturalBreaks";
|
|
7496
7530
|
ClassificationType["EqualInterval"] = "equalInterval";
|
|
7497
7531
|
ClassificationType["Quantile"] = "quantile";
|
|
7532
|
+
ClassificationType["Distinct"] = "distinct";
|
|
7533
|
+
ClassificationType["Step"] = "step";
|
|
7498
7534
|
ClassificationType["Unique"] = "unique";
|
|
7499
7535
|
})(exports.ClassificationType || (exports.ClassificationType = {}));
|
|
7500
7536
|
|