oro-sdk-apis 7.5.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.
@@ -15,304 +15,304 @@ function hashToBase64String(value) {
15
15
 
16
16
  function _regeneratorRuntime() {
17
17
  _regeneratorRuntime = function () {
18
- return exports;
19
- };
20
- var exports = {},
21
- Op = Object.prototype,
22
- hasOwn = Op.hasOwnProperty,
23
- defineProperty = Object.defineProperty || function (obj, key, desc) {
24
- obj[key] = desc.value;
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
- $Symbol = "function" == typeof Symbol ? Symbol : {},
27
- iteratorSymbol = $Symbol.iterator || "@@iterator",
28
- asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
29
- toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
30
- function define(obj, key, value) {
31
- return Object.defineProperty(obj, key, {
32
- value: 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
- }), obj[key];
37
+ }), t[e];
37
38
  }
38
39
  try {
39
40
  define({}, "");
40
- } catch (err) {
41
- define = function (obj, key, value) {
42
- return obj[key] = value;
41
+ } catch (t) {
42
+ define = function (t, e, r) {
43
+ return t[e] = r;
43
44
  };
44
45
  }
45
- function wrap(innerFn, outerFn, self, tryLocsList) {
46
- var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
47
- generator = Object.create(protoGenerator.prototype),
48
- context = new Context(tryLocsList || []);
49
- return defineProperty(generator, "_invoke", {
50
- value: makeInvokeMethod(innerFn, self, context)
51
- }), generator;
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(fn, obj, arg) {
54
+ function tryCatch(t, e, r) {
54
55
  try {
55
56
  return {
56
57
  type: "normal",
57
- arg: fn.call(obj, arg)
58
+ arg: t.call(e, r)
58
59
  };
59
- } catch (err) {
60
+ } catch (t) {
60
61
  return {
61
62
  type: "throw",
62
- arg: err
63
+ arg: t
63
64
  };
64
65
  }
65
66
  }
66
- exports.wrap = wrap;
67
- var ContinueSentinel = {};
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 IteratorPrototype = {};
72
- define(IteratorPrototype, iteratorSymbol, function () {
76
+ var p = {};
77
+ define(p, a, function () {
73
78
  return this;
74
79
  });
75
- var getProto = Object.getPrototypeOf,
76
- NativeIteratorPrototype = getProto && getProto(getProto(values([])));
77
- NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
78
- var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
79
- function defineIteratorMethods(prototype) {
80
- ["next", "throw", "return"].forEach(function (method) {
81
- define(prototype, method, function (arg) {
82
- return this._invoke(method, arg);
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(generator, PromiseImpl) {
87
- function invoke(method, arg, resolve, reject) {
88
- var record = tryCatch(generator[method], generator, arg);
89
- if ("throw" !== record.type) {
90
- var result = record.arg,
91
- value = result.value;
92
- return value && "object" == typeof value && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
93
- invoke("next", value, resolve, reject);
94
- }, function (err) {
95
- invoke("throw", err, resolve, reject);
96
- }) : PromiseImpl.resolve(value).then(function (unwrapped) {
97
- result.value = unwrapped, resolve(result);
98
- }, function (error) {
99
- return invoke("throw", error, resolve, reject);
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
- reject(record.arg);
107
+ a(c.arg);
103
108
  }
104
- var previousPromise;
105
- defineProperty(this, "_invoke", {
106
- value: function (method, arg) {
109
+ var r;
110
+ o(this, "_invoke", {
111
+ value: function (t, n) {
107
112
  function callInvokeWithMethodAndArg() {
108
- return new PromiseImpl(function (resolve, reject) {
109
- invoke(method, arg, resolve, reject);
113
+ return new e(function (e, r) {
114
+ invoke(t, n, e, r);
110
115
  });
111
116
  }
112
- return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
117
+ return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
113
118
  }
114
119
  });
115
120
  }
116
- function makeInvokeMethod(innerFn, self, context) {
117
- var state = "suspendedStart";
118
- return function (method, arg) {
119
- if ("executing" === state) throw new Error("Generator is already running");
120
- if ("completed" === state) {
121
- if ("throw" === method) throw arg;
122
- return doneResult();
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 (context.method = method, context.arg = arg;;) {
125
- var delegate = context.delegate;
126
- if (delegate) {
127
- var delegateResult = maybeInvokeDelegate(delegate, context);
128
- if (delegateResult) {
129
- if (delegateResult === ContinueSentinel) continue;
130
- return delegateResult;
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" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
134
- if ("suspendedStart" === state) throw state = "completed", context.arg;
135
- context.dispatchException(context.arg);
136
- } else "return" === context.method && context.abrupt("return", context.arg);
137
- state = "executing";
138
- var record = tryCatch(innerFn, self, context);
139
- if ("normal" === record.type) {
140
- if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
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: record.arg,
143
- done: context.done
150
+ value: p.arg,
151
+ done: n.done
144
152
  };
145
153
  }
146
- "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
154
+ "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
147
155
  }
148
156
  };
149
157
  }
150
- function maybeInvokeDelegate(delegate, context) {
151
- var methodName = context.method,
152
- method = delegate.iterator[methodName];
153
- if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel;
154
- var record = tryCatch(method, delegate.iterator, context.arg);
155
- if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
156
- var info = record.arg;
157
- return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel);
158
- }
159
- function pushTryEntry(locs) {
160
- var entry = {
161
- tryLoc: locs[0]
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 locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
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(entry) {
166
- var record = entry.completion || {};
167
- record.type = "normal", delete record.arg, entry.completion = record;
173
+ function resetTryEntry(t) {
174
+ var e = t.completion || {};
175
+ e.type = "normal", delete e.arg, t.completion = e;
168
176
  }
169
- function Context(tryLocsList) {
177
+ function Context(t) {
170
178
  this.tryEntries = [{
171
179
  tryLoc: "root"
172
- }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
173
- }
174
- function values(iterable) {
175
- if (iterable) {
176
- var iteratorMethod = iterable[iteratorSymbol];
177
- if (iteratorMethod) return iteratorMethod.call(iterable);
178
- if ("function" == typeof iterable.next) return iterable;
179
- if (!isNaN(iterable.length)) {
180
- var i = -1,
181
- next = function next() {
182
- for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
183
- return next.value = undefined, next.done = !0, next;
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 next.next = next;
193
+ return i.next = i;
186
194
  }
187
195
  }
188
- return {
189
- next: doneResult
190
- };
196
+ throw new TypeError(typeof e + " is not iterable");
191
197
  }
192
- function doneResult() {
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
- }), defineProperty(GeneratorFunctionPrototype, "constructor", {
201
+ }), o(GeneratorFunctionPrototype, "constructor", {
202
202
  value: GeneratorFunction,
203
203
  configurable: !0
204
- }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
205
- var ctor = "function" == typeof genFun && genFun.constructor;
206
- return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
207
- }, exports.mark = function (genFun) {
208
- return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
209
- }, exports.awrap = function (arg) {
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: arg
211
+ __await: t
212
212
  };
213
- }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
213
+ }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
214
214
  return this;
215
- }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
216
- void 0 === PromiseImpl && (PromiseImpl = Promise);
217
- var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
218
- return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
219
- return result.done ? result.value : iter.next();
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(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
221
+ }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
222
222
  return this;
223
- }), define(Gp, "toString", function () {
223
+ }), define(g, "toString", function () {
224
224
  return "[object Generator]";
225
- }), exports.keys = function (val) {
226
- var object = Object(val),
227
- keys = [];
228
- for (var key in object) keys.push(key);
229
- return keys.reverse(), function next() {
230
- for (; keys.length;) {
231
- var key = keys.pop();
232
- if (key in object) return next.value = key, next.done = !1, next;
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
- }, exports.values = values, Context.prototype = {
236
+ }, e.values = values, Context.prototype = {
237
237
  constructor: Context,
238
- reset: function (skipTempReset) {
239
- if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
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 rootRecord = this.tryEntries[0].completion;
244
- if ("throw" === rootRecord.type) throw rootRecord.arg;
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 (exception) {
248
- if (this.done) throw exception;
249
- var context = this;
250
- function handle(loc, caught) {
251
- return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
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 i = this.tryEntries.length - 1; i >= 0; --i) {
254
- var entry = this.tryEntries[i],
255
- record = entry.completion;
256
- if ("root" === entry.tryLoc) return handle("end");
257
- if (entry.tryLoc <= this.prev) {
258
- var hasCatch = hasOwn.call(entry, "catchLoc"),
259
- hasFinally = hasOwn.call(entry, "finallyLoc");
260
- if (hasCatch && hasFinally) {
261
- if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
262
- if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
263
- } else if (hasCatch) {
264
- if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
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 (!hasFinally) throw new Error("try statement without catch or finally");
267
- if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
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 (type, arg) {
273
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
274
- var entry = this.tryEntries[i];
275
- if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
276
- var finallyEntry = entry;
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
- finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
281
- var record = finallyEntry ? finallyEntry.completion : {};
282
- return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
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 (record, afterLoc) {
285
- if ("throw" === record.type) throw record.arg;
286
- return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;
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 (finallyLoc) {
289
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
290
- var entry = this.tryEntries[i];
291
- if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
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 (tryLoc) {
295
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
296
- var entry = this.tryEntries[i];
297
- if (entry.tryLoc === tryLoc) {
298
- var record = entry.completion;
299
- if ("throw" === record.type) {
300
- var thrown = record.arg;
301
- resetTryEntry(entry);
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 thrown;
303
+ return o;
304
304
  }
305
305
  }
306
306
  throw new Error("illegal catch attempt");
307
307
  },
308
- delegateYield: function (iterable, resultName, nextLoc) {
308
+ delegateYield: function (e, r, n) {
309
309
  return this.delegate = {
310
- iterator: values(iterable),
311
- resultName: resultName,
312
- nextLoc: nextLoc
313
- }, "next" === this.method && (this.arg = undefined), ContinueSentinel;
310
+ iterator: values(e),
311
+ resultName: r,
312
+ nextLoc: n
313
+ }, "next" === this.method && (this.arg = t), y;
314
314
  }
315
- }, exports;
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
- return Function.toString.call(fn).indexOf("[native code]") !== -1;
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;
@@ -2437,6 +2441,14 @@ var TellerService = /*#__PURE__*/function () {
2437
2441
  */;
2438
2442
  _proto.sendResumeConsultEmail = function sendResumeConsultEmail(req) {
2439
2443
  return this.api.post(this.baseURL + "/v1/resume-consult-email", req);
2444
+ }
2445
+ /**
2446
+ * This function will send an email to patient to allow them to resume the transmission of their prescription.
2447
+ * @param req the body of the resume consult request
2448
+ * @returns void
2449
+ */;
2450
+ _proto.sendResumeTransmissionEmail = function sendResumeTransmissionEmail(req) {
2451
+ return this.api.post(this.baseURL + "/v1/resume-transmission-email", req);
2440
2452
  };
2441
2453
  return TellerService;
2442
2454
  }();
@@ -2448,18 +2460,18 @@ var VaultService = /*#__PURE__*/function () {
2448
2460
  }
2449
2461
  var _proto = VaultService.prototype;
2450
2462
  _proto.lockboxCreate = /*#__PURE__*/function () {
2451
- var _lockboxCreate = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(lockboxMetadata) {
2463
+ var _lockboxCreate = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
2452
2464
  return _regeneratorRuntime().wrap(function _callee$(_context) {
2453
2465
  while (1) switch (_context.prev = _context.next) {
2454
2466
  case 0:
2455
- return _context.abrupt("return", this.api.post(this.baseURL + "/v1/lockbox", lockboxMetadata));
2467
+ return _context.abrupt("return", this.api.post(this.baseURL + "/v1/lockboxes"));
2456
2468
  case 1:
2457
2469
  case "end":
2458
2470
  return _context.stop();
2459
2471
  }
2460
2472
  }, _callee, this);
2461
2473
  }));
2462
- function lockboxCreate(_x) {
2474
+ function lockboxCreate() {
2463
2475
  return _lockboxCreate.apply(this, arguments);
2464
2476
  }
2465
2477
  return lockboxCreate;
@@ -2480,7 +2492,7 @@ var VaultService = /*#__PURE__*/function () {
2480
2492
  }
2481
2493
  }, _callee2, this);
2482
2494
  }));
2483
- function lockboxMetadataAdd(_x2, _x3, _x4) {
2495
+ function lockboxMetadataAdd(_x, _x2, _x3) {
2484
2496
  return _lockboxMetadataAdd.apply(this, arguments);
2485
2497
  }
2486
2498
  return lockboxMetadataAdd;
@@ -2501,7 +2513,7 @@ var VaultService = /*#__PURE__*/function () {
2501
2513
  }
2502
2514
  }, _callee3, this);
2503
2515
  }));
2504
- function lockboxSecretGet(_x5, _x6) {
2516
+ function lockboxSecretGet(_x4, _x5) {
2505
2517
  return _lockboxSecretGet.apply(this, arguments);
2506
2518
  }
2507
2519
  return lockboxSecretGet;
@@ -2522,7 +2534,7 @@ var VaultService = /*#__PURE__*/function () {
2522
2534
  }
2523
2535
  }, _callee4, this);
2524
2536
  }));
2525
- function lockboxGrant(_x7, _x8, _x9) {
2537
+ function lockboxGrant(_x6, _x7, _x8) {
2526
2538
  return _lockboxGrant.apply(this, arguments);
2527
2539
  }
2528
2540
  return lockboxGrant;
@@ -2582,7 +2594,7 @@ var VaultService = /*#__PURE__*/function () {
2582
2594
  }
2583
2595
  }, _callee6, this);
2584
2596
  }));
2585
- function lockboxDataStore(_x10, _x11, _x12, _x13) {
2597
+ function lockboxDataStore(_x9, _x10, _x11, _x12) {
2586
2598
  return _lockboxDataStore.apply(this, arguments);
2587
2599
  }
2588
2600
  return lockboxDataStore;
@@ -2620,7 +2632,7 @@ var VaultService = /*#__PURE__*/function () {
2620
2632
  }
2621
2633
  }, _callee7, this);
2622
2634
  }));
2623
- function lockboxDataGet(_x14, _x15, _x16, _x17) {
2635
+ function lockboxDataGet(_x13, _x14, _x15, _x16) {
2624
2636
  return _lockboxDataGet.apply(this, arguments);
2625
2637
  }
2626
2638
  return lockboxDataGet;
@@ -2642,7 +2654,7 @@ var VaultService = /*#__PURE__*/function () {
2642
2654
  }
2643
2655
  }, _callee8, this);
2644
2656
  }));
2645
- function lockboxManifestGet(_x18, _x19, _x20) {
2657
+ function lockboxManifestGet(_x17, _x18, _x19) {
2646
2658
  return _lockboxManifestGet.apply(this, arguments);
2647
2659
  }
2648
2660
  return lockboxManifestGet;
@@ -2666,7 +2678,7 @@ var VaultService = /*#__PURE__*/function () {
2666
2678
  }
2667
2679
  }, _callee9, this);
2668
2680
  }));
2669
- function lockboxMetadataGet(_x21, _x22, _x23, _x24, _x25) {
2681
+ function lockboxMetadataGet(_x20, _x21, _x22, _x23, _x24) {
2670
2682
  return _lockboxMetadataGet.apply(this, arguments);
2671
2683
  }
2672
2684
  return lockboxMetadataGet;
@@ -2697,7 +2709,7 @@ var VaultService = /*#__PURE__*/function () {
2697
2709
  }
2698
2710
  }, _callee10, this);
2699
2711
  }));
2700
- function vaultIndexPut(_x26, _x27) {
2712
+ function vaultIndexPut(_x25, _x26) {
2701
2713
  return _vaultIndexPut.apply(this, arguments);
2702
2714
  }
2703
2715
  return vaultIndexPut;
@@ -2722,7 +2734,7 @@ var VaultService = /*#__PURE__*/function () {
2722
2734
  }
2723
2735
  }, _callee11, this);
2724
2736
  }));
2725
- function vaultIndexSnapshotPut(_x28) {
2737
+ function vaultIndexSnapshotPut(_x27) {
2726
2738
  return _vaultIndexSnapshotPut.apply(this, arguments);
2727
2739
  }
2728
2740
  return vaultIndexSnapshotPut;
@@ -2756,7 +2768,7 @@ var VaultService = /*#__PURE__*/function () {
2756
2768
  }
2757
2769
  }, _callee12, this);
2758
2770
  }));
2759
- function vaultIndexGet(_x29, _x30, _x31) {
2771
+ function vaultIndexGet(_x28, _x29, _x30) {
2760
2772
  return _vaultIndexGet.apply(this, arguments);
2761
2773
  }
2762
2774
  return vaultIndexGet;