oro-sdk-apis 8.0.0 → 8.1.1
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/dist/oro-sdk-apis.cjs.development.js +210 -206
- package/dist/oro-sdk-apis.cjs.development.js.map +1 -1
- package/dist/oro-sdk-apis.cjs.production.min.js +1 -1
- package/dist/oro-sdk-apis.cjs.production.min.js.map +1 -1
- package/dist/oro-sdk-apis.esm.js +210 -206
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/oro-sdk-apis.esm.js
CHANGED
@@ -15,304 +15,304 @@ function hashToBase64String(value) {
|
|
15
15
|
|
16
16
|
function _regeneratorRuntime() {
|
17
17
|
_regeneratorRuntime = function () {
|
18
|
-
return
|
19
|
-
};
|
20
|
-
var
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
18
|
+
return e;
|
19
|
+
};
|
20
|
+
var t,
|
21
|
+
e = {},
|
22
|
+
r = Object.prototype,
|
23
|
+
n = r.hasOwnProperty,
|
24
|
+
o = Object.defineProperty || function (t, e, r) {
|
25
|
+
t[e] = r.value;
|
25
26
|
},
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
function define(
|
31
|
-
return Object.defineProperty(
|
32
|
-
value:
|
27
|
+
i = "function" == typeof Symbol ? Symbol : {},
|
28
|
+
a = i.iterator || "@@iterator",
|
29
|
+
c = i.asyncIterator || "@@asyncIterator",
|
30
|
+
u = i.toStringTag || "@@toStringTag";
|
31
|
+
function define(t, e, r) {
|
32
|
+
return Object.defineProperty(t, e, {
|
33
|
+
value: r,
|
33
34
|
enumerable: !0,
|
34
35
|
configurable: !0,
|
35
36
|
writable: !0
|
36
|
-
}),
|
37
|
+
}), t[e];
|
37
38
|
}
|
38
39
|
try {
|
39
40
|
define({}, "");
|
40
|
-
} catch (
|
41
|
-
define = function (
|
42
|
-
return
|
41
|
+
} catch (t) {
|
42
|
+
define = function (t, e, r) {
|
43
|
+
return t[e] = r;
|
43
44
|
};
|
44
45
|
}
|
45
|
-
function wrap(
|
46
|
-
var
|
47
|
-
|
48
|
-
|
49
|
-
return
|
50
|
-
value: makeInvokeMethod(
|
51
|
-
}),
|
46
|
+
function wrap(t, e, r, n) {
|
47
|
+
var i = e && e.prototype instanceof Generator ? e : Generator,
|
48
|
+
a = Object.create(i.prototype),
|
49
|
+
c = new Context(n || []);
|
50
|
+
return o(a, "_invoke", {
|
51
|
+
value: makeInvokeMethod(t, r, c)
|
52
|
+
}), a;
|
52
53
|
}
|
53
|
-
function tryCatch(
|
54
|
+
function tryCatch(t, e, r) {
|
54
55
|
try {
|
55
56
|
return {
|
56
57
|
type: "normal",
|
57
|
-
arg:
|
58
|
+
arg: t.call(e, r)
|
58
59
|
};
|
59
|
-
} catch (
|
60
|
+
} catch (t) {
|
60
61
|
return {
|
61
62
|
type: "throw",
|
62
|
-
arg:
|
63
|
+
arg: t
|
63
64
|
};
|
64
65
|
}
|
65
66
|
}
|
66
|
-
|
67
|
-
var
|
67
|
+
e.wrap = wrap;
|
68
|
+
var h = "suspendedStart",
|
69
|
+
l = "suspendedYield",
|
70
|
+
f = "executing",
|
71
|
+
s = "completed",
|
72
|
+
y = {};
|
68
73
|
function Generator() {}
|
69
74
|
function GeneratorFunction() {}
|
70
75
|
function GeneratorFunctionPrototype() {}
|
71
|
-
var
|
72
|
-
define(
|
76
|
+
var p = {};
|
77
|
+
define(p, a, function () {
|
73
78
|
return this;
|
74
79
|
});
|
75
|
-
var
|
76
|
-
|
77
|
-
|
78
|
-
var
|
79
|
-
function defineIteratorMethods(
|
80
|
-
["next", "throw", "return"].forEach(function (
|
81
|
-
define(
|
82
|
-
return this._invoke(
|
80
|
+
var d = Object.getPrototypeOf,
|
81
|
+
v = d && d(d(values([])));
|
82
|
+
v && v !== r && n.call(v, a) && (p = v);
|
83
|
+
var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
|
84
|
+
function defineIteratorMethods(t) {
|
85
|
+
["next", "throw", "return"].forEach(function (e) {
|
86
|
+
define(t, e, function (t) {
|
87
|
+
return this._invoke(e, t);
|
83
88
|
});
|
84
89
|
});
|
85
90
|
}
|
86
|
-
function AsyncIterator(
|
87
|
-
function invoke(
|
88
|
-
var
|
89
|
-
if ("throw" !==
|
90
|
-
var
|
91
|
-
|
92
|
-
return
|
93
|
-
invoke("next",
|
94
|
-
}, function (
|
95
|
-
invoke("throw",
|
96
|
-
}) :
|
97
|
-
|
98
|
-
}, function (
|
99
|
-
return invoke("throw",
|
91
|
+
function AsyncIterator(t, e) {
|
92
|
+
function invoke(r, o, i, a) {
|
93
|
+
var c = tryCatch(t[r], t, o);
|
94
|
+
if ("throw" !== c.type) {
|
95
|
+
var u = c.arg,
|
96
|
+
h = u.value;
|
97
|
+
return h && "object" == typeof h && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
|
98
|
+
invoke("next", t, i, a);
|
99
|
+
}, function (t) {
|
100
|
+
invoke("throw", t, i, a);
|
101
|
+
}) : e.resolve(h).then(function (t) {
|
102
|
+
u.value = t, i(u);
|
103
|
+
}, function (t) {
|
104
|
+
return invoke("throw", t, i, a);
|
100
105
|
});
|
101
106
|
}
|
102
|
-
|
107
|
+
a(c.arg);
|
103
108
|
}
|
104
|
-
var
|
105
|
-
|
106
|
-
value: function (
|
109
|
+
var r;
|
110
|
+
o(this, "_invoke", {
|
111
|
+
value: function (t, n) {
|
107
112
|
function callInvokeWithMethodAndArg() {
|
108
|
-
return new
|
109
|
-
invoke(
|
113
|
+
return new e(function (e, r) {
|
114
|
+
invoke(t, n, e, r);
|
110
115
|
});
|
111
116
|
}
|
112
|
-
return
|
117
|
+
return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
113
118
|
}
|
114
119
|
});
|
115
120
|
}
|
116
|
-
function makeInvokeMethod(
|
117
|
-
var
|
118
|
-
return function (
|
119
|
-
if (
|
120
|
-
if (
|
121
|
-
if ("throw" ===
|
122
|
-
return
|
121
|
+
function makeInvokeMethod(e, r, n) {
|
122
|
+
var o = h;
|
123
|
+
return function (i, a) {
|
124
|
+
if (o === f) throw new Error("Generator is already running");
|
125
|
+
if (o === s) {
|
126
|
+
if ("throw" === i) throw a;
|
127
|
+
return {
|
128
|
+
value: t,
|
129
|
+
done: !0
|
130
|
+
};
|
123
131
|
}
|
124
|
-
for (
|
125
|
-
var
|
126
|
-
if (
|
127
|
-
var
|
128
|
-
if (
|
129
|
-
if (
|
130
|
-
return
|
132
|
+
for (n.method = i, n.arg = a;;) {
|
133
|
+
var c = n.delegate;
|
134
|
+
if (c) {
|
135
|
+
var u = maybeInvokeDelegate(c, n);
|
136
|
+
if (u) {
|
137
|
+
if (u === y) continue;
|
138
|
+
return u;
|
131
139
|
}
|
132
140
|
}
|
133
|
-
if ("next" ===
|
134
|
-
if (
|
135
|
-
|
136
|
-
} else "return" ===
|
137
|
-
|
138
|
-
var
|
139
|
-
if ("normal" ===
|
140
|
-
if (
|
141
|
+
if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
|
142
|
+
if (o === h) throw o = s, n.arg;
|
143
|
+
n.dispatchException(n.arg);
|
144
|
+
} else "return" === n.method && n.abrupt("return", n.arg);
|
145
|
+
o = f;
|
146
|
+
var p = tryCatch(e, r, n);
|
147
|
+
if ("normal" === p.type) {
|
148
|
+
if (o = n.done ? s : l, p.arg === y) continue;
|
141
149
|
return {
|
142
|
-
value:
|
143
|
-
done:
|
150
|
+
value: p.arg,
|
151
|
+
done: n.done
|
144
152
|
};
|
145
153
|
}
|
146
|
-
"throw" ===
|
154
|
+
"throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
|
147
155
|
}
|
148
156
|
};
|
149
157
|
}
|
150
|
-
function maybeInvokeDelegate(
|
151
|
-
var
|
152
|
-
|
153
|
-
if (
|
154
|
-
var
|
155
|
-
if ("throw" ===
|
156
|
-
var
|
157
|
-
return
|
158
|
-
}
|
159
|
-
function pushTryEntry(
|
160
|
-
var
|
161
|
-
tryLoc:
|
158
|
+
function maybeInvokeDelegate(e, r) {
|
159
|
+
var n = r.method,
|
160
|
+
o = e.iterator[n];
|
161
|
+
if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
|
162
|
+
var i = tryCatch(o, e.iterator, r.arg);
|
163
|
+
if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
|
164
|
+
var a = i.arg;
|
165
|
+
return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
|
166
|
+
}
|
167
|
+
function pushTryEntry(t) {
|
168
|
+
var e = {
|
169
|
+
tryLoc: t[0]
|
162
170
|
};
|
163
|
-
1 in
|
171
|
+
1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
|
164
172
|
}
|
165
|
-
function resetTryEntry(
|
166
|
-
var
|
167
|
-
|
173
|
+
function resetTryEntry(t) {
|
174
|
+
var e = t.completion || {};
|
175
|
+
e.type = "normal", delete e.arg, t.completion = e;
|
168
176
|
}
|
169
|
-
function Context(
|
177
|
+
function Context(t) {
|
170
178
|
this.tryEntries = [{
|
171
179
|
tryLoc: "root"
|
172
|
-
}],
|
173
|
-
}
|
174
|
-
function values(
|
175
|
-
if (
|
176
|
-
var
|
177
|
-
if (
|
178
|
-
if ("function" == typeof
|
179
|
-
if (!isNaN(
|
180
|
-
var
|
181
|
-
|
182
|
-
for (; ++
|
183
|
-
return next.value =
|
180
|
+
}], t.forEach(pushTryEntry, this), this.reset(!0);
|
181
|
+
}
|
182
|
+
function values(e) {
|
183
|
+
if (e || "" === e) {
|
184
|
+
var r = e[a];
|
185
|
+
if (r) return r.call(e);
|
186
|
+
if ("function" == typeof e.next) return e;
|
187
|
+
if (!isNaN(e.length)) {
|
188
|
+
var o = -1,
|
189
|
+
i = function next() {
|
190
|
+
for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
|
191
|
+
return next.value = t, next.done = !0, next;
|
184
192
|
};
|
185
|
-
return
|
193
|
+
return i.next = i;
|
186
194
|
}
|
187
195
|
}
|
188
|
-
|
189
|
-
next: doneResult
|
190
|
-
};
|
196
|
+
throw new TypeError(typeof e + " is not iterable");
|
191
197
|
}
|
192
|
-
|
193
|
-
return {
|
194
|
-
value: undefined,
|
195
|
-
done: !0
|
196
|
-
};
|
197
|
-
}
|
198
|
-
return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
|
198
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
|
199
199
|
value: GeneratorFunctionPrototype,
|
200
200
|
configurable: !0
|
201
|
-
}),
|
201
|
+
}), o(GeneratorFunctionPrototype, "constructor", {
|
202
202
|
value: GeneratorFunction,
|
203
203
|
configurable: !0
|
204
|
-
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype,
|
205
|
-
var
|
206
|
-
return !!
|
207
|
-
},
|
208
|
-
return Object.setPrototypeOf ? Object.setPrototypeOf(
|
209
|
-
},
|
204
|
+
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
|
205
|
+
var e = "function" == typeof t && t.constructor;
|
206
|
+
return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
|
207
|
+
}, e.mark = function (t) {
|
208
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
|
209
|
+
}, e.awrap = function (t) {
|
210
210
|
return {
|
211
|
-
__await:
|
211
|
+
__await: t
|
212
212
|
};
|
213
|
-
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype,
|
213
|
+
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
|
214
214
|
return this;
|
215
|
-
}),
|
216
|
-
void 0 ===
|
217
|
-
var
|
218
|
-
return
|
219
|
-
return
|
215
|
+
}), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
|
216
|
+
void 0 === i && (i = Promise);
|
217
|
+
var a = new AsyncIterator(wrap(t, r, n, o), i);
|
218
|
+
return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
|
219
|
+
return t.done ? t.value : a.next();
|
220
220
|
});
|
221
|
-
}, defineIteratorMethods(
|
221
|
+
}, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
|
222
222
|
return this;
|
223
|
-
}), define(
|
223
|
+
}), define(g, "toString", function () {
|
224
224
|
return "[object Generator]";
|
225
|
-
}),
|
226
|
-
var
|
227
|
-
|
228
|
-
for (var
|
229
|
-
return
|
230
|
-
for (;
|
231
|
-
var
|
232
|
-
if (
|
225
|
+
}), e.keys = function (t) {
|
226
|
+
var e = Object(t),
|
227
|
+
r = [];
|
228
|
+
for (var n in e) r.push(n);
|
229
|
+
return r.reverse(), function next() {
|
230
|
+
for (; r.length;) {
|
231
|
+
var t = r.pop();
|
232
|
+
if (t in e) return next.value = t, next.done = !1, next;
|
233
233
|
}
|
234
234
|
return next.done = !0, next;
|
235
235
|
};
|
236
|
-
},
|
236
|
+
}, e.values = values, Context.prototype = {
|
237
237
|
constructor: Context,
|
238
|
-
reset: function (
|
239
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent =
|
238
|
+
reset: function (e) {
|
239
|
+
if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
|
240
240
|
},
|
241
241
|
stop: function () {
|
242
242
|
this.done = !0;
|
243
|
-
var
|
244
|
-
if ("throw" ===
|
243
|
+
var t = this.tryEntries[0].completion;
|
244
|
+
if ("throw" === t.type) throw t.arg;
|
245
245
|
return this.rval;
|
246
246
|
},
|
247
|
-
dispatchException: function (
|
248
|
-
if (this.done) throw
|
249
|
-
var
|
250
|
-
function handle(
|
251
|
-
return
|
247
|
+
dispatchException: function (e) {
|
248
|
+
if (this.done) throw e;
|
249
|
+
var r = this;
|
250
|
+
function handle(n, o) {
|
251
|
+
return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
|
252
252
|
}
|
253
|
-
for (var
|
254
|
-
var
|
255
|
-
|
256
|
-
if ("root" ===
|
257
|
-
if (
|
258
|
-
var
|
259
|
-
|
260
|
-
if (
|
261
|
-
if (this.prev <
|
262
|
-
if (this.prev <
|
263
|
-
} else if (
|
264
|
-
if (this.prev <
|
253
|
+
for (var o = this.tryEntries.length - 1; o >= 0; --o) {
|
254
|
+
var i = this.tryEntries[o],
|
255
|
+
a = i.completion;
|
256
|
+
if ("root" === i.tryLoc) return handle("end");
|
257
|
+
if (i.tryLoc <= this.prev) {
|
258
|
+
var c = n.call(i, "catchLoc"),
|
259
|
+
u = n.call(i, "finallyLoc");
|
260
|
+
if (c && u) {
|
261
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
262
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
263
|
+
} else if (c) {
|
264
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
265
265
|
} else {
|
266
|
-
if (!
|
267
|
-
if (this.prev <
|
266
|
+
if (!u) throw new Error("try statement without catch or finally");
|
267
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
268
268
|
}
|
269
269
|
}
|
270
270
|
}
|
271
271
|
},
|
272
|
-
abrupt: function (
|
273
|
-
for (var
|
274
|
-
var
|
275
|
-
if (
|
276
|
-
var
|
272
|
+
abrupt: function (t, e) {
|
273
|
+
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
274
|
+
var o = this.tryEntries[r];
|
275
|
+
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
|
276
|
+
var i = o;
|
277
277
|
break;
|
278
278
|
}
|
279
279
|
}
|
280
|
-
|
281
|
-
var
|
282
|
-
return
|
280
|
+
i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
|
281
|
+
var a = i ? i.completion : {};
|
282
|
+
return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
|
283
283
|
},
|
284
|
-
complete: function (
|
285
|
-
if ("throw" ===
|
286
|
-
return "break" ===
|
284
|
+
complete: function (t, e) {
|
285
|
+
if ("throw" === t.type) throw t.arg;
|
286
|
+
return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
|
287
287
|
},
|
288
|
-
finish: function (
|
289
|
-
for (var
|
290
|
-
var
|
291
|
-
if (
|
288
|
+
finish: function (t) {
|
289
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
290
|
+
var r = this.tryEntries[e];
|
291
|
+
if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
|
292
292
|
}
|
293
293
|
},
|
294
|
-
catch: function (
|
295
|
-
for (var
|
296
|
-
var
|
297
|
-
if (
|
298
|
-
var
|
299
|
-
if ("throw" ===
|
300
|
-
var
|
301
|
-
resetTryEntry(
|
294
|
+
catch: function (t) {
|
295
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
296
|
+
var r = this.tryEntries[e];
|
297
|
+
if (r.tryLoc === t) {
|
298
|
+
var n = r.completion;
|
299
|
+
if ("throw" === n.type) {
|
300
|
+
var o = n.arg;
|
301
|
+
resetTryEntry(r);
|
302
302
|
}
|
303
|
-
return
|
303
|
+
return o;
|
304
304
|
}
|
305
305
|
}
|
306
306
|
throw new Error("illegal catch attempt");
|
307
307
|
},
|
308
|
-
delegateYield: function (
|
308
|
+
delegateYield: function (e, r, n) {
|
309
309
|
return this.delegate = {
|
310
|
-
iterator: values(
|
311
|
-
resultName:
|
312
|
-
nextLoc:
|
313
|
-
}, "next" === this.method && (this.arg =
|
310
|
+
iterator: values(e),
|
311
|
+
resultName: r,
|
312
|
+
nextLoc: n
|
313
|
+
}, "next" === this.method && (this.arg = t), y;
|
314
314
|
}
|
315
|
-
},
|
315
|
+
}, e;
|
316
316
|
}
|
317
317
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
318
318
|
try {
|
@@ -403,7 +403,11 @@ function _construct(Parent, args, Class) {
|
|
403
403
|
return _construct.apply(null, arguments);
|
404
404
|
}
|
405
405
|
function _isNativeFunction(fn) {
|
406
|
-
|
406
|
+
try {
|
407
|
+
return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
408
|
+
} catch (e) {
|
409
|
+
return typeof fn === "function";
|
410
|
+
}
|
407
411
|
}
|
408
412
|
function _wrapNativeSuper(Class) {
|
409
413
|
var _cache = typeof Map === "function" ? new Map() : undefined;
|