@evergis/api 3.0.181 → 3.0.182
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +20 -20
- package/README.md +21 -21
- package/dist/Api.d.ts +4 -0
- package/dist/__generated__/AccountPreviewService.d.ts +1 -1
- package/dist/__generated__/AccountService.d.ts +1 -1
- package/dist/__generated__/BulkOperationsService.d.ts +1 -1
- package/dist/__generated__/CamerasService.d.ts +13 -2
- package/dist/__generated__/CatalogService.d.ts +119 -0
- package/dist/__generated__/ClientSettingsService.d.ts +1 -1
- package/dist/__generated__/EqlTestService.d.ts +3 -3
- package/dist/__generated__/ExternalProvidersService.d.ts +1 -1
- package/dist/__generated__/FeedbackService.d.ts +1 -1
- package/dist/__generated__/FiltersService.d.ts +1 -1
- package/dist/__generated__/GeneralService.d.ts +1 -1
- package/dist/__generated__/GeocodeService.d.ts +1 -1
- package/dist/__generated__/IceRouterService.d.ts +1 -1
- package/dist/__generated__/ImportService.d.ts +1 -1
- package/dist/__generated__/LayersService.d.ts +3 -3
- package/dist/__generated__/NamespaceService.d.ts +1 -1
- package/dist/__generated__/NavigationService.d.ts +1 -1
- package/dist/__generated__/NotificationService.d.ts +1 -1
- package/dist/__generated__/PrintService.d.ts +1 -1
- package/dist/__generated__/ProjectsService.d.ts +3 -3
- package/dist/__generated__/QueryTokenAccessService.d.ts +52 -0
- package/dist/__generated__/ResourceCatalogService.d.ts +1 -1
- package/dist/__generated__/S3Service.d.ts +1 -1
- package/dist/__generated__/SchedulerService.d.ts +1 -1
- package/dist/__generated__/SecurityService.d.ts +1 -1
- package/dist/__generated__/SpatialReferencesService.d.ts +1 -1
- package/dist/__generated__/StaticContentService.d.ts +1 -1
- package/dist/__generated__/StatisticService.d.ts +3 -3
- package/dist/__generated__/StyleService.d.ts +1 -1
- package/dist/__generated__/SymbolStorageService.d.ts +1 -1
- package/dist/__generated__/TablesService.d.ts +3 -3
- package/dist/__generated__/TagsService.d.ts +3 -3
- package/dist/__generated__/ToolsService.d.ts +1 -1
- package/dist/__generated__/UniversalSearchService.d.ts +1 -1
- package/dist/__generated__/VectorTileService.d.ts +1 -1
- package/dist/__generated__/WfsServerService.d.ts +1 -1
- package/dist/__generated__/WmsServerService.d.ts +1 -1
- package/dist/__generated__/WmtsService.d.ts +1 -1
- package/dist/__generated__/data-contracts.d.ts +498 -533
- package/dist/api.cjs.development.js +352 -50
- 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 +576 -238
- package/dist/api.esm.js.map +1 -1
- package/package.json +3 -3
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2020 Kirill Protasov
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2020 Kirill Protasov
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
# @evergis/api
|
|
2
|
-
|
|
3
|
-
```javascript
|
|
4
|
-
import { Api } from '@evergis/api';
|
|
5
|
-
|
|
6
|
-
const api = new Api({
|
|
7
|
-
url: '/',
|
|
8
|
-
});
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## Possible Environment variables
|
|
12
|
-
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
NODE_ENV = "development" | "test" | "production"
|
|
16
|
-
URL = "string"
|
|
17
|
-
LOGIN = "string"
|
|
18
|
-
PASSWORD = "string"
|
|
19
|
-
WORKSPACE = "string"
|
|
20
|
-
|
|
21
|
-
```
|
|
1
|
+
# @evergis/api
|
|
2
|
+
|
|
3
|
+
```javascript
|
|
4
|
+
import { Api } from '@evergis/api';
|
|
5
|
+
|
|
6
|
+
const api = new Api({
|
|
7
|
+
url: '/',
|
|
8
|
+
});
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Possible Environment variables
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
NODE_ENV = "development" | "test" | "production"
|
|
16
|
+
URL = "string"
|
|
17
|
+
LOGIN = "string"
|
|
18
|
+
PASSWORD = "string"
|
|
19
|
+
WORKSPACE = "string"
|
|
20
|
+
|
|
21
|
+
```
|
package/dist/Api.d.ts
CHANGED
|
@@ -2,8 +2,10 @@ import { EventEmitter } from '@evergis/event-emitter';
|
|
|
2
2
|
import { Options as KyOptions } from 'ky';
|
|
3
3
|
import { HubConnection } from '@microsoft/signalr';
|
|
4
4
|
import { HttpClient } from './__generated__/HttpClient';
|
|
5
|
+
import { QueryTokenAccessService } from './__generated__/QueryTokenAccessService';
|
|
5
6
|
import { SpatialReferencesService } from './__generated__/SpatialReferencesService';
|
|
6
7
|
import { UniversalSearchService } from './__generated__/UniversalSearchService';
|
|
8
|
+
import { CatalogService } from './__generated__/CatalogService';
|
|
7
9
|
import { Account, AccountPreview, BulkOperations, Cameras, ClientSettings, External, EqlTest, Feedback, FileUpload, Filters, General, Geocode, IceRouter, Import, Layers, Names, Namespace, Notification, PortalSettings, Print, Projects, ResourceCatalog, Resources, Scheduler, Security, Statistic, Styles, Tables, Tools, VectorTiles } from './services';
|
|
8
10
|
import { LoginDc } from './__generated__/data-contracts';
|
|
9
11
|
export declare type ApiParams = {
|
|
@@ -60,6 +62,8 @@ export declare class Api extends EventEmitter {
|
|
|
60
62
|
readonly universalSearch: UniversalSearchService;
|
|
61
63
|
readonly spatialReference: SpatialReferencesService;
|
|
62
64
|
readonly eqlTest: EqlTest;
|
|
65
|
+
readonly catalog: CatalogService;
|
|
66
|
+
readonly queryToken: QueryTokenAccessService;
|
|
63
67
|
constructor({ url, wsUrl, wsKeepAlive, snappingHubUrl, http, urlPath, httpOptions, }: ApiParams);
|
|
64
68
|
init({ authParams, connectWs, initScheduler, fetchSettings, fetchUser, }: {
|
|
65
69
|
authParams?: LoginDc;
|
|
@@ -2,7 +2,7 @@ import { FileUploadResponse, UploadPreviewParams, UploadPreviewPayload } from '.
|
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
5
|
-
* @version 1.5.1
|
|
5
|
+
* @version 1.5.1.0
|
|
6
6
|
* @baseUrl /sp
|
|
7
7
|
*/
|
|
8
8
|
export declare class AccountPreviewService extends Service {
|
|
@@ -2,7 +2,7 @@ import { ChangeEmailParams, ChangePasswordPayload, ConfirmChangeEmailParams, Con
|
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
5
|
-
* @version 1.5.1
|
|
5
|
+
* @version 1.5.1.0
|
|
6
6
|
* @baseUrl /sp
|
|
7
7
|
*/
|
|
8
8
|
export declare class AccountService extends Service {
|
|
@@ -2,7 +2,7 @@ import { BatchResourcesAclDc, BulkOperationResultDc } from './data-contracts';
|
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
5
|
-
* @version 1.5.1
|
|
5
|
+
* @version 1.5.1.0
|
|
6
6
|
* @baseUrl /sp
|
|
7
7
|
*/
|
|
8
8
|
export declare class BulkOperationsService extends Service {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ArchiveCalendarDc, ArchiveTimelineDc, CameraListDc, GetArchiveCalendarParams, GetArchiveFeedParams, GetArchiveSnapshotParams, GetArchiveTimelineParams, GetCamerasParams, GetLiveFeedParams } from './data-contracts';
|
|
1
|
+
import { ArchiveCalendarDc, ArchiveTimelineDc, CameraListDc, GetArchiveCalendarParams, GetArchiveFeedParams, GetArchiveSnapshotParams, GetArchiveTimelineParams, GetCamerasParams, GetLiveFeedParams, GetLivePreviewStreamParams } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
5
|
-
* @version 1.5.1
|
|
5
|
+
* @version 1.5.1.0
|
|
6
6
|
* @baseUrl /sp
|
|
7
7
|
*/
|
|
8
8
|
export declare class CamerasService extends Service {
|
|
@@ -83,4 +83,15 @@ export declare class CamerasService extends Service {
|
|
|
83
83
|
* @response `200` Success
|
|
84
84
|
*/
|
|
85
85
|
getLiveSnapshot(cameraId: string): Promise<Blob>;
|
|
86
|
+
/**
|
|
87
|
+
* No description
|
|
88
|
+
*
|
|
89
|
+
* @tags Cameras
|
|
90
|
+
* @name GetLivePreviewStream
|
|
91
|
+
* @operationId CamerasController_GetLivePreviewStream
|
|
92
|
+
* @summary Get live preview stream.
|
|
93
|
+
* @request GET:/cameras/{cameraId}/getLivePreviewsStream
|
|
94
|
+
* @response `200` Success
|
|
95
|
+
*/
|
|
96
|
+
getLivePreviewStream({ cameraId, ...query }: GetLivePreviewStreamParams): Promise<object>;
|
|
86
97
|
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { AccessControlListDc, CatalogResourceDc, CreateDirectoryDc, CreateFilePayload, GetAllParams, MoveResourceDc, SearchResourcesDto, SearchResourcesParams } from './data-contracts';
|
|
2
|
+
import { Service } from './Service';
|
|
3
|
+
/**
|
|
4
|
+
* @title Spatial Processing Core API
|
|
5
|
+
* @version 1.5.1.0
|
|
6
|
+
* @baseUrl /sp
|
|
7
|
+
*/
|
|
8
|
+
export declare class CatalogService extends Service {
|
|
9
|
+
/**
|
|
10
|
+
* No description
|
|
11
|
+
*
|
|
12
|
+
* @tags Catalog
|
|
13
|
+
* @name GetAll
|
|
14
|
+
* @operationId CatalogController_GetAll
|
|
15
|
+
* @summary Get all resource with given.
|
|
16
|
+
* @request GET:/resources
|
|
17
|
+
* @response `200` Success
|
|
18
|
+
*/
|
|
19
|
+
getAll(query: GetAllParams): Promise<CatalogResourceDc[]>;
|
|
20
|
+
/**
|
|
21
|
+
* No description
|
|
22
|
+
*
|
|
23
|
+
* @tags Catalog
|
|
24
|
+
* @name SearchResources
|
|
25
|
+
* @operationId CatalogController_SearchResources
|
|
26
|
+
* @summary Search resources.
|
|
27
|
+
* @request POST:/resources/search
|
|
28
|
+
* @response `200` Success
|
|
29
|
+
*/
|
|
30
|
+
searchResources(query: SearchResourcesParams, data: SearchResourcesDto): Promise<CatalogResourceDc[]>;
|
|
31
|
+
/**
|
|
32
|
+
* No description
|
|
33
|
+
*
|
|
34
|
+
* @tags Catalog
|
|
35
|
+
* @name GetResource
|
|
36
|
+
* @operationId CatalogController_GetResource
|
|
37
|
+
* @summary Get resource with given id.
|
|
38
|
+
* @request GET:/resources/{resourceId}
|
|
39
|
+
* @response `200` Success
|
|
40
|
+
*/
|
|
41
|
+
getResource(resourceId: string): Promise<CatalogResourceDc>;
|
|
42
|
+
/**
|
|
43
|
+
* No description
|
|
44
|
+
*
|
|
45
|
+
* @tags Catalog
|
|
46
|
+
* @name DeleteResource
|
|
47
|
+
* @operationId CatalogController_DeleteResource
|
|
48
|
+
* @summary Delete resource.
|
|
49
|
+
* @request DELETE:/resources/{resourceId}
|
|
50
|
+
* @response `200` Success
|
|
51
|
+
*/
|
|
52
|
+
deleteResource(resourceId: string): Promise<void>;
|
|
53
|
+
/**
|
|
54
|
+
* No description
|
|
55
|
+
*
|
|
56
|
+
* @tags Catalog
|
|
57
|
+
* @name MoveResource
|
|
58
|
+
* @operationId CatalogController_MoveResource
|
|
59
|
+
* @summary Rename resource with given id.
|
|
60
|
+
* @request POST:/resources/{resourceId}/move
|
|
61
|
+
* @response `200` Success
|
|
62
|
+
*/
|
|
63
|
+
moveResource(resourceId: string, data: MoveResourceDc): Promise<CatalogResourceDc>;
|
|
64
|
+
/**
|
|
65
|
+
* No description
|
|
66
|
+
*
|
|
67
|
+
* @tags Catalog
|
|
68
|
+
* @name CreateDirectory
|
|
69
|
+
* @operationId CatalogController_CreateDirectory
|
|
70
|
+
* @summary Create directory.
|
|
71
|
+
* @request POST:/resources/directory
|
|
72
|
+
* @response `200` Success
|
|
73
|
+
*/
|
|
74
|
+
createDirectory(data: CreateDirectoryDc): Promise<CatalogResourceDc>;
|
|
75
|
+
/**
|
|
76
|
+
* No description
|
|
77
|
+
*
|
|
78
|
+
* @tags Catalog
|
|
79
|
+
* @name CreateFile
|
|
80
|
+
* @operationId CatalogController_CreateFile
|
|
81
|
+
* @summary Create new file.
|
|
82
|
+
* @request POST:/resources/file
|
|
83
|
+
* @response `200` Success
|
|
84
|
+
*/
|
|
85
|
+
createFile(data: CreateFilePayload | FormData): Promise<CatalogResourceDc>;
|
|
86
|
+
/**
|
|
87
|
+
* No description
|
|
88
|
+
*
|
|
89
|
+
* @tags Catalog
|
|
90
|
+
* @name GetPermissions
|
|
91
|
+
* @operationId CatalogController_GetPermissions
|
|
92
|
+
* @summary Set permissions to the resource.
|
|
93
|
+
* @request GET:/resources/{resourceId}/permissions
|
|
94
|
+
* @response `200` Success
|
|
95
|
+
*/
|
|
96
|
+
getPermissions(resourceId: string): Promise<AccessControlListDc>;
|
|
97
|
+
/**
|
|
98
|
+
* No description
|
|
99
|
+
*
|
|
100
|
+
* @tags Catalog
|
|
101
|
+
* @name SetPermissions
|
|
102
|
+
* @operationId CatalogController_SetPermissions
|
|
103
|
+
* @summary Set permissions to the resource.
|
|
104
|
+
* @request PUT:/resources/{resourceId}/permissions
|
|
105
|
+
* @response `200` Success
|
|
106
|
+
*/
|
|
107
|
+
setPermissions(resourceId: string, data: AccessControlListDc): Promise<AccessControlListDc>;
|
|
108
|
+
/**
|
|
109
|
+
* No description
|
|
110
|
+
*
|
|
111
|
+
* @tags Catalog
|
|
112
|
+
* @name DownloadFile
|
|
113
|
+
* @operationId CatalogController_DownloadFile
|
|
114
|
+
* @summary Download file.
|
|
115
|
+
* @request GET:/resources/{resourceId}/download
|
|
116
|
+
* @response `200` Success
|
|
117
|
+
*/
|
|
118
|
+
downloadFile(resourceId: string): Promise<Blob>;
|
|
119
|
+
}
|
|
@@ -2,7 +2,7 @@ import { GetConfigurationParams, GetConfigurationsListParams, PagedListConfigDc,
|
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
5
|
-
* @version 1.5.1
|
|
5
|
+
* @version 1.5.1.0
|
|
6
6
|
* @baseUrl /sp
|
|
7
7
|
*/
|
|
8
8
|
export declare class ClientSettingsService extends Service {
|
|
@@ -2,7 +2,7 @@ import { AttributeDefinitionDc, EqlRequestDc, GetLayerParameters1Params, GetLaye
|
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
5
|
-
* @version 1.5.1
|
|
5
|
+
* @version 1.5.1.0
|
|
6
6
|
* @baseUrl /sp
|
|
7
7
|
*/
|
|
8
8
|
export declare class EqlTestService extends Service {
|
|
@@ -56,7 +56,7 @@ export declare class EqlTestService extends Service {
|
|
|
56
56
|
* @tags EqlTest
|
|
57
57
|
* @name GetLayerParameters
|
|
58
58
|
* @operationId EqlTestController_GetLayerParameters
|
|
59
|
-
* @summary Get
|
|
59
|
+
* @summary Get EQL parameter.
|
|
60
60
|
* @request GET:/eql/getParam
|
|
61
61
|
* @response `200` Success
|
|
62
62
|
*/
|
|
@@ -67,7 +67,7 @@ export declare class EqlTestService extends Service {
|
|
|
67
67
|
* @tags EqlTest
|
|
68
68
|
* @name GetLayerParameters1
|
|
69
69
|
* @operationId EqlTestController_GetLayerParameters_1
|
|
70
|
-
* @summary Get all EQL
|
|
70
|
+
* @summary Get all EQL parameters.
|
|
71
71
|
* @request GET:/eql/getParams
|
|
72
72
|
* @response `200` Success
|
|
73
73
|
*/
|
|
@@ -2,7 +2,7 @@ import { FeedbackParams, FeedbackPayload, IncreaseResourcesLimitParams, MoreSymb
|
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
5
|
-
* @version 1.5.1
|
|
5
|
+
* @version 1.5.1.0
|
|
6
6
|
* @baseUrl /sp
|
|
7
7
|
*/
|
|
8
8
|
export declare class FeedbackService extends Service {
|
|
@@ -2,7 +2,7 @@ import { FilterCreationResponseDc, FilterDc } from './data-contracts';
|
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
5
|
-
* @version 1.5.1
|
|
5
|
+
* @version 1.5.1.0
|
|
6
6
|
* @baseUrl /sp
|
|
7
7
|
*/
|
|
8
8
|
export declare class FiltersService extends Service {
|
|
@@ -2,7 +2,7 @@ import { GeocodeByPointParams, GeocodeParams, GeocodeResultDc, GeocodeSuggestRes
|
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
5
|
-
* @version 1.5.1
|
|
5
|
+
* @version 1.5.1.0
|
|
6
6
|
* @baseUrl /sp
|
|
7
7
|
*/
|
|
8
8
|
export declare class GeocodeService extends Service {
|
|
@@ -2,7 +2,7 @@ import { IceRouterResultDc, IceRouteTaskDc } from './data-contracts';
|
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
5
|
-
* @version 1.5.1
|
|
5
|
+
* @version 1.5.1.0
|
|
6
6
|
* @baseUrl /sp
|
|
7
7
|
*/
|
|
8
8
|
export declare class IceRouterService extends Service {
|
|
@@ -2,7 +2,7 @@ import { ExternalLayerInfoDc, GetDataSchemaParams, GetExternalArcgisFsLayersPara
|
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
5
|
-
* @version 1.5.1
|
|
5
|
+
* @version 1.5.1.0
|
|
6
6
|
* @baseUrl /sp
|
|
7
7
|
*/
|
|
8
8
|
export declare class ImportService extends Service {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { AccessControlListDc, AggregateAttributeParams, AggregationDataResultDc, AttributeDistinctsDc, BulkOperationResultDc, ClassifyDc, ClassifyParams, CompositeServiceConfigurationDc, CompositeServiceInfoDc, CreateFeaturesPayload, DeleteByConditionParams, DeleteFeatureParams, DeleteFeaturesParams, DeleteResourcesParams, DistinctsParams, EditAttributesInfoDc, EnvelopeDc, ExpressionValidationResultDc, FeatureDc, FeatureLayerServiceInfoDc, FeaturesContainsParams, FeatureSelectionDc, FeaturesListDc, FileUploadResponse, GetByGeometryGetParams, GetByGeometryParams, GetByGeometryPostParams, GetByGeometryPostPayload, GetByIdParams, GetFeatures1Params, GetFeaturesParametersDc, GetFilteredFeaturesCountParams, GetLayerExtentParams, GetLayerImageParams, GetLayersInfoParams, GetLayersListParams,
|
|
1
|
+
import { AccessControlListDc, AggregateAttributeParams, AggregationDataResultDc, AttributeDistinctsDc, BulkOperationResultDc, ClassifyDc, ClassifyParams, CompositeServiceConfigurationDc, CompositeServiceInfoDc, CreateFeaturesPayload, DeleteByConditionParams, DeleteFeatureParams, DeleteFeaturesParams, DeleteResourcesParams, DistinctsParams, EditAttributesInfoDc, EnvelopeDc, ExpressionValidationResultDc, FeatureDc, FeatureLayerServiceInfoDc, FeaturesContainsParams, FeatureSelectionDc, FeaturesListDc, FileUploadResponse, GetByGeometryGetParams, GetByGeometryParams, GetByGeometryPostParams, GetByGeometryPostPayload, GetByIdParams, GetFeatures1Params, GetFeaturesParametersDc, GetFilteredFeaturesCountParams, GetLayerExtentParams, GetLayerImageParams, GetLayersInfoParams, GetLayersListParams, GetRasterMetaParams1, GetTilesLayerImageParams, LayerUpdateInfo, LayerUpdateInfoDc, LinearServiceConfigurationDc, LocalTileServiceConfigurationDc, NetCdfMetaDc, PbfServiceConfigurationDc, PbfServiceInfoDc, PostgresLayerServiceConfigurationDc, PostgresTileCatalogServiceConfigurationDc, ProxyServiceInfoDc, PublishProxyServicePayload, QueryLayerServiceConfigurationDc, QueryLayerServiceInfoDc, RasterMetaDc, RemoteTileServiceConfigurationDc, RemoteTileServiceInfo, RemoteTileServiceInfoDc, ResourceDependenciesDc, ResourceInfoDc, RouteFeatureDc, RouteServiceConfigurationDc, SelectFeaturesParams, ServiceInfoDc, SetPermissionsBatchPayload, SetPreviewPayload, StyledLayerServiceConfigurationDc, SubtractParams, SubtractPayload, TileServiceInfoDc, UniteParams, UnitePayload, UpdateFeaturePayload, UpdateProxyServicePayload, ValidateExpressionParams } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
5
|
-
* @version 1.5.1
|
|
5
|
+
* @version 1.5.1.0
|
|
6
6
|
* @baseUrl /sp
|
|
7
7
|
*/
|
|
8
8
|
export declare class LayersService extends Service {
|
|
@@ -567,7 +567,7 @@ export declare class LayersService extends Service {
|
|
|
567
567
|
* @request GET:/layers/{name}/{id}/metadata
|
|
568
568
|
* @response `200` Success
|
|
569
569
|
*/
|
|
570
|
-
getRasterMeta({ name, id, ...query }:
|
|
570
|
+
getRasterMeta({ name, id, ...query }: GetRasterMetaParams1): Promise<(RasterMetaDc | NetCdfMetaDc)[]>;
|
|
571
571
|
/**
|
|
572
572
|
* No description
|
|
573
573
|
*
|
|
@@ -2,7 +2,7 @@ import { CreateNamespaceParams, GetNamespacesParams, NamespaceInfoDc, PagedListN
|
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
5
|
-
* @version 1.5.1
|
|
5
|
+
* @version 1.5.1.0
|
|
6
6
|
* @baseUrl /sp
|
|
7
7
|
*/
|
|
8
8
|
export declare class NamespaceService extends Service {
|
|
@@ -2,7 +2,7 @@ import { SubscribeListOperationPayload, SubscribeOperationParams, UnsubscribeLis
|
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
5
|
-
* @version 1.5.1
|
|
5
|
+
* @version 1.5.1.0
|
|
6
6
|
* @baseUrl /sp
|
|
7
7
|
*/
|
|
8
8
|
export declare class NotificationService extends Service {
|
|
@@ -2,7 +2,7 @@ import { PrintPayload, PrintToHtmlPayload, UploadTemplateParams, UploadTemplateP
|
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
5
|
-
* @version 1.5.1
|
|
5
|
+
* @version 1.5.1.0
|
|
6
6
|
* @baseUrl /sp
|
|
7
7
|
*/
|
|
8
8
|
export declare class PrintService extends Service {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { AccessControlListDc, BulkOperationResultDc,
|
|
1
|
+
import { AccessControlListDc, BulkOperationResultDc, DeleteResourcesParams7, ExtendedProjectInfoDc, ExtendedProjectLayersInfo, FileUploadResponse, GetProjectsInfoParams, GetProjectsListParams, PagedListProjectInfoDc, ResourceDependenciesDc, SetPermissionsBatchBody, SetPreviewBody } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
5
|
-
* @version 1.5.1
|
|
5
|
+
* @version 1.5.1.0
|
|
6
6
|
* @baseUrl /sp
|
|
7
7
|
*/
|
|
8
8
|
export declare class ProjectsService extends Service {
|
|
@@ -49,7 +49,7 @@ export declare class ProjectsService extends Service {
|
|
|
49
49
|
* @request DELETE:/projects
|
|
50
50
|
* @response `200` Success
|
|
51
51
|
*/
|
|
52
|
-
deleteResources(query:
|
|
52
|
+
deleteResources(query: DeleteResourcesParams7): Promise<BulkOperationResultDc[]>;
|
|
53
53
|
/**
|
|
54
54
|
* No description
|
|
55
55
|
*
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { Service } from './Service';
|
|
2
|
+
/**
|
|
3
|
+
* @title Spatial Processing Core API
|
|
4
|
+
* @version 1.5.1.0
|
|
5
|
+
* @baseUrl /sp
|
|
6
|
+
*/
|
|
7
|
+
export declare class QueryTokenAccessService extends Service {
|
|
8
|
+
/**
|
|
9
|
+
* No description
|
|
10
|
+
*
|
|
11
|
+
* @tags QueryTokenAccess
|
|
12
|
+
* @name CreateToken
|
|
13
|
+
* @operationId QueryTokenAccessController_CreateTokenAsync
|
|
14
|
+
* @summary Create new query access token.
|
|
15
|
+
* @request PUT:/accessToken/{username}
|
|
16
|
+
* @response `200` Success
|
|
17
|
+
*/
|
|
18
|
+
createToken(username: string | null): Promise<string>;
|
|
19
|
+
/**
|
|
20
|
+
* No description
|
|
21
|
+
*
|
|
22
|
+
* @tags QueryTokenAccess
|
|
23
|
+
* @name DisableToken
|
|
24
|
+
* @operationId QueryTokenAccessController_DisableToken
|
|
25
|
+
* @summary Disable token.
|
|
26
|
+
* @request POST:/accessToken/{token}/disable
|
|
27
|
+
* @response `200` Success
|
|
28
|
+
*/
|
|
29
|
+
disableToken(token: string): Promise<void>;
|
|
30
|
+
/**
|
|
31
|
+
* No description
|
|
32
|
+
*
|
|
33
|
+
* @tags QueryTokenAccess
|
|
34
|
+
* @name EnableToken
|
|
35
|
+
* @operationId QueryTokenAccessController_EnableToken
|
|
36
|
+
* @summary Enable token.
|
|
37
|
+
* @request POST:/accessToken/{token}/enable
|
|
38
|
+
* @response `200` Success
|
|
39
|
+
*/
|
|
40
|
+
enableToken(token: string): Promise<void>;
|
|
41
|
+
/**
|
|
42
|
+
* No description
|
|
43
|
+
*
|
|
44
|
+
* @tags QueryTokenAccess
|
|
45
|
+
* @name RevokeToken
|
|
46
|
+
* @operationId QueryTokenAccessController_RevokeToken
|
|
47
|
+
* @summary Revoke token.
|
|
48
|
+
* @request DELETE:/accessToken/{token}
|
|
49
|
+
* @response `200` Success
|
|
50
|
+
*/
|
|
51
|
+
revokeToken(token: string): Promise<void>;
|
|
52
|
+
}
|
|
@@ -2,7 +2,7 @@ import { CheckLimitsParams, CopyResourceResultDc, CopyResourcesPayload, Workspac
|
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
5
|
-
* @version 1.5.1
|
|
5
|
+
* @version 1.5.1.0
|
|
6
6
|
* @baseUrl /sp
|
|
7
7
|
*/
|
|
8
8
|
export declare class ResourceCatalogService extends Service {
|
|
@@ -2,7 +2,7 @@ import { CreateResourcePayload, CreateStorageParams, GetResourceParams, GetStora
|
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
5
|
-
* @version 1.5.1
|
|
5
|
+
* @version 1.5.1.0
|
|
6
6
|
* @baseUrl /sp
|
|
7
7
|
*/
|
|
8
8
|
export declare class S3Service extends Service {
|
|
@@ -2,7 +2,7 @@ import { AggregateTaskParametersDc, AvailabilityAreaTaskDc, BufferTaskParameters
|
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
5
|
-
* @version 1.5.1
|
|
5
|
+
* @version 1.5.1.0
|
|
6
6
|
* @baseUrl /sp
|
|
7
7
|
*/
|
|
8
8
|
export declare class SchedulerService extends Service {
|
|
@@ -2,7 +2,7 @@ import { FindUserByNameByRolesParams, FindUserByNameParams, GetPolicyListParams,
|
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
5
|
-
* @version 1.5.1
|
|
5
|
+
* @version 1.5.1.0
|
|
6
6
|
* @baseUrl /sp
|
|
7
7
|
*/
|
|
8
8
|
export declare class SecurityService extends Service {
|
|
@@ -2,7 +2,7 @@ import { DeleteFileParams, DownloadFileParams, FileUploadInfoDc, FileUploadRespo
|
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
5
|
-
* @version 1.5.1
|
|
5
|
+
* @version 1.5.1.0
|
|
6
6
|
* @baseUrl /sp
|
|
7
7
|
*/
|
|
8
8
|
export declare class StaticContentService extends Service {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ClassifyDc,
|
|
1
|
+
import { ClassifyDc, ClassifyParams3, StatisticsDbParams, StatisticsDc, SumOfProductParams } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
5
|
-
* @version 1.5.1
|
|
5
|
+
* @version 1.5.1.0
|
|
6
6
|
* @baseUrl /sp
|
|
7
7
|
*/
|
|
8
8
|
export declare class StatisticService extends Service {
|
|
@@ -27,7 +27,7 @@ export declare class StatisticService extends Service {
|
|
|
27
27
|
* @request GET:/statistics/classify
|
|
28
28
|
* @response `200` Success
|
|
29
29
|
*/
|
|
30
|
-
classify(query:
|
|
30
|
+
classify(query: ClassifyParams3): Promise<ClassifyDc>;
|
|
31
31
|
/**
|
|
32
32
|
* No description
|
|
33
33
|
*
|
|
@@ -2,7 +2,7 @@ import { AddFontPayload, RemoveFontParams, StyleCreationResponseDc, StyleDc } fr
|
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
5
|
-
* @version 1.5.1
|
|
5
|
+
* @version 1.5.1.0
|
|
6
6
|
* @baseUrl /sp
|
|
7
7
|
*/
|
|
8
8
|
export declare class StyleService extends Service {
|
|
@@ -2,7 +2,7 @@ import { AccessControlListDc, CreateSymbolCategoryDc, CreateSymbolDc, GetSymbolC
|
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
5
|
-
* @version 1.5.1
|
|
5
|
+
* @version 1.5.1.0
|
|
6
6
|
* @baseUrl /sp
|
|
7
7
|
*/
|
|
8
8
|
export declare class SymbolStorageService extends Service {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { AccessControlListDc, BulkOperationResultDc,
|
|
1
|
+
import { AccessControlListDc, BulkOperationResultDc, DeleteResourcesParams7, DeleteTableDataParams, DetailedTableInfoDc, FileUploadResponse, GetTableDataParams, GetTableListParams, GetTablesInfoParams, GetUniqueDataRowsParams, MapTableInfoDc, MapTableParams, PagedListIEnumerable1, PagedListTableInfoDc, ResourceDependenciesDc, SetPermissionsBatchInput, SetPreviewInput, UpdateTableDataParams, UpdateTableDataPayload, UpdateTableDc, WriteTableDataPayload } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
5
|
-
* @version 1.5.1
|
|
5
|
+
* @version 1.5.1.0
|
|
6
6
|
* @baseUrl /sp
|
|
7
7
|
*/
|
|
8
8
|
export declare class TablesService extends Service {
|
|
@@ -49,7 +49,7 @@ export declare class TablesService extends Service {
|
|
|
49
49
|
* @request DELETE:/tables
|
|
50
50
|
* @response `200` Success
|
|
51
51
|
*/
|
|
52
|
-
deleteResources(query:
|
|
52
|
+
deleteResources(query: DeleteResourcesParams7): Promise<BulkOperationResultDc[]>;
|
|
53
53
|
/**
|
|
54
54
|
* No description
|
|
55
55
|
*
|