@evergis/api 5.0.0 → 5.0.2
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 +21 -21
- package/README.md +12 -12
- package/dist/__generated__/LayersService.d.ts +5 -5
- package/dist/__generated__/data-contracts.d.ts +1 -61
- package/dist/api.esm.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/services/Layers.d.ts +4 -4
- package/package.json +2 -2
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025 Everpoint
|
|
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
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Everpoint
|
|
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
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
# @evergis/api
|
|
2
|
-
|
|
3
|
-
Библиотека API.
|
|
4
|
-
|
|
5
|
-
### Генерирование API
|
|
6
|
-
|
|
7
|
-
```shell
|
|
8
|
-
$ yarn generate
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
***ВАЖНО!!!***: Никогда и ни при каких обстоятельствах нельзя вручную править файлы,
|
|
12
|
-
размещенные в директории `src/__generated__`!
|
|
1
|
+
# @evergis/api
|
|
2
|
+
|
|
3
|
+
Библиотека API.
|
|
4
|
+
|
|
5
|
+
### Генерирование API
|
|
6
|
+
|
|
7
|
+
```shell
|
|
8
|
+
$ yarn generate
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
***ВАЖНО!!!***: Никогда и ни при каких обстоятельствах нельзя вручную править файлы,
|
|
12
|
+
размещенные в директории `src/__generated__`!
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Service } from './Service';
|
|
2
|
-
import { AggregateAttributeParams, AggregationDataResultDc, AttributeDistinctsDc, BulkExtentsDc, BulkFilteredFeaturesCountDc, BulkOperationResultDc, ClassifyDc, ClassifyParams, CreateFeaturesParams, CreateFeaturesPayload, DeleteByConditionParams, DeleteFeatureParams, DeleteFeaturesParams, DeleteResourcesParams, DetailedTableInfoDc, DistinctsParams, EditAttributesInfoDc, EnvelopeDc, ExpressionValidationResultDc, ExtendedProjectInfoDc, ExtendedProjectInfoDcV2, FailedServiceInfoDc, FeatureDc, GetBulkExtentsParams, GetBulkExtentsPayload, GetBulkFeaturesPayload, GetByIdParams, GetFeatures1Params, GetFeaturesParametersDc, GetFilteredFeaturesCount1Params, GetFilteredFeaturesCountDc, GetFilteredFeaturesCountPayload, GetLayerExtentParams, GetLayersInfoParams, GetRasterMetaParams2, GetTilesLayerImage1Params, GetTilesLayerImageParams, GetTilesLayerImageWithFormatAndDpiParams, LayerUpdateInfoDc, NetCdfMetaDc, Operation, PagedBulkFeaturesListDc, PagedFeaturesListDc, PatchQueryLayerService1Payload, PatchQueryLayerServicePayload, PbfServiceInfoDc,
|
|
2
|
+
import { AggregateAttributeParams, AggregationDataResultDc, AttributeDistinctsDc, BulkExtentsDc, BulkFilteredFeaturesCountDc, BulkOperationResultDc, ClassifyDc, ClassifyParams, CreateFeaturesParams, CreateFeaturesPayload, DeleteByConditionParams, DeleteFeatureParams, DeleteFeaturesParams, DeleteResourcesParams, DetailedTableInfoDc, DistinctsParams, EditAttributesInfoDc, EnvelopeDc, ExpressionValidationResultDc, ExtendedProjectInfoDc, ExtendedProjectInfoDcV2, FailedServiceInfoDc, FeatureDc, GetBulkExtentsParams, GetBulkExtentsPayload, GetBulkFeaturesPayload, GetByIdParams, GetFeatures1Params, GetFeaturesParametersDc, GetFilteredFeaturesCount1Params, GetFilteredFeaturesCountDc, GetFilteredFeaturesCountPayload, GetLayerExtentParams, GetLayersInfoParams, GetRasterMetaParams2, GetTilesLayerImage1Params, GetTilesLayerImageParams, GetTilesLayerImageWithFormatAndDpiParams, LayerUpdateInfoDc, NetCdfMetaDc, Operation, PagedBulkFeaturesListDc, PagedFeaturesListDc, PatchQueryLayerService1Payload, PatchQueryLayerServicePayload, PbfServiceInfoDc, ProjectInfoDcV2, ProxyServiceInfoDc, PublishLayerInfoDc, PythonServiceInfoDc, QueryLayerServiceInfoDc, RasterMetaDc, RemoteTileServiceInfoDc, ResourceDependenciesDc, ServiceInfoDc, TileCatalogServiceInfoDc, UpdateFeaturePayload, UpdateTableDc, ValidateExpressionParams } from './data-contracts';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
5
5
|
* @version 1.5.1.0
|
|
@@ -53,7 +53,7 @@ export declare class LayersService extends Service {
|
|
|
53
53
|
* @secure
|
|
54
54
|
* @response `200` OK
|
|
55
55
|
*/
|
|
56
|
-
getLayerInfo(name: string): Promise<ServiceInfoDc | RemoteTileServiceInfoDc | ProxyServiceInfoDc | PythonServiceInfoDc |
|
|
56
|
+
getLayerInfo(name: string): Promise<ServiceInfoDc | RemoteTileServiceInfoDc | ProxyServiceInfoDc | PythonServiceInfoDc | ExtendedProjectInfoDc | ProjectInfoDcV2 | ExtendedProjectInfoDcV2 | PbfServiceInfoDc | FailedServiceInfoDc | QueryLayerServiceInfoDc | TileCatalogServiceInfoDc | DetailedTableInfoDc | UpdateTableDc>;
|
|
57
57
|
/**
|
|
58
58
|
* No description
|
|
59
59
|
*
|
|
@@ -65,7 +65,7 @@ export declare class LayersService extends Service {
|
|
|
65
65
|
* @secure
|
|
66
66
|
* @response `200` OK
|
|
67
67
|
*/
|
|
68
|
-
patchQueryLayerService(name: string, data: PatchQueryLayerServicePayload): Promise<ServiceInfoDc | RemoteTileServiceInfoDc | ProxyServiceInfoDc | PythonServiceInfoDc |
|
|
68
|
+
patchQueryLayerService(name: string, data: PatchQueryLayerServicePayload): Promise<ServiceInfoDc | RemoteTileServiceInfoDc | ProxyServiceInfoDc | PythonServiceInfoDc | ExtendedProjectInfoDc | ProjectInfoDcV2 | ExtendedProjectInfoDcV2 | PbfServiceInfoDc | FailedServiceInfoDc | QueryLayerServiceInfoDc | TileCatalogServiceInfoDc | DetailedTableInfoDc | UpdateTableDc>;
|
|
69
69
|
/**
|
|
70
70
|
* No description
|
|
71
71
|
*
|
|
@@ -77,7 +77,7 @@ export declare class LayersService extends Service {
|
|
|
77
77
|
* @secure
|
|
78
78
|
* @response `200` OK
|
|
79
79
|
*/
|
|
80
|
-
getLayersInfo(query: GetLayersInfoParams): Promise<(ServiceInfoDc | RemoteTileServiceInfoDc | ProxyServiceInfoDc | PythonServiceInfoDc |
|
|
80
|
+
getLayersInfo(query: GetLayersInfoParams): Promise<(ServiceInfoDc | RemoteTileServiceInfoDc | ProxyServiceInfoDc | PythonServiceInfoDc | ExtendedProjectInfoDc | ProjectInfoDcV2 | ExtendedProjectInfoDcV2 | PbfServiceInfoDc | FailedServiceInfoDc | QueryLayerServiceInfoDc | TileCatalogServiceInfoDc | DetailedTableInfoDc | UpdateTableDc)[]>;
|
|
81
81
|
/**
|
|
82
82
|
* No description
|
|
83
83
|
*
|
|
@@ -89,7 +89,7 @@ export declare class LayersService extends Service {
|
|
|
89
89
|
* @secure
|
|
90
90
|
* @response `200` OK
|
|
91
91
|
*/
|
|
92
|
-
publishService(data: PublishLayerInfoDc): Promise<ServiceInfoDc | RemoteTileServiceInfoDc | ProxyServiceInfoDc | PythonServiceInfoDc |
|
|
92
|
+
publishService(data: PublishLayerInfoDc): Promise<ServiceInfoDc | RemoteTileServiceInfoDc | ProxyServiceInfoDc | PythonServiceInfoDc | ExtendedProjectInfoDc | ProjectInfoDcV2 | ExtendedProjectInfoDcV2 | PbfServiceInfoDc | FailedServiceInfoDc | QueryLayerServiceInfoDc | TileCatalogServiceInfoDc | DetailedTableInfoDc | UpdateTableDc>;
|
|
93
93
|
/**
|
|
94
94
|
* No description
|
|
95
95
|
*
|
|
@@ -718,22 +718,6 @@ export interface BatchResourcesAclDc {
|
|
|
718
718
|
/** A set of projects acl. */
|
|
719
719
|
projects?: ResourceAclDc[];
|
|
720
720
|
}
|
|
721
|
-
/**
|
|
722
|
-
* The class describes data contract of bookmark at the map.
|
|
723
|
-
*/
|
|
724
|
-
export interface BookmarkDc {
|
|
725
|
-
/** The title of the bookmark. */
|
|
726
|
-
title?: string;
|
|
727
|
-
/** The position at the map. */
|
|
728
|
-
position?: PositionDc;
|
|
729
|
-
/**
|
|
730
|
-
* Resolution of the map.
|
|
731
|
-
* @format double
|
|
732
|
-
*/
|
|
733
|
-
resolution?: number;
|
|
734
|
-
/** Map place preview. */
|
|
735
|
-
image?: string;
|
|
736
|
-
}
|
|
737
721
|
/**
|
|
738
722
|
* Get bulk extents data contract.
|
|
739
723
|
*/
|
|
@@ -1867,7 +1851,7 @@ export interface ExpressionValidationResultDc {
|
|
|
1867
1851
|
/**
|
|
1868
1852
|
* Project extended configuration data contract.
|
|
1869
1853
|
*/
|
|
1870
|
-
export type ExtendedProjectInfoDc =
|
|
1854
|
+
export type ExtendedProjectInfoDc = ResourceInfoDc & {
|
|
1871
1855
|
/** Project content configuration data contract. */
|
|
1872
1856
|
content: ProjectConfigurationDc;
|
|
1873
1857
|
};
|
|
@@ -3600,21 +3584,6 @@ export type PostgresTileCatalogServiceConfigurationDc = ServiceConfigurationBase
|
|
|
3600
3584
|
* Project content configuration data contract.
|
|
3601
3585
|
*/
|
|
3602
3586
|
export interface ProjectConfigurationDc {
|
|
3603
|
-
/**
|
|
3604
|
-
* Map resolution.
|
|
3605
|
-
* @format double
|
|
3606
|
-
* @default 0
|
|
3607
|
-
*/
|
|
3608
|
-
resolution?: number;
|
|
3609
|
-
/** The position at the map. */
|
|
3610
|
-
position?: PositionDc;
|
|
3611
|
-
/**
|
|
3612
|
-
* Map spatial reference code.
|
|
3613
|
-
* @format int32
|
|
3614
|
-
*/
|
|
3615
|
-
srId?: number;
|
|
3616
|
-
/** Base map service name. */
|
|
3617
|
-
baseMapName?: string;
|
|
3618
3587
|
/** Client data storage. Expecting not used by server. */
|
|
3619
3588
|
clientData?: any;
|
|
3620
3589
|
/** Card configuration. Storage isn't used by server. */
|
|
@@ -3627,10 +3596,6 @@ export interface ProjectConfigurationDc {
|
|
|
3627
3596
|
projectInfo?: any;
|
|
3628
3597
|
/** Project content items configurations. */
|
|
3629
3598
|
items?: ProjectContentItemDc[];
|
|
3630
|
-
/** A collection of bookmarks of the map. */
|
|
3631
|
-
bookmarks?: BookmarkDc[];
|
|
3632
|
-
/** Language of the project. */
|
|
3633
|
-
language?: string;
|
|
3634
3599
|
/** Project configuration. */
|
|
3635
3600
|
config?: any;
|
|
3636
3601
|
}
|
|
@@ -3648,8 +3613,6 @@ export interface ProjectConfigurationDcV2 {
|
|
|
3648
3613
|
editConfiguration?: any;
|
|
3649
3614
|
/** Project information. Storage isn't used by server. */
|
|
3650
3615
|
projectInfo?: any;
|
|
3651
|
-
/** Language of the project. */
|
|
3652
|
-
language?: string;
|
|
3653
3616
|
/** Project configuration. */
|
|
3654
3617
|
config?: any;
|
|
3655
3618
|
}
|
|
@@ -3703,21 +3666,6 @@ export interface ProjectContentItemDc {
|
|
|
3703
3666
|
/** Layer type. */
|
|
3704
3667
|
layerType?: string;
|
|
3705
3668
|
}
|
|
3706
|
-
/**
|
|
3707
|
-
* A project configuration data contract.
|
|
3708
|
-
*/
|
|
3709
|
-
export type ProjectInfoDc = ResourceInfoDc & {
|
|
3710
|
-
/**
|
|
3711
|
-
* Count of the layers in project.
|
|
3712
|
-
* @format int32
|
|
3713
|
-
*/
|
|
3714
|
-
layersCount?: number;
|
|
3715
|
-
/**
|
|
3716
|
-
* Zoom level of the project.
|
|
3717
|
-
* @format float
|
|
3718
|
-
*/
|
|
3719
|
-
zoom?: number | null;
|
|
3720
|
-
};
|
|
3721
3669
|
/**
|
|
3722
3670
|
* A project configuration data contract.
|
|
3723
3671
|
*/
|
|
@@ -4531,8 +4479,6 @@ export interface ResourceInfoDc {
|
|
|
4531
4479
|
* @maxLength 102400
|
|
4532
4480
|
*/
|
|
4533
4481
|
icon?: string;
|
|
4534
|
-
/** Is set true resource is not visible in catalog. Can be changed only by owner or user with admin access. */
|
|
4535
|
-
invisibleInCatalog?: boolean;
|
|
4536
4482
|
/** Parent id in resources catalog. */
|
|
4537
4483
|
parentId?: string;
|
|
4538
4484
|
/** Resource id in resources catalog. */
|
|
@@ -4956,8 +4902,6 @@ export interface ServiceConfigurationBaseDc {
|
|
|
4956
4902
|
copyrightText?: string;
|
|
4957
4903
|
/** A set of layer tags. */
|
|
4958
4904
|
tags?: string[];
|
|
4959
|
-
/** Is set true resource is not visible in catalog. Can be changed only by owner or user with admin access. */
|
|
4960
|
-
invisibleInCatalog?: boolean;
|
|
4961
4905
|
/** Client data storage. Storage isn't used by server. */
|
|
4962
4906
|
clientData?: any;
|
|
4963
4907
|
/** Card configuration. Storage isn't used by server. */
|
|
@@ -5118,8 +5062,6 @@ export interface ServiceListItemDc {
|
|
|
5118
5062
|
tags?: string[];
|
|
5119
5063
|
/** Envelope geometry. */
|
|
5120
5064
|
envelope?: EnvelopeDc;
|
|
5121
|
-
/** Is set true resource is not visible in catalog. Can be changed only by owner or user with admin access. */
|
|
5122
|
-
invisibleInCatalog?: boolean;
|
|
5123
5065
|
}
|
|
5124
5066
|
/**
|
|
5125
5067
|
* Simplify configuration information.
|
|
@@ -5540,8 +5482,6 @@ export interface TableInfoDc {
|
|
|
5540
5482
|
* @maxLength 102400
|
|
5541
5483
|
*/
|
|
5542
5484
|
icon?: string;
|
|
5543
|
-
/** Is set true resource is not visible in catalog. Can be changed only by owner or user with admin access. */
|
|
5544
|
-
invisibleInCatalog?: boolean;
|
|
5545
5485
|
/** Parent id in resources catalog. */
|
|
5546
5486
|
parentId?: string;
|
|
5547
5487
|
/** Resource id in resources catalog. */
|