@evergis/api 3.0.176 → 3.0.178

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.
@@ -36,9 +36,6 @@ function _defineProperties(target, props) {
36
36
  function _createClass(Constructor, protoProps, staticProps) {
37
37
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
38
38
  if (staticProps) _defineProperties(Constructor, staticProps);
39
- Object.defineProperty(Constructor, "prototype", {
40
- writable: false
41
- });
42
39
  return Constructor;
43
40
  }
44
41
 
@@ -72,9 +69,6 @@ function _inherits(subClass, superClass) {
72
69
  configurable: true
73
70
  }
74
71
  });
75
- Object.defineProperty(subClass, "prototype", {
76
- writable: false
77
- });
78
72
  if (superClass) _setPrototypeOf(subClass, superClass);
79
73
  }
80
74
 
@@ -133,8 +127,6 @@ function _assertThisInitialized(self) {
133
127
  function _possibleConstructorReturn(self, call) {
134
128
  if (call && (typeof call === "object" || typeof call === "function")) {
135
129
  return call;
136
- } else if (call !== void 0) {
137
- throw new TypeError("Derived constructors may only return object or undefined");
138
130
  }
139
131
 
140
132
  return _assertThisInitialized(self);
@@ -168,7 +160,7 @@ function _superPropBase(object, property) {
168
160
  return object;
169
161
  }
170
162
 
171
- function _get() {
163
+ function _get(target, property, receiver) {
172
164
  if (typeof Reflect !== "undefined" && Reflect.get) {
173
165
  _get = Reflect.get;
174
166
  } else {
@@ -179,14 +171,14 @@ function _get() {
179
171
  var desc = Object.getOwnPropertyDescriptor(base, property);
180
172
 
181
173
  if (desc.get) {
182
- return desc.get.call(arguments.length < 3 ? target : receiver);
174
+ return desc.get.call(receiver);
183
175
  }
184
176
 
185
177
  return desc.value;
186
178
  };
187
179
  }
188
180
 
189
- return _get.apply(this, arguments);
181
+ return _get(target, property, receiver || target);
190
182
  }
191
183
 
192
184
  let HttpClient = /*#__PURE__*/function () {
@@ -3981,7 +3973,8 @@ function notError(v) {
3981
3973
  return !isError(v);
3982
3974
  }
3983
3975
 
3984
- const _excluded$5 = ["remote"];
3976
+ const _excluded$5 = ["remote"],
3977
+ _excluded2$3 = ["remote"];
3985
3978
  let Layers = /*#__PURE__*/function (_LayersService) {
3986
3979
  _inherits(Layers, _LayersService);
3987
3980
 
@@ -4029,6 +4022,20 @@ let Layers = /*#__PURE__*/function (_LayersService) {
4029
4022
 
4030
4023
  return this.publishLocalTileService(configuration);
4031
4024
  }
4025
+ }, {
4026
+ key: "updateTileLayer",
4027
+ value: function updateTileLayer(_ref2) {
4028
+ let {
4029
+ remote
4030
+ } = _ref2,
4031
+ configuration = _objectWithoutPropertiesLoose(_ref2, _excluded2$3);
4032
+
4033
+ if (remote) {
4034
+ return this.updateRemoteTileService(configuration.name, configuration);
4035
+ }
4036
+
4037
+ return this.updateLocalTileService(configuration.name, configuration);
4038
+ }
4032
4039
  }, {
4033
4040
  key: "uploadPreview",
4034
4041
  value: function uploadPreview(name, file) {
@@ -4066,6 +4073,16 @@ let Layers = /*#__PURE__*/function (_LayersService) {
4066
4073
  value: function updateQueryLayer(configuration) {
4067
4074
  return this.updateQueryLayerService(configuration.name, configuration);
4068
4075
  }
4076
+ }, {
4077
+ key: "createProxyLayer",
4078
+ value: function createProxyLayer(configuration) {
4079
+ return this.publishProxyService(configuration);
4080
+ }
4081
+ }, {
4082
+ key: "updateProxyLayer",
4083
+ value: function updateProxyLayer(configuration) {
4084
+ return this.updateProxyService(configuration.name, configuration);
4085
+ }
4069
4086
  }, {
4070
4087
  key: "remove",
4071
4088
  value: async function remove(name) {
@@ -4518,8 +4535,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
4518
4535
  || event.code === 4002
4519
4536
  /* InvalidSession */
4520
4537
  ) {
4521
- _this.connectStatus = exports.ConnectionStatus.SessionClosed;
4522
- } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
4538
+ _this.connectStatus = exports.ConnectionStatus.SessionClosed;
4539
+ } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
4523
4540
  _this.connectStatus = exports.ConnectionStatus.Break;
4524
4541
  _this.reconnectTries++;
4525
4542
 
@@ -5351,12 +5368,12 @@ let Resources = /*#__PURE__*/function () {
5351
5368
  }, {
5352
5369
  key: "getDependentNames",
5353
5370
  value: function getDependentNames(deps, depType) {
5354
- return deps.filter(_ref => {
5371
+ return deps.filter((_ref) => {
5355
5372
  let {
5356
5373
  type
5357
5374
  } = _ref;
5358
5375
  return type === depType;
5359
- }).map(_ref2 => {
5376
+ }).map((_ref2) => {
5360
5377
  let {
5361
5378
  name
5362
5379
  } = _ref2;
@@ -5812,7 +5829,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
5812
5829
  const taskProgress = await this.getTaskProgress(id);
5813
5830
  this.resolveTaskStatus(taskProgress, resolve, reject);
5814
5831
 
5815
- const taskResultCallback = async _ref => {
5832
+ const taskResultCallback = async (_ref) => {
5816
5833
  let {
5817
5834
  data
5818
5835
  } = _ref;
@@ -6236,7 +6253,7 @@ let Styles = /*#__PURE__*/function (_StyleService) {
6236
6253
  }(StyleService);
6237
6254
 
6238
6255
  const _excluded$6 = ["name"],
6239
- _excluded2$3 = ["name"],
6256
+ _excluded2$4 = ["name"],
6240
6257
  _excluded3$3 = ["name"],
6241
6258
  _excluded4$2 = ["name"];
6242
6259
  /**
@@ -6454,7 +6471,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
6454
6471
  let {
6455
6472
  name
6456
6473
  } = _ref2,
6457
- query = _objectWithoutPropertiesLoose(_ref2, _excluded2$3);
6474
+ query = _objectWithoutPropertiesLoose(_ref2, _excluded2$4);
6458
6475
 
6459
6476
  return this.http.patch("/tables/" + name + "/data", data, query).then(() => {});
6460
6477
  }