@evergis/api 3.0.186 → 3.0.188
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__/CatalogService.d.ts +25 -3
- package/dist/__generated__/LayersService.d.ts +3 -3
- package/dist/__generated__/ProjectsService.d.ts +2 -2
- package/dist/__generated__/PythonTestService.d.ts +64 -0
- package/dist/__generated__/StatisticService.d.ts +2 -2
- package/dist/__generated__/TablesService.d.ts +2 -2
- package/dist/__generated__/TagsService.d.ts +2 -2
- package/dist/__generated__/WmsServerService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +183 -81
- package/dist/api.cjs.development.js +47 -12
- 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 +68 -27
- package/dist/api.esm.js.map +1 -1
- package/dist/services/Statistic.d.ts +2 -2
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccessControlListDc, CatalogResourceDc, CreateDirectoryDc, CreateFilePayload, GetAllParams, MoveResourceDc, SearchResourcesDto, SearchResourcesParams } from './data-contracts';
|
|
1
|
+
import { AccessControlListDc, CatalogResourceDc, CreateDirectoryDc, CreateFilePayload, GetAllParams, ListResourcesDto, MoveResourceDc, ResourceAclDc, SearchResourcesDto, SearchResourcesParams, SetPermissionsPayload } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -17,6 +17,17 @@ export declare class CatalogService extends Service {
|
|
|
17
17
|
* @response `200` OK
|
|
18
18
|
*/
|
|
19
19
|
getAll(query: GetAllParams): Promise<CatalogResourceDc[]>;
|
|
20
|
+
/**
|
|
21
|
+
* No description
|
|
22
|
+
*
|
|
23
|
+
* @tags Catalog
|
|
24
|
+
* @name PostGetAll
|
|
25
|
+
* @operationId CatalogController_PostGetAll
|
|
26
|
+
* @summary Get all resource with given.
|
|
27
|
+
* @request POST:/resources
|
|
28
|
+
* @response `200` OK
|
|
29
|
+
*/
|
|
30
|
+
postGetAll(data: ListResourcesDto): Promise<CatalogResourceDc[]>;
|
|
20
31
|
/**
|
|
21
32
|
* No description
|
|
22
33
|
*
|
|
@@ -94,6 +105,17 @@ export declare class CatalogService extends Service {
|
|
|
94
105
|
* @response `200` OK
|
|
95
106
|
*/
|
|
96
107
|
getPermissions(resourceId: string): Promise<AccessControlListDc>;
|
|
108
|
+
/**
|
|
109
|
+
* No description
|
|
110
|
+
*
|
|
111
|
+
* @tags Catalog
|
|
112
|
+
* @name SetPermissions1
|
|
113
|
+
* @operationId CatalogController_SetPermissions_1
|
|
114
|
+
* @summary Set permissions to the resource.
|
|
115
|
+
* @request PUT:/resources/{resourceId}/permissions
|
|
116
|
+
* @response `200` OK
|
|
117
|
+
*/
|
|
118
|
+
setPermissions1(resourceId: string, data: AccessControlListDc): Promise<AccessControlListDc>;
|
|
97
119
|
/**
|
|
98
120
|
* No description
|
|
99
121
|
*
|
|
@@ -101,10 +123,10 @@ export declare class CatalogService extends Service {
|
|
|
101
123
|
* @name SetPermissions
|
|
102
124
|
* @operationId CatalogController_SetPermissions
|
|
103
125
|
* @summary Set permissions to the resource.
|
|
104
|
-
* @request PUT:/resources/
|
|
126
|
+
* @request PUT:/resources/permissions
|
|
105
127
|
* @response `200` OK
|
|
106
128
|
*/
|
|
107
|
-
setPermissions(
|
|
129
|
+
setPermissions(data: SetPermissionsPayload): Promise<ResourceAclDc[]>;
|
|
108
130
|
/**
|
|
109
131
|
* No description
|
|
110
132
|
*
|
|
@@ -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, 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, GetByGeometryGetParams, GetByGeometryParams, GetByGeometryPostParams, GetByGeometryPostPayload, GetByIdParams, GetFeatures1Params, GetFeaturesParametersDc, GetFilteredFeaturesCountDc, GetFilteredFeaturesCountParams, GetLayerExtentParams, GetLayerImageParams, GetLayersInfoParams, GetLayersListParams, GetRasterMetaParams2, GetTilesLayerImageParams, LayerUpdateInfo, LayerUpdateInfoDc, LinearServiceConfigurationDc, LocalTileServiceConfigurationDc, NetCdfMetaDc, 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
|
|
@@ -578,7 +578,7 @@ export declare class LayersService extends Service {
|
|
|
578
578
|
* @request GET:/layers/{name}/{id}/metadata
|
|
579
579
|
* @response `200` OK
|
|
580
580
|
*/
|
|
581
|
-
getRasterMeta({ name, id, ...query }:
|
|
581
|
+
getRasterMeta({ name, id, ...query }: GetRasterMetaParams2): Promise<(RasterMetaDc | NetCdfMetaDc)[]>;
|
|
582
582
|
/**
|
|
583
583
|
* No description
|
|
584
584
|
*
|
|
@@ -633,7 +633,7 @@ export declare class LayersService extends Service {
|
|
|
633
633
|
* @request GET:/layers/{name}/style/sprite.json
|
|
634
634
|
* @response `200` OK
|
|
635
635
|
*/
|
|
636
|
-
getDataLayout(name: string): Promise<
|
|
636
|
+
getDataLayout(name: string): Promise<void>;
|
|
637
637
|
/**
|
|
638
638
|
* No description
|
|
639
639
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccessControlListDc, BulkOperationResultDc,
|
|
1
|
+
import { AccessControlListDc, BulkOperationResultDc, DeleteResourcesParams5, 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: DeleteResourcesParams5): Promise<BulkOperationResultDc[]>;
|
|
53
53
|
/**
|
|
54
54
|
* No description
|
|
55
55
|
*
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { AddPayload, PagedListScriptDc, RunPayload, UpdateBody } from './data-contracts';
|
|
2
|
+
import { Service } from './Service';
|
|
3
|
+
/**
|
|
4
|
+
* @title Spatial Processing Core API
|
|
5
|
+
* @version 1.5.1.0
|
|
6
|
+
* @baseUrl /sp
|
|
7
|
+
*/
|
|
8
|
+
export declare class PythonTestService extends Service {
|
|
9
|
+
/**
|
|
10
|
+
* No description
|
|
11
|
+
*
|
|
12
|
+
* @tags PythonTest
|
|
13
|
+
* @name List
|
|
14
|
+
* @operationId PythonTestController_ListAsync
|
|
15
|
+
* @summary Get list of availiable scripts.
|
|
16
|
+
* @request GET:/python/list
|
|
17
|
+
* @response `200` OK
|
|
18
|
+
*/
|
|
19
|
+
list(): Promise<PagedListScriptDc>;
|
|
20
|
+
/**
|
|
21
|
+
* No description
|
|
22
|
+
*
|
|
23
|
+
* @tags PythonTest
|
|
24
|
+
* @name Add
|
|
25
|
+
* @operationId PythonTestController_AddAsync
|
|
26
|
+
* @summary Add new script.
|
|
27
|
+
* @request POST:/python
|
|
28
|
+
* @response `200` OK
|
|
29
|
+
*/
|
|
30
|
+
add(data: AddPayload | FormData): Promise<void>;
|
|
31
|
+
/**
|
|
32
|
+
* No description
|
|
33
|
+
*
|
|
34
|
+
* @tags PythonTest
|
|
35
|
+
* @name Update
|
|
36
|
+
* @operationId PythonTestController_UpdateAsync
|
|
37
|
+
* @summary Update script.
|
|
38
|
+
* @request PATCH:/python
|
|
39
|
+
* @response `200` OK
|
|
40
|
+
*/
|
|
41
|
+
update(data: UpdateBody | FormData): Promise<void>;
|
|
42
|
+
/**
|
|
43
|
+
* No description
|
|
44
|
+
*
|
|
45
|
+
* @tags PythonTest
|
|
46
|
+
* @name Delete
|
|
47
|
+
* @operationId PythonTestController_DeleteAsync
|
|
48
|
+
* @summary Remove script.
|
|
49
|
+
* @request DELETE:/python/{name}
|
|
50
|
+
* @response `200` OK
|
|
51
|
+
*/
|
|
52
|
+
delete(name: string): Promise<void>;
|
|
53
|
+
/**
|
|
54
|
+
* No description
|
|
55
|
+
*
|
|
56
|
+
* @tags PythonTest
|
|
57
|
+
* @name Run
|
|
58
|
+
* @operationId PythonTestController_RunAsync
|
|
59
|
+
* @summary Run script.
|
|
60
|
+
* @request POST:/python/{name}/run
|
|
61
|
+
* @response `200` OK
|
|
62
|
+
*/
|
|
63
|
+
run(name: string, data: RunPayload): Promise<void>;
|
|
64
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ClassifyDc,
|
|
1
|
+
import { ClassifyDc, ClassifyParams3, 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: ClassifyParams3): Promise<ClassifyDc>;
|
|
42
42
|
/**
|
|
43
43
|
* No description
|
|
44
44
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccessControlListDc, BulkOperationResultDc,
|
|
1
|
+
import { AccessControlListDc, BulkOperationResultDc, 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
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { GetAllParams2, PagedListTagInfoDc } 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 TagsService extends Service {
|
|
|
16
16
|
* @request GET:/tags
|
|
17
17
|
* @response `200` OK
|
|
18
18
|
*/
|
|
19
|
-
getAll(query:
|
|
19
|
+
getAll(query: GetAllParams2): Promise<PagedListTagInfoDc>;
|
|
20
20
|
/**
|
|
21
21
|
* No description
|
|
22
22
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GetCapabilities1Params,
|
|
1
|
+
import { GetCapabilities1Params, GetCapabilitiesParams10, 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:
|
|
19
|
+
getCapabilities(query: GetCapabilitiesParams10): Promise<void>;
|
|
20
20
|
/**
|
|
21
21
|
* No description
|
|
22
22
|
*
|