@revolugo/booking-api-client 7.0.1 → 7.1.0-alpha.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/index.es.js CHANGED
@@ -84,9 +84,9 @@ var se = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
84
84
  function j(i) {
85
85
  return i && i.__esModule && Object.prototype.hasOwnProperty.call(i, "default") ? i.default : i;
86
86
  }
87
- var ce = { exports: {} }, yt = ce.exports, Le;
87
+ var ce = { exports: {} }, yt = ce.exports, xe;
88
88
  function gt() {
89
- return Le || (Le = 1, (function(i, e) {
89
+ return xe || (xe = 1, (function(i, e) {
90
90
  (function(n, t, r) {
91
91
  i.exports = r(), i.exports.default = r();
92
92
  })("slugify", yt, function() {
@@ -146,9 +146,9 @@ const Et = {
146
146
  "CI-CD": "https://booking-api.staging.revolugo.com",
147
147
  LOCAL: "http://127.0.0.1:3001"
148
148
  };
149
- var De = /* @__PURE__ */ ((i) => (i.HOTEL_ROOM_OFFERS = "HOTEL_ROOM_OFFERS", i.HOTEL_SEARCH_POLLING = "HOTEL_SEARCH_POLLING", i))(De || {}), le = { exports: {} }, Mt = le.exports, xe;
149
+ var De = /* @__PURE__ */ ((i) => (i.HOTEL_ROOM_OFFERS = "HOTEL_ROOM_OFFERS", i.HOTEL_SEARCH_POLLING = "HOTEL_SEARCH_POLLING", i))(De || {}), le = { exports: {} }, Mt = le.exports, Le;
150
150
  function tt() {
151
- return xe || (xe = 1, (function(i, e) {
151
+ return Le || (Le = 1, (function(i, e) {
152
152
  (function(n, t) {
153
153
  i.exports = t();
154
154
  })(Mt, (function() {
@@ -158,7 +158,7 @@ function tt() {
158
158
  } }, _ = function(R, o, a) {
159
159
  var f = String(R);
160
160
  return !f || f.length >= o ? R : "" + Array(o + 1 - f.length).join(a) + R;
161
- }, $ = { s: _, z: function(R) {
161
+ }, N = { s: _, z: function(R) {
162
162
  var o = -R.utcOffset(), a = Math.abs(o), f = Math.floor(a / 60), l = a % 60;
163
163
  return (o <= 0 ? "+" : "-") + _(f, 2, "0") + ":" + _(l, 2, "0");
164
164
  }, m: function R(o, a) {
@@ -173,8 +173,8 @@ function tt() {
173
173
  return R === void 0;
174
174
  } }, T = "en", B = {};
175
175
  B[T] = b;
176
- var F = "$isDayjsObject", K = function(R) {
177
- return R instanceof V || !(!R || !R[F]);
176
+ var K = "$isDayjsObject", F = function(R) {
177
+ return R instanceof Y || !(!R || !R[K]);
178
178
  }, U = function R(o, a, f) {
179
179
  var l;
180
180
  if (!o) return T;
@@ -188,17 +188,17 @@ function tt() {
188
188
  B[D] = o, l = D;
189
189
  }
190
190
  return !f && l && (T = l), l || !f && T;
191
- }, L = function(R, o) {
192
- if (K(R)) return R.clone();
191
+ }, x = function(R, o) {
192
+ if (F(R)) return R.clone();
193
193
  var a = typeof o == "object" ? o : {};
194
- return a.date = R, a.args = arguments, new V(a);
195
- }, O = $;
196
- O.l = U, O.i = K, O.w = function(R, o) {
197
- return L(R, { locale: o.$L, utc: o.$u, x: o.$x, $offset: o.$offset });
194
+ return a.date = R, a.args = arguments, new Y(a);
195
+ }, O = N;
196
+ O.l = U, O.i = F, O.w = function(R, o) {
197
+ return x(R, { locale: o.$L, utc: o.$u, x: o.$x, $offset: o.$offset });
198
198
  };
199
- var V = (function() {
199
+ var Y = (function() {
200
200
  function R(a) {
201
- this.$L = U(a.locale, null, !0), this.parse(a), this.$x = this.$x || a.x || {}, this[F] = !0;
201
+ this.$L = U(a.locale, null, !0), this.parse(a), this.$x = this.$x || a.x || {}, this[K] = !0;
202
202
  }
203
203
  var o = R.prototype;
204
204
  return o.parse = function(a) {
@@ -210,8 +210,8 @@ function tt() {
210
210
  if (typeof l == "string" && !/Z$/i.test(l)) {
211
211
  var p = l.match(M);
212
212
  if (p) {
213
- var D = p[2] - 1 || 0, x = (p[7] || "0").substring(0, 3);
214
- return g ? new Date(Date.UTC(p[1], D, p[3] || 1, p[4] || 0, p[5] || 0, p[6] || 0, x)) : new Date(p[1], D, p[3] || 1, p[4] || 0, p[5] || 0, p[6] || 0, x);
213
+ var D = p[2] - 1 || 0, $ = (p[7] || "0").substring(0, 3);
214
+ return g ? new Date(Date.UTC(p[1], D, p[3] || 1, p[4] || 0, p[5] || 0, p[6] || 0, $)) : new Date(p[1], D, p[3] || 1, p[4] || 0, p[5] || 0, p[6] || 0, $);
215
215
  }
216
216
  }
217
217
  return new Date(l);
@@ -224,12 +224,12 @@ function tt() {
224
224
  }, o.isValid = function() {
225
225
  return this.$d.toString() !== d;
226
226
  }, o.isSame = function(a, f) {
227
- var l = L(a);
227
+ var l = x(a);
228
228
  return this.startOf(f) <= l && l <= this.endOf(f);
229
229
  }, o.isAfter = function(a, f) {
230
- return L(a) < this.startOf(f);
230
+ return x(a) < this.startOf(f);
231
231
  }, o.isBefore = function(a, f) {
232
- return this.endOf(f) < L(a);
232
+ return this.endOf(f) < x(a);
233
233
  }, o.$g = function(a, f, l) {
234
234
  return O.u(a) ? this[f] : this.set(l, a);
235
235
  }, o.unix = function() {
@@ -240,7 +240,7 @@ function tt() {
240
240
  var l = this, g = !!O.u(f) || f, p = O.p(a), D = function(Q, q) {
241
241
  var Z = O.w(l.$u ? Date.UTC(l.$y, q, Q) : new Date(l.$y, q, Q), l);
242
242
  return g ? Z : Z.endOf(S);
243
- }, x = function(Q, q) {
243
+ }, $ = function(Q, q) {
244
244
  return O.w(l.toDate()[Q].apply(l.toDate("s"), (g ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(q)), l);
245
245
  }, G = this.$W, k = this.$M, H = this.$D, te = "set" + (this.$u ? "UTC" : "");
246
246
  switch (p) {
@@ -253,24 +253,24 @@ function tt() {
253
253
  return D(g ? H - re : H + (6 - re), k);
254
254
  case S:
255
255
  case E:
256
- return x(te + "Hours", 0);
256
+ return $(te + "Hours", 0);
257
257
  case h:
258
- return x(te + "Minutes", 1);
258
+ return $(te + "Minutes", 1);
259
259
  case c:
260
- return x(te + "Seconds", 2);
260
+ return $(te + "Seconds", 2);
261
261
  case u:
262
- return x(te + "Milliseconds", 3);
262
+ return $(te + "Milliseconds", 3);
263
263
  default:
264
264
  return this.clone();
265
265
  }
266
266
  }, o.endOf = function(a) {
267
267
  return this.startOf(a, !1);
268
268
  }, o.$set = function(a, f) {
269
- var l, g = O.p(a), p = "set" + (this.$u ? "UTC" : ""), D = (l = {}, l[S] = p + "Date", l[E] = p + "Date", l[y] = p + "Month", l[C] = p + "FullYear", l[h] = p + "Hours", l[c] = p + "Minutes", l[u] = p + "Seconds", l[s] = p + "Milliseconds", l)[g], x = g === S ? this.$D + (f - this.$W) : f;
269
+ var l, g = O.p(a), p = "set" + (this.$u ? "UTC" : ""), D = (l = {}, l[S] = p + "Date", l[E] = p + "Date", l[y] = p + "Month", l[C] = p + "FullYear", l[h] = p + "Hours", l[c] = p + "Minutes", l[u] = p + "Seconds", l[s] = p + "Milliseconds", l)[g], $ = g === S ? this.$D + (f - this.$W) : f;
270
270
  if (g === y || g === C) {
271
271
  var G = this.clone().set(E, 1);
272
- G.$d[D](x), G.init(), this.$d = G.set(E, Math.min(this.$D, G.daysInMonth())).$d;
273
- } else D && this.$d[D](x);
272
+ G.$d[D]($), G.init(), this.$d = G.set(E, Math.min(this.$D, G.daysInMonth())).$d;
273
+ } else D && this.$d[D]($);
274
274
  return this.init(), this;
275
275
  }, o.set = function(a, f) {
276
276
  return this.clone().$set(a, f);
@@ -280,21 +280,21 @@ function tt() {
280
280
  var l, g = this;
281
281
  a = Number(a);
282
282
  var p = O.p(f), D = function(k) {
283
- var H = L(g);
283
+ var H = x(g);
284
284
  return O.w(H.date(H.date() + Math.round(k * a)), g);
285
285
  };
286
286
  if (p === y) return this.set(y, this.$M + a);
287
287
  if (p === C) return this.set(C, this.$y + a);
288
288
  if (p === S) return D(1);
289
289
  if (p === A) return D(7);
290
- var x = (l = {}, l[c] = t, l[h] = r, l[u] = n, l)[p] || 1, G = this.$d.getTime() + a * x;
290
+ var $ = (l = {}, l[c] = t, l[h] = r, l[u] = n, l)[p] || 1, G = this.$d.getTime() + a * $;
291
291
  return O.w(G, this);
292
292
  }, o.subtract = function(a, f) {
293
293
  return this.add(-1 * a, f);
294
294
  }, o.format = function(a) {
295
295
  var f = this, l = this.$locale();
296
296
  if (!this.isValid()) return l.invalidDate || d;
297
- var g = a || "YYYY-MM-DDTHH:mm:ssZ", p = O.z(this), D = this.$H, x = this.$m, G = this.$M, k = l.weekdays, H = l.months, te = l.meridiem, X = function(q, Z, ie, ae) {
297
+ var g = a || "YYYY-MM-DDTHH:mm:ssZ", p = O.z(this), D = this.$H, $ = this.$m, G = this.$M, k = l.weekdays, H = l.months, te = l.meridiem, X = function(q, Z, ie, ae) {
298
298
  return q && (q[Z] || q(f, g)) || ie[Z].slice(0, ae);
299
299
  }, re = function(q) {
300
300
  return O.s(D % 12 || 12, q, "0");
@@ -338,13 +338,13 @@ function tt() {
338
338
  case "hh":
339
339
  return re(2);
340
340
  case "a":
341
- return Q(D, x, !0);
341
+ return Q(D, $, !0);
342
342
  case "A":
343
- return Q(D, x, !1);
343
+ return Q(D, $, !1);
344
344
  case "m":
345
- return String(x);
345
+ return String($);
346
346
  case "mm":
347
- return O.s(x, 2, "0");
347
+ return O.s($, 2, "0");
348
348
  case "s":
349
349
  return String(f.$s);
350
350
  case "ss":
@@ -360,8 +360,8 @@ function tt() {
360
360
  }, o.utcOffset = function() {
361
361
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
362
362
  }, o.diff = function(a, f, l) {
363
- var g, p = this, D = O.p(f), x = L(a), G = (x.utcOffset() - this.utcOffset()) * t, k = this - x, H = function() {
364
- return O.m(p, x);
363
+ var g, p = this, D = O.p(f), $ = x(a), G = ($.utcOffset() - this.utcOffset()) * t, k = this - $, H = function() {
364
+ return O.m(p, $);
365
365
  };
366
366
  switch (D) {
367
367
  case C:
@@ -411,21 +411,21 @@ function tt() {
411
411
  }, o.toString = function() {
412
412
  return this.$d.toUTCString();
413
413
  }, R;
414
- })(), oe = V.prototype;
415
- return L.prototype = oe, [["$ms", s], ["$s", u], ["$m", c], ["$H", h], ["$W", S], ["$M", y], ["$y", C], ["$D", E]].forEach((function(R) {
414
+ })(), oe = Y.prototype;
415
+ return x.prototype = oe, [["$ms", s], ["$s", u], ["$m", c], ["$H", h], ["$W", S], ["$M", y], ["$y", C], ["$D", E]].forEach((function(R) {
416
416
  oe[R[1]] = function(o) {
417
417
  return this.$g(o, R[0], R[1]);
418
418
  };
419
- })), L.extend = function(R, o) {
420
- return R.$i || (R(o, V, L), R.$i = !0), L;
421
- }, L.locale = U, L.isDayjs = K, L.unix = function(R) {
422
- return L(1e3 * R);
423
- }, L.en = B[T], L.Ls = B, L.p = {}, L;
419
+ })), x.extend = function(R, o) {
420
+ return R.$i || (R(o, Y, x), R.$i = !0), x;
421
+ }, x.locale = U, x.isDayjs = F, x.unix = function(R) {
422
+ return x(1e3 * R);
423
+ }, x.en = B[T], x.Ls = B, x.p = {}, x;
424
424
  }));
425
425
  })(le)), le.exports;
426
426
  }
427
427
  var Tt = tt();
428
- const z = /* @__PURE__ */ j(Tt);
428
+ const W = /* @__PURE__ */ j(Tt);
429
429
  var fe = { exports: {} }, Ot = fe.exports, Pe;
430
430
  function kt() {
431
431
  return Pe || (Pe = 1, (function(i, e) {
@@ -478,9 +478,9 @@ function kt() {
478
478
  }
479
479
  var _t = kt();
480
480
  const Dt = /* @__PURE__ */ j(_t);
481
- var de = { exports: {} }, bt = de.exports, Ne;
481
+ var de = { exports: {} }, bt = de.exports, $e;
482
482
  function It() {
483
- return Ne || (Ne = 1, (function(i, e) {
483
+ return $e || ($e = 1, (function(i, e) {
484
484
  (function(n, t) {
485
485
  i.exports = t();
486
486
  })(bt, (function() {
@@ -494,13 +494,13 @@ function It() {
494
494
  })(de)), de.exports;
495
495
  }
496
496
  var Bt = It();
497
- const Lt = /* @__PURE__ */ j(Bt);
498
- var he = { exports: {} }, xt = he.exports, $e;
497
+ const xt = /* @__PURE__ */ j(Bt);
498
+ var he = { exports: {} }, Lt = he.exports, Ne;
499
499
  function Pt() {
500
- return $e || ($e = 1, (function(i, e) {
500
+ return Ne || (Ne = 1, (function(i, e) {
501
501
  (function(n, t) {
502
502
  i.exports = t();
503
- })(xt, (function() {
503
+ })(Lt, (function() {
504
504
  return function(n, t) {
505
505
  t.prototype.isSameOrAfter = function(r, s) {
506
506
  return this.isSame(r, s) || this.isAfter(r, s);
@@ -509,8 +509,8 @@ function Pt() {
509
509
  }));
510
510
  })(he)), he.exports;
511
511
  }
512
- var Nt = Pt();
513
- const $t = /* @__PURE__ */ j(Nt);
512
+ var $t = Pt();
513
+ const Nt = /* @__PURE__ */ j($t);
514
514
  var pe = { exports: {} }, Ut = pe.exports, Ue;
515
515
  function Gt() {
516
516
  return Ue || (Ue = 1, (function(i, e) {
@@ -526,13 +526,13 @@ function Gt() {
526
526
  })(pe)), pe.exports;
527
527
  }
528
528
  var Ht = Gt();
529
- const Ft = /* @__PURE__ */ j(Ht);
530
- var me = { exports: {} }, Kt = me.exports, Ge;
531
- function Yt() {
529
+ const Kt = /* @__PURE__ */ j(Ht);
530
+ var me = { exports: {} }, Ft = me.exports, Ge;
531
+ function Vt() {
532
532
  return Ge || (Ge = 1, (function(i, e) {
533
533
  (function(n, t) {
534
534
  i.exports = t();
535
- })(Kt, (function() {
535
+ })(Ft, (function() {
536
536
  return function(n, t, r) {
537
537
  var s = t.prototype, u = function(y) {
538
538
  return y && (y.indexOf ? y : y.s);
@@ -541,9 +541,9 @@ function Yt() {
541
541
  return T.slice(0, E);
542
542
  }));
543
543
  if (!d) return _;
544
- var $ = M.weekStart;
544
+ var N = M.weekStart;
545
545
  return _.map((function(T, B) {
546
- return _[(B + ($ || 0)) % 7];
546
+ return _[(B + (N || 0)) % 7];
547
547
  }));
548
548
  }, h = function() {
549
549
  return r.Ls[r.locale()];
@@ -605,8 +605,8 @@ function Yt() {
605
605
  }));
606
606
  })(me)), me.exports;
607
607
  }
608
- var Vt = Yt();
609
- const qt = /* @__PURE__ */ j(Vt);
608
+ var Yt = Vt();
609
+ const qt = /* @__PURE__ */ j(Yt);
610
610
  var ye = { exports: {} }, jt = ye.exports, He;
611
611
  function zt() {
612
612
  return He || (He = 1, (function(i, e) {
@@ -634,9 +634,9 @@ function zt() {
634
634
  }
635
635
  var Wt = zt();
636
636
  const Zt = /* @__PURE__ */ j(Wt);
637
- var ge = { exports: {} }, Jt = ge.exports, Fe;
637
+ var ge = { exports: {} }, Jt = ge.exports, Ke;
638
638
  function Xt() {
639
- return Fe || (Fe = 1, (function(i, e) {
639
+ return Ke || (Ke = 1, (function(i, e) {
640
640
  (function(n, t) {
641
641
  i.exports = t();
642
642
  })(Jt, (function() {
@@ -663,9 +663,9 @@ function Xt() {
663
663
  }
664
664
  var Qt = Xt();
665
665
  const en = /* @__PURE__ */ j(Qt);
666
- var we = { exports: {} }, tn = we.exports, Ke;
666
+ var we = { exports: {} }, tn = we.exports, Fe;
667
667
  function nn() {
668
- return Ke || (Ke = 1, (function(i, e) {
668
+ return Fe || (Fe = 1, (function(i, e) {
669
669
  (function(n, t) {
670
670
  i.exports = t();
671
671
  })(tn, (function() {
@@ -676,20 +676,20 @@ function nn() {
676
676
  return s.fromToBase(S, A, y, m);
677
677
  }
678
678
  r.en.relativeTime = u, s.fromToBase = function(S, A, y, m, C) {
679
- for (var E, d, M, I = y.$locale().relativeTime || u, b = 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.length, $ = 0; $ < _; $ += 1) {
680
- var T = b[$];
679
+ for (var E, d, M, I = y.$locale().relativeTime || u, b = 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.length, N = 0; N < _; N += 1) {
680
+ var T = b[N];
681
681
  T.d && (E = m ? r(S).diff(y, T.d, !0) : y.diff(S, T.d, !0));
682
682
  var B = (n.rounding || Math.round)(Math.abs(E));
683
683
  if (M = E > 0, B <= T.r || !T.r) {
684
- B <= 1 && $ > 0 && (T = b[$ - 1]);
685
- var F = I[T.l];
686
- C && (B = C("" + B)), d = typeof F == "string" ? F.replace("%d", B) : F(B, A, T.l, M);
684
+ B <= 1 && N > 0 && (T = b[N - 1]);
685
+ var K = I[T.l];
686
+ C && (B = C("" + B)), d = typeof K == "string" ? K.replace("%d", B) : K(B, A, T.l, M);
687
687
  break;
688
688
  }
689
689
  }
690
690
  if (A) return d;
691
- var K = M ? I.future : I.past;
692
- return typeof K == "function" ? K(d) : K.replace("%s", d);
691
+ var F = M ? I.future : I.past;
692
+ return typeof F == "function" ? F(d) : F.replace("%s", d);
693
693
  }, s.to = function(S, A) {
694
694
  return c(S, A, this, !0);
695
695
  }, s.from = function(S, A) {
@@ -709,9 +709,9 @@ function nn() {
709
709
  }
710
710
  var rn = nn();
711
711
  const on = /* @__PURE__ */ j(rn);
712
- var ve = { exports: {} }, an = ve.exports, Ye;
712
+ var ve = { exports: {} }, an = ve.exports, Ve;
713
713
  function sn() {
714
- return Ye || (Ye = 1, (function(i, e) {
714
+ return Ve || (Ve = 1, (function(i, e) {
715
715
  (function(n, t) {
716
716
  i.exports = t();
717
717
  })(an, (function() {
@@ -721,25 +721,25 @@ function sn() {
721
721
  E === void 0 && (E = {});
722
722
  var d = new Date(m), M = (function(I, b) {
723
723
  b === void 0 && (b = {});
724
- var _ = b.timeZoneName || "short", $ = I + "|" + _, T = t[$];
725
- return T || (T = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: I, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: _ }), t[$] = T), T;
724
+ var _ = b.timeZoneName || "short", N = I + "|" + _, T = t[N];
725
+ return T || (T = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: I, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: _ }), t[N] = T), T;
726
726
  })(C, E);
727
727
  return M.formatToParts(d);
728
728
  }, S = function(m, C) {
729
729
  for (var E = h(m, C), d = [], M = 0; M < E.length; M += 1) {
730
- var I = E[M], b = I.type, _ = I.value, $ = n[b];
731
- $ >= 0 && (d[$] = parseInt(_, 10));
730
+ var I = E[M], b = I.type, _ = I.value, N = n[b];
731
+ N >= 0 && (d[N] = parseInt(_, 10));
732
732
  }
733
- var T = d[3], B = T === 24 ? 0 : T, F = d[0] + "-" + d[1] + "-" + d[2] + " " + B + ":" + d[4] + ":" + d[5] + ":000", K = +m;
734
- return (u.utc(F).valueOf() - (K -= K % 1e3)) / 6e4;
733
+ var T = d[3], B = T === 24 ? 0 : T, K = d[0] + "-" + d[1] + "-" + d[2] + " " + B + ":" + d[4] + ":" + d[5] + ":000", F = +m;
734
+ return (u.utc(K).valueOf() - (F -= F % 1e3)) / 6e4;
735
735
  }, A = s.prototype;
736
736
  A.tz = function(m, C) {
737
737
  m === void 0 && (m = c);
738
738
  var E, d = this.utcOffset(), M = this.toDate(), I = M.toLocaleString("en-US", { timeZone: m }), b = Math.round((M - new Date(I)) / 1e3 / 60), _ = 15 * -Math.round(M.getTimezoneOffset() / 15) - b;
739
739
  if (!Number(_)) E = this.utcOffset(0, C);
740
740
  else if (E = u(I, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(_, !0), C) {
741
- var $ = E.utcOffset();
742
- E = E.add(d - $, "minute");
741
+ var N = E.utcOffset();
742
+ E = E.add(d - N, "minute");
743
743
  }
744
744
  return E.$x.$timezone = m, E;
745
745
  }, A.offsetName = function(m) {
@@ -756,12 +756,12 @@ function sn() {
756
756
  }, u.tz = function(m, C, E) {
757
757
  var d = E && C, M = E || C || c, I = S(+u(), M);
758
758
  if (typeof m != "string") return u(m).tz(M);
759
- var b = (function(B, F, K) {
760
- var U = B - 60 * F * 1e3, L = S(U, K);
761
- if (F === L) return [U, F];
762
- var O = S(U -= 60 * (L - F) * 1e3, K);
763
- return L === O ? [U, L] : [B - 60 * Math.min(L, O) * 1e3, Math.max(L, O)];
764
- })(u.utc(m, d).valueOf(), I, M), _ = b[0], $ = b[1], T = u(_).utcOffset($);
759
+ var b = (function(B, K, F) {
760
+ var U = B - 60 * K * 1e3, x = S(U, F);
761
+ if (K === x) return [U, K];
762
+ var O = S(U -= 60 * (x - K) * 1e3, F);
763
+ return x === O ? [U, x] : [B - 60 * Math.min(x, O) * 1e3, Math.max(x, O)];
764
+ })(u.utc(m, d).valueOf(), I, M), _ = b[0], N = b[1], T = u(_).utcOffset(N);
765
765
  return T.$x.$timezone = M, T;
766
766
  }, u.tz.guess = function() {
767
767
  return Intl.DateTimeFormat().resolvedOptions().timeZone;
@@ -774,9 +774,9 @@ function sn() {
774
774
  }
775
775
  var un = sn();
776
776
  const cn = /* @__PURE__ */ j(un);
777
- var Se = { exports: {} }, ln = Se.exports, Ve;
777
+ var Se = { exports: {} }, ln = Se.exports, Ye;
778
778
  function fn() {
779
- return Ve || (Ve = 1, (function(i, e) {
779
+ return Ye || (Ye = 1, (function(i, e) {
780
780
  (function(n, t) {
781
781
  i.exports = t();
782
782
  })(ln, (function() {
@@ -811,15 +811,15 @@ function fn() {
811
811
  T === void 0 && (T = "");
812
812
  var B = T.match(t);
813
813
  if (!B) return null;
814
- var F = ("" + B[0]).match(r) || ["-", 0, 0], K = F[0], U = 60 * +F[1] + +F[2];
815
- return U === 0 ? 0 : K === "+" ? U : -U;
814
+ var K = ("" + B[0]).match(r) || ["-", 0, 0], F = K[0], U = 60 * +K[1] + +K[2];
815
+ return U === 0 ? 0 : F === "+" ? U : -U;
816
816
  })(d), d === null)) return this;
817
817
  var b = Math.abs(d) <= 16 ? 60 * d : d;
818
818
  if (b === 0) return this.utc(M);
819
819
  var _ = this.clone();
820
820
  if (M) return _.$offset = b, _.$u = !1, _;
821
- var $ = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
822
- return (_ = this.local().add(b + $, n)).$offset = b, _.$x.$localOffset = $, _;
821
+ var N = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
822
+ return (_ = this.local().add(b + N, n)).$offset = b, _.$x.$localOffset = N, _;
823
823
  };
824
824
  var m = h.format;
825
825
  h.format = function(d) {
@@ -882,16 +882,16 @@ function gn() {
882
882
  })(Ae)), Ae.exports;
883
883
  }
884
884
  gn();
885
- z.extend(Dt);
886
- z.extend(Lt);
887
- z.extend($t);
888
- z.extend(Ft);
889
- z.extend(Zt);
890
- z.extend(qt);
891
- z.extend(en);
892
- z.extend(on);
893
- z.extend(cn);
894
- z.extend(hn);
885
+ W.extend(Dt);
886
+ W.extend(xt);
887
+ W.extend(Nt);
888
+ W.extend(Kt);
889
+ W.extend(Zt);
890
+ W.extend(qt);
891
+ W.extend(en);
892
+ W.extend(on);
893
+ W.extend(cn);
894
+ W.extend(hn);
895
895
  function J(i) {
896
896
  if (i === null || typeof i != "object")
897
897
  return !1;
@@ -940,11 +940,11 @@ function ze(i, ...e) {
940
940
  t != null && be(i, t, n);
941
941
  return i;
942
942
  }
943
- const Y = [];
943
+ const V = [];
944
944
  for (let i = 0; i < 256; ++i)
945
- Y.push((i + 256).toString(16).slice(1));
945
+ V.push((i + 256).toString(16).slice(1));
946
946
  function wn(i, e = 0) {
947
- return (Y[i[e + 0]] + Y[i[e + 1]] + Y[i[e + 2]] + Y[i[e + 3]] + "-" + Y[i[e + 4]] + Y[i[e + 5]] + "-" + Y[i[e + 6]] + Y[i[e + 7]] + "-" + Y[i[e + 8]] + Y[i[e + 9]] + "-" + Y[i[e + 10]] + Y[i[e + 11]] + Y[i[e + 12]] + Y[i[e + 13]] + Y[i[e + 14]] + Y[i[e + 15]]).toLowerCase();
947
+ return (V[i[e + 0]] + V[i[e + 1]] + V[i[e + 2]] + V[i[e + 3]] + "-" + V[i[e + 4]] + V[i[e + 5]] + "-" + V[i[e + 6]] + V[i[e + 7]] + "-" + V[i[e + 8]] + V[i[e + 9]] + "-" + V[i[e + 10]] + V[i[e + 11]] + V[i[e + 12]] + V[i[e + 13]] + V[i[e + 14]] + V[i[e + 15]]).toLowerCase();
948
948
  }
949
949
  let Te;
950
950
  const vn = new Uint8Array(16);
@@ -976,7 +976,6 @@ class ne {
976
976
  maxCallCount: 20,
977
977
  minCallCount: 1
978
978
  };
979
- pollings = {};
980
979
  events = {
981
980
  complete: () => {
982
981
  },
@@ -985,34 +984,22 @@ class ne {
985
984
  error: () => {
986
985
  }
987
986
  };
987
+ pollings = {};
988
988
  static getInstance() {
989
989
  return ne.instance || (ne.instance = new ne()), ne.instance;
990
990
  }
991
+ on(e, n) {
992
+ this.events[e] = n;
993
+ }
991
994
  poll(e, n) {
992
995
  const t = this.buildPollerOptions(n);
993
996
  return this.storeCurrentPolling(t), this.isActivePoller(t) && e().then((r) => this.onRequest(r, e, t)).catch((r) => {
994
997
  this.dispatch("error", r);
995
998
  }), this;
996
999
  }
997
- on(e, n) {
998
- this.events[e] = n;
999
- }
1000
1000
  stop(e) {
1001
1001
  e && this.pollings[e] && delete this.pollings[e];
1002
1002
  }
1003
- dispatch(e, n) {
1004
- this.events[e](n);
1005
- }
1006
- async onRequest(e, n, t) {
1007
- const r = w(e ?? {}, v.Camel);
1008
- this.isActivePoller(t) && (this.isInProgress(r) && t.callCount && t.maxCallCount && t.callCount < t.maxCallCount || !this.isInProgress(r) && t.callCount && t.minCallCount && t.callCount < t.minCallCount ? (this.isInProgress(r) || (r.meta = r.meta || {}, r.meta.status = "IN_PROGRESS"), t.callCount += 1, this.dispatch("data", r), t.interval && await this.pause(t), this.poll(n, t)) : this.isInProgress(r) ? (r.meta = r.meta || {}, r.meta.status = "COMPLETE", this.onComplete(r, t)) : this.onComplete(r, t));
1009
- }
1010
- onComplete(e, n) {
1011
- this.dispatch("data", e), this.dispatch("complete", e), this.removeCurrentPolling(n);
1012
- }
1013
- isInProgress(e) {
1014
- return (e?.meta?.status ?? "") !== "COMPLETE";
1015
- }
1016
1003
  buildPollerOptions(e) {
1017
1004
  const n = Object.entries(e).reduce((t, [r, s]) => {
1018
1005
  if (s !== void 0) {
@@ -1026,12 +1013,22 @@ class ne {
1026
1013
  ...n
1027
1014
  };
1028
1015
  }
1029
- storeCurrentPolling(e) {
1030
- e.type && !e.uuid && (e.uuid = Cn(), this.pollings[e.type] = e.uuid);
1016
+ dispatch(e, n) {
1017
+ this.events[e](n);
1031
1018
  }
1032
1019
  isActivePoller(e) {
1033
1020
  return e.type ? !!this.pollings[e.type] && this.pollings[e.type] === e.uuid : !0;
1034
1021
  }
1022
+ isInProgress(e) {
1023
+ return (e?.meta?.status ?? "") !== "COMPLETE";
1024
+ }
1025
+ onComplete(e, n) {
1026
+ this.dispatch("data", e), this.dispatch("complete", e), this.removeCurrentPolling(n);
1027
+ }
1028
+ async onRequest(e, n, t) {
1029
+ const r = w(e ?? {}, v.Camel);
1030
+ this.isActivePoller(t) && (this.isInProgress(r) && t.callCount && t.maxCallCount && t.callCount < t.maxCallCount || !this.isInProgress(r) && t.callCount && t.minCallCount && t.callCount < t.minCallCount ? (this.isInProgress(r) || (r.meta = r.meta || {}, r.meta.status = "IN_PROGRESS"), t.callCount += 1, this.dispatch("data", r), t.interval && await this.pause(t), this.poll(n, t)) : this.isInProgress(r) ? (r.meta = r.meta || {}, r.meta.status = "COMPLETE", this.onComplete(r, t)) : this.onComplete(r, t));
1031
+ }
1035
1032
  pause(e) {
1036
1033
  return new Promise((n) => {
1037
1034
  setTimeout(n, e.interval);
@@ -1040,6 +1037,9 @@ class ne {
1040
1037
  removeCurrentPolling(e) {
1041
1038
  e.type && this.pollings[e.type] && delete this.pollings[e.type];
1042
1039
  }
1040
+ storeCurrentPolling(e) {
1041
+ e.type && !e.uuid && (e.uuid = Cn(), this.pollings[e.type] = e.uuid);
1042
+ }
1043
1043
  }
1044
1044
  function rt(i, e, n) {
1045
1045
  const t = ne.getInstance();
@@ -1054,7 +1054,7 @@ function rt(i, e, n) {
1054
1054
  });
1055
1055
  }
1056
1056
  const Mn = "http://localhost".replace(/\/+$/, ""), Tn = (i) => typeof Blob < "u" && i instanceof Blob;
1057
- class W {
1057
+ class z {
1058
1058
  constructor(e = new it()) {
1059
1059
  this.configuration = e, this.middleware = e.middleware;
1060
1060
  }
@@ -1124,13 +1124,13 @@ class On extends Error {
1124
1124
  }
1125
1125
  name = "ResponseError";
1126
1126
  }
1127
- class N extends Error {
1127
+ class P extends Error {
1128
1128
  constructor(e, n) {
1129
1129
  super(n), this.field = e;
1130
1130
  }
1131
1131
  name = "RequiredError";
1132
1132
  }
1133
- const qn = {
1133
+ const jn = {
1134
1134
  csv: ",",
1135
1135
  ssv: " ",
1136
1136
  tsv: " ",
@@ -1175,7 +1175,7 @@ class it {
1175
1175
  return this.configuration.credentials;
1176
1176
  }
1177
1177
  }
1178
- function jn(i, e) {
1178
+ function zn(i, e) {
1179
1179
  const n = i[e];
1180
1180
  return n != null;
1181
1181
  }
@@ -1189,19 +1189,19 @@ function ot(i, e = "") {
1189
1189
  return r instanceof Date ? `${encodeURIComponent(t)}=${encodeURIComponent(r.toISOString())}` : r instanceof Object ? ot(r, t) : `${encodeURIComponent(t)}=${encodeURIComponent(String(r))}`;
1190
1190
  }).filter((n) => n.length > 0).join("&");
1191
1191
  }
1192
- function zn(i, e) {
1192
+ function Wn(i, e) {
1193
1193
  return Object.keys(i).reduce(
1194
1194
  (n, t) => ({ ...n, [t]: e(i[t]) }),
1195
1195
  {}
1196
1196
  );
1197
1197
  }
1198
- function Wn(i) {
1198
+ function Zn(i) {
1199
1199
  for (const e of i)
1200
1200
  if (e.contentType === "multipart/form-data")
1201
1201
  return !0;
1202
1202
  return !1;
1203
1203
  }
1204
- class P {
1204
+ class L {
1205
1205
  constructor(e, n = (t) => t) {
1206
1206
  this.raw = e, this.transformer = n;
1207
1207
  }
@@ -1209,14 +1209,14 @@ class P {
1209
1209
  return this.transformer(await this.raw.json());
1210
1210
  }
1211
1211
  }
1212
- class Zn {
1212
+ class Jn {
1213
1213
  constructor(e) {
1214
1214
  this.raw = e;
1215
1215
  }
1216
1216
  async value() {
1217
1217
  }
1218
1218
  }
1219
- class Jn {
1219
+ class Xn {
1220
1220
  constructor(e) {
1221
1221
  this.raw = e;
1222
1222
  }
@@ -1232,23 +1232,23 @@ class kn {
1232
1232
  return await this.raw.text();
1233
1233
  }
1234
1234
  }
1235
- const Xn = {
1235
+ const Qn = {
1236
1236
  CreditCard: "CREDIT_CARD"
1237
- }, Qn = {
1238
- Coupon: "COUPON"
1239
1237
  }, er = {
1240
- DepositAccount: "DEPOSIT_ACCOUNT"
1238
+ Coupon: "COUPON"
1241
1239
  }, tr = {
1242
- PayLater: "PAY_LATER"
1240
+ DepositAccount: "DEPOSIT_ACCOUNT"
1243
1241
  }, nr = {
1242
+ PayLater: "PAY_LATER"
1243
+ }, rr = {
1244
1244
  Disabled: "DISABLED",
1245
1245
  Enabled: "ENABLED",
1246
1246
  Forced: "FORCED"
1247
- }, rr = {
1247
+ }, ir = {
1248
1248
  Disabled: "DISABLED",
1249
1249
  Enabled: "ENABLED",
1250
1250
  Forced: "FORCED"
1251
- }, ir = {
1251
+ }, or = {
1252
1252
  Cx: "bkg-cx",
1253
1253
  Cf: "bkg-cf",
1254
1254
  Created: "bkg-created",
@@ -1257,30 +1257,14 @@ const Xn = {
1257
1257
  Pc: "bkg-pc",
1258
1258
  Pp: "bkg-pp",
1259
1259
  Qr: "bkg-qr"
1260
- }, or = {
1261
- DeDe: "de-DE",
1262
- EnUs: "en-US",
1263
- EsEs: "es-ES",
1264
- FrFr: "fr-FR",
1265
- ItIt: "it-IT",
1266
- NlNl: "nl-NL",
1267
- PtPt: "pt-PT"
1268
1260
  }, ar = {
1269
- DeDe: "de-DE",
1270
- EnUs: "en-US",
1271
- EsEs: "es-ES",
1272
- FrFr: "fr-FR",
1273
- ItIt: "it-IT",
1274
- NlNl: "nl-NL",
1275
- PtPt: "pt-PT"
1276
- }, sr = {
1277
1261
  Dr: "dr",
1278
1262
  Mr: "mr",
1279
1263
  Mrs: "mrs",
1280
1264
  Ms: "ms",
1281
1265
  NotSpecified: "notSpecified",
1282
1266
  Prof: "prof"
1283
- }, ur = {
1267
+ }, sr = {
1284
1268
  Ad: "AD",
1285
1269
  Ae: "AE",
1286
1270
  Af: "AF",
@@ -1524,7 +1508,7 @@ const Xn = {
1524
1508
  Za: "ZA",
1525
1509
  Zm: "ZM",
1526
1510
  Zw: "ZW"
1527
- }, cr = {
1511
+ }, ur = {
1528
1512
  Aed: "AED",
1529
1513
  Afn: "AFN",
1530
1514
  All: "ALL",
@@ -1663,7 +1647,7 @@ const Xn = {
1663
1647
  Yer: "YER",
1664
1648
  Zar: "ZAR",
1665
1649
  Zmw: "ZMW"
1666
- }, lr = {
1650
+ }, cr = {
1667
1651
  ApiError: "api_error",
1668
1652
  BadGateway: "bad_gateway",
1669
1653
  InternalServerError: "internal_server_error",
@@ -1673,22 +1657,25 @@ const Xn = {
1673
1657
  ResourceNotFound: "resource_not_found",
1674
1658
  Unauthorized: "unauthorized",
1675
1659
  ValidationError: "validation_error"
1676
- }, fr = {
1660
+ }, lr = {
1677
1661
  Included: "INCLUDED",
1678
1662
  NotIncluded: "NOT_INCLUDED",
1679
1663
  Optional: "OPTIONAL"
1680
- }, dr = {
1664
+ }, fr = {
1681
1665
  BestMatch: "BEST_MATCH",
1682
1666
  Cheapest: "CHEAPEST",
1683
1667
  MatchingRoomCount: "MATCHING_ROOM_COUNT",
1684
1668
  Regular: "REGULAR"
1685
- }, hr = {
1669
+ }, dr = {
1686
1670
  Included: "included",
1687
1671
  NotIncluded: "not_included",
1688
1672
  Unknown: "unknown"
1689
- }, pr = {
1673
+ }, hr = {
1690
1674
  HotelRoom: "HOTEL_ROOM",
1691
1675
  Package: "PACKAGE"
1676
+ }, pr = {
1677
+ CreditNote: "credit_note",
1678
+ Invoice: "invoice"
1692
1679
  }, mr = {
1693
1680
  DeDe: "de-DE",
1694
1681
  EnUs: "en-US",
@@ -1698,28 +1685,25 @@ const Xn = {
1698
1685
  NlNl: "nl-NL",
1699
1686
  PtPt: "pt-PT"
1700
1687
  }, yr = {
1701
- CreditNote: "credit_note",
1702
- Invoice: "invoice"
1703
- }, gr = {
1704
1688
  CreditCard: "CREDIT_CARD"
1705
- }, wr = {
1689
+ }, gr = {
1706
1690
  Coupon: "COUPON"
1707
- }, vr = {
1691
+ }, wr = {
1708
1692
  DepositAccount: "DEPOSIT_ACCOUNT"
1709
- }, Sr = {
1693
+ }, vr = {
1710
1694
  PayLater: "PAY_LATER"
1711
- }, Rr = {
1695
+ }, Sr = {
1712
1696
  Disabled: "DISABLED",
1713
1697
  Enabled: "ENABLED",
1714
1698
  Forced: "FORCED"
1715
- }, Ar = {
1699
+ }, Rr = {
1716
1700
  Coupon: "COUPON",
1717
1701
  CreditCard: "CREDIT_CARD",
1718
1702
  DepositAccount: "DEPOSIT_ACCOUNT"
1719
- }, Cr = {
1703
+ }, Ar = {
1720
1704
  Complete: "COMPLETE",
1721
1705
  InProgress: "IN_PROGRESS"
1722
- }, Er = {
1706
+ }, Cr = {
1723
1707
  Ad: "AD",
1724
1708
  Ae: "AE",
1725
1709
  Af: "AF",
@@ -1963,20 +1947,20 @@ const Xn = {
1963
1947
  Za: "ZA",
1964
1948
  Zm: "ZM",
1965
1949
  Zw: "ZW"
1966
- }, Mr = {
1950
+ }, Er = {
1967
1951
  Night: "PER_NIGHT",
1968
1952
  Stay: "PER_STAY"
1969
- }, Tr = {
1953
+ }, Mr = {
1970
1954
  Adult: "PER_ADULT",
1971
1955
  Booking: "PER_BOOKING"
1972
1956
  };
1973
- class _n extends W {
1957
+ class _n extends z {
1974
1958
  /**
1975
1959
  * Get Booking Policy
1976
1960
  */
1977
1961
  async retrieveRaw(e, n) {
1978
1962
  if (e.id === null || e.id === void 0)
1979
- throw new N("id", "Required parameter requestParameters.id was null or undefined when calling getV1BookingPolicy.");
1963
+ throw new P("id", "Required parameter requestParameters.id was null or undefined when calling getV1BookingPolicy.");
1980
1964
  const t = {}, r = {};
1981
1965
  this.configuration && this.configuration.apiKey && (r["x-api-key"] = this.configuration.apiKey("x-api-key"));
1982
1966
  const s = await this.request({
@@ -1985,7 +1969,7 @@ class _n extends W {
1985
1969
  headers: r,
1986
1970
  query: w(t, v.Snake)
1987
1971
  }, n);
1988
- return await new P(s, (u) => w(u, v.Camel)).value();
1972
+ return await new L(s, (u) => w(u, v.Camel)).value();
1989
1973
  }
1990
1974
  /**
1991
1975
  * Get Booking Policy
@@ -1999,7 +1983,7 @@ class _n extends W {
1999
1983
  */
2000
1984
  async paymentMethodsRaw(e, n) {
2001
1985
  if (e.id === null || e.id === void 0)
2002
- throw new N("id", "Required parameter requestParameters.id was null or undefined when calling getV1BookingPolicyIdPaymentMethods.");
1986
+ throw new P("id", "Required parameter requestParameters.id was null or undefined when calling getV1BookingPolicyIdPaymentMethods.");
2003
1987
  const t = {}, r = {};
2004
1988
  this.configuration && this.configuration.apiKey && (r["x-api-key"] = this.configuration.apiKey("x-api-key"));
2005
1989
  const s = await this.request({
@@ -2008,7 +1992,7 @@ class _n extends W {
2008
1992
  headers: r,
2009
1993
  query: w(t, v.Snake)
2010
1994
  }, n);
2011
- return new P(s, (u) => w(u, v.Camel)).value();
1995
+ return new L(s, (u) => w(u, v.Camel)).value();
2012
1996
  }
2013
1997
  /**
2014
1998
  * Retrieve payment methods for a booking policy
@@ -2031,7 +2015,7 @@ class _n extends W {
2031
2015
  query: w(t, v.Snake),
2032
2016
  body: w(e.bookingPoliciesCreateApi, v.Snake)
2033
2017
  }, n);
2034
- return await new P(s, (u) => w(u, v.Camel)).value();
2018
+ return await new L(s, (u) => w(u, v.Camel)).value();
2035
2019
  }
2036
2020
  /**
2037
2021
  * In order to be able to create and confirm a booking against a specific **Hotel Room Offer** package, you need to make a booking policy call. Retrieving a booking policy returns additional information about the booking being made and includes details like cancellation policies. This API call is equivalent to an availability check and it is important not to let long periods between retrieval of this policy and the booking confirmation call itself as this will often reduce the likelihood of the **Hotel Room Offer** being successfully booked. The **booking_policy_id** returned is meant to be used to carry out a pre-book call via **[Pre Book endpoint](/v1/documentation#operation/postV1Bookings)** on the next **Booking Flow** step. ⚠️ This call may take from 1 second up to 15 seconds to return as we may request various suppliers to fulfill this request.
@@ -2041,21 +2025,21 @@ class _n extends W {
2041
2025
  return this.createRaw(e, n);
2042
2026
  }
2043
2027
  }
2044
- class Dn extends W {
2028
+ class Dn extends z {
2045
2029
  /**
2046
2030
  * Cancel a confirmed Booking. A booking can only be cancelled if it\'s in one of the following status: **bkg-cf**, **bkg-pc**.
2047
2031
  * Cancel a Booking
2048
2032
  */
2049
2033
  async deleteRaw(e, n) {
2050
2034
  if (e.token === null || e.token === void 0)
2051
- throw new N("token", "Required parameter requestParameters.token was null or undefined when calling deleteV1BookingsToken.");
2035
+ throw new P("token", "Required parameter requestParameters.token was null or undefined when calling deleteV1BookingsToken.");
2052
2036
  const t = {}, r = {}, s = await this.request({
2053
2037
  path: "/v1/bookings/{token}".replace("{token}", encodeURIComponent(String(e.token))),
2054
2038
  method: "DELETE",
2055
2039
  headers: r,
2056
2040
  query: w(t, v.Snake)
2057
2041
  }, n);
2058
- return await new P(s, (u) => w(u, v.Camel)).value();
2042
+ return await new L(s, (u) => w(u, v.Camel)).value();
2059
2043
  }
2060
2044
  /**
2061
2045
  * Cancel a confirmed Booking. A booking can only be cancelled if it\'s in one of the following status: **bkg-cf**, **bkg-pc**.
@@ -2079,7 +2063,7 @@ class Dn extends W {
2079
2063
  headers: r,
2080
2064
  query: w(t, v.Snake)
2081
2065
  }, n);
2082
- return await new P(s, (u) => w(u, v.Camel)).value();
2066
+ return await new L(s, (u) => w(u, v.Camel)).value();
2083
2067
  }
2084
2068
  /**
2085
2069
  * Returns a list of detailed bookings made on behalf of a specific API Key credential.
@@ -2094,7 +2078,7 @@ class Dn extends W {
2094
2078
  */
2095
2079
  async retrieveRaw(e, n) {
2096
2080
  if (e.id === null || e.id === void 0)
2097
- throw new N("id", "Required parameter requestParameters.id was null or undefined when calling getV1BookingsId.");
2081
+ throw new P("id", "Required parameter requestParameters.id was null or undefined when calling getV1BookingsId.");
2098
2082
  const t = {}, r = {};
2099
2083
  this.configuration && this.configuration.apiKey && (r["x-api-key"] = this.configuration.apiKey("x-api-key"));
2100
2084
  const s = await this.request({
@@ -2103,7 +2087,7 @@ class Dn extends W {
2103
2087
  headers: r,
2104
2088
  query: w(t, v.Snake)
2105
2089
  }, n);
2106
- return await new P(s, (u) => w(u, v.Camel)).value();
2090
+ return await new L(s, (u) => w(u, v.Camel)).value();
2107
2091
  }
2108
2092
  /**
2109
2093
  * Retrieve the status and information of a booking.
@@ -2118,14 +2102,14 @@ class Dn extends W {
2118
2102
  */
2119
2103
  async retrievePublicRaw(e, n) {
2120
2104
  if (e.token === null || e.token === void 0)
2121
- throw new N("token", "Required parameter requestParameters.token was null or undefined when calling getV1BookingsTokenPublic.");
2105
+ throw new P("token", "Required parameter requestParameters.token was null or undefined when calling getV1BookingsTokenPublic.");
2122
2106
  const t = {}, r = {}, s = await this.request({
2123
2107
  path: "/v1/bookings/{token}/public".replace("{token}", encodeURIComponent(String(e.token))),
2124
2108
  method: "GET",
2125
2109
  headers: r,
2126
2110
  query: w(t, v.Snake)
2127
2111
  }, n);
2128
- return await new P(s, (u) => w(u, v.Camel)).value();
2112
+ return await new L(s, (u) => w(u, v.Camel)).value();
2129
2113
  }
2130
2114
  /**
2131
2115
  * Retrieve the status and information of a booking based on a valid token. This endpoint is public and does not require a secret API key.
@@ -2148,7 +2132,7 @@ class Dn extends W {
2148
2132
  query: w(t, v.Snake),
2149
2133
  body: w(e.bookingCreateApi, v.Snake)
2150
2134
  }, n);
2151
- return await new P(s, (u) => w(u, v.Camel)).value();
2135
+ return await new L(s, (u) => w(u, v.Camel)).value();
2152
2136
  }
2153
2137
  /**
2154
2138
  * Creates an unconfirmed booking
@@ -2163,9 +2147,9 @@ class Dn extends W {
2163
2147
  */
2164
2148
  async couponChargeRaw(e, n) {
2165
2149
  if (e.couponId === null || e.couponId === void 0)
2166
- throw new N("couponId", "Required parameter requestParameters.couponId was null or undefined when calling postV1BookingsIdCouponsCouponIdCharge.");
2150
+ throw new P("couponId", "Required parameter requestParameters.couponId was null or undefined when calling postV1BookingsIdCouponsCouponIdCharge.");
2167
2151
  if (e.id === null || e.id === void 0)
2168
- throw new N("id", "Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdCouponsCouponIdCharge.");
2152
+ throw new P("id", "Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdCouponsCouponIdCharge.");
2169
2153
  const t = {}, r = {};
2170
2154
  this.configuration && this.configuration.apiKey && (r["x-api-key"] = this.configuration.apiKey("x-api-key"));
2171
2155
  const s = await this.request({
@@ -2174,7 +2158,7 @@ class Dn extends W {
2174
2158
  headers: r,
2175
2159
  query: w(t, v.Snake)
2176
2160
  }, n);
2177
- return await new P(s, (u) => w(u, v.Camel)).value();
2161
+ return await new L(s, (u) => w(u, v.Camel)).value();
2178
2162
  }
2179
2163
  /**
2180
2164
  * Confirm booking from Coupon payment method
@@ -2189,7 +2173,7 @@ class Dn extends W {
2189
2173
  */
2190
2174
  async paylaterRaw(e, n) {
2191
2175
  if (e.id === null || e.id === void 0)
2192
- throw new N("id", "Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdPayLater.");
2176
+ throw new P("id", "Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdPayLater.");
2193
2177
  const t = {}, r = {};
2194
2178
  this.configuration && this.configuration.apiKey && (r["x-api-key"] = this.configuration.apiKey("x-api-key"));
2195
2179
  const s = await this.request({
@@ -2198,7 +2182,7 @@ class Dn extends W {
2198
2182
  headers: r,
2199
2183
  query: w(t, v.Snake)
2200
2184
  }, n);
2201
- return await new P(s, (u) => w(u, v.Camel)).value();
2185
+ return await new L(s, (u) => w(u, v.Camel)).value();
2202
2186
  }
2203
2187
  /**
2204
2188
  * Pay later and retrieve the status and information of a booking.
@@ -2213,7 +2197,7 @@ class Dn extends W {
2213
2197
  */
2214
2198
  async confirmpaylaterRaw(e, n) {
2215
2199
  if (e.id === null || e.id === void 0)
2216
- throw new N("id", "Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdPayLaterConfirm.");
2200
+ throw new P("id", "Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdPayLaterConfirm.");
2217
2201
  const t = {}, r = {};
2218
2202
  this.configuration && this.configuration.apiKey && (r["x-api-key"] = this.configuration.apiKey("x-api-key"));
2219
2203
  const s = await this.request({
@@ -2222,7 +2206,7 @@ class Dn extends W {
2222
2206
  headers: r,
2223
2207
  query: w(t, v.Snake)
2224
2208
  }, n);
2225
- return await new P(s, (u) => w(u, v.Camel)).value();
2209
+ return await new L(s, (u) => w(u, v.Camel)).value();
2226
2210
  }
2227
2211
  /**
2228
2212
  * Confirm later paid and retrieve the status and information of a booking.
@@ -2237,7 +2221,7 @@ class Dn extends W {
2237
2221
  */
2238
2222
  async confirmRaw(e, n) {
2239
2223
  if (e.id === null || e.id === void 0)
2240
- throw new N("id", "Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdconfirm.");
2224
+ throw new P("id", "Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdconfirm.");
2241
2225
  const t = {}, r = {};
2242
2226
  this.configuration && this.configuration.apiKey && (r["x-api-key"] = this.configuration.apiKey("x-api-key"));
2243
2227
  const s = await this.request({
@@ -2246,7 +2230,7 @@ class Dn extends W {
2246
2230
  headers: r,
2247
2231
  query: w(t, v.Snake)
2248
2232
  }, n);
2249
- return await new P(s, (u) => w(u, v.Camel)).value();
2233
+ return await new L(s, (u) => w(u, v.Camel)).value();
2250
2234
  }
2251
2235
  /**
2252
2236
  * Trigger the actual booking confirmation process. 💡 This endpoint is only available for Bookings in the **bkg-created** status. ⚠️ The booking confirmation is an asynchronous process. The booking won\'t transition immediatly to **bkg-cf** status. Rather, the endpoint will return a booking in **bkg-ip** and you\'ll be required to check booking status calling **[Get Booking endpoint](/v1/documentation#operation/getV1BookingsId)**, ideally with a polling mechanism, and perform further action(s), whether you need to let your customer know about their booking or you just need to update some data on your system, when booking status transitions to **bkg-cf** (confirmed) or **bkg-af** (fail). ⚠️ Once you have called this endpoint, we immediatly send your confirmation request to our supplier(s) and they may confirm it immediatly, so you\'ll be liable for up to the total booking tax included price amount if you need to cancel it at a later time (refer to the booking\'s cancellation policies to get the actual current penalty percentage applied in case of cancellation).
@@ -2261,7 +2245,7 @@ class Dn extends W {
2261
2245
  */
2262
2246
  async updatePaymentMethodsRaw(e, n) {
2263
2247
  if (e.id === null || e.id === void 0)
2264
- throw new N("id", "Required parameter requestParameters.id was null or undefined when calling putV1BookingsIdPaymentMethods.");
2248
+ throw new P("id", "Required parameter requestParameters.id was null or undefined when calling putV1BookingsIdPaymentMethods.");
2265
2249
  const t = {}, r = {};
2266
2250
  r["Content-Type"] = "application/json", this.configuration && this.configuration.apiKey && (r["x-api-key"] = this.configuration.apiKey("x-api-key"));
2267
2251
  const s = await this.request({
@@ -2271,7 +2255,7 @@ class Dn extends W {
2271
2255
  query: w(t, v.Snake),
2272
2256
  body: w(e.paymentMethodUpdatePayloadApi, v.Snake)
2273
2257
  }, n);
2274
- return await new P(s, (u) => w(u, v.Camel)).value();
2258
+ return await new L(s, (u) => w(u, v.Camel)).value();
2275
2259
  }
2276
2260
  /**
2277
2261
  * Updates an ongoing Booking payment methods
@@ -2281,22 +2265,22 @@ class Dn extends W {
2281
2265
  return this.updatePaymentMethodsRaw(e, n);
2282
2266
  }
2283
2267
  }
2284
- const Or = {
2268
+ const Tr = {
2285
2269
  CheckInDate: "check_in_date",
2286
2270
  CreatedAt: "created_at",
2287
2271
  LastStatusUpdatedAt: "last_status_updated_at"
2288
- }, kr = {
2272
+ }, Or = {
2289
2273
  Asc: "asc",
2290
2274
  Desc: "desc"
2291
2275
  };
2292
- class bn extends W {
2276
+ class bn extends z {
2293
2277
  /**
2294
2278
  * Returns a list of images for an Hotel Id with their content localize into the requested **lang**.
2295
2279
  * Retrieve Images of an Hotel
2296
2280
  */
2297
2281
  async retrieveRaw(e, n) {
2298
2282
  if (e.id === null || e.id === void 0)
2299
- throw new N("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelsIdImages.");
2283
+ throw new P("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelsIdImages.");
2300
2284
  const t = {};
2301
2285
  e.lang !== void 0 && (t.lang = e.lang);
2302
2286
  const r = {};
@@ -2307,7 +2291,7 @@ class bn extends W {
2307
2291
  headers: r,
2308
2292
  query: w(t, v.Snake)
2309
2293
  }, n);
2310
- return new P(s, (u) => w(u, v.Camel)).value();
2294
+ return new L(s, (u) => w(u, v.Camel)).value();
2311
2295
  }
2312
2296
  /**
2313
2297
  * Returns a list of images for an Hotel Id with their content localize into the requested **lang**.
@@ -2317,7 +2301,7 @@ class bn extends W {
2317
2301
  return this.retrieveRaw(e, n);
2318
2302
  }
2319
2303
  }
2320
- const _r = {
2304
+ const kr = {
2321
2305
  DeDe: "de-DE",
2322
2306
  EnUs: "en-US",
2323
2307
  EsEs: "es-ES",
@@ -2326,14 +2310,14 @@ const _r = {
2326
2310
  NlNl: "nl-NL",
2327
2311
  PtPt: "pt-PT"
2328
2312
  };
2329
- class In extends W {
2313
+ class In extends z {
2330
2314
  /**
2331
2315
  * Returns a single Hotel Offer Request by id
2332
2316
  * Retrieve a Single Hotel Offer Request
2333
2317
  */
2334
2318
  async retrieveRaw(e, n) {
2335
2319
  if (e.id === null || e.id === void 0)
2336
- throw new N("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelOfferRequestsId.");
2320
+ throw new P("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelOfferRequestsId.");
2337
2321
  const t = {}, r = {};
2338
2322
  this.configuration && this.configuration.apiKey && (r["x-api-key"] = this.configuration.apiKey("x-api-key"));
2339
2323
  const s = await this.request({
@@ -2342,7 +2326,7 @@ class In extends W {
2342
2326
  headers: r,
2343
2327
  query: w(t, v.Snake)
2344
2328
  }, n);
2345
- return await new P(s, (u) => w(u, v.Camel)).value();
2329
+ return await new L(s, (u) => w(u, v.Camel)).value();
2346
2330
  }
2347
2331
  /**
2348
2332
  * Returns a single Hotel Offer Request by id
@@ -2365,7 +2349,7 @@ class In extends W {
2365
2349
  query: w(t, v.Snake),
2366
2350
  body: w(e.hotelOfferRequestCreateApi, v.Snake)
2367
2351
  }, n);
2368
- return await new P(s, (u) => w(u, v.Camel)).value();
2352
+ return await new L(s, (u) => w(u, v.Camel)).value();
2369
2353
  }
2370
2354
  /**
2371
2355
  * Create an **Hotel Offer Request**. An **Hotel Offer Request** describes the guests (adult and child count), the ideal room count, when they want to check in and check out and obviously the location around which they need their accommodation to be (latitude/longitude pair).
@@ -2375,16 +2359,16 @@ class In extends W {
2375
2359
  return this.createRaw(e, n);
2376
2360
  }
2377
2361
  }
2378
- class Bn extends W {
2362
+ class Bn extends z {
2379
2363
  /**
2380
2364
  * You\'ll then make a call to the **Hotel Offers** endpoint to retrieve a list of **Hotel Offers** associated with your **Hotel Offer Request**. We\'ll send your search to a pool of hotels matching the search parameters you provided previously. The **Hotel Offers** endpoint will return hotels with available rates as **Hotel Room Offers** objects for each hotel in the list. For a detailed overview of the **Hotel Room Offer** object, see **[Retrieve Hotel Room Offers](/v1/documentation#operation/getV1Hotel_room_offers)** endpoint. ⚠️ **IMPORTANT**: The **Hotel Room Offers** included in each **Hotel Offer** returned by the **[Retrieve Hotel Offers](/v1/documentation#operation/getV1Hotel_offers)** endpoint might be **<span style=\"color:red\">cached data</span>**. In that case, the returned prices/availability may be slightly different from actual live inventory. In order to retrieve accurate and live **Hotel Room Offers** for a specific hotel you need to make a call to the **[Retrieve Hotel Room Offers](/v1/documentation#operation/getV1Hotel_room_offers)** endpoint. We do not recommend to systematically call **[Retrieve Hotel Room Offers](/v1/documentation#operation/getV1Hotel_room_offers)** for each hotel offer retrieved as it may trigger rate limiting on your API calls. Rather we recommend to do this as an explicit two-step process: first you check **Hotel Offers** around a location, then, once your customer shows interest in a specific **Hotel Offer**, you check **Hotel Room Offers** on that specific hotel. This endpoint requires ⚛️ **[Polling](/v1/documentation#tag/Polling)**.
2381
2365
  * ⚛️ Retrieve Hotel Offers
2382
2366
  */
2383
2367
  async listRaw(e, n) {
2384
2368
  if (e.currency === null || e.currency === void 0)
2385
- throw new N("currency", "Required parameter requestParameters.currency was null or undefined when calling getV1HotelOffers.");
2369
+ throw new P("currency", "Required parameter requestParameters.currency was null or undefined when calling getV1HotelOffers.");
2386
2370
  if (e.hotelOfferRequestId === null || e.hotelOfferRequestId === void 0)
2387
- throw new N("hotelOfferRequestId", "Required parameter requestParameters.hotelOfferRequestId was null or undefined when calling getV1HotelOffers.");
2371
+ throw new P("hotelOfferRequestId", "Required parameter requestParameters.hotelOfferRequestId was null or undefined when calling getV1HotelOffers.");
2388
2372
  const t = {};
2389
2373
  e.currency !== void 0 && (t.currency = e.currency), e.endingBefore !== void 0 && (t.ending_before = e.endingBefore), e.filterByPrice !== void 0 && (t.filter_by_price = e.filterByPrice), e.filterByReviewRating !== void 0 && (t.filter_by_review_rating = e.filterByReviewRating), e.filterByStar !== void 0 && (t.filter_by_star = e.filterByStar), e.hotelOfferRequestId !== void 0 && (t.hotel_offer_request_id = e.hotelOfferRequestId), e.hotelRoomOffersLimit !== void 0 && (t.hotel_room_offers_limit = e.hotelRoomOffersLimit), e.includeHotelContentDetails !== void 0 && (t.include_hotel_content_details = e.includeHotelContentDetails), e.lang !== void 0 && (t.lang = e.lang), e.limit !== void 0 && (t.limit = e.limit), e.onlyRecommendedHotelOffers !== void 0 && (t.only_recommended_hotel_offers = e.onlyRecommendedHotelOffers), e.priceHistogramStepCount !== void 0 && (t.price_histogram_step_count = e.priceHistogramStepCount), e.sortBy !== void 0 && (t.sort_by = e.sortBy), e.sortByOrder !== void 0 && (t.sort_by_order = e.sortByOrder), e.startingAfter !== void 0 && (t.starting_after = e.startingAfter);
2390
2374
  const r = {};
@@ -2395,7 +2379,7 @@ class Bn extends W {
2395
2379
  headers: r,
2396
2380
  query: w(t, v.Snake)
2397
2381
  }, n);
2398
- return await new P(s, (u) => w(u, v.Camel)).value();
2382
+ return await new L(s, (u) => w(u, v.Camel)).value();
2399
2383
  }
2400
2384
  /**
2401
2385
  * You\'ll then make a call to the **Hotel Offers** endpoint to retrieve a list of **Hotel Offers** associated with your **Hotel Offer Request**. We\'ll send your search to a pool of hotels matching the search parameters you provided previously. The **Hotel Offers** endpoint will return hotels with available rates as **Hotel Room Offers** objects for each hotel in the list. For a detailed overview of the **Hotel Room Offer** object, see **[Retrieve Hotel Room Offers](/v1/documentation#operation/getV1Hotel_room_offers)** endpoint. ⚠️ **IMPORTANT**: The **Hotel Room Offers** included in each **Hotel Offer** returned by the **[Retrieve Hotel Offers](/v1/documentation#operation/getV1Hotel_offers)** endpoint might be **<span style=\"color:red\">cached data</span>**. In that case, the returned prices/availability may be slightly different from actual live inventory. In order to retrieve accurate and live **Hotel Room Offers** for a specific hotel you need to make a call to the **[Retrieve Hotel Room Offers](/v1/documentation#operation/getV1Hotel_room_offers)** endpoint. We do not recommend to systematically call **[Retrieve Hotel Room Offers](/v1/documentation#operation/getV1Hotel_room_offers)** for each hotel offer retrieved as it may trigger rate limiting on your API calls. Rather we recommend to do this as an explicit two-step process: first you check **Hotel Offers** around a location, then, once your customer shows interest in a specific **Hotel Offer**, you check **Hotel Room Offers** on that specific hotel. This endpoint requires ⚛️ **[Polling](/v1/documentation#tag/Polling)**.
@@ -2409,7 +2393,7 @@ class Bn extends W {
2409
2393
  );
2410
2394
  }
2411
2395
  }
2412
- const Dr = {
2396
+ const _r = {
2413
2397
  DeDe: "de-DE",
2414
2398
  EnUs: "en-US",
2415
2399
  EsEs: "es-ES",
@@ -2417,24 +2401,61 @@ const Dr = {
2417
2401
  ItIt: "it-IT",
2418
2402
  NlNl: "nl-NL",
2419
2403
  PtPt: "pt-PT"
2420
- }, br = {
2404
+ }, Dr = {
2421
2405
  Distance: "distance",
2422
2406
  Price: "price",
2423
2407
  Rating: "rating",
2424
2408
  ReviewRating: "review_rating",
2425
2409
  TopPicks: "top_picks"
2426
- }, Ir = {
2410
+ }, br = {
2427
2411
  Asc: "asc",
2428
2412
  Desc: "desc"
2429
2413
  };
2430
- class Ln extends W {
2414
+ class xn extends z {
2415
+ /**
2416
+ * Returns a list of images for an Hotel Room OfferId with their content localize into the requested **lang**.
2417
+ * Retrieve Images of an Hotel Room Offer
2418
+ */
2419
+ async retrieveRaw(e, n) {
2420
+ if (e.id === null || e.id === void 0)
2421
+ throw new P("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelRoomOffersIdImages.");
2422
+ const t = {};
2423
+ e.lang !== void 0 && (t.lang = e.lang);
2424
+ const r = {};
2425
+ this.configuration && this.configuration.apiKey && (r["x-api-key"] = this.configuration.apiKey("x-api-key"));
2426
+ const s = await this.request({
2427
+ path: "/v1/hotel_room_offers/{id}/images".replace("{id}", encodeURIComponent(String(e.id))),
2428
+ method: "GET",
2429
+ headers: r,
2430
+ query: w(t, v.Snake)
2431
+ }, n);
2432
+ return await new L(s, (u) => w(u, v.Camel)).value();
2433
+ }
2434
+ /**
2435
+ * Returns a list of images for an Hotel Room OfferId with their content localize into the requested **lang**.
2436
+ * Retrieve Images of an Hotel Room Offer
2437
+ */
2438
+ async retrieve(e, n) {
2439
+ return this.retrieveRaw(e, n);
2440
+ }
2441
+ }
2442
+ const Ir = {
2443
+ DeDe: "de-DE",
2444
+ EnUs: "en-US",
2445
+ EsEs: "es-ES",
2446
+ FrFr: "fr-FR",
2447
+ ItIt: "it-IT",
2448
+ NlNl: "nl-NL",
2449
+ PtPt: "pt-PT"
2450
+ };
2451
+ class Ln extends z {
2431
2452
  /**
2432
2453
  * Returns a single Hotel Room Offer Request by id
2433
2454
  * Retrieve a Single Hotel Room Offer Request
2434
2455
  */
2435
2456
  async retrieveRaw(e, n) {
2436
2457
  if (e.id === null || e.id === void 0)
2437
- throw new N("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelRoomOfferRequestsId.");
2458
+ throw new P("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelRoomOfferRequestsId.");
2438
2459
  const t = {}, r = {};
2439
2460
  this.configuration && this.configuration.apiKey && (r["x-api-key"] = this.configuration.apiKey("x-api-key"));
2440
2461
  const s = await this.request({
@@ -2443,7 +2464,7 @@ class Ln extends W {
2443
2464
  headers: r,
2444
2465
  query: w(t, v.Snake)
2445
2466
  }, n);
2446
- return await new P(s, (u) => w(u, v.Camel)).value();
2467
+ return await new L(s, (u) => w(u, v.Camel)).value();
2447
2468
  }
2448
2469
  /**
2449
2470
  * Returns a single Hotel Room Offer Request by id
@@ -2466,7 +2487,7 @@ class Ln extends W {
2466
2487
  query: w(t, v.Snake),
2467
2488
  body: w(e.hotelRoomOfferRequestCreateApi, v.Snake)
2468
2489
  }, n);
2469
- return await new P(s, (u) => w(u, v.Camel)).value();
2490
+ return await new L(s, (u) => w(u, v.Camel)).value();
2470
2491
  }
2471
2492
  /**
2472
2493
  * To check available rates, or **Hotel Room Offers**, at a specific hotel, you first need to create an **Hotel Room Offer Request**. An **Hotel Room Offer Request** describes the guests (adult and child count), the ideal room count, when they want to check in and check out and the id of the hotel you want to check available rates at.
@@ -2476,16 +2497,16 @@ class Ln extends W {
2476
2497
  return this.createRaw(e, n);
2477
2498
  }
2478
2499
  }
2479
- class xn extends W {
2500
+ class Pn extends z {
2480
2501
  /**
2481
2502
  * You\'ll make a call to the **Hotel Room Offers** endpoint in order to get a list of **Hotel Room Offers** resulting from your **Hotel Room Offer Request** parameters. We\'ll send your rate check request to the specific hotel matching the hotel ID you provided previously and the **Hotel Room Offers** endpoint will return the available rates at this specific hotel. An **Hotel Room Offer** describes hotel rooms: prices, remaining count available (when applicable), details about the room itself (e.g., beds, etc) and other information you\'ll find below. ⚠️ **Cancellation Policies** attached to each **Hotel Room Offer** returned by this endpoint will most likely be **<span style=\"color:red\">cached data</span>** and should not be considered as accurate, although in most case they will reflect the actual/live ones. In order to retrieve accurate and live **Cancellation Policies** for a specific **Hotel Room Offer** you need to make a call to the **[Create Booking Policies endpoint](/v1/documentation#operation/postV1Booking_policies)**. However, we do not recommend to systematically call **[Create Booking Policies endpoint](/v1/documentation#operation/postV1Booking_policies)** for each **Hotel Room Offer** retrieved as it will most likely trigger rate limiting on your API calls. Rather we recommend to do this as an explicit two-step process: first you check **Hotel Room Offers**, then, once your customer shows interest in a specific **Hotel Room Offer**, you make the call to the **[Create Booking Policies endpoint](/v1/documentation#operation/postV1Booking_policies)** on behalf of your customer. This endpoint requires ⚛️ **[Polling](/v1/documentation#tag/Polling)**.
2482
2503
  * ⚛️ Retrieve Hotel Room Offers
2483
2504
  */
2484
2505
  async listRaw(e, n) {
2485
2506
  if (e.currency === null || e.currency === void 0)
2486
- throw new N("currency", "Required parameter requestParameters.currency was null or undefined when calling getV1HotelRoomOffers.");
2507
+ throw new P("currency", "Required parameter requestParameters.currency was null or undefined when calling getV1HotelRoomOffers.");
2487
2508
  if (e.hotelRoomOfferRequestId === null || e.hotelRoomOfferRequestId === void 0)
2488
- throw new N("hotelRoomOfferRequestId", "Required parameter requestParameters.hotelRoomOfferRequestId was null or undefined when calling getV1HotelRoomOffers.");
2509
+ throw new P("hotelRoomOfferRequestId", "Required parameter requestParameters.hotelRoomOfferRequestId was null or undefined when calling getV1HotelRoomOffers.");
2489
2510
  const t = {};
2490
2511
  e.currency !== void 0 && (t.currency = e.currency), e.hotelRoomOfferRequestId !== void 0 && (t.hotel_room_offer_request_id = e.hotelRoomOfferRequestId), e.lang !== void 0 && (t.lang = e.lang), e.limit !== void 0 && (t.limit = e.limit);
2491
2512
  const r = {};
@@ -2496,7 +2517,7 @@ class xn extends W {
2496
2517
  headers: r,
2497
2518
  query: w(t, v.Snake)
2498
2519
  }, n);
2499
- return await new P(s, (u) => w(u, v.Camel)).value();
2520
+ return await new L(s, (u) => w(u, v.Camel)).value();
2500
2521
  }
2501
2522
  /**
2502
2523
  * You\'ll make a call to the **Hotel Room Offers** endpoint in order to get a list of **Hotel Room Offers** resulting from your **Hotel Room Offer Request** parameters. We\'ll send your rate check request to the specific hotel matching the hotel ID you provided previously and the **Hotel Room Offers** endpoint will return the available rates at this specific hotel. An **Hotel Room Offer** describes hotel rooms: prices, remaining count available (when applicable), details about the room itself (e.g., beds, etc) and other information you\'ll find below. ⚠️ **Cancellation Policies** attached to each **Hotel Room Offer** returned by this endpoint will most likely be **<span style=\"color:red\">cached data</span>** and should not be considered as accurate, although in most case they will reflect the actual/live ones. In order to retrieve accurate and live **Cancellation Policies** for a specific **Hotel Room Offer** you need to make a call to the **[Create Booking Policies endpoint](/v1/documentation#operation/postV1Booking_policies)**. However, we do not recommend to systematically call **[Create Booking Policies endpoint](/v1/documentation#operation/postV1Booking_policies)** for each **Hotel Room Offer** retrieved as it will most likely trigger rate limiting on your API calls. Rather we recommend to do this as an explicit two-step process: first you check **Hotel Room Offers**, then, once your customer shows interest in a specific **Hotel Room Offer**, you make the call to the **[Create Booking Policies endpoint](/v1/documentation#operation/postV1Booking_policies)** on behalf of your customer. This endpoint requires ⚛️ **[Polling](/v1/documentation#tag/Polling)**.
@@ -2523,7 +2544,7 @@ class xn extends W {
2523
2544
  query: w(t, v.Snake),
2524
2545
  body: w(e.hotelRoomOffersCreateApi, v.Snake)
2525
2546
  }, n);
2526
- return await new P(s, (u) => w(u, v.Camel)).value();
2547
+ return await new L(s, (u) => w(u, v.Camel)).value();
2527
2548
  }
2528
2549
  /**
2529
2550
  * This enpoint creates a new **Hotel Room Offer** based on previously fetched **Hotel Room Offer(s)** and may be used for the following purposes: - Check a specific **Hotel Room Offer** live availability - Create a new **Hotel Room Offer** with **type = \"PACKAGE\"** based on multiple **Hotel Room Offers** where **type = \"HOTEL_ROOM\"** and be able to call **[Create Booking Policies endpoint](/v1/documentation#operation/postV1Booking_policies)** with it - Update an existing **Hotel Room Offer** with **type = \"PACKAGE\"** in order to include extra option(s) like breakfast in the returned price. We strongly recommend to make use of this endpoint if you want to offer some kind of Shopping Cart experience to your customer when **[Retrieve HotelRoom Offers endpoint](/v1/documentation#operation/getV1Hotel_room_offers)** returns multiple **Hotel Room Offers** with **type = \"HOTEL_ROOM\"**.
@@ -2542,16 +2563,16 @@ const Br = {
2542
2563
  NlNl: "nl-NL",
2543
2564
  PtPt: "pt-PT"
2544
2565
  };
2545
- class Pn extends W {
2566
+ class $n extends z {
2546
2567
  /**
2547
2568
  * Delete a hotel rooming list guest from a booking based on a valid token. This endpoint is public and does not require a secret API key.
2548
2569
  * Delete Hotel Room List Guest
2549
2570
  */
2550
2571
  async deleteRaw(e, n) {
2551
2572
  if (e.id === null || e.id === void 0)
2552
- throw new N("id", "Required parameter requestParameters.id was null or undefined when calling deleteV1HotelRoomingListGuestsTokenId.");
2573
+ throw new P("id", "Required parameter requestParameters.id was null or undefined when calling deleteV1HotelRoomingListGuestsTokenId.");
2553
2574
  if (e.token === null || e.token === void 0)
2554
- throw new N("token", "Required parameter requestParameters.token was null or undefined when calling deleteV1HotelRoomingListGuestsTokenId.");
2575
+ throw new P("token", "Required parameter requestParameters.token was null or undefined when calling deleteV1HotelRoomingListGuestsTokenId.");
2555
2576
  const t = {}, r = {}, s = await this.request({
2556
2577
  path: "/v1/hotel_rooming_list_guests/{token}/{id}".replace("{id}", encodeURIComponent(String(e.id))).replace("{token}", encodeURIComponent(String(e.token))),
2557
2578
  method: "DELETE",
@@ -2573,9 +2594,9 @@ class Pn extends W {
2573
2594
  */
2574
2595
  async updateRaw(e, n) {
2575
2596
  if (e.id === null || e.id === void 0)
2576
- throw new N("id", "Required parameter requestParameters.id was null or undefined when calling patchV1HotelRoomingListGuestsTokenId.");
2597
+ throw new P("id", "Required parameter requestParameters.id was null or undefined when calling patchV1HotelRoomingListGuestsTokenId.");
2577
2598
  if (e.token === null || e.token === void 0)
2578
- throw new N("token", "Required parameter requestParameters.token was null or undefined when calling patchV1HotelRoomingListGuestsTokenId.");
2599
+ throw new P("token", "Required parameter requestParameters.token was null or undefined when calling patchV1HotelRoomingListGuestsTokenId.");
2579
2600
  const t = {}, r = {};
2580
2601
  r["Content-Type"] = "application/json";
2581
2602
  const s = await this.request({
@@ -2585,7 +2606,7 @@ class Pn extends W {
2585
2606
  query: w(t, v.Snake),
2586
2607
  body: w(e.hotelRoomingListGuestsUpdateApi, v.Snake)
2587
2608
  }, n);
2588
- return await new P(s, (u) => w(u, v.Camel)).value();
2609
+ return await new L(s, (u) => w(u, v.Camel)).value();
2589
2610
  }
2590
2611
  /**
2591
2612
  * Update a hotel rooming list guest from a booking based on a valid token. This endpoint is public and does not require a secret API key.
@@ -2600,7 +2621,7 @@ class Pn extends W {
2600
2621
  */
2601
2622
  async createRaw(e, n) {
2602
2623
  if (e.token === null || e.token === void 0)
2603
- throw new N("token", "Required parameter requestParameters.token was null or undefined when calling postV1HotelRoomingListGuestsToken.");
2624
+ throw new P("token", "Required parameter requestParameters.token was null or undefined when calling postV1HotelRoomingListGuestsToken.");
2604
2625
  const t = {}, r = {};
2605
2626
  r["Content-Type"] = "application/json";
2606
2627
  const s = await this.request({
@@ -2610,7 +2631,7 @@ class Pn extends W {
2610
2631
  query: w(t, v.Snake),
2611
2632
  body: w(e.hotelRoomingListGuestsCreateApi, v.Snake)
2612
2633
  }, n);
2613
- return await new P(s, (u) => w(u, v.Camel)).value();
2634
+ return await new L(s, (u) => w(u, v.Camel)).value();
2614
2635
  }
2615
2636
  /**
2616
2637
  * Create a new hotel rooming list guest to a booking based on a valid token. This endpoint is public and does not require a secret API key.
@@ -2620,14 +2641,14 @@ class Pn extends W {
2620
2641
  return this.createRaw(e, n);
2621
2642
  }
2622
2643
  }
2623
- class Nn extends W {
2644
+ class Nn extends z {
2624
2645
  /**
2625
2646
  * Get Hotel Rooming Lists of a booking. This endpoint is public and does not require a secret API key.
2626
2647
  * Get Hotel Rooming Lists for a booking
2627
2648
  */
2628
2649
  async listRaw(e, n) {
2629
2650
  if (e.token === null || e.token === void 0)
2630
- throw new N("token", "Required parameter requestParameters.token was null or undefined when calling getV1HotelRoomingListsToken.");
2651
+ throw new P("token", "Required parameter requestParameters.token was null or undefined when calling getV1HotelRoomingListsToken.");
2631
2652
  const t = {};
2632
2653
  e.lang !== void 0 && (t.lang = e.lang);
2633
2654
  const r = {}, s = await this.request({
@@ -2636,7 +2657,7 @@ class Nn extends W {
2636
2657
  headers: r,
2637
2658
  query: w(t, v.Snake)
2638
2659
  }, n);
2639
- return new P(s, (u) => w(u, v.Camel)).value();
2660
+ return new L(s, (u) => w(u, v.Camel)).value();
2640
2661
  }
2641
2662
  /**
2642
2663
  * Get Hotel Rooming Lists of a booking. This endpoint is public and does not require a secret API key.
@@ -2646,7 +2667,7 @@ class Nn extends W {
2646
2667
  return this.listRaw(e, n);
2647
2668
  }
2648
2669
  }
2649
- const Lr = {
2670
+ const xr = {
2650
2671
  DeDe: "de-DE",
2651
2672
  EnUs: "en-US",
2652
2673
  EsEs: "es-ES",
@@ -2655,14 +2676,14 @@ const Lr = {
2655
2676
  NlNl: "nl-NL",
2656
2677
  PtPt: "pt-PT"
2657
2678
  };
2658
- class $n extends W {
2679
+ class Un extends z {
2659
2680
  /**
2660
2681
  * Returns a single Hotel by id with their content localize into the requested **lang**.
2661
2682
  * Retrieve a Hotel
2662
2683
  */
2663
2684
  async retrieveRaw(e, n) {
2664
2685
  if (e.id === null || e.id === void 0)
2665
- throw new N("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelsId.");
2686
+ throw new P("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelsId.");
2666
2687
  const t = {};
2667
2688
  e.event !== void 0 && (t.event = e.event), e.lang !== void 0 && (t.lang = e.lang);
2668
2689
  const r = {};
@@ -2673,7 +2694,7 @@ class $n extends W {
2673
2694
  headers: r,
2674
2695
  query: w(t, v.Snake)
2675
2696
  }, n);
2676
- return await new P(s, (u) => w(u, v.Camel)).value();
2697
+ return await new L(s, (u) => w(u, v.Camel)).value();
2677
2698
  }
2678
2699
  /**
2679
2700
  * Returns a single Hotel by id with their content localize into the requested **lang**.
@@ -2683,7 +2704,7 @@ class $n extends W {
2683
2704
  return this.retrieveRaw(e, n);
2684
2705
  }
2685
2706
  }
2686
- const xr = {
2707
+ const Lr = {
2687
2708
  DeDe: "de-DE",
2688
2709
  EnUs: "en-US",
2689
2710
  EsEs: "es-ES",
@@ -2693,7 +2714,7 @@ const xr = {
2693
2714
  PtPt: "pt-PT"
2694
2715
  };
2695
2716
  var ue = { exports: {} }, Ze;
2696
- function Un() {
2717
+ function Gn() {
2697
2718
  return Ze || (Ze = 1, (function(i, e) {
2698
2719
  var n = typeof globalThis < "u" && globalThis || typeof self < "u" && self || typeof se < "u" && se, t = (function() {
2699
2720
  function s() {
@@ -2819,7 +2840,7 @@ function Un() {
2819
2840
  var a = new FileReader(), f = I(a), l = /charset=([A-Za-z0-9_-]+)/.exec(o.type), g = l ? l[1] : "utf-8";
2820
2841
  return a.readAsText(o, g), f;
2821
2842
  }
2822
- function $(o) {
2843
+ function N(o) {
2823
2844
  for (var a = new Uint8Array(o), f = new Array(a.length), l = 0; l < a.length; l++)
2824
2845
  f[l] = String.fromCharCode(a[l]);
2825
2846
  return f.join("");
@@ -2865,20 +2886,20 @@ function Un() {
2865
2886
  if (this._bodyBlob)
2866
2887
  return _(this._bodyBlob);
2867
2888
  if (this._bodyArrayBuffer)
2868
- return Promise.resolve($(this._bodyArrayBuffer));
2889
+ return Promise.resolve(N(this._bodyArrayBuffer));
2869
2890
  if (this._bodyFormData)
2870
2891
  throw new Error("could not read FormData body as text");
2871
2892
  return Promise.resolve(this._bodyText);
2872
2893
  }, h.formData && (this.formData = function() {
2873
- return this.text().then(L);
2894
+ return this.text().then(x);
2874
2895
  }), this.json = function() {
2875
2896
  return this.text().then(JSON.parse);
2876
2897
  }, this;
2877
2898
  }
2878
- var F = ["CONNECT", "DELETE", "GET", "HEAD", "OPTIONS", "PATCH", "POST", "PUT", "TRACE"];
2879
- function K(o) {
2899
+ var K = ["CONNECT", "DELETE", "GET", "HEAD", "OPTIONS", "PATCH", "POST", "PUT", "TRACE"];
2900
+ function F(o) {
2880
2901
  var a = o.toUpperCase();
2881
- return F.indexOf(a) > -1 ? a : o;
2902
+ return K.indexOf(a) > -1 ? a : o;
2882
2903
  }
2883
2904
  function U(o, a) {
2884
2905
  if (!(this instanceof U))
@@ -2891,7 +2912,7 @@ function Un() {
2891
2912
  this.url = o.url, this.credentials = o.credentials, a.headers || (this.headers = new d(o.headers)), this.method = o.method, this.mode = o.mode, this.signal = o.signal, !f && o._bodyInit != null && (f = o._bodyInit, o.bodyUsed = !0);
2892
2913
  } else
2893
2914
  this.url = String(o);
2894
- if (this.credentials = a.credentials || this.credentials || "same-origin", (a.headers || !this.headers) && (this.headers = new d(a.headers)), this.method = K(a.method || this.method || "GET"), this.mode = a.mode || this.mode || null, this.signal = a.signal || this.signal || (function() {
2915
+ if (this.credentials = a.credentials || this.credentials || "same-origin", (a.headers || !this.headers) && (this.headers = new d(a.headers)), this.method = F(a.method || this.method || "GET"), this.mode = a.mode || this.mode || null, this.signal = a.signal || this.signal || (function() {
2895
2916
  if ("AbortController" in c) {
2896
2917
  var p = new AbortController();
2897
2918
  return p.signal;
@@ -2911,7 +2932,7 @@ function Un() {
2911
2932
  U.prototype.clone = function() {
2912
2933
  return new U(this, { body: this._bodyInit });
2913
2934
  };
2914
- function L(o) {
2935
+ function x(o) {
2915
2936
  var a = new FormData();
2916
2937
  return o.trim().split("&").forEach(function(f) {
2917
2938
  if (f) {
@@ -2931,36 +2952,36 @@ function Un() {
2931
2952
  var D = g.join(":").trim();
2932
2953
  try {
2933
2954
  a.append(p, D);
2934
- } catch (x) {
2935
- console.warn("Response " + x.message);
2955
+ } catch ($) {
2956
+ console.warn("Response " + $.message);
2936
2957
  }
2937
2958
  }
2938
2959
  }), a;
2939
2960
  }
2940
2961
  B.call(U.prototype);
2941
- function V(o, a) {
2942
- if (!(this instanceof V))
2962
+ function Y(o, a) {
2963
+ if (!(this instanceof Y))
2943
2964
  throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
2944
2965
  if (a || (a = {}), this.type = "default", this.status = a.status === void 0 ? 200 : a.status, this.status < 200 || this.status > 599)
2945
2966
  throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");
2946
2967
  this.ok = this.status >= 200 && this.status < 300, this.statusText = a.statusText === void 0 ? "" : "" + a.statusText, this.headers = new d(a.headers), this.url = a.url || "", this._initBody(o);
2947
2968
  }
2948
- B.call(V.prototype), V.prototype.clone = function() {
2949
- return new V(this._bodyInit, {
2969
+ B.call(Y.prototype), Y.prototype.clone = function() {
2970
+ return new Y(this._bodyInit, {
2950
2971
  status: this.status,
2951
2972
  statusText: this.statusText,
2952
2973
  headers: new d(this.headers),
2953
2974
  url: this.url
2954
2975
  });
2955
- }, V.error = function() {
2956
- var o = new V(null, { status: 200, statusText: "" });
2976
+ }, Y.error = function() {
2977
+ var o = new Y(null, { status: 200, statusText: "" });
2957
2978
  return o.ok = !1, o.status = 0, o.type = "error", o;
2958
2979
  };
2959
2980
  var oe = [301, 302, 303, 307, 308];
2960
- V.redirect = function(o, a) {
2981
+ Y.redirect = function(o, a) {
2961
2982
  if (oe.indexOf(a) === -1)
2962
2983
  throw new RangeError("Invalid status code");
2963
- return new V(null, { status: a, headers: { location: o } });
2984
+ return new Y(null, { status: a, headers: { location: o } });
2964
2985
  }, u.DOMException = c.DOMException;
2965
2986
  try {
2966
2987
  new u.DOMException();
@@ -2988,7 +3009,7 @@ function Un() {
2988
3009
  g.url.indexOf("file://") === 0 && (p.status < 200 || p.status > 599) ? k.status = 200 : k.status = p.status, k.url = "responseURL" in p ? p.responseURL : k.headers.get("X-Request-URL");
2989
3010
  var H = "response" in p ? p.response : p.responseText;
2990
3011
  setTimeout(function() {
2991
- f(new V(H, k));
3012
+ f(new Y(H, k));
2992
3013
  }, 0);
2993
3014
  }, p.onerror = function() {
2994
3015
  setTimeout(function() {
@@ -3003,14 +3024,14 @@ function Un() {
3003
3024
  l(new u.DOMException("Aborted", "AbortError"));
3004
3025
  }, 0);
3005
3026
  };
3006
- function x(k) {
3027
+ function $(k) {
3007
3028
  try {
3008
3029
  return k === "" && c.location.href ? c.location.href : k;
3009
3030
  } catch {
3010
3031
  return k;
3011
3032
  }
3012
3033
  }
3013
- if (p.open(g.method, x(g.url), !0), g.credentials === "include" ? p.withCredentials = !0 : g.credentials === "omit" && (p.withCredentials = !1), "responseType" in p && (h.blob ? p.responseType = "blob" : h.arrayBuffer && (p.responseType = "arraybuffer")), a && typeof a.headers == "object" && !(a.headers instanceof d || c.Headers && a.headers instanceof c.Headers)) {
3034
+ if (p.open(g.method, $(g.url), !0), g.credentials === "include" ? p.withCredentials = !0 : g.credentials === "omit" && (p.withCredentials = !1), "responseType" in p && (h.blob ? p.responseType = "blob" : h.arrayBuffer && (p.responseType = "arraybuffer")), a && typeof a.headers == "object" && !(a.headers instanceof d || c.Headers && a.headers instanceof c.Headers)) {
3014
3035
  var G = [];
3015
3036
  Object.getOwnPropertyNames(a.headers).forEach(function(k) {
3016
3037
  G.push(m(k)), p.setRequestHeader(k, C(a.headers[k]));
@@ -3026,27 +3047,28 @@ function Un() {
3026
3047
  }), p.send(typeof g._bodyInit > "u" ? null : g._bodyInit);
3027
3048
  });
3028
3049
  }
3029
- return R.polyfill = !0, c.fetch || (c.fetch = R, c.Headers = d, c.Request = U, c.Response = V), u.Headers = d, u.Request = U, u.Response = V, u.fetch = R, u;
3050
+ return R.polyfill = !0, c.fetch || (c.fetch = R, c.Headers = d, c.Request = U, c.Response = Y), u.Headers = d, u.Request = U, u.Response = Y, u.fetch = R, u;
3030
3051
  })({});
3031
3052
  })(t), t.fetch.ponyfill = !0, delete t.fetch.polyfill;
3032
3053
  var r = n.fetch ? n : t;
3033
3054
  e = r.fetch, e.default = r.fetch, e.fetch = r.fetch, e.Headers = r.Headers, e.Request = r.Request, e.Response = r.Response, i.exports = e;
3034
3055
  })(ue, ue.exports)), ue.exports;
3035
3056
  }
3036
- var Gn = Un();
3037
- const Hn = /* @__PURE__ */ j(Gn), Fn = (i) => ({
3057
+ var Hn = Gn();
3058
+ const Kn = /* @__PURE__ */ j(Hn), Fn = (i) => ({
3038
3059
  bookingPolicies: new _n(i),
3039
3060
  bookings: new Dn(i),
3040
3061
  hotelImages: new bn(i),
3041
3062
  hotelOfferRequests: new In(i),
3042
3063
  hotelOffers: new Bn(i),
3064
+ hotelRoomOfferImages: new xn(i),
3043
3065
  hotelRoomOfferRequests: new Ln(i),
3044
- hotelRoomOffers: new xn(i),
3045
- hotelRoomingListGuests: new Pn(i),
3066
+ hotelRoomOffers: new Pn(i),
3067
+ hotelRoomingListGuests: new $n(i),
3046
3068
  hotelRoomingLists: new Nn(i),
3047
- hotels: new $n(i)
3069
+ hotels: new Un(i)
3048
3070
  });
3049
- function Kn(i) {
3071
+ function Vn(i) {
3050
3072
  switch (i) {
3051
3073
  case ee.Production:
3052
3074
  return "AUTH_TOKEN";
@@ -3064,7 +3086,7 @@ function Kn(i) {
3064
3086
  }
3065
3087
  function at(i) {
3066
3088
  return !!(typeof document < "u" && document?.cookie && document.cookie.split(";").find(
3067
- (t) => t.includes(Kn(i))
3089
+ (t) => t.includes(Vn(i))
3068
3090
  ));
3069
3091
  }
3070
3092
  class Yn {
@@ -3076,7 +3098,7 @@ class Yn {
3076
3098
  return e.init.mode = "cors", at(this.config.apiEnvironment) && (e.init.credentials = "include"), e;
3077
3099
  }
3078
3100
  }
3079
- class Vn {
3101
+ class qn {
3080
3102
  constructor(e) {
3081
3103
  this.config = e;
3082
3104
  }
@@ -3108,11 +3130,11 @@ class Pr {
3108
3130
  t === ee.Local && process.env.BOOKING_API_BASE_URL && (r = process.env.BOOKING_API_BASE_URL);
3109
3131
  const s = new it({
3110
3132
  basePath: r,
3111
- fetchApi: Hn,
3133
+ fetchApi: Kn,
3112
3134
  headers: n,
3113
3135
  middleware: [
3114
3136
  new Yn(this.config),
3115
- new Vn(this.config)
3137
+ new qn(this.config)
3116
3138
  ]
3117
3139
  });
3118
3140
  this.apiVersionsToClient = {
@@ -3120,11 +3142,14 @@ class Pr {
3120
3142
  };
3121
3143
  }
3122
3144
  apiVersionsToClient;
3145
+ get bookingPolicies() {
3146
+ return this.apiVersionsToClient[this.config.apiVersion].bookingPolicies;
3147
+ }
3123
3148
  get bookings() {
3124
3149
  return this.apiVersionsToClient[this.config.apiVersion].bookings;
3125
3150
  }
3126
- get bookingPolicies() {
3127
- return this.apiVersionsToClient[this.config.apiVersion].bookingPolicies;
3151
+ get hotelImages() {
3152
+ return this.apiVersionsToClient[this.config.apiVersion].hotelImages;
3128
3153
  }
3129
3154
  get hotelOfferRequests() {
3130
3155
  return this.apiVersionsToClient[this.config.apiVersion].hotelOfferRequests;
@@ -3132,88 +3157,88 @@ class Pr {
3132
3157
  get hotelOffers() {
3133
3158
  return this.apiVersionsToClient[this.config.apiVersion].hotelOffers;
3134
3159
  }
3135
- get hotelRoomOfferRequests() {
3136
- return this.apiVersionsToClient[this.config.apiVersion].hotelRoomOfferRequests;
3137
- }
3138
- get hotelRoomOffers() {
3139
- return this.apiVersionsToClient[this.config.apiVersion].hotelRoomOffers;
3140
- }
3141
3160
  get hotelRoomingListGuests() {
3142
3161
  return this.apiVersionsToClient[this.config.apiVersion].hotelRoomingListGuests;
3143
3162
  }
3144
3163
  get hotelRoomingLists() {
3145
3164
  return this.apiVersionsToClient[this.config.apiVersion].hotelRoomingLists;
3146
3165
  }
3166
+ get hotelRoomOfferImages() {
3167
+ return this.apiVersionsToClient[this.config.apiVersion].hotelRoomOfferImages;
3168
+ }
3169
+ get hotelRoomOfferRequests() {
3170
+ return this.apiVersionsToClient[this.config.apiVersion].hotelRoomOfferRequests;
3171
+ }
3172
+ get hotelRoomOffers() {
3173
+ return this.apiVersionsToClient[this.config.apiVersion].hotelRoomOffers;
3174
+ }
3147
3175
  get hotels() {
3148
3176
  return this.apiVersionsToClient[this.config.apiVersion].hotels;
3149
3177
  }
3150
- get hotelImages() {
3151
- return this.apiVersionsToClient[this.config.apiVersion].hotelImages;
3152
- }
3153
3178
  }
3154
3179
  export {
3155
- Qn as AllowedPaymentMethodApiOneOf1NameEnum,
3156
- er as AllowedPaymentMethodApiOneOf2NameEnum,
3157
- tr as AllowedPaymentMethodApiOneOf3NameEnum,
3158
- nr as AllowedPaymentMethodApiOneOf3PayloadStatusEnum,
3159
- Xn as AllowedPaymentMethodApiOneOfNameEnum,
3180
+ er as AllowedPaymentMethodApiOneOf1NameEnum,
3181
+ tr as AllowedPaymentMethodApiOneOf2NameEnum,
3182
+ nr as AllowedPaymentMethodApiOneOf3NameEnum,
3183
+ rr as AllowedPaymentMethodApiOneOf3PayloadStatusEnum,
3184
+ Qn as AllowedPaymentMethodApiOneOfNameEnum,
3160
3185
  Pr as ApiClient,
3161
3186
  Mn as BASE_PATH,
3162
- W as BaseAPI,
3163
- Jn as BlobApiResponse,
3164
- rr as BookingApiPayLaterEnum,
3165
- ir as BookingApiStatusEnum,
3187
+ z as BaseAPI,
3188
+ Xn as BlobApiResponse,
3189
+ ir as BookingApiPayLaterEnum,
3190
+ or as BookingApiStatusEnum,
3166
3191
  _n as BookingPolicies,
3167
- or as BookingPoliciesCreateApiLangEnum,
3168
3192
  Dn as Bookings,
3169
- Or as BookingsSortByEnum,
3170
- kr as BookingsSortByOrderEnum,
3171
- qn as COLLECTION_FORMATS,
3193
+ Tr as BookingsSortByEnum,
3194
+ Or as BookingsSortByOrderEnum,
3195
+ jn as COLLECTION_FORMATS,
3172
3196
  it as Configuration,
3173
- ar as ContactPersonApiLangEnum,
3174
- sr as ContactPersonApiSalutationEnum,
3175
- ur as CountryIso2Code,
3176
- cr as CurrencyBookingApiClient,
3177
- lr as ErrorApiResponseTypeEnum,
3197
+ ar as ContactPersonApiSalutationEnum,
3198
+ sr as CountryIso2Code,
3199
+ ur as CurrencyClient,
3200
+ cr as ErrorApiResponseTypeEnum,
3178
3201
  bn as HotelImages,
3179
- _r as HotelImagesLangEnum,
3202
+ kr as HotelImagesLangEnum,
3180
3203
  In as HotelOfferRequests,
3181
3204
  Bn as HotelOffers,
3182
- Dr as HotelOffersLangEnum,
3183
- br as HotelOffersSortByEnum,
3184
- Ir as HotelOffersSortByOrderEnum,
3185
- fr as HotelRoomOfferApiBreakfastOptionEnum,
3186
- dr as HotelRoomOfferApiPackageTypeEnum,
3187
- hr as HotelRoomOfferApiStayTaxesInfoEnum,
3188
- pr as HotelRoomOfferApiTypeEnum,
3205
+ _r as HotelOffersLangEnum,
3206
+ Dr as HotelOffersSortByEnum,
3207
+ br as HotelOffersSortByOrderEnum,
3208
+ lr as HotelRoomOfferApiBreakfastOptionEnum,
3209
+ fr as HotelRoomOfferApiPackageTypeEnum,
3210
+ dr as HotelRoomOfferApiStayTaxesInfoEnum,
3211
+ hr as HotelRoomOfferApiTypeEnum,
3212
+ xn as HotelRoomOfferImages,
3213
+ Ir as HotelRoomOfferImagesLangEnum,
3189
3214
  Ln as HotelRoomOfferRequests,
3190
- xn as HotelRoomOffers,
3191
- mr as HotelRoomOffersCreateApiLangEnum,
3215
+ Pn as HotelRoomOffers,
3192
3216
  Br as HotelRoomOffersLangEnum,
3193
- Pn as HotelRoomingListGuests,
3217
+ $n as HotelRoomingListGuests,
3194
3218
  Nn as HotelRoomingLists,
3195
- Lr as HotelRoomingListsLangEnum,
3196
- $n as Hotels,
3197
- xr as HotelsLangEnum,
3198
- yr as InvoiceApiTypeEnum,
3199
- P as JSONApiResponse,
3200
- wr as PaymentMethodApiOneOf1NameEnum,
3201
- vr as PaymentMethodApiOneOf2NameEnum,
3202
- Sr as PaymentMethodApiOneOf3NameEnum,
3203
- Rr as PaymentMethodApiOneOf3PayloadStatusEnum,
3204
- gr as PaymentMethodApiOneOfNameEnum,
3205
- Ar as PaymentMethodRequestApiNameEnum,
3206
- Cr as PollerStatus,
3207
- N as RequiredError,
3219
+ xr as HotelRoomingListsLangEnum,
3220
+ Un as Hotels,
3221
+ Lr as HotelsLangEnum,
3222
+ pr as InvoiceApiTypeEnum,
3223
+ L as JSONApiResponse,
3224
+ mr as Locale,
3225
+ gr as PaymentMethodApiOneOf1NameEnum,
3226
+ wr as PaymentMethodApiOneOf2NameEnum,
3227
+ vr as PaymentMethodApiOneOf3NameEnum,
3228
+ Sr as PaymentMethodApiOneOf3PayloadStatusEnum,
3229
+ yr as PaymentMethodApiOneOfNameEnum,
3230
+ Rr as PaymentMethodRequestApiNameEnum,
3231
+ Ar as PollerStatus,
3232
+ P as RequiredError,
3208
3233
  On as ResponseError,
3209
- Er as SourceMarket,
3210
- Mr as TaxApiTaxFrequencyEnum,
3211
- Tr as TaxApiTaxModeEnum,
3234
+ Cr as SourceMarket,
3235
+ Er as TaxApiTaxFrequencyEnum,
3236
+ Mr as TaxApiTaxModeEnum,
3212
3237
  kn as TextApiResponse,
3213
- Zn as VoidApiResponse,
3214
- Wn as canConsumeForm,
3215
- jn as exists,
3216
- zn as mapValues,
3238
+ Jn as VoidApiResponse,
3239
+ Zn as canConsumeForm,
3240
+ zn as exists,
3241
+ Wn as mapValues,
3217
3242
  ot as querystring,
3218
3243
  Fn as v1ApiClient
3219
3244
  };