@evergis/api 4.0.11 → 4.0.12

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.
@@ -1,4 +1,4 @@
1
- import { FilterCreationResponseDc, FilterDc } from './data-contracts';
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<string>;
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<void>;
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<FilterCreationResponseDc>;
41
+ create(data: FilterDc): Promise<FilterResponseDc>;
42
42
  }
@@ -1,4 +1,4 @@
1
- import { AggregateAttributeParams, AggregationDataResultDc, AttributeDistinctsDc, BulkExtentsDc, BulkOperationResultDc, ClassifyDc, ClassifyParams, CreateFeaturesPayload, DeleteByConditionParams, DeleteFeatureParams, DeleteFeaturesParams, DeleteResourcesParams, DistinctsParams, EditAttributesInfoDc, EnvelopeDc, ExpressionValidationResultDc, FeatureDc, GetBulkExtentsParams, GetBulkExtentsPayload, GetBulkFeaturesPayload, GetByIdParams, GetFeatures1Params, GetFeaturesParametersDc, GetFilteredFeaturesCountDc, GetFilteredFeaturesCountParams, GetLayerExtentParams, GetLayerImageParams, GetLayersInfoParams, GetLayersListParams, GetRasterMetaParams2, 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';
1
+ import { AggregateAttributeParams, AggregationDataResultDc, AttributeDistinctsDc, BulkExtentsDc, BulkOperationResultDc, ClassifyDc, ClassifyParams, CreateFeaturesPayload, DeleteByConditionParams, DeleteFeatureParams, DeleteFeaturesParams, DeleteResourcesParams, DistinctsParams, EditAttributesInfoDc, EnvelopeDc, ExpressionValidationResultDc, FeatureDc, GetBulkExtentsParams, GetBulkExtentsPayload, GetBulkFeaturesPayload, GetByIdParams, GetFeatures1Params, GetFeaturesParametersDc, GetFilteredFeaturesCountDc, GetFilteredFeaturesCountParams, GetLayerExtentParams, GetLayerImageParams, GetLayersInfoParams, GetLayersListParams, GetRasterMetaParams10, 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
@@ -500,7 +500,7 @@ export declare class LayersService extends Service {
500
500
  * @request GET:/layers/{name}/{id}/metadata
501
501
  * @response `200` OK
502
502
  */
503
- getRasterMeta({ name, id, ...query }: GetRasterMetaParams2): Promise<(RasterMetaDc | NetCdfMetaDc)[]>;
503
+ getRasterMeta({ name, id, ...query }: GetRasterMetaParams10): Promise<(RasterMetaDc | NetCdfMetaDc)[]>;
504
504
  /**
505
505
  * No description
506
506
  *
@@ -1,4 +1,4 @@
1
- import { BulkOperationResultDc, DeleteResourcesParams4, EnvelopeDc, ExtendedProjectInfoDc, ExtendedProjectLayersInfo, GetProjectEnvelopeParams, GetProjectsInfoParams, GetProjectsListParams, PagedListProjectInfoDc, ProjectsListDc, ResourceDependenciesDc } from './data-contracts';
1
+ import { BulkOperationResultDc, DeleteResourcesParams6, 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: DeleteResourcesParams4): Promise<BulkOperationResultDc[]>;
41
+ deleteResources(query: DeleteResourcesParams6): 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, ClassifyParams1, GetClassifyDc, GetStatisticsDc, GetSumOfProductDc, StatisticsDbParams, StatisticsDc, SumOfProductParams } from './data-contracts';
1
+ import { ClassifyDc, ClassifyParams9, 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: ClassifyParams1): Promise<ClassifyDc>;
41
+ classify(query: ClassifyParams9): Promise<ClassifyDc>;
42
42
  /**
43
43
  * No description
44
44
  *
@@ -1,4 +1,4 @@
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';
1
+ import { BulkOperationResultDc, CreateViewFromQueryDc, CreateViewFromQueryLayerDc, DeleteResourcesParams9, 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: DeleteResourcesParams5): Promise<BulkOperationResultDc[]>;
41
+ deleteResources(query: DeleteResourcesParams9): Promise<BulkOperationResultDc[]>;
42
42
  /**
43
43
  * No description
44
44
  *
@@ -1,4 +1,4 @@
1
- import { GetCapabilities1Params, GetCapabilitiesParams9, GetFeatureInfoParams, GetLegendGraphicParams, GetMapParams } from './data-contracts';
1
+ import { GetCapabilities1Params, GetCapabilitiesParams5, 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: GetCapabilitiesParams9): Promise<void>;
19
+ getCapabilities(query: GetCapabilitiesParams5): 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 | MultiPointDc | PointDc | PolyDc | PolygonDc | PolylineDc;
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
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 | MultiPointDc | PointDc | PolyDc | PolygonDc | PolylineDc;
2274
+ geometry?: EnvelopeDc | PolygonDc | PolylineDc | MultiPointDc | PointDc;
2271
2275
  }
2272
2276
  /**
2273
2277
  * Geocode suggest result.
@@ -2392,6 +2396,8 @@ export interface GetClassifyDc {
2392
2396
  attributeName: string;
2393
2397
  /** Layer condition. */
2394
2398
  condition?: string;
2399
+ /** Collection of filtering conditions. */
2400
+ conditions?: string[];
2395
2401
  /**
2396
2402
  * The number of classes.
2397
2403
  * @format int32
@@ -2477,6 +2483,8 @@ export interface GetFeaturesParametersDc {
2477
2483
  export interface GetFilteredFeaturesCountDc {
2478
2484
  /** Layer condition. */
2479
2485
  condition?: string;
2486
+ /** Collection of filtering conditions. */
2487
+ conditions?: string[];
2480
2488
  }
2481
2489
  /**
2482
2490
  * Get statistics data contract.
@@ -2488,6 +2496,8 @@ export interface GetStatisticsDc {
2488
2496
  attributeName: string;
2489
2497
  /** Condition. */
2490
2498
  condition?: string;
2499
+ /** Collection of filtering conditions. */
2500
+ conditions?: string[];
2491
2501
  /** Type of required statistic function. */
2492
2502
  types?: AggregationFunction[];
2493
2503
  }
@@ -2501,6 +2511,8 @@ export interface GetSumOfProductDc {
2501
2511
  attributes: string[];
2502
2512
  /** Layer condition. */
2503
2513
  condition?: string;
2514
+ /** Collection of filtering conditions. */
2515
+ conditions?: string[];
2504
2516
  }
2505
2517
  /**
2506
2518
  * Map element data contract.
@@ -3529,12 +3541,6 @@ export declare enum PolicyType {
3529
3541
  MaxUploadContentSize = "MaxUploadContentSize",
3530
3542
  MaxEqlQueryParametersValues = "MaxEqlQueryParametersValues"
3531
3543
  }
3532
- /**
3533
- * Polyline and Polygon base geometry object definition.
3534
- */
3535
- export declare type PolyDc = GeometryDc & {
3536
- coordinates: PositionDc[][];
3537
- };
3538
3544
  /**
3539
3545
  * Label for polygon objects. It is drawn at the most appropriate place inside a polygon.
3540
3546
  */
@@ -3545,8 +3551,9 @@ export declare type PolygonCenterLabelSymbolDc = LabelSymbolDc & {
3545
3551
  /**
3546
3552
  * Polygon geometry object definition.
3547
3553
  */
3548
- export declare type PolygonDc = PolyDc & {
3554
+ export declare type PolygonDc = GeometryDc & {
3549
3555
  type?: GeometryType;
3556
+ coordinates: PositionDc[][];
3550
3557
  };
3551
3558
  /**
3552
3559
  * <inheritdoc cref="T:SPCore.Kernel.Rendering.Symbols.Adv.PolygonGridSymbol" />
@@ -3576,8 +3583,9 @@ export declare type PolygonSymbolDc = SymbolDc & {
3576
3583
  /**
3577
3584
  * Polyline geometry object definition.
3578
3585
  */
3579
- export declare type PolylineDc = PolyDc & {
3586
+ export declare type PolylineDc = GeometryDc & {
3580
3587
  type?: GeometryType;
3588
+ coordinates: PositionDc[][];
3581
3589
  };
3582
3590
  /**
3583
3591
  * Label for polyline objects. It is drawn repeatedly along a line.
@@ -6304,7 +6312,7 @@ export declare type TracksSymbolDc = TrackSymbolBaseDc & {
6304
6312
  */
6305
6313
  export interface UpdateFeatureDc {
6306
6314
  /** Feature geometry definition. */
6307
- geometry?: EnvelopeDc | MultiPointDc | PointDc | PolyDc | PolygonDc | PolylineDc;
6315
+ geometry?: EnvelopeDc | PolygonDc | PolylineDc | MultiPointDc | PointDc;
6308
6316
  /** Feature attributes collection. */
6309
6317
  attributes?: Record<string, any>;
6310
6318
  /** Feature unique identifier. */
@@ -7369,7 +7377,7 @@ export interface GetByIdParams {
7369
7377
  /**
7370
7378
  * Geometry data contract.
7371
7379
  */
7372
- export declare type UnitePayload = EnvelopeDc | MultiPointDc | PointDc | PolyDc | PolygonDc | PolylineDc;
7380
+ export declare type UnitePayload = EnvelopeDc | PolygonDc | PolylineDc | MultiPointDc | PointDc;
7373
7381
  export interface UniteParams {
7374
7382
  /**
7375
7383
  * Spatial reference of result feature.
@@ -7384,7 +7392,7 @@ export interface UniteParams {
7384
7392
  /**
7385
7393
  * Geometry data contract.
7386
7394
  */
7387
- export declare type SubtractPayload = EnvelopeDc | MultiPointDc | PointDc | PolyDc | PolygonDc | PolylineDc;
7395
+ export declare type SubtractPayload = EnvelopeDc | PolygonDc | PolylineDc | MultiPointDc | PointDc;
7388
7396
  export interface SubtractParams {
7389
7397
  /**
7390
7398
  * Spatial reference id of result features.
@@ -7644,7 +7652,7 @@ export interface ValidateExpressionParams {
7644
7652
  /** Layer name. */
7645
7653
  layerName: string;
7646
7654
  }
7647
- export interface GetRasterMetaParams2 {
7655
+ export interface GetRasterMetaParams10 {
7648
7656
  /**
7649
7657
  * Min value for build histogram.
7650
7658
  * @format double
@@ -7723,7 +7731,7 @@ export interface GetProjectsListParams {
7723
7731
  /** Filter layers by set of tags. */
7724
7732
  tags?: string[];
7725
7733
  }
7726
- export interface DeleteResourcesParams4 {
7734
+ export interface DeleteResourcesParams6 {
7727
7735
  /** Resource names. */
7728
7736
  names?: string[];
7729
7737
  }
@@ -7922,7 +7930,7 @@ export interface StatisticsDbParams {
7922
7930
  */
7923
7931
  types?: AggregationFunction[];
7924
7932
  }
7925
- export interface ClassifyParams1 {
7933
+ export interface ClassifyParams9 {
7926
7934
  /** Layer name. */
7927
7935
  name: string;
7928
7936
  /** Attribute name. */
@@ -8054,7 +8062,7 @@ export interface GetTableListParams {
8054
8062
  /** All available permissions list. */
8055
8063
  acl?: string;
8056
8064
  }
8057
- export interface DeleteResourcesParams5 {
8065
+ export interface DeleteResourcesParams9 {
8058
8066
  /** Resource names. */
8059
8067
  names?: string[];
8060
8068
  }
@@ -8169,7 +8177,7 @@ export interface GetPublicCapabilitiesParams {
8169
8177
  /** When omitted or not supported by server, server shall return service metadata document using the MIME type "text/xml". */
8170
8178
  AcceptFormats?: string[];
8171
8179
  }
8172
- export interface GetCapabilitiesParams9 {
8180
+ export interface GetCapabilitiesParams5 {
8173
8181
  /** Output format of service metadata. */
8174
8182
  Format?: string;
8175
8183
  /** 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).text();
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).then(() => {});
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
  *