@evergis/api 3.0.136 → 3.0.138
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__/EqlTestService.d.ts +20 -0
- package/dist/__generated__/ImportService.d.ts +12 -1
- package/dist/__generated__/ProjectsService.d.ts +13 -2
- package/dist/__generated__/StatisticService.d.ts +2 -2
- package/dist/__generated__/TablesService.d.ts +11 -0
- package/dist/__generated__/WmsServerService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +256 -222
- package/dist/api.cjs.development.js +58 -17
- 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 +218 -175
- 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
|
+
```
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { GetQueryResultParams } from './data-contracts';
|
|
2
|
+
import { Service } from './Service';
|
|
3
|
+
/**
|
|
4
|
+
* @title Spatial Processing Core API
|
|
5
|
+
* @version 1.0.0
|
|
6
|
+
* @baseUrl /sp
|
|
7
|
+
*/
|
|
8
|
+
export declare class EqlTestService extends Service {
|
|
9
|
+
/**
|
|
10
|
+
* No description
|
|
11
|
+
*
|
|
12
|
+
* @tags EqlTest
|
|
13
|
+
* @name GetQueryResult
|
|
14
|
+
* @operationId EqlTestController_GetQueryResult
|
|
15
|
+
* @summary Perform resources set acl access batch operation.
|
|
16
|
+
* @request POST:/eql/query
|
|
17
|
+
* @response `200` Success
|
|
18
|
+
*/
|
|
19
|
+
getQueryResult(query: GetQueryResultParams): Promise<void>;
|
|
20
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExternalLayerInfoDc, GetDataSchemaParams, GetExternalArcGisLayersParams, GetExternalWmsLayersParams, GetRasterAttributesParams, ImportDataSchema, ImportFileFeaturesCountDc, ReadPartParams } from './data-contracts';
|
|
1
|
+
import { ExternalLayerInfoDc, GetDataSchemaParams, GetExternalArcGisLayersParams, GetExternalPbfLayersParams, GetExternalWmsLayersParams, GetRasterAttributesParams, ImportDataSchema, ImportFileFeaturesCountDc, ReadPartParams } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -50,6 +50,17 @@ export declare class ImportService extends Service {
|
|
|
50
50
|
* @response `200` Success
|
|
51
51
|
*/
|
|
52
52
|
getExternalWmsLayers(query: GetExternalWmsLayersParams): Promise<ExternalLayerInfoDc[]>;
|
|
53
|
+
/**
|
|
54
|
+
* No description
|
|
55
|
+
*
|
|
56
|
+
* @tags ImportService
|
|
57
|
+
* @name GetExternalPbfLayers
|
|
58
|
+
* @operationId ImportServiceController_GetExternalPbfLayers
|
|
59
|
+
* @summary Get list of external PBF layers.
|
|
60
|
+
* @request GET:/import/pbf
|
|
61
|
+
* @response `200` Success
|
|
62
|
+
*/
|
|
63
|
+
getExternalPbfLayers(query: GetExternalPbfLayersParams): Promise<ExternalLayerInfoDc[]>;
|
|
53
64
|
/**
|
|
54
65
|
* No description
|
|
55
66
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccessControlListDc, BulkOperationResultDc,
|
|
1
|
+
import { AccessControlListDc, BulkOperationResultDc, DeleteResourcesParams6, 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: DeleteResourcesParams6): Promise<BulkOperationResultDc[]>;
|
|
53
53
|
/**
|
|
54
54
|
* No description
|
|
55
55
|
*
|
|
@@ -105,6 +105,17 @@ export declare class ProjectsService extends Service {
|
|
|
105
105
|
* @response `200` Success
|
|
106
106
|
*/
|
|
107
107
|
getProjectLayersExtendedInfo(name: string): Promise<ExtendedProjectLayersInfo>;
|
|
108
|
+
/**
|
|
109
|
+
* No description
|
|
110
|
+
*
|
|
111
|
+
* @tags Projects
|
|
112
|
+
* @name GetTilesLayerImage
|
|
113
|
+
* @operationId ProjectsController_GetTilesLayerImage
|
|
114
|
+
* @summary Render tile.
|
|
115
|
+
* @request GET:/projects/{name}/tile/{z}/{x}/{y}
|
|
116
|
+
* @response `200` Success
|
|
117
|
+
*/
|
|
118
|
+
getTilesLayerImage(name: string, x: number, y: number, z: number): string;
|
|
108
119
|
/**
|
|
109
120
|
* No description
|
|
110
121
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ClassifyDc,
|
|
1
|
+
import { ClassifyDc, ClassifyParams4, 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: ClassifyParams4): Promise<ClassifyDc>;
|
|
31
31
|
/**
|
|
32
32
|
* No description
|
|
33
33
|
*
|
|
@@ -61,6 +61,17 @@ export declare class TablesService extends Service {
|
|
|
61
61
|
* @response `200` Success
|
|
62
62
|
*/
|
|
63
63
|
updateTable(name: string, data: UpdateTableDc): Promise<DetailedTableInfoDc>;
|
|
64
|
+
/**
|
|
65
|
+
* No description
|
|
66
|
+
*
|
|
67
|
+
* @tags Tables
|
|
68
|
+
* @name PutTable
|
|
69
|
+
* @operationId TablesController_PutTable
|
|
70
|
+
* @summary Override exists table.
|
|
71
|
+
* @request PUT:/tables/{name}
|
|
72
|
+
* @response `200` Success
|
|
73
|
+
*/
|
|
74
|
+
putTable(name: string, data: DetailedTableInfoDc): Promise<DetailedTableInfoDc>;
|
|
64
75
|
/**
|
|
65
76
|
* No description
|
|
66
77
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GetCapabilities1Params,
|
|
1
|
+
import { GetCapabilities1Params, GetCapabilitiesParams1, 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: GetCapabilitiesParams1): Promise<void>;
|
|
20
20
|
/**
|
|
21
21
|
* No description
|
|
22
22
|
*
|