@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.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,40 @@ 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
+ }
574
+ /**
575
+ * No description
576
+ *
577
+ * @tags Catalog
578
+ * @name GetTags
579
+ * @operationId CatalogController_GetTags
580
+ * @summary Get all tags of given user.
581
+ * @request GET:/resources/tags
582
+ * @response `200` OK
583
+ */
584
+
585
+ }, {
586
+ key: "getTags",
587
+ value: function getTags(query) {
588
+ return this.http.get("/resources/tags", query).json();
589
+ }
590
+ /**
591
+ * No description
592
+ *
593
+ * @tags Catalog
594
+ * @name PutTags
595
+ * @operationId CatalogController_PutTags
596
+ * @summary Put tags to resource.
597
+ * @request PUT:/resources/{resourceId}/tags
598
+ * @response `200` OK
599
+ */
600
+
601
+ }, {
602
+ key: "putTags",
603
+ value: function putTags(resourceId, data) {
604
+ return this.http.put("/resources/" + resourceId + "/tags", data).json();
573
605
  }
574
606
  /**
575
607
  * No description
@@ -603,6 +635,22 @@ let CatalogService = /*#__PURE__*/function (_Service) {
603
635
  value: function getResource(resourceId) {
604
636
  return this.http.get("/resources/" + resourceId).json();
605
637
  }
638
+ /**
639
+ * No description
640
+ *
641
+ * @tags Catalog
642
+ * @name PatchResource
643
+ * @operationId CatalogController_PatchResource
644
+ * @summary Update directory.
645
+ * @request PATCH:/resources/{resourceId}
646
+ * @response `200` OK
647
+ */
648
+
649
+ }, {
650
+ key: "patchResource",
651
+ value: function patchResource(resourceId, data) {
652
+ return this.http.patch("/resources/" + resourceId, data).json();
653
+ }
606
654
  /**
607
655
  * No description
608
656
  *
@@ -731,6 +779,22 @@ let CatalogService = /*#__PURE__*/function (_Service) {
731
779
  value: function downloadFile(resourceId) {
732
780
  return this.http.get("/resources/" + resourceId + "/download").blob();
733
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
+ }
734
798
  }]);
735
799
 
736
800
  return CatalogService;
@@ -1955,26 +2019,26 @@ let ClientSettings = /*#__PURE__*/function (_ClientSettingsServic) {
1955
2019
  * @baseUrl /sp
1956
2020
  */
1957
2021
 
1958
- let EqlTestService = /*#__PURE__*/function (_Service) {
1959
- _inherits(EqlTestService, _Service);
2022
+ let EqlService = /*#__PURE__*/function (_Service) {
2023
+ _inherits(EqlService, _Service);
1960
2024
 
1961
- var _super = /*#__PURE__*/_createSuper(EqlTestService);
2025
+ var _super = /*#__PURE__*/_createSuper(EqlService);
1962
2026
 
1963
- function EqlTestService() {
1964
- _classCallCheck(this, EqlTestService);
2027
+ function EqlService() {
2028
+ _classCallCheck(this, EqlService);
1965
2029
 
1966
2030
  return _super.apply(this, arguments);
1967
2031
  }
1968
2032
 
1969
- _createClass(EqlTestService, [{
2033
+ _createClass(EqlService, [{
1970
2034
  key: "getQueryResult",
1971
2035
  value:
1972
2036
  /**
1973
2037
  * No description
1974
2038
  *
1975
- * @tags EqlTest
2039
+ * @tags Eql
1976
2040
  * @name GetQueryResult
1977
- * @operationId EqlTestController_GetQueryResult
2041
+ * @operationId EqlController_GetQueryResult
1978
2042
  * @summary Perform resources set acl access batch operation.
1979
2043
  * @request POST:/eql/query
1980
2044
  * @response `200` OK
@@ -1985,9 +2049,9 @@ let EqlTestService = /*#__PURE__*/function (_Service) {
1985
2049
  /**
1986
2050
  * No description
1987
2051
  *
1988
- * @tags EqlTest
2052
+ * @tags Eql
1989
2053
  * @name GetQueryDescription
1990
- * @operationId EqlTestController_GetQueryDescription
2054
+ * @operationId EqlController_GetQueryDescription
1991
2055
  * @summary Get EQL result columns definitions.
1992
2056
  * @request POST:/eql/description
1993
2057
  * @response `200` OK
@@ -2001,9 +2065,9 @@ let EqlTestService = /*#__PURE__*/function (_Service) {
2001
2065
  /**
2002
2066
  * No description
2003
2067
  *
2004
- * @tags EqlTest
2068
+ * @tags Eql
2005
2069
  * @name SetLayerParameterValue
2006
- * @operationId EqlTestController_SetLayerParameterValue
2070
+ * @operationId EqlController_SetLayerParameterValue
2007
2071
  * @summary Set EQL layer parameter.
2008
2072
  * @request POST:/eql/setParam
2009
2073
  * @response `200` OK
@@ -2017,9 +2081,9 @@ let EqlTestService = /*#__PURE__*/function (_Service) {
2017
2081
  /**
2018
2082
  * No description
2019
2083
  *
2020
- * @tags EqlTest
2084
+ * @tags Eql
2021
2085
  * @name SetLayerParameters
2022
- * @operationId EqlTestController_SetLayerParameters
2086
+ * @operationId EqlController_SetLayerParameters
2023
2087
  * @summary Set EQL layer parameters.
2024
2088
  * @request POST:/eql/setParams
2025
2089
  * @response `200` OK
@@ -2033,9 +2097,9 @@ let EqlTestService = /*#__PURE__*/function (_Service) {
2033
2097
  /**
2034
2098
  * No description
2035
2099
  *
2036
- * @tags EqlTest
2100
+ * @tags Eql
2037
2101
  * @name GetLayerParameters
2038
- * @operationId EqlTestController_GetLayerParameters
2102
+ * @operationId EqlController_GetLayerParameters
2039
2103
  * @summary Get EQL parameter.
2040
2104
  * @request GET:/eql/getParam
2041
2105
  * @response `200` OK
@@ -2049,9 +2113,9 @@ let EqlTestService = /*#__PURE__*/function (_Service) {
2049
2113
  /**
2050
2114
  * No description
2051
2115
  *
2052
- * @tags EqlTest
2116
+ * @tags Eql
2053
2117
  * @name GetLayerParameters1
2054
- * @operationId EqlTestController_GetLayerParameters_1
2118
+ * @operationId EqlController_GetLayerParameters_1
2055
2119
  * @summary Get all EQL parameters.
2056
2120
  * @request GET:/eql/getParams
2057
2121
  * @response `200` OK
@@ -2065,9 +2129,9 @@ let EqlTestService = /*#__PURE__*/function (_Service) {
2065
2129
  /**
2066
2130
  * No description
2067
2131
  *
2068
- * @tags EqlTest
2132
+ * @tags Eql
2069
2133
  * @name RemoveLayerParameterValue
2070
- * @operationId EqlTestController_RemoveLayerParameterValue
2134
+ * @operationId EqlController_RemoveLayerParameterValue
2071
2135
  * @summary Remove EQL layer parameter.
2072
2136
  * @request DELETE:/eql/removeParam
2073
2137
  * @response `200` OK
@@ -2080,22 +2144,22 @@ let EqlTestService = /*#__PURE__*/function (_Service) {
2080
2144
  }
2081
2145
  }]);
2082
2146
 
2083
- return EqlTestService;
2147
+ return EqlService;
2084
2148
  }(Service);
2085
2149
 
2086
- let EqlTest = /*#__PURE__*/function (_EqlTestService) {
2087
- _inherits(EqlTest, _EqlTestService);
2150
+ let Eql = /*#__PURE__*/function (_EqlService) {
2151
+ _inherits(Eql, _EqlService);
2088
2152
 
2089
- var _super = /*#__PURE__*/_createSuper(EqlTest);
2153
+ var _super = /*#__PURE__*/_createSuper(Eql);
2090
2154
 
2091
- function EqlTest() {
2092
- _classCallCheck(this, EqlTest);
2155
+ function Eql() {
2156
+ _classCallCheck(this, Eql);
2093
2157
 
2094
2158
  return _super.apply(this, arguments);
2095
2159
  }
2096
2160
 
2097
- return _createClass(EqlTest);
2098
- }(EqlTestService);
2161
+ return _createClass(Eql);
2162
+ }(EqlService);
2099
2163
 
2100
2164
  /**
2101
2165
  * @title Spatial Processing Core API
@@ -3136,8 +3200,21 @@ let LayersService = /*#__PURE__*/function (_Service) {
3136
3200
  }
3137
3201
 
3138
3202
  _createClass(LayersService, [{
3139
- key: "getLayersList",
3203
+ key: "getBulkFeatures",
3140
3204
  value:
3205
+ /**
3206
+ * No description
3207
+ *
3208
+ * @tags Layers
3209
+ * @name GetBulkFeatures
3210
+ * @operationId LayersController_GetBulkFeatures
3211
+ * @summary Returns list of the layer features.
3212
+ * @request POST:/bulk/layers/features/query
3213
+ * @response `200` OK
3214
+ */
3215
+ function getBulkFeatures(data) {
3216
+ return this.http.post("/bulk/layers/features/query", data).json();
3217
+ }
3141
3218
  /**
3142
3219
  * No description
3143
3220
  *
@@ -3148,7 +3225,10 @@ let LayersService = /*#__PURE__*/function (_Service) {
3148
3225
  * @request GET:/layers
3149
3226
  * @response `200` OK
3150
3227
  */
3151
- function getLayersList(query) {
3228
+
3229
+ }, {
3230
+ key: "getLayersList",
3231
+ value: function getLayersList(query) {
3152
3232
  return this.http.get("/layers", query).json();
3153
3233
  }
3154
3234
  /**
@@ -6800,6 +6880,22 @@ let TablesService = /*#__PURE__*/function (_Service) {
6800
6880
  value: function deleteResources(query) {
6801
6881
  return this.http.delete("/tables", null, query).json();
6802
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
+ }
6803
6899
  /**
6804
6900
  * No description
6805
6901
  *
@@ -7426,7 +7522,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
7426
7522
  _this.vectorTiles = new VectorTiles(_this.http);
7427
7523
  _this.universalSearch = new UniversalSearchService(_this.http);
7428
7524
  _this.spatialReference = new SpatialReferencesService(_this.http);
7429
- _this.eqlTest = new EqlTest(_this.http);
7525
+ _this.eql = new Eql(_this.http);
7430
7526
  _this.catalog = new CatalogService(_this.http);
7431
7527
  _this.queryToken = new QueryTokenAccessService(_this.http);
7432
7528
  _this.names = new Names({
@@ -8607,33 +8703,6 @@ var Quality;
8607
8703
  /**
8608
8704
  *
8609
8705
 
8610
- OneToMany
8611
-
8612
- OneToOne
8613
-
8614
- Intersect
8615
-
8616
- RightJoin
8617
-
8618
- FullJoin
8619
-
8620
- CrossJoin
8621
- */
8622
-
8623
-
8624
- var ReferenceJoinType;
8625
-
8626
- (function (ReferenceJoinType) {
8627
- ReferenceJoinType["OneToMany"] = "OneToMany";
8628
- ReferenceJoinType["OneToOne"] = "OneToOne";
8629
- ReferenceJoinType["Intersect"] = "Intersect";
8630
- ReferenceJoinType["RightJoin"] = "RightJoin";
8631
- ReferenceJoinType["FullJoin"] = "FullJoin";
8632
- ReferenceJoinType["CrossJoin"] = "CrossJoin";
8633
- })(ReferenceJoinType || (ReferenceJoinType = {}));
8634
- /**
8635
- *
8636
-
8637
8706
  Unknown
8638
8707
 
8639
8708
  table
@@ -8796,5 +8865,5 @@ var TextVerticalAlignment;
8796
8865
  TextVerticalAlignment["Middle"] = "middle";
8797
8866
  })(TextVerticalAlignment || (TextVerticalAlignment = {}));
8798
8867
 
8799
- 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, ReferenceJoinType, 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 };
8800
8869
  //# sourceMappingURL=api.esm.js.map