@evergis/api 3.0.74 → 3.0.77
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__/FiltersService.d.ts +42 -0
- package/dist/__generated__/StatisticService.d.ts +13 -2
- package/dist/__generated__/TablesService.d.ts +2 -2
- package/dist/__generated__/WmsServerService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +44 -2
- package/dist/api.cjs.development.js +22 -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 +22 -5
- 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);
|