@evergis/api 3.0.190 → 3.0.191
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/LICENSE +20 -20
- package/README.md +21 -21
- package/dist/__generated__/data-contracts.d.ts +193 -193
- package/dist/api.cjs.development.js +8 -16
- 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 +199 -207
- package/dist/api.esm.js.map +1 -1
- package/package.json +2 -2
|
@@ -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(
|
|
174
|
+
return desc.get.call(receiver);
|
|
183
175
|
}
|
|
184
176
|
|
|
185
177
|
return desc.value;
|
|
186
178
|
};
|
|
187
179
|
}
|
|
188
180
|
|
|
189
|
-
return _get
|
|
181
|
+
return _get(target, property, receiver || target);
|
|
190
182
|
}
|
|
191
183
|
|
|
192
184
|
let HttpClient = /*#__PURE__*/function () {
|
|
@@ -4945,8 +4937,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
|
|
|
4945
4937
|
|| event.code === 4002
|
|
4946
4938
|
/* InvalidSession */
|
|
4947
4939
|
) {
|
|
4948
|
-
|
|
4949
|
-
|
|
4940
|
+
_this.connectStatus = exports.ConnectionStatus.SessionClosed;
|
|
4941
|
+
} else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
|
|
4950
4942
|
_this.connectStatus = exports.ConnectionStatus.Break;
|
|
4951
4943
|
_this.reconnectTries++;
|
|
4952
4944
|
|
|
@@ -5778,12 +5770,12 @@ let Resources = /*#__PURE__*/function () {
|
|
|
5778
5770
|
}, {
|
|
5779
5771
|
key: "getDependentNames",
|
|
5780
5772
|
value: function getDependentNames(deps, depType) {
|
|
5781
|
-
return deps.filter(_ref => {
|
|
5773
|
+
return deps.filter((_ref) => {
|
|
5782
5774
|
let {
|
|
5783
5775
|
type
|
|
5784
5776
|
} = _ref;
|
|
5785
5777
|
return type === depType;
|
|
5786
|
-
}).map(_ref2 => {
|
|
5778
|
+
}).map((_ref2) => {
|
|
5787
5779
|
let {
|
|
5788
5780
|
name
|
|
5789
5781
|
} = _ref2;
|
|
@@ -6239,7 +6231,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
|
|
|
6239
6231
|
const taskProgress = await this.getTaskProgress(id);
|
|
6240
6232
|
this.resolveTaskStatus(taskProgress, resolve, reject);
|
|
6241
6233
|
|
|
6242
|
-
const taskResultCallback = async _ref => {
|
|
6234
|
+
const taskResultCallback = async (_ref) => {
|
|
6243
6235
|
let {
|
|
6244
6236
|
data
|
|
6245
6237
|
} = _ref;
|