@evergis/api 4.0.17 → 4.0.19
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/LICENSE +20 -20
- package/README.md +21 -21
- package/dist/__generated__/CatalogService.d.ts +0 -12
- package/dist/__generated__/LayersService.d.ts +20 -8
- package/dist/__generated__/StatisticService.d.ts +2 -2
- package/dist/__generated__/WmsServerService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +286 -249
- package/dist/api.cjs.development.js +41 -33
- 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 +274 -266
- package/dist/api.esm.js.map +1 -1
- package/package.json +2 -2
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2020 Kirill Protasov
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2020 Kirill Protasov
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
# @evergis/api
|
|
2
|
-
|
|
3
|
-
```javascript
|
|
4
|
-
import { Api } from '@evergis/api';
|
|
5
|
-
|
|
6
|
-
const api = new Api({
|
|
7
|
-
url: '/',
|
|
8
|
-
});
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## Possible Environment variables
|
|
12
|
-
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
NODE_ENV = "development" | "test" | "production"
|
|
16
|
-
URL = "string"
|
|
17
|
-
LOGIN = "string"
|
|
18
|
-
PASSWORD = "string"
|
|
19
|
-
WORKSPACE = "string"
|
|
20
|
-
|
|
21
|
-
```
|
|
1
|
+
# @evergis/api
|
|
2
|
+
|
|
3
|
+
```javascript
|
|
4
|
+
import { Api } from '@evergis/api';
|
|
5
|
+
|
|
6
|
+
const api = new Api({
|
|
7
|
+
url: '/',
|
|
8
|
+
});
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Possible Environment variables
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
NODE_ENV = "development" | "test" | "production"
|
|
16
|
+
URL = "string"
|
|
17
|
+
LOGIN = "string"
|
|
18
|
+
PASSWORD = "string"
|
|
19
|
+
WORKSPACE = "string"
|
|
20
|
+
|
|
21
|
+
```
|
|
@@ -174,18 +174,6 @@ export declare class CatalogService extends Service {
|
|
|
174
174
|
* @response `200` OK
|
|
175
175
|
*/
|
|
176
176
|
setPermissions(data: SetPermissionsPayload): Promise<void>;
|
|
177
|
-
/**
|
|
178
|
-
* No description
|
|
179
|
-
*
|
|
180
|
-
* @tags Catalog
|
|
181
|
-
* @name DownloadFile
|
|
182
|
-
* @operationId CatalogController_DownloadFile
|
|
183
|
-
* @summary Download file.
|
|
184
|
-
* @request GET:/resources/{resourceId}/download
|
|
185
|
-
* @secure
|
|
186
|
-
* @response `200` OK
|
|
187
|
-
*/
|
|
188
|
-
downloadFile(resourceId: string): Promise<Blob>;
|
|
189
177
|
/**
|
|
190
178
|
* No description
|
|
191
179
|
*
|
|
@@ -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,
|
|
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, GetRasterMetaParams4, 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
|
|
@@ -30,6 +30,18 @@ export declare class LayersService extends Service {
|
|
|
30
30
|
* @response `200` OK
|
|
31
31
|
*/
|
|
32
32
|
getBulkExtents(query: GetBulkExtentsParams, data: GetBulkExtentsPayload): Promise<BulkExtentsDc>;
|
|
33
|
+
/**
|
|
34
|
+
* No description
|
|
35
|
+
*
|
|
36
|
+
* @tags Layers
|
|
37
|
+
* @name GetFilteredFeaturesCount
|
|
38
|
+
* @operationId LayersController_GetFilteredFeaturesCount
|
|
39
|
+
* @summary Returns list of features count according layer filter.
|
|
40
|
+
* @request POST:/bulk/layers/features/count
|
|
41
|
+
* @secure
|
|
42
|
+
* @response `200` OK
|
|
43
|
+
*/
|
|
44
|
+
getFilteredFeaturesCount(data: GetFilteredFeaturesCountPayload): Promise<BulkFilteredFeaturesCountDc>;
|
|
33
45
|
/**
|
|
34
46
|
* No description
|
|
35
47
|
*
|
|
@@ -490,26 +502,26 @@ export declare class LayersService extends Service {
|
|
|
490
502
|
* No description
|
|
491
503
|
*
|
|
492
504
|
* @tags Layers
|
|
493
|
-
* @name
|
|
494
|
-
* @operationId
|
|
505
|
+
* @name GetFilteredFeaturesCount1
|
|
506
|
+
* @operationId LayersController_GetFilteredFeaturesCount_1
|
|
495
507
|
* @summary Get features count according layer filter of the given name.
|
|
496
508
|
* @request GET:/layers/{name}/features/count
|
|
497
509
|
* @secure
|
|
498
510
|
* @response `200` OK
|
|
499
511
|
*/
|
|
500
|
-
|
|
512
|
+
getFilteredFeaturesCount1({ name, ...query }: GetFilteredFeaturesCount1Params): Promise<number>;
|
|
501
513
|
/**
|
|
502
514
|
* No description
|
|
503
515
|
*
|
|
504
516
|
* @tags Layers
|
|
505
|
-
* @name
|
|
506
|
-
* @operationId
|
|
517
|
+
* @name GetFilteredFeaturesCount2
|
|
518
|
+
* @operationId LayersController_GetFilteredFeaturesCount_2
|
|
507
519
|
* @summary Get features count according layer filter of the given name.
|
|
508
520
|
* @request POST:/layers/{name}/features/count
|
|
509
521
|
* @secure
|
|
510
522
|
* @response `200` OK
|
|
511
523
|
*/
|
|
512
|
-
|
|
524
|
+
getFilteredFeaturesCount2(name: string, data: GetFilteredFeaturesCountDc): Promise<number>;
|
|
513
525
|
/**
|
|
514
526
|
* No description
|
|
515
527
|
*
|
|
@@ -545,7 +557,7 @@ export declare class LayersService extends Service {
|
|
|
545
557
|
* @secure
|
|
546
558
|
* @response `200` OK
|
|
547
559
|
*/
|
|
548
|
-
getRasterMeta({ name, id, ...query }:
|
|
560
|
+
getRasterMeta({ name, id, ...query }: GetRasterMetaParams4): Promise<(RasterMetaDc | NetCdfMetaDc)[]>;
|
|
549
561
|
/**
|
|
550
562
|
* No description
|
|
551
563
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ClassifyDc,
|
|
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
|
|
@@ -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: ClassifyParams9): Promise<ClassifyDc>;
|
|
45
45
|
/**
|
|
46
46
|
* No description
|
|
47
47
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GetCapabilities1Params,
|
|
1
|
+
import { GetCapabilities1Params, GetCapabilitiesParams4, 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: GetCapabilitiesParams4): Promise<void>;
|
|
21
21
|
/**
|
|
22
22
|
* No description
|
|
23
23
|
*
|