@evergis/api 3.0.93 → 3.0.94

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.
@@ -35,9 +35,6 @@ function _defineProperties(target, props) {
35
35
  function _createClass(Constructor, protoProps, staticProps) {
36
36
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
37
37
  if (staticProps) _defineProperties(Constructor, staticProps);
38
- Object.defineProperty(Constructor, "prototype", {
39
- writable: false
40
- });
41
38
  return Constructor;
42
39
  }
43
40
 
@@ -71,9 +68,6 @@ function _inherits(subClass, superClass) {
71
68
  configurable: true
72
69
  }
73
70
  });
74
- Object.defineProperty(subClass, "prototype", {
75
- writable: false
76
- });
77
71
  if (superClass) _setPrototypeOf(subClass, superClass);
78
72
  }
79
73
 
@@ -132,8 +126,6 @@ function _assertThisInitialized(self) {
132
126
  function _possibleConstructorReturn(self, call) {
133
127
  if (call && (typeof call === "object" || typeof call === "function")) {
134
128
  return call;
135
- } else if (call !== void 0) {
136
- throw new TypeError("Derived constructors may only return object or undefined");
137
129
  }
138
130
 
139
131
  return _assertThisInitialized(self);
@@ -167,7 +159,7 @@ function _superPropBase(object, property) {
167
159
  return object;
168
160
  }
169
161
 
170
- function _get() {
162
+ function _get(target, property, receiver) {
171
163
  if (typeof Reflect !== "undefined" && Reflect.get) {
172
164
  _get = Reflect.get;
173
165
  } else {
@@ -178,14 +170,14 @@ function _get() {
178
170
  var desc = Object.getOwnPropertyDescriptor(base, property);
179
171
 
180
172
  if (desc.get) {
181
- return desc.get.call(arguments.length < 3 ? target : receiver);
173
+ return desc.get.call(receiver);
182
174
  }
183
175
 
184
176
  return desc.value;
185
177
  };
186
178
  }
187
179
 
188
- return _get.apply(this, arguments);
180
+ return _get(target, property, receiver || target);
189
181
  }
190
182
 
191
183
  let HttpClient = /*#__PURE__*/function () {
@@ -861,8 +853,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
861
853
  || event.code === 4002
862
854
  /* InvalidSession */
863
855
  ) {
864
- _this.connectStatus = exports.ConnectionStatus.SessionClosed;
865
- } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
856
+ _this.connectStatus = exports.ConnectionStatus.SessionClosed;
857
+ } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
866
858
  _this.connectStatus = exports.ConnectionStatus.Break;
867
859
  _this.reconnectTries++;
868
860
 
@@ -1368,7 +1360,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
1368
1360
  const taskProgress = await this.getTaskProgress(id);
1369
1361
  this.resolveTaskStatus(taskProgress, resolve, reject);
1370
1362
 
1371
- const taskResultCallback = async _ref => {
1363
+ const taskResultCallback = async (_ref) => {
1372
1364
  let {
1373
1365
  data
1374
1366
  } = _ref;
@@ -1563,6 +1555,24 @@ let LayersService = /*#__PURE__*/function (_Service) {
1563
1555
  type: 'RouteService'
1564
1556
  }).then(() => {});
1565
1557
  }
1558
+ /**
1559
+ * No description
1560
+ *
1561
+ * @tags Layers
1562
+ * @name PublishLinearService
1563
+ * @operationId LayersController_PublishLinearService
1564
+ * @summary Creates new Linear Service.
1565
+ * @request POST:/layers#type=LinearService
1566
+ * @response `200` Success
1567
+ */
1568
+
1569
+ }, {
1570
+ key: "publishLinearService",
1571
+ value: function publishLinearService(data) {
1572
+ return this.http.post("/layers", data, {
1573
+ type: 'LinearService'
1574
+ }).then(() => {});
1575
+ }
1566
1576
  /**
1567
1577
  * No description
1568
1578
  *
@@ -3480,12 +3490,12 @@ let Resources = /*#__PURE__*/function () {
3480
3490
  }, {
3481
3491
  key: "getDependentNames",
3482
3492
  value: function getDependentNames(deps, depType) {
3483
- return deps.filter(_ref => {
3493
+ return deps.filter((_ref) => {
3484
3494
  let {
3485
3495
  type
3486
3496
  } = _ref;
3487
3497
  return type === depType;
3488
- }).map(_ref2 => {
3498
+ }).map((_ref2) => {
3489
3499
  let {
3490
3500
  name
3491
3501
  } = _ref2;
@@ -6359,6 +6369,7 @@ function isFeatureLayer(layer) {
6359
6369
  AggregationFunction["Sum"] = "Sum";
6360
6370
  AggregationFunction["Extent"] = "Extent";
6361
6371
  AggregationFunction["Count"] = "Count";
6372
+ AggregationFunction["TotalCount"] = "TotalCount";
6362
6373
  AggregationFunction["DistinctCount"] = "DistinctCount";
6363
6374
  AggregationFunction["First"] = "First";
6364
6375
  AggregationFunction["Last"] = "Last";