@evergis/api 3.0.195 → 3.0.197
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 +2 -2
- package/dist/__generated__/ProjectsService.d.ts +2 -2
- package/dist/__generated__/StatisticService.d.ts +2 -2
- package/dist/__generated__/TablesService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +51 -8
- package/dist/api.cjs.development.js +15 -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 +30 -1
- package/dist/api.esm.js.map +1 -1
- package/dist/services/Layers.d.ts +1 -0
- package/dist/services/Statistic.d.ts +2 -2
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccessControlListDc, AggregateAttributeParams, AggregationDataResultDc, AttributeDistinctsDc, BulkOperationResultDc, ClassifyDc, ClassifyParams, CompositeServiceConfigurationDc, CompositeServiceInfoDc, CreateFeaturesPayload, DeleteByConditionParams, DeleteFeatureParams, DeleteFeaturesParams, DeleteResourcesParams, DistinctsParams, EditAttributesInfoDc, EnvelopeDc, ExpressionValidationResultDc, FeatureDc, FeatureLayerServiceInfoDc, FeaturesContainsParams, FeatureSelectionDc, FeaturesListDc, FileUploadResponse, GetBulkFeaturesPayload, GetByGeometryGetParams, GetByGeometryParams, GetByGeometryPostParams, GetByGeometryPostPayload, GetByIdParams, GetFeatures1Params, GetFeaturesParametersDc, GetFilteredFeaturesCountDc, GetFilteredFeaturesCountParams, GetLayerExtentParams, GetLayerImageParams, GetLayersInfoParams, GetLayersListParams,
|
|
1
|
+
import { AccessControlListDc, AggregateAttributeParams, AggregationDataResultDc, AttributeDistinctsDc, BulkOperationResultDc, ClassifyDc, ClassifyParams, CompositeServiceConfigurationDc, CompositeServiceInfoDc, CreateFeaturesPayload, DeleteByConditionParams, DeleteFeatureParams, DeleteFeaturesParams, DeleteResourcesParams, DistinctsParams, EditAttributesInfoDc, EnvelopeDc, ExpressionValidationResultDc, FeatureDc, FeatureLayerServiceInfoDc, FeaturesContainsParams, FeatureSelectionDc, FeaturesListDc, FileUploadResponse, GetBulkFeaturesPayload, GetByGeometryGetParams, GetByGeometryParams, GetByGeometryPostParams, GetByGeometryPostPayload, GetByIdParams, GetFeatures1Params, GetFeaturesParametersDc, GetFilteredFeaturesCountDc, GetFilteredFeaturesCountParams, GetLayerExtentParams, GetLayerImageParams, GetLayersInfoParams, GetLayersListParams, GetRasterMetaParams7, GetTilesLayerImageParams, LayerUpdateInfo, LayerUpdateInfoDc, LinearServiceConfigurationDc, LocalTileServiceConfigurationDc, NetCdfMetaDc, PagedBulkFeaturesListDc, PagedFeaturesListDc, PbfServiceConfigurationDc, PbfServiceInfoDc, PostgresLayerServiceConfigurationDc, PostgresTileCatalogServiceConfigurationDc, ProxyServiceInfoDc, PublishProxyServicePayload, QueryLayerServiceConfigurationDc, QueryLayerServiceInfoDc, RasterMetaDc, RemoteTileServiceConfigurationDc, RemoteTileServiceInfo, RemoteTileServiceInfoDc, ResourceDependenciesDc, ResourceInfoDc, RouteFeatureDc, RouteServiceConfigurationDc, SelectFeaturesParams, ServiceInfoDc, ServiceListDc, SetPermissionsBatchPayload, SetPreviewPayload, SimpleSymbolDc, StyleDc, StyledLayerServiceConfigurationDc, SubtractParams, SubtractPayload, TileServiceInfoDc, UniteParams, UnitePayload, UpdateFeaturePayload, UpdateProxyServicePayload, ValidateExpressionParams } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -589,7 +589,7 @@ export declare class LayersService extends Service {
|
|
|
589
589
|
* @request GET:/layers/{name}/{id}/metadata
|
|
590
590
|
* @response `200` OK
|
|
591
591
|
*/
|
|
592
|
-
getRasterMeta({ name, id, ...query }:
|
|
592
|
+
getRasterMeta({ name, id, ...query }: GetRasterMetaParams7): Promise<(RasterMetaDc | NetCdfMetaDc)[]>;
|
|
593
593
|
/**
|
|
594
594
|
* No description
|
|
595
595
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccessControlListDc, BulkOperationResultDc,
|
|
1
|
+
import { AccessControlListDc, BulkOperationResultDc, DeleteResourcesParams3, ExtendedProjectInfoDc, ExtendedProjectLayersInfo, FileUploadResponse, GetProjectsInfoParams, GetProjectsListParams, PagedListProjectInfoDc, ProjectsListDc, ResourceDependenciesDc, SetPermissionsBatchBody, SetPreviewBody } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -49,7 +49,7 @@ export declare class ProjectsService extends Service {
|
|
|
49
49
|
* @request DELETE:/projects
|
|
50
50
|
* @response `200` OK
|
|
51
51
|
*/
|
|
52
|
-
deleteResources(query:
|
|
52
|
+
deleteResources(query: DeleteResourcesParams3): Promise<BulkOperationResultDc[]>;
|
|
53
53
|
/**
|
|
54
54
|
* No description
|
|
55
55
|
*
|
|
@@ -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 { AccessControlListDc, BulkOperationResultDc, CreateViewFromQueryDc, CreateViewFromQueryLayerDc,
|
|
1
|
+
import { AccessControlListDc, BulkOperationResultDc, CreateViewFromQueryDc, CreateViewFromQueryLayerDc, DeleteResourcesParams3, DeleteTableDataParams, DetailedTableInfoDc, FileUploadResponse, GetTableDataParams, GetTableListParams, GetTablesInfoParams, GetUniqueDataRowsParams, MapTableInfoDc, MapTableParams, PagedListIEnumerable1, PagedListTableInfoDc, ResourceDependenciesDc, SetPermissionsBatchInput, SetPreviewInput, TableListDc, UpdateTableDataParams, UpdateTableDataPayload, UpdateTableDc, WriteTableDataPayload } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -49,7 +49,7 @@ export declare class TablesService extends Service {
|
|
|
49
49
|
* @request DELETE:/tables
|
|
50
50
|
* @response `200` OK
|
|
51
51
|
*/
|
|
52
|
-
deleteResources(query:
|
|
52
|
+
deleteResources(query: DeleteResourcesParams3): Promise<BulkOperationResultDc[]>;
|
|
53
53
|
/**
|
|
54
54
|
* No description
|
|
55
55
|
*
|
|
@@ -419,6 +419,8 @@ export interface AttributeConfigurationDc {
|
|
|
419
419
|
attributeSelectorType?: AttributeSelectorType;
|
|
420
420
|
/** Values range. */
|
|
421
421
|
ranges?: ValuesRange[];
|
|
422
|
+
/** Information about an attribute icon. */
|
|
423
|
+
icon?: AttributeIconDc;
|
|
422
424
|
}
|
|
423
425
|
/**
|
|
424
426
|
* Information about an attribute.
|
|
@@ -482,6 +484,9 @@ export interface AttributeDefinitionDc {
|
|
|
482
484
|
isCalculated?: boolean;
|
|
483
485
|
/** Provides attributes format definition settings. */
|
|
484
486
|
stringFormat?: AttributeFormatDefinitionDc;
|
|
487
|
+
sr?: ISpatialReference;
|
|
488
|
+
/** Information about an attribute icon. */
|
|
489
|
+
icon?: AttributeIconDc;
|
|
485
490
|
}
|
|
486
491
|
/**
|
|
487
492
|
* Information about an attribute distinct.
|
|
@@ -587,6 +592,46 @@ export interface AttributeFormatDefinitionDc {
|
|
|
587
592
|
*/
|
|
588
593
|
rounding?: number;
|
|
589
594
|
}
|
|
595
|
+
/**
|
|
596
|
+
* Information about an attribute icon.
|
|
597
|
+
*/
|
|
598
|
+
export interface AttributeIconDc {
|
|
599
|
+
/**
|
|
600
|
+
*
|
|
601
|
+
*
|
|
602
|
+
* Unknown
|
|
603
|
+
*
|
|
604
|
+
* Icon
|
|
605
|
+
*
|
|
606
|
+
* PNG
|
|
607
|
+
*
|
|
608
|
+
* SVG
|
|
609
|
+
*/
|
|
610
|
+
type?: AttributeIconType;
|
|
611
|
+
/** Icon name from EverGIS icon library. */
|
|
612
|
+
iconName?: string;
|
|
613
|
+
/** URL. */
|
|
614
|
+
url?: string;
|
|
615
|
+
/** Icon resource id. */
|
|
616
|
+
resourceId?: string;
|
|
617
|
+
}
|
|
618
|
+
/**
|
|
619
|
+
*
|
|
620
|
+
|
|
621
|
+
Unknown
|
|
622
|
+
|
|
623
|
+
Icon
|
|
624
|
+
|
|
625
|
+
PNG
|
|
626
|
+
|
|
627
|
+
SVG
|
|
628
|
+
*/
|
|
629
|
+
export declare enum AttributeIconType {
|
|
630
|
+
Unknown = "Unknown",
|
|
631
|
+
Icon = "Icon",
|
|
632
|
+
PNG = "PNG",
|
|
633
|
+
SVG = "SVG"
|
|
634
|
+
}
|
|
590
635
|
/**
|
|
591
636
|
*
|
|
592
637
|
|
|
@@ -834,7 +879,7 @@ export interface CatalogResourceDc {
|
|
|
834
879
|
/** Resource subtype. */
|
|
835
880
|
subtype?: string;
|
|
836
881
|
/** Geometry type. */
|
|
837
|
-
geometryType?: string
|
|
882
|
+
geometryType?: string;
|
|
838
883
|
/** Path to the resource. */
|
|
839
884
|
name?: string;
|
|
840
885
|
/** Description of the resource. */
|
|
@@ -5009,6 +5054,8 @@ export interface ServiceConfigurationBaseDc {
|
|
|
5009
5054
|
clientData?: any;
|
|
5010
5055
|
/** Card configuration. Storage isn't used by server. */
|
|
5011
5056
|
cardConfiguration?: any;
|
|
5057
|
+
/** Parent resource id. */
|
|
5058
|
+
parentId?: string;
|
|
5012
5059
|
}
|
|
5013
5060
|
/**
|
|
5014
5061
|
* Description of a service in the Spatial Processor.
|
|
@@ -7503,7 +7550,7 @@ export interface ValidateExpressionParams {
|
|
|
7503
7550
|
/** Layer name. */
|
|
7504
7551
|
layerName: string;
|
|
7505
7552
|
}
|
|
7506
|
-
export interface
|
|
7553
|
+
export interface GetRasterMetaParams7 {
|
|
7507
7554
|
/**
|
|
7508
7555
|
* Min value for build histogram.
|
|
7509
7556
|
* @format double
|
|
@@ -7630,7 +7677,7 @@ export interface GetProjectsListParams {
|
|
|
7630
7677
|
tags?: string[];
|
|
7631
7678
|
}
|
|
7632
7679
|
export declare type SetPermissionsBatchBody = ResourceAclDc[];
|
|
7633
|
-
export interface
|
|
7680
|
+
export interface DeleteResourcesParams3 {
|
|
7634
7681
|
/** Resource names. */
|
|
7635
7682
|
names?: string[];
|
|
7636
7683
|
}
|
|
@@ -7913,7 +7960,7 @@ export interface StatisticsDbParams {
|
|
|
7913
7960
|
*/
|
|
7914
7961
|
types?: AggregationFunction[];
|
|
7915
7962
|
}
|
|
7916
|
-
export interface
|
|
7963
|
+
export interface ClassifyParams8 {
|
|
7917
7964
|
/** Layer name. */
|
|
7918
7965
|
name: string;
|
|
7919
7966
|
/** Attribute name. */
|
|
@@ -8046,10 +8093,6 @@ export interface GetTableListParams {
|
|
|
8046
8093
|
acl?: string;
|
|
8047
8094
|
}
|
|
8048
8095
|
export declare type SetPermissionsBatchInput = ResourceAclDc[];
|
|
8049
|
-
export interface DeleteResourcesParams4 {
|
|
8050
|
-
/** Resource names. */
|
|
8051
|
-
names?: string[];
|
|
8052
|
-
}
|
|
8053
8096
|
export interface GetTablesInfoParams {
|
|
8054
8097
|
/** Table names. */
|
|
8055
8098
|
tableNames?: string[];
|
|
@@ -4558,6 +4558,14 @@ let Layers = /*#__PURE__*/function (_LayersService) {
|
|
|
4558
4558
|
value: function findOne(name) {
|
|
4559
4559
|
return this.getLayerInfo(name);
|
|
4560
4560
|
}
|
|
4561
|
+
}, {
|
|
4562
|
+
key: "findMany",
|
|
4563
|
+
value: function findMany(layerNames, projectNames) {
|
|
4564
|
+
return this.getLayersInfo({
|
|
4565
|
+
layerNames,
|
|
4566
|
+
projectNames
|
|
4567
|
+
});
|
|
4568
|
+
}
|
|
4561
4569
|
}, {
|
|
4562
4570
|
key: "findAll",
|
|
4563
4571
|
value: function findAll(params) {
|
|
@@ -8060,6 +8068,13 @@ function isFeatureLayer(layer) {
|
|
|
8060
8068
|
AggregationFunction["DividedSum"] = "DividedSum";
|
|
8061
8069
|
})(exports.AggregationFunction || (exports.AggregationFunction = {}));
|
|
8062
8070
|
|
|
8071
|
+
(function (AttributeIconType) {
|
|
8072
|
+
AttributeIconType["Unknown"] = "Unknown";
|
|
8073
|
+
AttributeIconType["Icon"] = "Icon";
|
|
8074
|
+
AttributeIconType["PNG"] = "PNG";
|
|
8075
|
+
AttributeIconType["SVG"] = "SVG";
|
|
8076
|
+
})(exports.AttributeIconType || (exports.AttributeIconType = {}));
|
|
8077
|
+
|
|
8063
8078
|
(function (AttributeSelectorType) {
|
|
8064
8079
|
AttributeSelectorType["None"] = "None";
|
|
8065
8080
|
AttributeSelectorType["SelectFromHandBook"] = "SelectFromHandBook";
|