@evergis/api 3.0.170 → 3.0.171
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 +5 -3
|
@@ -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 () {
|
|
@@ -1368,8 +1360,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
|
|
|
1368
1360
|
|| event.code === 4002
|
|
1369
1361
|
/* InvalidSession */
|
|
1370
1362
|
) {
|
|
1371
|
-
|
|
1372
|
-
|
|
1363
|
+
_this.connectStatus = exports.ConnectionStatus.SessionClosed;
|
|
1364
|
+
} else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
|
|
1373
1365
|
_this.connectStatus = exports.ConnectionStatus.Break;
|
|
1374
1366
|
_this.reconnectTries++;
|
|
1375
1367
|
|
|
@@ -1936,7 +1928,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
|
|
|
1936
1928
|
const taskProgress = await this.getTaskProgress(id);
|
|
1937
1929
|
this.resolveTaskStatus(taskProgress, resolve, reject);
|
|
1938
1930
|
|
|
1939
|
-
const taskResultCallback = async _ref => {
|
|
1931
|
+
const taskResultCallback = async (_ref) => {
|
|
1940
1932
|
let {
|
|
1941
1933
|
data
|
|
1942
1934
|
} = _ref;
|
|
@@ -4268,12 +4260,12 @@ let Resources = /*#__PURE__*/function () {
|
|
|
4268
4260
|
}, {
|
|
4269
4261
|
key: "getDependentNames",
|
|
4270
4262
|
value: function getDependentNames(deps, depType) {
|
|
4271
|
-
return deps.filter(_ref => {
|
|
4263
|
+
return deps.filter((_ref) => {
|
|
4272
4264
|
let {
|
|
4273
4265
|
type
|
|
4274
4266
|
} = _ref;
|
|
4275
4267
|
return type === depType;
|
|
4276
|
-
}).map(_ref2 => {
|
|
4268
|
+
}).map((_ref2) => {
|
|
4277
4269
|
let {
|
|
4278
4270
|
name
|
|
4279
4271
|
} = _ref2;
|