@revolugo/booking-api-client 6.9.4-beta.35 → 6.9.4-beta.36

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/index.es.js CHANGED
@@ -5836,7 +5836,7 @@ function nn() {
5836
5836
  (function(n, i) {
5837
5837
  e.exports = i();
5838
5838
  })(tr, (function() {
5839
- var n = 1e3, i = 6e4, r = 36e5, l = "millisecond", s = "second", u = "minute", d = "hour", f = "day", D = "week", R = "month", S = "quarter", w = "year", v = "date", h = "Invalid Date", M = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, L = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, O = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(A) {
5839
+ var n = 1e3, i = 6e4, r = 36e5, l = "millisecond", s = "second", u = "minute", d = "hour", f = "day", D = "week", R = "month", S = "quarter", w = "year", v = "date", h = "Invalid Date", M = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, O = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, z = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(A) {
5840
5840
  var o = ["th", "st", "nd", "rd"], c = A % 100;
5841
5841
  return "[" + A + (o[(c - 20) % 10] || o[c] || o[0]) + "]";
5842
5842
  } }, B = function(A, o, c) {
@@ -5856,7 +5856,7 @@ function nn() {
5856
5856
  }, u: function(A) {
5857
5857
  return A === void 0;
5858
5858
  } }, N = "en", G = {};
5859
- G[N] = O;
5859
+ G[N] = z;
5860
5860
  var x = "$isDayjsObject", Y = function(A) {
5861
5861
  return A instanceof Z || !(!A || !A[x]);
5862
5862
  }, k = function A(o, c, m) {
@@ -5872,13 +5872,13 @@ function nn() {
5872
5872
  G[E] = o, g = E;
5873
5873
  }
5874
5874
  return !m && g && (N = g), g || !m && N;
5875
- }, z = function(A, o) {
5875
+ }, L = function(A, o) {
5876
5876
  if (Y(A)) return A.clone();
5877
5877
  var c = typeof o == "object" ? o : {};
5878
5878
  return c.date = A, c.args = arguments, new Z(c);
5879
5879
  }, P = F;
5880
5880
  P.l = k, P.i = Y, P.w = function(A, o) {
5881
- return z(A, { locale: o.$L, utc: o.$u, x: o.$x, $offset: o.$offset });
5881
+ return L(A, { locale: o.$L, utc: o.$u, x: o.$x, $offset: o.$offset });
5882
5882
  };
5883
5883
  var Z = (function() {
5884
5884
  function A(c) {
@@ -5908,12 +5908,12 @@ function nn() {
5908
5908
  }, o.isValid = function() {
5909
5909
  return this.$d.toString() !== h;
5910
5910
  }, o.isSame = function(c, m) {
5911
- var g = z(c);
5911
+ var g = L(c);
5912
5912
  return this.startOf(m) <= g && g <= this.endOf(m);
5913
5913
  }, o.isAfter = function(c, m) {
5914
- return z(c) < this.startOf(m);
5914
+ return L(c) < this.startOf(m);
5915
5915
  }, o.isBefore = function(c, m) {
5916
- return this.endOf(m) < z(c);
5916
+ return this.endOf(m) < L(c);
5917
5917
  }, o.$g = function(c, m, g) {
5918
5918
  return P.u(c) ? this[m] : this.set(g, c);
5919
5919
  }, o.unix = function() {
@@ -5964,7 +5964,7 @@ function nn() {
5964
5964
  var g, y = this;
5965
5965
  c = Number(c);
5966
5966
  var p = P.p(m), E = function(T) {
5967
- var $ = z(y);
5967
+ var $ = L(y);
5968
5968
  return P.w($.date($.date() + Math.round(T * c)), y);
5969
5969
  };
5970
5970
  if (p === R) return this.set(R, this.$M + c);
@@ -5986,7 +5986,7 @@ function nn() {
5986
5986
  var ye = W < 12 ? "AM" : "PM";
5987
5987
  return de ? ye.toLowerCase() : ye;
5988
5988
  };
5989
- return y.replace(L, (function(W, Q) {
5989
+ return y.replace(O, (function(W, Q) {
5990
5990
  return Q || (function(de) {
5991
5991
  switch (de) {
5992
5992
  case "YY":
@@ -6044,7 +6044,7 @@ function nn() {
6044
6044
  }, o.utcOffset = function() {
6045
6045
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
6046
6046
  }, o.diff = function(c, m, g) {
6047
- var y, p = this, E = P.p(m), I = z(c), H = (I.utcOffset() - this.utcOffset()) * i, T = this - I, $ = function() {
6047
+ var y, p = this, E = P.p(m), I = L(c), H = (I.utcOffset() - this.utcOffset()) * i, T = this - I, $ = function() {
6048
6048
  return P.m(p, I);
6049
6049
  };
6050
6050
  switch (E) {
@@ -6096,15 +6096,15 @@ function nn() {
6096
6096
  return this.$d.toUTCString();
6097
6097
  }, A;
6098
6098
  })(), fe = Z.prototype;
6099
- return z.prototype = fe, [["$ms", l], ["$s", s], ["$m", u], ["$H", d], ["$W", f], ["$M", R], ["$y", w], ["$D", v]].forEach((function(A) {
6099
+ return L.prototype = fe, [["$ms", l], ["$s", s], ["$m", u], ["$H", d], ["$W", f], ["$M", R], ["$y", w], ["$D", v]].forEach((function(A) {
6100
6100
  fe[A[1]] = function(o) {
6101
6101
  return this.$g(o, A[0], A[1]);
6102
6102
  };
6103
- })), z.extend = function(A, o) {
6104
- return A.$i || (A(o, Z, z), A.$i = !0), z;
6105
- }, z.locale = k, z.isDayjs = Y, z.unix = function(A) {
6106
- return z(1e3 * A);
6107
- }, z.en = G[N], z.Ls = G, z.p = {}, z;
6103
+ })), L.extend = function(A, o) {
6104
+ return A.$i || (A(o, Z, L), A.$i = !0), L;
6105
+ }, L.locale = k, L.isDayjs = Y, L.unix = function(A) {
6106
+ return L(1e3 * A);
6107
+ }, L.en = G[N], L.Ls = G, L.p = {}, L;
6108
6108
  }));
6109
6109
  })(Se)), Se.exports;
6110
6110
  }
@@ -6225,8 +6225,8 @@ function wr() {
6225
6225
  var f = this.$locale().formats, D = (function(R, S) {
6226
6226
  return R.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (function(w, v, h) {
6227
6227
  var M = h && h.toUpperCase();
6228
- return v || S[h] || n[h] || S[M].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(L, O, B) {
6229
- return O || B.slice(1);
6228
+ return v || S[h] || n[h] || S[M].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(O, z, B) {
6229
+ return z || B.slice(1);
6230
6230
  }));
6231
6231
  }));
6232
6232
  })(d, f === void 0 ? {} : f);
@@ -6280,19 +6280,19 @@ function Br() {
6280
6280
  return l.fromToBase(f, D, R, S);
6281
6281
  }
6282
6282
  r.en.relativeTime = s, l.fromToBase = function(f, D, R, S, w) {
6283
- for (var v, h, M, L = R.$locale().relativeTime || s, O = n.thresholds || [{ l: "s", r: 44, d: "second" }, { l: "m", r: 89 }, { l: "mm", r: 44, d: "minute" }, { l: "h", r: 89 }, { l: "hh", r: 21, d: "hour" }, { l: "d", r: 35 }, { l: "dd", r: 25, d: "day" }, { l: "M", r: 45 }, { l: "MM", r: 10, d: "month" }, { l: "y", r: 17 }, { l: "yy", d: "year" }], B = O.length, F = 0; F < B; F += 1) {
6284
- var N = O[F];
6283
+ for (var v, h, M, O = R.$locale().relativeTime || s, z = n.thresholds || [{ l: "s", r: 44, d: "second" }, { l: "m", r: 89 }, { l: "mm", r: 44, d: "minute" }, { l: "h", r: 89 }, { l: "hh", r: 21, d: "hour" }, { l: "d", r: 35 }, { l: "dd", r: 25, d: "day" }, { l: "M", r: 45 }, { l: "MM", r: 10, d: "month" }, { l: "y", r: 17 }, { l: "yy", d: "year" }], B = z.length, F = 0; F < B; F += 1) {
6284
+ var N = z[F];
6285
6285
  N.d && (v = S ? r(f).diff(R, N.d, !0) : R.diff(f, N.d, !0));
6286
6286
  var G = (n.rounding || Math.round)(Math.abs(v));
6287
6287
  if (M = v > 0, G <= N.r || !N.r) {
6288
- G <= 1 && F > 0 && (N = O[F - 1]);
6289
- var x = L[N.l];
6288
+ G <= 1 && F > 0 && (N = z[F - 1]);
6289
+ var x = O[N.l];
6290
6290
  w && (G = w("" + G)), h = typeof x == "string" ? x.replace("%d", G) : x(G, D, N.l, M);
6291
6291
  break;
6292
6292
  }
6293
6293
  }
6294
6294
  if (D) return h;
6295
- var Y = M ? L.future : L.past;
6295
+ var Y = M ? O.future : O.past;
6296
6296
  return typeof Y == "function" ? Y(h) : Y.replace("%s", h);
6297
6297
  }, l.to = function(f, D) {
6298
6298
  return u(f, D, this, !0);
@@ -6323,15 +6323,15 @@ function Gr() {
6323
6323
  return function(r, l, s) {
6324
6324
  var u, d = function(S, w, v) {
6325
6325
  v === void 0 && (v = {});
6326
- var h = new Date(S), M = (function(L, O) {
6327
- O === void 0 && (O = {});
6328
- var B = O.timeZoneName || "short", F = L + "|" + B, N = i[F];
6329
- return N || (N = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: L, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: B }), i[F] = N), N;
6326
+ var h = new Date(S), M = (function(O, z) {
6327
+ z === void 0 && (z = {});
6328
+ var B = z.timeZoneName || "short", F = O + "|" + B, N = i[F];
6329
+ return N || (N = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: O, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: B }), i[F] = N), N;
6330
6330
  })(w, v);
6331
6331
  return M.formatToParts(h);
6332
6332
  }, f = function(S, w) {
6333
6333
  for (var v = d(S, w), h = [], M = 0; M < v.length; M += 1) {
6334
- var L = v[M], O = L.type, B = L.value, F = n[O];
6334
+ var O = v[M], z = O.type, B = O.value, F = n[z];
6335
6335
  F >= 0 && (h[F] = parseInt(B, 10));
6336
6336
  }
6337
6337
  var N = h[3], G = N === 24 ? 0 : N, x = h[0] + "-" + h[1] + "-" + h[2] + " " + G + ":" + h[4] + ":" + h[5] + ":000", Y = +S;
@@ -6339,9 +6339,9 @@ function Gr() {
6339
6339
  }, D = l.prototype;
6340
6340
  D.tz = function(S, w) {
6341
6341
  S === void 0 && (S = u);
6342
- var v, h = this.utcOffset(), M = this.toDate(), L = M.toLocaleString("en-US", { timeZone: S }), O = Math.round((M - new Date(L)) / 1e3 / 60), B = 15 * -Math.round(M.getTimezoneOffset() / 15) - O;
6342
+ var v, h = this.utcOffset(), M = this.toDate(), O = M.toLocaleString("en-US", { timeZone: S }), z = Math.round((M - new Date(O)) / 1e3 / 60), B = 15 * -Math.round(M.getTimezoneOffset() / 15) - z;
6343
6343
  if (!Number(B)) v = this.utcOffset(0, w);
6344
- else if (v = s(L, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(B, !0), w) {
6344
+ else if (v = s(O, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(B, !0), w) {
6345
6345
  var F = v.utcOffset();
6346
6346
  v = v.add(h - F, "minute");
6347
6347
  }
@@ -6358,14 +6358,14 @@ function Gr() {
6358
6358
  var v = s(this.format("YYYY-MM-DD HH:mm:ss:SSS"), { locale: this.$L });
6359
6359
  return R.call(v, S, w).tz(this.$x.$timezone, !0);
6360
6360
  }, s.tz = function(S, w, v) {
6361
- var h = v && w, M = v || w || u, L = f(+s(), M);
6361
+ var h = v && w, M = v || w || u, O = f(+s(), M);
6362
6362
  if (typeof S != "string") return s(S).tz(M);
6363
- var O = (function(G, x, Y) {
6364
- var k = G - 60 * x * 1e3, z = f(k, Y);
6365
- if (x === z) return [k, x];
6366
- var P = f(k -= 60 * (z - x) * 1e3, Y);
6367
- return z === P ? [k, z] : [G - 60 * Math.min(z, P) * 1e3, Math.max(z, P)];
6368
- })(s.utc(S, h).valueOf(), L, M), B = O[0], F = O[1], N = s(B).utcOffset(F);
6363
+ var z = (function(G, x, Y) {
6364
+ var k = G - 60 * x * 1e3, L = f(k, Y);
6365
+ if (x === L) return [k, x];
6366
+ var P = f(k -= 60 * (L - x) * 1e3, Y);
6367
+ return L === P ? [k, L] : [G - 60 * Math.min(L, P) * 1e3, Math.max(L, P)];
6368
+ })(s.utc(S, h).valueOf(), O, M), B = z[0], F = z[1], N = s(B).utcOffset(F);
6369
6369
  return N.$x.$timezone = M, N;
6370
6370
  }, s.tz.guess = function() {
6371
6371
  return Intl.DateTimeFormat().resolvedOptions().timeZone;
@@ -6409,8 +6409,8 @@ function Ur() {
6409
6409
  };
6410
6410
  var R = d.utcOffset;
6411
6411
  d.utcOffset = function(h, M) {
6412
- var L = this.$utils().u;
6413
- if (L(h)) return this.$u ? 0 : L(this.$offset) ? R.call(this) : this.$offset;
6412
+ var O = this.$utils().u;
6413
+ if (O(h)) return this.$u ? 0 : O(this.$offset) ? R.call(this) : this.$offset;
6414
6414
  if (typeof h == "string" && (h = (function(N) {
6415
6415
  N === void 0 && (N = "");
6416
6416
  var G = N.match(i);
@@ -6418,13 +6418,12 @@ function Ur() {
6418
6418
  var x = ("" + G[0]).match(r) || ["-", 0, 0], Y = x[0], k = 60 * +x[1] + +x[2];
6419
6419
  return k === 0 ? 0 : Y === "+" ? k : -k;
6420
6420
  })(h), h === null)) return this;
6421
- var O = Math.abs(h) <= 16 ? 60 * h : h, B = this;
6422
- if (M) return B.$offset = O, B.$u = h === 0, B;
6423
- if (h !== 0) {
6424
- var F = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
6425
- (B = this.local().add(O + F, n)).$offset = O, B.$x.$localOffset = F;
6426
- } else B = this.utc();
6427
- return B;
6421
+ var z = Math.abs(h) <= 16 ? 60 * h : h;
6422
+ if (z === 0) return this.utc(M);
6423
+ var B = this.clone();
6424
+ if (M) return B.$offset = z, B.$u = !1, B;
6425
+ var F = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
6426
+ return (B = this.local().add(z + F, n)).$offset = z, B.$x.$localOffset = F, B;
6428
6427
  };
6429
6428
  var S = d.format;
6430
6429
  d.format = function(h) {
@@ -6445,10 +6444,10 @@ function Ur() {
6445
6444
  return h === "s" && this.$offset ? u(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : w.call(this);
6446
6445
  };
6447
6446
  var v = d.diff;
6448
- d.diff = function(h, M, L) {
6449
- if (h && this.$u === h.$u) return v.call(this, h, M, L);
6450
- var O = this.local(), B = u(h).local();
6451
- return v.call(O, B, M, L);
6447
+ d.diff = function(h, M, O) {
6448
+ if (h && this.$u === h.$u) return v.call(this, h, M, O);
6449
+ var z = this.local(), B = u(h).local();
6450
+ return v.call(z, B, M, O);
6452
6451
  };
6453
6452
  };
6454
6453
  }));
@@ -7397,7 +7396,7 @@ function lo() {
7397
7396
  o.bodyUsed = !0;
7398
7397
  }
7399
7398
  }
7400
- function L(o) {
7399
+ function O(o) {
7401
7400
  return new Promise(function(c, m) {
7402
7401
  o.onload = function() {
7403
7402
  c(o.result);
@@ -7406,12 +7405,12 @@ function lo() {
7406
7405
  };
7407
7406
  });
7408
7407
  }
7409
- function O(o) {
7410
- var c = new FileReader(), m = L(c);
7408
+ function z(o) {
7409
+ var c = new FileReader(), m = O(c);
7411
7410
  return c.readAsArrayBuffer(o), m;
7412
7411
  }
7413
7412
  function B(o) {
7414
- var c = new FileReader(), m = L(c), g = /charset=([A-Za-z0-9_-]+)/.exec(o.type), y = g ? g[1] : "utf-8";
7413
+ var c = new FileReader(), m = O(c), g = /charset=([A-Za-z0-9_-]+)/.exec(o.type), y = g ? g[1] : "utf-8";
7415
7414
  return c.readAsText(o, y), m;
7416
7415
  }
7417
7416
  function F(o) {
@@ -7450,7 +7449,7 @@ function lo() {
7450
7449
  ) : Promise.resolve(this._bodyArrayBuffer));
7451
7450
  } else {
7452
7451
  if (d.blob)
7453
- return this.blob().then(O);
7452
+ return this.blob().then(z);
7454
7453
  throw new Error("could not read as ArrayBuffer");
7455
7454
  }
7456
7455
  }, this.text = function() {
@@ -7465,7 +7464,7 @@ function lo() {
7465
7464
  throw new Error("could not read FormData body as text");
7466
7465
  return Promise.resolve(this._bodyText);
7467
7466
  }, d.formData && (this.formData = function() {
7468
- return this.text().then(z);
7467
+ return this.text().then(L);
7469
7468
  }), this.json = function() {
7470
7469
  return this.text().then(JSON.parse);
7471
7470
  }, this;
@@ -7506,7 +7505,7 @@ function lo() {
7506
7505
  k.prototype.clone = function() {
7507
7506
  return new k(this, { body: this._bodyInit });
7508
7507
  };
7509
- function z(o) {
7508
+ function L(o) {
7510
7509
  var c = new FormData();
7511
7510
  return o.trim().split("&").forEach(function(m) {
7512
7511
  if (m) {