@evergis/api 4.0.3 → 4.0.5
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 +47 -124
- package/dist/__generated__/ProjectsService.d.ts +11 -77
- package/dist/__generated__/PythonService.d.ts +2 -46
- package/dist/__generated__/QueryTokenAccessService.d.ts +11 -4
- package/dist/__generated__/RemoteTaskManagerService.d.ts +56 -1
- package/dist/__generated__/SecurityService.d.ts +12 -1
- package/dist/__generated__/StatisticService.d.ts +2 -2
- package/dist/__generated__/TablesService.d.ts +2 -90
- package/dist/__generated__/WmsServerService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +391 -618
- package/dist/api.cjs.development.js +303 -768
- 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 +328 -784
- package/dist/api.esm.js.map +1 -1
- package/dist/services/FileUpload.d.ts +3 -3
- package/dist/services/Layers.d.ts +3 -5
- package/dist/services/Projects.d.ts +1 -2
- package/dist/services/Tables.d.ts +1 -2
- 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, FeatureLayerServiceInfoDc, FeaturesContainsParams, FeatureSelectionDc, FeaturesListDc, GetBulkExtentsParams, GetBulkExtentsPayload, GetBulkFeaturesPayload, GetByGeometryGetParams, GetByGeometryParams, GetByGeometryPostParams, GetByGeometryPostPayload, GetByIdParams, GetFeatures1Params, GetFeaturesParametersDc, GetFilteredFeaturesCountDc, GetFilteredFeaturesCountParams, GetLayerExtentParams, GetLayerImageParams, GetLayersInfoParams, GetLayersListParams, GetRasterMetaParams2, GetTilesLayerImage1Params, GetTilesLayerImageParams, GetTilesLayerImageWithFormatAndDpiParams, LayerUpdateInfo, LayerUpdateInfoDc, LinearServiceConfigurationDc, LocalTileServiceConfigurationDc, NetCdfMetaDc, PagedBulkFeaturesListDc, PagedFeaturesListDc, PbfServiceConfigurationDc, PbfServiceInfoDc, PostgresLayerServiceConfigurationDc, PostgresTileCatalogServiceConfigurationDc, ProxyServiceInfoDc, PublishProxyServicePayload, PythonServiceConfigurationDc, PythonServiceInfoDc, QueryLayerServiceConfigurationDc, QueryLayerServiceInfoDc, RasterMetaDc, RemoteTileServiceConfigurationDc, RemoteTileServiceInfo, RemoteTileServiceInfoDc, ResourceDependenciesDc, ResourceInfoDc, RouteFeatureDc, RouteServiceConfigurationDc, SelectFeaturesParams, ServiceInfoDc, ServiceListDc, SimpleSymbolDc, StyleDc, 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
|
|
@@ -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
|
*
|
|
@@ -197,24 +186,35 @@ export declare class LayersService extends Service {
|
|
|
197
186
|
* No description
|
|
198
187
|
*
|
|
199
188
|
* @tags Layers
|
|
200
|
-
* @name
|
|
201
|
-
* @operationId
|
|
202
|
-
* @summary
|
|
203
|
-
* @request
|
|
189
|
+
* @name UpdateMapboxService
|
|
190
|
+
* @operationId LayersController_UpdateMapboxService
|
|
191
|
+
* @summary Update mapbox service.
|
|
192
|
+
* @request PATCH:/layers/{name}#type=Mapbox
|
|
204
193
|
* @response `default` Error
|
|
205
194
|
*/
|
|
206
|
-
|
|
195
|
+
updateMapboxService(name: string, data: PbfServiceConfigurationDc): Promise<PbfServiceInfoDc>;
|
|
207
196
|
/**
|
|
208
197
|
* No description
|
|
209
198
|
*
|
|
210
199
|
* @tags Layers
|
|
211
|
-
* @name
|
|
212
|
-
* @operationId
|
|
213
|
-
* @summary
|
|
214
|
-
* @request
|
|
200
|
+
* @name PublishPythonService
|
|
201
|
+
* @operationId LayersController_PublishPythonService
|
|
202
|
+
* @summary Creates new python service.
|
|
203
|
+
* @request POST:/layers#type=Python
|
|
215
204
|
* @response `default` Error
|
|
216
205
|
*/
|
|
217
|
-
|
|
206
|
+
publishPythonService(data: PythonServiceConfigurationDc): Promise<PythonServiceInfoDc>;
|
|
207
|
+
/**
|
|
208
|
+
* No description
|
|
209
|
+
*
|
|
210
|
+
* @tags Layers
|
|
211
|
+
* @name UpdatePythonService
|
|
212
|
+
* @operationId LayersController_UpdatePythonService
|
|
213
|
+
* @summary Update python service.
|
|
214
|
+
* @request PATCH:/layers/{name}#type=Python
|
|
215
|
+
* @response `default` Error
|
|
216
|
+
*/
|
|
217
|
+
updatePythonService(name: string, data: PythonServiceConfigurationDc): Promise<PythonServiceInfoDc>;
|
|
218
218
|
/**
|
|
219
219
|
* No description
|
|
220
220
|
*
|
|
@@ -225,7 +225,7 @@ export declare class LayersService extends Service {
|
|
|
225
225
|
* @request PATCH:/layers/{name}#type=ProxyService
|
|
226
226
|
* @response `default` Error
|
|
227
227
|
*/
|
|
228
|
-
updateProxyService(name: string, data: UpdateProxyServicePayload): Promise<ProxyServiceInfoDc | PbfServiceInfoDc>;
|
|
228
|
+
updateProxyService(name: string, data: UpdateProxyServicePayload): Promise<ProxyServiceInfoDc | PbfServiceInfoDc | PythonServiceInfoDc>;
|
|
229
229
|
/**
|
|
230
230
|
* No description
|
|
231
231
|
*
|
|
@@ -237,17 +237,6 @@ export declare class LayersService extends Service {
|
|
|
237
237
|
* @response `default` Error
|
|
238
238
|
*/
|
|
239
239
|
updateTileCatalogService(name: string, data: PostgresTileCatalogServiceConfigurationDc): Promise<TileServiceInfoDc | RemoteTileServiceInfoDc>;
|
|
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>;
|
|
251
240
|
/**
|
|
252
241
|
* No description
|
|
253
242
|
*
|
|
@@ -292,17 +281,6 @@ export declare class LayersService extends Service {
|
|
|
292
281
|
* @response `default` Error
|
|
293
282
|
*/
|
|
294
283
|
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
284
|
/**
|
|
307
285
|
* No description
|
|
308
286
|
*
|
|
@@ -424,6 +402,28 @@ export declare class LayersService extends Service {
|
|
|
424
402
|
* @response `200` OK
|
|
425
403
|
*/
|
|
426
404
|
getTilesLayerImage({ name, x, y, z, ...query }: GetTilesLayerImageParams): string;
|
|
405
|
+
/**
|
|
406
|
+
* No description
|
|
407
|
+
*
|
|
408
|
+
* @tags Layers
|
|
409
|
+
* @name GetTilesLayerImage1
|
|
410
|
+
* @operationId LayersController_GetTilesLayerImage_1
|
|
411
|
+
* @summary Render tile with input indexes.
|
|
412
|
+
* @request GET:/layers/{name}/tile/{z}/{x}/{y}.{format}
|
|
413
|
+
* @response `200` OK
|
|
414
|
+
*/
|
|
415
|
+
getTilesLayerImage1({ name, x, y, z, format, ...query }: GetTilesLayerImage1Params): string;
|
|
416
|
+
/**
|
|
417
|
+
* No description
|
|
418
|
+
*
|
|
419
|
+
* @tags Layers
|
|
420
|
+
* @name GetTilesLayerImageWithFormatAndDpi
|
|
421
|
+
* @operationId LayersController_GetTilesLayerImageWithFormatAndDpi
|
|
422
|
+
* @summary Render tile with input indexes.
|
|
423
|
+
* @request GET:/layers/{name}/tile/{z}/{x}/{y}@{dpi}x.{format}
|
|
424
|
+
* @response `200` OK
|
|
425
|
+
*/
|
|
426
|
+
getTilesLayerImageWithFormatAndDpi({ name, x, y, z, dpi, format, ...query }: GetTilesLayerImageWithFormatAndDpiParams): string;
|
|
427
427
|
/**
|
|
428
428
|
* No description
|
|
429
429
|
*
|
|
@@ -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
|
*
|
|
@@ -656,39 +656,6 @@ export declare class LayersService extends Service {
|
|
|
656
656
|
* @response `200` OK
|
|
657
657
|
*/
|
|
658
658
|
getDataLayout(name: string): Promise<void>;
|
|
659
|
-
/**
|
|
660
|
-
* No description
|
|
661
|
-
*
|
|
662
|
-
* @tags Layers
|
|
663
|
-
* @name GetPreview
|
|
664
|
-
* @operationId LayersController_GetPreview
|
|
665
|
-
* @summary Gets preview of resource.
|
|
666
|
-
* @request GET:/layers/{name}/preview
|
|
667
|
-
* @response `200` OK
|
|
668
|
-
*/
|
|
669
|
-
getPreview(name: string): string;
|
|
670
|
-
/**
|
|
671
|
-
* No description
|
|
672
|
-
*
|
|
673
|
-
* @tags Layers
|
|
674
|
-
* @name SetPreview
|
|
675
|
-
* @operationId LayersController_SetPreview
|
|
676
|
-
* @summary Sets preview to the resource.
|
|
677
|
-
* @request POST:/layers/{name}/preview
|
|
678
|
-
* @response `200` OK
|
|
679
|
-
*/
|
|
680
|
-
setPreview(name: string, data: SetPreviewPayload | FormData): Promise<FileUploadResponse>;
|
|
681
|
-
/**
|
|
682
|
-
* No description
|
|
683
|
-
*
|
|
684
|
-
* @tags Layers
|
|
685
|
-
* @name DeletePreview
|
|
686
|
-
* @operationId LayersController_DeletePreview
|
|
687
|
-
* @summary Delete resource preview.
|
|
688
|
-
* @request DELETE:/layers/{name}/preview
|
|
689
|
-
* @response `200` OK
|
|
690
|
-
*/
|
|
691
|
-
deletePreview(name: string): Promise<void>;
|
|
692
659
|
/**
|
|
693
660
|
* No description
|
|
694
661
|
*
|
|
@@ -722,48 +689,4 @@ export declare class LayersService extends Service {
|
|
|
722
689
|
* @response `200` OK
|
|
723
690
|
*/
|
|
724
691
|
getResourceReferences(name: string): Promise<ResourceDependenciesDc>;
|
|
725
|
-
/**
|
|
726
|
-
* No description
|
|
727
|
-
*
|
|
728
|
-
* @tags Layers
|
|
729
|
-
* @name GetPermissions
|
|
730
|
-
* @operationId LayersController_GetPermissions
|
|
731
|
-
* @summary Returns resource permissions.
|
|
732
|
-
* @request GET:/layers/{name}/permissions
|
|
733
|
-
* @response `200` OK
|
|
734
|
-
*/
|
|
735
|
-
getPermissions(name: string): Promise<AccessControlListDc>;
|
|
736
|
-
/**
|
|
737
|
-
* No description
|
|
738
|
-
*
|
|
739
|
-
* @tags Layers
|
|
740
|
-
* @name AddPermissions
|
|
741
|
-
* @operationId LayersController_AddPermissions
|
|
742
|
-
* @summary Adds permissions for the layer, combining existing permissions with the given one.
|
|
743
|
-
* @request POST:/layers/{name}/permissions
|
|
744
|
-
* @response `200` OK
|
|
745
|
-
*/
|
|
746
|
-
addPermissions(name: string, data: AccessControlListDc): Promise<AccessControlListDc>;
|
|
747
|
-
/**
|
|
748
|
-
* No description
|
|
749
|
-
*
|
|
750
|
-
* @tags Layers
|
|
751
|
-
* @name SetPermissions
|
|
752
|
-
* @operationId LayersController_SetPermissions
|
|
753
|
-
* @summary Replaces existing access control list for the layer with the given one.
|
|
754
|
-
* @request PUT:/layers/{name}/permissions
|
|
755
|
-
* @response `200` OK
|
|
756
|
-
*/
|
|
757
|
-
setPermissions(name: string, data: AccessControlListDc): Promise<AccessControlListDc>;
|
|
758
|
-
/**
|
|
759
|
-
* No description
|
|
760
|
-
*
|
|
761
|
-
* @tags Layers
|
|
762
|
-
* @name RemovePermissions
|
|
763
|
-
* @operationId LayersController_RemovePermissions
|
|
764
|
-
* @summary Removes permissions for the layer for the given role.
|
|
765
|
-
* @request DELETE:/layers/{name}/permissions/{role}
|
|
766
|
-
* @response `200` OK
|
|
767
|
-
*/
|
|
768
|
-
removePermissions(name: string, role: string): Promise<AccessControlListDc>;
|
|
769
692
|
}
|
|
@@ -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
|
*
|
|
@@ -131,35 +120,24 @@ export declare class ProjectsService extends Service {
|
|
|
131
120
|
* No description
|
|
132
121
|
*
|
|
133
122
|
* @tags Projects
|
|
134
|
-
* @name
|
|
135
|
-
* @operationId
|
|
136
|
-
* @summary
|
|
137
|
-
* @request GET:/projects/{name}/
|
|
138
|
-
* @response `200` OK
|
|
139
|
-
*/
|
|
140
|
-
getPreview(name: string): string;
|
|
141
|
-
/**
|
|
142
|
-
* No description
|
|
143
|
-
*
|
|
144
|
-
* @tags Projects
|
|
145
|
-
* @name SetPreview
|
|
146
|
-
* @operationId ProjectsController_SetPreview
|
|
147
|
-
* @summary Sets preview to the resource.
|
|
148
|
-
* @request POST:/projects/{name}/preview
|
|
123
|
+
* @name GetTilesLayerImageWithFormat
|
|
124
|
+
* @operationId ProjectsController_GetTilesLayerImageWithFormat
|
|
125
|
+
* @summary Render tile.
|
|
126
|
+
* @request GET:/projects/{name}/tile/{z}/{x}/{y}.{format}
|
|
149
127
|
* @response `200` OK
|
|
150
128
|
*/
|
|
151
|
-
|
|
129
|
+
getTilesLayerImageWithFormat(name: string, x: number, y: number, z: number, format: string): string;
|
|
152
130
|
/**
|
|
153
131
|
* No description
|
|
154
132
|
*
|
|
155
133
|
* @tags Projects
|
|
156
|
-
* @name
|
|
157
|
-
* @operationId
|
|
158
|
-
* @summary
|
|
159
|
-
* @request
|
|
134
|
+
* @name GetTilesLayerImageWithFormatAndDpi
|
|
135
|
+
* @operationId ProjectsController_GetTilesLayerImageWithFormatAndDpi
|
|
136
|
+
* @summary Render tile.
|
|
137
|
+
* @request GET:/projects/{name}/tile/{z}/{x}/{y}@{dpi}x.{format}
|
|
160
138
|
* @response `200` OK
|
|
161
139
|
*/
|
|
162
|
-
|
|
140
|
+
getTilesLayerImageWithFormatAndDpi(name: string, x: number, y: number, z: number, dpi: number, format: string): string;
|
|
163
141
|
/**
|
|
164
142
|
* No description
|
|
165
143
|
*
|
|
@@ -193,48 +171,4 @@ export declare class ProjectsService extends Service {
|
|
|
193
171
|
* @response `200` OK
|
|
194
172
|
*/
|
|
195
173
|
getResourceReferences(name: string): Promise<ResourceDependenciesDc>;
|
|
196
|
-
/**
|
|
197
|
-
* No description
|
|
198
|
-
*
|
|
199
|
-
* @tags Projects
|
|
200
|
-
* @name GetPermissions
|
|
201
|
-
* @operationId ProjectsController_GetPermissions
|
|
202
|
-
* @summary Returns resource permissions.
|
|
203
|
-
* @request GET:/projects/{name}/permissions
|
|
204
|
-
* @response `200` OK
|
|
205
|
-
*/
|
|
206
|
-
getPermissions(name: string): Promise<AccessControlListDc>;
|
|
207
|
-
/**
|
|
208
|
-
* No description
|
|
209
|
-
*
|
|
210
|
-
* @tags Projects
|
|
211
|
-
* @name AddPermissions
|
|
212
|
-
* @operationId ProjectsController_AddPermissions
|
|
213
|
-
* @summary Adds permissions for the layer, combining existing permissions with the given one.
|
|
214
|
-
* @request POST:/projects/{name}/permissions
|
|
215
|
-
* @response `200` OK
|
|
216
|
-
*/
|
|
217
|
-
addPermissions(name: string, data: AccessControlListDc): Promise<AccessControlListDc>;
|
|
218
|
-
/**
|
|
219
|
-
* No description
|
|
220
|
-
*
|
|
221
|
-
* @tags Projects
|
|
222
|
-
* @name SetPermissions
|
|
223
|
-
* @operationId ProjectsController_SetPermissions
|
|
224
|
-
* @summary Replaces existing access control list for the layer with the given one.
|
|
225
|
-
* @request PUT:/projects/{name}/permissions
|
|
226
|
-
* @response `200` OK
|
|
227
|
-
*/
|
|
228
|
-
setPermissions(name: string, data: AccessControlListDc): Promise<AccessControlListDc>;
|
|
229
|
-
/**
|
|
230
|
-
* No description
|
|
231
|
-
*
|
|
232
|
-
* @tags Projects
|
|
233
|
-
* @name RemovePermissions
|
|
234
|
-
* @operationId ProjectsController_RemovePermissions
|
|
235
|
-
* @summary Removes permissions for the layer for the given role.
|
|
236
|
-
* @request DELETE:/projects/{name}/permissions/{role}
|
|
237
|
-
* @response `200` OK
|
|
238
|
-
*/
|
|
239
|
-
removePermissions(name: string, role: string): Promise<AccessControlListDc>;
|
|
240
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
|
*
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { GetTokensListParams, PagedListQueryTokenDc } from './data-contracts';
|
|
1
2
|
import { Service } from './Service';
|
|
2
3
|
/**
|
|
3
4
|
* @title Spatial Processing Core API
|
|
@@ -5,13 +6,22 @@ import { Service } from './Service';
|
|
|
5
6
|
* @baseUrl /sp
|
|
6
7
|
*/
|
|
7
8
|
export declare class QueryTokenAccessService extends Service {
|
|
9
|
+
/**
|
|
10
|
+
* No description
|
|
11
|
+
*
|
|
12
|
+
* @tags QueryTokenAccess
|
|
13
|
+
* @name GetTokensList
|
|
14
|
+
* @operationId QueryTokenAccessController_GetTokensList
|
|
15
|
+
* @request GET:/accessToken/list/{username}
|
|
16
|
+
* @response `200` OK
|
|
17
|
+
*/
|
|
18
|
+
getTokensList({ username, ...query }: GetTokensListParams): Promise<PagedListQueryTokenDc>;
|
|
8
19
|
/**
|
|
9
20
|
* No description
|
|
10
21
|
*
|
|
11
22
|
* @tags QueryTokenAccess
|
|
12
23
|
* @name CreateToken
|
|
13
24
|
* @operationId QueryTokenAccessController_CreateTokenAsync
|
|
14
|
-
* @summary Create new query access token.
|
|
15
25
|
* @request PUT:/accessToken/{username}
|
|
16
26
|
* @response `200` OK
|
|
17
27
|
*/
|
|
@@ -22,7 +32,6 @@ export declare class QueryTokenAccessService extends Service {
|
|
|
22
32
|
* @tags QueryTokenAccess
|
|
23
33
|
* @name DisableToken
|
|
24
34
|
* @operationId QueryTokenAccessController_DisableToken
|
|
25
|
-
* @summary Disable token.
|
|
26
35
|
* @request POST:/accessToken/{token}/disable
|
|
27
36
|
* @response `200` OK
|
|
28
37
|
*/
|
|
@@ -33,7 +42,6 @@ export declare class QueryTokenAccessService extends Service {
|
|
|
33
42
|
* @tags QueryTokenAccess
|
|
34
43
|
* @name EnableToken
|
|
35
44
|
* @operationId QueryTokenAccessController_EnableToken
|
|
36
|
-
* @summary Enable token.
|
|
37
45
|
* @request POST:/accessToken/{token}/enable
|
|
38
46
|
* @response `200` OK
|
|
39
47
|
*/
|
|
@@ -44,7 +52,6 @@ export declare class QueryTokenAccessService extends Service {
|
|
|
44
52
|
* @tags QueryTokenAccess
|
|
45
53
|
* @name RevokeToken
|
|
46
54
|
* @operationId QueryTokenAccessController_RevokeToken
|
|
47
|
-
* @summary Revoke token.
|
|
48
55
|
* @request DELETE:/accessToken/{token}
|
|
49
56
|
* @response `200` OK
|
|
50
57
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ActiveWorkerDc, AvailableAreaTaskDc, BufferTaskDc, CopyTableTaskDc, CopyTaskDc, CreateRasterCogTaskDc, CreateRasterNetCdfTaskDc, CreateRasterVrtTaskDc, GeocodeTaskDc, GetTaskPrototypesParams, GetTasksForPrototypeParams, OverlayTaskDc, TaskPrototypeDto, UnionTaskDc, UpdateTaskPrototypeDto, WorkerStartMethodDto } from './data-contracts';
|
|
1
|
+
import { ActiveWorkerDc, AvailableAreaTaskDc, BufferTaskDc, CopyTableTaskDc, CopyTaskDc, CreateRasterCogTaskDc, CreateRasterNetCdfTaskDc, CreateRasterVrtTaskDc, GeocodeTaskDc, GetTaskPrototypesParams, GetTaskResourceParams, GetTasksForPrototypeParams, OverlayTaskDc, TaskConfiguration, TaskPrototypeDto, TaskPythonResourceUpdateDto, TaskResourceCreateDto, TaskSpResourceUpdateDto, UnionTaskDc, UpdateTaskPrototypeDto, WorkerStartMethodDto } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -237,6 +237,50 @@ export declare class RemoteTaskManagerService extends Service {
|
|
|
237
237
|
* @response `200` OK
|
|
238
238
|
*/
|
|
239
239
|
startTask1(id: string): Promise<void>;
|
|
240
|
+
/**
|
|
241
|
+
* No description
|
|
242
|
+
*
|
|
243
|
+
* @tags RemoteTaskManager
|
|
244
|
+
* @name GetTaskResource
|
|
245
|
+
* @operationId RemoteTaskManagerController_GetTaskResource
|
|
246
|
+
* @summary Shows SubTask in Task.
|
|
247
|
+
* @request GET:/scheduler/taskresource/{id}
|
|
248
|
+
* @response `200` OK
|
|
249
|
+
*/
|
|
250
|
+
getTaskResource({ id, ...query }: GetTaskResourceParams): Promise<TaskConfiguration>;
|
|
251
|
+
/**
|
|
252
|
+
* No description
|
|
253
|
+
*
|
|
254
|
+
* @tags RemoteTaskManager
|
|
255
|
+
* @name CreateTaskResource
|
|
256
|
+
* @operationId RemoteTaskManagerController_CreateTaskResource
|
|
257
|
+
* @summary Create task resource.
|
|
258
|
+
* @request POST:/scheduler/taskresource
|
|
259
|
+
* @response `200` OK
|
|
260
|
+
*/
|
|
261
|
+
createTaskResource(data: TaskResourceCreateDto): Promise<string>;
|
|
262
|
+
/**
|
|
263
|
+
* No description
|
|
264
|
+
*
|
|
265
|
+
* @tags RemoteTaskManager
|
|
266
|
+
* @name UpdatePythonTaskResource
|
|
267
|
+
* @operationId RemoteTaskManagerController_UpdatePythonTaskResource
|
|
268
|
+
* @summary Update python task resource.
|
|
269
|
+
* @request PATCH:/scheduler/taskresource/{id}#type=PythonTask
|
|
270
|
+
* @response `200` OK
|
|
271
|
+
*/
|
|
272
|
+
updatePythonTaskResource(id: string, data: TaskPythonResourceUpdateDto): Promise<void>;
|
|
273
|
+
/**
|
|
274
|
+
* No description
|
|
275
|
+
*
|
|
276
|
+
* @tags RemoteTaskManager
|
|
277
|
+
* @name UpdateSpTaskResource
|
|
278
|
+
* @operationId RemoteTaskManagerController_UpdateSpTaskResource
|
|
279
|
+
* @summary Update sp task resource.
|
|
280
|
+
* @request PATCH:/scheduler/taskresource/{id}#type=SpTask
|
|
281
|
+
* @response `200` OK
|
|
282
|
+
*/
|
|
283
|
+
updateSpTaskResource(id: string, data: TaskSpResourceUpdateDto): Promise<void>;
|
|
240
284
|
/**
|
|
241
285
|
* No description
|
|
242
286
|
*
|
|
@@ -259,4 +303,15 @@ export declare class RemoteTaskManagerService extends Service {
|
|
|
259
303
|
* @response `200` OK
|
|
260
304
|
*/
|
|
261
305
|
post(data: WorkerStartMethodDto): Promise<any>;
|
|
306
|
+
/**
|
|
307
|
+
* No description
|
|
308
|
+
*
|
|
309
|
+
* @tags RemoteTaskManager
|
|
310
|
+
* @name GetWorker
|
|
311
|
+
* @operationId RemoteTaskManagerController_GetWorker
|
|
312
|
+
* @summary Get worker info by type.
|
|
313
|
+
* @request GET:/scheduler/worker/{type}
|
|
314
|
+
* @response `200` OK
|
|
315
|
+
*/
|
|
316
|
+
getWorker(type: string): Promise<ActiveWorkerDc[]>;
|
|
262
317
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FindUserByNameByRolesParams, FindUserByNameParams, GetPolicyListParams, GetUsersAndRolesParams, PolicyDc, RemovePolicyParams, SearchedUserDc, UserOrRoleDc, WorkspaceLimitsDc } from './data-contracts';
|
|
1
|
+
import { FindUserByNameByRolesParams, FindUserByNameParams, GetPolicyListParams, GetUsersAndRolesParams, PolicyDc, RemovePolicyParams, SearchedUserDc, SetPoliciesPayload, UserOrRoleDc, WorkspaceLimitsDc } 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 SecurityService extends Service {
|
|
9
|
+
/**
|
|
10
|
+
* @description This method requires superuser permission.
|
|
11
|
+
*
|
|
12
|
+
* @tags SecurityService
|
|
13
|
+
* @name SetPolicies
|
|
14
|
+
* @operationId SecurityServiceController_SetPolicies
|
|
15
|
+
* @summary Adds the given policies to the server policy list. If a policy with the same type and user role already exists, it replaces the existing policy with the new one.
|
|
16
|
+
* @request POST:/bulk/security/policies
|
|
17
|
+
* @response `200` OK
|
|
18
|
+
*/
|
|
19
|
+
setPolicies(data: SetPoliciesPayload): Promise<void>;
|
|
9
20
|
/**
|
|
10
21
|
* No description
|
|
11
22
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ClassifyDc,
|
|
1
|
+
import { ClassifyDc, ClassifyParams7, 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: ClassifyParams7): Promise<ClassifyDc>;
|
|
42
42
|
/**
|
|
43
43
|
* No description
|
|
44
44
|
*
|