@evergis/api 3.0.214 → 3.0.215
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/Api.d.ts +3 -5
- package/dist/__generated__/AccountService.d.ts +2 -2
- package/dist/__generated__/DataSourceService.d.ts +68 -2
- package/dist/__generated__/EqlService.d.ts +12 -1
- package/dist/__generated__/LayersService.d.ts +2 -2
- package/dist/__generated__/RemoteTaskManagerService.d.ts +262 -0
- 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 +729 -660
- package/dist/api.cjs.development.js +548 -856
- 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 +813 -1091
- package/dist/api.esm.js.map +1 -1
- package/dist/index.d.ts +0 -3
- package/dist/services/RemoteTaskManager.d.ts +3 -0
- package/dist/services/Statistic.d.ts +4 -2
- package/dist/services/index.d.ts +1 -1
- package/dist/utils/errorHandler.d.ts +1 -1
- package/dist/utils/index.d.ts +0 -1
- package/package.json +3 -3
- package/dist/SpatialProcessor.d.ts +0 -30
- package/dist/__generated__/SchedulerService.d.ts +0 -207
- package/dist/layers/EvergisDynamicLayer.d.ts +0 -28
- package/dist/layers/EvergisTileLayer.d.ts +0 -18
- package/dist/layers/LayersManager.d.ts +0 -11
- package/dist/layers/index.d.ts +0 -3
- package/dist/services/Scheduler.d.ts +0 -20
- package/dist/types/EvergisLayer.d.ts +0 -6
- package/dist/types/index.d.ts +0 -1
- package/dist/utils/guards.d.ts +0 -6
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
|
+
```
|
package/dist/Api.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { QueryTokenAccessService } from './__generated__/QueryTokenAccessService
|
|
|
7
7
|
import { SpatialReferencesService } from './__generated__/SpatialReferencesService';
|
|
8
8
|
import { UniversalSearchService } from './__generated__/UniversalSearchService';
|
|
9
9
|
import { CatalogService } from './__generated__/CatalogService';
|
|
10
|
-
import { Account, AccountPreview, BulkOperations, Cameras, ClientSettings, External, Eql, Feedback, FileUpload, Filters, General, Geocode, IceRouter, Import, Layers, Names, Namespace, Notification, PortalSettings, Print, Projects, ResourceCatalog, Resources,
|
|
10
|
+
import { Account, AccountPreview, BulkOperations, Cameras, ClientSettings, External, Eql, Feedback, FileUpload, Filters, General, Geocode, IceRouter, Import, Layers, Names, Namespace, Notification, PortalSettings, Print, Projects, RemoteTaskManager, ResourceCatalog, Resources, Security, Statistic, Styles, Tables, Tools, VectorTiles } from './services';
|
|
11
11
|
import { AuthenticateParams, LoginDc } from './__generated__/data-contracts';
|
|
12
12
|
export declare type ApiParams = {
|
|
13
13
|
url: string;
|
|
@@ -35,7 +35,6 @@ export declare class Api extends EventEmitter {
|
|
|
35
35
|
readonly projects: Projects;
|
|
36
36
|
readonly security: Security;
|
|
37
37
|
readonly notification: Notification;
|
|
38
|
-
readonly scheduler: Scheduler;
|
|
39
38
|
readonly file: FileUpload;
|
|
40
39
|
readonly filters: Filters;
|
|
41
40
|
readonly import: Import;
|
|
@@ -66,13 +65,13 @@ export declare class Api extends EventEmitter {
|
|
|
66
65
|
readonly catalog: CatalogService;
|
|
67
66
|
readonly queryToken: QueryTokenAccessService;
|
|
68
67
|
readonly dataSource: DataSourceService;
|
|
68
|
+
readonly remoteTaskManager: RemoteTaskManager;
|
|
69
69
|
constructor({ url, wsUrl, wsKeepAlive, snappingHubUrl, http, urlPath, httpOptions, }: ApiParams);
|
|
70
|
-
init({ authParams, authQueryParams, connectWs,
|
|
70
|
+
init({ authParams, authQueryParams, connectWs, fetchSettings, fetchUser, useJwt, }: {
|
|
71
71
|
authParams?: LoginDc;
|
|
72
72
|
authQueryParams?: AuthenticateParams;
|
|
73
73
|
connectWs?: boolean;
|
|
74
74
|
connectSignalR?: boolean;
|
|
75
|
-
initScheduler?: boolean;
|
|
76
75
|
fetchSettings?: boolean;
|
|
77
76
|
fetchUser?: boolean;
|
|
78
77
|
useJwt?: boolean;
|
|
@@ -82,7 +81,6 @@ export declare class Api extends EventEmitter {
|
|
|
82
81
|
connectWs(): Promise<void>;
|
|
83
82
|
connectSignalR(): Promise<void>;
|
|
84
83
|
logout(): Promise<void>;
|
|
85
|
-
initScheduler(): Promise<void>;
|
|
86
84
|
private defineUrlPath;
|
|
87
85
|
get isShared(): boolean;
|
|
88
86
|
get isPresentation(): boolean;
|
|
@@ -84,7 +84,7 @@ export declare class AccountService extends Service {
|
|
|
84
84
|
*/
|
|
85
85
|
registerUser(data: RegisterUserDc): Promise<string>;
|
|
86
86
|
/**
|
|
87
|
-
* @description Only for users with SPCore.Security.ISecurityManager.SuperuserRole role.
|
|
87
|
+
* @description Only for users with SPCore.Security.Abstractions.ISecurityManager.SuperuserRole role.
|
|
88
88
|
*
|
|
89
89
|
* @tags Account
|
|
90
90
|
* @name CreateUser
|
|
@@ -106,7 +106,7 @@ export declare class AccountService extends Service {
|
|
|
106
106
|
*/
|
|
107
107
|
updateUser(data: UpdateUserDc): Promise<void>;
|
|
108
108
|
/**
|
|
109
|
-
* @description Only for users with SPCore.Security.ISecurityManager.SuperuserRole role.
|
|
109
|
+
* @description Only for users with SPCore.Security.Abstractions.ISecurityManager.SuperuserRole role.
|
|
110
110
|
*
|
|
111
111
|
* @tags Account
|
|
112
112
|
* @name ConfirmEmail
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DataSourceInfoDc, GetDataSourcesListParams, PagedListDataSourceInfoDc, PostgresDataSourceDc, PostgresDataSourceInfoDc, TestConnectionInfoDc } from './data-contracts';
|
|
1
|
+
import { ArcGisDataSourceDc, ArcGisDataSourceInfoDc, DataSourceInfoDc, GetDataSourcesListParams, 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
|
|
@@ -6,6 +6,28 @@ import { Service } from './Service';
|
|
|
6
6
|
* @baseUrl /sp
|
|
7
7
|
*/
|
|
8
8
|
export declare class DataSourceService extends Service {
|
|
9
|
+
/**
|
|
10
|
+
* No description
|
|
11
|
+
*
|
|
12
|
+
* @tags DataSource
|
|
13
|
+
* @name CreateArcGisDataSource
|
|
14
|
+
* @operationId DataSourceController_CreateArcGisDataSource
|
|
15
|
+
* @summary Create S3 data source.
|
|
16
|
+
* @request POST:/ds/arcgis
|
|
17
|
+
* @response `200` OK
|
|
18
|
+
*/
|
|
19
|
+
createArcGisDataSource(data: ArcGisDataSourceDc): Promise<void>;
|
|
20
|
+
/**
|
|
21
|
+
* No description
|
|
22
|
+
*
|
|
23
|
+
* @tags DataSource
|
|
24
|
+
* @name UpdateArcGisDataSource
|
|
25
|
+
* @operationId DataSourceController_UpdateArcGisDataSource
|
|
26
|
+
* @summary Update arcgis data source.
|
|
27
|
+
* @request PATCH:/ds/arcgis
|
|
28
|
+
* @response `200` OK
|
|
29
|
+
*/
|
|
30
|
+
updateArcGisDataSource(data: ArcGisDataSourceDc): Promise<void>;
|
|
9
31
|
/**
|
|
10
32
|
* No description
|
|
11
33
|
*
|
|
@@ -49,7 +71,7 @@ export declare class DataSourceService extends Service {
|
|
|
49
71
|
* @request GET:/ds/{name}
|
|
50
72
|
* @response `200` OK
|
|
51
73
|
*/
|
|
52
|
-
getDataSource(name: string): Promise<DataSourceInfoDc | PostgresDataSourceInfoDc>;
|
|
74
|
+
getDataSource(name: string): Promise<DataSourceInfoDc | ArcGisDataSourceInfoDc | PostgresDataSourceInfoDc | S3DataSourceInfoDc>;
|
|
53
75
|
/**
|
|
54
76
|
* No description
|
|
55
77
|
*
|
|
@@ -72,4 +94,48 @@ export declare class DataSourceService extends Service {
|
|
|
72
94
|
* @response `200` OK
|
|
73
95
|
*/
|
|
74
96
|
testConnection(data: PostgresDataSourceDc): Promise<TestConnectionInfoDc>;
|
|
97
|
+
/**
|
|
98
|
+
* No description
|
|
99
|
+
*
|
|
100
|
+
* @tags DataSource
|
|
101
|
+
* @name CreateS3DataSource
|
|
102
|
+
* @operationId DataSourceController_CreateS3DataSource
|
|
103
|
+
* @summary Create S3 data source.
|
|
104
|
+
* @request POST:/ds/s3
|
|
105
|
+
* @response `200` OK
|
|
106
|
+
*/
|
|
107
|
+
createS3DataSource(data: S3DataSourceDc): Promise<void>;
|
|
108
|
+
/**
|
|
109
|
+
* No description
|
|
110
|
+
*
|
|
111
|
+
* @tags DataSource
|
|
112
|
+
* @name UpdateS3DataSource
|
|
113
|
+
* @operationId DataSourceController_UpdateS3DataSource
|
|
114
|
+
* @summary Create S3 data source.
|
|
115
|
+
* @request PATCH:/ds/s3
|
|
116
|
+
* @response `200` OK
|
|
117
|
+
*/
|
|
118
|
+
updateS3DataSource(data: S3DataSourceDc): Promise<void>;
|
|
119
|
+
/**
|
|
120
|
+
* No description
|
|
121
|
+
*
|
|
122
|
+
* @tags DataSource
|
|
123
|
+
* @name CreateArcGisDataSource1
|
|
124
|
+
* @operationId DataSourceController_CreateArcGisDataSource_1
|
|
125
|
+
* @summary Create WMS data source.
|
|
126
|
+
* @request POST:/ds/wms
|
|
127
|
+
* @response `200` OK
|
|
128
|
+
*/
|
|
129
|
+
createArcGisDataSource1(data: WmsDataSourceDc): Promise<void>;
|
|
130
|
+
/**
|
|
131
|
+
* No description
|
|
132
|
+
*
|
|
133
|
+
* @tags DataSource
|
|
134
|
+
* @name UpdateArcGisDataSource1
|
|
135
|
+
* @operationId DataSourceController_UpdateArcGisDataSource_1
|
|
136
|
+
* @summary Update WMS data source.
|
|
137
|
+
* @request PATCH:/ds/wms
|
|
138
|
+
* @response `200` OK
|
|
139
|
+
*/
|
|
140
|
+
updateArcGisDataSource1(data: WmsDataSourceDc): Promise<void>;
|
|
75
141
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AttributeDefinitionDc, EqlRequestDc, GetLayerParameters1Params, GetLayerParametersParams, RemoveLayerParameterValueParams, SetLayerParametersParams, SetLayerParametersPayload, SetLayerParameterValueParams } from './data-contracts';
|
|
1
|
+
import { AttributeDefinitionDc, AvailiableValuesDc, EqlRequestDc, GetAvailiableLayerParametersParams, GetLayerParameters1Params, GetLayerParametersParams, RemoveLayerParameterValueParams, SetLayerParametersParams, SetLayerParametersPayload, SetLayerParameterValueParams } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -83,4 +83,15 @@ export declare class EqlService extends Service {
|
|
|
83
83
|
* @response `200` OK
|
|
84
84
|
*/
|
|
85
85
|
removeLayerParameterValue(query: RemoveLayerParameterValueParams): Promise<void>;
|
|
86
|
+
/**
|
|
87
|
+
* No description
|
|
88
|
+
*
|
|
89
|
+
* @tags Eql
|
|
90
|
+
* @name GetAvailiableLayerParameters
|
|
91
|
+
* @operationId EqlController_GetAvailiableLayerParameters
|
|
92
|
+
* @summary Get availiable layer parameters values.
|
|
93
|
+
* @request GET:/eql/getAvailiableParams
|
|
94
|
+
* @response `200` OK
|
|
95
|
+
*/
|
|
96
|
+
getAvailiableLayerParameters(query: GetAvailiableLayerParametersParams): Promise<AvailiableValuesDc>;
|
|
86
97
|
}
|
|
@@ -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, GetRasterMetaParams2, 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 }: GetRasterMetaParams2): Promise<(RasterMetaDc | NetCdfMetaDc)[]>;
|
|
604
604
|
/**
|
|
605
605
|
* No description
|
|
606
606
|
*
|
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
import { ActiveWorkerDc, AvailableAreaTaskDc, BufferTaskDc, CopyTableTaskDc, CopyTaskDc, CreateRasterCogTaskDc, CreateRasterNetCdfTaskDc, CreateRasterVrtTaskDc, GeocodeTaskDc, GetTaskPrototypesParams, GetTasksForPrototypeParams, OverlayTaskDc, TaskPrototypeDto, UnionTaskDc, UpdateTaskPrototypeDto, WorkerStartMethodDto } 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 RemoteTaskManagerService extends Service {
|
|
9
|
+
/**
|
|
10
|
+
* No description
|
|
11
|
+
*
|
|
12
|
+
* @tags RemoteTaskManager
|
|
13
|
+
* @name CancelTask
|
|
14
|
+
* @operationId RemoteTaskManagerController_CancelTask
|
|
15
|
+
* @summary Cancel task execution by given id.
|
|
16
|
+
* @request POST:/scheduler/tasks/{id}/cancel
|
|
17
|
+
* @response `200` OK
|
|
18
|
+
*/
|
|
19
|
+
cancelTask(id: string): Promise<void>;
|
|
20
|
+
/**
|
|
21
|
+
* No description
|
|
22
|
+
*
|
|
23
|
+
* @tags RemoteTaskManager
|
|
24
|
+
* @name StartCogCreateTask
|
|
25
|
+
* @operationId RemoteTaskManagerController_StartCogCreateTask
|
|
26
|
+
* @summary Plans the execution of a 'create raster cog' server task.
|
|
27
|
+
* @request POST:/scheduler/tasks#type=cogService_create
|
|
28
|
+
* @response `200` OK
|
|
29
|
+
*/
|
|
30
|
+
startCogCreateTask(data: CreateRasterCogTaskDc): Promise<string>;
|
|
31
|
+
/**
|
|
32
|
+
* No description
|
|
33
|
+
*
|
|
34
|
+
* @tags RemoteTaskManager
|
|
35
|
+
* @name StartRasterVrtTask
|
|
36
|
+
* @operationId RemoteTaskManagerController_StartRasterVrtTask
|
|
37
|
+
* @summary Plans the execution of a 'create raster vrt' server task.
|
|
38
|
+
* @request POST:/scheduler/tasks#type=cogService_vrt
|
|
39
|
+
* @response `200` OK
|
|
40
|
+
*/
|
|
41
|
+
startRasterVrtTask(data: CreateRasterVrtTaskDc): Promise<string>;
|
|
42
|
+
/**
|
|
43
|
+
* No description
|
|
44
|
+
*
|
|
45
|
+
* @tags RemoteTaskManager
|
|
46
|
+
* @name StartNetCdfTask
|
|
47
|
+
* @operationId RemoteTaskManagerController_StartNetCdfTask
|
|
48
|
+
* @summary Plans the execution of a 'create raster netcdf' server task.
|
|
49
|
+
* @request POST:/scheduler/tasks#type=cogService_netcdf
|
|
50
|
+
* @response `200` OK
|
|
51
|
+
*/
|
|
52
|
+
startNetCdfTask(data: CreateRasterNetCdfTaskDc): Promise<string>;
|
|
53
|
+
/**
|
|
54
|
+
* No description
|
|
55
|
+
*
|
|
56
|
+
* @tags RemoteTaskManager
|
|
57
|
+
* @name StartBufferTask
|
|
58
|
+
* @operationId RemoteTaskManagerController_StartBufferTask
|
|
59
|
+
* @summary Plans the execution of a 'create buffers' server task.
|
|
60
|
+
* @request POST:/scheduler/tasks#type=geoService_buffer
|
|
61
|
+
* @response `200` OK
|
|
62
|
+
*/
|
|
63
|
+
startBufferTask(data: BufferTaskDc): Promise<string>;
|
|
64
|
+
/**
|
|
65
|
+
* No description
|
|
66
|
+
*
|
|
67
|
+
* @tags RemoteTaskManager
|
|
68
|
+
* @name StartCopyTableTask
|
|
69
|
+
* @operationId RemoteTaskManagerController_StartCopyTableTask
|
|
70
|
+
* @summary Plans the execution of a 'copy table' server task.
|
|
71
|
+
* @request POST:/scheduler/tasks#type=geoService_copy
|
|
72
|
+
* @response `200` OK
|
|
73
|
+
*/
|
|
74
|
+
startCopyTableTask(data: CopyTableTaskDc): Promise<string>;
|
|
75
|
+
/**
|
|
76
|
+
* No description
|
|
77
|
+
*
|
|
78
|
+
* @tags RemoteTaskManager
|
|
79
|
+
* @name StartUnionTask
|
|
80
|
+
* @operationId RemoteTaskManagerController_StartUnionTask
|
|
81
|
+
* @summary Plans the execution of a 'create union' server task.
|
|
82
|
+
* @request POST:/scheduler/tasks#type=geoService_union
|
|
83
|
+
* @response `200` OK
|
|
84
|
+
*/
|
|
85
|
+
startUnionTask(data: UnionTaskDc): Promise<string>;
|
|
86
|
+
/**
|
|
87
|
+
* No description
|
|
88
|
+
*
|
|
89
|
+
* @tags RemoteTaskManager
|
|
90
|
+
* @name StartOverlayTask
|
|
91
|
+
* @operationId RemoteTaskManagerController_StartOverlayTask
|
|
92
|
+
* @summary Plans the execution of a 'create overlay' server task.
|
|
93
|
+
* @request POST:/scheduler/tasks#type=geoService_overlay
|
|
94
|
+
* @response `200` OK
|
|
95
|
+
*/
|
|
96
|
+
startOverlayTask(data: OverlayTaskDc): Promise<string>;
|
|
97
|
+
/**
|
|
98
|
+
* No description
|
|
99
|
+
*
|
|
100
|
+
* @tags RemoteTaskManager
|
|
101
|
+
* @name StartCopyTask
|
|
102
|
+
* @operationId RemoteTaskManagerController_StartCopyTask
|
|
103
|
+
* @summary Plans the execution of a 'copy storages' server task.
|
|
104
|
+
* @request POST:/scheduler/tasks#type=copyTask
|
|
105
|
+
* @response `200` OK
|
|
106
|
+
*/
|
|
107
|
+
startCopyTask(data: CopyTaskDc): Promise<string>;
|
|
108
|
+
/**
|
|
109
|
+
* No description
|
|
110
|
+
*
|
|
111
|
+
* @tags RemoteTaskManager
|
|
112
|
+
* @name StartAvailableAreaTask
|
|
113
|
+
* @operationId RemoteTaskManagerController_StartAvailableAreaTask
|
|
114
|
+
* @summary Plans the execution of a 'create available area' server task.
|
|
115
|
+
* @request POST:/scheduler/tasks#type=availabilityArea
|
|
116
|
+
* @response `200` OK
|
|
117
|
+
*/
|
|
118
|
+
startAvailableAreaTask(data: AvailableAreaTaskDc): Promise<string>;
|
|
119
|
+
/**
|
|
120
|
+
* No description
|
|
121
|
+
*
|
|
122
|
+
* @tags RemoteTaskManager
|
|
123
|
+
* @name StartGeocodeTask
|
|
124
|
+
* @operationId RemoteTaskManagerController_StartGeocodeTask
|
|
125
|
+
* @summary Plans the execution of a 'geocode' server task.
|
|
126
|
+
* @request POST:/scheduler/tasks#type=geocodeTask
|
|
127
|
+
* @response `200` OK
|
|
128
|
+
*/
|
|
129
|
+
startGeocodeTask(data: GeocodeTaskDc): Promise<string>;
|
|
130
|
+
/**
|
|
131
|
+
* No description
|
|
132
|
+
*
|
|
133
|
+
* @tags RemoteTaskManager
|
|
134
|
+
* @name Get
|
|
135
|
+
* @operationId RemoteTaskManagerController_Get
|
|
136
|
+
* @summary Shows SubTask in Task.
|
|
137
|
+
* @request GET:/scheduler/task/{id}/subtasks
|
|
138
|
+
* @response `200` OK
|
|
139
|
+
*/
|
|
140
|
+
get(id: string): Promise<void>;
|
|
141
|
+
/**
|
|
142
|
+
* No description
|
|
143
|
+
*
|
|
144
|
+
* @tags RemoteTaskManager
|
|
145
|
+
* @name Stop
|
|
146
|
+
* @operationId RemoteTaskManagerController_Stop
|
|
147
|
+
* @summary Stop the task.
|
|
148
|
+
* @request POST:/scheduler/task/{id}/stop
|
|
149
|
+
* @response `200` OK
|
|
150
|
+
*/
|
|
151
|
+
stop(id: string): Promise<void>;
|
|
152
|
+
/**
|
|
153
|
+
* No description
|
|
154
|
+
*
|
|
155
|
+
* @tags RemoteTaskManager
|
|
156
|
+
* @name CreateTaskPrototype
|
|
157
|
+
* @operationId RemoteTaskManagerController_CreateTaskPrototype
|
|
158
|
+
* @summary Creates TaskPrototype.
|
|
159
|
+
* @request POST:/scheduler
|
|
160
|
+
* @response `200` OK
|
|
161
|
+
*/
|
|
162
|
+
createTaskPrototype(data: TaskPrototypeDto): Promise<string>;
|
|
163
|
+
/**
|
|
164
|
+
* No description
|
|
165
|
+
*
|
|
166
|
+
* @tags RemoteTaskManager
|
|
167
|
+
* @name GetTaskPrototypes
|
|
168
|
+
* @operationId RemoteTaskManagerController_GetTaskPrototypes
|
|
169
|
+
* @summary Show TaskPrototypes for user.
|
|
170
|
+
* @request GET:/scheduler
|
|
171
|
+
* @response `200` OK
|
|
172
|
+
*/
|
|
173
|
+
getTaskPrototypes(query: GetTaskPrototypesParams): Promise<void>;
|
|
174
|
+
/**
|
|
175
|
+
* No description
|
|
176
|
+
*
|
|
177
|
+
* @tags RemoteTaskManager
|
|
178
|
+
* @name UpdateTaskPrototype
|
|
179
|
+
* @operationId RemoteTaskManagerController_UpdateTaskPrototype
|
|
180
|
+
* @summary Updates task prototype.
|
|
181
|
+
* @request PUT:/scheduler/{id}
|
|
182
|
+
* @response `200` OK
|
|
183
|
+
*/
|
|
184
|
+
updateTaskPrototype(id: string, data: UpdateTaskPrototypeDto): Promise<void>;
|
|
185
|
+
/**
|
|
186
|
+
* No description
|
|
187
|
+
*
|
|
188
|
+
* @tags RemoteTaskManager
|
|
189
|
+
* @name Delete
|
|
190
|
+
* @operationId RemoteTaskManagerController_Delete
|
|
191
|
+
* @summary Delete task prototype.
|
|
192
|
+
* @request DELETE:/scheduler/{id}
|
|
193
|
+
* @response `200` OK
|
|
194
|
+
*/
|
|
195
|
+
delete(id: string): Promise<void>;
|
|
196
|
+
/**
|
|
197
|
+
* No description
|
|
198
|
+
*
|
|
199
|
+
* @tags RemoteTaskManager
|
|
200
|
+
* @name SetEnable
|
|
201
|
+
* @operationId RemoteTaskManagerController_SetEnable
|
|
202
|
+
* @summary Enables task prototype.
|
|
203
|
+
* @request POST:/scheduler/{id}/enable/{enable}
|
|
204
|
+
* @response `200` OK
|
|
205
|
+
*/
|
|
206
|
+
setEnable(id: string, enable: boolean): Promise<void>;
|
|
207
|
+
/**
|
|
208
|
+
* No description
|
|
209
|
+
*
|
|
210
|
+
* @tags RemoteTaskManager
|
|
211
|
+
* @name GetTasksForPrototype
|
|
212
|
+
* @operationId RemoteTaskManagerController_GetTasksForPrototype
|
|
213
|
+
* @summary Shows Tasks that created for TaskPrototype.
|
|
214
|
+
* @request GET:/scheduler/{id}/tasks
|
|
215
|
+
* @response `200` OK
|
|
216
|
+
*/
|
|
217
|
+
getTasksForPrototype({ id, ...query }: GetTasksForPrototypeParams): Promise<void>;
|
|
218
|
+
/**
|
|
219
|
+
* No description
|
|
220
|
+
*
|
|
221
|
+
* @tags RemoteTaskManager
|
|
222
|
+
* @name StartTask
|
|
223
|
+
* @operationId RemoteTaskManagerController_StartTask
|
|
224
|
+
* @summary Starts new Task for TaskPrototype with task id definition.
|
|
225
|
+
* @request POST:/scheduler/{id}/start/{taskId}
|
|
226
|
+
* @response `200` OK
|
|
227
|
+
*/
|
|
228
|
+
startTask(id: string, taskId: string): Promise<void>;
|
|
229
|
+
/**
|
|
230
|
+
* No description
|
|
231
|
+
*
|
|
232
|
+
* @tags RemoteTaskManager
|
|
233
|
+
* @name StartTask1
|
|
234
|
+
* @operationId RemoteTaskManagerController_StartTask_1
|
|
235
|
+
* @summary Starts new Task for TaskPrototype .
|
|
236
|
+
* @request POST:/scheduler/{id}/start
|
|
237
|
+
* @response `200` OK
|
|
238
|
+
*/
|
|
239
|
+
startTask1(id: string): Promise<void>;
|
|
240
|
+
/**
|
|
241
|
+
* No description
|
|
242
|
+
*
|
|
243
|
+
* @tags RemoteTaskManager
|
|
244
|
+
* @name Get1
|
|
245
|
+
* @operationId RemoteTaskManagerController_Get_1
|
|
246
|
+
* @summary Shows active workers.
|
|
247
|
+
* @request GET:/scheduler/worker
|
|
248
|
+
* @response `200` OK
|
|
249
|
+
*/
|
|
250
|
+
get1(): Promise<ActiveWorkerDc[]>;
|
|
251
|
+
/**
|
|
252
|
+
* No description
|
|
253
|
+
*
|
|
254
|
+
* @tags RemoteTaskManager
|
|
255
|
+
* @name Post
|
|
256
|
+
* @operationId RemoteTaskManagerController_Post
|
|
257
|
+
* @summary Run method by HttpPost.
|
|
258
|
+
* @request POST:/scheduler/worker
|
|
259
|
+
* @response `200` OK
|
|
260
|
+
*/
|
|
261
|
+
post(data: WorkerStartMethodDto): Promise<any>;
|
|
262
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ClassifyDc,
|
|
1
|
+
import { ClassifyDc, ClassifyParams8, 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: ClassifyParams8): 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, 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 { GetCapabilities1Params,
|
|
1
|
+
import { GetCapabilities1Params, GetCapabilitiesParams7, 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: GetCapabilitiesParams7): Promise<void>;
|
|
20
20
|
/**
|
|
21
21
|
* No description
|
|
22
22
|
*
|