@evergis/api 4.0.1-alpha.0 → 4.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/dist/__generated__/AccountPreviewService.d.ts +2 -2
- package/dist/__generated__/DataSourceService.d.ts +46 -2
- package/dist/__generated__/LayersService.d.ts +2 -2
- package/dist/__generated__/PythonService.d.ts +75 -0
- package/dist/__generated__/ResourceCatalogService.d.ts +28 -6
- package/dist/__generated__/StatisticService.d.ts +2 -2
- package/dist/__generated__/TablesService.d.ts +2 -2
- package/dist/__generated__/WmsServerService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +234 -28
- package/dist/api.cjs.development.js +126 -101
- 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 +126 -101
- package/dist/api.esm.js.map +1 -1
- package/dist/services/AccountPreview.d.ts +0 -11
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FileUploadResponse,
|
|
1
|
+
import { FileUploadResponse, UploadPreviewPayload } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -27,7 +27,7 @@ export declare class AccountPreviewService extends Service {
|
|
|
27
27
|
* @request POST:/account/user/preview/{username}
|
|
28
28
|
* @response `200` OK
|
|
29
29
|
*/
|
|
30
|
-
uploadPreview(
|
|
30
|
+
uploadPreview(username: string | null, data: UploadPreviewPayload | FormData): Promise<FileUploadResponse>;
|
|
31
31
|
/**
|
|
32
32
|
* No description
|
|
33
33
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ArcGisDataSourceDc, ArcGisDataSourceInfoDc, DataSourceInfoDc, GetDataSourcesListParams, PagedListDataSourceInfoDc, PostgresDataSourceDc, PostgresDataSourceInfoDc, S3DataSourceDc, S3DataSourceInfoDc, TestConnectionInfoDc } from './data-contracts';
|
|
1
|
+
import { ArcGisDataSourceDc, ArcGisDataSourceInfoDc, DataSourceInfoDc, GetDataSourcesListParams, MosRuDataSourceDc, MosRuDataSourceInfoDc, PagedListDataSourceInfoDc, PostgresDataSourceDc, PostgresDataSourceInfoDc, S3DataSourceDc, S3DataSourceInfoDc, TestConnectionInfoDc, WmsDataSourceDc } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -71,7 +71,7 @@ export declare class DataSourceService extends Service {
|
|
|
71
71
|
* @request GET:/ds/{name}
|
|
72
72
|
* @response `200` OK
|
|
73
73
|
*/
|
|
74
|
-
getDataSource(name: string): Promise<DataSourceInfoDc | ArcGisDataSourceInfoDc | PostgresDataSourceInfoDc | S3DataSourceInfoDc>;
|
|
74
|
+
getDataSource(name: string): Promise<DataSourceInfoDc | ArcGisDataSourceInfoDc | MosRuDataSourceInfoDc | PostgresDataSourceInfoDc | S3DataSourceInfoDc>;
|
|
75
75
|
/**
|
|
76
76
|
* No description
|
|
77
77
|
*
|
|
@@ -94,6 +94,28 @@ export declare class DataSourceService extends Service {
|
|
|
94
94
|
* @response `200` OK
|
|
95
95
|
*/
|
|
96
96
|
testConnection(data: PostgresDataSourceDc): Promise<TestConnectionInfoDc>;
|
|
97
|
+
/**
|
|
98
|
+
* No description
|
|
99
|
+
*
|
|
100
|
+
* @tags DataSource
|
|
101
|
+
* @name CreateMosRuDataSource
|
|
102
|
+
* @operationId DataSourceController_CreateMosRuDataSource
|
|
103
|
+
* @summary Create data.mos.ru source.
|
|
104
|
+
* @request POST:/ds/dataMosRu
|
|
105
|
+
* @response `200` OK
|
|
106
|
+
*/
|
|
107
|
+
createMosRuDataSource(data: MosRuDataSourceDc): Promise<void>;
|
|
108
|
+
/**
|
|
109
|
+
* No description
|
|
110
|
+
*
|
|
111
|
+
* @tags DataSource
|
|
112
|
+
* @name UpdateMosRuDataSource
|
|
113
|
+
* @operationId DataSourceController_UpdateMosRuDataSource
|
|
114
|
+
* @summary Update arcgis data source.
|
|
115
|
+
* @request PATCH:/ds/dataMosRu
|
|
116
|
+
* @response `200` OK
|
|
117
|
+
*/
|
|
118
|
+
updateMosRuDataSource(data: MosRuDataSourceDc): Promise<void>;
|
|
97
119
|
/**
|
|
98
120
|
* No description
|
|
99
121
|
*
|
|
@@ -116,4 +138,26 @@ export declare class DataSourceService extends Service {
|
|
|
116
138
|
* @response `200` OK
|
|
117
139
|
*/
|
|
118
140
|
updateS3DataSource(data: S3DataSourceDc): Promise<void>;
|
|
141
|
+
/**
|
|
142
|
+
* No description
|
|
143
|
+
*
|
|
144
|
+
* @tags DataSource
|
|
145
|
+
* @name CreateArcGisDataSource1
|
|
146
|
+
* @operationId DataSourceController_CreateArcGisDataSource_1
|
|
147
|
+
* @summary Create WMS data source.
|
|
148
|
+
* @request POST:/ds/wms
|
|
149
|
+
* @response `200` OK
|
|
150
|
+
*/
|
|
151
|
+
createArcGisDataSource1(data: WmsDataSourceDc): Promise<void>;
|
|
152
|
+
/**
|
|
153
|
+
* No description
|
|
154
|
+
*
|
|
155
|
+
* @tags DataSource
|
|
156
|
+
* @name UpdateArcGisDataSource1
|
|
157
|
+
* @operationId DataSourceController_UpdateArcGisDataSource_1
|
|
158
|
+
* @summary Update WMS data source.
|
|
159
|
+
* @request PATCH:/ds/wms
|
|
160
|
+
* @response `200` OK
|
|
161
|
+
*/
|
|
162
|
+
updateArcGisDataSource1(data: WmsDataSourceDc): Promise<void>;
|
|
119
163
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccessControlListDc, AggregateAttributeParams, AggregationDataResultDc, AttributeDistinctsDc, BulkExtentsDc, BulkOperationResultDc, ClassifyDc, ClassifyParams, CompositeServiceConfigurationDc, CompositeServiceInfoDc, CreateFeaturesPayload, DeleteByConditionParams, DeleteFeatureParams, DeleteFeaturesParams, DeleteResourcesParams, DistinctsParams, EditAttributesInfoDc, EnvelopeDc, ExpressionValidationResultDc, FeatureDc, FeatureLayerServiceInfoDc, FeaturesContainsParams, FeatureSelectionDc, FeaturesListDc, FileUploadResponse, GetBulkExtentsParams, GetBulkExtentsPayload, GetBulkFeaturesPayload, GetByGeometryGetParams, GetByGeometryParams, GetByGeometryPostParams, GetByGeometryPostPayload, GetByIdParams, GetFeatures1Params, GetFeaturesParametersDc, GetFilteredFeaturesCountDc, GetFilteredFeaturesCountParams, GetLayerExtentParams, GetLayerImageParams, GetLayersInfoParams, GetLayersListParams,
|
|
1
|
+
import { AccessControlListDc, AggregateAttributeParams, AggregationDataResultDc, AttributeDistinctsDc, BulkExtentsDc, BulkOperationResultDc, ClassifyDc, ClassifyParams, CompositeServiceConfigurationDc, CompositeServiceInfoDc, CreateFeaturesPayload, DeleteByConditionParams, DeleteFeatureParams, DeleteFeaturesParams, DeleteResourcesParams, DistinctsParams, EditAttributesInfoDc, EnvelopeDc, ExpressionValidationResultDc, FeatureDc, FeatureLayerServiceInfoDc, FeaturesContainsParams, FeatureSelectionDc, FeaturesListDc, FileUploadResponse, GetBulkExtentsParams, GetBulkExtentsPayload, GetBulkFeaturesPayload, GetByGeometryGetParams, GetByGeometryParams, GetByGeometryPostParams, GetByGeometryPostPayload, GetByIdParams, GetFeatures1Params, GetFeaturesParametersDc, GetFilteredFeaturesCountDc, GetFilteredFeaturesCountParams, GetLayerExtentParams, GetLayerImageParams, GetLayersInfoParams, GetLayersListParams, GetRasterMetaParams5, GetTilesLayerImageParams, LayerUpdateInfo, LayerUpdateInfoDc, LinearServiceConfigurationDc, LocalTileServiceConfigurationDc, NetCdfMetaDc, PagedBulkFeaturesListDc, 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
|
|
@@ -600,7 +600,7 @@ export declare class LayersService extends Service {
|
|
|
600
600
|
* @request GET:/layers/{name}/{id}/metadata
|
|
601
601
|
* @response `200` OK
|
|
602
602
|
*/
|
|
603
|
-
getRasterMeta({ name, id, ...query }:
|
|
603
|
+
getRasterMeta({ name, id, ...query }: GetRasterMetaParams5): Promise<(RasterMetaDc | NetCdfMetaDc)[]>;
|
|
604
604
|
/**
|
|
605
605
|
* No description
|
|
606
606
|
*
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { GetAllScriptMethodsParams, GetAutoConfigurationParams, GetPythonConfigurationParams, PythonResourceCreateDto, RunScriptParams, RunScriptPayload, ScriptConfiguration, UpdatePythonConfigurationParams } 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 PythonService extends Service {
|
|
9
|
+
/**
|
|
10
|
+
* No description
|
|
11
|
+
*
|
|
12
|
+
* @tags Python
|
|
13
|
+
* @name CreatePythonResource
|
|
14
|
+
* @operationId PythonController_CreatePythonResource
|
|
15
|
+
* @summary Create python service.
|
|
16
|
+
* @request POST:/python/resource
|
|
17
|
+
* @response `200` OK
|
|
18
|
+
*/
|
|
19
|
+
createPythonResource(data: PythonResourceCreateDto): Promise<string>;
|
|
20
|
+
/**
|
|
21
|
+
* No description
|
|
22
|
+
*
|
|
23
|
+
* @tags Python
|
|
24
|
+
* @name UpdatePythonConfiguration
|
|
25
|
+
* @operationId PythonController_UpdatePythonConfiguration
|
|
26
|
+
* @summary Update python configuration.
|
|
27
|
+
* @request PATCH:/python/resource/configuration
|
|
28
|
+
* @response `200` OK
|
|
29
|
+
*/
|
|
30
|
+
updatePythonConfiguration(query: UpdatePythonConfigurationParams, data: ScriptConfiguration): Promise<void>;
|
|
31
|
+
/**
|
|
32
|
+
* No description
|
|
33
|
+
*
|
|
34
|
+
* @tags Python
|
|
35
|
+
* @name GetPythonConfiguration
|
|
36
|
+
* @operationId PythonController_GetPythonConfiguration
|
|
37
|
+
* @summary Get python configuration.
|
|
38
|
+
* @request GET:/python/resource/configuration
|
|
39
|
+
* @response `200` OK
|
|
40
|
+
*/
|
|
41
|
+
getPythonConfiguration(query: GetPythonConfigurationParams): Promise<ScriptConfiguration>;
|
|
42
|
+
/**
|
|
43
|
+
* No description
|
|
44
|
+
*
|
|
45
|
+
* @tags Python
|
|
46
|
+
* @name GetAutoConfiguration
|
|
47
|
+
* @operationId PythonController_GetAutoConfiguration
|
|
48
|
+
* @summary Get python configuration.
|
|
49
|
+
* @request GET:/python/resource/autoConfiguration
|
|
50
|
+
* @response `200` OK
|
|
51
|
+
*/
|
|
52
|
+
getAutoConfiguration(query: GetAutoConfigurationParams): Promise<ScriptConfiguration>;
|
|
53
|
+
/**
|
|
54
|
+
* No description
|
|
55
|
+
*
|
|
56
|
+
* @tags Python
|
|
57
|
+
* @name GetAllScriptMethods
|
|
58
|
+
* @operationId PythonController_GetAllScriptMethods
|
|
59
|
+
* @summary Get all script method configurations.
|
|
60
|
+
* @request GET:/python/resource/scriptMethods
|
|
61
|
+
* @response `200` OK
|
|
62
|
+
*/
|
|
63
|
+
getAllScriptMethods(query: GetAllScriptMethodsParams): Promise<ScriptConfiguration[]>;
|
|
64
|
+
/**
|
|
65
|
+
* No description
|
|
66
|
+
*
|
|
67
|
+
* @tags Python
|
|
68
|
+
* @name RunScript
|
|
69
|
+
* @operationId PythonController_RunScript
|
|
70
|
+
* @summary Run python script.
|
|
71
|
+
* @request POST:/python/resource/run
|
|
72
|
+
* @response `200` OK
|
|
73
|
+
*/
|
|
74
|
+
runScript(query: RunScriptParams, data: RunScriptPayload): Promise<void>;
|
|
75
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CopyResourceResultDc, CopyResourcesPayload, WorkspaceLimitsDc } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -7,16 +7,38 @@ import { Service } from './Service';
|
|
|
7
7
|
*/
|
|
8
8
|
export declare class ResourceCatalogService extends Service {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* No description
|
|
11
|
+
*
|
|
12
|
+
* @tags ResourceCatalog
|
|
13
|
+
* @name CheckLimitsForUser
|
|
14
|
+
* @operationId ResourceCatalogController_CheckLimitsForUser
|
|
15
|
+
* @summary Get limits of workspace.
|
|
16
|
+
* @request GET:/resources/checkLimits/user/{userName}
|
|
17
|
+
* @response `200` OK
|
|
18
|
+
*/
|
|
19
|
+
checkLimitsForUser(userName: string | null): Promise<WorkspaceLimitsDc>;
|
|
20
|
+
/**
|
|
21
|
+
* No description
|
|
11
22
|
*
|
|
12
23
|
* @tags ResourceCatalog
|
|
13
|
-
* @name
|
|
14
|
-
* @operationId
|
|
24
|
+
* @name CheckLimitsForRole
|
|
25
|
+
* @operationId ResourceCatalogController_CheckLimitsForRole
|
|
15
26
|
* @summary Get limits of workspace.
|
|
16
|
-
* @request GET:/resources/checkLimits
|
|
27
|
+
* @request GET:/resources/checkLimits/role/{roleName}
|
|
28
|
+
* @response `200` OK
|
|
29
|
+
*/
|
|
30
|
+
checkLimitsForRole(roleName: string | null): Promise<WorkspaceLimitsDc>;
|
|
31
|
+
/**
|
|
32
|
+
* No description
|
|
33
|
+
*
|
|
34
|
+
* @tags ResourceCatalog
|
|
35
|
+
* @name GetDefaultLimits
|
|
36
|
+
* @operationId ResourceCatalogController_GetDefaultLimits
|
|
37
|
+
* @summary Get default limits of workspace.
|
|
38
|
+
* @request GET:/resources/checkLimits/default
|
|
17
39
|
* @response `200` OK
|
|
18
40
|
*/
|
|
19
|
-
|
|
41
|
+
getDefaultLimits(): Promise<WorkspaceLimitsDc>;
|
|
20
42
|
/**
|
|
21
43
|
* No description
|
|
22
44
|
*
|
|
@@ -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
|
|
@@ -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: ClassifyParams9): Promise<ClassifyDc>;
|
|
42
42
|
/**
|
|
43
43
|
* No description
|
|
44
44
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccessControlListDc, BulkOperationResultDc, CreateViewFromQueryDc, CreateViewFromQueryLayerDc,
|
|
1
|
+
import { AccessControlListDc, BulkOperationResultDc, CreateViewFromQueryDc, CreateViewFromQueryLayerDc, DeleteResourcesParams1, 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: DeleteResourcesParams1): Promise<BulkOperationResultDc[]>;
|
|
53
53
|
/**
|
|
54
54
|
* No description
|
|
55
55
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GetCapabilities1Params,
|
|
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:
|
|
19
|
+
getCapabilities(query: GetCapabilitiesParams5): Promise<void>;
|
|
20
20
|
/**
|
|
21
21
|
* No description
|
|
22
22
|
*
|