@revolugo/booking-api-client 6.15.8 → 7.0.0-rc.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
@@ -2,41 +2,41 @@ const st = new RegExp("([\\p{Ll}\\d])(\\p{Lu})", "gu"), ut = new RegExp("(\\p{Lu
2
2
  function Je(i) {
3
3
  let e = i.trim();
4
4
  e = e.replace(st, Ie).replace(ut, Ie), e = e.replace(lt, "\0");
5
- let r = 0, t = e.length;
6
- for (; e.charAt(r) === "\0"; )
7
- r++;
8
- if (r === t)
5
+ let n = 0, t = e.length;
6
+ for (; e.charAt(n) === "\0"; )
7
+ n++;
8
+ if (n === t)
9
9
  return [];
10
10
  for (; e.charAt(t - 1) === "\0"; )
11
11
  t--;
12
- return e.slice(r, t).split(/\0/g);
12
+ return e.slice(n, t).split(/\0/g);
13
13
  }
14
14
  function ft(i) {
15
15
  const e = Je(i);
16
- for (let r = 0; r < e.length; r++) {
17
- const t = e[r], n = ct.exec(t);
18
- if (n) {
19
- const s = n.index + (n[1] ?? n[2]).length;
20
- e.splice(r, 1, t.slice(0, s), t.slice(s));
16
+ for (let n = 0; n < e.length; n++) {
17
+ const t = e[n], r = ct.exec(t);
18
+ if (r) {
19
+ const s = r.index + (r[1] ?? r[2]).length;
20
+ e.splice(n, 1, t.slice(0, s), t.slice(s));
21
21
  }
22
22
  }
23
23
  return e;
24
24
  }
25
25
  function Xe(i, e) {
26
- const [r, t, n] = Me(i, e);
27
- return r + t.map(Te(e?.locale)).join(e?.delimiter ?? " ") + n;
26
+ const [n, t, r] = Me(i, e);
27
+ return n + t.map(Ee(e?.locale)).join(e?.delimiter ?? " ") + r;
28
28
  }
29
29
  function dt(i, e) {
30
- const [r, t, n] = Me(i, e), s = Te(e?.locale), u = ke(e?.locale), c = e?.mergeAmbiguousCharacters ? _e(s, u) : et(s, u);
31
- return r + t.map((h, S) => S === 0 ? s(h) : c(h, S)).join(e?.delimiter ?? "") + n;
30
+ const [n, t, r] = Me(i, e), s = Ee(e?.locale), u = ke(e?.locale), c = e?.mergeAmbiguousCharacters ? _e(s, u) : et(s, u);
31
+ return n + t.map((h, S) => S === 0 ? s(h) : c(h, S)).join(e?.delimiter ?? "") + r;
32
32
  }
33
33
  function ht(i, e) {
34
- const [r, t, n] = Me(i, e), s = Te(e?.locale), u = ke(e?.locale), c = e?.mergeAmbiguousCharacters ? _e(s, u) : et(s, u);
35
- return r + t.map(c).join(e?.delimiter ?? "") + n;
34
+ const [n, t, r] = Me(i, e), s = Ee(e?.locale), u = ke(e?.locale), c = e?.mergeAmbiguousCharacters ? _e(s, u) : et(s, u);
35
+ return n + t.map(c).join(e?.delimiter ?? "") + r;
36
36
  }
37
37
  function pt(i, e) {
38
- const [r, t, n] = Me(i, e), s = Te(e?.locale), u = ke(e?.locale);
39
- return r + t.map(_e(s, u)).join(e?.delimiter ?? " ") + n;
38
+ const [n, t, r] = Me(i, e), s = Ee(e?.locale), u = ke(e?.locale);
39
+ return n + t.map(_e(s, u)).join(e?.delimiter ?? " ") + r;
40
40
  }
41
41
  function Qe(i, e) {
42
42
  return Xe(i, { delimiter: "-", ...e });
@@ -44,23 +44,23 @@ function Qe(i, e) {
44
44
  function mt(i, e) {
45
45
  return Xe(i, { delimiter: "_", ...e });
46
46
  }
47
- function Te(i) {
47
+ function Ee(i) {
48
48
  return i === !1 ? (e) => e.toLowerCase() : (e) => e.toLocaleLowerCase(i);
49
49
  }
50
50
  function ke(i) {
51
51
  return i === !1 ? (e) => e.toUpperCase() : (e) => e.toLocaleUpperCase(i);
52
52
  }
53
53
  function _e(i, e) {
54
- return (r) => `${e(r[0])}${i(r.slice(1))}`;
54
+ return (n) => `${e(n[0])}${i(n.slice(1))}`;
55
55
  }
56
56
  function et(i, e) {
57
- return (r, t) => {
58
- const n = r[0];
59
- return (t > 0 && n >= "0" && n <= "9" ? "_" + n : e(n)) + i(r.slice(1));
57
+ return (n, t) => {
58
+ const r = n[0];
59
+ return (t > 0 && r >= "0" && r <= "9" ? "_" + r : e(r)) + i(n.slice(1));
60
60
  };
61
61
  }
62
62
  function Me(i, e = {}) {
63
- const r = e.split ?? (e.separateNumbers ? ft : Je), t = e.prefixCharacters ?? Be, n = e.suffixCharacters ?? Be;
63
+ const n = e.split ?? (e.separateNumbers ? ft : Je), t = e.prefixCharacters ?? Be, r = e.suffixCharacters ?? Be;
64
64
  let s = 0, u = i.length;
65
65
  for (; s < i.length; ) {
66
66
  const c = i.charAt(s);
@@ -70,13 +70,13 @@ function Me(i, e = {}) {
70
70
  }
71
71
  for (; u > s; ) {
72
72
  const c = u - 1, h = i.charAt(c);
73
- if (!n.includes(h))
73
+ if (!r.includes(h))
74
74
  break;
75
75
  u = c;
76
76
  }
77
77
  return [
78
78
  i.slice(0, s),
79
- r(i.slice(s, u)),
79
+ n(i.slice(s, u)),
80
80
  i.slice(u)
81
81
  ];
82
82
  }
@@ -84,26 +84,26 @@ 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, xe;
87
+ var ce = { exports: {} }, yt = ce.exports, Le;
88
88
  function gt() {
89
- return xe || (xe = 1, (function(i, e) {
90
- (function(r, t, n) {
91
- i.exports = n(), i.exports.default = n();
89
+ return Le || (Le = 1, (function(i, e) {
90
+ (function(n, t, r) {
91
+ i.exports = r(), i.exports.default = r();
92
92
  })("slugify", yt, function() {
93
- var r = JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E'","Ը":"Y'","Թ":"T'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C'","Կ":"K","Հ":"H","Ձ":"D'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P'","Ք":"Q'","Օ":"O''","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"'","’":"'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}`), t = JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');
94
- function n(s, u) {
93
+ var n = JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E'","Ը":"Y'","Թ":"T'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C'","Կ":"K","Հ":"H","Ձ":"D'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P'","Ք":"Q'","Օ":"O''","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"'","’":"'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}`), t = JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');
94
+ function r(s, u) {
95
95
  if (typeof s != "string")
96
96
  throw new Error("slugify: string argument expected");
97
97
  u = typeof u == "string" ? { replacement: u } : u || {};
98
- var c = t[u.locale] || {}, h = u.replacement === void 0 ? "-" : u.replacement, S = u.trim === void 0 ? !0 : u.trim, C = s.normalize().split("").reduce(function(y, m) {
99
- var A = c[m];
100
- return A === void 0 && (A = r[m]), A === void 0 && (A = m), A === h && (A = " "), y + A.replace(u.remove || /[^\w\s$*_+~.()'"!\-:@]+/g, "");
98
+ var c = t[u.locale] || {}, h = u.replacement === void 0 ? "-" : u.replacement, S = u.trim === void 0 ? !0 : u.trim, A = s.normalize().split("").reduce(function(y, m) {
99
+ var C = c[m];
100
+ return C === void 0 && (C = n[m]), C === void 0 && (C = m), C === h && (C = " "), y + C.replace(u.remove || /[^\w\s$*_+~.()'"!\-:@]+/g, "");
101
101
  }, "");
102
- return u.strict && (C = C.replace(/[^A-Za-z0-9\s]/g, "")), S && (C = C.trim()), C = C.replace(/\s+/g, h), u.lower && (C = C.toLowerCase()), C;
102
+ return u.strict && (A = A.replace(/[^A-Za-z0-9\s]/g, "")), S && (A = A.trim()), A = A.replace(/\s+/g, h), u.lower && (A = A.toLowerCase()), A;
103
103
  }
104
- return n.extend = function(s) {
105
- Object.assign(r, s);
106
- }, n;
104
+ return r.extend = function(s) {
105
+ Object.assign(n, s);
106
+ }, r;
107
107
  });
108
108
  })(ce)), ce.exports;
109
109
  }
@@ -124,41 +124,41 @@ const Rt = {
124
124
  slugCase: St,
125
125
  snakeCase: mt
126
126
  };
127
- function Ct(i, e) {
127
+ function At(i, e) {
128
128
  return i.some(
129
- (r) => typeof r == "string" ? r === e : r.test(e)
129
+ (n) => typeof n == "string" ? n === e : n.test(e)
130
130
  );
131
131
  }
132
- function At(i) {
132
+ function Ct(i) {
133
133
  return i === Object(i) && !Array.isArray(i) && typeof i != "function";
134
134
  }
135
- function w(i, e, r = { deep: !0 }) {
136
- return At(i) ? Object.keys(i).reduce((t, n) => {
137
- const s = r?.exclude && Ct(r.exclude, n) ? n : Rt[e](n);
138
- return t[s] = r.deep ? w(i[n], e, r) : i[n], t;
139
- }, {}) : Array.isArray(i) ? i.map((t) => w(t, e, r)) : i;
135
+ function w(i, e, n = { deep: !0 }) {
136
+ return Ct(i) ? Object.keys(i).reduce((t, r) => {
137
+ const s = n?.exclude && At(n.exclude, r) ? r : Rt[e](r);
138
+ return t[s] = n.deep ? w(i[r], e, n) : i[r], t;
139
+ }, {}) : Array.isArray(i) ? i.map((t) => w(t, e, n)) : i;
140
140
  }
141
141
  var Oe = /* @__PURE__ */ ((i) => (i.V1 = "v1", i))(Oe || {}), ee = /* @__PURE__ */ ((i) => (i.Production = "LIVE", i.Sandbox = "SANDBOX", i.Staging = "STAGING", i.CiCd = "CI-CD", i.Local = "LOCAL", i))(ee || {});
142
- const Tt = {
142
+ const Et = {
143
143
  LIVE: "https://booking-api.revolugo.com",
144
144
  SANDBOX: "https://booking-api.sandbox.revolugo.com",
145
145
  STAGING: "https://booking-api.staging.revolugo.com",
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, Le;
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;
150
150
  function tt() {
151
- return Le || (Le = 1, (function(i, e) {
152
- (function(r, t) {
151
+ return xe || (xe = 1, (function(i, e) {
152
+ (function(n, t) {
153
153
  i.exports = t();
154
154
  })(Mt, (function() {
155
- var r = 1e3, t = 6e4, n = 36e5, s = "millisecond", u = "second", c = "minute", h = "hour", S = "day", C = "week", y = "month", m = "quarter", A = "year", T = "date", d = "Invalid Date", M = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, I = /\[([^\]]+)]|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, b = { 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(R) {
155
+ var n = 1e3, t = 6e4, r = 36e5, s = "millisecond", u = "second", c = "minute", h = "hour", S = "day", A = "week", y = "month", m = "quarter", C = "year", E = "date", d = "Invalid Date", M = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, I = /\[([^\]]+)]|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, b = { 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(R) {
156
156
  var o = ["th", "st", "nd", "rd"], a = R % 100;
157
157
  return "[" + R + (o[(a - 20) % 10] || o[a] || o[0]) + "]";
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
- }, P = { s: _, z: function(R) {
161
+ }, $ = { 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) {
@@ -168,16 +168,16 @@ function tt() {
168
168
  }, a: function(R) {
169
169
  return R < 0 ? Math.ceil(R) || 0 : Math.floor(R);
170
170
  }, p: function(R) {
171
- return { M: y, y: A, w: C, d: S, D: T, h, m: c, s: u, ms: s, Q: m }[R] || String(R || "").toLowerCase().replace(/s$/, "");
171
+ return { M: y, y: C, w: A, d: S, D: E, h, m: c, s: u, ms: s, Q: m }[R] || String(R || "").toLowerCase().replace(/s$/, "");
172
172
  }, u: function(R) {
173
173
  return R === void 0;
174
- } }, E = "en", B = {};
175
- B[E] = b;
176
- var K = "$isDayjsObject", F = function(R) {
177
- return R instanceof V || !(!R || !R[K]);
178
- }, N = function R(o, a, f) {
174
+ } }, T = "en", B = {};
175
+ B[T] = b;
176
+ var F = "$isDayjsObject", K = function(R) {
177
+ return R instanceof V || !(!R || !R[F]);
178
+ }, U = function R(o, a, f) {
179
179
  var l;
180
- if (!o) return E;
180
+ if (!o) return T;
181
181
  if (typeof o == "string") {
182
182
  var g = o.toLowerCase();
183
183
  B[g] && (l = g), a && (B[g] = a, l = g);
@@ -187,18 +187,18 @@ function tt() {
187
187
  var D = o.name;
188
188
  B[D] = o, l = D;
189
189
  }
190
- return !f && l && (E = l), l || !f && E;
191
- }, x = function(R, o) {
192
- if (F(R)) return R.clone();
190
+ return !f && l && (T = l), l || !f && T;
191
+ }, L = function(R, o) {
192
+ if (K(R)) return R.clone();
193
193
  var a = typeof o == "object" ? o : {};
194
194
  return a.date = R, a.args = arguments, new V(a);
195
- }, O = P;
196
- O.l = N, O.i = F, O.w = function(R, o) {
197
- return x(R, { locale: o.$L, utc: o.$u, x: o.$x, $offset: o.$offset });
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 });
198
198
  };
199
199
  var V = (function() {
200
200
  function R(a) {
201
- this.$L = N(a.locale, null, !0), this.parse(a), this.$x = this.$x || a.x || {}, this[K] = !0;
201
+ this.$L = U(a.locale, null, !0), this.parse(a), this.$x = this.$x || a.x || {}, this[F] = !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, L = (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, L)) : new Date(p[1], D, p[3] || 1, p[4] || 0, p[5] || 0, p[6] || 0, L);
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);
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 = x(a);
227
+ var l = L(a);
228
228
  return this.startOf(f) <= l && l <= this.endOf(f);
229
229
  }, o.isAfter = function(a, f) {
230
- return x(a) < this.startOf(f);
230
+ return L(a) < this.startOf(f);
231
231
  }, o.isBefore = function(a, f) {
232
- return this.endOf(f) < x(a);
232
+ return this.endOf(f) < L(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,37 +240,37 @@ 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
- }, L = function(Q, q) {
243
+ }, x = 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) {
247
- case A:
247
+ case C:
248
248
  return g ? D(1, 0) : D(31, 11);
249
249
  case y:
250
250
  return g ? D(1, k) : D(0, k + 1);
251
- case C:
252
- var X = this.$locale().weekStart || 0, ne = (G < X ? G + 7 : G) - X;
253
- return D(g ? H - ne : H + (6 - ne), k);
251
+ case A:
252
+ var X = this.$locale().weekStart || 0, re = (G < X ? G + 7 : G) - X;
253
+ return D(g ? H - re : H + (6 - re), k);
254
254
  case S:
255
- case T:
256
- return L(te + "Hours", 0);
255
+ case E:
256
+ return x(te + "Hours", 0);
257
257
  case h:
258
- return L(te + "Minutes", 1);
258
+ return x(te + "Minutes", 1);
259
259
  case c:
260
- return L(te + "Seconds", 2);
260
+ return x(te + "Seconds", 2);
261
261
  case u:
262
- return L(te + "Milliseconds", 3);
262
+ return x(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[T] = p + "Date", l[y] = p + "Month", l[A] = p + "FullYear", l[h] = p + "Hours", l[c] = p + "Minutes", l[u] = p + "Seconds", l[s] = p + "Milliseconds", l)[g], L = g === S ? this.$D + (f - this.$W) : f;
270
- if (g === y || g === A) {
271
- var G = this.clone().set(T, 1);
272
- G.$d[D](L), G.init(), this.$d = G.set(T, Math.min(this.$D, G.daysInMonth())).$d;
273
- } else D && this.$d[D](L);
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;
270
+ if (g === y || g === C) {
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);
274
274
  return this.init(), this;
275
275
  }, o.set = function(a, f) {
276
276
  return this.clone().$set(a, f);
@@ -280,23 +280,23 @@ 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 = x(g);
283
+ var H = L(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
- if (p === A) return this.set(A, this.$y + a);
287
+ if (p === C) return this.set(C, this.$y + a);
288
288
  if (p === S) return D(1);
289
- if (p === C) return D(7);
290
- var L = (l = {}, l[c] = t, l[h] = n, l[u] = r, l)[p] || 1, G = this.$d.getTime() + a * L;
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;
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, L = 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, x = 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
- }, ne = function(q) {
299
+ }, re = function(q) {
300
300
  return O.s(D % 12 || 12, q, "0");
301
301
  }, Q = te || function(q, Z, ie) {
302
302
  var ae = q < 12 ? "AM" : "PM";
@@ -334,17 +334,17 @@ function tt() {
334
334
  case "HH":
335
335
  return O.s(D, 2, "0");
336
336
  case "h":
337
- return ne(1);
337
+ return re(1);
338
338
  case "hh":
339
- return ne(2);
339
+ return re(2);
340
340
  case "a":
341
- return Q(D, L, !0);
341
+ return Q(D, x, !0);
342
342
  case "A":
343
- return Q(D, L, !1);
343
+ return Q(D, x, !1);
344
344
  case "m":
345
- return String(L);
345
+ return String(x);
346
346
  case "mm":
347
- return O.s(L, 2, "0");
347
+ return O.s(x, 2, "0");
348
348
  case "s":
349
349
  return String(f.$s);
350
350
  case "ss":
@@ -360,11 +360,11 @@ 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), L = x(a), G = (L.utcOffset() - this.utcOffset()) * t, k = this - L, H = function() {
364
- return O.m(p, 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);
365
365
  };
366
366
  switch (D) {
367
- case A:
367
+ case C:
368
368
  g = H() / 12;
369
369
  break;
370
370
  case y:
@@ -373,20 +373,20 @@ function tt() {
373
373
  case m:
374
374
  g = H() / 3;
375
375
  break;
376
- case C:
376
+ case A:
377
377
  g = (k - G) / 6048e5;
378
378
  break;
379
379
  case S:
380
380
  g = (k - G) / 864e5;
381
381
  break;
382
382
  case h:
383
- g = k / n;
383
+ g = k / r;
384
384
  break;
385
385
  case c:
386
386
  g = k / t;
387
387
  break;
388
388
  case u:
389
- g = k / r;
389
+ g = k / n;
390
390
  break;
391
391
  default:
392
392
  g = k;
@@ -398,7 +398,7 @@ function tt() {
398
398
  return B[this.$L];
399
399
  }, o.locale = function(a, f) {
400
400
  if (!a) return this.$L;
401
- var l = this.clone(), g = N(a, f, !0);
401
+ var l = this.clone(), g = U(a, f, !0);
402
402
  return g && (l.$L = g), l;
403
403
  }, o.clone = function() {
404
404
  return O.w(this.$d, this);
@@ -412,32 +412,32 @@ function tt() {
412
412
  return this.$d.toUTCString();
413
413
  }, R;
414
414
  })(), oe = V.prototype;
415
- return x.prototype = oe, [["$ms", s], ["$s", u], ["$m", c], ["$H", h], ["$W", S], ["$M", y], ["$y", A], ["$D", T]].forEach((function(R) {
415
+ return L.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
- })), x.extend = function(R, o) {
420
- return R.$i || (R(o, V, x), R.$i = !0), x;
421
- }, x.locale = N, x.isDayjs = F, x.unix = function(R) {
422
- return x(1e3 * R);
423
- }, x.en = B[E], x.Ls = B, x.p = {}, x;
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;
424
424
  }));
425
425
  })(le)), le.exports;
426
426
  }
427
- var Et = tt();
428
- const z = /* @__PURE__ */ j(Et);
427
+ var Tt = tt();
428
+ const z = /* @__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) {
432
- (function(r, t) {
432
+ (function(n, t) {
433
433
  i.exports = t();
434
434
  })(Ot, (function() {
435
- return function(r, t) {
436
- var n = t.prototype, s = n.format;
437
- n.format = function(u) {
435
+ return function(n, t) {
436
+ var r = t.prototype, s = r.format;
437
+ r.format = function(u) {
438
438
  var c = this, h = this.$locale();
439
439
  if (!this.isValid()) return s.bind(this)(u);
440
- var S = this.$utils(), C = (u || "YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g, (function(y) {
440
+ var S = this.$utils(), A = (u || "YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g, (function(y) {
441
441
  switch (y) {
442
442
  case "Q":
443
443
  return Math.ceil((c.$M + 1) / 3);
@@ -470,7 +470,7 @@ function kt() {
470
470
  return y;
471
471
  }
472
472
  }));
473
- return s.bind(this)(C);
473
+ return s.bind(this)(A);
474
474
  };
475
475
  };
476
476
  }));
@@ -478,82 +478,82 @@ function kt() {
478
478
  }
479
479
  var _t = kt();
480
480
  const Dt = /* @__PURE__ */ j(_t);
481
- var de = { exports: {} }, bt = de.exports, $e;
481
+ var de = { exports: {} }, bt = de.exports, Ne;
482
482
  function It() {
483
- return $e || ($e = 1, (function(i, e) {
484
- (function(r, t) {
483
+ return Ne || (Ne = 1, (function(i, e) {
484
+ (function(n, t) {
485
485
  i.exports = t();
486
486
  })(bt, (function() {
487
- return function(r, t, n) {
487
+ return function(n, t, r) {
488
488
  t.prototype.isBetween = function(s, u, c, h) {
489
- var S = n(s), C = n(u), y = (h = h || "()")[0] === "(", m = h[1] === ")";
490
- return (y ? this.isAfter(S, c) : !this.isBefore(S, c)) && (m ? this.isBefore(C, c) : !this.isAfter(C, c)) || (y ? this.isBefore(S, c) : !this.isAfter(S, c)) && (m ? this.isAfter(C, c) : !this.isBefore(C, c));
489
+ var S = r(s), A = r(u), y = (h = h || "()")[0] === "(", m = h[1] === ")";
490
+ return (y ? this.isAfter(S, c) : !this.isBefore(S, c)) && (m ? this.isBefore(A, c) : !this.isAfter(A, c)) || (y ? this.isBefore(S, c) : !this.isAfter(S, c)) && (m ? this.isAfter(A, c) : !this.isBefore(A, c));
491
491
  };
492
492
  };
493
493
  }));
494
494
  })(de)), de.exports;
495
495
  }
496
496
  var Bt = It();
497
- const xt = /* @__PURE__ */ j(Bt);
498
- var he = { exports: {} }, Lt = he.exports, Ue;
497
+ const Lt = /* @__PURE__ */ j(Bt);
498
+ var he = { exports: {} }, xt = he.exports, $e;
499
499
  function Pt() {
500
- return Ue || (Ue = 1, (function(i, e) {
501
- (function(r, t) {
500
+ return $e || ($e = 1, (function(i, e) {
501
+ (function(n, t) {
502
502
  i.exports = t();
503
- })(Lt, (function() {
504
- return function(r, t) {
505
- t.prototype.isSameOrAfter = function(n, s) {
506
- return this.isSame(n, s) || this.isAfter(n, s);
503
+ })(xt, (function() {
504
+ return function(n, t) {
505
+ t.prototype.isSameOrAfter = function(r, s) {
506
+ return this.isSame(r, s) || this.isAfter(r, s);
507
507
  };
508
508
  };
509
509
  }));
510
510
  })(he)), he.exports;
511
511
  }
512
- var $t = Pt();
513
- const Ut = /* @__PURE__ */ j($t);
514
- var pe = { exports: {} }, Nt = pe.exports, Ne;
512
+ var Nt = Pt();
513
+ const $t = /* @__PURE__ */ j(Nt);
514
+ var pe = { exports: {} }, Ut = pe.exports, Ue;
515
515
  function Gt() {
516
- return Ne || (Ne = 1, (function(i, e) {
517
- (function(r, t) {
516
+ return Ue || (Ue = 1, (function(i, e) {
517
+ (function(n, t) {
518
518
  i.exports = t();
519
- })(Nt, (function() {
520
- return function(r, t) {
521
- t.prototype.isSameOrBefore = function(n, s) {
522
- return this.isSame(n, s) || this.isBefore(n, s);
519
+ })(Ut, (function() {
520
+ return function(n, t) {
521
+ t.prototype.isSameOrBefore = function(r, s) {
522
+ return this.isSame(r, s) || this.isBefore(r, s);
523
523
  };
524
524
  };
525
525
  }));
526
526
  })(pe)), pe.exports;
527
527
  }
528
528
  var Ht = Gt();
529
- const Kt = /* @__PURE__ */ j(Ht);
530
- var me = { exports: {} }, Ft = me.exports, Ge;
529
+ const Ft = /* @__PURE__ */ j(Ht);
530
+ var me = { exports: {} }, Kt = me.exports, Ge;
531
531
  function Yt() {
532
532
  return Ge || (Ge = 1, (function(i, e) {
533
- (function(r, t) {
533
+ (function(n, t) {
534
534
  i.exports = t();
535
- })(Ft, (function() {
536
- return function(r, t, n) {
535
+ })(Kt, (function() {
536
+ return function(n, t, r) {
537
537
  var s = t.prototype, u = function(y) {
538
538
  return y && (y.indexOf ? y : y.s);
539
- }, c = function(y, m, A, T, d) {
540
- var M = y.name ? y : y.$locale(), I = u(M[m]), b = u(M[A]), _ = I || b.map((function(E) {
541
- return E.slice(0, T);
539
+ }, c = function(y, m, C, E, d) {
540
+ var M = y.name ? y : y.$locale(), I = u(M[m]), b = u(M[C]), _ = I || b.map((function(T) {
541
+ return T.slice(0, E);
542
542
  }));
543
543
  if (!d) return _;
544
- var P = M.weekStart;
545
- return _.map((function(E, B) {
546
- return _[(B + (P || 0)) % 7];
544
+ var $ = M.weekStart;
545
+ return _.map((function(T, B) {
546
+ return _[(B + ($ || 0)) % 7];
547
547
  }));
548
548
  }, h = function() {
549
- return n.Ls[n.locale()];
549
+ return r.Ls[r.locale()];
550
550
  }, S = function(y, m) {
551
- return y.formats[m] || (function(A) {
552
- return A.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(T, d, M) {
551
+ return y.formats[m] || (function(C) {
552
+ return C.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(E, d, M) {
553
553
  return d || M.slice(1);
554
554
  }));
555
555
  })(y.formats[m.toUpperCase()]);
556
- }, C = function() {
556
+ }, A = function() {
557
557
  var y = this;
558
558
  return { months: function(m) {
559
559
  return m ? m.format("MMMM") : c(y, "months");
@@ -572,33 +572,33 @@ function Yt() {
572
572
  }, meridiem: this.$locale().meridiem, ordinal: this.$locale().ordinal };
573
573
  };
574
574
  s.localeData = function() {
575
- return C.bind(this)();
576
- }, n.localeData = function() {
575
+ return A.bind(this)();
576
+ }, r.localeData = function() {
577
577
  var y = h();
578
578
  return { firstDayOfWeek: function() {
579
579
  return y.weekStart || 0;
580
580
  }, weekdays: function() {
581
- return n.weekdays();
581
+ return r.weekdays();
582
582
  }, weekdaysShort: function() {
583
- return n.weekdaysShort();
583
+ return r.weekdaysShort();
584
584
  }, weekdaysMin: function() {
585
- return n.weekdaysMin();
585
+ return r.weekdaysMin();
586
586
  }, months: function() {
587
- return n.months();
587
+ return r.months();
588
588
  }, monthsShort: function() {
589
- return n.monthsShort();
589
+ return r.monthsShort();
590
590
  }, longDateFormat: function(m) {
591
591
  return S(y, m);
592
592
  }, meridiem: y.meridiem, ordinal: y.ordinal };
593
- }, n.months = function() {
593
+ }, r.months = function() {
594
594
  return c(h(), "months");
595
- }, n.monthsShort = function() {
595
+ }, r.monthsShort = function() {
596
596
  return c(h(), "monthsShort", "months", 3);
597
- }, n.weekdays = function(y) {
597
+ }, r.weekdays = function(y) {
598
598
  return c(h(), "weekdays", null, null, y);
599
- }, n.weekdaysShort = function(y) {
599
+ }, r.weekdaysShort = function(y) {
600
600
  return c(h(), "weekdaysShort", "weekdays", 3, y);
601
- }, n.weekdaysMin = function(y) {
601
+ }, r.weekdaysMin = function(y) {
602
602
  return c(h(), "weekdaysMin", "weekdays", 2, y);
603
603
  };
604
604
  };
@@ -610,23 +610,23 @@ const qt = /* @__PURE__ */ j(Vt);
610
610
  var ye = { exports: {} }, jt = ye.exports, He;
611
611
  function zt() {
612
612
  return He || (He = 1, (function(i, e) {
613
- (function(r, t) {
613
+ (function(n, t) {
614
614
  i.exports = t();
615
615
  })(jt, (function() {
616
- var r = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" };
617
- return function(t, n, s) {
618
- var u = n.prototype, c = u.format;
619
- s.en.formats = r, u.format = function(h) {
616
+ var n = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" };
617
+ return function(t, r, s) {
618
+ var u = r.prototype, c = u.format;
619
+ s.en.formats = n, u.format = function(h) {
620
620
  h === void 0 && (h = "YYYY-MM-DDTHH:mm:ssZ");
621
- var S = this.$locale().formats, C = (function(y, m) {
622
- return y.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (function(A, T, d) {
621
+ var S = this.$locale().formats, A = (function(y, m) {
622
+ return y.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (function(C, E, d) {
623
623
  var M = d && d.toUpperCase();
624
- return T || m[d] || r[d] || m[M].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(I, b, _) {
624
+ return E || m[d] || n[d] || m[M].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(I, b, _) {
625
625
  return b || _.slice(1);
626
626
  }));
627
627
  }));
628
628
  })(h, S === void 0 ? {} : S);
629
- return c.call(this, C);
629
+ return c.call(this, A);
630
630
  };
631
631
  };
632
632
  }));
@@ -634,26 +634,26 @@ function zt() {
634
634
  }
635
635
  var Wt = zt();
636
636
  const Zt = /* @__PURE__ */ j(Wt);
637
- var ge = { exports: {} }, Jt = ge.exports, Ke;
637
+ var ge = { exports: {} }, Jt = ge.exports, Fe;
638
638
  function Xt() {
639
- return Ke || (Ke = 1, (function(i, e) {
640
- (function(r, t) {
639
+ return Fe || (Fe = 1, (function(i, e) {
640
+ (function(n, t) {
641
641
  i.exports = t();
642
642
  })(Jt, (function() {
643
- return function(r, t, n) {
643
+ return function(n, t, r) {
644
644
  var s = function(u, c) {
645
645
  if (!c || !c.length || c.length === 1 && !c[0] || c.length === 1 && Array.isArray(c[0]) && !c[0].length) return null;
646
646
  var h;
647
- c.length === 1 && c[0].length > 0 && (c = c[0]), h = (c = c.filter((function(C) {
648
- return C;
647
+ c.length === 1 && c[0].length > 0 && (c = c[0]), h = (c = c.filter((function(A) {
648
+ return A;
649
649
  })))[0];
650
650
  for (var S = 1; S < c.length; S += 1) c[S].isValid() && !c[S][u](h) || (h = c[S]);
651
651
  return h;
652
652
  };
653
- n.max = function() {
653
+ r.max = function() {
654
654
  var u = [].slice.call(arguments, 0);
655
655
  return s("isAfter", u);
656
- }, n.min = function() {
656
+ }, r.min = function() {
657
657
  var u = [].slice.call(arguments, 0);
658
658
  return s("isBefore", u);
659
659
  };
@@ -662,41 +662,41 @@ function Xt() {
662
662
  })(ge)), ge.exports;
663
663
  }
664
664
  var Qt = Xt();
665
- const er = /* @__PURE__ */ j(Qt);
666
- var we = { exports: {} }, tr = we.exports, Fe;
667
- function rr() {
668
- return Fe || (Fe = 1, (function(i, e) {
669
- (function(r, t) {
665
+ const en = /* @__PURE__ */ j(Qt);
666
+ var we = { exports: {} }, tn = we.exports, Ke;
667
+ function nn() {
668
+ return Ke || (Ke = 1, (function(i, e) {
669
+ (function(n, t) {
670
670
  i.exports = t();
671
- })(tr, (function() {
672
- return function(r, t, n) {
673
- r = r || {};
671
+ })(tn, (function() {
672
+ return function(n, t, r) {
673
+ n = n || {};
674
674
  var s = t.prototype, u = { future: "in %s", past: "%s ago", s: "a few seconds", m: "a minute", mm: "%d minutes", h: "an hour", hh: "%d hours", d: "a day", dd: "%d days", M: "a month", MM: "%d months", y: "a year", yy: "%d years" };
675
- function c(S, C, y, m) {
676
- return s.fromToBase(S, C, y, m);
675
+ function c(S, A, y, m) {
676
+ return s.fromToBase(S, A, y, m);
677
677
  }
678
- n.en.relativeTime = u, s.fromToBase = function(S, C, y, m, A) {
679
- for (var T, d, M, I = y.$locale().relativeTime || u, b = r.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, P = 0; P < _; P += 1) {
680
- var E = b[P];
681
- E.d && (T = m ? n(S).diff(y, E.d, !0) : y.diff(S, E.d, !0));
682
- var B = (r.rounding || Math.round)(Math.abs(T));
683
- if (M = T > 0, B <= E.r || !E.r) {
684
- B <= 1 && P > 0 && (E = b[P - 1]);
685
- var K = I[E.l];
686
- A && (B = A("" + B)), d = typeof K == "string" ? K.replace("%d", B) : K(B, C, E.l, M);
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[$];
681
+ T.d && (E = m ? r(S).diff(y, T.d, !0) : y.diff(S, T.d, !0));
682
+ var B = (n.rounding || Math.round)(Math.abs(E));
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);
687
687
  break;
688
688
  }
689
689
  }
690
- if (C) return d;
691
- var F = M ? I.future : I.past;
692
- return typeof F == "function" ? F(d) : F.replace("%s", d);
693
- }, s.to = function(S, C) {
694
- return c(S, C, this, !0);
695
- }, s.from = function(S, C) {
696
- return c(S, C, this);
690
+ if (A) return d;
691
+ var K = M ? I.future : I.past;
692
+ return typeof K == "function" ? K(d) : K.replace("%s", d);
693
+ }, s.to = function(S, A) {
694
+ return c(S, A, this, !0);
695
+ }, s.from = function(S, A) {
696
+ return c(S, A, this);
697
697
  };
698
698
  var h = function(S) {
699
- return S.$u ? n.utc() : n();
699
+ return S.$u ? r.utc() : r();
700
700
  };
701
701
  s.toNow = function(S) {
702
702
  return this.to(h(this), S);
@@ -707,62 +707,62 @@ function rr() {
707
707
  }));
708
708
  })(we)), we.exports;
709
709
  }
710
- var nr = rr();
711
- const ir = /* @__PURE__ */ j(nr);
712
- var ve = { exports: {} }, or = ve.exports, Ye;
713
- function ar() {
710
+ var rn = nn();
711
+ const on = /* @__PURE__ */ j(rn);
712
+ var ve = { exports: {} }, an = ve.exports, Ye;
713
+ function sn() {
714
714
  return Ye || (Ye = 1, (function(i, e) {
715
- (function(r, t) {
715
+ (function(n, t) {
716
716
  i.exports = t();
717
- })(or, (function() {
718
- var r = { year: 0, month: 1, day: 2, hour: 3, minute: 4, second: 5 }, t = {};
719
- return function(n, s, u) {
720
- var c, h = function(m, A, T) {
721
- T === void 0 && (T = {});
717
+ })(an, (function() {
718
+ var n = { year: 0, month: 1, day: 2, hour: 3, minute: 4, second: 5 }, t = {};
719
+ return function(r, s, u) {
720
+ var c, h = function(m, C, E) {
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", P = I + "|" + _, E = t[P];
725
- return E || (E = 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[P] = E), E;
726
- })(A, T);
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;
726
+ })(C, E);
727
727
  return M.formatToParts(d);
728
- }, S = function(m, A) {
729
- for (var T = h(m, A), d = [], M = 0; M < T.length; M += 1) {
730
- var I = T[M], b = I.type, _ = I.value, P = r[b];
731
- P >= 0 && (d[P] = parseInt(_, 10));
728
+ }, S = function(m, C) {
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));
732
732
  }
733
- var E = d[3], B = E === 24 ? 0 : E, 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
- }, C = s.prototype;
736
- C.tz = function(m, A) {
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;
735
+ }, A = s.prototype;
736
+ A.tz = function(m, C) {
737
737
  m === void 0 && (m = c);
738
- var T, 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
- if (!Number(_)) T = this.utcOffset(0, A);
740
- else if (T = u(I, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(_, !0), A) {
741
- var P = T.utcOffset();
742
- T = T.add(d - P, "minute");
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
+ if (!Number(_)) E = this.utcOffset(0, C);
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");
743
743
  }
744
- return T.$x.$timezone = m, T;
745
- }, C.offsetName = function(m) {
746
- var A = this.$x.$timezone || u.tz.guess(), T = h(this.valueOf(), A, { timeZoneName: m }).find((function(d) {
744
+ return E.$x.$timezone = m, E;
745
+ }, A.offsetName = function(m) {
746
+ var C = this.$x.$timezone || u.tz.guess(), E = h(this.valueOf(), C, { timeZoneName: m }).find((function(d) {
747
747
  return d.type.toLowerCase() === "timezonename";
748
748
  }));
749
- return T && T.value;
749
+ return E && E.value;
750
750
  };
751
- var y = C.startOf;
752
- C.startOf = function(m, A) {
753
- if (!this.$x || !this.$x.$timezone) return y.call(this, m, A);
754
- var T = u(this.format("YYYY-MM-DD HH:mm:ss:SSS"), { locale: this.$L });
755
- return y.call(T, m, A).tz(this.$x.$timezone, !0);
756
- }, u.tz = function(m, A, T) {
757
- var d = T && A, M = T || A || c, I = S(+u(), M);
751
+ var y = A.startOf;
752
+ A.startOf = function(m, C) {
753
+ if (!this.$x || !this.$x.$timezone) return y.call(this, m, C);
754
+ var E = u(this.format("YYYY-MM-DD HH:mm:ss:SSS"), { locale: this.$L });
755
+ return y.call(E, m, C).tz(this.$x.$timezone, !0);
756
+ }, u.tz = function(m, C, E) {
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, K, F) {
760
- var N = B - 60 * K * 1e3, x = S(N, F);
761
- if (K === x) return [N, K];
762
- var O = S(N -= 60 * (x - K) * 1e3, F);
763
- return x === O ? [N, x] : [B - 60 * Math.min(x, O) * 1e3, Math.max(x, O)];
764
- })(u.utc(m, d).valueOf(), I, M), _ = b[0], P = b[1], E = u(_).utcOffset(P);
765
- return E.$x.$timezone = M, E;
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($);
765
+ return T.$x.$timezone = M, T;
766
766
  }, u.tz.guess = function() {
767
767
  return Intl.DateTimeFormat().resolvedOptions().timeZone;
768
768
  }, u.tz.setDefault = function(m) {
@@ -772,15 +772,15 @@ function ar() {
772
772
  }));
773
773
  })(ve)), ve.exports;
774
774
  }
775
- var sr = ar();
776
- const ur = /* @__PURE__ */ j(sr);
777
- var Se = { exports: {} }, cr = Se.exports, Ve;
778
- function lr() {
775
+ var un = sn();
776
+ const cn = /* @__PURE__ */ j(un);
777
+ var Se = { exports: {} }, ln = Se.exports, Ve;
778
+ function fn() {
779
779
  return Ve || (Ve = 1, (function(i, e) {
780
- (function(r, t) {
780
+ (function(n, t) {
781
781
  i.exports = t();
782
- })(cr, (function() {
783
- var r = "minute", t = /[+-]\d\d(?::?\d\d)?/g, n = /([+-]|\d\d)/g;
782
+ })(ln, (function() {
783
+ var n = "minute", t = /[+-]\d\d(?::?\d\d)?/g, r = /([+-]|\d\d)/g;
784
784
  return function(s, u, c) {
785
785
  var h = u.prototype;
786
786
  c.utc = function(d) {
@@ -788,7 +788,7 @@ function lr() {
788
788
  return new u(M);
789
789
  }, h.utc = function(d) {
790
790
  var M = c(this.toDate(), { locale: this.$L, utc: !0 });
791
- return d ? M.add(this.utcOffset(), r) : M;
791
+ return d ? M.add(this.utcOffset(), n) : M;
792
792
  }, h.local = function() {
793
793
  return c(this.toDate(), { locale: this.$L, utc: !1 });
794
794
  };
@@ -796,30 +796,30 @@ function lr() {
796
796
  h.parse = function(d) {
797
797
  d.utc && (this.$u = !0), this.$utils().u(d.$offset) || (this.$offset = d.$offset), S.call(this, d);
798
798
  };
799
- var C = h.init;
799
+ var A = h.init;
800
800
  h.init = function() {
801
801
  if (this.$u) {
802
802
  var d = this.$d;
803
803
  this.$y = d.getUTCFullYear(), this.$M = d.getUTCMonth(), this.$D = d.getUTCDate(), this.$W = d.getUTCDay(), this.$H = d.getUTCHours(), this.$m = d.getUTCMinutes(), this.$s = d.getUTCSeconds(), this.$ms = d.getUTCMilliseconds();
804
- } else C.call(this);
804
+ } else A.call(this);
805
805
  };
806
806
  var y = h.utcOffset;
807
807
  h.utcOffset = function(d, M) {
808
808
  var I = this.$utils().u;
809
809
  if (I(d)) return this.$u ? 0 : I(this.$offset) ? y.call(this) : this.$offset;
810
- if (typeof d == "string" && (d = (function(E) {
811
- E === void 0 && (E = "");
812
- var B = E.match(t);
810
+ if (typeof d == "string" && (d = (function(T) {
811
+ T === void 0 && (T = "");
812
+ var B = T.match(t);
813
813
  if (!B) return null;
814
- var K = ("" + B[0]).match(n) || ["-", 0, 0], F = K[0], N = 60 * +K[1] + +K[2];
815
- return N === 0 ? 0 : F === "+" ? N : -N;
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;
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 P = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
822
- return (_ = this.local().add(b + P, r)).$offset = b, _.$x.$localOffset = P, _;
821
+ var $ = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
822
+ return (_ = this.local().add(b + $, n)).$offset = b, _.$x.$localOffset = $, _;
823
823
  };
824
824
  var m = h.format;
825
825
  h.format = function(d) {
@@ -835,144 +835,144 @@ function lr() {
835
835
  }, h.toString = function() {
836
836
  return this.toDate().toUTCString();
837
837
  };
838
- var A = h.toDate;
838
+ var C = h.toDate;
839
839
  h.toDate = function(d) {
840
- return d === "s" && this.$offset ? c(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : A.call(this);
840
+ return d === "s" && this.$offset ? c(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : C.call(this);
841
841
  };
842
- var T = h.diff;
842
+ var E = h.diff;
843
843
  h.diff = function(d, M, I) {
844
- if (d && this.$u === d.$u) return T.call(this, d, M, I);
844
+ if (d && this.$u === d.$u) return E.call(this, d, M, I);
845
845
  var b = this.local(), _ = c(d).local();
846
- return T.call(b, _, M, I);
846
+ return E.call(b, _, M, I);
847
847
  };
848
848
  };
849
849
  }));
850
850
  })(Se)), Se.exports;
851
851
  }
852
- var fr = lr();
853
- const dr = /* @__PURE__ */ j(fr);
854
- var Re = { exports: {} }, hr = Re.exports, qe;
855
- function pr() {
852
+ var dn = fn();
853
+ const hn = /* @__PURE__ */ j(dn);
854
+ var Re = { exports: {} }, pn = Re.exports, qe;
855
+ function mn() {
856
856
  return qe || (qe = 1, (function(i, e) {
857
- (function(r, t) {
857
+ (function(n, t) {
858
858
  i.exports = t(tt());
859
- })(hr, (function(r) {
859
+ })(pn, (function(n) {
860
860
  function t(u) {
861
861
  return u && typeof u == "object" && "default" in u ? u : { default: u };
862
862
  }
863
- var n = t(r), s = { name: "fr", weekdays: "dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"), weekdaysShort: "dim._lun._mar._mer._jeu._ven._sam.".split("_"), weekdaysMin: "di_lu_ma_me_je_ve_sa".split("_"), months: "janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"), monthsShort: "janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"), weekStart: 1, yearStart: 4, formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD/MM/YYYY", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd D MMMM YYYY HH:mm" }, relativeTime: { future: "dans %s", past: "il y a %s", s: "quelques secondes", m: "une minute", mm: "%d minutes", h: "une heure", hh: "%d heures", d: "un jour", dd: "%d jours", M: "un mois", MM: "%d mois", y: "un an", yy: "%d ans" }, ordinal: function(u) {
863
+ var r = t(n), s = { name: "fr", weekdays: "dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"), weekdaysShort: "dim._lun._mar._mer._jeu._ven._sam.".split("_"), weekdaysMin: "di_lu_ma_me_je_ve_sa".split("_"), months: "janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"), monthsShort: "janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"), weekStart: 1, yearStart: 4, formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD/MM/YYYY", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd D MMMM YYYY HH:mm" }, relativeTime: { future: "dans %s", past: "il y a %s", s: "quelques secondes", m: "une minute", mm: "%d minutes", h: "une heure", hh: "%d heures", d: "un jour", dd: "%d jours", M: "un mois", MM: "%d mois", y: "un an", yy: "%d ans" }, ordinal: function(u) {
864
864
  return "" + u + (u === 1 ? "er" : "");
865
865
  } };
866
- return n.default.locale(s, null, !0), s;
866
+ return r.default.locale(s, null, !0), s;
867
867
  }));
868
868
  })(Re)), Re.exports;
869
869
  }
870
- pr();
871
- var Ce = { exports: {} }, mr = Ce.exports, je;
872
- function yr() {
870
+ mn();
871
+ var Ae = { exports: {} }, yn = Ae.exports, je;
872
+ function gn() {
873
873
  return je || (je = 1, (function(i, e) {
874
- (function(r, t) {
874
+ (function(n, t) {
875
875
  i.exports = t();
876
- })(mr, (function() {
877
- return { 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(r) {
878
- var t = ["th", "st", "nd", "rd"], n = r % 100;
879
- return "[" + r + (t[(n - 20) % 10] || t[n] || t[0]) + "]";
876
+ })(yn, (function() {
877
+ return { 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(n) {
878
+ var t = ["th", "st", "nd", "rd"], r = n % 100;
879
+ return "[" + n + (t[(r - 20) % 10] || t[r] || t[0]) + "]";
880
880
  } };
881
881
  }));
882
- })(Ce)), Ce.exports;
882
+ })(Ae)), Ae.exports;
883
883
  }
884
- yr();
884
+ gn();
885
885
  z.extend(Dt);
886
- z.extend(xt);
887
- z.extend(Ut);
888
- z.extend(Kt);
886
+ z.extend(Lt);
887
+ z.extend($t);
888
+ z.extend(Ft);
889
889
  z.extend(Zt);
890
890
  z.extend(qt);
891
- z.extend(er);
892
- z.extend(ir);
893
- z.extend(ur);
894
- z.extend(dr);
891
+ z.extend(en);
892
+ z.extend(on);
893
+ z.extend(cn);
894
+ z.extend(hn);
895
895
  function J(i) {
896
896
  if (i === null || typeof i != "object")
897
897
  return !1;
898
898
  const e = Object.getPrototypeOf(i);
899
899
  return e === Object.prototype || e === null;
900
900
  }
901
- function Ae(i, e = /* @__PURE__ */ new WeakSet()) {
901
+ function Ce(i, e = /* @__PURE__ */ new WeakSet()) {
902
902
  if (i == null || typeof i != "object" || e.has(i))
903
903
  return i;
904
904
  if (e.add(i), Array.isArray(i))
905
- return i.map((r) => Ae(r, e));
905
+ return i.map((n) => Ce(n, e));
906
906
  if (J(i)) {
907
- const r = {};
907
+ const n = {};
908
908
  for (const t in i)
909
- Object.hasOwn(i, t) && (r[t] = Ae(i[t], e));
910
- return r;
909
+ Object.hasOwn(i, t) && (n[t] = Ce(i[t], e));
910
+ return n;
911
911
  }
912
912
  return i;
913
913
  }
914
- function be(i, e, r = /* @__PURE__ */ new WeakSet()) {
915
- if (!(!J(e) || !J(i)) && !(e === i || r.has(e))) {
916
- r.add(e);
914
+ function be(i, e, n = /* @__PURE__ */ new WeakSet()) {
915
+ if (!(!J(e) || !J(i)) && !(e === i || n.has(e))) {
916
+ n.add(e);
917
917
  for (const t in e)
918
918
  if (Object.hasOwn(e, t)) {
919
- const n = e[t], s = i[t];
920
- J(n) && J(s) ? be(s, n, r) : Array.isArray(n) && Array.isArray(s) ? i[t] = rt(s, n, r) : i[t] = Ae(n, r);
919
+ const r = e[t], s = i[t];
920
+ J(r) && J(s) ? be(s, r, n) : Array.isArray(r) && Array.isArray(s) ? i[t] = nt(s, r, n) : i[t] = Ce(r, n);
921
921
  }
922
922
  }
923
923
  }
924
- function rt(i, e, r) {
924
+ function nt(i, e, n) {
925
925
  const t = i.slice();
926
- for (let n = 0; n < e.length; n++) {
927
- const s = e[n], u = t[n];
926
+ for (let r = 0; r < e.length; r++) {
927
+ const s = e[r], u = t[r];
928
928
  if (J(s) && J(u)) {
929
929
  const c = { ...u };
930
- be(c, s, r), t[n] = c;
931
- } else Array.isArray(s) && Array.isArray(u) ? t[n] = rt(u, s, r) : t[n] = Ae(s, r);
930
+ be(c, s, n), t[r] = c;
931
+ } else Array.isArray(s) && Array.isArray(u) ? t[r] = nt(u, s, n) : t[r] = Ce(s, n);
932
932
  }
933
933
  return t;
934
934
  }
935
935
  function ze(i, ...e) {
936
936
  if (!J(i))
937
937
  throw new TypeError("Target must be a plain object");
938
- const r = /* @__PURE__ */ new WeakSet();
938
+ const n = /* @__PURE__ */ new WeakSet();
939
939
  for (const t of e)
940
- t != null && be(i, t, r);
940
+ t != null && be(i, t, n);
941
941
  return i;
942
942
  }
943
943
  const Y = [];
944
944
  for (let i = 0; i < 256; ++i)
945
945
  Y.push((i + 256).toString(16).slice(1));
946
- function gr(i, e = 0) {
946
+ function wn(i, e = 0) {
947
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();
948
948
  }
949
- let Ee;
950
- const wr = new Uint8Array(16);
951
- function vr() {
952
- if (!Ee) {
949
+ let Te;
950
+ const vn = new Uint8Array(16);
951
+ function Sn() {
952
+ if (!Te) {
953
953
  if (typeof crypto > "u" || !crypto.getRandomValues)
954
954
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
955
- Ee = crypto.getRandomValues.bind(crypto);
955
+ Te = crypto.getRandomValues.bind(crypto);
956
956
  }
957
- return Ee(wr);
957
+ return Te(vn);
958
958
  }
959
- const Sr = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), We = { randomUUID: Sr };
960
- function Rr(i, e, r) {
959
+ const Rn = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), We = { randomUUID: Rn };
960
+ function An(i, e, n) {
961
961
  i = i || {};
962
- const t = i.random ?? i.rng?.() ?? vr();
962
+ const t = i.random ?? i.rng?.() ?? Sn();
963
963
  if (t.length < 16)
964
964
  throw new Error("Random bytes length must be >= 16");
965
- return t[6] = t[6] & 15 | 64, t[8] = t[8] & 63 | 128, gr(t);
965
+ return t[6] = t[6] & 15 | 64, t[8] = t[8] & 63 | 128, wn(t);
966
966
  }
967
- function Cr(i, e, r) {
968
- return We.randomUUID && !i ? We.randomUUID() : Rr(i);
967
+ function Cn(i, e, n) {
968
+ return We.randomUUID && !i ? We.randomUUID() : An(i);
969
969
  }
970
- const Ar = 1500;
971
- class re {
970
+ const En = 1500;
971
+ class ne {
972
972
  static instance = null;
973
973
  defaultOptions = {
974
974
  callCount: 1,
975
- interval: Ar,
975
+ interval: En,
976
976
  maxCallCount: 20,
977
977
  minCallCount: 1
978
978
  };
@@ -986,151 +986,151 @@ class re {
986
986
  }
987
987
  };
988
988
  static getInstance() {
989
- return re.instance || (re.instance = new re()), re.instance;
989
+ return ne.instance || (ne.instance = new ne()), ne.instance;
990
990
  }
991
- poll(e, r) {
992
- const t = this.buildPollerOptions(r);
993
- return this.storeCurrentPolling(t), this.isActivePoller(t) && e().then((n) => this.onRequest(n, e, t)).catch((n) => {
994
- this.dispatch("error", n);
991
+ poll(e, n) {
992
+ const t = this.buildPollerOptions(n);
993
+ return this.storeCurrentPolling(t), this.isActivePoller(t) && e().then((r) => this.onRequest(r, e, t)).catch((r) => {
994
+ this.dispatch("error", r);
995
995
  }), this;
996
996
  }
997
- on(e, r) {
998
- this.events[e] = r;
997
+ on(e, n) {
998
+ this.events[e] = n;
999
999
  }
1000
1000
  stop(e) {
1001
1001
  e && this.pollings[e] && delete this.pollings[e];
1002
1002
  }
1003
- dispatch(e, r) {
1004
- this.events[e](r);
1003
+ dispatch(e, n) {
1004
+ this.events[e](n);
1005
1005
  }
1006
- async onRequest(e, r, t) {
1007
- const n = w(e ?? {}, v.Camel);
1008
- this.isActivePoller(t) && (this.isInProgress(n) && t.callCount && t.maxCallCount && t.callCount < t.maxCallCount || !this.isInProgress(n) && t.callCount && t.minCallCount && t.callCount < t.minCallCount ? (this.isInProgress(n) || (n.meta = n.meta || {}, n.meta.status = "IN_PROGRESS"), t.callCount += 1, this.dispatch("data", n), t.interval && await this.pause(t), this.poll(r, t)) : this.isInProgress(n) ? (n.meta = n.meta || {}, n.meta.status = "COMPLETE", this.onComplete(n, t)) : this.onComplete(n, t));
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
1009
  }
1010
- onComplete(e, r) {
1011
- this.dispatch("data", e), this.dispatch("complete", e), this.removeCurrentPolling(r);
1010
+ onComplete(e, n) {
1011
+ this.dispatch("data", e), this.dispatch("complete", e), this.removeCurrentPolling(n);
1012
1012
  }
1013
1013
  isInProgress(e) {
1014
1014
  return (e?.meta?.status ?? "") !== "COMPLETE";
1015
1015
  }
1016
1016
  buildPollerOptions(e) {
1017
- const r = Object.entries(e).reduce((t, [n, s]) => {
1017
+ const n = Object.entries(e).reduce((t, [r, s]) => {
1018
1018
  if (s !== void 0) {
1019
- const u = n;
1019
+ const u = r;
1020
1020
  t[u] = s;
1021
1021
  }
1022
1022
  return t;
1023
1023
  }, {});
1024
1024
  return {
1025
1025
  ...this.defaultOptions,
1026
- ...r
1026
+ ...n
1027
1027
  };
1028
1028
  }
1029
1029
  storeCurrentPolling(e) {
1030
- e.type && !e.uuid && (e.uuid = Cr(), this.pollings[e.type] = e.uuid);
1030
+ e.type && !e.uuid && (e.uuid = Cn(), this.pollings[e.type] = e.uuid);
1031
1031
  }
1032
1032
  isActivePoller(e) {
1033
1033
  return e.type ? !!this.pollings[e.type] && this.pollings[e.type] === e.uuid : !0;
1034
1034
  }
1035
1035
  pause(e) {
1036
- return new Promise((r) => {
1037
- setTimeout(r, e.interval);
1036
+ return new Promise((n) => {
1037
+ setTimeout(n, e.interval);
1038
1038
  });
1039
1039
  }
1040
1040
  removeCurrentPolling(e) {
1041
1041
  e.type && this.pollings[e.type] && delete this.pollings[e.type];
1042
1042
  }
1043
1043
  }
1044
- function nt(i, e, r) {
1045
- const t = re.getInstance();
1046
- return t.poll(i, e), r && typeof r == "function" ? (t.on("data", (n) => {
1047
- n instanceof Error ? r(n, void 0, t) : r(null, n, t);
1048
- }), t.on("error", (n) => {
1049
- n instanceof Error ? r(n) : r(null, n);
1050
- }), t) : new Promise((n, s) => {
1044
+ function rt(i, e, n) {
1045
+ const t = ne.getInstance();
1046
+ return t.poll(i, e), n && typeof n == "function" ? (t.on("data", (r) => {
1047
+ r instanceof Error ? n(r, void 0, t) : n(null, r, t);
1048
+ }), t.on("error", (r) => {
1049
+ r instanceof Error ? n(r) : n(null, r);
1050
+ }), t) : new Promise((r, s) => {
1051
1051
  t.on("error", s), t.on("complete", (u) => {
1052
- u instanceof Error ? s(u) : n(u);
1052
+ u instanceof Error ? s(u) : r(u);
1053
1053
  });
1054
1054
  });
1055
1055
  }
1056
- const Tr = "http://localhost".replace(/\/+$/, ""), Mr = (i) => typeof Blob < "u" && i instanceof Blob;
1056
+ const Mn = "http://localhost".replace(/\/+$/, ""), Tn = (i) => typeof Blob < "u" && i instanceof Blob;
1057
1057
  class W {
1058
1058
  constructor(e = new it()) {
1059
1059
  this.configuration = e, this.middleware = e.middleware;
1060
1060
  }
1061
1061
  middleware;
1062
1062
  withMiddleware(...e) {
1063
- const r = this.clone();
1064
- return r.middleware = r.middleware.concat(...e), r;
1063
+ const n = this.clone();
1064
+ return n.middleware = n.middleware.concat(...e), n;
1065
1065
  }
1066
1066
  withPreMiddleware(...e) {
1067
- const r = e.map((t) => ({ pre: t }));
1068
- return this.withMiddleware(...r);
1067
+ const n = e.map((t) => ({ pre: t }));
1068
+ return this.withMiddleware(...n);
1069
1069
  }
1070
1070
  withPostMiddleware(...e) {
1071
- const r = e.map((t) => ({ post: t }));
1072
- return this.withMiddleware(...r);
1071
+ const n = e.map((t) => ({ post: t }));
1072
+ return this.withMiddleware(...n);
1073
1073
  }
1074
- async request(e, r) {
1075
- const { url: t, init: n } = this.createFetchParams(e, r), s = await this.fetchApi(t, n);
1074
+ async request(e, n) {
1075
+ const { url: t, init: r } = this.createFetchParams(e, n), s = await this.fetchApi(t, r);
1076
1076
  if (s.status >= 200 && s.status < 300)
1077
1077
  return s;
1078
- throw new Er(s, "Response returned an error code");
1078
+ throw new On(s, "Response returned an error code");
1079
1079
  }
1080
- createFetchParams(e, r) {
1080
+ createFetchParams(e, n) {
1081
1081
  let t = this.configuration.basePath + e.path;
1082
1082
  e.query !== void 0 && Object.keys(e.query).length !== 0 && (t += "?" + this.configuration.queryParamsStringify(e.query));
1083
- const n = typeof FormData < "u" && e.body instanceof FormData || e.body instanceof URLSearchParams || Mr(e.body) ? e.body : JSON.stringify(e.body), s = Object.assign({}, this.configuration.headers, e.headers);
1083
+ const r = typeof FormData < "u" && e.body instanceof FormData || e.body instanceof URLSearchParams || Tn(e.body) ? e.body : JSON.stringify(e.body), s = Object.assign({}, this.configuration.headers, e.headers);
1084
1084
  Object.keys(s).forEach((c) => s[c] === void 0 ? delete s[c] : {});
1085
1085
  const u = {
1086
1086
  method: e.method,
1087
- body: n,
1087
+ body: r,
1088
1088
  credentials: this.configuration.credentials,
1089
- ...ze({}, r, {
1090
- headers: ze({}, s, r?.headers)
1089
+ ...ze({}, n, {
1090
+ headers: ze({}, s, n?.headers)
1091
1091
  })
1092
1092
  };
1093
1093
  return { url: t, init: u };
1094
1094
  }
1095
- fetchApi = async (e, r) => {
1096
- let t = { url: e, init: r };
1095
+ fetchApi = async (e, n) => {
1096
+ let t = { url: e, init: n };
1097
1097
  for (const s of this.middleware)
1098
1098
  s.pre && (t = await s.pre({
1099
1099
  fetch: this.fetchApi,
1100
1100
  ...t
1101
1101
  }) || t);
1102
- let n = await (this.configuration.fetchApi || fetch)(t.url, t.init);
1102
+ let r = await (this.configuration.fetchApi || fetch)(t.url, t.init);
1103
1103
  for (const s of this.middleware)
1104
- s.post && (n = await s.post({
1104
+ s.post && (r = await s.post({
1105
1105
  fetch: this.fetchApi,
1106
1106
  url: t.url,
1107
1107
  init: t.init,
1108
- response: n.clone()
1109
- }) || n);
1110
- return n;
1108
+ response: r.clone()
1109
+ }) || r);
1110
+ return r;
1111
1111
  };
1112
1112
  /**
1113
1113
  * Create a shallow clone of `this` by constructing a new instance
1114
1114
  * and then shallow cloning data members.
1115
1115
  */
1116
1116
  clone() {
1117
- const e = this.constructor, r = new e(this.configuration);
1118
- return r.middleware = this.middleware.slice(), r;
1117
+ const e = this.constructor, n = new e(this.configuration);
1118
+ return n.middleware = this.middleware.slice(), n;
1119
1119
  }
1120
1120
  }
1121
- class Er extends Error {
1122
- constructor(e, r) {
1123
- super(r), this.response = e;
1121
+ class On extends Error {
1122
+ constructor(e, n) {
1123
+ super(n), this.response = e;
1124
1124
  }
1125
1125
  name = "ResponseError";
1126
1126
  }
1127
- class U extends Error {
1128
- constructor(e, r) {
1129
- super(r), this.field = e;
1127
+ class N extends Error {
1128
+ constructor(e, n) {
1129
+ super(n), this.field = e;
1130
1130
  }
1131
1131
  name = "RequiredError";
1132
1132
  }
1133
- const Vr = {
1133
+ const qn = {
1134
1134
  csv: ",",
1135
1135
  ssv: " ",
1136
1136
  tsv: " ",
@@ -1141,7 +1141,7 @@ class it {
1141
1141
  this.configuration = e;
1142
1142
  }
1143
1143
  get basePath() {
1144
- return this.configuration.basePath != null ? this.configuration.basePath : Tr;
1144
+ return this.configuration.basePath != null ? this.configuration.basePath : Mn;
1145
1145
  }
1146
1146
  get fetchApi() {
1147
1147
  return this.configuration.fetchApi;
@@ -1175,48 +1175,48 @@ class it {
1175
1175
  return this.configuration.credentials;
1176
1176
  }
1177
1177
  }
1178
- function qr(i, e) {
1179
- const r = i[e];
1180
- return r != null;
1178
+ function jn(i, e) {
1179
+ const n = i[e];
1180
+ return n != null;
1181
1181
  }
1182
1182
  function ot(i, e = "") {
1183
- return Object.keys(i).map((r) => {
1184
- const t = e + (e.length ? `[${r}]` : r), n = i[r];
1185
- if (n instanceof Array) {
1186
- const s = n.map((u) => encodeURIComponent(String(u))).join(`&${encodeURIComponent(t)}=`);
1183
+ return Object.keys(i).map((n) => {
1184
+ const t = e + (e.length ? `[${n}]` : n), r = i[n];
1185
+ if (r instanceof Array) {
1186
+ const s = r.map((u) => encodeURIComponent(String(u))).join(`&${encodeURIComponent(t)}=`);
1187
1187
  return `${encodeURIComponent(t)}=${s}`;
1188
1188
  }
1189
- return n instanceof Date ? `${encodeURIComponent(t)}=${encodeURIComponent(n.toISOString())}` : n instanceof Object ? ot(n, t) : `${encodeURIComponent(t)}=${encodeURIComponent(String(n))}`;
1190
- }).filter((r) => r.length > 0).join("&");
1189
+ return r instanceof Date ? `${encodeURIComponent(t)}=${encodeURIComponent(r.toISOString())}` : r instanceof Object ? ot(r, t) : `${encodeURIComponent(t)}=${encodeURIComponent(String(r))}`;
1190
+ }).filter((n) => n.length > 0).join("&");
1191
1191
  }
1192
- function jr(i, e) {
1192
+ function zn(i, e) {
1193
1193
  return Object.keys(i).reduce(
1194
- (r, t) => ({ ...r, [t]: e(i[t]) }),
1194
+ (n, t) => ({ ...n, [t]: e(i[t]) }),
1195
1195
  {}
1196
1196
  );
1197
1197
  }
1198
- function zr(i) {
1198
+ function Wn(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 $ {
1205
- constructor(e, r = (t) => t) {
1206
- this.raw = e, this.transformer = r;
1204
+ class P {
1205
+ constructor(e, n = (t) => t) {
1206
+ this.raw = e, this.transformer = n;
1207
1207
  }
1208
1208
  async value() {
1209
1209
  return this.transformer(await this.raw.json());
1210
1210
  }
1211
1211
  }
1212
- class Wr {
1212
+ class Zn {
1213
1213
  constructor(e) {
1214
1214
  this.raw = e;
1215
1215
  }
1216
1216
  async value() {
1217
1217
  }
1218
1218
  }
1219
- class Zr {
1219
+ class Jn {
1220
1220
  constructor(e) {
1221
1221
  this.raw = e;
1222
1222
  }
@@ -1224,7 +1224,7 @@ class Zr {
1224
1224
  return await this.raw.blob();
1225
1225
  }
1226
1226
  }
1227
- class Or {
1227
+ class kn {
1228
1228
  constructor(e) {
1229
1229
  this.raw = e;
1230
1230
  }
@@ -1232,11 +1232,23 @@ class Or {
1232
1232
  return await this.raw.text();
1233
1233
  }
1234
1234
  }
1235
- const Jr = {
1235
+ const Xn = {
1236
+ CreditCard: "CREDIT_CARD"
1237
+ }, Qn = {
1238
+ Coupon: "COUPON"
1239
+ }, er = {
1240
+ DepositAccount: "DEPOSIT_ACCOUNT"
1241
+ }, tr = {
1242
+ PayLater: "PAY_LATER"
1243
+ }, nr = {
1236
1244
  Disabled: "DISABLED",
1237
1245
  Enabled: "ENABLED",
1238
1246
  Forced: "FORCED"
1239
- }, Xr = {
1247
+ }, rr = {
1248
+ Disabled: "DISABLED",
1249
+ Enabled: "ENABLED",
1250
+ Forced: "FORCED"
1251
+ }, ir = {
1240
1252
  Cx: "bkg-cx",
1241
1253
  Cf: "bkg-cf",
1242
1254
  Created: "bkg-created",
@@ -1245,7 +1257,7 @@ const Jr = {
1245
1257
  Pc: "bkg-pc",
1246
1258
  Pp: "bkg-pp",
1247
1259
  Qr: "bkg-qr"
1248
- }, Qr = {
1260
+ }, or = {
1249
1261
  DeDe: "de-DE",
1250
1262
  EnUs: "en-US",
1251
1263
  EsEs: "es-ES",
@@ -1253,7 +1265,7 @@ const Jr = {
1253
1265
  ItIt: "it-IT",
1254
1266
  NlNl: "nl-NL",
1255
1267
  PtPt: "pt-PT"
1256
- }, en = {
1268
+ }, ar = {
1257
1269
  DeDe: "de-DE",
1258
1270
  EnUs: "en-US",
1259
1271
  EsEs: "es-ES",
@@ -1261,14 +1273,14 @@ const Jr = {
1261
1273
  ItIt: "it-IT",
1262
1274
  NlNl: "nl-NL",
1263
1275
  PtPt: "pt-PT"
1264
- }, tn = {
1276
+ }, sr = {
1265
1277
  Dr: "dr",
1266
1278
  Mr: "mr",
1267
1279
  Mrs: "mrs",
1268
1280
  Ms: "ms",
1269
1281
  NotSpecified: "notSpecified",
1270
1282
  Prof: "prof"
1271
- }, rn = {
1283
+ }, ur = {
1272
1284
  Ad: "AD",
1273
1285
  Ae: "AE",
1274
1286
  Af: "AF",
@@ -1512,7 +1524,7 @@ const Jr = {
1512
1524
  Za: "ZA",
1513
1525
  Zm: "ZM",
1514
1526
  Zw: "ZW"
1515
- }, nn = {
1527
+ }, cr = {
1516
1528
  Aed: "AED",
1517
1529
  Afn: "AFN",
1518
1530
  All: "ALL",
@@ -1651,7 +1663,7 @@ const Jr = {
1651
1663
  Yer: "YER",
1652
1664
  Zar: "ZAR",
1653
1665
  Zmw: "ZMW"
1654
- }, on = {
1666
+ }, lr = {
1655
1667
  ApiError: "api_error",
1656
1668
  BadGateway: "bad_gateway",
1657
1669
  InternalServerError: "internal_server_error",
@@ -1661,23 +1673,23 @@ const Jr = {
1661
1673
  ResourceNotFound: "resource_not_found",
1662
1674
  Unauthorized: "unauthorized",
1663
1675
  ValidationError: "validation_error"
1664
- }, an = {
1676
+ }, fr = {
1665
1677
  Included: "INCLUDED",
1666
1678
  NotIncluded: "NOT_INCLUDED",
1667
1679
  Optional: "OPTIONAL"
1668
- }, sn = {
1680
+ }, dr = {
1669
1681
  BestMatch: "BEST_MATCH",
1670
1682
  Cheapest: "CHEAPEST",
1671
1683
  MatchingRoomCount: "MATCHING_ROOM_COUNT",
1672
1684
  Regular: "REGULAR"
1673
- }, un = {
1685
+ }, hr = {
1674
1686
  Included: "included",
1675
1687
  NotIncluded: "not_included",
1676
1688
  Unknown: "unknown"
1677
- }, cn = {
1689
+ }, pr = {
1678
1690
  HotelRoom: "HOTEL_ROOM",
1679
1691
  Package: "PACKAGE"
1680
- }, ln = {
1692
+ }, mr = {
1681
1693
  DeDe: "de-DE",
1682
1694
  EnUs: "en-US",
1683
1695
  EsEs: "es-ES",
@@ -1685,23 +1697,29 @@ const Jr = {
1685
1697
  ItIt: "it-IT",
1686
1698
  NlNl: "nl-NL",
1687
1699
  PtPt: "pt-PT"
1688
- }, fn = {
1700
+ }, yr = {
1689
1701
  CreditNote: "credit_note",
1690
1702
  Invoice: "invoice"
1691
- }, dn = {
1703
+ }, gr = {
1692
1704
  CreditCard: "CREDIT_CARD"
1693
- }, hn = {
1705
+ }, wr = {
1694
1706
  Coupon: "COUPON"
1695
- }, pn = {
1707
+ }, vr = {
1696
1708
  DepositAccount: "DEPOSIT_ACCOUNT"
1697
- }, mn = {
1709
+ }, Sr = {
1710
+ PayLater: "PAY_LATER"
1711
+ }, Rr = {
1712
+ Disabled: "DISABLED",
1713
+ Enabled: "ENABLED",
1714
+ Forced: "FORCED"
1715
+ }, Ar = {
1698
1716
  Coupon: "COUPON",
1699
1717
  CreditCard: "CREDIT_CARD",
1700
1718
  DepositAccount: "DEPOSIT_ACCOUNT"
1701
- }, yn = {
1719
+ }, Cr = {
1702
1720
  Complete: "COMPLETE",
1703
1721
  InProgress: "IN_PROGRESS"
1704
- }, gn = {
1722
+ }, Er = {
1705
1723
  Ad: "AD",
1706
1724
  Ae: "AE",
1707
1725
  Af: "AF",
@@ -1945,337 +1963,361 @@ const Jr = {
1945
1963
  Za: "ZA",
1946
1964
  Zm: "ZM",
1947
1965
  Zw: "ZW"
1948
- }, wn = {
1966
+ }, Mr = {
1949
1967
  Night: "PER_NIGHT",
1950
1968
  Stay: "PER_STAY"
1951
- }, vn = {
1969
+ }, Tr = {
1952
1970
  Adult: "PER_ADULT",
1953
1971
  Booking: "PER_BOOKING"
1954
1972
  };
1955
- class kr extends W {
1973
+ class _n extends W {
1956
1974
  /**
1957
1975
  * Get Booking Policy
1958
1976
  */
1959
- async retrieveRaw(e, r) {
1977
+ async retrieveRaw(e, n) {
1960
1978
  if (e.id === null || e.id === void 0)
1961
- throw new U("id", "Required parameter requestParameters.id was null or undefined when calling getV1BookingPolicy.");
1962
- const t = {}, n = {};
1963
- this.configuration && this.configuration.apiKey && (n["x-api-key"] = this.configuration.apiKey("x-api-key"));
1979
+ throw new N("id", "Required parameter requestParameters.id was null or undefined when calling getV1BookingPolicy.");
1980
+ const t = {}, r = {};
1981
+ this.configuration && this.configuration.apiKey && (r["x-api-key"] = this.configuration.apiKey("x-api-key"));
1964
1982
  const s = await this.request({
1965
1983
  path: "/v1/booking_policies/{id}".replace("{id}", encodeURIComponent(String(e.id))),
1966
1984
  method: "GET",
1967
- headers: n,
1985
+ headers: r,
1968
1986
  query: w(t, v.Snake)
1969
- }, r);
1970
- return await new $(s, (u) => w(u, v.Camel)).value();
1987
+ }, n);
1988
+ return await new P(s, (u) => w(u, v.Camel)).value();
1971
1989
  }
1972
1990
  /**
1973
1991
  * Get Booking Policy
1974
1992
  */
1975
- async retrieve(e, r) {
1976
- return this.retrieveRaw(e, r);
1993
+ async retrieve(e, n) {
1994
+ return this.retrieveRaw(e, n);
1995
+ }
1996
+ /**
1997
+ * Retrieve payment methods for a booking policy
1998
+ * Payment Methods for a Booking policy
1999
+ */
2000
+ async paymentMethodsRaw(e, n) {
2001
+ if (e.id === null || e.id === void 0)
2002
+ throw new N("id", "Required parameter requestParameters.id was null or undefined when calling getV1BookingPolicyIdPaymentMethods.");
2003
+ const t = {}, r = {};
2004
+ this.configuration && this.configuration.apiKey && (r["x-api-key"] = this.configuration.apiKey("x-api-key"));
2005
+ const s = await this.request({
2006
+ path: "/v1/booking_policies/{id}/payment_methods".replace("{id}", encodeURIComponent(String(e.id))),
2007
+ method: "GET",
2008
+ headers: r,
2009
+ query: w(t, v.Snake)
2010
+ }, n);
2011
+ return new P(s, (u) => w(u, v.Camel)).value();
2012
+ }
2013
+ /**
2014
+ * Retrieve payment methods for a booking policy
2015
+ * Payment Methods for a Booking policy
2016
+ */
2017
+ async paymentMethods(e, n) {
2018
+ return this.paymentMethodsRaw(e, n);
1977
2019
  }
1978
2020
  /**
1979
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.
1980
2022
  * Create Booking Policies
1981
2023
  */
1982
- async createRaw(e, r) {
1983
- const t = {}, n = {};
1984
- n["Content-Type"] = "application/json", this.configuration && this.configuration.apiKey && (n["x-api-key"] = this.configuration.apiKey("x-api-key"));
2024
+ async createRaw(e, n) {
2025
+ const t = {}, r = {};
2026
+ r["Content-Type"] = "application/json", this.configuration && this.configuration.apiKey && (r["x-api-key"] = this.configuration.apiKey("x-api-key"));
1985
2027
  const s = await this.request({
1986
2028
  path: "/v1/booking_policies",
1987
2029
  method: "POST",
1988
- headers: n,
2030
+ headers: r,
1989
2031
  query: w(t, v.Snake),
1990
2032
  body: w(e.bookingPoliciesCreateApi, v.Snake)
1991
- }, r);
1992
- return await new $(s, (u) => w(u, v.Camel)).value();
2033
+ }, n);
2034
+ return await new P(s, (u) => w(u, v.Camel)).value();
1993
2035
  }
1994
2036
  /**
1995
2037
  * 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.
1996
2038
  * Create Booking Policies
1997
2039
  */
1998
- async create(e = {}, r) {
1999
- return this.createRaw(e, r);
2040
+ async create(e = {}, n) {
2041
+ return this.createRaw(e, n);
2000
2042
  }
2001
2043
  }
2002
- class _r extends W {
2044
+ class Dn extends W {
2003
2045
  /**
2004
2046
  * Cancel a confirmed Booking. A booking can only be cancelled if it\'s in one of the following status: **bkg-cf**, **bkg-pc**.
2005
2047
  * Cancel a Booking
2006
2048
  */
2007
- async deleteRaw(e, r) {
2049
+ async deleteRaw(e, n) {
2008
2050
  if (e.token === null || e.token === void 0)
2009
- throw new U("token", "Required parameter requestParameters.token was null or undefined when calling deleteV1BookingsToken.");
2010
- const t = {}, n = {}, s = await this.request({
2051
+ throw new N("token", "Required parameter requestParameters.token was null or undefined when calling deleteV1BookingsToken.");
2052
+ const t = {}, r = {}, s = await this.request({
2011
2053
  path: "/v1/bookings/{token}".replace("{token}", encodeURIComponent(String(e.token))),
2012
2054
  method: "DELETE",
2013
- headers: n,
2055
+ headers: r,
2014
2056
  query: w(t, v.Snake)
2015
- }, r);
2016
- return await new $(s, (u) => w(u, v.Camel)).value();
2057
+ }, n);
2058
+ return await new P(s, (u) => w(u, v.Camel)).value();
2017
2059
  }
2018
2060
  /**
2019
2061
  * Cancel a confirmed Booking. A booking can only be cancelled if it\'s in one of the following status: **bkg-cf**, **bkg-pc**.
2020
2062
  * Cancel a Booking
2021
2063
  */
2022
- async delete(e, r) {
2023
- return this.deleteRaw(e, r);
2064
+ async delete(e, n) {
2065
+ return this.deleteRaw(e, n);
2024
2066
  }
2025
2067
  /**
2026
2068
  * Returns a list of detailed bookings made on behalf of a specific API Key credential.
2027
2069
  * List Bookings
2028
2070
  */
2029
- async listRaw(e, r) {
2071
+ async listRaw(e, n) {
2030
2072
  const t = {};
2031
2073
  e.endingBefore !== void 0 && (t.ending_before = e.endingBefore), e.filterByCheckInDate !== void 0 && (t.filter_by_check_in_date = e.filterByCheckInDate), e.filterByLastStatusUpdatedAt !== void 0 && (t.filter_by_last_status_updated_at = e.filterByLastStatusUpdatedAt), e.filterByMetadata !== void 0 && (t.filter_by_metadata = e.filterByMetadata), e.filterByStatus !== void 0 && (t.filter_by_status = e.filterByStatus), e.limit !== void 0 && (t.limit = e.limit), 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);
2032
- const n = {};
2033
- this.configuration && this.configuration.apiKey && (n["x-api-key"] = this.configuration.apiKey("x-api-key"));
2074
+ const r = {};
2075
+ this.configuration && this.configuration.apiKey && (r["x-api-key"] = this.configuration.apiKey("x-api-key"));
2034
2076
  const s = await this.request({
2035
2077
  path: "/v1/bookings",
2036
2078
  method: "GET",
2037
- headers: n,
2079
+ headers: r,
2038
2080
  query: w(t, v.Snake)
2039
- }, r);
2040
- return await new $(s, (u) => w(u, v.Camel)).value();
2081
+ }, n);
2082
+ return await new P(s, (u) => w(u, v.Camel)).value();
2041
2083
  }
2042
2084
  /**
2043
2085
  * Returns a list of detailed bookings made on behalf of a specific API Key credential.
2044
2086
  * List Bookings
2045
2087
  */
2046
- async list(e = {}, r) {
2047
- return this.listRaw(e, r);
2088
+ async list(e = {}, n) {
2089
+ return this.listRaw(e, n);
2048
2090
  }
2049
2091
  /**
2050
2092
  * Retrieve the status and information of a booking.
2051
2093
  * Retrieve a Booking
2052
2094
  */
2053
- async retrieveRaw(e, r) {
2095
+ async retrieveRaw(e, n) {
2054
2096
  if (e.id === null || e.id === void 0)
2055
- throw new U("id", "Required parameter requestParameters.id was null or undefined when calling getV1BookingsId.");
2056
- const t = {}, n = {};
2057
- this.configuration && this.configuration.apiKey && (n["x-api-key"] = this.configuration.apiKey("x-api-key"));
2097
+ throw new N("id", "Required parameter requestParameters.id was null or undefined when calling getV1BookingsId.");
2098
+ const t = {}, r = {};
2099
+ this.configuration && this.configuration.apiKey && (r["x-api-key"] = this.configuration.apiKey("x-api-key"));
2058
2100
  const s = await this.request({
2059
2101
  path: "/v1/bookings/{id}".replace("{id}", encodeURIComponent(String(e.id))),
2060
2102
  method: "GET",
2061
- headers: n,
2103
+ headers: r,
2062
2104
  query: w(t, v.Snake)
2063
- }, r);
2064
- return await new $(s, (u) => w(u, v.Camel)).value();
2105
+ }, n);
2106
+ return await new P(s, (u) => w(u, v.Camel)).value();
2065
2107
  }
2066
2108
  /**
2067
2109
  * Retrieve the status and information of a booking.
2068
2110
  * Retrieve a Booking
2069
2111
  */
2070
- async retrieve(e, r) {
2071
- return this.retrieveRaw(e, r);
2112
+ async retrieve(e, n) {
2113
+ return this.retrieveRaw(e, n);
2072
2114
  }
2073
2115
  /**
2074
2116
  * 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.
2075
2117
  * Retrieve a Booking (PUBLIC)
2076
2118
  */
2077
- async retrievePublicRaw(e, r) {
2119
+ async retrievePublicRaw(e, n) {
2078
2120
  if (e.token === null || e.token === void 0)
2079
- throw new U("token", "Required parameter requestParameters.token was null or undefined when calling getV1BookingsTokenPublic.");
2080
- const t = {}, n = {}, s = await this.request({
2121
+ throw new N("token", "Required parameter requestParameters.token was null or undefined when calling getV1BookingsTokenPublic.");
2122
+ const t = {}, r = {}, s = await this.request({
2081
2123
  path: "/v1/bookings/{token}/public".replace("{token}", encodeURIComponent(String(e.token))),
2082
2124
  method: "GET",
2083
- headers: n,
2125
+ headers: r,
2084
2126
  query: w(t, v.Snake)
2085
- }, r);
2086
- return await new $(s, (u) => w(u, v.Camel)).value();
2127
+ }, n);
2128
+ return await new P(s, (u) => w(u, v.Camel)).value();
2087
2129
  }
2088
2130
  /**
2089
2131
  * 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.
2090
2132
  * Retrieve a Booking (PUBLIC)
2091
2133
  */
2092
- async retrievePublic(e, r) {
2093
- return this.retrievePublicRaw(e, r);
2134
+ async retrievePublic(e, n) {
2135
+ return this.retrievePublicRaw(e, n);
2094
2136
  }
2095
2137
  /**
2096
2138
  * Creates an unconfirmed booking
2097
2139
  * Create an unconfirmed Booking
2098
2140
  */
2099
- async createRaw(e, r) {
2100
- const t = {}, n = {};
2101
- n["Content-Type"] = "application/json", this.configuration && this.configuration.apiKey && (n["x-api-key"] = this.configuration.apiKey("x-api-key"));
2141
+ async createRaw(e, n) {
2142
+ const t = {}, r = {};
2143
+ r["Content-Type"] = "application/json", this.configuration && this.configuration.apiKey && (r["x-api-key"] = this.configuration.apiKey("x-api-key"));
2102
2144
  const s = await this.request({
2103
2145
  path: "/v1/bookings",
2104
2146
  method: "POST",
2105
- headers: n,
2147
+ headers: r,
2106
2148
  query: w(t, v.Snake),
2107
2149
  body: w(e.bookingCreateApi, v.Snake)
2108
- }, r);
2109
- return await new $(s, (u) => w(u, v.Camel)).value();
2150
+ }, n);
2151
+ return await new P(s, (u) => w(u, v.Camel)).value();
2110
2152
  }
2111
2153
  /**
2112
2154
  * Creates an unconfirmed booking
2113
2155
  * Create an unconfirmed Booking
2114
2156
  */
2115
- async create(e = {}, r) {
2116
- return this.createRaw(e, r);
2157
+ async create(e = {}, n) {
2158
+ return this.createRaw(e, n);
2117
2159
  }
2118
2160
  /**
2119
2161
  * Confirm booking from Coupon payment method
2120
2162
  * Confirm booking from Coupon payment method
2121
2163
  */
2122
- async couponChargeRaw(e, r) {
2164
+ async couponChargeRaw(e, n) {
2123
2165
  if (e.couponId === null || e.couponId === void 0)
2124
- throw new U("couponId", "Required parameter requestParameters.couponId was null or undefined when calling postV1BookingsIdCouponsCouponIdCharge.");
2166
+ throw new N("couponId", "Required parameter requestParameters.couponId was null or undefined when calling postV1BookingsIdCouponsCouponIdCharge.");
2125
2167
  if (e.id === null || e.id === void 0)
2126
- throw new U("id", "Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdCouponsCouponIdCharge.");
2127
- const t = {}, n = {};
2128
- this.configuration && this.configuration.apiKey && (n["x-api-key"] = this.configuration.apiKey("x-api-key"));
2168
+ throw new N("id", "Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdCouponsCouponIdCharge.");
2169
+ const t = {}, r = {};
2170
+ this.configuration && this.configuration.apiKey && (r["x-api-key"] = this.configuration.apiKey("x-api-key"));
2129
2171
  const s = await this.request({
2130
2172
  path: "/v1/bookings/{id}/coupons/{coupon_id}/charge".replace("{coupon_id}", encodeURIComponent(String(e.couponId))).replace("{id}", encodeURIComponent(String(e.id))),
2131
2173
  method: "POST",
2132
- headers: n,
2174
+ headers: r,
2133
2175
  query: w(t, v.Snake)
2134
- }, r);
2135
- return await new $(s, (u) => w(u, v.Camel)).value();
2176
+ }, n);
2177
+ return await new P(s, (u) => w(u, v.Camel)).value();
2136
2178
  }
2137
2179
  /**
2138
2180
  * Confirm booking from Coupon payment method
2139
2181
  * Confirm booking from Coupon payment method
2140
2182
  */
2141
- async couponCharge(e, r) {
2142
- return this.couponChargeRaw(e, r);
2183
+ async couponCharge(e, n) {
2184
+ return this.couponChargeRaw(e, n);
2143
2185
  }
2144
2186
  /**
2145
2187
  * Pay later and retrieve the status and information of a booking.
2146
2188
  * Pay later a Booking
2147
2189
  */
2148
- async paylaterRaw(e, r) {
2190
+ async paylaterRaw(e, n) {
2149
2191
  if (e.id === null || e.id === void 0)
2150
- throw new U("id", "Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdPayLater.");
2151
- const t = {}, n = {};
2152
- this.configuration && this.configuration.apiKey && (n["x-api-key"] = this.configuration.apiKey("x-api-key"));
2192
+ throw new N("id", "Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdPayLater.");
2193
+ const t = {}, r = {};
2194
+ this.configuration && this.configuration.apiKey && (r["x-api-key"] = this.configuration.apiKey("x-api-key"));
2153
2195
  const s = await this.request({
2154
2196
  path: "/v1/bookings/{id}/pay-later".replace("{id}", encodeURIComponent(String(e.id))),
2155
2197
  method: "POST",
2156
- headers: n,
2198
+ headers: r,
2157
2199
  query: w(t, v.Snake)
2158
- }, r);
2159
- return await new $(s, (u) => w(u, v.Camel)).value();
2200
+ }, n);
2201
+ return await new P(s, (u) => w(u, v.Camel)).value();
2160
2202
  }
2161
2203
  /**
2162
2204
  * Pay later and retrieve the status and information of a booking.
2163
2205
  * Pay later a Booking
2164
2206
  */
2165
- async paylater(e, r) {
2166
- return this.paylaterRaw(e, r);
2207
+ async paylater(e, n) {
2208
+ return this.paylaterRaw(e, n);
2167
2209
  }
2168
2210
  /**
2169
2211
  * Confirm later paid and retrieve the status and information of a booking.
2170
2212
  * Confirm a later paid Booking
2171
2213
  */
2172
- async confirmpaylaterRaw(e, r) {
2214
+ async confirmpaylaterRaw(e, n) {
2173
2215
  if (e.id === null || e.id === void 0)
2174
- throw new U("id", "Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdPayLaterConfirm.");
2175
- const t = {}, n = {};
2176
- this.configuration && this.configuration.apiKey && (n["x-api-key"] = this.configuration.apiKey("x-api-key"));
2216
+ throw new N("id", "Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdPayLaterConfirm.");
2217
+ const t = {}, r = {};
2218
+ this.configuration && this.configuration.apiKey && (r["x-api-key"] = this.configuration.apiKey("x-api-key"));
2177
2219
  const s = await this.request({
2178
2220
  path: "/v1/bookings/{id}/pay-later/confirm".replace("{id}", encodeURIComponent(String(e.id))),
2179
2221
  method: "POST",
2180
- headers: n,
2222
+ headers: r,
2181
2223
  query: w(t, v.Snake)
2182
- }, r);
2183
- return await new $(s, (u) => w(u, v.Camel)).value();
2224
+ }, n);
2225
+ return await new P(s, (u) => w(u, v.Camel)).value();
2184
2226
  }
2185
2227
  /**
2186
2228
  * Confirm later paid and retrieve the status and information of a booking.
2187
2229
  * Confirm a later paid Booking
2188
2230
  */
2189
- async confirmpaylater(e, r) {
2190
- return this.confirmpaylaterRaw(e, r);
2231
+ async confirmpaylater(e, n) {
2232
+ return this.confirmpaylaterRaw(e, n);
2191
2233
  }
2192
2234
  /**
2193
2235
  * 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).
2194
2236
  * Confirm an ongoing Booking
2195
2237
  */
2196
- async confirmRaw(e, r) {
2238
+ async confirmRaw(e, n) {
2197
2239
  if (e.id === null || e.id === void 0)
2198
- throw new U("id", "Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdconfirm.");
2199
- const t = {}, n = {};
2200
- this.configuration && this.configuration.apiKey && (n["x-api-key"] = this.configuration.apiKey("x-api-key"));
2240
+ throw new N("id", "Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdconfirm.");
2241
+ const t = {}, r = {};
2242
+ this.configuration && this.configuration.apiKey && (r["x-api-key"] = this.configuration.apiKey("x-api-key"));
2201
2243
  const s = await this.request({
2202
2244
  path: "/v1/bookings/{id}/confirm".replace("{id}", encodeURIComponent(String(e.id))),
2203
2245
  method: "POST",
2204
- headers: n,
2246
+ headers: r,
2205
2247
  query: w(t, v.Snake)
2206
- }, r);
2207
- return await new $(s, (u) => w(u, v.Camel)).value();
2248
+ }, n);
2249
+ return await new P(s, (u) => w(u, v.Camel)).value();
2208
2250
  }
2209
2251
  /**
2210
2252
  * 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).
2211
2253
  * Confirm an ongoing Booking
2212
2254
  */
2213
- async confirm(e, r) {
2214
- return this.confirmRaw(e, r);
2255
+ async confirm(e, n) {
2256
+ return this.confirmRaw(e, n);
2215
2257
  }
2216
2258
  /**
2217
2259
  * Updates an ongoing Booking payment methods
2218
2260
  * Updates an ongoing Booking payment methods
2219
2261
  */
2220
- async updatePaymentMethodsRaw(e, r) {
2262
+ async updatePaymentMethodsRaw(e, n) {
2221
2263
  if (e.id === null || e.id === void 0)
2222
- throw new U("id", "Required parameter requestParameters.id was null or undefined when calling putV1BookingsIdPaymentMethods.");
2223
- const t = {}, n = {};
2224
- n["Content-Type"] = "application/json", this.configuration && this.configuration.apiKey && (n["x-api-key"] = this.configuration.apiKey("x-api-key"));
2264
+ throw new N("id", "Required parameter requestParameters.id was null or undefined when calling putV1BookingsIdPaymentMethods.");
2265
+ const t = {}, r = {};
2266
+ r["Content-Type"] = "application/json", this.configuration && this.configuration.apiKey && (r["x-api-key"] = this.configuration.apiKey("x-api-key"));
2225
2267
  const s = await this.request({
2226
2268
  path: "/v1/bookings/{id}/payment_methods".replace("{id}", encodeURIComponent(String(e.id))),
2227
2269
  method: "PUT",
2228
- headers: n,
2270
+ headers: r,
2229
2271
  query: w(t, v.Snake),
2230
2272
  body: w(e.paymentMethodUpdatePayloadApi, v.Snake)
2231
- }, r);
2232
- return await new $(s, (u) => w(u, v.Camel)).value();
2273
+ }, n);
2274
+ return await new P(s, (u) => w(u, v.Camel)).value();
2233
2275
  }
2234
2276
  /**
2235
2277
  * Updates an ongoing Booking payment methods
2236
2278
  * Updates an ongoing Booking payment methods
2237
2279
  */
2238
- async updatePaymentMethods(e, r) {
2239
- return this.updatePaymentMethodsRaw(e, r);
2280
+ async updatePaymentMethods(e, n) {
2281
+ return this.updatePaymentMethodsRaw(e, n);
2240
2282
  }
2241
2283
  }
2242
- const Sn = {
2284
+ const Or = {
2243
2285
  CheckInDate: "check_in_date",
2244
2286
  CreatedAt: "created_at",
2245
2287
  LastStatusUpdatedAt: "last_status_updated_at"
2246
- }, Rn = {
2288
+ }, kr = {
2247
2289
  Asc: "asc",
2248
2290
  Desc: "desc"
2249
2291
  };
2250
- class Dr extends W {
2292
+ class bn extends W {
2251
2293
  /**
2252
2294
  * Returns a list of images for an Hotel Id with their content localize into the requested **lang**.
2253
2295
  * Retrieve Images of an Hotel
2254
2296
  */
2255
- async retrieveRaw(e, r) {
2297
+ async retrieveRaw(e, n) {
2256
2298
  if (e.id === null || e.id === void 0)
2257
- throw new U("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelsIdImages.");
2299
+ throw new N("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelsIdImages.");
2258
2300
  const t = {};
2259
2301
  e.lang !== void 0 && (t.lang = e.lang);
2260
- const n = {};
2261
- this.configuration && this.configuration.apiKey && (n["x-api-key"] = this.configuration.apiKey("x-api-key"));
2302
+ const r = {};
2303
+ this.configuration && this.configuration.apiKey && (r["x-api-key"] = this.configuration.apiKey("x-api-key"));
2262
2304
  const s = await this.request({
2263
2305
  path: "/v1/hotels/{id}/images".replace("{id}", encodeURIComponent(String(e.id))),
2264
2306
  method: "GET",
2265
- headers: n,
2307
+ headers: r,
2266
2308
  query: w(t, v.Snake)
2267
- }, r);
2268
- return new $(s, (u) => w(u, v.Camel)).value();
2309
+ }, n);
2310
+ return new P(s, (u) => w(u, v.Camel)).value();
2269
2311
  }
2270
2312
  /**
2271
2313
  * Returns a list of images for an Hotel Id with their content localize into the requested **lang**.
2272
2314
  * Retrieve Images of an Hotel
2273
2315
  */
2274
- async retrieve(e, r) {
2275
- return this.retrieveRaw(e, r);
2316
+ async retrieve(e, n) {
2317
+ return this.retrieveRaw(e, n);
2276
2318
  }
2277
2319
  }
2278
- const Cn = {
2320
+ const _r = {
2279
2321
  DeDe: "de-DE",
2280
2322
  EnUs: "en-US",
2281
2323
  EsEs: "es-ES",
@@ -2284,90 +2326,90 @@ const Cn = {
2284
2326
  NlNl: "nl-NL",
2285
2327
  PtPt: "pt-PT"
2286
2328
  };
2287
- class br extends W {
2329
+ class In extends W {
2288
2330
  /**
2289
2331
  * Returns a single Hotel Offer Request by id
2290
2332
  * Retrieve a Single Hotel Offer Request
2291
2333
  */
2292
- async retrieveRaw(e, r) {
2334
+ async retrieveRaw(e, n) {
2293
2335
  if (e.id === null || e.id === void 0)
2294
- throw new U("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelOfferRequestsId.");
2295
- const t = {}, n = {};
2296
- this.configuration && this.configuration.apiKey && (n["x-api-key"] = this.configuration.apiKey("x-api-key"));
2336
+ throw new N("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelOfferRequestsId.");
2337
+ const t = {}, r = {};
2338
+ this.configuration && this.configuration.apiKey && (r["x-api-key"] = this.configuration.apiKey("x-api-key"));
2297
2339
  const s = await this.request({
2298
2340
  path: "/v1/hotel_offer_requests/{id}".replace("{id}", encodeURIComponent(String(e.id))),
2299
2341
  method: "GET",
2300
- headers: n,
2342
+ headers: r,
2301
2343
  query: w(t, v.Snake)
2302
- }, r);
2303
- return await new $(s, (u) => w(u, v.Camel)).value();
2344
+ }, n);
2345
+ return await new P(s, (u) => w(u, v.Camel)).value();
2304
2346
  }
2305
2347
  /**
2306
2348
  * Returns a single Hotel Offer Request by id
2307
2349
  * Retrieve a Single Hotel Offer Request
2308
2350
  */
2309
- async retrieve(e, r) {
2310
- return this.retrieveRaw(e, r);
2351
+ async retrieve(e, n) {
2352
+ return this.retrieveRaw(e, n);
2311
2353
  }
2312
2354
  /**
2313
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).
2314
2356
  * Create an Hotel Offer Request
2315
2357
  */
2316
- async createRaw(e, r) {
2317
- const t = {}, n = {};
2318
- n["Content-Type"] = "application/json", this.configuration && this.configuration.apiKey && (n["x-api-key"] = this.configuration.apiKey("x-api-key"));
2358
+ async createRaw(e, n) {
2359
+ const t = {}, r = {};
2360
+ r["Content-Type"] = "application/json", this.configuration && this.configuration.apiKey && (r["x-api-key"] = this.configuration.apiKey("x-api-key"));
2319
2361
  const s = await this.request({
2320
2362
  path: "/v1/hotel_offer_requests",
2321
2363
  method: "POST",
2322
- headers: n,
2364
+ headers: r,
2323
2365
  query: w(t, v.Snake),
2324
2366
  body: w(e.hotelOfferRequestCreateApi, v.Snake)
2325
- }, r);
2326
- return await new $(s, (u) => w(u, v.Camel)).value();
2367
+ }, n);
2368
+ return await new P(s, (u) => w(u, v.Camel)).value();
2327
2369
  }
2328
2370
  /**
2329
2371
  * 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).
2330
2372
  * Create an Hotel Offer Request
2331
2373
  */
2332
- async create(e = {}, r) {
2333
- return this.createRaw(e, r);
2374
+ async create(e = {}, n) {
2375
+ return this.createRaw(e, n);
2334
2376
  }
2335
2377
  }
2336
- class Ir extends W {
2378
+ class Bn extends W {
2337
2379
  /**
2338
2380
  * 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)**.
2339
2381
  * ⚛️ Retrieve Hotel Offers
2340
2382
  */
2341
- async listRaw(e, r) {
2383
+ async listRaw(e, n) {
2342
2384
  if (e.currency === null || e.currency === void 0)
2343
- throw new U("currency", "Required parameter requestParameters.currency was null or undefined when calling getV1HotelOffers.");
2385
+ throw new N("currency", "Required parameter requestParameters.currency was null or undefined when calling getV1HotelOffers.");
2344
2386
  if (e.hotelOfferRequestId === null || e.hotelOfferRequestId === void 0)
2345
- throw new U("hotelOfferRequestId", "Required parameter requestParameters.hotelOfferRequestId was null or undefined when calling getV1HotelOffers.");
2387
+ throw new N("hotelOfferRequestId", "Required parameter requestParameters.hotelOfferRequestId was null or undefined when calling getV1HotelOffers.");
2346
2388
  const t = {};
2347
2389
  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);
2348
- const n = {};
2349
- this.configuration && this.configuration.apiKey && (n["x-api-key"] = this.configuration.apiKey("x-api-key"));
2390
+ const r = {};
2391
+ this.configuration && this.configuration.apiKey && (r["x-api-key"] = this.configuration.apiKey("x-api-key"));
2350
2392
  const s = await this.request({
2351
2393
  path: "/v1/hotel_offers",
2352
2394
  method: "GET",
2353
- headers: n,
2395
+ headers: r,
2354
2396
  query: w(t, v.Snake)
2355
- }, r);
2356
- return await new $(s, (u) => w(u, v.Camel)).value();
2397
+ }, n);
2398
+ return await new P(s, (u) => w(u, v.Camel)).value();
2357
2399
  }
2358
2400
  /**
2359
2401
  * 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)**.
2360
2402
  * ⚛️ Retrieve Hotel Offers
2361
2403
  */
2362
- async list(e, r, t) {
2363
- return await nt(
2404
+ async list(e, n, t) {
2405
+ return await rt(
2364
2406
  () => this.listRaw(e, t),
2365
2407
  { type: De.HOTEL_SEARCH_POLLING, minCallCount: t?.minCallCount, maxCallCount: t?.maxCallCount },
2366
- r
2408
+ n
2367
2409
  );
2368
2410
  }
2369
2411
  }
2370
- const An = {
2412
+ const Dr = {
2371
2413
  DeDe: "de-DE",
2372
2414
  EnUs: "en-US",
2373
2415
  EsEs: "es-ES",
@@ -2375,123 +2417,123 @@ const An = {
2375
2417
  ItIt: "it-IT",
2376
2418
  NlNl: "nl-NL",
2377
2419
  PtPt: "pt-PT"
2378
- }, Tn = {
2420
+ }, br = {
2379
2421
  Distance: "distance",
2380
2422
  Price: "price",
2381
2423
  Rating: "rating",
2382
2424
  ReviewRating: "review_rating",
2383
2425
  TopPicks: "top_picks"
2384
- }, Mn = {
2426
+ }, Ir = {
2385
2427
  Asc: "asc",
2386
2428
  Desc: "desc"
2387
2429
  };
2388
- class Br extends W {
2430
+ class Ln extends W {
2389
2431
  /**
2390
2432
  * Returns a single Hotel Room Offer Request by id
2391
2433
  * Retrieve a Single Hotel Room Offer Request
2392
2434
  */
2393
- async retrieveRaw(e, r) {
2435
+ async retrieveRaw(e, n) {
2394
2436
  if (e.id === null || e.id === void 0)
2395
- throw new U("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelRoomOfferRequestsId.");
2396
- const t = {}, n = {};
2397
- this.configuration && this.configuration.apiKey && (n["x-api-key"] = this.configuration.apiKey("x-api-key"));
2437
+ throw new N("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelRoomOfferRequestsId.");
2438
+ const t = {}, r = {};
2439
+ this.configuration && this.configuration.apiKey && (r["x-api-key"] = this.configuration.apiKey("x-api-key"));
2398
2440
  const s = await this.request({
2399
2441
  path: "/v1/hotel_room_offer_requests/{id}".replace("{id}", encodeURIComponent(String(e.id))),
2400
2442
  method: "GET",
2401
- headers: n,
2443
+ headers: r,
2402
2444
  query: w(t, v.Snake)
2403
- }, r);
2404
- return await new $(s, (u) => w(u, v.Camel)).value();
2445
+ }, n);
2446
+ return await new P(s, (u) => w(u, v.Camel)).value();
2405
2447
  }
2406
2448
  /**
2407
2449
  * Returns a single Hotel Room Offer Request by id
2408
2450
  * Retrieve a Single Hotel Room Offer Request
2409
2451
  */
2410
- async retrieve(e, r) {
2411
- return this.retrieveRaw(e, r);
2452
+ async retrieve(e, n) {
2453
+ return this.retrieveRaw(e, n);
2412
2454
  }
2413
2455
  /**
2414
2456
  * 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.
2415
2457
  * Create an Hotel Room Offer Request
2416
2458
  */
2417
- async createRaw(e, r) {
2418
- const t = {}, n = {};
2419
- n["Content-Type"] = "application/json", this.configuration && this.configuration.apiKey && (n["x-api-key"] = this.configuration.apiKey("x-api-key"));
2459
+ async createRaw(e, n) {
2460
+ const t = {}, r = {};
2461
+ r["Content-Type"] = "application/json", this.configuration && this.configuration.apiKey && (r["x-api-key"] = this.configuration.apiKey("x-api-key"));
2420
2462
  const s = await this.request({
2421
2463
  path: "/v1/hotel_room_offer_requests",
2422
2464
  method: "POST",
2423
- headers: n,
2465
+ headers: r,
2424
2466
  query: w(t, v.Snake),
2425
2467
  body: w(e.hotelRoomOfferRequestCreateApi, v.Snake)
2426
- }, r);
2427
- return await new $(s, (u) => w(u, v.Camel)).value();
2468
+ }, n);
2469
+ return await new P(s, (u) => w(u, v.Camel)).value();
2428
2470
  }
2429
2471
  /**
2430
2472
  * 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.
2431
2473
  * Create an Hotel Room Offer Request
2432
2474
  */
2433
- async create(e = {}, r) {
2434
- return this.createRaw(e, r);
2475
+ async create(e = {}, n) {
2476
+ return this.createRaw(e, n);
2435
2477
  }
2436
2478
  }
2437
- class xr extends W {
2479
+ class xn extends W {
2438
2480
  /**
2439
2481
  * 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)**.
2440
2482
  * ⚛️ Retrieve Hotel Room Offers
2441
2483
  */
2442
- async listRaw(e, r) {
2484
+ async listRaw(e, n) {
2443
2485
  if (e.currency === null || e.currency === void 0)
2444
- throw new U("currency", "Required parameter requestParameters.currency was null or undefined when calling getV1HotelRoomOffers.");
2486
+ throw new N("currency", "Required parameter requestParameters.currency was null or undefined when calling getV1HotelRoomOffers.");
2445
2487
  if (e.hotelRoomOfferRequestId === null || e.hotelRoomOfferRequestId === void 0)
2446
- throw new U("hotelRoomOfferRequestId", "Required parameter requestParameters.hotelRoomOfferRequestId was null or undefined when calling getV1HotelRoomOffers.");
2488
+ throw new N("hotelRoomOfferRequestId", "Required parameter requestParameters.hotelRoomOfferRequestId was null or undefined when calling getV1HotelRoomOffers.");
2447
2489
  const t = {};
2448
2490
  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);
2449
- const n = {};
2450
- this.configuration && this.configuration.apiKey && (n["x-api-key"] = this.configuration.apiKey("x-api-key"));
2491
+ const r = {};
2492
+ this.configuration && this.configuration.apiKey && (r["x-api-key"] = this.configuration.apiKey("x-api-key"));
2451
2493
  const s = await this.request({
2452
2494
  path: "/v1/hotel_room_offers",
2453
2495
  method: "GET",
2454
- headers: n,
2496
+ headers: r,
2455
2497
  query: w(t, v.Snake)
2456
- }, r);
2457
- return await new $(s, (u) => w(u, v.Camel)).value();
2498
+ }, n);
2499
+ return await new P(s, (u) => w(u, v.Camel)).value();
2458
2500
  }
2459
2501
  /**
2460
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)**.
2461
2503
  * ⚛️ Retrieve Hotel Room Offers
2462
2504
  */
2463
- async list(e, r, t) {
2464
- return await nt(
2505
+ async list(e, n, t) {
2506
+ return await rt(
2465
2507
  () => this.listRaw(e, t),
2466
2508
  { type: De.HOTEL_ROOM_OFFERS, minCallCount: t?.minCallCount, maxCallCount: t?.maxCallCount },
2467
- r
2509
+ n
2468
2510
  );
2469
2511
  }
2470
2512
  /**
2471
2513
  * 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\"**.
2472
2514
  * Create Hotel Room Offer
2473
2515
  */
2474
- async createRaw(e, r) {
2475
- const t = {}, n = {};
2476
- n["Content-Type"] = "application/json", this.configuration && this.configuration.apiKey && (n["x-api-key"] = this.configuration.apiKey("x-api-key"));
2516
+ async createRaw(e, n) {
2517
+ const t = {}, r = {};
2518
+ r["Content-Type"] = "application/json", this.configuration && this.configuration.apiKey && (r["x-api-key"] = this.configuration.apiKey("x-api-key"));
2477
2519
  const s = await this.request({
2478
2520
  path: "/v1/hotel_room_offers",
2479
2521
  method: "POST",
2480
- headers: n,
2522
+ headers: r,
2481
2523
  query: w(t, v.Snake),
2482
2524
  body: w(e.hotelRoomOffersCreateApi, v.Snake)
2483
- }, r);
2484
- return await new $(s, (u) => w(u, v.Camel)).value();
2525
+ }, n);
2526
+ return await new P(s, (u) => w(u, v.Camel)).value();
2485
2527
  }
2486
2528
  /**
2487
2529
  * 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\"**.
2488
2530
  * Create Hotel Room Offer
2489
2531
  */
2490
- async create(e = {}, r) {
2491
- return this.createRaw(e, r);
2532
+ async create(e = {}, n) {
2533
+ return this.createRaw(e, n);
2492
2534
  }
2493
2535
  }
2494
- const En = {
2536
+ const Br = {
2495
2537
  DeDe: "de-DE",
2496
2538
  EnUs: "en-US",
2497
2539
  EsEs: "es-ES",
@@ -2500,111 +2542,111 @@ const En = {
2500
2542
  NlNl: "nl-NL",
2501
2543
  PtPt: "pt-PT"
2502
2544
  };
2503
- class Lr extends W {
2545
+ class Pn extends W {
2504
2546
  /**
2505
2547
  * 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.
2506
2548
  * Delete Hotel Room List Guest
2507
2549
  */
2508
- async deleteRaw(e, r) {
2550
+ async deleteRaw(e, n) {
2509
2551
  if (e.id === null || e.id === void 0)
2510
- throw new U("id", "Required parameter requestParameters.id was null or undefined when calling deleteV1HotelRoomingListGuestsTokenId.");
2552
+ throw new N("id", "Required parameter requestParameters.id was null or undefined when calling deleteV1HotelRoomingListGuestsTokenId.");
2511
2553
  if (e.token === null || e.token === void 0)
2512
- throw new U("token", "Required parameter requestParameters.token was null or undefined when calling deleteV1HotelRoomingListGuestsTokenId.");
2513
- const t = {}, n = {}, s = await this.request({
2554
+ throw new N("token", "Required parameter requestParameters.token was null or undefined when calling deleteV1HotelRoomingListGuestsTokenId.");
2555
+ const t = {}, r = {}, s = await this.request({
2514
2556
  path: "/v1/hotel_rooming_list_guests/{token}/{id}".replace("{id}", encodeURIComponent(String(e.id))).replace("{token}", encodeURIComponent(String(e.token))),
2515
2557
  method: "DELETE",
2516
- headers: n,
2558
+ headers: r,
2517
2559
  query: w(t, v.Snake)
2518
- }, r);
2519
- return new Or(s);
2560
+ }, n);
2561
+ return new kn(s);
2520
2562
  }
2521
2563
  /**
2522
2564
  * 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.
2523
2565
  * Delete Hotel Room List Guest
2524
2566
  */
2525
- async delete(e, r) {
2526
- return this.deleteRaw(e, r);
2567
+ async delete(e, n) {
2568
+ return this.deleteRaw(e, n);
2527
2569
  }
2528
2570
  /**
2529
2571
  * 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.
2530
2572
  * Update Hotel Room List Guest
2531
2573
  */
2532
- async updateRaw(e, r) {
2574
+ async updateRaw(e, n) {
2533
2575
  if (e.id === null || e.id === void 0)
2534
- throw new U("id", "Required parameter requestParameters.id was null or undefined when calling patchV1HotelRoomingListGuestsTokenId.");
2576
+ throw new N("id", "Required parameter requestParameters.id was null or undefined when calling patchV1HotelRoomingListGuestsTokenId.");
2535
2577
  if (e.token === null || e.token === void 0)
2536
- throw new U("token", "Required parameter requestParameters.token was null or undefined when calling patchV1HotelRoomingListGuestsTokenId.");
2537
- const t = {}, n = {};
2538
- n["Content-Type"] = "application/json";
2578
+ throw new N("token", "Required parameter requestParameters.token was null or undefined when calling patchV1HotelRoomingListGuestsTokenId.");
2579
+ const t = {}, r = {};
2580
+ r["Content-Type"] = "application/json";
2539
2581
  const s = await this.request({
2540
2582
  path: "/v1/hotel_rooming_list_guests/{token}/{id}".replace("{id}", encodeURIComponent(String(e.id))).replace("{token}", encodeURIComponent(String(e.token))),
2541
2583
  method: "PATCH",
2542
- headers: n,
2584
+ headers: r,
2543
2585
  query: w(t, v.Snake),
2544
2586
  body: w(e.hotelRoomingListGuestsUpdateApi, v.Snake)
2545
- }, r);
2546
- return await new $(s, (u) => w(u, v.Camel)).value();
2587
+ }, n);
2588
+ return await new P(s, (u) => w(u, v.Camel)).value();
2547
2589
  }
2548
2590
  /**
2549
2591
  * 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.
2550
2592
  * Update Hotel Room List Guest
2551
2593
  */
2552
- async update(e, r) {
2553
- return this.updateRaw(e, r);
2594
+ async update(e, n) {
2595
+ return this.updateRaw(e, n);
2554
2596
  }
2555
2597
  /**
2556
2598
  * 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.
2557
2599
  * Create Hotel Rooming List Guest
2558
2600
  */
2559
- async createRaw(e, r) {
2601
+ async createRaw(e, n) {
2560
2602
  if (e.token === null || e.token === void 0)
2561
- throw new U("token", "Required parameter requestParameters.token was null or undefined when calling postV1HotelRoomingListGuestsToken.");
2562
- const t = {}, n = {};
2563
- n["Content-Type"] = "application/json";
2603
+ throw new N("token", "Required parameter requestParameters.token was null or undefined when calling postV1HotelRoomingListGuestsToken.");
2604
+ const t = {}, r = {};
2605
+ r["Content-Type"] = "application/json";
2564
2606
  const s = await this.request({
2565
2607
  path: "/v1/hotel_rooming_list_guests/{token}".replace("{token}", encodeURIComponent(String(e.token))),
2566
2608
  method: "POST",
2567
- headers: n,
2609
+ headers: r,
2568
2610
  query: w(t, v.Snake),
2569
2611
  body: w(e.hotelRoomingListGuestsCreateApi, v.Snake)
2570
- }, r);
2571
- return await new $(s, (u) => w(u, v.Camel)).value();
2612
+ }, n);
2613
+ return await new P(s, (u) => w(u, v.Camel)).value();
2572
2614
  }
2573
2615
  /**
2574
2616
  * 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.
2575
2617
  * Create Hotel Rooming List Guest
2576
2618
  */
2577
- async create(e, r) {
2578
- return this.createRaw(e, r);
2619
+ async create(e, n) {
2620
+ return this.createRaw(e, n);
2579
2621
  }
2580
2622
  }
2581
- class Pr extends W {
2623
+ class Nn extends W {
2582
2624
  /**
2583
2625
  * Get Hotel Rooming Lists of a booking. This endpoint is public and does not require a secret API key.
2584
2626
  * Get Hotel Rooming Lists for a booking
2585
2627
  */
2586
- async listRaw(e, r) {
2628
+ async listRaw(e, n) {
2587
2629
  if (e.token === null || e.token === void 0)
2588
- throw new U("token", "Required parameter requestParameters.token was null or undefined when calling getV1HotelRoomingListsToken.");
2630
+ throw new N("token", "Required parameter requestParameters.token was null or undefined when calling getV1HotelRoomingListsToken.");
2589
2631
  const t = {};
2590
2632
  e.lang !== void 0 && (t.lang = e.lang);
2591
- const n = {}, s = await this.request({
2633
+ const r = {}, s = await this.request({
2592
2634
  path: "/v1/hotel_rooming_lists/{token}".replace("{token}", encodeURIComponent(String(e.token))),
2593
2635
  method: "GET",
2594
- headers: n,
2636
+ headers: r,
2595
2637
  query: w(t, v.Snake)
2596
- }, r);
2597
- return new $(s, (u) => w(u, v.Camel)).value();
2638
+ }, n);
2639
+ return new P(s, (u) => w(u, v.Camel)).value();
2598
2640
  }
2599
2641
  /**
2600
2642
  * Get Hotel Rooming Lists of a booking. This endpoint is public and does not require a secret API key.
2601
2643
  * Get Hotel Rooming Lists for a booking
2602
2644
  */
2603
- async list(e, r) {
2604
- return this.listRaw(e, r);
2645
+ async list(e, n) {
2646
+ return this.listRaw(e, n);
2605
2647
  }
2606
2648
  }
2607
- const On = {
2649
+ const Lr = {
2608
2650
  DeDe: "de-DE",
2609
2651
  EnUs: "en-US",
2610
2652
  EsEs: "es-ES",
@@ -2613,35 +2655,35 @@ const On = {
2613
2655
  NlNl: "nl-NL",
2614
2656
  PtPt: "pt-PT"
2615
2657
  };
2616
- class $r extends W {
2658
+ class $n extends W {
2617
2659
  /**
2618
2660
  * Returns a single Hotel by id with their content localize into the requested **lang**.
2619
2661
  * Retrieve a Hotel
2620
2662
  */
2621
- async retrieveRaw(e, r) {
2663
+ async retrieveRaw(e, n) {
2622
2664
  if (e.id === null || e.id === void 0)
2623
- throw new U("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelsId.");
2665
+ throw new N("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelsId.");
2624
2666
  const t = {};
2625
2667
  e.event !== void 0 && (t.event = e.event), e.lang !== void 0 && (t.lang = e.lang);
2626
- const n = {};
2627
- this.configuration && this.configuration.apiKey && (n["x-api-key"] = this.configuration.apiKey("x-api-key"));
2668
+ const r = {};
2669
+ this.configuration && this.configuration.apiKey && (r["x-api-key"] = this.configuration.apiKey("x-api-key"));
2628
2670
  const s = await this.request({
2629
2671
  path: "/v1/hotels/{id}".replace("{id}", encodeURIComponent(String(e.id))),
2630
2672
  method: "GET",
2631
- headers: n,
2673
+ headers: r,
2632
2674
  query: w(t, v.Snake)
2633
- }, r);
2634
- return await new $(s, (u) => w(u, v.Camel)).value();
2675
+ }, n);
2676
+ return await new P(s, (u) => w(u, v.Camel)).value();
2635
2677
  }
2636
2678
  /**
2637
2679
  * Returns a single Hotel by id with their content localize into the requested **lang**.
2638
2680
  * Retrieve a Hotel
2639
2681
  */
2640
- async retrieve(e, r) {
2641
- return this.retrieveRaw(e, r);
2682
+ async retrieve(e, n) {
2683
+ return this.retrieveRaw(e, n);
2642
2684
  }
2643
2685
  }
2644
- const kn = {
2686
+ const xr = {
2645
2687
  DeDe: "de-DE",
2646
2688
  EnUs: "en-US",
2647
2689
  EsEs: "es-ES",
@@ -2651,13 +2693,13 @@ const kn = {
2651
2693
  PtPt: "pt-PT"
2652
2694
  };
2653
2695
  var ue = { exports: {} }, Ze;
2654
- function Ur() {
2696
+ function Un() {
2655
2697
  return Ze || (Ze = 1, (function(i, e) {
2656
- var r = typeof globalThis < "u" && globalThis || typeof self < "u" && self || typeof se < "u" && se, t = (function() {
2698
+ var n = typeof globalThis < "u" && globalThis || typeof self < "u" && self || typeof se < "u" && se, t = (function() {
2657
2699
  function s() {
2658
- this.fetch = !1, this.DOMException = r.DOMException;
2700
+ this.fetch = !1, this.DOMException = n.DOMException;
2659
2701
  }
2660
- return s.prototype = r, new s();
2702
+ return s.prototype = n, new s();
2661
2703
  })();
2662
2704
  (function(s) {
2663
2705
  (function(u) {
@@ -2679,7 +2721,7 @@ function Ur() {
2679
2721
  return o && DataView.prototype.isPrototypeOf(o);
2680
2722
  }
2681
2723
  if (h.arrayBuffer)
2682
- var C = [
2724
+ var A = [
2683
2725
  "[object Int8Array]",
2684
2726
  "[object Uint8Array]",
2685
2727
  "[object Uint8ClampedArray]",
@@ -2690,17 +2732,17 @@ function Ur() {
2690
2732
  "[object Float32Array]",
2691
2733
  "[object Float64Array]"
2692
2734
  ], y = ArrayBuffer.isView || function(o) {
2693
- return o && C.indexOf(Object.prototype.toString.call(o)) > -1;
2735
+ return o && A.indexOf(Object.prototype.toString.call(o)) > -1;
2694
2736
  };
2695
2737
  function m(o) {
2696
2738
  if (typeof o != "string" && (o = String(o)), /[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(o) || o === "")
2697
2739
  throw new TypeError('Invalid character in header field name: "' + o + '"');
2698
2740
  return o.toLowerCase();
2699
2741
  }
2700
- function A(o) {
2742
+ function C(o) {
2701
2743
  return typeof o != "string" && (o = String(o)), o;
2702
2744
  }
2703
- function T(o) {
2745
+ function E(o) {
2704
2746
  var a = {
2705
2747
  next: function() {
2706
2748
  var f = o.shift();
@@ -2723,7 +2765,7 @@ function Ur() {
2723
2765
  }, this);
2724
2766
  }
2725
2767
  d.prototype.append = function(o, a) {
2726
- o = m(o), a = A(a);
2768
+ o = m(o), a = C(a);
2727
2769
  var f = this.map[o];
2728
2770
  this.map[o] = f ? f + ", " + a : a;
2729
2771
  }, d.prototype.delete = function(o) {
@@ -2733,7 +2775,7 @@ function Ur() {
2733
2775
  }, d.prototype.has = function(o) {
2734
2776
  return this.map.hasOwnProperty(m(o));
2735
2777
  }, d.prototype.set = function(o, a) {
2736
- this.map[m(o)] = A(a);
2778
+ this.map[m(o)] = C(a);
2737
2779
  }, d.prototype.forEach = function(o, a) {
2738
2780
  for (var f in this.map)
2739
2781
  this.map.hasOwnProperty(f) && o.call(a, this.map[f], f, this);
@@ -2741,17 +2783,17 @@ function Ur() {
2741
2783
  var o = [];
2742
2784
  return this.forEach(function(a, f) {
2743
2785
  o.push(f);
2744
- }), T(o);
2786
+ }), E(o);
2745
2787
  }, d.prototype.values = function() {
2746
2788
  var o = [];
2747
2789
  return this.forEach(function(a) {
2748
2790
  o.push(a);
2749
- }), T(o);
2791
+ }), E(o);
2750
2792
  }, d.prototype.entries = function() {
2751
2793
  var o = [];
2752
2794
  return this.forEach(function(a, f) {
2753
2795
  o.push([f, a]);
2754
- }), T(o);
2796
+ }), E(o);
2755
2797
  }, h.iterable && (d.prototype[Symbol.iterator] = d.prototype.entries);
2756
2798
  function M(o) {
2757
2799
  if (!o._noBody) {
@@ -2777,12 +2819,12 @@ function Ur() {
2777
2819
  var a = new FileReader(), f = I(a), l = /charset=([A-Za-z0-9_-]+)/.exec(o.type), g = l ? l[1] : "utf-8";
2778
2820
  return a.readAsText(o, g), f;
2779
2821
  }
2780
- function P(o) {
2822
+ function $(o) {
2781
2823
  for (var a = new Uint8Array(o), f = new Array(a.length), l = 0; l < a.length; l++)
2782
2824
  f[l] = String.fromCharCode(a[l]);
2783
2825
  return f.join("");
2784
2826
  }
2785
- function E(o) {
2827
+ function T(o) {
2786
2828
  if (o.slice)
2787
2829
  return o.slice(0);
2788
2830
  var a = new Uint8Array(o.byteLength);
@@ -2790,7 +2832,7 @@ function Ur() {
2790
2832
  }
2791
2833
  function B() {
2792
2834
  return this.bodyUsed = !1, this._initBody = function(o) {
2793
- this.bodyUsed = this.bodyUsed, this._bodyInit = o, o ? typeof o == "string" ? this._bodyText = o : h.blob && Blob.prototype.isPrototypeOf(o) ? this._bodyBlob = o : h.formData && FormData.prototype.isPrototypeOf(o) ? this._bodyFormData = o : h.searchParams && URLSearchParams.prototype.isPrototypeOf(o) ? this._bodyText = o.toString() : h.arrayBuffer && h.blob && S(o) ? (this._bodyArrayBuffer = E(o.buffer), this._bodyInit = new Blob([this._bodyArrayBuffer])) : h.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(o) || y(o)) ? this._bodyArrayBuffer = E(o) : this._bodyText = o = Object.prototype.toString.call(o) : (this._noBody = !0, this._bodyText = ""), this.headers.get("content-type") || (typeof o == "string" ? this.headers.set("content-type", "text/plain;charset=UTF-8") : this._bodyBlob && this._bodyBlob.type ? this.headers.set("content-type", this._bodyBlob.type) : h.searchParams && URLSearchParams.prototype.isPrototypeOf(o) && this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8"));
2835
+ this.bodyUsed = this.bodyUsed, this._bodyInit = o, o ? typeof o == "string" ? this._bodyText = o : h.blob && Blob.prototype.isPrototypeOf(o) ? this._bodyBlob = o : h.formData && FormData.prototype.isPrototypeOf(o) ? this._bodyFormData = o : h.searchParams && URLSearchParams.prototype.isPrototypeOf(o) ? this._bodyText = o.toString() : h.arrayBuffer && h.blob && S(o) ? (this._bodyArrayBuffer = T(o.buffer), this._bodyInit = new Blob([this._bodyArrayBuffer])) : h.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(o) || y(o)) ? this._bodyArrayBuffer = T(o) : this._bodyText = o = Object.prototype.toString.call(o) : (this._noBody = !0, this._bodyText = ""), this.headers.get("content-type") || (typeof o == "string" ? this.headers.set("content-type", "text/plain;charset=UTF-8") : this._bodyBlob && this._bodyBlob.type ? this.headers.set("content-type", this._bodyBlob.type) : h.searchParams && URLSearchParams.prototype.isPrototypeOf(o) && this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8"));
2794
2836
  }, h.blob && (this.blob = function() {
2795
2837
  var o = M(this);
2796
2838
  if (o)
@@ -2823,33 +2865,33 @@ function Ur() {
2823
2865
  if (this._bodyBlob)
2824
2866
  return _(this._bodyBlob);
2825
2867
  if (this._bodyArrayBuffer)
2826
- return Promise.resolve(P(this._bodyArrayBuffer));
2868
+ return Promise.resolve($(this._bodyArrayBuffer));
2827
2869
  if (this._bodyFormData)
2828
2870
  throw new Error("could not read FormData body as text");
2829
2871
  return Promise.resolve(this._bodyText);
2830
2872
  }, h.formData && (this.formData = function() {
2831
- return this.text().then(x);
2873
+ return this.text().then(L);
2832
2874
  }), this.json = function() {
2833
2875
  return this.text().then(JSON.parse);
2834
2876
  }, this;
2835
2877
  }
2836
- var K = ["CONNECT", "DELETE", "GET", "HEAD", "OPTIONS", "PATCH", "POST", "PUT", "TRACE"];
2837
- function F(o) {
2878
+ var F = ["CONNECT", "DELETE", "GET", "HEAD", "OPTIONS", "PATCH", "POST", "PUT", "TRACE"];
2879
+ function K(o) {
2838
2880
  var a = o.toUpperCase();
2839
- return K.indexOf(a) > -1 ? a : o;
2881
+ return F.indexOf(a) > -1 ? a : o;
2840
2882
  }
2841
- function N(o, a) {
2842
- if (!(this instanceof N))
2883
+ function U(o, a) {
2884
+ if (!(this instanceof U))
2843
2885
  throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
2844
2886
  a = a || {};
2845
2887
  var f = a.body;
2846
- if (o instanceof N) {
2888
+ if (o instanceof U) {
2847
2889
  if (o.bodyUsed)
2848
2890
  throw new TypeError("Already read");
2849
2891
  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);
2850
2892
  } else
2851
2893
  this.url = String(o);
2852
- 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() {
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() {
2853
2895
  if ("AbortController" in c) {
2854
2896
  var p = new AbortController();
2855
2897
  return p.signal;
@@ -2866,10 +2908,10 @@ function Ur() {
2866
2908
  }
2867
2909
  }
2868
2910
  }
2869
- N.prototype.clone = function() {
2870
- return new N(this, { body: this._bodyInit });
2911
+ U.prototype.clone = function() {
2912
+ return new U(this, { body: this._bodyInit });
2871
2913
  };
2872
- function x(o) {
2914
+ function L(o) {
2873
2915
  var a = new FormData();
2874
2916
  return o.trim().split("&").forEach(function(f) {
2875
2917
  if (f) {
@@ -2889,13 +2931,13 @@ function Ur() {
2889
2931
  var D = g.join(":").trim();
2890
2932
  try {
2891
2933
  a.append(p, D);
2892
- } catch (L) {
2893
- console.warn("Response " + L.message);
2934
+ } catch (x) {
2935
+ console.warn("Response " + x.message);
2894
2936
  }
2895
2937
  }
2896
2938
  }), a;
2897
2939
  }
2898
- B.call(N.prototype);
2940
+ B.call(U.prototype);
2899
2941
  function V(o, a) {
2900
2942
  if (!(this instanceof V))
2901
2943
  throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
@@ -2931,7 +2973,7 @@ function Ur() {
2931
2973
  }
2932
2974
  function R(o, a) {
2933
2975
  return new Promise(function(f, l) {
2934
- var g = new N(o, a);
2976
+ var g = new U(o, a);
2935
2977
  if (g.signal && g.signal.aborted)
2936
2978
  return l(new u.DOMException("Aborted", "AbortError"));
2937
2979
  var p = new XMLHttpRequest();
@@ -2961,17 +3003,17 @@ function Ur() {
2961
3003
  l(new u.DOMException("Aborted", "AbortError"));
2962
3004
  }, 0);
2963
3005
  };
2964
- function L(k) {
3006
+ function x(k) {
2965
3007
  try {
2966
3008
  return k === "" && c.location.href ? c.location.href : k;
2967
3009
  } catch {
2968
3010
  return k;
2969
3011
  }
2970
3012
  }
2971
- if (p.open(g.method, L(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)) {
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)) {
2972
3014
  var G = [];
2973
3015
  Object.getOwnPropertyNames(a.headers).forEach(function(k) {
2974
- G.push(m(k)), p.setRequestHeader(k, A(a.headers[k]));
3016
+ G.push(m(k)), p.setRequestHeader(k, C(a.headers[k]));
2975
3017
  }), g.headers.forEach(function(k, H) {
2976
3018
  G.indexOf(H) === -1 && p.setRequestHeader(H, k);
2977
3019
  });
@@ -2984,27 +3026,27 @@ function Ur() {
2984
3026
  }), p.send(typeof g._bodyInit > "u" ? null : g._bodyInit);
2985
3027
  });
2986
3028
  }
2987
- return R.polyfill = !0, c.fetch || (c.fetch = R, c.Headers = d, c.Request = N, c.Response = V), u.Headers = d, u.Request = N, u.Response = V, u.fetch = R, u;
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;
2988
3030
  })({});
2989
3031
  })(t), t.fetch.ponyfill = !0, delete t.fetch.polyfill;
2990
- var n = r.fetch ? r : t;
2991
- e = n.fetch, e.default = n.fetch, e.fetch = n.fetch, e.Headers = n.Headers, e.Request = n.Request, e.Response = n.Response, i.exports = e;
3032
+ var r = n.fetch ? n : t;
3033
+ 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;
2992
3034
  })(ue, ue.exports)), ue.exports;
2993
3035
  }
2994
- var Nr = Ur();
2995
- const Gr = /* @__PURE__ */ j(Nr), Hr = (i) => ({
2996
- bookingPolicies: new kr(i),
2997
- bookings: new _r(i),
2998
- hotelImages: new Dr(i),
2999
- hotelOfferRequests: new br(i),
3000
- hotelOffers: new Ir(i),
3001
- hotelRoomOfferRequests: new Br(i),
3002
- hotelRoomOffers: new xr(i),
3003
- hotelRoomingListGuests: new Lr(i),
3004
- hotelRoomingLists: new Pr(i),
3005
- hotels: new $r(i)
3036
+ var Gn = Un();
3037
+ const Hn = /* @__PURE__ */ j(Gn), Fn = (i) => ({
3038
+ bookingPolicies: new _n(i),
3039
+ bookings: new Dn(i),
3040
+ hotelImages: new bn(i),
3041
+ hotelOfferRequests: new In(i),
3042
+ hotelOffers: new Bn(i),
3043
+ hotelRoomOfferRequests: new Ln(i),
3044
+ hotelRoomOffers: new xn(i),
3045
+ hotelRoomingListGuests: new Pn(i),
3046
+ hotelRoomingLists: new Nn(i),
3047
+ hotels: new $n(i)
3006
3048
  });
3007
- function Kr(i) {
3049
+ function Kn(i) {
3008
3050
  switch (i) {
3009
3051
  case ee.Production:
3010
3052
  return "AUTH_TOKEN";
@@ -3016,17 +3058,16 @@ function Kr(i) {
3016
3058
  return "AUTH_TOKEN_CICD";
3017
3059
  case ee.Local:
3018
3060
  return "AUTH_TOKEN_LOCAL";
3019
- case void 0:
3020
3061
  default:
3021
3062
  return "AUTH_TOKEN";
3022
3063
  }
3023
3064
  }
3024
3065
  function at(i) {
3025
3066
  return !!(typeof document < "u" && document?.cookie && document.cookie.split(";").find(
3026
- (t) => t.includes(Kr(i))
3067
+ (t) => t.includes(Kn(i))
3027
3068
  ));
3028
3069
  }
3029
- class Fr {
3070
+ class Yn {
3030
3071
  constructor(e) {
3031
3072
  this.config = e;
3032
3073
  }
@@ -3035,7 +3076,7 @@ class Fr {
3035
3076
  return e.init.mode = "cors", at(this.config.apiEnvironment) && (e.init.credentials = "include"), e;
3036
3077
  }
3037
3078
  }
3038
- class Yr {
3079
+ class Vn {
3039
3080
  constructor(e) {
3040
3081
  this.config = e;
3041
3082
  }
@@ -3047,7 +3088,7 @@ class Yr {
3047
3088
  }), e;
3048
3089
  }
3049
3090
  }
3050
- class _n {
3091
+ class Pr {
3051
3092
  constructor(e) {
3052
3093
  if (this.config = e, !e.apiVersion || !Object.values(Oe).includes(e.apiVersion))
3053
3094
  throw new Error(
@@ -3055,27 +3096,27 @@ class _n {
3055
3096
  Object.values(Oe)
3056
3097
  )}`
3057
3098
  );
3058
- let r = {
3099
+ let n = {
3059
3100
  "x-api-key": this.config.apiKey
3060
3101
  };
3061
- this.config.optionalHeaders && (r = {
3062
- ...r,
3102
+ this.config.optionalHeaders && (n = {
3103
+ ...n,
3063
3104
  ...this.config.optionalHeaders
3064
3105
  });
3065
3106
  const t = this.config.apiEnvironment;
3066
- let n = this.config.apiBaseUrl ?? Tt[t];
3067
- t === ee.Local && process.env.BOOKING_API_BASE_URL && (n = process.env.BOOKING_API_BASE_URL);
3107
+ let r = this.config.apiBaseUrl ?? Et[t];
3108
+ t === ee.Local && process.env.BOOKING_API_BASE_URL && (r = process.env.BOOKING_API_BASE_URL);
3068
3109
  const s = new it({
3069
- basePath: n,
3070
- fetchApi: Gr,
3071
- headers: r,
3110
+ basePath: r,
3111
+ fetchApi: Hn,
3112
+ headers: n,
3072
3113
  middleware: [
3073
- new Fr(this.config),
3074
- new Yr(this.config)
3114
+ new Yn(this.config),
3115
+ new Vn(this.config)
3075
3116
  ]
3076
3117
  });
3077
3118
  this.apiVersionsToClient = {
3078
- v1: Hr(s)
3119
+ v1: Fn(s)
3079
3120
  };
3080
3121
  }
3081
3122
  apiVersionsToClient;
@@ -3111,61 +3152,68 @@ class _n {
3111
3152
  }
3112
3153
  }
3113
3154
  export {
3114
- _n as ApiClient,
3115
- Tr as BASE_PATH,
3155
+ Qn as AllowedPaymentMethodApiOneOf1NameEnum,
3156
+ er as AllowedPaymentMethodApiOneOf2NameEnum,
3157
+ tr as AllowedPaymentMethodApiOneOf3NameEnum,
3158
+ nr as AllowedPaymentMethodApiOneOf3PayloadStatusEnum,
3159
+ Xn as AllowedPaymentMethodApiOneOfNameEnum,
3160
+ Pr as ApiClient,
3161
+ Mn as BASE_PATH,
3116
3162
  W as BaseAPI,
3117
- Zr as BlobApiResponse,
3118
- Jr as BookingApiPayLaterEnum,
3119
- Xr as BookingApiStatusEnum,
3120
- kr as BookingPolicies,
3121
- Qr as BookingPoliciesCreateApiLangEnum,
3122
- _r as Bookings,
3123
- Sn as BookingsSortByEnum,
3124
- Rn as BookingsSortByOrderEnum,
3125
- Vr as COLLECTION_FORMATS,
3163
+ Jn as BlobApiResponse,
3164
+ rr as BookingApiPayLaterEnum,
3165
+ ir as BookingApiStatusEnum,
3166
+ _n as BookingPolicies,
3167
+ or as BookingPoliciesCreateApiLangEnum,
3168
+ Dn as Bookings,
3169
+ Or as BookingsSortByEnum,
3170
+ kr as BookingsSortByOrderEnum,
3171
+ qn as COLLECTION_FORMATS,
3126
3172
  it as Configuration,
3127
- en as ContactPersonApiLangEnum,
3128
- tn as ContactPersonApiSalutationEnum,
3129
- rn as CountryIso2Code,
3130
- nn as CurrencyBookingApiClient,
3131
- on as ErrorApiResponseTypeEnum,
3132
- Dr as HotelImages,
3133
- Cn as HotelImagesLangEnum,
3134
- br as HotelOfferRequests,
3135
- Ir as HotelOffers,
3136
- An as HotelOffersLangEnum,
3137
- Tn as HotelOffersSortByEnum,
3138
- Mn as HotelOffersSortByOrderEnum,
3139
- an as HotelRoomOfferApiBreakfastOptionEnum,
3140
- sn as HotelRoomOfferApiPackageTypeEnum,
3141
- un as HotelRoomOfferApiStayTaxesInfoEnum,
3142
- cn as HotelRoomOfferApiTypeEnum,
3143
- Br as HotelRoomOfferRequests,
3144
- xr as HotelRoomOffers,
3145
- ln as HotelRoomOffersCreateApiLangEnum,
3146
- En as HotelRoomOffersLangEnum,
3147
- Lr as HotelRoomingListGuests,
3148
- Pr as HotelRoomingLists,
3149
- On as HotelRoomingListsLangEnum,
3150
- $r as Hotels,
3151
- kn as HotelsLangEnum,
3152
- fn as InvoiceApiTypeEnum,
3153
- $ as JSONApiResponse,
3154
- hn as PaymentMethodApiOneOf1NameEnum,
3155
- pn as PaymentMethodApiOneOf2NameEnum,
3156
- dn as PaymentMethodApiOneOfNameEnum,
3157
- mn as PaymentMethodRequestApiNameEnum,
3158
- yn as PollerStatus,
3159
- U as RequiredError,
3160
- Er as ResponseError,
3161
- gn as SourceMarket,
3162
- wn as TaxApiTaxFrequencyEnum,
3163
- vn as TaxApiTaxModeEnum,
3164
- Or as TextApiResponse,
3165
- Wr as VoidApiResponse,
3166
- zr as canConsumeForm,
3167
- qr as exists,
3168
- jr as mapValues,
3173
+ ar as ContactPersonApiLangEnum,
3174
+ sr as ContactPersonApiSalutationEnum,
3175
+ ur as CountryIso2Code,
3176
+ cr as CurrencyBookingApiClient,
3177
+ lr as ErrorApiResponseTypeEnum,
3178
+ bn as HotelImages,
3179
+ _r as HotelImagesLangEnum,
3180
+ In as HotelOfferRequests,
3181
+ 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,
3189
+ Ln as HotelRoomOfferRequests,
3190
+ xn as HotelRoomOffers,
3191
+ mr as HotelRoomOffersCreateApiLangEnum,
3192
+ Br as HotelRoomOffersLangEnum,
3193
+ Pn as HotelRoomingListGuests,
3194
+ 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,
3208
+ On as ResponseError,
3209
+ Er as SourceMarket,
3210
+ Mr as TaxApiTaxFrequencyEnum,
3211
+ Tr as TaxApiTaxModeEnum,
3212
+ kn as TextApiResponse,
3213
+ Zn as VoidApiResponse,
3214
+ Wn as canConsumeForm,
3215
+ jn as exists,
3216
+ zn as mapValues,
3169
3217
  ot as querystring,
3170
- Hr as v1ApiClient
3218
+ Fn as v1ApiClient
3171
3219
  };