@evergis/api 5.0.46 → 5.0.47
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/Api.d.ts +1 -2
- package/dist/__generated__/CatalogService.d.ts +3 -1
- package/dist/__generated__/EqlService.d.ts +18 -6
- package/dist/__generated__/LayersService.d.ts +1 -13
- package/dist/__generated__/data-contracts.d.ts +155 -300
- package/dist/api.esm.js +71 -176
- package/dist/api.esm.js.map +1 -1
- package/dist/index.js +70 -176
- package/dist/index.js.map +1 -1
- package/dist/services/index.d.ts +0 -1
- package/package.json +2 -2
- package/dist/__generated__/ImportService.d.ts +0 -118
- package/dist/services/Import.d.ts +0 -3
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__`!
|
package/dist/Api.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { QueryTokenAccessService } from './__generated__/QueryTokenAccessService
|
|
|
5
5
|
import { SpatialReferencesService } from './__generated__/SpatialReferencesService';
|
|
6
6
|
import { CatalogService } from './__generated__/CatalogService';
|
|
7
7
|
import { EventEmitter } from './EventEmitter';
|
|
8
|
-
import { Account, AccountPreview, External, BulkOperations, CatalogShare, ClientSettings, Eql, Feedback, FileUpload, Filters, Geocode, History,
|
|
8
|
+
import { Account, AccountPreview, External, BulkOperations, CatalogShare, ClientSettings, Eql, Feedback, FileUpload, Filters, Geocode, History, Layers, Names, PortalSettings, Projects, RemoteTaskManager, Resources, Security, Statistic, Tables, Tools, VectorTiles } from './services';
|
|
9
9
|
import { AuthenticateParams, LoginDc } from './__generated__/data-contracts';
|
|
10
10
|
export type ApiParams = {
|
|
11
11
|
url: string;
|
|
@@ -28,7 +28,6 @@ export declare class Api extends EventEmitter {
|
|
|
28
28
|
readonly security: Security;
|
|
29
29
|
readonly file: FileUpload;
|
|
30
30
|
readonly filters: Filters;
|
|
31
|
-
readonly import: Import;
|
|
32
31
|
readonly resources: Resources;
|
|
33
32
|
readonly geocode: Geocode;
|
|
34
33
|
readonly tools: Tools;
|
|
@@ -253,10 +253,12 @@ export declare class CatalogService extends Service {
|
|
|
253
253
|
* @tags Catalog
|
|
254
254
|
* @name GetFile
|
|
255
255
|
* @operationId CatalogController_GetFile
|
|
256
|
-
* @summary Download file.
|
|
256
|
+
* @summary Download file or a part of it when the `Range` header is set.
|
|
257
257
|
* @request GET:/resources/file/{resourceId}
|
|
258
258
|
* @secure
|
|
259
259
|
* @response `200` OK
|
|
260
|
+
* @response `206` Partial Content
|
|
261
|
+
* @response `416` Range Not Satisfiable
|
|
260
262
|
*/
|
|
261
263
|
getFile(resourceId: string): Promise<Blob>;
|
|
262
264
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Service } from './Service';
|
|
2
|
-
import { AttributeConfigurationDc, AvailiableValuesDc, CalculatedAttributeConfigurationDc, EqlDependenciesDc, EqlRequestDc, EqlResourceReferencesDc, GeometryAttributeConfigurationDc, GetAvailiableLayerParametersParams, GetLayerParameters1Params, GetLayerParametersParams, GetPagedQueryResultParams, GetQueryHistoryParams, GetVectorTileParams, PagedFeaturesListDc, PagedListQueryHistoryDc, RemoveLayerParameterValueParams, SetLayerParameterValueParams, SetLayerParametersParams, SetLayerParametersPayload, StringAttributeConfigurationDc } from './data-contracts';
|
|
2
|
+
import { AttributeConfigurationDc, AvailiableValuesDc, CalculatedAttributeConfigurationDc, EqlDependenciesDc, EqlExplainRequestDc, EqlExplainResponseDc, EqlRequestDc, EqlResourceReferencesDc, GeometryAttributeConfigurationDc, GetAvailiableLayerParametersParams, GetLayerParameters1Params, GetLayerParametersParams, GetPagedQueryResultParams, GetQueryHistoryParams, GetVectorTileParams, PagedFeaturesListDc, PagedListQueryHistoryDc, RemoveLayerParameterValueParams, SetLayerParameterValueParams, SetLayerParametersParams, SetLayerParametersPayload, StringAttributeConfigurationDc } from './data-contracts';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Gateway API
|
|
5
5
|
* @version 1.5.1.0
|
|
@@ -70,14 +70,14 @@ export declare class EqlService extends Service {
|
|
|
70
70
|
* No description
|
|
71
71
|
*
|
|
72
72
|
* @tags Eql
|
|
73
|
-
* @name
|
|
74
|
-
* @operationId
|
|
75
|
-
* @summary
|
|
76
|
-
* @request
|
|
73
|
+
* @name ExplainQuery
|
|
74
|
+
* @operationId EqlController_ExplainQuery
|
|
75
|
+
* @summary Explain a query.
|
|
76
|
+
* @request POST:/eql/query/explain
|
|
77
77
|
* @secure
|
|
78
78
|
* @response `200` OK
|
|
79
79
|
*/
|
|
80
|
-
|
|
80
|
+
explainQuery(data: EqlExplainRequestDc): Promise<EqlExplainResponseDc>;
|
|
81
81
|
/**
|
|
82
82
|
* No description
|
|
83
83
|
*
|
|
@@ -186,4 +186,16 @@ export declare class EqlService extends Service {
|
|
|
186
186
|
* @response `200` OK
|
|
187
187
|
*/
|
|
188
188
|
create(data: EqlRequestDc): Promise<string>;
|
|
189
|
+
/**
|
|
190
|
+
* No description
|
|
191
|
+
*
|
|
192
|
+
* @tags Eql
|
|
193
|
+
* @name GetQueryHistory
|
|
194
|
+
* @operationId EqlController_GetQueryHistory
|
|
195
|
+
* @summary Get EQL requests history.
|
|
196
|
+
* @request GET:/eql/query/history
|
|
197
|
+
* @secure
|
|
198
|
+
* @response `200` OK
|
|
199
|
+
*/
|
|
200
|
+
getQueryHistory(query: GetQueryHistoryParams): Promise<PagedListQueryHistoryDc>;
|
|
189
201
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Service } from './Service';
|
|
2
|
-
import { AggregateAttributeParams, AggregationDataResultDc, AttributeDistinctsDc, BulkExtentsDc, BulkFilteredFeaturesCountDc, ClassifyDc, ClassifyParams, CreateFeaturesParams, CreateFeaturesPayload, DeleteByConditionParams, DeleteFeatureParams, DeleteFeaturesParams, DetailedTableInfoDc, DistinctsParams, EditAttributesInfoDc, EnvelopeDc, ExpressionValidationResultDc, ExtendedProjectInfoDc, FailedServiceInfoDc, FeatureDc, GetBulkExtentsParams, GetBulkExtentsPayload, GetBulkFeaturesPayload, GetByIdParams, GetFeatures1Params, GetFeaturesParametersDc, GetFilteredFeaturesCount1Params, GetFilteredFeaturesCountDc, GetFilteredFeaturesCountPayload, GetLayerExtentParams, GetLayersInfoParams,
|
|
2
|
+
import { AggregateAttributeParams, AggregationDataResultDc, AttributeDistinctsDc, BulkExtentsDc, BulkFilteredFeaturesCountDc, ClassifyDc, ClassifyParams, CreateFeaturesParams, CreateFeaturesPayload, DeleteByConditionParams, DeleteFeatureParams, DeleteFeaturesParams, DetailedTableInfoDc, DistinctsParams, EditAttributesInfoDc, EnvelopeDc, ExpressionValidationResultDc, ExtendedProjectInfoDc, FailedServiceInfoDc, FeatureDc, GetBulkExtentsParams, GetBulkExtentsPayload, GetBulkFeaturesPayload, GetByIdParams, GetFeatures1Params, GetFeaturesParametersDc, GetFilteredFeaturesCount1Params, GetFilteredFeaturesCountDc, GetFilteredFeaturesCountPayload, GetLayerExtentParams, GetLayersInfoParams, GetTilesLayerImage1Params, GetTilesLayerImageParams, GetTilesLayerImageWithFormatAndDpiParams, LayerUpdateInfoDc, Operation, PagedBulkFeaturesListDc, PagedFeaturesListDc, PatchQueryLayerService1Payload, PatchQueryLayerServicePayload, PbfServiceInfoDc, ProxyServiceInfoDc, PublishLayerInfoDc, PythonServiceInfoDc, QueryLayerServiceInfoDc, RemoteTileServiceInfoDc, ResourceDependenciesDc, ServiceInfoDc, TileCatalogServiceInfoDc, UpdateFeaturePayload, UpdateTableDc, ValidateExpressionParams } from './data-contracts';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Gateway API
|
|
5
5
|
* @version 1.5.1.0
|
|
@@ -344,18 +344,6 @@ export declare class LayersService extends Service {
|
|
|
344
344
|
* @response `200` OK
|
|
345
345
|
*/
|
|
346
346
|
validateExpression({ layerName, ...query }: ValidateExpressionParams): Promise<ExpressionValidationResultDc>;
|
|
347
|
-
/**
|
|
348
|
-
* No description
|
|
349
|
-
*
|
|
350
|
-
* @tags Layers
|
|
351
|
-
* @name GetRasterMeta
|
|
352
|
-
* @operationId LayersController_GetRasterMeta
|
|
353
|
-
* @summary Get raster metadata.
|
|
354
|
-
* @request GET:/layers/{name}/{id}/metadata
|
|
355
|
-
* @secure
|
|
356
|
-
* @response `200` OK
|
|
357
|
-
*/
|
|
358
|
-
getRasterMeta({ name, id, ...query }: GetRasterMetaParams2): Promise<(RasterMetaDc | NetCdfMetaDc)[]>;
|
|
359
347
|
/**
|
|
360
348
|
* No description
|
|
361
349
|
*
|