@evergis/api 3.0.177 → 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.
- package/LICENSE +20 -20
- package/README.md +21 -21
- package/dist/__generated__/data-contracts.d.ts +180 -180
- 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 +187 -195
- 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 () {
|
|
@@ -4543,8 +4535,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
|
|
|
4543
4535
|
|| event.code === 4002
|
|
4544
4536
|
/* InvalidSession */
|
|
4545
4537
|
) {
|
|
4546
|
-
|
|
4547
|
-
|
|
4538
|
+
_this.connectStatus = exports.ConnectionStatus.SessionClosed;
|
|
4539
|
+
} else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
|
|
4548
4540
|
_this.connectStatus = exports.ConnectionStatus.Break;
|
|
4549
4541
|
_this.reconnectTries++;
|
|
4550
4542
|
|
|
@@ -5376,12 +5368,12 @@ let Resources = /*#__PURE__*/function () {
|
|
|
5376
5368
|
}, {
|
|
5377
5369
|
key: "getDependentNames",
|
|
5378
5370
|
value: function getDependentNames(deps, depType) {
|
|
5379
|
-
return deps.filter(_ref => {
|
|
5371
|
+
return deps.filter((_ref) => {
|
|
5380
5372
|
let {
|
|
5381
5373
|
type
|
|
5382
5374
|
} = _ref;
|
|
5383
5375
|
return type === depType;
|
|
5384
|
-
}).map(_ref2 => {
|
|
5376
|
+
}).map((_ref2) => {
|
|
5385
5377
|
let {
|
|
5386
5378
|
name
|
|
5387
5379
|
} = _ref2;
|
|
@@ -5837,7 +5829,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
|
|
|
5837
5829
|
const taskProgress = await this.getTaskProgress(id);
|
|
5838
5830
|
this.resolveTaskStatus(taskProgress, resolve, reject);
|
|
5839
5831
|
|
|
5840
|
-
const taskResultCallback = async _ref => {
|
|
5832
|
+
const taskResultCallback = async (_ref) => {
|
|
5841
5833
|
let {
|
|
5842
5834
|
data
|
|
5843
5835
|
} = _ref;
|