@evergis/api 3.0.191 → 3.0.193
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 +2 -2
- package/dist/__generated__/CatalogService.d.ts +47 -3
- package/dist/__generated__/{EqlTestService.d.ts → EqlService.d.ts} +15 -15
- package/dist/__generated__/LayersService.d.ts +13 -2
- package/dist/__generated__/ProjectsService.d.ts +2 -2
- package/dist/__generated__/StatisticService.d.ts +2 -2
- package/dist/__generated__/TablesService.d.ts +13 -2
- package/dist/__generated__/UniversalSearchService.d.ts +7 -7
- package/dist/__generated__/WmsServerService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +187 -77
- package/dist/api.cjs.development.js +138 -51
- 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 +138 -69
- package/dist/api.esm.js.map +1 -1
- package/dist/services/Eql.d.ts +3 -0
- package/dist/services/Statistic.d.ts +2 -2
- package/dist/services/index.d.ts +1 -1
- package/package.json +2 -2
- package/dist/services/EqlTest.d.ts +0 -3
|
@@ -486,19 +486,19 @@ let UniversalSearchService = /*#__PURE__*/function (_Service) {
|
|
|
486
486
|
}
|
|
487
487
|
|
|
488
488
|
_createClass(UniversalSearchService, [{
|
|
489
|
-
key: "
|
|
489
|
+
key: "searchResultDcGetSearchResult",
|
|
490
490
|
value:
|
|
491
491
|
/**
|
|
492
492
|
* No description
|
|
493
493
|
*
|
|
494
494
|
* @tags UniversalSearch
|
|
495
|
-
* @name
|
|
496
|
-
* @operationId
|
|
495
|
+
* @name SearchResultDcGetSearchResult
|
|
496
|
+
* @operationId UniversalSearchController_SearchResultDcGetSearchResult
|
|
497
497
|
* @summary Returns search result.
|
|
498
498
|
* @request GET:/search/{taskId}/{layerName}
|
|
499
499
|
* @response `200` OK
|
|
500
500
|
*/
|
|
501
|
-
function
|
|
501
|
+
function searchResultDcGetSearchResult(_ref) {
|
|
502
502
|
let {
|
|
503
503
|
taskId,
|
|
504
504
|
layerName
|
|
@@ -511,16 +511,16 @@ let UniversalSearchService = /*#__PURE__*/function (_Service) {
|
|
|
511
511
|
* No description
|
|
512
512
|
*
|
|
513
513
|
* @tags UniversalSearch
|
|
514
|
-
* @name
|
|
515
|
-
* @operationId
|
|
514
|
+
* @name GetSearchResult
|
|
515
|
+
* @operationId UniversalSearchController_GetSearchResult
|
|
516
516
|
* @summary Returns search result.
|
|
517
517
|
* @request GET:/search/{taskId}
|
|
518
518
|
* @response `200` OK
|
|
519
519
|
*/
|
|
520
520
|
|
|
521
521
|
}, {
|
|
522
|
-
key: "
|
|
523
|
-
value: function
|
|
522
|
+
key: "getSearchResult",
|
|
523
|
+
value: function getSearchResult(taskId) {
|
|
524
524
|
return this.http.get("/search/" + taskId).json();
|
|
525
525
|
}
|
|
526
526
|
}]);
|
|
@@ -574,8 +574,40 @@ let CatalogService = /*#__PURE__*/function (_Service) {
|
|
|
574
574
|
|
|
575
575
|
}, {
|
|
576
576
|
key: "postGetAll",
|
|
577
|
-
value: function postGetAll(data) {
|
|
578
|
-
return this.http.post("/resources", data).json();
|
|
577
|
+
value: function postGetAll(query, data) {
|
|
578
|
+
return this.http.post("/resources", data, query).json();
|
|
579
|
+
}
|
|
580
|
+
/**
|
|
581
|
+
* No description
|
|
582
|
+
*
|
|
583
|
+
* @tags Catalog
|
|
584
|
+
* @name GetTags
|
|
585
|
+
* @operationId CatalogController_GetTags
|
|
586
|
+
* @summary Get all tags of given user.
|
|
587
|
+
* @request GET:/resources/tags
|
|
588
|
+
* @response `200` OK
|
|
589
|
+
*/
|
|
590
|
+
|
|
591
|
+
}, {
|
|
592
|
+
key: "getTags",
|
|
593
|
+
value: function getTags(query) {
|
|
594
|
+
return this.http.get("/resources/tags", query).json();
|
|
595
|
+
}
|
|
596
|
+
/**
|
|
597
|
+
* No description
|
|
598
|
+
*
|
|
599
|
+
* @tags Catalog
|
|
600
|
+
* @name PutTags
|
|
601
|
+
* @operationId CatalogController_PutTags
|
|
602
|
+
* @summary Put tags to resource.
|
|
603
|
+
* @request PUT:/resources/{resourceId}/tags
|
|
604
|
+
* @response `200` OK
|
|
605
|
+
*/
|
|
606
|
+
|
|
607
|
+
}, {
|
|
608
|
+
key: "putTags",
|
|
609
|
+
value: function putTags(resourceId, data) {
|
|
610
|
+
return this.http.put("/resources/" + resourceId + "/tags", data).json();
|
|
579
611
|
}
|
|
580
612
|
/**
|
|
581
613
|
* No description
|
|
@@ -609,6 +641,22 @@ let CatalogService = /*#__PURE__*/function (_Service) {
|
|
|
609
641
|
value: function getResource(resourceId) {
|
|
610
642
|
return this.http.get("/resources/" + resourceId).json();
|
|
611
643
|
}
|
|
644
|
+
/**
|
|
645
|
+
* No description
|
|
646
|
+
*
|
|
647
|
+
* @tags Catalog
|
|
648
|
+
* @name PatchResource
|
|
649
|
+
* @operationId CatalogController_PatchResource
|
|
650
|
+
* @summary Update directory.
|
|
651
|
+
* @request PATCH:/resources/{resourceId}
|
|
652
|
+
* @response `200` OK
|
|
653
|
+
*/
|
|
654
|
+
|
|
655
|
+
}, {
|
|
656
|
+
key: "patchResource",
|
|
657
|
+
value: function patchResource(resourceId, data) {
|
|
658
|
+
return this.http.patch("/resources/" + resourceId, data).json();
|
|
659
|
+
}
|
|
612
660
|
/**
|
|
613
661
|
* No description
|
|
614
662
|
*
|
|
@@ -737,6 +785,22 @@ let CatalogService = /*#__PURE__*/function (_Service) {
|
|
|
737
785
|
value: function downloadFile(resourceId) {
|
|
738
786
|
return this.http.get("/resources/" + resourceId + "/download").blob();
|
|
739
787
|
}
|
|
788
|
+
/**
|
|
789
|
+
* No description
|
|
790
|
+
*
|
|
791
|
+
* @tags Catalog
|
|
792
|
+
* @name CleanResources
|
|
793
|
+
* @operationId CatalogController_CleanResources
|
|
794
|
+
* @summary Clean user resources.
|
|
795
|
+
* @request POST:/resources/clean
|
|
796
|
+
* @response `200` OK
|
|
797
|
+
*/
|
|
798
|
+
|
|
799
|
+
}, {
|
|
800
|
+
key: "cleanResources",
|
|
801
|
+
value: function cleanResources() {
|
|
802
|
+
return this.http.post("/resources/clean", null).then(() => {});
|
|
803
|
+
}
|
|
740
804
|
}]);
|
|
741
805
|
|
|
742
806
|
return CatalogService;
|
|
@@ -1959,26 +2023,26 @@ let ClientSettings = /*#__PURE__*/function (_ClientSettingsServic) {
|
|
|
1959
2023
|
* @baseUrl /sp
|
|
1960
2024
|
*/
|
|
1961
2025
|
|
|
1962
|
-
let
|
|
1963
|
-
_inherits(
|
|
2026
|
+
let EqlService = /*#__PURE__*/function (_Service) {
|
|
2027
|
+
_inherits(EqlService, _Service);
|
|
1964
2028
|
|
|
1965
|
-
var _super = /*#__PURE__*/_createSuper(
|
|
2029
|
+
var _super = /*#__PURE__*/_createSuper(EqlService);
|
|
1966
2030
|
|
|
1967
|
-
function
|
|
1968
|
-
_classCallCheck(this,
|
|
2031
|
+
function EqlService() {
|
|
2032
|
+
_classCallCheck(this, EqlService);
|
|
1969
2033
|
|
|
1970
2034
|
return _super.apply(this, arguments);
|
|
1971
2035
|
}
|
|
1972
2036
|
|
|
1973
|
-
_createClass(
|
|
2037
|
+
_createClass(EqlService, [{
|
|
1974
2038
|
key: "getQueryResult",
|
|
1975
2039
|
value:
|
|
1976
2040
|
/**
|
|
1977
2041
|
* No description
|
|
1978
2042
|
*
|
|
1979
|
-
* @tags
|
|
2043
|
+
* @tags Eql
|
|
1980
2044
|
* @name GetQueryResult
|
|
1981
|
-
* @operationId
|
|
2045
|
+
* @operationId EqlController_GetQueryResult
|
|
1982
2046
|
* @summary Perform resources set acl access batch operation.
|
|
1983
2047
|
* @request POST:/eql/query
|
|
1984
2048
|
* @response `200` OK
|
|
@@ -1989,9 +2053,9 @@ let EqlTestService = /*#__PURE__*/function (_Service) {
|
|
|
1989
2053
|
/**
|
|
1990
2054
|
* No description
|
|
1991
2055
|
*
|
|
1992
|
-
* @tags
|
|
2056
|
+
* @tags Eql
|
|
1993
2057
|
* @name GetQueryDescription
|
|
1994
|
-
* @operationId
|
|
2058
|
+
* @operationId EqlController_GetQueryDescription
|
|
1995
2059
|
* @summary Get EQL result columns definitions.
|
|
1996
2060
|
* @request POST:/eql/description
|
|
1997
2061
|
* @response `200` OK
|
|
@@ -2005,9 +2069,9 @@ let EqlTestService = /*#__PURE__*/function (_Service) {
|
|
|
2005
2069
|
/**
|
|
2006
2070
|
* No description
|
|
2007
2071
|
*
|
|
2008
|
-
* @tags
|
|
2072
|
+
* @tags Eql
|
|
2009
2073
|
* @name SetLayerParameterValue
|
|
2010
|
-
* @operationId
|
|
2074
|
+
* @operationId EqlController_SetLayerParameterValue
|
|
2011
2075
|
* @summary Set EQL layer parameter.
|
|
2012
2076
|
* @request POST:/eql/setParam
|
|
2013
2077
|
* @response `200` OK
|
|
@@ -2021,9 +2085,9 @@ let EqlTestService = /*#__PURE__*/function (_Service) {
|
|
|
2021
2085
|
/**
|
|
2022
2086
|
* No description
|
|
2023
2087
|
*
|
|
2024
|
-
* @tags
|
|
2088
|
+
* @tags Eql
|
|
2025
2089
|
* @name SetLayerParameters
|
|
2026
|
-
* @operationId
|
|
2090
|
+
* @operationId EqlController_SetLayerParameters
|
|
2027
2091
|
* @summary Set EQL layer parameters.
|
|
2028
2092
|
* @request POST:/eql/setParams
|
|
2029
2093
|
* @response `200` OK
|
|
@@ -2037,9 +2101,9 @@ let EqlTestService = /*#__PURE__*/function (_Service) {
|
|
|
2037
2101
|
/**
|
|
2038
2102
|
* No description
|
|
2039
2103
|
*
|
|
2040
|
-
* @tags
|
|
2104
|
+
* @tags Eql
|
|
2041
2105
|
* @name GetLayerParameters
|
|
2042
|
-
* @operationId
|
|
2106
|
+
* @operationId EqlController_GetLayerParameters
|
|
2043
2107
|
* @summary Get EQL parameter.
|
|
2044
2108
|
* @request GET:/eql/getParam
|
|
2045
2109
|
* @response `200` OK
|
|
@@ -2053,9 +2117,9 @@ let EqlTestService = /*#__PURE__*/function (_Service) {
|
|
|
2053
2117
|
/**
|
|
2054
2118
|
* No description
|
|
2055
2119
|
*
|
|
2056
|
-
* @tags
|
|
2120
|
+
* @tags Eql
|
|
2057
2121
|
* @name GetLayerParameters1
|
|
2058
|
-
* @operationId
|
|
2122
|
+
* @operationId EqlController_GetLayerParameters_1
|
|
2059
2123
|
* @summary Get all EQL parameters.
|
|
2060
2124
|
* @request GET:/eql/getParams
|
|
2061
2125
|
* @response `200` OK
|
|
@@ -2069,9 +2133,9 @@ let EqlTestService = /*#__PURE__*/function (_Service) {
|
|
|
2069
2133
|
/**
|
|
2070
2134
|
* No description
|
|
2071
2135
|
*
|
|
2072
|
-
* @tags
|
|
2136
|
+
* @tags Eql
|
|
2073
2137
|
* @name RemoveLayerParameterValue
|
|
2074
|
-
* @operationId
|
|
2138
|
+
* @operationId EqlController_RemoveLayerParameterValue
|
|
2075
2139
|
* @summary Remove EQL layer parameter.
|
|
2076
2140
|
* @request DELETE:/eql/removeParam
|
|
2077
2141
|
* @response `200` OK
|
|
@@ -2084,22 +2148,22 @@ let EqlTestService = /*#__PURE__*/function (_Service) {
|
|
|
2084
2148
|
}
|
|
2085
2149
|
}]);
|
|
2086
2150
|
|
|
2087
|
-
return
|
|
2151
|
+
return EqlService;
|
|
2088
2152
|
}(Service);
|
|
2089
2153
|
|
|
2090
|
-
let
|
|
2091
|
-
_inherits(
|
|
2154
|
+
let Eql = /*#__PURE__*/function (_EqlService) {
|
|
2155
|
+
_inherits(Eql, _EqlService);
|
|
2092
2156
|
|
|
2093
|
-
var _super = /*#__PURE__*/_createSuper(
|
|
2157
|
+
var _super = /*#__PURE__*/_createSuper(Eql);
|
|
2094
2158
|
|
|
2095
|
-
function
|
|
2096
|
-
_classCallCheck(this,
|
|
2159
|
+
function Eql() {
|
|
2160
|
+
_classCallCheck(this, Eql);
|
|
2097
2161
|
|
|
2098
2162
|
return _super.apply(this, arguments);
|
|
2099
2163
|
}
|
|
2100
2164
|
|
|
2101
|
-
return _createClass(
|
|
2102
|
-
}(
|
|
2165
|
+
return _createClass(Eql);
|
|
2166
|
+
}(EqlService);
|
|
2103
2167
|
|
|
2104
2168
|
/**
|
|
2105
2169
|
* @title Spatial Processing Core API
|
|
@@ -3140,8 +3204,21 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
3140
3204
|
}
|
|
3141
3205
|
|
|
3142
3206
|
_createClass(LayersService, [{
|
|
3143
|
-
key: "
|
|
3207
|
+
key: "getBulkFeatures",
|
|
3144
3208
|
value:
|
|
3209
|
+
/**
|
|
3210
|
+
* No description
|
|
3211
|
+
*
|
|
3212
|
+
* @tags Layers
|
|
3213
|
+
* @name GetBulkFeatures
|
|
3214
|
+
* @operationId LayersController_GetBulkFeatures
|
|
3215
|
+
* @summary Returns list of the layer features.
|
|
3216
|
+
* @request POST:/bulk/layers/features/query
|
|
3217
|
+
* @response `200` OK
|
|
3218
|
+
*/
|
|
3219
|
+
function getBulkFeatures(data) {
|
|
3220
|
+
return this.http.post("/bulk/layers/features/query", data).json();
|
|
3221
|
+
}
|
|
3145
3222
|
/**
|
|
3146
3223
|
* No description
|
|
3147
3224
|
*
|
|
@@ -3152,7 +3229,10 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
3152
3229
|
* @request GET:/layers
|
|
3153
3230
|
* @response `200` OK
|
|
3154
3231
|
*/
|
|
3155
|
-
|
|
3232
|
+
|
|
3233
|
+
}, {
|
|
3234
|
+
key: "getLayersList",
|
|
3235
|
+
value: function getLayersList(query) {
|
|
3156
3236
|
return this.http.get("/layers", query).json();
|
|
3157
3237
|
}
|
|
3158
3238
|
/**
|
|
@@ -6797,6 +6877,22 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
6797
6877
|
value: function deleteResources(query) {
|
|
6798
6878
|
return this.http.delete("/tables", null, query).json();
|
|
6799
6879
|
}
|
|
6880
|
+
/**
|
|
6881
|
+
* No description
|
|
6882
|
+
*
|
|
6883
|
+
* @tags Tables
|
|
6884
|
+
* @name CreateViewFromQueryLayer
|
|
6885
|
+
* @operationId TablesController_CreateViewFromQueryLayer
|
|
6886
|
+
* @summary Creates a new view from query layer.
|
|
6887
|
+
* @request POST:/tables/fromLayer
|
|
6888
|
+
* @response `200` OK
|
|
6889
|
+
*/
|
|
6890
|
+
|
|
6891
|
+
}, {
|
|
6892
|
+
key: "createViewFromQueryLayer",
|
|
6893
|
+
value: function createViewFromQueryLayer(data) {
|
|
6894
|
+
return this.http.post("/tables/fromLayer", data).json();
|
|
6895
|
+
}
|
|
6800
6896
|
/**
|
|
6801
6897
|
* No description
|
|
6802
6898
|
*
|
|
@@ -7421,7 +7517,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7421
7517
|
_this.vectorTiles = new VectorTiles(_this.http);
|
|
7422
7518
|
_this.universalSearch = new UniversalSearchService(_this.http);
|
|
7423
7519
|
_this.spatialReference = new SpatialReferencesService(_this.http);
|
|
7424
|
-
_this.
|
|
7520
|
+
_this.eql = new Eql(_this.http);
|
|
7425
7521
|
_this.catalog = new CatalogService(_this.http);
|
|
7426
7522
|
_this.queryToken = new QueryTokenAccessService(_this.http);
|
|
7427
7523
|
_this.names = new Names({
|
|
@@ -8148,15 +8244,6 @@ function isFeatureLayer(layer) {
|
|
|
8148
8244
|
Quality["High"] = "High";
|
|
8149
8245
|
})(exports.Quality || (exports.Quality = {}));
|
|
8150
8246
|
|
|
8151
|
-
(function (ReferenceJoinType) {
|
|
8152
|
-
ReferenceJoinType["OneToMany"] = "OneToMany";
|
|
8153
|
-
ReferenceJoinType["OneToOne"] = "OneToOne";
|
|
8154
|
-
ReferenceJoinType["Intersect"] = "Intersect";
|
|
8155
|
-
ReferenceJoinType["RightJoin"] = "RightJoin";
|
|
8156
|
-
ReferenceJoinType["FullJoin"] = "FullJoin";
|
|
8157
|
-
ReferenceJoinType["CrossJoin"] = "CrossJoin";
|
|
8158
|
-
})(exports.ReferenceJoinType || (exports.ReferenceJoinType = {}));
|
|
8159
|
-
|
|
8160
8247
|
(function (ResourceType) {
|
|
8161
8248
|
ResourceType["Unknown"] = "Unknown";
|
|
8162
8249
|
ResourceType["Table"] = "table";
|
|
@@ -8233,7 +8320,7 @@ exports.Api = Api;
|
|
|
8233
8320
|
exports.BulkOperations = BulkOperations;
|
|
8234
8321
|
exports.Cameras = Cameras;
|
|
8235
8322
|
exports.ClientSettings = ClientSettings;
|
|
8236
|
-
exports.
|
|
8323
|
+
exports.Eql = Eql;
|
|
8237
8324
|
exports.EvergisDynamicLayer = EvergisDynamicLayer;
|
|
8238
8325
|
exports.EvergisTileLayer = EvergisTileLayer;
|
|
8239
8326
|
exports.External = External;
|