@evergis/api 3.0.75 → 3.0.78
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/__generated__/ProjectsService.d.ts +2 -2
- package/dist/__generated__/StatisticService.d.ts +14 -3
- package/dist/__generated__/TablesService.d.ts +2 -2
- package/dist/__generated__/WmsServerService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +103 -7
- package/dist/api.cjs.development.js +29 -5
- 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 +44 -6
- package/dist/api.esm.js.map +1 -1
- package/dist/services/Notification.d.ts +3 -1
- package/package.json +2 -2
package/dist/api.esm.js
CHANGED
|
@@ -839,12 +839,13 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
|
|
|
839
839
|
|
|
840
840
|
var _super = /*#__PURE__*/_createSuper(Notification);
|
|
841
841
|
|
|
842
|
-
function Notification(http) {
|
|
842
|
+
function Notification(http, api) {
|
|
843
843
|
var _this;
|
|
844
844
|
|
|
845
845
|
_classCallCheck(this, Notification);
|
|
846
846
|
|
|
847
847
|
_this = _super.call(this, http);
|
|
848
|
+
_this.api = api;
|
|
848
849
|
_this.MAX_WS_RECONNECT_TRIES = 10;
|
|
849
850
|
_this.reconnectTries = 0;
|
|
850
851
|
_this.subscriptions = [];
|
|
@@ -931,7 +932,7 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
|
|
|
931
932
|
value: async function subscribe(tag) {
|
|
932
933
|
this.subscriptions.push(tag);
|
|
933
934
|
setTimeout(() => {
|
|
934
|
-
if (this.subscriptions.length) {
|
|
935
|
+
if (!this.api.isShared && this.subscriptions.length) {
|
|
935
936
|
this.subscribeListOperation(this.subscriptions);
|
|
936
937
|
}
|
|
937
938
|
|
|
@@ -5549,14 +5550,30 @@ let StatisticService = /*#__PURE__*/function (_Service) {
|
|
|
5549
5550
|
* @name Classify
|
|
5550
5551
|
* @operationId StatisticController_Classify
|
|
5551
5552
|
* @summary Returns the classified attribute values that correspond to the given number of classes and given condition.
|
|
5552
|
-
* @request GET:/classify
|
|
5553
|
+
* @request GET:/statistics/classify
|
|
5553
5554
|
* @response `200` Success
|
|
5554
5555
|
*/
|
|
5555
5556
|
|
|
5556
5557
|
}, {
|
|
5557
5558
|
key: "classify",
|
|
5558
5559
|
value: function classify(query) {
|
|
5559
|
-
return this.http.get("/classify", query).json();
|
|
5560
|
+
return this.http.get("/statistics/classify", query).json();
|
|
5561
|
+
}
|
|
5562
|
+
/**
|
|
5563
|
+
* No description
|
|
5564
|
+
*
|
|
5565
|
+
* @tags Statistic
|
|
5566
|
+
* @name SumOfProduct
|
|
5567
|
+
* @operationId StatisticController_SumOfProduct
|
|
5568
|
+
* @summary Sum of product.
|
|
5569
|
+
* @request GET:/statistics/sumOfProduct
|
|
5570
|
+
* @response `200` Success
|
|
5571
|
+
*/
|
|
5572
|
+
|
|
5573
|
+
}, {
|
|
5574
|
+
key: "sumOfProduct",
|
|
5575
|
+
value: function sumOfProduct(query) {
|
|
5576
|
+
return this.http.get("/statistics/sumOfProduct", query).json();
|
|
5560
5577
|
}
|
|
5561
5578
|
}]);
|
|
5562
5579
|
|
|
@@ -5884,7 +5901,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
5884
5901
|
_this.accountPreview = new AccountPreview(_this.http, _this.account);
|
|
5885
5902
|
_this.bulk = new BulkOperations(_this.http);
|
|
5886
5903
|
_this.security = new Security(_this.http, _this.account);
|
|
5887
|
-
_this.notification = new Notification(_this.http);
|
|
5904
|
+
_this.notification = new Notification(_this.http, _assertThisInitialized(_this));
|
|
5888
5905
|
_this.scheduler = new Scheduler(_this.http);
|
|
5889
5906
|
_this.file = new FileUpload(_this.http);
|
|
5890
5907
|
_this.import = new Import(_this.http);
|
|
@@ -6441,6 +6458,8 @@ naturalBreaks
|
|
|
6441
6458
|
equalInterval
|
|
6442
6459
|
|
|
6443
6460
|
quantile
|
|
6461
|
+
|
|
6462
|
+
unique
|
|
6444
6463
|
*/
|
|
6445
6464
|
|
|
6446
6465
|
|
|
@@ -6451,6 +6470,7 @@ var ClassificationType;
|
|
|
6451
6470
|
ClassificationType["NaturalBreaks"] = "naturalBreaks";
|
|
6452
6471
|
ClassificationType["EqualInterval"] = "equalInterval";
|
|
6453
6472
|
ClassificationType["Quantile"] = "quantile";
|
|
6473
|
+
ClassificationType["Distinct"] = "unique";
|
|
6454
6474
|
})(ClassificationType || (ClassificationType = {}));
|
|
6455
6475
|
/**
|
|
6456
6476
|
* Type of attribute.
|
|
@@ -6458,6 +6478,8 @@ var ClassificationType;
|
|
|
6458
6478
|
decimal
|
|
6459
6479
|
|
|
6460
6480
|
dateTime
|
|
6481
|
+
|
|
6482
|
+
text
|
|
6461
6483
|
*/
|
|
6462
6484
|
|
|
6463
6485
|
|
|
@@ -6466,6 +6488,7 @@ var ClassifyAttributeType;
|
|
|
6466
6488
|
(function (ClassifyAttributeType) {
|
|
6467
6489
|
ClassifyAttributeType["Decimal"] = "decimal";
|
|
6468
6490
|
ClassifyAttributeType["DateTime"] = "dateTime";
|
|
6491
|
+
ClassifyAttributeType["Text"] = "text";
|
|
6469
6492
|
})(ClassifyAttributeType || (ClassifyAttributeType = {}));
|
|
6470
6493
|
/**
|
|
6471
6494
|
* Types of errors that can occur during layer initialize.
|
|
@@ -6796,6 +6819,21 @@ var ResourceTypeLink;
|
|
|
6796
6819
|
ResourceTypeLink["Project"] = "projects";
|
|
6797
6820
|
})(ResourceTypeLink || (ResourceTypeLink = {}));
|
|
6798
6821
|
/**
|
|
6822
|
+
* Save mode (create or update).
|
|
6823
|
+
|
|
6824
|
+
create
|
|
6825
|
+
|
|
6826
|
+
update
|
|
6827
|
+
*/
|
|
6828
|
+
|
|
6829
|
+
|
|
6830
|
+
var SaveMode;
|
|
6831
|
+
|
|
6832
|
+
(function (SaveMode) {
|
|
6833
|
+
SaveMode["Create"] = "create";
|
|
6834
|
+
SaveMode["Update"] = "update";
|
|
6835
|
+
})(SaveMode || (SaveMode = {}));
|
|
6836
|
+
/**
|
|
6799
6837
|
* Status of the server task.
|
|
6800
6838
|
|
|
6801
6839
|
None
|
|
@@ -6872,5 +6910,5 @@ var TextVerticalAlignment;
|
|
|
6872
6910
|
TextVerticalAlignment["Middle"] = "middle";
|
|
6873
6911
|
})(TextVerticalAlignment || (TextVerticalAlignment = {}));
|
|
6874
6912
|
|
|
6875
|
-
export { API_USER_INFO_KEY, Account, AccountPreview, AggregationFunction, Api, ApiEvent, AttributeType, BulkOperations, ClassificationType, ClassifyAttributeType, ClientSettings, ConfigurationErrorEnum, ConnectionStatus, DependencyType, ErrorDetailsType, ErrorReason, ErrorType, EvergisDynamicLayer, EvergisTileLayer, External, FeatureType, Feedback, FileUpload, FontStyle, FontWeight, GEOCODE_PROVIDER, General, Geocode, GeometryType, Group, HttpClient, IceRouter, Import, Layers, LayersManager, LineEndingSize, LineEndingType, Names, Namespace, Notification, NotificationEvent, Operation, Permissions, PolicyType, PortalSettings, Projects, ResourceCatalog, ResourceSeparator, ResourceType, ResourceTypeLink, Resources, Scheduler, Security, ServerTaskStatus, SpatialProcessor, Statistic, StringSubType, Styles, Tables, TextAlignment, TextVerticalAlignment, Tools, UrlPath, addSubDomainToLocation, errorHandler, formDataFromFile, generateId, isEvergisDynamicLayer, isEvergisTileLayer, isFeatureLayer, isHTTPError, isHandledError, isLayer, isProjectContentItems, isString, isTileLayerService, promiseAllIgnoreErrors, stripUselessSlashes, toFormData, unique };
|
|
6913
|
+
export { API_USER_INFO_KEY, Account, AccountPreview, AggregationFunction, Api, ApiEvent, AttributeType, BulkOperations, ClassificationType, ClassifyAttributeType, ClientSettings, ConfigurationErrorEnum, ConnectionStatus, DependencyType, ErrorDetailsType, ErrorReason, ErrorType, EvergisDynamicLayer, EvergisTileLayer, External, FeatureType, Feedback, FileUpload, FontStyle, FontWeight, GEOCODE_PROVIDER, General, Geocode, GeometryType, Group, HttpClient, IceRouter, Import, Layers, LayersManager, LineEndingSize, LineEndingType, Names, Namespace, Notification, NotificationEvent, Operation, Permissions, PolicyType, PortalSettings, Projects, ResourceCatalog, ResourceSeparator, ResourceType, ResourceTypeLink, Resources, SaveMode, Scheduler, Security, ServerTaskStatus, SpatialProcessor, Statistic, StringSubType, Styles, Tables, TextAlignment, TextVerticalAlignment, Tools, UrlPath, addSubDomainToLocation, errorHandler, formDataFromFile, generateId, isEvergisDynamicLayer, isEvergisTileLayer, isFeatureLayer, isHTTPError, isHandledError, isLayer, isProjectContentItems, isString, isTileLayerService, promiseAllIgnoreErrors, stripUselessSlashes, toFormData, unique };
|
|
6876
6914
|
//# sourceMappingURL=api.esm.js.map
|