@evergis/api 3.0.198 → 3.0.199

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 () {
@@ -1171,7 +1163,7 @@ let AccountService = /*#__PURE__*/function (_Service) {
1171
1163
  }, {
1172
1164
  key: "authenticate",
1173
1165
  value: function authenticate(query, data) {
1174
- return this.http.post("/account/login", data, query).text();
1166
+ return this.http.post("/account/login", data, query).json();
1175
1167
  }
1176
1168
  /**
1177
1169
  * No description
@@ -1186,8 +1178,8 @@ let AccountService = /*#__PURE__*/function (_Service) {
1186
1178
 
1187
1179
  }, {
1188
1180
  key: "refreshToken",
1189
- value: function refreshToken() {
1190
- return this.http.post("/account/refresh-token", null).text();
1181
+ value: function refreshToken(data) {
1182
+ return this.http.post("/account/refresh-token", data).text();
1191
1183
  }
1192
1184
  /**
1193
1185
  * No description
@@ -1219,7 +1211,7 @@ let AccountService = /*#__PURE__*/function (_Service) {
1219
1211
  }, {
1220
1212
  key: "ldapLogin",
1221
1213
  value: function ldapLogin(data) {
1222
- return this.http.post("/account/external/login/ldap", data).then(() => {});
1214
+ return this.http.post("/account/external/login/ldap", data).json();
1223
1215
  }
1224
1216
  /**
1225
1217
  * No description
@@ -5053,8 +5045,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
5053
5045
  || event.code === 4002
5054
5046
  /* InvalidSession */
5055
5047
  ) {
5056
- _this.connectStatus = exports.ConnectionStatus.SessionClosed;
5057
- } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
5048
+ _this.connectStatus = exports.ConnectionStatus.SessionClosed;
5049
+ } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
5058
5050
  _this.connectStatus = exports.ConnectionStatus.Break;
5059
5051
  _this.reconnectTries++;
5060
5052
 
@@ -5886,12 +5878,12 @@ let Resources = /*#__PURE__*/function () {
5886
5878
  }, {
5887
5879
  key: "getDependentNames",
5888
5880
  value: function getDependentNames(deps, depType) {
5889
- return deps.filter(_ref => {
5881
+ return deps.filter((_ref) => {
5890
5882
  let {
5891
5883
  type
5892
5884
  } = _ref;
5893
5885
  return type === depType;
5894
- }).map(_ref2 => {
5886
+ }).map((_ref2) => {
5895
5887
  let {
5896
5888
  name
5897
5889
  } = _ref2;
@@ -6347,7 +6339,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
6347
6339
  const taskProgress = await this.getTaskProgress(id);
6348
6340
  this.resolveTaskStatus(taskProgress, resolve, reject);
6349
6341
 
6350
- const taskResultCallback = async _ref => {
6342
+ const taskResultCallback = async (_ref) => {
6351
6343
  let {
6352
6344
  data
6353
6345
  } = _ref;
@@ -8276,11 +8268,11 @@ function isFeatureLayer(layer) {
8276
8268
  Operation["SymDifference"] = "symDifference";
8277
8269
  })(exports.Operation || (exports.Operation = {}));
8278
8270
 
8279
- (function (OwnerFilterDc) {
8280
- OwnerFilterDc["My"] = "My";
8281
- OwnerFilterDc["Shared"] = "Shared";
8282
- OwnerFilterDc["Public"] = "Public";
8283
- })(exports.OwnerFilterDc || (exports.OwnerFilterDc = {}));
8271
+ (function (OwnerFilter) {
8272
+ OwnerFilter["My"] = "My";
8273
+ OwnerFilter["Shared"] = "Shared";
8274
+ OwnerFilter["Public"] = "Public";
8275
+ })(exports.OwnerFilter || (exports.OwnerFilter = {}));
8284
8276
 
8285
8277
  (function (PbfSchema) {
8286
8278
  PbfSchema["XYZ"] = "xyz";