@evergis/api 3.0.140 → 3.0.141
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 +158 -158
- package/dist/api.cjs.development.js +16 -8
- 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 +174 -166
- package/dist/api.esm.js.map +1 -1
- package/package.json +2 -2
|
@@ -35,6 +35,9 @@ function _defineProperties(target, props) {
|
|
|
35
35
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
36
36
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
37
37
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
38
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
39
|
+
writable: false
|
|
40
|
+
});
|
|
38
41
|
return Constructor;
|
|
39
42
|
}
|
|
40
43
|
|
|
@@ -68,6 +71,9 @@ function _inherits(subClass, superClass) {
|
|
|
68
71
|
configurable: true
|
|
69
72
|
}
|
|
70
73
|
});
|
|
74
|
+
Object.defineProperty(subClass, "prototype", {
|
|
75
|
+
writable: false
|
|
76
|
+
});
|
|
71
77
|
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
72
78
|
}
|
|
73
79
|
|
|
@@ -126,6 +132,8 @@ function _assertThisInitialized(self) {
|
|
|
126
132
|
function _possibleConstructorReturn(self, call) {
|
|
127
133
|
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
128
134
|
return call;
|
|
135
|
+
} else if (call !== void 0) {
|
|
136
|
+
throw new TypeError("Derived constructors may only return object or undefined");
|
|
129
137
|
}
|
|
130
138
|
|
|
131
139
|
return _assertThisInitialized(self);
|
|
@@ -159,7 +167,7 @@ function _superPropBase(object, property) {
|
|
|
159
167
|
return object;
|
|
160
168
|
}
|
|
161
169
|
|
|
162
|
-
function _get(
|
|
170
|
+
function _get() {
|
|
163
171
|
if (typeof Reflect !== "undefined" && Reflect.get) {
|
|
164
172
|
_get = Reflect.get;
|
|
165
173
|
} else {
|
|
@@ -170,14 +178,14 @@ function _get(target, property, receiver) {
|
|
|
170
178
|
var desc = Object.getOwnPropertyDescriptor(base, property);
|
|
171
179
|
|
|
172
180
|
if (desc.get) {
|
|
173
|
-
return desc.get.call(receiver);
|
|
181
|
+
return desc.get.call(arguments.length < 3 ? target : receiver);
|
|
174
182
|
}
|
|
175
183
|
|
|
176
184
|
return desc.value;
|
|
177
185
|
};
|
|
178
186
|
}
|
|
179
187
|
|
|
180
|
-
return _get(
|
|
188
|
+
return _get.apply(this, arguments);
|
|
181
189
|
}
|
|
182
190
|
|
|
183
191
|
let HttpClient = /*#__PURE__*/function () {
|
|
@@ -1018,8 +1026,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
|
|
|
1018
1026
|
|| event.code === 4002
|
|
1019
1027
|
/* InvalidSession */
|
|
1020
1028
|
) {
|
|
1021
|
-
|
|
1022
|
-
|
|
1029
|
+
_this.connectStatus = exports.ConnectionStatus.SessionClosed;
|
|
1030
|
+
} else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
|
|
1023
1031
|
_this.connectStatus = exports.ConnectionStatus.Break;
|
|
1024
1032
|
_this.reconnectTries++;
|
|
1025
1033
|
|
|
@@ -1532,7 +1540,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
|
|
|
1532
1540
|
const taskProgress = await this.getTaskProgress(id);
|
|
1533
1541
|
this.resolveTaskStatus(taskProgress, resolve, reject);
|
|
1534
1542
|
|
|
1535
|
-
const taskResultCallback = async
|
|
1543
|
+
const taskResultCallback = async _ref => {
|
|
1536
1544
|
let {
|
|
1537
1545
|
data
|
|
1538
1546
|
} = _ref;
|
|
@@ -3753,12 +3761,12 @@ let Resources = /*#__PURE__*/function () {
|
|
|
3753
3761
|
}, {
|
|
3754
3762
|
key: "getDependentNames",
|
|
3755
3763
|
value: function getDependentNames(deps, depType) {
|
|
3756
|
-
return deps.filter(
|
|
3764
|
+
return deps.filter(_ref => {
|
|
3757
3765
|
let {
|
|
3758
3766
|
type
|
|
3759
3767
|
} = _ref;
|
|
3760
3768
|
return type === depType;
|
|
3761
|
-
}).map(
|
|
3769
|
+
}).map(_ref2 => {
|
|
3762
3770
|
let {
|
|
3763
3771
|
name
|
|
3764
3772
|
} = _ref2;
|