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