@evergis/api 3.0.192 → 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.esm.js CHANGED
@@ -480,19 +480,19 @@ let UniversalSearchService = /*#__PURE__*/function (_Service) {
480
480
  }
481
481
 
482
482
  _createClass(UniversalSearchService, [{
483
- key: "getSearchResult",
483
+ key: "searchResultDcGetSearchResult",
484
484
  value:
485
485
  /**
486
486
  * No description
487
487
  *
488
488
  * @tags UniversalSearch
489
- * @name GetSearchResult
490
- * @operationId UniversalSearchController_GetSearchResult
489
+ * @name SearchResultDcGetSearchResult
490
+ * @operationId UniversalSearchController_SearchResultDcGetSearchResult
491
491
  * @summary Returns search result.
492
492
  * @request GET:/search/{taskId}/{layerName}
493
493
  * @response `200` OK
494
494
  */
495
- function getSearchResult(_ref) {
495
+ function searchResultDcGetSearchResult(_ref) {
496
496
  let {
497
497
  taskId,
498
498
  layerName
@@ -505,16 +505,16 @@ let UniversalSearchService = /*#__PURE__*/function (_Service) {
505
505
  * No description
506
506
  *
507
507
  * @tags UniversalSearch
508
- * @name GetSearchResult1
509
- * @operationId UniversalSearchController_GetSearchResult_1
508
+ * @name GetSearchResult
509
+ * @operationId UniversalSearchController_GetSearchResult
510
510
  * @summary Returns search result.
511
511
  * @request GET:/search/{taskId}
512
512
  * @response `200` OK
513
513
  */
514
514
 
515
515
  }, {
516
- key: "getSearchResult1",
517
- value: function getSearchResult1(taskId) {
516
+ key: "getSearchResult",
517
+ value: function getSearchResult(taskId) {
518
518
  return this.http.get("/search/" + taskId).json();
519
519
  }
520
520
  }]);
@@ -568,8 +568,8 @@ let CatalogService = /*#__PURE__*/function (_Service) {
568
568
 
569
569
  }, {
570
570
  key: "postGetAll",
571
- value: function postGetAll(data) {
572
- return this.http.post("/resources", data).json();
571
+ value: function postGetAll(query, data) {
572
+ return this.http.post("/resources", data, query).json();
573
573
  }
574
574
  /**
575
575
  * No description
@@ -779,6 +779,22 @@ let CatalogService = /*#__PURE__*/function (_Service) {
779
779
  value: function downloadFile(resourceId) {
780
780
  return this.http.get("/resources/" + resourceId + "/download").blob();
781
781
  }
782
+ /**
783
+ * No description
784
+ *
785
+ * @tags Catalog
786
+ * @name CleanResources
787
+ * @operationId CatalogController_CleanResources
788
+ * @summary Clean user resources.
789
+ * @request POST:/resources/clean
790
+ * @response `200` OK
791
+ */
792
+
793
+ }, {
794
+ key: "cleanResources",
795
+ value: function cleanResources() {
796
+ return this.http.post("/resources/clean", null).then(() => {});
797
+ }
782
798
  }]);
783
799
 
784
800
  return CatalogService;
@@ -2003,26 +2019,26 @@ let ClientSettings = /*#__PURE__*/function (_ClientSettingsServic) {
2003
2019
  * @baseUrl /sp
2004
2020
  */
2005
2021
 
2006
- let EqlTestService = /*#__PURE__*/function (_Service) {
2007
- _inherits(EqlTestService, _Service);
2022
+ let EqlService = /*#__PURE__*/function (_Service) {
2023
+ _inherits(EqlService, _Service);
2008
2024
 
2009
- var _super = /*#__PURE__*/_createSuper(EqlTestService);
2025
+ var _super = /*#__PURE__*/_createSuper(EqlService);
2010
2026
 
2011
- function EqlTestService() {
2012
- _classCallCheck(this, EqlTestService);
2027
+ function EqlService() {
2028
+ _classCallCheck(this, EqlService);
2013
2029
 
2014
2030
  return _super.apply(this, arguments);
2015
2031
  }
2016
2032
 
2017
- _createClass(EqlTestService, [{
2033
+ _createClass(EqlService, [{
2018
2034
  key: "getQueryResult",
2019
2035
  value:
2020
2036
  /**
2021
2037
  * No description
2022
2038
  *
2023
- * @tags EqlTest
2039
+ * @tags Eql
2024
2040
  * @name GetQueryResult
2025
- * @operationId EqlTestController_GetQueryResult
2041
+ * @operationId EqlController_GetQueryResult
2026
2042
  * @summary Perform resources set acl access batch operation.
2027
2043
  * @request POST:/eql/query
2028
2044
  * @response `200` OK
@@ -2033,9 +2049,9 @@ let EqlTestService = /*#__PURE__*/function (_Service) {
2033
2049
  /**
2034
2050
  * No description
2035
2051
  *
2036
- * @tags EqlTest
2052
+ * @tags Eql
2037
2053
  * @name GetQueryDescription
2038
- * @operationId EqlTestController_GetQueryDescription
2054
+ * @operationId EqlController_GetQueryDescription
2039
2055
  * @summary Get EQL result columns definitions.
2040
2056
  * @request POST:/eql/description
2041
2057
  * @response `200` OK
@@ -2049,9 +2065,9 @@ let EqlTestService = /*#__PURE__*/function (_Service) {
2049
2065
  /**
2050
2066
  * No description
2051
2067
  *
2052
- * @tags EqlTest
2068
+ * @tags Eql
2053
2069
  * @name SetLayerParameterValue
2054
- * @operationId EqlTestController_SetLayerParameterValue
2070
+ * @operationId EqlController_SetLayerParameterValue
2055
2071
  * @summary Set EQL layer parameter.
2056
2072
  * @request POST:/eql/setParam
2057
2073
  * @response `200` OK
@@ -2065,9 +2081,9 @@ let EqlTestService = /*#__PURE__*/function (_Service) {
2065
2081
  /**
2066
2082
  * No description
2067
2083
  *
2068
- * @tags EqlTest
2084
+ * @tags Eql
2069
2085
  * @name SetLayerParameters
2070
- * @operationId EqlTestController_SetLayerParameters
2086
+ * @operationId EqlController_SetLayerParameters
2071
2087
  * @summary Set EQL layer parameters.
2072
2088
  * @request POST:/eql/setParams
2073
2089
  * @response `200` OK
@@ -2081,9 +2097,9 @@ let EqlTestService = /*#__PURE__*/function (_Service) {
2081
2097
  /**
2082
2098
  * No description
2083
2099
  *
2084
- * @tags EqlTest
2100
+ * @tags Eql
2085
2101
  * @name GetLayerParameters
2086
- * @operationId EqlTestController_GetLayerParameters
2102
+ * @operationId EqlController_GetLayerParameters
2087
2103
  * @summary Get EQL parameter.
2088
2104
  * @request GET:/eql/getParam
2089
2105
  * @response `200` OK
@@ -2097,9 +2113,9 @@ let EqlTestService = /*#__PURE__*/function (_Service) {
2097
2113
  /**
2098
2114
  * No description
2099
2115
  *
2100
- * @tags EqlTest
2116
+ * @tags Eql
2101
2117
  * @name GetLayerParameters1
2102
- * @operationId EqlTestController_GetLayerParameters_1
2118
+ * @operationId EqlController_GetLayerParameters_1
2103
2119
  * @summary Get all EQL parameters.
2104
2120
  * @request GET:/eql/getParams
2105
2121
  * @response `200` OK
@@ -2113,9 +2129,9 @@ let EqlTestService = /*#__PURE__*/function (_Service) {
2113
2129
  /**
2114
2130
  * No description
2115
2131
  *
2116
- * @tags EqlTest
2132
+ * @tags Eql
2117
2133
  * @name RemoveLayerParameterValue
2118
- * @operationId EqlTestController_RemoveLayerParameterValue
2134
+ * @operationId EqlController_RemoveLayerParameterValue
2119
2135
  * @summary Remove EQL layer parameter.
2120
2136
  * @request DELETE:/eql/removeParam
2121
2137
  * @response `200` OK
@@ -2128,22 +2144,22 @@ let EqlTestService = /*#__PURE__*/function (_Service) {
2128
2144
  }
2129
2145
  }]);
2130
2146
 
2131
- return EqlTestService;
2147
+ return EqlService;
2132
2148
  }(Service);
2133
2149
 
2134
- let EqlTest = /*#__PURE__*/function (_EqlTestService) {
2135
- _inherits(EqlTest, _EqlTestService);
2150
+ let Eql = /*#__PURE__*/function (_EqlService) {
2151
+ _inherits(Eql, _EqlService);
2136
2152
 
2137
- var _super = /*#__PURE__*/_createSuper(EqlTest);
2153
+ var _super = /*#__PURE__*/_createSuper(Eql);
2138
2154
 
2139
- function EqlTest() {
2140
- _classCallCheck(this, EqlTest);
2155
+ function Eql() {
2156
+ _classCallCheck(this, Eql);
2141
2157
 
2142
2158
  return _super.apply(this, arguments);
2143
2159
  }
2144
2160
 
2145
- return _createClass(EqlTest);
2146
- }(EqlTestService);
2161
+ return _createClass(Eql);
2162
+ }(EqlService);
2147
2163
 
2148
2164
  /**
2149
2165
  * @title Spatial Processing Core API
@@ -3199,22 +3215,6 @@ let LayersService = /*#__PURE__*/function (_Service) {
3199
3215
  function getBulkFeatures(data) {
3200
3216
  return this.http.post("/bulk/layers/features/query", data).json();
3201
3217
  }
3202
- /**
3203
- * No description
3204
- *
3205
- * @tags Layers
3206
- * @name GetFeaturesFromLayers
3207
- * @operationId LayersController_GetFeaturesFromLayers
3208
- * @summary Returns list of the layer features.
3209
- * @request POST:/layers/features/query
3210
- * @response `200` OK
3211
- */
3212
-
3213
- }, {
3214
- key: "getFeaturesFromLayers",
3215
- value: function getFeaturesFromLayers(data) {
3216
- return this.http.post("/layers/features/query", data).json();
3217
- }
3218
3218
  /**
3219
3219
  * No description
3220
3220
  *
@@ -6880,6 +6880,22 @@ let TablesService = /*#__PURE__*/function (_Service) {
6880
6880
  value: function deleteResources(query) {
6881
6881
  return this.http.delete("/tables", null, query).json();
6882
6882
  }
6883
+ /**
6884
+ * No description
6885
+ *
6886
+ * @tags Tables
6887
+ * @name CreateViewFromQueryLayer
6888
+ * @operationId TablesController_CreateViewFromQueryLayer
6889
+ * @summary Creates a new view from query layer.
6890
+ * @request POST:/tables/fromLayer
6891
+ * @response `200` OK
6892
+ */
6893
+
6894
+ }, {
6895
+ key: "createViewFromQueryLayer",
6896
+ value: function createViewFromQueryLayer(data) {
6897
+ return this.http.post("/tables/fromLayer", data).json();
6898
+ }
6883
6899
  /**
6884
6900
  * No description
6885
6901
  *
@@ -7506,7 +7522,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
7506
7522
  _this.vectorTiles = new VectorTiles(_this.http);
7507
7523
  _this.universalSearch = new UniversalSearchService(_this.http);
7508
7524
  _this.spatialReference = new SpatialReferencesService(_this.http);
7509
- _this.eqlTest = new EqlTest(_this.http);
7525
+ _this.eql = new Eql(_this.http);
7510
7526
  _this.catalog = new CatalogService(_this.http);
7511
7527
  _this.queryToken = new QueryTokenAccessService(_this.http);
7512
7528
  _this.names = new Names({
@@ -8849,5 +8865,5 @@ var TextVerticalAlignment;
8849
8865
  TextVerticalAlignment["Middle"] = "middle";
8850
8866
  })(TextVerticalAlignment || (TextVerticalAlignment = {}));
8851
8867
 
8852
- export { Account, AccountPreview, AggregationFunction, Api, ApiEvent, AttributeSelectorType, AttributeType, BulkOperations, Cameras, CatalogResourceType, ClassificationType, ClassifyAttributeType, ClientSettings, ConfigurationErrorEnum, ConnectionStatus, DependencyType, EqlTest, ErrorDetailsType, ErrorReason, ErrorType, EvergisDynamicLayer, EvergisTileLayer, External, FeatureType, Feedback, FileUpload, Filters, FontStyle, FontWeight, GEOCODE_PROVIDER, General, Geocode, GeometryType, Group, HttpClient, IceRouter, Import, Layers, LayersManager, LineCapStyle, LineEndingType, LineJoinType, Names, Namespace, Notification, NotificationEvent, Operation, OwnerFilter, PbfSchema, Permissions, PolicyType, PortalSettings, Print, Projects, Quality, ResourceCatalog, ResourceSeparator, ResourceType, ResourceTypeLink, Resources, Scheduler, Security, ServerTaskStatus, SimplifyType, SpatialProcessor, Statistic, StringSubType, Styles, Tables, TaskGroup, TextAlignment, TextVerticalAlignment, Tools, UrlPath, VectorTiles, addSubDomainToLocation, errorHandler, formDataFromFile, generateId, isEvergisDynamicLayer, isEvergisTileLayer, isFeatureLayer, isHTTPError, isHandledError, isLayer, isProjectContentItems, isString, isTileLayerService, promiseAllIgnoreErrors, stripUselessSlashes, toFormData, unique };
8868
+ export { Account, AccountPreview, AggregationFunction, Api, ApiEvent, AttributeSelectorType, AttributeType, BulkOperations, Cameras, CatalogResourceType, ClassificationType, ClassifyAttributeType, ClientSettings, ConfigurationErrorEnum, ConnectionStatus, DependencyType, Eql, ErrorDetailsType, ErrorReason, ErrorType, EvergisDynamicLayer, EvergisTileLayer, External, FeatureType, Feedback, FileUpload, Filters, FontStyle, FontWeight, GEOCODE_PROVIDER, General, Geocode, GeometryType, Group, HttpClient, IceRouter, Import, Layers, LayersManager, LineCapStyle, LineEndingType, LineJoinType, Names, Namespace, Notification, NotificationEvent, Operation, OwnerFilter, PbfSchema, Permissions, PolicyType, PortalSettings, Print, Projects, Quality, ResourceCatalog, ResourceSeparator, ResourceType, ResourceTypeLink, Resources, Scheduler, Security, ServerTaskStatus, SimplifyType, SpatialProcessor, Statistic, StringSubType, Styles, Tables, TaskGroup, TextAlignment, TextVerticalAlignment, Tools, UrlPath, VectorTiles, addSubDomainToLocation, errorHandler, formDataFromFile, generateId, isEvergisDynamicLayer, isEvergisTileLayer, isFeatureLayer, isHTTPError, isHandledError, isLayer, isProjectContentItems, isString, isTileLayerService, promiseAllIgnoreErrors, stripUselessSlashes, toFormData, unique };
8853
8869
  //# sourceMappingURL=api.esm.js.map