@evergis/api 4.0.4 → 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 +39 -127
- 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 +56 -1
- package/dist/__generated__/TablesService.d.ts +2 -90
- package/dist/__generated__/WmsServerService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +340 -619
- package/dist/api.cjs.development.js +255 -778
- 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 +268 -782
- 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
|
*
|
|
@@ -428,13 +406,24 @@ export declare class LayersService extends Service {
|
|
|
428
406
|
* No description
|
|
429
407
|
*
|
|
430
408
|
* @tags Layers
|
|
431
|
-
* @name
|
|
432
|
-
* @operationId
|
|
409
|
+
* @name GetTilesLayerImage1
|
|
410
|
+
* @operationId LayersController_GetTilesLayerImage_1
|
|
433
411
|
* @summary Render tile with input indexes.
|
|
434
412
|
* @request GET:/layers/{name}/tile/{z}/{x}/{y}.{format}
|
|
435
413
|
* @response `200` OK
|
|
436
414
|
*/
|
|
437
|
-
|
|
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;
|
|
438
427
|
/**
|
|
439
428
|
* No description
|
|
440
429
|
*
|
|
@@ -611,7 +600,7 @@ export declare class LayersService extends Service {
|
|
|
611
600
|
* @request GET:/layers/{name}/{id}/metadata
|
|
612
601
|
* @response `200` OK
|
|
613
602
|
*/
|
|
614
|
-
getRasterMeta({ name, id, ...query }:
|
|
603
|
+
getRasterMeta({ name, id, ...query }: GetRasterMetaParams2): Promise<(RasterMetaDc | NetCdfMetaDc)[]>;
|
|
615
604
|
/**
|
|
616
605
|
* No description
|
|
617
606
|
*
|
|
@@ -667,39 +656,6 @@ export declare class LayersService extends Service {
|
|
|
667
656
|
* @response `200` OK
|
|
668
657
|
*/
|
|
669
658
|
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
659
|
/**
|
|
704
660
|
* No description
|
|
705
661
|
*
|
|
@@ -733,48 +689,4 @@ export declare class LayersService extends Service {
|
|
|
733
689
|
* @response `200` OK
|
|
734
690
|
*/
|
|
735
691
|
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
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
|
*
|
|
@@ -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
|
*
|
|
@@ -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
|
}
|