@evergis/api 4.1.7 → 4.1.9
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/README.md +1 -1
- package/dist/__generated__/CatalogService.d.ts +1 -1
- package/dist/__generated__/EqlService.d.ts +62 -2
- package/dist/__generated__/LayersService.d.ts +0 -12
- package/dist/__generated__/ProjectsService.d.ts +9 -9
- package/dist/__generated__/VectorTileService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +278 -2
- package/dist/api.esm.js +111 -31
- package/dist/api.esm.js.map +1 -1
- package/dist/index.js +110 -30
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/dist/ExtendedHttpClient.d.ts +0 -5
package/dist/index.js
CHANGED
|
@@ -617,12 +617,12 @@ class CatalogService extends Service {
|
|
|
617
617
|
* @name MoveResource
|
|
618
618
|
* @operationId CatalogController_MoveResource
|
|
619
619
|
* @summary Rename resource with given id.
|
|
620
|
-
* @request POST:/resources/{resourceId}
|
|
620
|
+
* @request POST:/resources/move/{resourceId}
|
|
621
621
|
* @secure
|
|
622
622
|
* @response `200` OK
|
|
623
623
|
*/
|
|
624
624
|
moveResource(resourceId, data) {
|
|
625
|
-
return this.http.post(`/resources/${resourceId}
|
|
625
|
+
return this.http.post(`/resources/move/${resourceId}`, data).json();
|
|
626
626
|
}
|
|
627
627
|
/**
|
|
628
628
|
* No description
|
|
@@ -1857,8 +1857,8 @@ class EqlService extends Service {
|
|
|
1857
1857
|
* @secure
|
|
1858
1858
|
* @response `200` OK
|
|
1859
1859
|
*/
|
|
1860
|
-
getPagedQueryResult(data) {
|
|
1861
|
-
return this.http.post(`/eql/query`, data).json();
|
|
1860
|
+
getPagedQueryResult(query, data) {
|
|
1861
|
+
return this.http.post(`/eql/query`, data, query).json();
|
|
1862
1862
|
}
|
|
1863
1863
|
/**
|
|
1864
1864
|
* No description
|
|
@@ -1874,6 +1874,34 @@ class EqlService extends Service {
|
|
|
1874
1874
|
getQueryDescription(data) {
|
|
1875
1875
|
return this.http.post(`/eql/description`, data).json();
|
|
1876
1876
|
}
|
|
1877
|
+
/**
|
|
1878
|
+
* No description
|
|
1879
|
+
*
|
|
1880
|
+
* @tags Eql
|
|
1881
|
+
* @name GetVectorTile
|
|
1882
|
+
* @operationId EqlController_GetVectorTile
|
|
1883
|
+
* @summary Get vector tile by query.
|
|
1884
|
+
* @request GET:/eql/vt/{z}/{x}/{y}.pbf
|
|
1885
|
+
* @secure
|
|
1886
|
+
* @response `200` OK
|
|
1887
|
+
*/
|
|
1888
|
+
getVectorTile({ z, x, y, ...query }) {
|
|
1889
|
+
return this.http.get(`/eql/vt/{z}/{x}/{y}.pbf`, query).then(() => { });
|
|
1890
|
+
}
|
|
1891
|
+
/**
|
|
1892
|
+
* No description
|
|
1893
|
+
*
|
|
1894
|
+
* @tags Eql
|
|
1895
|
+
* @name GetQueryHistory
|
|
1896
|
+
* @operationId EqlController_GetQueryHistory
|
|
1897
|
+
* @summary Get EQL requests history.
|
|
1898
|
+
* @request GET:/eql/query/history
|
|
1899
|
+
* @secure
|
|
1900
|
+
* @response `200` OK
|
|
1901
|
+
*/
|
|
1902
|
+
getQueryHistory(query) {
|
|
1903
|
+
return this.http.get(`/eql/query/history`, query).json();
|
|
1904
|
+
}
|
|
1877
1905
|
/**
|
|
1878
1906
|
* No description
|
|
1879
1907
|
*
|
|
@@ -1958,6 +1986,48 @@ class EqlService extends Service {
|
|
|
1958
1986
|
getAvailiableLayerParameters(query) {
|
|
1959
1987
|
return this.http.get(`/eql/getAvailiableParams`, query).json();
|
|
1960
1988
|
}
|
|
1989
|
+
/**
|
|
1990
|
+
* No description
|
|
1991
|
+
*
|
|
1992
|
+
* @tags Eql
|
|
1993
|
+
* @name Get
|
|
1994
|
+
* @operationId EqlController_Get
|
|
1995
|
+
* @summary Returns the query by its id.
|
|
1996
|
+
* @request GET:/eql/query/{id}
|
|
1997
|
+
* @secure
|
|
1998
|
+
* @response `200` OK
|
|
1999
|
+
*/
|
|
2000
|
+
get(id) {
|
|
2001
|
+
return this.http.get(`/eql/query/${id}`).json();
|
|
2002
|
+
}
|
|
2003
|
+
/**
|
|
2004
|
+
* No description
|
|
2005
|
+
*
|
|
2006
|
+
* @tags Eql
|
|
2007
|
+
* @name Update
|
|
2008
|
+
* @operationId EqlController_Update
|
|
2009
|
+
* @summary Replaces a query and gives it a new id.
|
|
2010
|
+
* @request POST:/eql/query/{id}
|
|
2011
|
+
* @secure
|
|
2012
|
+
* @response `200` OK
|
|
2013
|
+
*/
|
|
2014
|
+
update(id, data) {
|
|
2015
|
+
return this.http.post(`/eql/query/${id}`, data).then(() => { });
|
|
2016
|
+
}
|
|
2017
|
+
/**
|
|
2018
|
+
* No description
|
|
2019
|
+
*
|
|
2020
|
+
* @tags Eql
|
|
2021
|
+
* @name Create
|
|
2022
|
+
* @operationId EqlController_Create
|
|
2023
|
+
* @summary Creates a new query.
|
|
2024
|
+
* @request POST:/eql/query/save
|
|
2025
|
+
* @secure
|
|
2026
|
+
* @response `200` OK
|
|
2027
|
+
*/
|
|
2028
|
+
create(data) {
|
|
2029
|
+
return this.http.post(`/eql/query/save`, data).text();
|
|
2030
|
+
}
|
|
1961
2031
|
}
|
|
1962
2032
|
|
|
1963
2033
|
class Eql extends EqlService {
|
|
@@ -3021,20 +3091,6 @@ class LayersService extends Service {
|
|
|
3021
3091
|
validateExpression({ layerName, ...query }) {
|
|
3022
3092
|
return this.http.get(`/layers/${layerName}/validateExpression`, query).json();
|
|
3023
3093
|
}
|
|
3024
|
-
/**
|
|
3025
|
-
* No description
|
|
3026
|
-
*
|
|
3027
|
-
* @tags Layers
|
|
3028
|
-
* @name FlipCoordinates
|
|
3029
|
-
* @operationId LayersController_FlipCoordinates
|
|
3030
|
-
* @summary Flip geometry coordinates.
|
|
3031
|
-
* @request POST:/layers/{layerName}/flip-coordinates
|
|
3032
|
-
* @secure
|
|
3033
|
-
* @response `200` OK
|
|
3034
|
-
*/
|
|
3035
|
-
flipCoordinates(layerName) {
|
|
3036
|
-
return this.http.post(`/layers/${layerName}/flip-coordinates`, null).json();
|
|
3037
|
-
}
|
|
3038
3094
|
/**
|
|
3039
3095
|
* No description
|
|
3040
3096
|
*
|
|
@@ -3590,12 +3646,12 @@ class ProjectsService extends Service {
|
|
|
3590
3646
|
* @name PatchProjectConfiguration
|
|
3591
3647
|
* @operationId ProjectsController_PatchProjectConfiguration
|
|
3592
3648
|
* @summary Applies partial updates using JSON Patch.
|
|
3593
|
-
* @request PATCH:/projects/{name}/configuration
|
|
3649
|
+
* @request PATCH:/projects/{name}/configuration
|
|
3594
3650
|
* @secure
|
|
3595
3651
|
* @response `200` OK
|
|
3596
3652
|
*/
|
|
3597
|
-
patchProjectConfiguration(name,
|
|
3598
|
-
return this.http.patch(`/projects/${name}/configuration
|
|
3653
|
+
patchProjectConfiguration({ name, ...query }, data) {
|
|
3654
|
+
return this.http.patch(`/projects/${name}/configuration`, data, query).json();
|
|
3599
3655
|
}
|
|
3600
3656
|
/**
|
|
3601
3657
|
* No description
|
|
@@ -3604,12 +3660,12 @@ class ProjectsService extends Service {
|
|
|
3604
3660
|
* @name PutProjectConfiguration
|
|
3605
3661
|
* @operationId ProjectsController_PutProjectConfiguration
|
|
3606
3662
|
* @summary Creates or updates configuration (full replacement).
|
|
3607
|
-
* @request PUT:/projects/{name}/configuration
|
|
3663
|
+
* @request PUT:/projects/{name}/configuration
|
|
3608
3664
|
* @secure
|
|
3609
3665
|
* @response `200` OK
|
|
3610
3666
|
*/
|
|
3611
|
-
putProjectConfiguration(name,
|
|
3612
|
-
return this.http.put(`/projects/${name}/configuration
|
|
3667
|
+
putProjectConfiguration({ name, ...query }, data) {
|
|
3668
|
+
return this.http.put(`/projects/${name}/configuration`, data, query).json();
|
|
3613
3669
|
}
|
|
3614
3670
|
/**
|
|
3615
3671
|
* No description
|
|
@@ -3618,12 +3674,12 @@ class ProjectsService extends Service {
|
|
|
3618
3674
|
* @name GetProjectConfiguration
|
|
3619
3675
|
* @operationId ProjectsController_GetProjectConfiguration
|
|
3620
3676
|
* @summary Gets configuration for a resource and type.
|
|
3621
|
-
* @request GET:/projects/{name}/configuration
|
|
3677
|
+
* @request GET:/projects/{name}/configuration
|
|
3622
3678
|
* @secure
|
|
3623
3679
|
* @response `200` OK
|
|
3624
3680
|
*/
|
|
3625
|
-
getProjectConfiguration(name,
|
|
3626
|
-
return this.http.get(`/projects/${name}/configuration
|
|
3681
|
+
getProjectConfiguration({ name, ...query }) {
|
|
3682
|
+
return this.http.get(`/projects/${name}/configuration`, query).json();
|
|
3627
3683
|
}
|
|
3628
3684
|
/**
|
|
3629
3685
|
* No description
|
|
@@ -3632,12 +3688,12 @@ class ProjectsService extends Service {
|
|
|
3632
3688
|
* @name DeleteProjectConfiguration
|
|
3633
3689
|
* @operationId ProjectsController_DeleteProjectConfiguration
|
|
3634
3690
|
* @summary Creates or updates configuration (full replacement).
|
|
3635
|
-
* @request DELETE:/projects/{name}/configuration
|
|
3691
|
+
* @request DELETE:/projects/{name}/configuration
|
|
3636
3692
|
* @secure
|
|
3637
3693
|
* @response `200` OK
|
|
3638
3694
|
*/
|
|
3639
|
-
deleteProjectConfiguration(name,
|
|
3640
|
-
return this.http.delete(`/projects/${name}/configuration
|
|
3695
|
+
deleteProjectConfiguration({ name, ...query }) {
|
|
3696
|
+
return this.http.delete(`/projects/${name}/configuration`, null, query).json();
|
|
3641
3697
|
}
|
|
3642
3698
|
/**
|
|
3643
3699
|
* No description
|
|
@@ -5289,6 +5345,27 @@ exports.ConfigurationType = void 0;
|
|
|
5289
5345
|
/**
|
|
5290
5346
|
*
|
|
5291
5347
|
|
|
5348
|
+
Json
|
|
5349
|
+
|
|
5350
|
+
Csv
|
|
5351
|
+
|
|
5352
|
+
Orc
|
|
5353
|
+
|
|
5354
|
+
Parquet
|
|
5355
|
+
|
|
5356
|
+
Jdbc
|
|
5357
|
+
*/
|
|
5358
|
+
exports.DataSourceConnectionType = void 0;
|
|
5359
|
+
(function (DataSourceConnectionType) {
|
|
5360
|
+
DataSourceConnectionType["Json"] = "Json";
|
|
5361
|
+
DataSourceConnectionType["Csv"] = "Csv";
|
|
5362
|
+
DataSourceConnectionType["Orc"] = "Orc";
|
|
5363
|
+
DataSourceConnectionType["Parquet"] = "Parquet";
|
|
5364
|
+
DataSourceConnectionType["Jdbc"] = "Jdbc";
|
|
5365
|
+
})(exports.DataSourceConnectionType || (exports.DataSourceConnectionType = {}));
|
|
5366
|
+
/**
|
|
5367
|
+
*
|
|
5368
|
+
|
|
5292
5369
|
Postgres
|
|
5293
5370
|
|
|
5294
5371
|
Trino
|
|
@@ -5298,6 +5375,8 @@ S3
|
|
|
5298
5375
|
GisServer
|
|
5299
5376
|
|
|
5300
5377
|
Spark
|
|
5378
|
+
|
|
5379
|
+
Archive
|
|
5301
5380
|
*/
|
|
5302
5381
|
exports.DataSourceType = void 0;
|
|
5303
5382
|
(function (DataSourceType) {
|
|
@@ -5306,6 +5385,7 @@ exports.DataSourceType = void 0;
|
|
|
5306
5385
|
DataSourceType["S3"] = "S3";
|
|
5307
5386
|
DataSourceType["GisServer"] = "GisServer";
|
|
5308
5387
|
DataSourceType["Spark"] = "Spark";
|
|
5388
|
+
DataSourceType["Archive"] = "Archive";
|
|
5309
5389
|
})(exports.DataSourceType || (exports.DataSourceType = {}));
|
|
5310
5390
|
/**
|
|
5311
5391
|
* Type of the error.
|