@evergis/api 3.0.131 → 3.0.133
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/__generated__/GeneralService.d.ts +6 -17
- package/dist/__generated__/ImportService.d.ts +12 -1
- package/dist/__generated__/LayersService.d.ts +11 -0
- package/dist/__generated__/ProjectsService.d.ts +13 -2
- package/dist/__generated__/StatisticService.d.ts +2 -2
- package/dist/__generated__/TablesService.d.ts +13 -2
- package/dist/__generated__/WmsServerService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +222 -176
- package/dist/api.cjs.development.js +87 -31
- 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 +244 -188
- package/dist/api.esm.js.map +1 -1
- package/package.json +2 -2
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
|
+
```
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CancelTestParams, FunctionInfoDc, ServerInfoDc } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -21,24 +21,13 @@ export declare class GeneralService extends Service {
|
|
|
21
21
|
* No description
|
|
22
22
|
*
|
|
23
23
|
* @tags General
|
|
24
|
-
* @name
|
|
25
|
-
* @operationId
|
|
26
|
-
* @summary
|
|
27
|
-
* @request GET:/
|
|
24
|
+
* @name CancelTest
|
|
25
|
+
* @operationId GeneralController_CancelTest
|
|
26
|
+
* @summary Test method for CancellationToken.
|
|
27
|
+
* @request GET:/cancel
|
|
28
28
|
* @response `200` Success
|
|
29
29
|
*/
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* No description
|
|
33
|
-
*
|
|
34
|
-
* @tags General
|
|
35
|
-
* @name Logo
|
|
36
|
-
* @operationId GeneralController_Logo
|
|
37
|
-
* @summary Returns logo.
|
|
38
|
-
* @request GET:/logo.png
|
|
39
|
-
* @response `200` Success
|
|
40
|
-
*/
|
|
41
|
-
logo(query: LogoParams): string;
|
|
30
|
+
cancelTest(query: CancelTestParams): Promise<void>;
|
|
42
31
|
/**
|
|
43
32
|
* No description
|
|
44
33
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExternalLayerInfoDc, GetDataSchemaParams, GetExternalArcGisLayersParams, GetExternalWmsLayersParams, GetRasterAttributesParams, ImportDataSchema, ImportFileFeaturesCountDc } from './data-contracts';
|
|
1
|
+
import { ExternalLayerInfoDc, GetDataSchemaParams, GetExternalArcGisLayersParams, GetExternalWmsLayersParams, GetRasterAttributesParams, ImportDataSchema, ImportFileFeaturesCountDc, ReadPartParams } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -28,6 +28,17 @@ export declare class ImportService extends Service {
|
|
|
28
28
|
* @response `200` Success
|
|
29
29
|
*/
|
|
30
30
|
getFeaturesCount(data: ImportFileFeaturesCountDc): Promise<number>;
|
|
31
|
+
/**
|
|
32
|
+
* No description
|
|
33
|
+
*
|
|
34
|
+
* @tags ImportService
|
|
35
|
+
* @name ReadPart
|
|
36
|
+
* @operationId ImportServiceController_ReadPart
|
|
37
|
+
* @summary Returns the features of the given file in temporary static storage.
|
|
38
|
+
* @request GET:/import/read
|
|
39
|
+
* @response `200` Success
|
|
40
|
+
*/
|
|
41
|
+
readPart(query: ReadPartParams): Promise<void>;
|
|
31
42
|
/**
|
|
32
43
|
* No description
|
|
33
44
|
*
|
|
@@ -546,6 +546,17 @@ export declare class LayersService extends Service {
|
|
|
546
546
|
* @response `200` Success
|
|
547
547
|
*/
|
|
548
548
|
deletePreview(name: string): Promise<void>;
|
|
549
|
+
/**
|
|
550
|
+
* No description
|
|
551
|
+
*
|
|
552
|
+
* @tags Layers
|
|
553
|
+
* @name IsExists
|
|
554
|
+
* @operationId LayersController_IsExistsAsync
|
|
555
|
+
* @summary Check is resource exists.
|
|
556
|
+
* @request GET:/layers/{name}/exists
|
|
557
|
+
* @response `200` Success
|
|
558
|
+
*/
|
|
559
|
+
isExists(name: string): Promise<void>;
|
|
549
560
|
/**
|
|
550
561
|
* No description
|
|
551
562
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccessControlListDc, BulkOperationResultDc,
|
|
1
|
+
import { AccessControlListDc, BulkOperationResultDc, DeleteResourcesParams9, 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
|
|
@@ -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: DeleteResourcesParams9): Promise<BulkOperationResultDc[]>;
|
|
53
53
|
/**
|
|
54
54
|
* No description
|
|
55
55
|
*
|
|
@@ -138,6 +138,17 @@ export declare class ProjectsService extends Service {
|
|
|
138
138
|
* @response `200` Success
|
|
139
139
|
*/
|
|
140
140
|
deletePreview(name: string): Promise<void>;
|
|
141
|
+
/**
|
|
142
|
+
* No description
|
|
143
|
+
*
|
|
144
|
+
* @tags Projects
|
|
145
|
+
* @name IsExists
|
|
146
|
+
* @operationId ProjectsController_IsExistsAsync
|
|
147
|
+
* @summary Check is resource exists.
|
|
148
|
+
* @request GET:/projects/{name}/exists
|
|
149
|
+
* @response `200` Success
|
|
150
|
+
*/
|
|
151
|
+
isExists(name: string): Promise<void>;
|
|
141
152
|
/**
|
|
142
153
|
* No description
|
|
143
154
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ClassifyDc,
|
|
1
|
+
import { ClassifyDc, ClassifyParams5, StatisticsDbParams, StatisticsDc, SumOfProductParams } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -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: ClassifyParams5): Promise<ClassifyDc>;
|
|
31
31
|
/**
|
|
32
32
|
* No description
|
|
33
33
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccessControlListDc, BulkOperationResultDc,
|
|
1
|
+
import { AccessControlListDc, BulkOperationResultDc, DeleteResourcesParams6, 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
|
|
@@ -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: DeleteResourcesParams6): Promise<BulkOperationResultDc[]>;
|
|
53
53
|
/**
|
|
54
54
|
* No description
|
|
55
55
|
*
|
|
@@ -204,6 +204,17 @@ export declare class TablesService extends Service {
|
|
|
204
204
|
* @response `200` Success
|
|
205
205
|
*/
|
|
206
206
|
deletePreview(name: string): Promise<void>;
|
|
207
|
+
/**
|
|
208
|
+
* No description
|
|
209
|
+
*
|
|
210
|
+
* @tags Tables
|
|
211
|
+
* @name IsExists
|
|
212
|
+
* @operationId TablesController_IsExistsAsync
|
|
213
|
+
* @summary Check is resource exists.
|
|
214
|
+
* @request GET:/tables/{name}/exists
|
|
215
|
+
* @response `200` Success
|
|
216
|
+
*/
|
|
217
|
+
isExists(name: string): Promise<void>;
|
|
207
218
|
/**
|
|
208
219
|
* No description
|
|
209
220
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GetCapabilities1Params,
|
|
1
|
+
import { GetCapabilities1Params, GetCapabilitiesParams8, GetFeatureInfoParams, GetLegendGraphicParams, GetMapParams } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -16,7 +16,7 @@ export declare class WmsServerService extends Service {
|
|
|
16
16
|
* @request GET:/wms#REQUEST=GetCapabilities
|
|
17
17
|
* @response `200` Success
|
|
18
18
|
*/
|
|
19
|
-
getCapabilities(query:
|
|
19
|
+
getCapabilities(query: GetCapabilitiesParams8): Promise<void>;
|
|
20
20
|
/**
|
|
21
21
|
* No description
|
|
22
22
|
*
|