@evergis/api 4.0.4 → 4.0.7
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/Api.d.ts +1 -4
- package/dist/__generated__/EqlService.d.ts +12 -1
- package/dist/__generated__/GeneralService.d.ts +1 -12
- package/dist/__generated__/LayersService.d.ts +36 -223
- package/dist/__generated__/ProjectsService.d.ts +7 -84
- package/dist/__generated__/PythonService.d.ts +2 -46
- package/dist/__generated__/QueryTokenAccessService.d.ts +11 -4
- package/dist/__generated__/RemoteTaskManagerService.d.ts +65 -131
- package/dist/__generated__/StatisticService.d.ts +2 -2
- package/dist/__generated__/TablesService.d.ts +2 -101
- package/dist/__generated__/WmsServerService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +759 -1290
- package/dist/api.cjs.development.js +378 -1336
- 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 +362 -1311
- package/dist/api.esm.js.map +1 -1
- package/dist/services/FileUpload.d.ts +3 -3
- package/dist/services/Layers.d.ts +4 -10
- package/dist/services/Projects.d.ts +1 -2
- package/dist/services/Tables.d.ts +1 -2
- package/dist/services/VectorTiles.d.ts +1 -1
- package/dist/services/index.d.ts +0 -1
- package/package.json +2 -2
- package/dist/__generated__/NamespaceService.d.ts +0 -53
- package/dist/__generated__/NavigationService.d.ts +0 -20
- package/dist/__generated__/S3Service.d.ts +0 -86
- package/dist/__generated__/StaticContentService.d.ts +0 -53
- package/dist/__generated__/TagsService.d.ts +0 -31
- package/dist/__generated__/UniversalSearchService.d.ts +0 -31
- package/dist/services/Namespace.d.ts +0 -3
package/dist/Api.d.ts
CHANGED
|
@@ -5,9 +5,8 @@ import { HttpClient } from './__generated__/HttpClient';
|
|
|
5
5
|
import { DataSourceService } from './__generated__/DataSourceService';
|
|
6
6
|
import { QueryTokenAccessService } from './__generated__/QueryTokenAccessService';
|
|
7
7
|
import { SpatialReferencesService } from './__generated__/SpatialReferencesService';
|
|
8
|
-
import { UniversalSearchService } from './__generated__/UniversalSearchService';
|
|
9
8
|
import { CatalogService } from './__generated__/CatalogService';
|
|
10
|
-
import { Account, AccountPreview, BulkOperations, Cameras, ClientSettings, External, Eql, Feedback, FileUpload, Filters, General, Geocode, IceRouter, Import, Layers, Names,
|
|
9
|
+
import { Account, AccountPreview, BulkOperations, Cameras, ClientSettings, External, Eql, Feedback, FileUpload, Filters, General, Geocode, IceRouter, Import, Layers, Names, Notification, PortalSettings, Print, Projects, RemoteTaskManager, ResourceCatalog, Resources, Security, Statistic, Styles, Tables, Tools, VectorTiles } from './services';
|
|
11
10
|
import { AuthenticateParams, LoginDc } from './__generated__/data-contracts';
|
|
12
11
|
export declare type ApiParams = {
|
|
13
12
|
url: string;
|
|
@@ -46,7 +45,6 @@ export declare class Api extends EventEmitter {
|
|
|
46
45
|
readonly tools: Tools;
|
|
47
46
|
readonly resourceCatalog: ResourceCatalog;
|
|
48
47
|
readonly general: General;
|
|
49
|
-
readonly namespace: Namespace;
|
|
50
48
|
readonly account: Account;
|
|
51
49
|
readonly accountPreview: AccountPreview;
|
|
52
50
|
readonly external: External;
|
|
@@ -59,7 +57,6 @@ export declare class Api extends EventEmitter {
|
|
|
59
57
|
readonly feedback: Feedback;
|
|
60
58
|
readonly snappingHub: HubConnection | null;
|
|
61
59
|
readonly vectorTiles: VectorTiles;
|
|
62
|
-
readonly universalSearch: UniversalSearchService;
|
|
63
60
|
readonly spatialReference: SpatialReferencesService;
|
|
64
61
|
readonly eql: Eql;
|
|
65
62
|
readonly catalog: CatalogService;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AttributeDefinitionDc, AvailiableValuesDc, EqlRequestDc, GetAvailiableLayerParametersParams, GetLayerParameters1Params, GetLayerParametersParams, RemoveLayerParameterValueParams, SetLayerParametersParams, SetLayerParametersPayload, SetLayerParameterValueParams } from './data-contracts';
|
|
1
|
+
import { AttributeDefinitionDc, AvailiableValuesDc, EqlRequestDc, FunctionInfoDc, 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
|
|
@@ -6,6 +6,17 @@ import { Service } from './Service';
|
|
|
6
6
|
* @baseUrl /sp
|
|
7
7
|
*/
|
|
8
8
|
export declare class EqlService extends Service {
|
|
9
|
+
/**
|
|
10
|
+
* No description
|
|
11
|
+
*
|
|
12
|
+
* @tags Eql
|
|
13
|
+
* @name GetFunctionsList
|
|
14
|
+
* @operationId EqlController_GetFunctionsList
|
|
15
|
+
* @summary Returns list of available functions.
|
|
16
|
+
* @request GET:/eql/functions
|
|
17
|
+
* @response `200` OK
|
|
18
|
+
*/
|
|
19
|
+
getFunctionsList(): Promise<FunctionInfoDc[]>;
|
|
9
20
|
/**
|
|
10
21
|
* No description
|
|
11
22
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ServerInfoDc } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -17,15 +17,4 @@ export declare class GeneralService extends Service {
|
|
|
17
17
|
* @response `200` OK
|
|
18
18
|
*/
|
|
19
19
|
getServerInfo(): Promise<ServerInfoDc>;
|
|
20
|
-
/**
|
|
21
|
-
* No description
|
|
22
|
-
*
|
|
23
|
-
* @tags General
|
|
24
|
-
* @name GetFunctionsList
|
|
25
|
-
* @operationId GeneralController_GetFunctionsList
|
|
26
|
-
* @summary Returns list of available functions.
|
|
27
|
-
* @request GET:/functions
|
|
28
|
-
* @response `200` OK
|
|
29
|
-
*/
|
|
30
|
-
getFunctionsList(): Promise<FunctionInfoDc[]>;
|
|
31
20
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AggregateAttributeParams, AggregationDataResultDc, AttributeDistinctsDc, BulkExtentsDc, BulkOperationResultDc, ClassifyDc, ClassifyParams, CreateFeaturesPayload, DeleteByConditionParams, DeleteFeatureParams, DeleteFeaturesParams, DeleteResourcesParams, DistinctsParams, EditAttributesInfoDc, EnvelopeDc, ExpressionValidationResultDc, FeatureDc, GetBulkExtentsParams, GetBulkExtentsPayload, GetBulkFeaturesPayload, GetByIdParams, GetFeatures1Params, GetFeaturesParametersDc, GetFilteredFeaturesCountDc, GetFilteredFeaturesCountParams, GetLayerExtentParams, GetLayerImageParams, GetLayersInfoParams, GetLayersListParams, GetRasterMetaParams8, GetTilesLayerImage1Params, GetTilesLayerImageParams, GetTilesLayerImageWithFormatAndDpiParams, LayerUpdateInfo, LayerUpdateInfoDc, LinearServiceConfigurationDc, NetCdfMetaDc, PagedBulkFeaturesListDc, PagedFeaturesListDc, PbfServiceConfigurationDc, PbfServiceInfoDc, PostgresTileCatalogServiceConfigurationDc, ProxyServiceInfoDc, PublishProxyServicePayload, PythonServiceConfigurationDc, PythonServiceInfoDc, QueryLayerServiceConfigurationDc, QueryLayerServiceInfoDc, RasterMetaDc, RemoteTileServiceConfigurationDc, RemoteTileServiceInfo, RemoteTileServiceInfoDc, ResourceDependenciesDc, ResourceInfoDc, RouteFeatureDc, RouteServiceConfigurationDc, ServiceInfoDc, ServiceListDc, SimpleSymbolDc, StyleDc, SubtractParams, SubtractPayload, TileCatalogServiceInfoDc, UniteParams, UnitePayload, UpdateFeaturePayload, UpdateProxyServicePayload, ValidateExpressionParams } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -39,17 +39,6 @@ export declare class LayersService extends Service {
|
|
|
39
39
|
* @response `200` OK
|
|
40
40
|
*/
|
|
41
41
|
getLayersList(query: GetLayersListParams): Promise<ServiceListDc>;
|
|
42
|
-
/**
|
|
43
|
-
* No description
|
|
44
|
-
*
|
|
45
|
-
* @tags Layers
|
|
46
|
-
* @name SetPermissionsBatch
|
|
47
|
-
* @operationId LayersController_SetPermissionsBatch
|
|
48
|
-
* @summary Overrides multiply resources permissions in single batch.
|
|
49
|
-
* @request PUT:/layers
|
|
50
|
-
* @response `200` OK
|
|
51
|
-
*/
|
|
52
|
-
setPermissionsBatch(data: SetPermissionsBatchPayload): Promise<void>;
|
|
53
42
|
/**
|
|
54
43
|
* No description
|
|
55
44
|
*
|
|
@@ -115,7 +104,7 @@ export declare class LayersService extends Service {
|
|
|
115
104
|
* @request POST:/layers#type=ProxyService
|
|
116
105
|
* @response `default` Error
|
|
117
106
|
*/
|
|
118
|
-
publishProxyService(data: PublishProxyServicePayload): Promise<ProxyServiceInfoDc | PbfServiceInfoDc>;
|
|
107
|
+
publishProxyService(data: PublishProxyServicePayload): Promise<ProxyServiceInfoDc | PbfServiceInfoDc | PythonServiceInfoDc>;
|
|
119
108
|
/**
|
|
120
109
|
* No description
|
|
121
110
|
*
|
|
@@ -149,28 +138,6 @@ export declare class LayersService extends Service {
|
|
|
149
138
|
* @response `default` Error
|
|
150
139
|
*/
|
|
151
140
|
publishRemoteTileService(data: RemoteTileServiceConfigurationDc): Promise<RemoteTileServiceInfoDc>;
|
|
152
|
-
/**
|
|
153
|
-
* No description
|
|
154
|
-
*
|
|
155
|
-
* @tags Layers
|
|
156
|
-
* @name PublishLocalTileService
|
|
157
|
-
* @operationId LayersController_PublishLocalTileService
|
|
158
|
-
* @summary Creates new Local Tile Service.
|
|
159
|
-
* @request POST:/layers#type=LocalTileService
|
|
160
|
-
* @response `default` Error
|
|
161
|
-
*/
|
|
162
|
-
publishLocalTileService(data: LocalTileServiceConfigurationDc): Promise<TileServiceInfoDc | RemoteTileServiceInfoDc>;
|
|
163
|
-
/**
|
|
164
|
-
* No description
|
|
165
|
-
*
|
|
166
|
-
* @tags Layers
|
|
167
|
-
* @name PublishPostgresLayerService
|
|
168
|
-
* @operationId LayersController_PublishPostgresLayerService
|
|
169
|
-
* @summary Creates new Postgres Layer Service.
|
|
170
|
-
* @request POST:/layers#type=PostgresLayerService
|
|
171
|
-
* @response `default` Error
|
|
172
|
-
*/
|
|
173
|
-
publishPostgresLayerService(data: PostgresLayerServiceConfigurationDc): Promise<FeatureLayerServiceInfoDc>;
|
|
174
141
|
/**
|
|
175
142
|
* No description
|
|
176
143
|
*
|
|
@@ -192,18 +159,18 @@ export declare class LayersService extends Service {
|
|
|
192
159
|
* @request POST:/layers#type=PostgresTileLayerService
|
|
193
160
|
* @response `default` Error
|
|
194
161
|
*/
|
|
195
|
-
publishPostgresTileCatalogService(data: PostgresTileCatalogServiceConfigurationDc): Promise<
|
|
162
|
+
publishPostgresTileCatalogService(data: PostgresTileCatalogServiceConfigurationDc): Promise<TileCatalogServiceInfoDc>;
|
|
196
163
|
/**
|
|
197
164
|
* No description
|
|
198
165
|
*
|
|
199
166
|
* @tags Layers
|
|
200
|
-
* @name
|
|
201
|
-
* @operationId
|
|
202
|
-
* @summary Creates new
|
|
203
|
-
* @request POST:/layers#type=
|
|
167
|
+
* @name PublishPythonService
|
|
168
|
+
* @operationId LayersController_PublishPythonService
|
|
169
|
+
* @summary Creates new python service.
|
|
170
|
+
* @request POST:/layers#type=Python
|
|
204
171
|
* @response `default` Error
|
|
205
172
|
*/
|
|
206
|
-
|
|
173
|
+
publishPythonService(data: PythonServiceConfigurationDc): Promise<PythonServiceInfoDc>;
|
|
207
174
|
/**
|
|
208
175
|
* No description
|
|
209
176
|
*
|
|
@@ -215,6 +182,17 @@ export declare class LayersService extends Service {
|
|
|
215
182
|
* @response `default` Error
|
|
216
183
|
*/
|
|
217
184
|
updateMapboxService(name: string, data: PbfServiceConfigurationDc): Promise<PbfServiceInfoDc>;
|
|
185
|
+
/**
|
|
186
|
+
* No description
|
|
187
|
+
*
|
|
188
|
+
* @tags Layers
|
|
189
|
+
* @name UpdatePythonService
|
|
190
|
+
* @operationId LayersController_UpdatePythonService
|
|
191
|
+
* @summary Update python service.
|
|
192
|
+
* @request PATCH:/layers/{name}#type=Python
|
|
193
|
+
* @response `default` Error
|
|
194
|
+
*/
|
|
195
|
+
updatePythonService(name: string, data: PythonServiceConfigurationDc): Promise<PythonServiceInfoDc>;
|
|
218
196
|
/**
|
|
219
197
|
* No description
|
|
220
198
|
*
|
|
@@ -225,7 +203,7 @@ export declare class LayersService extends Service {
|
|
|
225
203
|
* @request PATCH:/layers/{name}#type=ProxyService
|
|
226
204
|
* @response `default` Error
|
|
227
205
|
*/
|
|
228
|
-
updateProxyService(name: string, data: UpdateProxyServicePayload): Promise<ProxyServiceInfoDc | PbfServiceInfoDc>;
|
|
206
|
+
updateProxyService(name: string, data: UpdateProxyServicePayload): Promise<ProxyServiceInfoDc | PbfServiceInfoDc | PythonServiceInfoDc>;
|
|
229
207
|
/**
|
|
230
208
|
* No description
|
|
231
209
|
*
|
|
@@ -236,18 +214,7 @@ export declare class LayersService extends Service {
|
|
|
236
214
|
* @request PATCH:/layers/{name}#type=PostgresTileLayerService
|
|
237
215
|
* @response `default` Error
|
|
238
216
|
*/
|
|
239
|
-
updateTileCatalogService(name: string, data: PostgresTileCatalogServiceConfigurationDc): Promise<
|
|
240
|
-
/**
|
|
241
|
-
* No description
|
|
242
|
-
*
|
|
243
|
-
* @tags Layers
|
|
244
|
-
* @name PublishCompositeService
|
|
245
|
-
* @operationId LayersController_PublishCompositeService
|
|
246
|
-
* @summary Creates new Composite service SPCore.Security.Base.Impl.Services.Composite.CompositeService.
|
|
247
|
-
* @request POST:/layers#type=CompositeService
|
|
248
|
-
* @response `default` Error
|
|
249
|
-
*/
|
|
250
|
-
publishCompositeService(data: CompositeServiceConfigurationDc): Promise<CompositeServiceInfoDc>;
|
|
217
|
+
updateTileCatalogService(name: string, data: PostgresTileCatalogServiceConfigurationDc): Promise<TileCatalogServiceInfoDc>;
|
|
251
218
|
/**
|
|
252
219
|
* No description
|
|
253
220
|
*
|
|
@@ -259,28 +226,6 @@ export declare class LayersService extends Service {
|
|
|
259
226
|
* @response `default` Error
|
|
260
227
|
*/
|
|
261
228
|
updateRemoteTileService(name: string, data: RemoteTileServiceConfigurationDc): Promise<RemoteTileServiceInfo>;
|
|
262
|
-
/**
|
|
263
|
-
* No description
|
|
264
|
-
*
|
|
265
|
-
* @tags Layers
|
|
266
|
-
* @name UpdateLocalTileService
|
|
267
|
-
* @operationId LayersController_UpdateLocalTileService
|
|
268
|
-
* @summary Update Local Tile Service.
|
|
269
|
-
* @request PATCH:/layers/{name}#type=LocalTileService
|
|
270
|
-
* @response `default` Error
|
|
271
|
-
*/
|
|
272
|
-
updateLocalTileService(name: string, data: LocalTileServiceConfigurationDc): Promise<TileServiceInfoDc | RemoteTileServiceInfoDc>;
|
|
273
|
-
/**
|
|
274
|
-
* No description
|
|
275
|
-
*
|
|
276
|
-
* @tags Layers
|
|
277
|
-
* @name UpdatePostgresLayerService
|
|
278
|
-
* @operationId LayersController_UpdatePostgresLayerService
|
|
279
|
-
* @summary Update Postgres Layer Service.
|
|
280
|
-
* @request PATCH:/layers/{name}#type=PostgresLayerService
|
|
281
|
-
* @response `default` Error
|
|
282
|
-
*/
|
|
283
|
-
updatePostgresLayerService(name: string, data: PostgresLayerServiceConfigurationDc): Promise<FeatureLayerServiceInfoDc>;
|
|
284
229
|
/**
|
|
285
230
|
* No description
|
|
286
231
|
*
|
|
@@ -292,17 +237,6 @@ export declare class LayersService extends Service {
|
|
|
292
237
|
* @response `default` Error
|
|
293
238
|
*/
|
|
294
239
|
updateQueryLayerService(name: string, data: QueryLayerServiceConfigurationDc): Promise<QueryLayerServiceInfoDc>;
|
|
295
|
-
/**
|
|
296
|
-
* No description
|
|
297
|
-
*
|
|
298
|
-
* @tags Layers
|
|
299
|
-
* @name UpdateCompositeService
|
|
300
|
-
* @operationId LayersController_UpdateCompositeService
|
|
301
|
-
* @summary Update Composite service SPCore.Security.Base.Impl.Services.Composite.CompositeService.
|
|
302
|
-
* @request PATCH:/layers/{name}#type=CompositeService
|
|
303
|
-
* @response `default` Error
|
|
304
|
-
*/
|
|
305
|
-
updateCompositeService(name: string, data: CompositeServiceConfigurationDc): Promise<CompositeServiceInfoDc>;
|
|
306
240
|
/**
|
|
307
241
|
* No description
|
|
308
242
|
*
|
|
@@ -369,17 +303,6 @@ export declare class LayersService extends Service {
|
|
|
369
303
|
* @response `200` OK
|
|
370
304
|
*/
|
|
371
305
|
updateFeature(name: string, data: UpdateFeaturePayload): Promise<LayerUpdateInfoDc>;
|
|
372
|
-
/**
|
|
373
|
-
* No description
|
|
374
|
-
*
|
|
375
|
-
* @tags Layers
|
|
376
|
-
* @name FeaturesContains
|
|
377
|
-
* @operationId LayersController_FeaturesContains
|
|
378
|
-
* @summary Gets filtered features with given filter.
|
|
379
|
-
* @request GET:/layers/{name}/features/contains
|
|
380
|
-
* @response `200` OK
|
|
381
|
-
*/
|
|
382
|
-
featuresContains({ name, ...query }: FeaturesContainsParams): Promise<PagedFeaturesListDc>;
|
|
383
306
|
/**
|
|
384
307
|
* No description
|
|
385
308
|
*
|
|
@@ -428,13 +351,24 @@ export declare class LayersService extends Service {
|
|
|
428
351
|
* No description
|
|
429
352
|
*
|
|
430
353
|
* @tags Layers
|
|
431
|
-
* @name
|
|
432
|
-
* @operationId
|
|
354
|
+
* @name GetTilesLayerImage1
|
|
355
|
+
* @operationId LayersController_GetTilesLayerImage_1
|
|
433
356
|
* @summary Render tile with input indexes.
|
|
434
357
|
* @request GET:/layers/{name}/tile/{z}/{x}/{y}.{format}
|
|
435
358
|
* @response `200` OK
|
|
436
359
|
*/
|
|
437
|
-
|
|
360
|
+
getTilesLayerImage1({ name, x, y, z, format, ...query }: GetTilesLayerImage1Params): string;
|
|
361
|
+
/**
|
|
362
|
+
* No description
|
|
363
|
+
*
|
|
364
|
+
* @tags Layers
|
|
365
|
+
* @name GetTilesLayerImageWithFormatAndDpi
|
|
366
|
+
* @operationId LayersController_GetTilesLayerImageWithFormatAndDpi
|
|
367
|
+
* @summary Render tile with input indexes.
|
|
368
|
+
* @request GET:/layers/{name}/tile/{z}/{x}/{y}@{dpi}x.{format}
|
|
369
|
+
* @response `200` OK
|
|
370
|
+
*/
|
|
371
|
+
getTilesLayerImageWithFormatAndDpi({ name, x, y, z, dpi, format, ...query }: GetTilesLayerImageWithFormatAndDpiParams): string;
|
|
438
372
|
/**
|
|
439
373
|
* No description
|
|
440
374
|
*
|
|
@@ -457,28 +391,6 @@ export declare class LayersService extends Service {
|
|
|
457
391
|
* @response `200` OK
|
|
458
392
|
*/
|
|
459
393
|
getLayerExtent({ name, ...query }: GetLayerExtentParams): Promise<EnvelopeDc>;
|
|
460
|
-
/**
|
|
461
|
-
* No description
|
|
462
|
-
*
|
|
463
|
-
* @tags Layers
|
|
464
|
-
* @name GetByGeometry
|
|
465
|
-
* @operationId LayersController_GetByGeometryAsync
|
|
466
|
-
* @summary Gets the features within the given geometry.
|
|
467
|
-
* @request GET:/layers/{name}/features/getByGeometry
|
|
468
|
-
* @response `200` OK
|
|
469
|
-
*/
|
|
470
|
-
getByGeometry({ name, ...query }: GetByGeometryParams): Promise<FeaturesListDc>;
|
|
471
|
-
/**
|
|
472
|
-
* No description
|
|
473
|
-
*
|
|
474
|
-
* @tags Layers
|
|
475
|
-
* @name GetByGeometryPost
|
|
476
|
-
* @operationId LayersController_GetByGeometryAsync_1
|
|
477
|
-
* @summary Gets the features within the given geometry.
|
|
478
|
-
* @request POST:/layers/{name}/features/getByGeometry
|
|
479
|
-
* @response `200` OK
|
|
480
|
-
*/
|
|
481
|
-
getByGeometryPost({ name, ...query }: GetByGeometryPostParams, data: GetByGeometryPostPayload): Promise<FeaturesListDc>;
|
|
482
394
|
/**
|
|
483
395
|
* No description
|
|
484
396
|
*
|
|
@@ -501,17 +413,6 @@ export declare class LayersService extends Service {
|
|
|
501
413
|
* @response `200` OK
|
|
502
414
|
*/
|
|
503
415
|
deleteByCondition({ name, ...query }: DeleteByConditionParams): Promise<LayerUpdateInfoDc>;
|
|
504
|
-
/**
|
|
505
|
-
* No description
|
|
506
|
-
*
|
|
507
|
-
* @tags Layers
|
|
508
|
-
* @name GetByGeometryGet
|
|
509
|
-
* @operationId LayersController_GetByGeometryAsync_2
|
|
510
|
-
* @summary Gets the features by click position.
|
|
511
|
-
* @request GET:/layers/{name}/features/getByGeometryByClick
|
|
512
|
-
* @response `200` OK
|
|
513
|
-
*/
|
|
514
|
-
getByGeometryGet({ name, ...query }: GetByGeometryGetParams): Promise<FeaturesListDc>;
|
|
515
416
|
/**
|
|
516
417
|
* No description
|
|
517
418
|
*
|
|
@@ -578,17 +479,6 @@ export declare class LayersService extends Service {
|
|
|
578
479
|
* @response `200` OK
|
|
579
480
|
*/
|
|
580
481
|
editAttributes(name: string, data: EditAttributesInfoDc): Promise<LayerUpdateInfoDc>;
|
|
581
|
-
/**
|
|
582
|
-
* No description
|
|
583
|
-
*
|
|
584
|
-
* @tags Layers
|
|
585
|
-
* @name SelectFeatures
|
|
586
|
-
* @operationId LayersController_SelectFeatures
|
|
587
|
-
* @summary Selects features from the given layers by the visual point on the map.
|
|
588
|
-
* @request GET:/layers/features/select
|
|
589
|
-
* @response `200` OK
|
|
590
|
-
*/
|
|
591
|
-
selectFeatures(query: SelectFeaturesParams): Promise<FeatureSelectionDc[]>;
|
|
592
482
|
/**
|
|
593
483
|
* No description
|
|
594
484
|
*
|
|
@@ -611,7 +501,7 @@ export declare class LayersService extends Service {
|
|
|
611
501
|
* @request GET:/layers/{name}/{id}/metadata
|
|
612
502
|
* @response `200` OK
|
|
613
503
|
*/
|
|
614
|
-
getRasterMeta({ name, id, ...query }:
|
|
504
|
+
getRasterMeta({ name, id, ...query }: GetRasterMetaParams8): Promise<(RasterMetaDc | NetCdfMetaDc)[]>;
|
|
615
505
|
/**
|
|
616
506
|
* No description
|
|
617
507
|
*
|
|
@@ -667,39 +557,6 @@ export declare class LayersService extends Service {
|
|
|
667
557
|
* @response `200` OK
|
|
668
558
|
*/
|
|
669
559
|
getDataLayout(name: string): Promise<void>;
|
|
670
|
-
/**
|
|
671
|
-
* No description
|
|
672
|
-
*
|
|
673
|
-
* @tags Layers
|
|
674
|
-
* @name GetPreview
|
|
675
|
-
* @operationId LayersController_GetPreview
|
|
676
|
-
* @summary Gets preview of resource.
|
|
677
|
-
* @request GET:/layers/{name}/preview
|
|
678
|
-
* @response `200` OK
|
|
679
|
-
*/
|
|
680
|
-
getPreview(name: string): string;
|
|
681
|
-
/**
|
|
682
|
-
* No description
|
|
683
|
-
*
|
|
684
|
-
* @tags Layers
|
|
685
|
-
* @name SetPreview
|
|
686
|
-
* @operationId LayersController_SetPreview
|
|
687
|
-
* @summary Sets preview to the resource.
|
|
688
|
-
* @request POST:/layers/{name}/preview
|
|
689
|
-
* @response `200` OK
|
|
690
|
-
*/
|
|
691
|
-
setPreview(name: string, data: SetPreviewPayload | FormData): Promise<FileUploadResponse>;
|
|
692
|
-
/**
|
|
693
|
-
* No description
|
|
694
|
-
*
|
|
695
|
-
* @tags Layers
|
|
696
|
-
* @name DeletePreview
|
|
697
|
-
* @operationId LayersController_DeletePreview
|
|
698
|
-
* @summary Delete resource preview.
|
|
699
|
-
* @request DELETE:/layers/{name}/preview
|
|
700
|
-
* @response `200` OK
|
|
701
|
-
*/
|
|
702
|
-
deletePreview(name: string): Promise<void>;
|
|
703
560
|
/**
|
|
704
561
|
* No description
|
|
705
562
|
*
|
|
@@ -733,48 +590,4 @@ export declare class LayersService extends Service {
|
|
|
733
590
|
* @response `200` OK
|
|
734
591
|
*/
|
|
735
592
|
getResourceReferences(name: string): Promise<ResourceDependenciesDc>;
|
|
736
|
-
/**
|
|
737
|
-
* No description
|
|
738
|
-
*
|
|
739
|
-
* @tags Layers
|
|
740
|
-
* @name GetPermissions
|
|
741
|
-
* @operationId LayersController_GetPermissions
|
|
742
|
-
* @summary Returns resource permissions.
|
|
743
|
-
* @request GET:/layers/{name}/permissions
|
|
744
|
-
* @response `200` OK
|
|
745
|
-
*/
|
|
746
|
-
getPermissions(name: string): Promise<AccessControlListDc>;
|
|
747
|
-
/**
|
|
748
|
-
* No description
|
|
749
|
-
*
|
|
750
|
-
* @tags Layers
|
|
751
|
-
* @name AddPermissions
|
|
752
|
-
* @operationId LayersController_AddPermissions
|
|
753
|
-
* @summary Adds permissions for the layer, combining existing permissions with the given one.
|
|
754
|
-
* @request POST:/layers/{name}/permissions
|
|
755
|
-
* @response `200` OK
|
|
756
|
-
*/
|
|
757
|
-
addPermissions(name: string, data: AccessControlListDc): Promise<AccessControlListDc>;
|
|
758
|
-
/**
|
|
759
|
-
* No description
|
|
760
|
-
*
|
|
761
|
-
* @tags Layers
|
|
762
|
-
* @name SetPermissions
|
|
763
|
-
* @operationId LayersController_SetPermissions
|
|
764
|
-
* @summary Replaces existing access control list for the layer with the given one.
|
|
765
|
-
* @request PUT:/layers/{name}/permissions
|
|
766
|
-
* @response `200` OK
|
|
767
|
-
*/
|
|
768
|
-
setPermissions(name: string, data: AccessControlListDc): Promise<AccessControlListDc>;
|
|
769
|
-
/**
|
|
770
|
-
* No description
|
|
771
|
-
*
|
|
772
|
-
* @tags Layers
|
|
773
|
-
* @name RemovePermissions
|
|
774
|
-
* @operationId LayersController_RemovePermissions
|
|
775
|
-
* @summary Removes permissions for the layer for the given role.
|
|
776
|
-
* @request DELETE:/layers/{name}/permissions/{role}
|
|
777
|
-
* @response `200` OK
|
|
778
|
-
*/
|
|
779
|
-
removePermissions(name: string, role: string): Promise<AccessControlListDc>;
|
|
780
593
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BulkOperationResultDc, DeleteResourcesParams4, EnvelopeDc, ExtendedProjectInfoDc, ExtendedProjectLayersInfo, GetProjectEnvelopeParams, GetProjectsInfoParams, GetProjectsListParams, PagedListProjectInfoDc, ProjectsListDc, ResourceDependenciesDc } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -28,17 +28,6 @@ export declare class ProjectsService extends Service {
|
|
|
28
28
|
* @response `200` OK
|
|
29
29
|
*/
|
|
30
30
|
createProject(data: ExtendedProjectInfoDc): Promise<ExtendedProjectInfoDc>;
|
|
31
|
-
/**
|
|
32
|
-
* No description
|
|
33
|
-
*
|
|
34
|
-
* @tags Projects
|
|
35
|
-
* @name SetPermissionsBatch
|
|
36
|
-
* @operationId ProjectsController_SetPermissionsBatch
|
|
37
|
-
* @summary Overrides multiply resources permissions in single batch.
|
|
38
|
-
* @request PUT:/projects
|
|
39
|
-
* @response `200` OK
|
|
40
|
-
*/
|
|
41
|
-
setPermissionsBatch(data: SetPermissionsBatchBody): Promise<void>;
|
|
42
31
|
/**
|
|
43
32
|
* No description
|
|
44
33
|
*
|
|
@@ -49,7 +38,7 @@ export declare class ProjectsService extends Service {
|
|
|
49
38
|
* @request DELETE:/projects
|
|
50
39
|
* @response `200` OK
|
|
51
40
|
*/
|
|
52
|
-
deleteResources(query:
|
|
41
|
+
deleteResources(query: DeleteResourcesParams4): Promise<BulkOperationResultDc[]>;
|
|
53
42
|
/**
|
|
54
43
|
* No description
|
|
55
44
|
*
|
|
@@ -142,35 +131,13 @@ export declare class ProjectsService extends Service {
|
|
|
142
131
|
* No description
|
|
143
132
|
*
|
|
144
133
|
* @tags Projects
|
|
145
|
-
* @name
|
|
146
|
-
* @operationId
|
|
147
|
-
* @summary
|
|
148
|
-
* @request GET:/projects/{name}/
|
|
149
|
-
* @response `200` OK
|
|
150
|
-
*/
|
|
151
|
-
getPreview(name: string): string;
|
|
152
|
-
/**
|
|
153
|
-
* No description
|
|
154
|
-
*
|
|
155
|
-
* @tags Projects
|
|
156
|
-
* @name SetPreview
|
|
157
|
-
* @operationId ProjectsController_SetPreview
|
|
158
|
-
* @summary Sets preview to the resource.
|
|
159
|
-
* @request POST:/projects/{name}/preview
|
|
160
|
-
* @response `200` OK
|
|
161
|
-
*/
|
|
162
|
-
setPreview(name: string, data: SetPreviewBody | FormData): Promise<FileUploadResponse>;
|
|
163
|
-
/**
|
|
164
|
-
* No description
|
|
165
|
-
*
|
|
166
|
-
* @tags Projects
|
|
167
|
-
* @name DeletePreview
|
|
168
|
-
* @operationId ProjectsController_DeletePreview
|
|
169
|
-
* @summary Delete resource preview.
|
|
170
|
-
* @request DELETE:/projects/{name}/preview
|
|
134
|
+
* @name GetTilesLayerImageWithFormatAndDpi
|
|
135
|
+
* @operationId ProjectsController_GetTilesLayerImageWithFormatAndDpi
|
|
136
|
+
* @summary Render tile.
|
|
137
|
+
* @request GET:/projects/{name}/tile/{z}/{x}/{y}@{dpi}x.{format}
|
|
171
138
|
* @response `200` OK
|
|
172
139
|
*/
|
|
173
|
-
|
|
140
|
+
getTilesLayerImageWithFormatAndDpi(name: string, x: number, y: number, z: number, dpi: number, format: string): string;
|
|
174
141
|
/**
|
|
175
142
|
* No description
|
|
176
143
|
*
|
|
@@ -204,48 +171,4 @@ export declare class ProjectsService extends Service {
|
|
|
204
171
|
* @response `200` OK
|
|
205
172
|
*/
|
|
206
173
|
getResourceReferences(name: string): Promise<ResourceDependenciesDc>;
|
|
207
|
-
/**
|
|
208
|
-
* No description
|
|
209
|
-
*
|
|
210
|
-
* @tags Projects
|
|
211
|
-
* @name GetPermissions
|
|
212
|
-
* @operationId ProjectsController_GetPermissions
|
|
213
|
-
* @summary Returns resource permissions.
|
|
214
|
-
* @request GET:/projects/{name}/permissions
|
|
215
|
-
* @response `200` OK
|
|
216
|
-
*/
|
|
217
|
-
getPermissions(name: string): Promise<AccessControlListDc>;
|
|
218
|
-
/**
|
|
219
|
-
* No description
|
|
220
|
-
*
|
|
221
|
-
* @tags Projects
|
|
222
|
-
* @name AddPermissions
|
|
223
|
-
* @operationId ProjectsController_AddPermissions
|
|
224
|
-
* @summary Adds permissions for the layer, combining existing permissions with the given one.
|
|
225
|
-
* @request POST:/projects/{name}/permissions
|
|
226
|
-
* @response `200` OK
|
|
227
|
-
*/
|
|
228
|
-
addPermissions(name: string, data: AccessControlListDc): Promise<AccessControlListDc>;
|
|
229
|
-
/**
|
|
230
|
-
* No description
|
|
231
|
-
*
|
|
232
|
-
* @tags Projects
|
|
233
|
-
* @name SetPermissions
|
|
234
|
-
* @operationId ProjectsController_SetPermissions
|
|
235
|
-
* @summary Replaces existing access control list for the layer with the given one.
|
|
236
|
-
* @request PUT:/projects/{name}/permissions
|
|
237
|
-
* @response `200` OK
|
|
238
|
-
*/
|
|
239
|
-
setPermissions(name: string, data: AccessControlListDc): Promise<AccessControlListDc>;
|
|
240
|
-
/**
|
|
241
|
-
* No description
|
|
242
|
-
*
|
|
243
|
-
* @tags Projects
|
|
244
|
-
* @name RemovePermissions
|
|
245
|
-
* @operationId ProjectsController_RemovePermissions
|
|
246
|
-
* @summary Removes permissions for the layer for the given role.
|
|
247
|
-
* @request DELETE:/projects/{name}/permissions/{role}
|
|
248
|
-
* @response `200` OK
|
|
249
|
-
*/
|
|
250
|
-
removePermissions(name: string, role: string): Promise<AccessControlListDc>;
|
|
251
174
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GetAllScriptMethodsParams,
|
|
1
|
+
import { GetAllScriptMethodsParams, PythonTaskMethodConfiguration, RunScriptParams, RunScriptPayload } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -6,50 +6,6 @@ import { Service } from './Service';
|
|
|
6
6
|
* @baseUrl /sp
|
|
7
7
|
*/
|
|
8
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
9
|
/**
|
|
54
10
|
* No description
|
|
55
11
|
*
|
|
@@ -60,7 +16,7 @@ export declare class PythonService extends Service {
|
|
|
60
16
|
* @request GET:/python/resource/scriptMethods
|
|
61
17
|
* @response `200` OK
|
|
62
18
|
*/
|
|
63
|
-
getAllScriptMethods(query: GetAllScriptMethodsParams): Promise<
|
|
19
|
+
getAllScriptMethods(query: GetAllScriptMethodsParams): Promise<PythonTaskMethodConfiguration[]>;
|
|
64
20
|
/**
|
|
65
21
|
* No description
|
|
66
22
|
*
|