@revolugo/booking-api-client 7.11.2-alpha.31 → 7.11.2-alpha.33
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
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
var
|
|
1
|
+
var xt = Object.create, Ze = Object.defineProperty, Ft = Object.getOwnPropertyDescriptor, Ut = Object.getOwnPropertyNames, Gt = Object.getPrototypeOf, $t = Object.prototype.hasOwnProperty, V = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), qt = (e, t, i, n) => {
|
|
2
2
|
if (t && typeof t == "object" || typeof t == "function")
|
|
3
|
-
for (var r =
|
|
4
|
-
c = r[s],
|
|
3
|
+
for (var r = Ut(t), s = 0, u = r.length, c; s < u; s++)
|
|
4
|
+
c = r[s], !$t.call(e, c) && c !== i && Ze(e, c, {
|
|
5
5
|
get: ((m) => t[m]).bind(null, c),
|
|
6
|
-
enumerable: !(n =
|
|
6
|
+
enumerable: !(n = Ft(t, c)) || n.enumerable
|
|
7
7
|
});
|
|
8
8
|
return e;
|
|
9
|
-
}, Z = (e, t, i) => (i = e != null ?
|
|
9
|
+
}, Z = (e, t, i) => (i = e != null ? xt(Gt(e)) : {}, qt(t || !e || !e.__esModule ? Ze(i, "default", {
|
|
10
10
|
value: e,
|
|
11
11
|
enumerable: !0
|
|
12
12
|
}) : i, e)), Ge = /* @__PURE__ */ (function(e) {
|
|
13
13
|
return e.V1 = "v1", e;
|
|
14
14
|
})({}), ce = /* @__PURE__ */ (function(e) {
|
|
15
15
|
return e.CiCd = "CI-CD", e.Local = "LOCAL", e.Production = "LIVE", e.Sandbox = "SANDBOX", e.Staging = "STAGING", e;
|
|
16
|
-
})({}),
|
|
16
|
+
})({}), Yt = {
|
|
17
17
|
"CI-CD": "https://booking-api.staging.revolugo.com",
|
|
18
18
|
LOCAL: "http://127.0.0.1:3001",
|
|
19
19
|
LIVE: "https://booking-api.revolugo.com",
|
|
@@ -21,7 +21,7 @@ var Ht = Object.create, Ze = Object.defineProperty, xt = Object.getOwnPropertyDe
|
|
|
21
21
|
STAGING: "https://booking-api.staging.revolugo.com"
|
|
22
22
|
}, We = /* @__PURE__ */ (function(e) {
|
|
23
23
|
return e.HOTEL_ROOM_OFFERS = "HOTEL_ROOM_OFFERS", e.HOTEL_SEARCH_POLLING = "HOTEL_SEARCH_POLLING", e;
|
|
24
|
-
})({}),
|
|
24
|
+
})({}), Kt = /* @__PURE__ */ V(((e, t) => {
|
|
25
25
|
var i = typeof globalThis < "u" && globalThis || typeof self < "u" && self || typeof global < "u" && global, n = (function() {
|
|
26
26
|
function s() {
|
|
27
27
|
this.fetch = !1, this.DOMException = i.DOMException;
|
|
@@ -347,20 +347,20 @@ var Ht = Object.create, Ze = Object.defineProperty, xt = Object.getOwnPropertyDe
|
|
|
347
347
|
})(n), n.fetch.ponyfill = !0, delete n.fetch.polyfill;
|
|
348
348
|
var r = i.fetch ? i : n;
|
|
349
349
|
e = r.fetch, e.default = r.fetch, e.fetch = r.fetch, e.Headers = r.Headers, e.Request = r.Request, e.Response = r.Response, t.exports = e;
|
|
350
|
-
})),
|
|
350
|
+
})), zt = /* @__PURE__ */ Z(Kt(), 1), Vt = new RegExp("([\\p{Ll}\\d])(\\p{Lu})", "gu"), Zt = new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])", "gu"), Wt = new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d", "u"), Xt = /[^\p{L}\d]+/giu, $e = "$1\0$2", qe = "";
|
|
351
351
|
function Xe(e) {
|
|
352
352
|
let t = e.trim();
|
|
353
|
-
t = t.replace(
|
|
353
|
+
t = t.replace(Vt, $e).replace(Zt, $e), t = t.replace(Xt, "\0");
|
|
354
354
|
let i = 0, n = t.length;
|
|
355
355
|
for (; t.charAt(i) === "\0"; ) i++;
|
|
356
356
|
if (i === n) return [];
|
|
357
357
|
for (; t.charAt(n - 1) === "\0"; ) n--;
|
|
358
358
|
return t.slice(i, n).split(/\0/g);
|
|
359
359
|
}
|
|
360
|
-
function
|
|
360
|
+
function Qt(e) {
|
|
361
361
|
const t = Xe(e);
|
|
362
362
|
for (let i = 0; i < t.length; i++) {
|
|
363
|
-
const n = t[i], r =
|
|
363
|
+
const n = t[i], r = Wt.exec(n);
|
|
364
364
|
if (r) {
|
|
365
365
|
const s = r.index + (r[1] ?? r[2]).length;
|
|
366
366
|
t.splice(i, 1, n.slice(0, s), n.slice(s));
|
|
@@ -372,15 +372,15 @@ function Qe(e, t) {
|
|
|
372
372
|
const [i, n, r] = Oe(e, t);
|
|
373
373
|
return i + n.map(_e(t?.locale)).join(t?.delimiter ?? " ") + r;
|
|
374
374
|
}
|
|
375
|
-
function
|
|
375
|
+
function jt(e, t) {
|
|
376
376
|
const [i, n, r] = Oe(e, t), s = _e(t?.locale), u = Le(t?.locale), c = t?.mergeAmbiguousCharacters ? Je(s, u) : et(s, u);
|
|
377
377
|
return i + n.map((m, A) => A === 0 ? s(m) : c(m, A)).join(t?.delimiter ?? "") + r;
|
|
378
378
|
}
|
|
379
|
-
function
|
|
379
|
+
function ei(e, t) {
|
|
380
380
|
const [i, n, r] = Oe(e, t), s = _e(t?.locale), u = Le(t?.locale), c = t?.mergeAmbiguousCharacters ? Je(s, u) : et(s, u);
|
|
381
381
|
return i + n.map(c).join(t?.delimiter ?? "") + r;
|
|
382
382
|
}
|
|
383
|
-
function
|
|
383
|
+
function ti(e, t) {
|
|
384
384
|
const [i, n, r] = Oe(e, t), s = _e(t?.locale), u = Le(t?.locale);
|
|
385
385
|
return i + n.map(Je(s, u)).join(t?.delimiter ?? " ") + r;
|
|
386
386
|
}
|
|
@@ -390,7 +390,7 @@ function je(e, t) {
|
|
|
390
390
|
...t
|
|
391
391
|
});
|
|
392
392
|
}
|
|
393
|
-
function
|
|
393
|
+
function ii(e, t) {
|
|
394
394
|
return Qe(e, {
|
|
395
395
|
delimiter: "_",
|
|
396
396
|
...t
|
|
@@ -412,7 +412,7 @@ function et(e, t) {
|
|
|
412
412
|
};
|
|
413
413
|
}
|
|
414
414
|
function Oe(e, t = {}) {
|
|
415
|
-
const i = t.split ?? (t.separateNumbers ?
|
|
415
|
+
const i = t.split ?? (t.separateNumbers ? Qt : Xe), n = t.prefixCharacters ?? qe, r = t.suffixCharacters ?? qe;
|
|
416
416
|
let s = 0, u = e.length;
|
|
417
417
|
for (; s < e.length; ) {
|
|
418
418
|
const c = e.charAt(s);
|
|
@@ -430,7 +430,7 @@ function Oe(e, t = {}) {
|
|
|
430
430
|
e.slice(u)
|
|
431
431
|
];
|
|
432
432
|
}
|
|
433
|
-
var
|
|
433
|
+
var ni = /* @__PURE__ */ V(((e, t) => {
|
|
434
434
|
(function(i, n, r) {
|
|
435
435
|
typeof e == "object" ? (t.exports = r(), t.exports.default = r()) : typeof define == "function" && define.amd ? define(r) : n[i] = r();
|
|
436
436
|
})("slugify", e, function() {
|
|
@@ -448,32 +448,32 @@ var ii = /* @__PURE__ */ V(((e, t) => {
|
|
|
448
448
|
Object.assign(i, s);
|
|
449
449
|
}, r;
|
|
450
450
|
});
|
|
451
|
-
})),
|
|
452
|
-
function
|
|
453
|
-
return (0,
|
|
451
|
+
})), ri = /* @__PURE__ */ Z(ni(), 1);
|
|
452
|
+
function oi(e) {
|
|
453
|
+
return (0, ri.default)(je(e), {
|
|
454
454
|
lower: !0,
|
|
455
455
|
strict: !0
|
|
456
456
|
});
|
|
457
457
|
}
|
|
458
458
|
var b = /* @__PURE__ */ (function(e) {
|
|
459
459
|
return e.Camel = "camelCase", e.Capital = "capitalCase", e.Param = "paramCase", e.Pascal = "pascalCase", e.Slug = "slugCase", e.Snake = "snakeCase", e;
|
|
460
|
-
})({}),
|
|
461
|
-
camelCase:
|
|
462
|
-
capitalCase:
|
|
460
|
+
})({}), ai = {
|
|
461
|
+
camelCase: jt,
|
|
462
|
+
capitalCase: ti,
|
|
463
463
|
paramCase: je,
|
|
464
|
-
pascalCase:
|
|
465
|
-
slugCase:
|
|
466
|
-
snakeCase:
|
|
464
|
+
pascalCase: ei,
|
|
465
|
+
slugCase: oi,
|
|
466
|
+
snakeCase: ii
|
|
467
467
|
};
|
|
468
|
-
function
|
|
468
|
+
function si(e, t) {
|
|
469
469
|
return e.some((i) => typeof i == "string" ? i === t : i.test(t));
|
|
470
470
|
}
|
|
471
|
-
function
|
|
471
|
+
function ci(e) {
|
|
472
472
|
return e === Object(e) && !Array.isArray(e) && typeof e != "function";
|
|
473
473
|
}
|
|
474
474
|
function P(e, t, i = { deep: !0 }) {
|
|
475
|
-
return
|
|
476
|
-
const s = i?.exclude &&
|
|
475
|
+
return ci(e) && !(e instanceof Date) ? Object.keys(e).reduce((n, r) => {
|
|
476
|
+
const s = i?.exclude && si(i.exclude, r) ? r : ai[t](r);
|
|
477
477
|
return n[s] = i.deep ? P(e[r], t, i) : e[r], n;
|
|
478
478
|
}, {}) : Array.isArray(e) ? e.map((n) => P(n, t, i)) : e;
|
|
479
479
|
}
|
|
@@ -804,7 +804,7 @@ var tt = /* @__PURE__ */ V(((e, t) => {
|
|
|
804
804
|
return L(1e3 * S);
|
|
805
805
|
}, L.en = J[N], L.Ls = J, L.p = {}, L;
|
|
806
806
|
}));
|
|
807
|
-
})),
|
|
807
|
+
})), ui = /* @__PURE__ */ V(((e, t) => {
|
|
808
808
|
(function(i, n) {
|
|
809
809
|
typeof e == "object" && typeof t < "u" ? t.exports = n() : typeof define == "function" && define.amd ? define(n) : (i = typeof globalThis < "u" ? globalThis : i || self).dayjs_plugin_advancedFormat = n();
|
|
810
810
|
})(e, (function() {
|
|
@@ -851,7 +851,7 @@ var tt = /* @__PURE__ */ V(((e, t) => {
|
|
|
851
851
|
};
|
|
852
852
|
};
|
|
853
853
|
}));
|
|
854
|
-
})),
|
|
854
|
+
})), di = /* @__PURE__ */ V(((e, t) => {
|
|
855
855
|
(function(i, n) {
|
|
856
856
|
typeof e == "object" && typeof t < "u" ? t.exports = n() : typeof define == "function" && define.amd ? define(n) : (i = typeof globalThis < "u" ? globalThis : i || self).dayjs_plugin_customParseFormat = n();
|
|
857
857
|
})(e, (function() {
|
|
@@ -1008,7 +1008,7 @@ var tt = /* @__PURE__ */ V(((e, t) => {
|
|
|
1008
1008
|
};
|
|
1009
1009
|
};
|
|
1010
1010
|
}));
|
|
1011
|
-
})),
|
|
1011
|
+
})), fi = /* @__PURE__ */ V(((e, t) => {
|
|
1012
1012
|
(function(i, n) {
|
|
1013
1013
|
typeof e == "object" && typeof t < "u" ? t.exports = n() : typeof define == "function" && define.amd ? define(n) : (i = typeof globalThis < "u" ? globalThis : i || self).dayjs_plugin_isBetween = n();
|
|
1014
1014
|
})(e, (function() {
|
|
@@ -1020,7 +1020,7 @@ var tt = /* @__PURE__ */ V(((e, t) => {
|
|
|
1020
1020
|
};
|
|
1021
1021
|
};
|
|
1022
1022
|
}));
|
|
1023
|
-
})),
|
|
1023
|
+
})), li = /* @__PURE__ */ V(((e, t) => {
|
|
1024
1024
|
(function(i, n) {
|
|
1025
1025
|
typeof e == "object" && typeof t < "u" ? t.exports = n() : typeof define == "function" && define.amd ? define(n) : (i = typeof globalThis < "u" ? globalThis : i || self).dayjs_plugin_isSameOrAfter = n();
|
|
1026
1026
|
})(e, (function() {
|
|
@@ -1031,7 +1031,7 @@ var tt = /* @__PURE__ */ V(((e, t) => {
|
|
|
1031
1031
|
};
|
|
1032
1032
|
};
|
|
1033
1033
|
}));
|
|
1034
|
-
})),
|
|
1034
|
+
})), mi = /* @__PURE__ */ V(((e, t) => {
|
|
1035
1035
|
(function(i, n) {
|
|
1036
1036
|
typeof e == "object" && typeof t < "u" ? t.exports = n() : typeof define == "function" && define.amd ? define(n) : (i = typeof globalThis < "u" ? globalThis : i || self).dayjs_plugin_isSameOrBefore = n();
|
|
1037
1037
|
})(e, (function() {
|
|
@@ -1042,7 +1042,7 @@ var tt = /* @__PURE__ */ V(((e, t) => {
|
|
|
1042
1042
|
};
|
|
1043
1043
|
};
|
|
1044
1044
|
}));
|
|
1045
|
-
})),
|
|
1045
|
+
})), pi = /* @__PURE__ */ V(((e, t) => {
|
|
1046
1046
|
(function(i, n) {
|
|
1047
1047
|
typeof e == "object" && typeof t < "u" ? t.exports = n() : typeof define == "function" && define.amd ? define(n) : (i = typeof globalThis < "u" ? globalThis : i || self).dayjs_plugin_localeData = n();
|
|
1048
1048
|
})(e, (function() {
|
|
@@ -1137,7 +1137,7 @@ var tt = /* @__PURE__ */ V(((e, t) => {
|
|
|
1137
1137
|
};
|
|
1138
1138
|
};
|
|
1139
1139
|
}));
|
|
1140
|
-
})),
|
|
1140
|
+
})), hi = /* @__PURE__ */ V(((e, t) => {
|
|
1141
1141
|
(function(i, n) {
|
|
1142
1142
|
typeof e == "object" && typeof t < "u" ? t.exports = n() : typeof define == "function" && define.amd ? define(n) : (i = typeof globalThis < "u" ? globalThis : i || self).dayjs_plugin_localizedFormat = n();
|
|
1143
1143
|
})(e, (function() {
|
|
@@ -1166,7 +1166,7 @@ var tt = /* @__PURE__ */ V(((e, t) => {
|
|
|
1166
1166
|
};
|
|
1167
1167
|
};
|
|
1168
1168
|
}));
|
|
1169
|
-
})),
|
|
1169
|
+
})), yi = /* @__PURE__ */ V(((e, t) => {
|
|
1170
1170
|
(function(i, n) {
|
|
1171
1171
|
typeof e == "object" && typeof t < "u" ? t.exports = n() : typeof define == "function" && define.amd ? define(n) : (i = typeof globalThis < "u" ? globalThis : i || self).dayjs_plugin_minMax = n();
|
|
1172
1172
|
})(e, (function() {
|
|
@@ -1188,7 +1188,7 @@ var tt = /* @__PURE__ */ V(((e, t) => {
|
|
|
1188
1188
|
};
|
|
1189
1189
|
};
|
|
1190
1190
|
}));
|
|
1191
|
-
})),
|
|
1191
|
+
})), gi = /* @__PURE__ */ V(((e, t) => {
|
|
1192
1192
|
(function(i, n) {
|
|
1193
1193
|
typeof e == "object" && typeof t < "u" ? t.exports = n() : typeof define == "function" && define.amd ? define(n) : (i = typeof globalThis < "u" ? globalThis : i || self).dayjs_plugin_relativeTime = n();
|
|
1194
1194
|
})(e, (function() {
|
|
@@ -1293,7 +1293,7 @@ var tt = /* @__PURE__ */ V(((e, t) => {
|
|
|
1293
1293
|
};
|
|
1294
1294
|
};
|
|
1295
1295
|
}));
|
|
1296
|
-
})),
|
|
1296
|
+
})), _i = /* @__PURE__ */ V(((e, t) => {
|
|
1297
1297
|
(function(i, n) {
|
|
1298
1298
|
typeof e == "object" && typeof t < "u" ? t.exports = n() : typeof define == "function" && define.amd ? define(n) : (i = typeof globalThis < "u" ? globalThis : i || self).dayjs_plugin_timezone = n();
|
|
1299
1299
|
})(e, (function() {
|
|
@@ -1370,7 +1370,7 @@ var tt = /* @__PURE__ */ V(((e, t) => {
|
|
|
1370
1370
|
};
|
|
1371
1371
|
};
|
|
1372
1372
|
}));
|
|
1373
|
-
})),
|
|
1373
|
+
})), Oi = /* @__PURE__ */ V(((e, t) => {
|
|
1374
1374
|
(function(i, n) {
|
|
1375
1375
|
typeof e == "object" && typeof t < "u" ? t.exports = n() : typeof define == "function" && define.amd ? define(n) : (i = typeof globalThis < "u" ? globalThis : i || self).dayjs_plugin_utc = n();
|
|
1376
1376
|
})(e, (function() {
|
|
@@ -1455,7 +1455,7 @@ var tt = /* @__PURE__ */ V(((e, t) => {
|
|
|
1455
1455
|
};
|
|
1456
1456
|
};
|
|
1457
1457
|
}));
|
|
1458
|
-
})),
|
|
1458
|
+
})), Ai = /* @__PURE__ */ V(((e, t) => {
|
|
1459
1459
|
(function(i, n) {
|
|
1460
1460
|
typeof e == "object" && typeof t < "u" ? t.exports = n(tt()) : typeof define == "function" && define.amd ? define(["dayjs"], n) : (i = typeof globalThis < "u" ? globalThis : i || self).dayjs_locale_fr = n(i.dayjs);
|
|
1461
1461
|
})(e, (function(i) {
|
|
@@ -1501,7 +1501,7 @@ var tt = /* @__PURE__ */ V(((e, t) => {
|
|
|
1501
1501
|
};
|
|
1502
1502
|
return r.default.locale(s, null, !0), s;
|
|
1503
1503
|
}));
|
|
1504
|
-
})),
|
|
1504
|
+
})), Ti = /* @__PURE__ */ V(((e, t) => {
|
|
1505
1505
|
(function(i, n) {
|
|
1506
1506
|
typeof e == "object" && typeof t < "u" ? t.exports = n() : typeof define == "function" && define.amd ? define(n) : (i = typeof globalThis < "u" ? globalThis : i || self).dayjs_locale_en = n();
|
|
1507
1507
|
})(e, (function() {
|
|
@@ -1521,18 +1521,18 @@ var tt = /* @__PURE__ */ V(((e, t) => {
|
|
|
1521
1521
|
}
|
|
1522
1522
|
};
|
|
1523
1523
|
}));
|
|
1524
|
-
})), X = /* @__PURE__ */ Z(tt(), 1),
|
|
1525
|
-
X.default.extend(Ti.default);
|
|
1524
|
+
})), X = /* @__PURE__ */ Z(tt(), 1), Si = /* @__PURE__ */ Z(ui(), 1), wi = /* @__PURE__ */ Z(di(), 1), ki = /* @__PURE__ */ Z(fi(), 1), Ri = /* @__PURE__ */ Z(li(), 1), Ci = /* @__PURE__ */ Z(mi(), 1), Di = /* @__PURE__ */ Z(pi(), 1), Mi = /* @__PURE__ */ Z(hi(), 1), Pi = /* @__PURE__ */ Z(yi(), 1), Ni = /* @__PURE__ */ Z(gi(), 1), bi = /* @__PURE__ */ Z(_i(), 1), Ii = /* @__PURE__ */ Z(Oi(), 1), Va = Ai(), Za = Ti();
|
|
1526
1525
|
X.default.extend(Si.default);
|
|
1527
1526
|
X.default.extend(wi.default);
|
|
1528
1527
|
X.default.extend(ki.default);
|
|
1529
1528
|
X.default.extend(Ri.default);
|
|
1530
|
-
X.default.extend(Di.default);
|
|
1531
1529
|
X.default.extend(Ci.default);
|
|
1532
1530
|
X.default.extend(Mi.default);
|
|
1531
|
+
X.default.extend(Di.default);
|
|
1533
1532
|
X.default.extend(Pi.default);
|
|
1534
1533
|
X.default.extend(Ni.default);
|
|
1535
1534
|
X.default.extend(bi.default);
|
|
1535
|
+
X.default.extend(Ii.default);
|
|
1536
1536
|
function ae(e) {
|
|
1537
1537
|
if (e === null || typeof e != "object") return !1;
|
|
1538
1538
|
const t = Object.getPrototypeOf(e);
|
|
@@ -1576,32 +1576,32 @@ function Ye(e, ...t) {
|
|
|
1576
1576
|
}
|
|
1577
1577
|
var K = [];
|
|
1578
1578
|
for (let e = 0; e < 256; ++e) K.push((e + 256).toString(16).slice(1));
|
|
1579
|
-
function
|
|
1579
|
+
function Ei(e, t = 0) {
|
|
1580
1580
|
return (K[e[t + 0]] + K[e[t + 1]] + K[e[t + 2]] + K[e[t + 3]] + "-" + K[e[t + 4]] + K[e[t + 5]] + "-" + K[e[t + 6]] + K[e[t + 7]] + "-" + K[e[t + 8]] + K[e[t + 9]] + "-" + K[e[t + 10]] + K[e[t + 11]] + K[e[t + 12]] + K[e[t + 13]] + K[e[t + 14]] + K[e[t + 15]]).toLowerCase();
|
|
1581
1581
|
}
|
|
1582
|
-
var
|
|
1583
|
-
function
|
|
1584
|
-
return crypto.getRandomValues(
|
|
1585
|
-
}
|
|
1586
|
-
function Ji(e, t, i) {
|
|
1587
|
-
return !t && !e && crypto.randomUUID ? crypto.randomUUID() : vi(e, t, i);
|
|
1582
|
+
var Li = new Uint8Array(16);
|
|
1583
|
+
function Ji() {
|
|
1584
|
+
return crypto.getRandomValues(Li);
|
|
1588
1585
|
}
|
|
1589
1586
|
function vi(e, t, i) {
|
|
1587
|
+
return !t && !e && crypto.randomUUID ? crypto.randomUUID() : Bi(e, t, i);
|
|
1588
|
+
}
|
|
1589
|
+
function Bi(e, t, i) {
|
|
1590
1590
|
e = e || {};
|
|
1591
|
-
const n = e.random ?? e.rng?.() ??
|
|
1591
|
+
const n = e.random ?? e.rng?.() ?? Ji();
|
|
1592
1592
|
if (n.length < 16) throw new Error("Random bytes length must be >= 16");
|
|
1593
1593
|
if (n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, t) {
|
|
1594
1594
|
if (i = i || 0, i < 0 || i + 16 > t.length) throw new RangeError(`UUID byte range ${i}:${i + 15} is out of buffer bounds`);
|
|
1595
1595
|
for (let r = 0; r < 16; ++r) t[i + r] = n[r];
|
|
1596
1596
|
return t;
|
|
1597
1597
|
}
|
|
1598
|
-
return
|
|
1598
|
+
return Ei(n);
|
|
1599
1599
|
}
|
|
1600
|
-
var
|
|
1600
|
+
var Hi = 1500, xi = class ue {
|
|
1601
1601
|
static instance = null;
|
|
1602
1602
|
defaultOptions = {
|
|
1603
1603
|
callCount: 1,
|
|
1604
|
-
interval:
|
|
1604
|
+
interval: Hi,
|
|
1605
1605
|
maxCallCount: 20,
|
|
1606
1606
|
minCallCount: 1
|
|
1607
1607
|
};
|
|
@@ -1667,11 +1667,11 @@ var Bi = 1500, Hi = class ue {
|
|
|
1667
1667
|
t.type && this.pollings[t.type] && delete this.pollings[t.type];
|
|
1668
1668
|
}
|
|
1669
1669
|
storeCurrentPolling(t) {
|
|
1670
|
-
t.type && !t.uuid && (t.uuid =
|
|
1670
|
+
t.type && !t.uuid && (t.uuid = vi(), this.pollings[t.type] = t.uuid);
|
|
1671
1671
|
}
|
|
1672
1672
|
};
|
|
1673
1673
|
function nt(e, t, i) {
|
|
1674
|
-
const n =
|
|
1674
|
+
const n = xi.getInstance();
|
|
1675
1675
|
return n.poll(e, t), i && typeof i == "function" ? (n.on("data", (r) => {
|
|
1676
1676
|
r instanceof Error ? i(r, void 0, n) : i(null, r, n);
|
|
1677
1677
|
}), n.on("error", (r) => {
|
|
@@ -1682,7 +1682,7 @@ function nt(e, t, i) {
|
|
|
1682
1682
|
});
|
|
1683
1683
|
});
|
|
1684
1684
|
}
|
|
1685
|
-
var
|
|
1685
|
+
var Fi = class {
|
|
1686
1686
|
constructor() {
|
|
1687
1687
|
this._map = /* @__PURE__ */ new Map(), this._idmap = /* @__PURE__ */ new Map();
|
|
1688
1688
|
}
|
|
@@ -1716,13 +1716,13 @@ var xi = class {
|
|
|
1716
1716
|
return this._map.has(e);
|
|
1717
1717
|
}
|
|
1718
1718
|
};
|
|
1719
|
-
function
|
|
1720
|
-
return new
|
|
1719
|
+
function Ui() {
|
|
1720
|
+
return new Fi();
|
|
1721
1721
|
}
|
|
1722
|
-
var
|
|
1722
|
+
var Wa = Ui(), Gi = "http://localhost".replace(/\/+$/, ""), $i = (e) => typeof Blob < "u" && e instanceof Blob, Q = class {
|
|
1723
1723
|
configuration;
|
|
1724
1724
|
middleware;
|
|
1725
|
-
constructor(e = new
|
|
1725
|
+
constructor(e = new ot()) {
|
|
1726
1726
|
this.configuration = e, this.middleware = e.middleware;
|
|
1727
1727
|
}
|
|
1728
1728
|
withMiddleware(...e) {
|
|
@@ -1740,12 +1740,12 @@ var Va = Fi(), Ui = "http://localhost".replace(/\/+$/, ""), Gi = (e) => typeof B
|
|
|
1740
1740
|
async request(e, t) {
|
|
1741
1741
|
const { url: i, init: n } = this.createFetchParams(e, t), r = await this.fetchApi(i, n);
|
|
1742
1742
|
if (r.status >= 200 && r.status < 300) return r;
|
|
1743
|
-
throw new
|
|
1743
|
+
throw new rt(r, "Response returned an error code");
|
|
1744
1744
|
}
|
|
1745
1745
|
createFetchParams(e, t) {
|
|
1746
1746
|
let i = this.configuration.basePath + e.path;
|
|
1747
1747
|
e.query !== void 0 && Object.keys(e.query).length !== 0 && (i += "?" + this.configuration.queryParamsStringify(e.query));
|
|
1748
|
-
const n = typeof FormData < "u" && e.body instanceof FormData || e.body instanceof URLSearchParams ||
|
|
1748
|
+
const n = typeof FormData < "u" && e.body instanceof FormData || e.body instanceof URLSearchParams || $i(e.body) ? e.body : JSON.stringify(e.body), r = Object.assign({}, this.configuration.headers, e.headers);
|
|
1749
1749
|
Object.keys(r).forEach((u) => r[u] === void 0 ? delete r[u] : {});
|
|
1750
1750
|
const s = {
|
|
1751
1751
|
method: e.method,
|
|
@@ -1780,7 +1780,7 @@ var Va = Fi(), Ui = "http://localhost".replace(/\/+$/, ""), Gi = (e) => typeof B
|
|
|
1780
1780
|
const e = this.constructor, t = new e(this.configuration);
|
|
1781
1781
|
return t.middleware = this.middleware.slice(), t;
|
|
1782
1782
|
}
|
|
1783
|
-
},
|
|
1783
|
+
}, rt = class extends Error {
|
|
1784
1784
|
response;
|
|
1785
1785
|
name = "ResponseError";
|
|
1786
1786
|
constructor(e, t) {
|
|
@@ -1792,18 +1792,18 @@ var Va = Fi(), Ui = "http://localhost".replace(/\/+$/, ""), Gi = (e) => typeof B
|
|
|
1792
1792
|
constructor(e, t) {
|
|
1793
1793
|
super(t), this.field = e;
|
|
1794
1794
|
}
|
|
1795
|
-
},
|
|
1795
|
+
}, Xa = {
|
|
1796
1796
|
csv: ",",
|
|
1797
1797
|
ssv: " ",
|
|
1798
1798
|
tsv: " ",
|
|
1799
1799
|
pipes: "|"
|
|
1800
|
-
},
|
|
1800
|
+
}, ot = class {
|
|
1801
1801
|
configuration;
|
|
1802
1802
|
constructor(e = {}) {
|
|
1803
1803
|
this.configuration = e;
|
|
1804
1804
|
}
|
|
1805
1805
|
get basePath() {
|
|
1806
|
-
return this.configuration.basePath != null ? this.configuration.basePath :
|
|
1806
|
+
return this.configuration.basePath != null ? this.configuration.basePath : Gi;
|
|
1807
1807
|
}
|
|
1808
1808
|
get fetchApi() {
|
|
1809
1809
|
return this.configuration.fetchApi;
|
|
@@ -1812,7 +1812,7 @@ var Va = Fi(), Ui = "http://localhost".replace(/\/+$/, ""), Gi = (e) => typeof B
|
|
|
1812
1812
|
return this.configuration.middleware || [];
|
|
1813
1813
|
}
|
|
1814
1814
|
get queryParamsStringify() {
|
|
1815
|
-
return this.configuration.queryParamsStringify ||
|
|
1815
|
+
return this.configuration.queryParamsStringify || at;
|
|
1816
1816
|
}
|
|
1817
1817
|
get username() {
|
|
1818
1818
|
return this.configuration.username;
|
|
@@ -1835,21 +1835,21 @@ var Va = Fi(), Ui = "http://localhost".replace(/\/+$/, ""), Gi = (e) => typeof B
|
|
|
1835
1835
|
return this.configuration.credentials;
|
|
1836
1836
|
}
|
|
1837
1837
|
};
|
|
1838
|
-
function
|
|
1838
|
+
function Qa(e, t) {
|
|
1839
1839
|
const i = e[t];
|
|
1840
1840
|
return i != null;
|
|
1841
1841
|
}
|
|
1842
|
-
function
|
|
1842
|
+
function at(e, t = "") {
|
|
1843
1843
|
return Object.keys(e).map((i) => {
|
|
1844
1844
|
const n = t + (t.length ? `[${i}]` : i), r = e[i];
|
|
1845
1845
|
if (r instanceof Array) {
|
|
1846
1846
|
const s = r.map((u) => encodeURIComponent(String(u))).join(`&${encodeURIComponent(n)}=`);
|
|
1847
1847
|
return `${encodeURIComponent(n)}=${s}`;
|
|
1848
1848
|
}
|
|
1849
|
-
return r instanceof Date ? `${encodeURIComponent(n)}=${encodeURIComponent(r.toISOString())}` : r instanceof Object ?
|
|
1849
|
+
return r instanceof Date ? `${encodeURIComponent(n)}=${encodeURIComponent(r.toISOString())}` : r instanceof Object ? at(r, n) : `${encodeURIComponent(n)}=${encodeURIComponent(String(r))}`;
|
|
1850
1850
|
}).filter((i) => i.length > 0).join("&");
|
|
1851
1851
|
}
|
|
1852
|
-
function
|
|
1852
|
+
function ja(e) {
|
|
1853
1853
|
for (const t of e) if (t.contentType === "multipart/form-data") return !0;
|
|
1854
1854
|
return !1;
|
|
1855
1855
|
}
|
|
@@ -1862,14 +1862,14 @@ var $ = class {
|
|
|
1862
1862
|
async value() {
|
|
1863
1863
|
return this.transformer(await this.raw.json());
|
|
1864
1864
|
}
|
|
1865
|
-
},
|
|
1865
|
+
}, es = class {
|
|
1866
1866
|
raw;
|
|
1867
1867
|
constructor(e) {
|
|
1868
1868
|
this.raw = e;
|
|
1869
1869
|
}
|
|
1870
1870
|
async value() {
|
|
1871
1871
|
}
|
|
1872
|
-
},
|
|
1872
|
+
}, ts = class {
|
|
1873
1873
|
raw;
|
|
1874
1874
|
constructor(e) {
|
|
1875
1875
|
this.raw = e;
|
|
@@ -1877,7 +1877,7 @@ var $ = class {
|
|
|
1877
1877
|
async value() {
|
|
1878
1878
|
return await this.raw.blob();
|
|
1879
1879
|
}
|
|
1880
|
-
},
|
|
1880
|
+
}, st = class {
|
|
1881
1881
|
raw;
|
|
1882
1882
|
constructor(e) {
|
|
1883
1883
|
this.raw = e;
|
|
@@ -1885,14 +1885,14 @@ var $ = class {
|
|
|
1885
1885
|
async value() {
|
|
1886
1886
|
return await this.raw.text();
|
|
1887
1887
|
}
|
|
1888
|
-
},
|
|
1889
|
-
function
|
|
1888
|
+
}, is = { Coupon: "COUPON" };
|
|
1889
|
+
function ns(e) {
|
|
1890
1890
|
return !(!("name" in e) || e.name === void 0);
|
|
1891
1891
|
}
|
|
1892
|
-
function
|
|
1893
|
-
return
|
|
1892
|
+
function rs(e) {
|
|
1893
|
+
return ct(e, !1);
|
|
1894
1894
|
}
|
|
1895
|
-
function
|
|
1895
|
+
function ct(e, t) {
|
|
1896
1896
|
return e == null ? e : { name: e.name };
|
|
1897
1897
|
}
|
|
1898
1898
|
function qi(e) {
|
|
@@ -1901,14 +1901,14 @@ function qi(e) {
|
|
|
1901
1901
|
function Yi(e, t = !1) {
|
|
1902
1902
|
return e == null ? e : { name: e.name };
|
|
1903
1903
|
}
|
|
1904
|
-
var
|
|
1905
|
-
function
|
|
1904
|
+
var os = { CreditCard: "CREDIT_CARD" };
|
|
1905
|
+
function as(e) {
|
|
1906
1906
|
return !(!("name" in e) || e.name === void 0);
|
|
1907
1907
|
}
|
|
1908
|
-
function
|
|
1909
|
-
return
|
|
1908
|
+
function ss(e) {
|
|
1909
|
+
return ut(e, !1);
|
|
1910
1910
|
}
|
|
1911
|
-
function
|
|
1911
|
+
function ut(e, t) {
|
|
1912
1912
|
return e == null ? e : { name: e.name };
|
|
1913
1913
|
}
|
|
1914
1914
|
function Ki(e) {
|
|
@@ -1917,14 +1917,14 @@ function Ki(e) {
|
|
|
1917
1917
|
function zi(e, t = !1) {
|
|
1918
1918
|
return e == null ? e : { name: e.name };
|
|
1919
1919
|
}
|
|
1920
|
-
var
|
|
1921
|
-
function
|
|
1920
|
+
var cs = { DepositAccount: "DEPOSIT_ACCOUNT" };
|
|
1921
|
+
function us(e) {
|
|
1922
1922
|
return !(!("name" in e) || e.name === void 0);
|
|
1923
1923
|
}
|
|
1924
|
-
function
|
|
1925
|
-
return
|
|
1924
|
+
function ds(e) {
|
|
1925
|
+
return dt(e, !1);
|
|
1926
1926
|
}
|
|
1927
|
-
function
|
|
1927
|
+
function dt(e, t) {
|
|
1928
1928
|
return e == null ? e : { name: e.name };
|
|
1929
1929
|
}
|
|
1930
1930
|
function Vi(e) {
|
|
@@ -1933,12 +1933,12 @@ function Vi(e) {
|
|
|
1933
1933
|
function Zi(e, t = !1) {
|
|
1934
1934
|
return e == null ? e : { name: e.name };
|
|
1935
1935
|
}
|
|
1936
|
-
var
|
|
1936
|
+
var fs = {
|
|
1937
1937
|
Disabled: "DISABLED",
|
|
1938
1938
|
Enabled: "ENABLED",
|
|
1939
1939
|
Forced: "FORCED"
|
|
1940
1940
|
};
|
|
1941
|
-
function
|
|
1941
|
+
function ls(e) {
|
|
1942
1942
|
return !(!("status" in e) || e.status === void 0);
|
|
1943
1943
|
}
|
|
1944
1944
|
function Wi(e) {
|
|
@@ -1953,14 +1953,14 @@ function Qi(e) {
|
|
|
1953
1953
|
function ji(e, t = !1) {
|
|
1954
1954
|
return e == null ? e : { status: e.status };
|
|
1955
1955
|
}
|
|
1956
|
-
var
|
|
1957
|
-
function
|
|
1956
|
+
var ms = { PayLater: "PAY_LATER" };
|
|
1957
|
+
function ps(e) {
|
|
1958
1958
|
return !(!("name" in e) || e.name === void 0 || !("payload" in e) || e.payload === void 0);
|
|
1959
1959
|
}
|
|
1960
|
-
function
|
|
1961
|
-
return
|
|
1960
|
+
function hs(e) {
|
|
1961
|
+
return ft(e, !1);
|
|
1962
1962
|
}
|
|
1963
|
-
function
|
|
1963
|
+
function ft(e, t) {
|
|
1964
1964
|
return e == null ? e : {
|
|
1965
1965
|
name: e.name,
|
|
1966
1966
|
payload: Wi(e.payload)
|
|
@@ -1983,22 +1983,22 @@ function rn(e, t) {
|
|
|
1983
1983
|
switch (e.name) {
|
|
1984
1984
|
case "COUPON":
|
|
1985
1985
|
return {
|
|
1986
|
-
...
|
|
1986
|
+
...ct(e, !0),
|
|
1987
1987
|
name: "COUPON"
|
|
1988
1988
|
};
|
|
1989
1989
|
case "CREDIT_CARD":
|
|
1990
1990
|
return {
|
|
1991
|
-
...
|
|
1991
|
+
...ut(e, !0),
|
|
1992
1992
|
name: "CREDIT_CARD"
|
|
1993
1993
|
};
|
|
1994
1994
|
case "DEPOSIT_ACCOUNT":
|
|
1995
1995
|
return {
|
|
1996
|
-
...
|
|
1996
|
+
...dt(e, !0),
|
|
1997
1997
|
name: "DEPOSIT_ACCOUNT"
|
|
1998
1998
|
};
|
|
1999
1999
|
case "PAY_LATER":
|
|
2000
2000
|
return {
|
|
2001
|
-
...
|
|
2001
|
+
...ft(e, !0),
|
|
2002
2002
|
name: "PAY_LATER"
|
|
2003
2003
|
};
|
|
2004
2004
|
default:
|
|
@@ -2022,13 +2022,13 @@ function on(e) {
|
|
|
2022
2022
|
}
|
|
2023
2023
|
}
|
|
2024
2024
|
}
|
|
2025
|
-
function
|
|
2025
|
+
function ys(e, t = !1) {
|
|
2026
2026
|
return on(e);
|
|
2027
2027
|
}
|
|
2028
|
-
function
|
|
2028
|
+
function gs(e) {
|
|
2029
2029
|
return !0;
|
|
2030
2030
|
}
|
|
2031
|
-
function
|
|
2031
|
+
function lt(e) {
|
|
2032
2032
|
return an(e, !1);
|
|
2033
2033
|
}
|
|
2034
2034
|
function an(e, t) {
|
|
@@ -2079,7 +2079,7 @@ function an(e, t) {
|
|
|
2079
2079
|
whirpool: e.whirpool == null ? void 0 : e.whirpool
|
|
2080
2080
|
};
|
|
2081
2081
|
}
|
|
2082
|
-
function
|
|
2082
|
+
function mt(e) {
|
|
2083
2083
|
return sn(e, !1);
|
|
2084
2084
|
}
|
|
2085
2085
|
function sn(e, t = !1) {
|
|
@@ -2130,10 +2130,10 @@ function sn(e, t = !1) {
|
|
|
2130
2130
|
whirpool: e.whirpool
|
|
2131
2131
|
};
|
|
2132
2132
|
}
|
|
2133
|
-
function
|
|
2133
|
+
function _s(e) {
|
|
2134
2134
|
return !(!("count" in e) || e.count === void 0 || !("name" in e) || e.name === void 0 || !("occupancy" in e) || e.occupancy === void 0);
|
|
2135
2135
|
}
|
|
2136
|
-
function
|
|
2136
|
+
function Os(e) {
|
|
2137
2137
|
return cn(e, !1);
|
|
2138
2138
|
}
|
|
2139
2139
|
function cn(e, t) {
|
|
@@ -2143,7 +2143,7 @@ function cn(e, t) {
|
|
|
2143
2143
|
occupancy: e.occupancy
|
|
2144
2144
|
};
|
|
2145
2145
|
}
|
|
2146
|
-
function
|
|
2146
|
+
function As(e) {
|
|
2147
2147
|
return un(e, !1);
|
|
2148
2148
|
}
|
|
2149
2149
|
function un(e, t = !1) {
|
|
@@ -2153,7 +2153,7 @@ function un(e, t = !1) {
|
|
|
2153
2153
|
occupancy: e.occupancy
|
|
2154
2154
|
};
|
|
2155
2155
|
}
|
|
2156
|
-
function
|
|
2156
|
+
function Ts(e) {
|
|
2157
2157
|
return !(!("dateFrom" in e) || e.dateFrom === void 0 || !("dateTo" in e) || e.dateTo === void 0 || !("penaltyPercentage" in e) || e.penaltyPercentage === void 0);
|
|
2158
2158
|
}
|
|
2159
2159
|
function Be(e) {
|
|
@@ -2421,7 +2421,7 @@ var Ce = {
|
|
|
2421
2421
|
Zm: "ZM",
|
|
2422
2422
|
Zw: "ZW"
|
|
2423
2423
|
};
|
|
2424
|
-
function
|
|
2424
|
+
function Ss(e) {
|
|
2425
2425
|
for (const t in Ce) if (Object.prototype.hasOwnProperty.call(Ce, t) && Ce[t] === e)
|
|
2426
2426
|
return !0;
|
|
2427
2427
|
return !1;
|
|
@@ -2432,13 +2432,13 @@ function Ae(e) {
|
|
|
2432
2432
|
function ln(e, t) {
|
|
2433
2433
|
return e;
|
|
2434
2434
|
}
|
|
2435
|
-
function
|
|
2435
|
+
function ws(e) {
|
|
2436
2436
|
return e;
|
|
2437
2437
|
}
|
|
2438
|
-
function
|
|
2438
|
+
function ks(e, t) {
|
|
2439
2439
|
return e;
|
|
2440
2440
|
}
|
|
2441
|
-
function
|
|
2441
|
+
function Rs(e) {
|
|
2442
2442
|
return !(!("isHeroImage" in e) || e.isHeroImage === void 0 || !("l" in e) || e.l === void 0 || !("m" in e) || e.m === void 0 || !("s" in e) || e.s === void 0 || !("xl" in e) || e.xl === void 0 || !("xs" in e) || e.xs === void 0);
|
|
2443
2443
|
}
|
|
2444
2444
|
function de(e) {
|
|
@@ -2469,7 +2469,7 @@ function pn(e, t = !1) {
|
|
|
2469
2469
|
xs: e.xs
|
|
2470
2470
|
};
|
|
2471
2471
|
}
|
|
2472
|
-
function
|
|
2472
|
+
function Cs(e) {
|
|
2473
2473
|
return !(!("beds" in e) || e.beds === void 0 || !("bedsPretty" in e) || e.bedsPretty === void 0 || !("count" in e) || e.count === void 0 || !("description" in e) || e.description === void 0 || !("id" in e) || e.id === void 0 || !("occupancy" in e) || e.occupancy === void 0);
|
|
2474
2474
|
}
|
|
2475
2475
|
function hn(e) {
|
|
@@ -2521,7 +2521,7 @@ var De = {
|
|
|
2521
2521
|
NotIncluded: "NOT_INCLUDED",
|
|
2522
2522
|
Optional: "OPTIONAL"
|
|
2523
2523
|
};
|
|
2524
|
-
function
|
|
2524
|
+
function Ds(e) {
|
|
2525
2525
|
for (const t in De) if (Object.prototype.hasOwnProperty.call(De, t) && De[t] === e)
|
|
2526
2526
|
return !0;
|
|
2527
2527
|
return !1;
|
|
@@ -2532,23 +2532,23 @@ function On(e) {
|
|
|
2532
2532
|
function An(e, t) {
|
|
2533
2533
|
return e;
|
|
2534
2534
|
}
|
|
2535
|
-
function
|
|
2535
|
+
function Ms(e) {
|
|
2536
2536
|
return e;
|
|
2537
2537
|
}
|
|
2538
|
-
function
|
|
2538
|
+
function Ps(e, t) {
|
|
2539
2539
|
return e;
|
|
2540
2540
|
}
|
|
2541
|
-
var
|
|
2541
|
+
var Ns = {
|
|
2542
2542
|
PerNight: "PER_NIGHT",
|
|
2543
2543
|
PerStay: "PER_STAY"
|
|
2544
|
-
},
|
|
2544
|
+
}, bs = {
|
|
2545
2545
|
PerAdult: "PER_ADULT",
|
|
2546
2546
|
PerBooking: "PER_BOOKING"
|
|
2547
2547
|
};
|
|
2548
|
-
function
|
|
2548
|
+
function Is(e) {
|
|
2549
2549
|
return !(!("taxFrequency" in e) || e.taxFrequency === void 0 || !("taxMode" in e) || e.taxMode === void 0);
|
|
2550
2550
|
}
|
|
2551
|
-
function
|
|
2551
|
+
function pt(e) {
|
|
2552
2552
|
return Tn(e, !1);
|
|
2553
2553
|
}
|
|
2554
2554
|
function Tn(e, t) {
|
|
@@ -2561,7 +2561,7 @@ function Tn(e, t) {
|
|
|
2561
2561
|
taxMode: e.tax_mode
|
|
2562
2562
|
};
|
|
2563
2563
|
}
|
|
2564
|
-
function
|
|
2564
|
+
function ht(e) {
|
|
2565
2565
|
return Sn(e, !1);
|
|
2566
2566
|
}
|
|
2567
2567
|
function Sn(e, t = !1) {
|
|
@@ -2713,7 +2713,7 @@ var Me = {
|
|
|
2713
2713
|
Zar: "ZAR",
|
|
2714
2714
|
Zmw: "ZMW"
|
|
2715
2715
|
};
|
|
2716
|
-
function
|
|
2716
|
+
function Es(e) {
|
|
2717
2717
|
for (const t in Me) if (Object.prototype.hasOwnProperty.call(Me, t) && Me[t] === e)
|
|
2718
2718
|
return !0;
|
|
2719
2719
|
return !1;
|
|
@@ -2724,16 +2724,16 @@ function ne(e) {
|
|
|
2724
2724
|
function wn(e, t) {
|
|
2725
2725
|
return e;
|
|
2726
2726
|
}
|
|
2727
|
-
function
|
|
2727
|
+
function Ls(e) {
|
|
2728
2728
|
return e;
|
|
2729
2729
|
}
|
|
2730
|
-
function
|
|
2730
|
+
function Js(e, t) {
|
|
2731
2731
|
return e;
|
|
2732
2732
|
}
|
|
2733
|
-
function
|
|
2733
|
+
function vs(e) {
|
|
2734
2734
|
return !(!("name" in e) || e.name === void 0);
|
|
2735
2735
|
}
|
|
2736
|
-
function
|
|
2736
|
+
function yt(e) {
|
|
2737
2737
|
return kn(e, !1);
|
|
2738
2738
|
}
|
|
2739
2739
|
function kn(e, t) {
|
|
@@ -2745,7 +2745,7 @@ function kn(e, t) {
|
|
|
2745
2745
|
name: e.name
|
|
2746
2746
|
};
|
|
2747
2747
|
}
|
|
2748
|
-
function
|
|
2748
|
+
function gt(e) {
|
|
2749
2749
|
return Rn(e, !1);
|
|
2750
2750
|
}
|
|
2751
2751
|
function Rn(e, t = !1) {
|
|
@@ -2757,20 +2757,20 @@ function Rn(e, t = !1) {
|
|
|
2757
2757
|
name: e.name
|
|
2758
2758
|
};
|
|
2759
2759
|
}
|
|
2760
|
-
var
|
|
2760
|
+
var Bs = {
|
|
2761
2761
|
BestMatch: "BEST_MATCH",
|
|
2762
2762
|
Cheapest: "CHEAPEST",
|
|
2763
2763
|
MatchingRoomCount: "MATCHING_ROOM_COUNT",
|
|
2764
2764
|
Regular: "REGULAR"
|
|
2765
|
-
},
|
|
2765
|
+
}, Hs = {
|
|
2766
2766
|
Included: "included",
|
|
2767
2767
|
NotIncluded: "not_included",
|
|
2768
2768
|
Unknown: "unknown"
|
|
2769
|
-
},
|
|
2769
|
+
}, xs = {
|
|
2770
2770
|
HotelRoom: "HOTEL_ROOM",
|
|
2771
2771
|
Package: "PACKAGE"
|
|
2772
2772
|
};
|
|
2773
|
-
function
|
|
2773
|
+
function Fs(e) {
|
|
2774
2774
|
return !(!("breakfastOption" in e) || e.breakfastOption === void 0 || !("cancellationPolicies" in e) || e.cancellationPolicies === void 0 || !("currency" in e) || e.currency === void 0 || !("hotelId" in e) || e.hotelId === void 0 || !("hotelRooms" in e) || e.hotelRooms === void 0 || !("price" in e) || e.price === void 0 || !("sourceMarket" in e) || e.sourceMarket === void 0 || !("stayTaxesInfo" in e) || e.stayTaxesInfo === void 0 || !("taxIncludedPrice" in e) || e.taxIncludedPrice === void 0);
|
|
2775
2775
|
}
|
|
2776
2776
|
function fe(e) {
|
|
@@ -2792,9 +2792,9 @@ function Cn(e, t) {
|
|
|
2792
2792
|
price: e.price,
|
|
2793
2793
|
sourceMarket: Ae(e.source_market),
|
|
2794
2794
|
stayTaxesInfo: e.stay_taxes_info,
|
|
2795
|
-
tags: e.tags == null ? void 0 : e.tags.map(
|
|
2795
|
+
tags: e.tags == null ? void 0 : e.tags.map(yt),
|
|
2796
2796
|
taxIncludedPrice: e.tax_included_price,
|
|
2797
|
-
taxes: e.taxes == null ? void 0 : e.taxes.map(
|
|
2797
|
+
taxes: e.taxes == null ? void 0 : e.taxes.map(pt),
|
|
2798
2798
|
type: e.type == null ? void 0 : e.type
|
|
2799
2799
|
};
|
|
2800
2800
|
}
|
|
@@ -2817,9 +2817,9 @@ function Dn(e, t = !1) {
|
|
|
2817
2817
|
price: e.price,
|
|
2818
2818
|
source_market: e.sourceMarket,
|
|
2819
2819
|
stay_taxes_info: e.stayTaxesInfo,
|
|
2820
|
-
tags: e.tags == null ? void 0 : e.tags.map(
|
|
2820
|
+
tags: e.tags == null ? void 0 : e.tags.map(gt),
|
|
2821
2821
|
tax_included_price: e.taxIncludedPrice,
|
|
2822
|
-
taxes: e.taxes == null ? void 0 : e.taxes.map(
|
|
2822
|
+
taxes: e.taxes == null ? void 0 : e.taxes.map(ht),
|
|
2823
2823
|
type: e.type
|
|
2824
2824
|
};
|
|
2825
2825
|
}
|
|
@@ -2832,7 +2832,7 @@ var Pe = {
|
|
|
2832
2832
|
NlNl: "nl-NL",
|
|
2833
2833
|
PtPt: "pt-PT"
|
|
2834
2834
|
};
|
|
2835
|
-
function
|
|
2835
|
+
function Us(e) {
|
|
2836
2836
|
for (const t in Pe) if (Object.prototype.hasOwnProperty.call(Pe, t) && Pe[t] === e)
|
|
2837
2837
|
return !0;
|
|
2838
2838
|
return !1;
|
|
@@ -2843,10 +2843,10 @@ function xe(e) {
|
|
|
2843
2843
|
function Mn(e, t) {
|
|
2844
2844
|
return e;
|
|
2845
2845
|
}
|
|
2846
|
-
function
|
|
2846
|
+
function Gs(e) {
|
|
2847
2847
|
return e;
|
|
2848
2848
|
}
|
|
2849
|
-
function
|
|
2849
|
+
function $s(e, t) {
|
|
2850
2850
|
return e;
|
|
2851
2851
|
}
|
|
2852
2852
|
var Ne = {
|
|
@@ -3094,7 +3094,7 @@ var Ne = {
|
|
|
3094
3094
|
Zm: "ZM",
|
|
3095
3095
|
Zw: "ZW"
|
|
3096
3096
|
};
|
|
3097
|
-
function
|
|
3097
|
+
function qs(e) {
|
|
3098
3098
|
for (const t in Ne) if (Object.prototype.hasOwnProperty.call(Ne, t) && Ne[t] === e)
|
|
3099
3099
|
return !0;
|
|
3100
3100
|
return !1;
|
|
@@ -3105,13 +3105,13 @@ function Ie(e) {
|
|
|
3105
3105
|
function Pn(e, t) {
|
|
3106
3106
|
return e;
|
|
3107
3107
|
}
|
|
3108
|
-
function
|
|
3108
|
+
function Ys(e) {
|
|
3109
3109
|
return e;
|
|
3110
3110
|
}
|
|
3111
|
-
function
|
|
3111
|
+
function Ks(e, t) {
|
|
3112
3112
|
return e;
|
|
3113
3113
|
}
|
|
3114
|
-
function
|
|
3114
|
+
function zs(e) {
|
|
3115
3115
|
return !(!("address" in e) || e.address === void 0 || !("city" in e) || e.city === void 0 || !("country" in e) || e.country === void 0 || !("name" in e) || e.name === void 0 || !("zipCode" in e) || e.zipCode === void 0);
|
|
3116
3116
|
}
|
|
3117
3117
|
function Nn(e) {
|
|
@@ -3142,7 +3142,7 @@ function En(e, t = !1) {
|
|
|
3142
3142
|
zip_code: e.zipCode
|
|
3143
3143
|
};
|
|
3144
3144
|
}
|
|
3145
|
-
var
|
|
3145
|
+
var Vs = {
|
|
3146
3146
|
Dr: "dr",
|
|
3147
3147
|
Mr: "mr",
|
|
3148
3148
|
Mrs: "mrs",
|
|
@@ -3150,10 +3150,10 @@ var Ks = {
|
|
|
3150
3150
|
NotSpecified: "notSpecified",
|
|
3151
3151
|
Prof: "prof"
|
|
3152
3152
|
};
|
|
3153
|
-
function
|
|
3153
|
+
function Zs(e) {
|
|
3154
3154
|
return !(!("email" in e) || e.email === void 0 || !("firstName" in e) || e.firstName === void 0 || !("lastName" in e) || e.lastName === void 0 || !("nationality" in e) || e.nationality === void 0 || !("phone" in e) || e.phone === void 0);
|
|
3155
3155
|
}
|
|
3156
|
-
function
|
|
3156
|
+
function _t(e) {
|
|
3157
3157
|
return Ln(e, !1);
|
|
3158
3158
|
}
|
|
3159
3159
|
function Ln(e, t) {
|
|
@@ -3174,7 +3174,7 @@ function Ln(e, t) {
|
|
|
3174
3174
|
zipCode: e.zip_code == null ? void 0 : e.zip_code
|
|
3175
3175
|
};
|
|
3176
3176
|
}
|
|
3177
|
-
function
|
|
3177
|
+
function Ot(e) {
|
|
3178
3178
|
return Jn(e, !1);
|
|
3179
3179
|
}
|
|
3180
3180
|
function Jn(e, t = !1) {
|
|
@@ -3195,7 +3195,7 @@ function Jn(e, t = !1) {
|
|
|
3195
3195
|
zip_code: e.zipCode
|
|
3196
3196
|
};
|
|
3197
3197
|
}
|
|
3198
|
-
function
|
|
3198
|
+
function Ws(e) {
|
|
3199
3199
|
return !(!("amount" in e) || e.amount === void 0 || !("couponId" in e) || e.couponId === void 0);
|
|
3200
3200
|
}
|
|
3201
3201
|
function vn(e) {
|
|
@@ -3218,14 +3218,14 @@ function xn(e, t = !1) {
|
|
|
3218
3218
|
token: e.token
|
|
3219
3219
|
};
|
|
3220
3220
|
}
|
|
3221
|
-
var
|
|
3222
|
-
function
|
|
3221
|
+
var Xs = { Coupon: "COUPON" };
|
|
3222
|
+
function Qs(e) {
|
|
3223
3223
|
return !(!("name" in e) || e.name === void 0 || !("payload" in e) || e.payload === void 0);
|
|
3224
3224
|
}
|
|
3225
|
-
function
|
|
3226
|
-
return
|
|
3225
|
+
function js(e) {
|
|
3226
|
+
return At(e, !1);
|
|
3227
3227
|
}
|
|
3228
|
-
function
|
|
3228
|
+
function At(e, t) {
|
|
3229
3229
|
return e == null ? e : {
|
|
3230
3230
|
name: e.name,
|
|
3231
3231
|
payload: vn(e.payload)
|
|
@@ -3240,7 +3240,7 @@ function Un(e, t = !1) {
|
|
|
3240
3240
|
payload: Hn(e.payload)
|
|
3241
3241
|
};
|
|
3242
3242
|
}
|
|
3243
|
-
function
|
|
3243
|
+
function ec(e) {
|
|
3244
3244
|
return !(!("amount" in e) || e.amount === void 0 || !("token" in e) || e.token === void 0);
|
|
3245
3245
|
}
|
|
3246
3246
|
function Gn(e) {
|
|
@@ -3263,14 +3263,14 @@ function Yn(e, t = !1) {
|
|
|
3263
3263
|
token: e.token
|
|
3264
3264
|
};
|
|
3265
3265
|
}
|
|
3266
|
-
var
|
|
3267
|
-
function
|
|
3266
|
+
var tc = { CreditCard: "CREDIT_CARD" };
|
|
3267
|
+
function ic(e) {
|
|
3268
3268
|
return !(!("name" in e) || e.name === void 0 || !("payload" in e) || e.payload === void 0);
|
|
3269
3269
|
}
|
|
3270
|
-
function
|
|
3271
|
-
return
|
|
3270
|
+
function nc(e) {
|
|
3271
|
+
return Tt(e, !1);
|
|
3272
3272
|
}
|
|
3273
|
-
function
|
|
3273
|
+
function Tt(e, t) {
|
|
3274
3274
|
return e == null ? e : {
|
|
3275
3275
|
name: e.name,
|
|
3276
3276
|
payload: Gn(e.payload)
|
|
@@ -3285,7 +3285,7 @@ function zn(e, t = !1) {
|
|
|
3285
3285
|
payload: qn(e.payload)
|
|
3286
3286
|
};
|
|
3287
3287
|
}
|
|
3288
|
-
function
|
|
3288
|
+
function rc(e) {
|
|
3289
3289
|
return !(!("amount" in e) || e.amount === void 0);
|
|
3290
3290
|
}
|
|
3291
3291
|
function Vn(e) {
|
|
@@ -3308,14 +3308,14 @@ function Xn(e, t = !1) {
|
|
|
3308
3308
|
token: e.token
|
|
3309
3309
|
};
|
|
3310
3310
|
}
|
|
3311
|
-
var
|
|
3312
|
-
function
|
|
3311
|
+
var oc = { DepositAccount: "DEPOSIT_ACCOUNT" };
|
|
3312
|
+
function ac(e) {
|
|
3313
3313
|
return !(!("name" in e) || e.name === void 0 || !("payload" in e) || e.payload === void 0);
|
|
3314
3314
|
}
|
|
3315
|
-
function
|
|
3316
|
-
return
|
|
3315
|
+
function sc(e) {
|
|
3316
|
+
return St(e, !1);
|
|
3317
3317
|
}
|
|
3318
|
-
function
|
|
3318
|
+
function St(e, t) {
|
|
3319
3319
|
return e == null ? e : {
|
|
3320
3320
|
name: e.name,
|
|
3321
3321
|
payload: Vn(e.payload)
|
|
@@ -3330,12 +3330,12 @@ function jn(e, t = !1) {
|
|
|
3330
3330
|
payload: Wn(e.payload)
|
|
3331
3331
|
};
|
|
3332
3332
|
}
|
|
3333
|
-
var
|
|
3333
|
+
var cc = {
|
|
3334
3334
|
Disabled: "DISABLED",
|
|
3335
3335
|
Enabled: "ENABLED",
|
|
3336
3336
|
Forced: "FORCED"
|
|
3337
3337
|
};
|
|
3338
|
-
function
|
|
3338
|
+
function uc(e) {
|
|
3339
3339
|
return !(!("amount" in e) || e.amount === void 0 || !("status" in e) || e.status === void 0);
|
|
3340
3340
|
}
|
|
3341
3341
|
function er(e) {
|
|
@@ -3360,14 +3360,14 @@ function nr(e, t = !1) {
|
|
|
3360
3360
|
token: e.token
|
|
3361
3361
|
};
|
|
3362
3362
|
}
|
|
3363
|
-
var
|
|
3364
|
-
function
|
|
3363
|
+
var dc = { PayLater: "PAY_LATER" };
|
|
3364
|
+
function fc(e) {
|
|
3365
3365
|
return !(!("name" in e) || e.name === void 0 || !("payload" in e) || e.payload === void 0);
|
|
3366
3366
|
}
|
|
3367
|
-
function
|
|
3368
|
-
return
|
|
3367
|
+
function lc(e) {
|
|
3368
|
+
return wt(e, !1);
|
|
3369
3369
|
}
|
|
3370
|
-
function
|
|
3370
|
+
function wt(e, t) {
|
|
3371
3371
|
return e == null ? e : {
|
|
3372
3372
|
name: e.name,
|
|
3373
3373
|
payload: er(e.payload)
|
|
@@ -3390,29 +3390,29 @@ function sr(e, t) {
|
|
|
3390
3390
|
switch (e.name) {
|
|
3391
3391
|
case "COUPON":
|
|
3392
3392
|
return {
|
|
3393
|
-
...
|
|
3393
|
+
...At(e, !0),
|
|
3394
3394
|
name: "COUPON"
|
|
3395
3395
|
};
|
|
3396
3396
|
case "CREDIT_CARD":
|
|
3397
3397
|
return {
|
|
3398
|
-
...
|
|
3398
|
+
...Tt(e, !0),
|
|
3399
3399
|
name: "CREDIT_CARD"
|
|
3400
3400
|
};
|
|
3401
3401
|
case "DEPOSIT_ACCOUNT":
|
|
3402
3402
|
return {
|
|
3403
|
-
...
|
|
3403
|
+
...St(e, !0),
|
|
3404
3404
|
name: "DEPOSIT_ACCOUNT"
|
|
3405
3405
|
};
|
|
3406
3406
|
case "PAY_LATER":
|
|
3407
3407
|
return {
|
|
3408
|
-
...
|
|
3408
|
+
...wt(e, !0),
|
|
3409
3409
|
name: "PAY_LATER"
|
|
3410
3410
|
};
|
|
3411
3411
|
default:
|
|
3412
3412
|
throw new Error(`No variant of PaymentMethodApi exists with 'name=${e.name}'`);
|
|
3413
3413
|
}
|
|
3414
3414
|
}
|
|
3415
|
-
function
|
|
3415
|
+
function kt(e) {
|
|
3416
3416
|
if (e !== void 0) {
|
|
3417
3417
|
if (e === null) return null;
|
|
3418
3418
|
switch (e.name) {
|
|
@@ -3429,10 +3429,10 @@ function wt(e) {
|
|
|
3429
3429
|
}
|
|
3430
3430
|
}
|
|
3431
3431
|
}
|
|
3432
|
-
function
|
|
3433
|
-
return
|
|
3432
|
+
function mc(e, t = !1) {
|
|
3433
|
+
return kt(e);
|
|
3434
3434
|
}
|
|
3435
|
-
var
|
|
3435
|
+
var pc = {
|
|
3436
3436
|
Active: "active",
|
|
3437
3437
|
Archived: "archived",
|
|
3438
3438
|
Claimed: "claimed",
|
|
@@ -3440,7 +3440,7 @@ var lc = {
|
|
|
3440
3440
|
Open: "open",
|
|
3441
3441
|
WaitingPayment: "waiting_payment"
|
|
3442
3442
|
};
|
|
3443
|
-
function
|
|
3443
|
+
function hc(e) {
|
|
3444
3444
|
return !(!("status" in e) || e.status === void 0);
|
|
3445
3445
|
}
|
|
3446
3446
|
function cr(e) {
|
|
@@ -3463,11 +3463,11 @@ function fr(e, t = !1) {
|
|
|
3463
3463
|
status: e.status
|
|
3464
3464
|
};
|
|
3465
3465
|
}
|
|
3466
|
-
var
|
|
3466
|
+
var yc = {
|
|
3467
3467
|
CreditNote: "credit_note",
|
|
3468
3468
|
Invoice: "invoice"
|
|
3469
3469
|
};
|
|
3470
|
-
function
|
|
3470
|
+
function gc(e) {
|
|
3471
3471
|
return !(!("type" in e) || e.type === void 0 || !("url" in e) || e.url === void 0);
|
|
3472
3472
|
}
|
|
3473
3473
|
function lr(e) {
|
|
@@ -3488,11 +3488,11 @@ function hr(e, t = !1) {
|
|
|
3488
3488
|
url: e.url
|
|
3489
3489
|
};
|
|
3490
3490
|
}
|
|
3491
|
-
var
|
|
3492
|
-
function
|
|
3491
|
+
var _c = { Insurance: "insurance" };
|
|
3492
|
+
function Oc(e) {
|
|
3493
3493
|
return !(!("price" in e) || e.price === void 0 || !("taxIncludedPrice" in e) || e.taxIncludedPrice === void 0 || !("type" in e) || e.type === void 0);
|
|
3494
3494
|
}
|
|
3495
|
-
function
|
|
3495
|
+
function Rt(e) {
|
|
3496
3496
|
return yr(e, !1);
|
|
3497
3497
|
}
|
|
3498
3498
|
function yr(e, t) {
|
|
@@ -3502,7 +3502,7 @@ function yr(e, t) {
|
|
|
3502
3502
|
type: e.type
|
|
3503
3503
|
};
|
|
3504
3504
|
}
|
|
3505
|
-
function
|
|
3505
|
+
function Ct(e) {
|
|
3506
3506
|
return gr(e, !1);
|
|
3507
3507
|
}
|
|
3508
3508
|
function gr(e, t = !1) {
|
|
@@ -3512,7 +3512,7 @@ function gr(e, t = !1) {
|
|
|
3512
3512
|
type: e.type
|
|
3513
3513
|
};
|
|
3514
3514
|
}
|
|
3515
|
-
function
|
|
3515
|
+
function Ac(e) {
|
|
3516
3516
|
return !0;
|
|
3517
3517
|
}
|
|
3518
3518
|
function Fe(e) {
|
|
@@ -3537,7 +3537,7 @@ function Or(e, t = !1) {
|
|
|
3537
3537
|
slug: e.slug
|
|
3538
3538
|
};
|
|
3539
3539
|
}
|
|
3540
|
-
function
|
|
3540
|
+
function Tc(e) {
|
|
3541
3541
|
return !(!("beds" in e) || e.beds === void 0 || !("bedsPretty" in e) || e.bedsPretty === void 0 || !("count" in e) || e.count === void 0 || !("description" in e) || e.description === void 0 || !("id" in e) || e.id === void 0 || !("occupancy" in e) || e.occupancy === void 0);
|
|
3542
3542
|
}
|
|
3543
3543
|
function Ar(e) {
|
|
@@ -3584,7 +3584,7 @@ function wr(e, t = !1) {
|
|
|
3584
3584
|
thumb_images: e.thumbImages
|
|
3585
3585
|
};
|
|
3586
3586
|
}
|
|
3587
|
-
function
|
|
3587
|
+
function Sc(e) {
|
|
3588
3588
|
return !(!("fullname" in e) || e.fullname === void 0 || !("id" in e) || e.id === void 0);
|
|
3589
3589
|
}
|
|
3590
3590
|
function Ee(e) {
|
|
@@ -3605,10 +3605,10 @@ function Cr(e, t = !1) {
|
|
|
3605
3605
|
id: e.id
|
|
3606
3606
|
};
|
|
3607
3607
|
}
|
|
3608
|
-
function
|
|
3608
|
+
function wc(e) {
|
|
3609
3609
|
return !(!("hotelRoomId" in e) || e.hotelRoomId === void 0 || !("hotelRoomingListGuests" in e) || e.hotelRoomingListGuests === void 0 || !("id" in e) || e.id === void 0);
|
|
3610
3610
|
}
|
|
3611
|
-
function
|
|
3611
|
+
function Dt(e) {
|
|
3612
3612
|
return Dr(e, !1);
|
|
3613
3613
|
}
|
|
3614
3614
|
function Dr(e, t) {
|
|
@@ -3632,11 +3632,11 @@ function Pr(e, t = !1) {
|
|
|
3632
3632
|
limit_date: e.limitDate == null ? e.limitDate : e.limitDate.toISOString()
|
|
3633
3633
|
};
|
|
3634
3634
|
}
|
|
3635
|
-
var
|
|
3635
|
+
var kc = {
|
|
3636
3636
|
Disabled: "DISABLED",
|
|
3637
3637
|
Enabled: "ENABLED",
|
|
3638
3638
|
Forced: "FORCED"
|
|
3639
|
-
},
|
|
3639
|
+
}, Rc = {
|
|
3640
3640
|
BkgCx: "bkg-cx",
|
|
3641
3641
|
BkgCf: "bkg-cf",
|
|
3642
3642
|
BkgCreated: "bkg-created",
|
|
@@ -3646,7 +3646,7 @@ var Sc = {
|
|
|
3646
3646
|
BkgPp: "bkg-pp",
|
|
3647
3647
|
BkgQr: "bkg-qr"
|
|
3648
3648
|
};
|
|
3649
|
-
function
|
|
3649
|
+
function Cc(e) {
|
|
3650
3650
|
return !(!("adultCount" in e) || e.adultCount === void 0 || !("cancellationPolicies" in e) || e.cancellationPolicies === void 0 || !("checkInDate" in e) || e.checkInDate === void 0 || !("checkOutDate" in e) || e.checkOutDate === void 0 || !("contactPerson" in e) || e.contactPerson === void 0 || !("createdAt" in e) || e.createdAt === void 0 || !("currency" in e) || e.currency === void 0 || !("hotelId" in e) || e.hotelId === void 0 || !("hotelRoomOffer" in e) || e.hotelRoomOffer === void 0 || !("lastStatusUpdatedAt" in e) || e.lastStatusUpdatedAt === void 0 || !("reference" in e) || e.reference === void 0 || !("sourceMarket" in e) || e.sourceMarket === void 0 || !("status" in e) || e.status === void 0 || !("taxAmount" in e) || e.taxAmount === void 0 || !("taxIncludedPrice" in e) || e.taxIncludedPrice === void 0 || !("terms" in e) || e.terms === void 0);
|
|
3651
3651
|
}
|
|
3652
3652
|
function ee(e) {
|
|
@@ -3656,7 +3656,7 @@ function Nr(e, t) {
|
|
|
3656
3656
|
return e == null ? e : {
|
|
3657
3657
|
additionalCheckInInstruction: e.additional_check_in_instruction == null ? void 0 : e.additional_check_in_instruction,
|
|
3658
3658
|
additionalPolicies: e.additional_policies == null ? void 0 : e.additional_policies,
|
|
3659
|
-
addons: e.addons == null ? void 0 : e.addons.map(
|
|
3659
|
+
addons: e.addons == null ? void 0 : e.addons.map(Rt),
|
|
3660
3660
|
adultCount: e.adult_count,
|
|
3661
3661
|
bookingGroupId: e.booking_group_id == null ? void 0 : e.booking_group_id,
|
|
3662
3662
|
canceledAt: e.canceled_at == null ? void 0 : e.canceled_at,
|
|
@@ -3666,7 +3666,7 @@ function Nr(e, t) {
|
|
|
3666
3666
|
checkOutDate: e.check_out_date,
|
|
3667
3667
|
children: e.children == null ? void 0 : e.children,
|
|
3668
3668
|
confirmedAt: e.confirmed_at == null ? void 0 : e.confirmed_at,
|
|
3669
|
-
contactPerson:
|
|
3669
|
+
contactPerson: _t(e.contact_person),
|
|
3670
3670
|
createdAt: e.created_at,
|
|
3671
3671
|
currency: ne(e.currency),
|
|
3672
3672
|
customerReference: e.customer_reference == null ? void 0 : e.customer_reference,
|
|
@@ -3675,7 +3675,7 @@ function Nr(e, t) {
|
|
|
3675
3675
|
hotelConfirmationId: e.hotel_confirmation_id == null ? void 0 : e.hotel_confirmation_id,
|
|
3676
3676
|
hotelId: e.hotel_id,
|
|
3677
3677
|
hotelRoomOffer: fe(e.hotel_room_offer),
|
|
3678
|
-
hotelRoomingLists: e.hotel_rooming_lists == null ? void 0 : e.hotel_rooming_lists.map(
|
|
3678
|
+
hotelRoomingLists: e.hotel_rooming_lists == null ? void 0 : e.hotel_rooming_lists.map(Dt),
|
|
3679
3679
|
id: e.id == null ? void 0 : e.id,
|
|
3680
3680
|
insurance: e.insurance == null ? void 0 : cr(e.insurance),
|
|
3681
3681
|
invoices: e.invoices == null ? void 0 : e.invoices.map(lr),
|
|
@@ -3689,7 +3689,7 @@ function Nr(e, t) {
|
|
|
3689
3689
|
status: e.status,
|
|
3690
3690
|
taxAmount: e.tax_amount,
|
|
3691
3691
|
taxIncludedPrice: e.tax_included_price,
|
|
3692
|
-
taxes: e.taxes == null ? void 0 : e.taxes.map(
|
|
3692
|
+
taxes: e.taxes == null ? void 0 : e.taxes.map(pt),
|
|
3693
3693
|
terms: e.terms,
|
|
3694
3694
|
token: e.token == null ? void 0 : e.token
|
|
3695
3695
|
};
|
|
@@ -3701,7 +3701,7 @@ function Ir(e, t = !1) {
|
|
|
3701
3701
|
return e == null ? e : {
|
|
3702
3702
|
additional_check_in_instruction: e.additionalCheckInInstruction,
|
|
3703
3703
|
additional_policies: e.additionalPolicies,
|
|
3704
|
-
addons: e.addons == null ? void 0 : e.addons.map(
|
|
3704
|
+
addons: e.addons == null ? void 0 : e.addons.map(Ct),
|
|
3705
3705
|
adult_count: e.adultCount,
|
|
3706
3706
|
booking_group_id: e.bookingGroupId,
|
|
3707
3707
|
canceled_at: e.canceledAt,
|
|
@@ -3711,7 +3711,7 @@ function Ir(e, t = !1) {
|
|
|
3711
3711
|
check_out_date: e.checkOutDate,
|
|
3712
3712
|
children: e.children,
|
|
3713
3713
|
confirmed_at: e.confirmedAt,
|
|
3714
|
-
contact_person:
|
|
3714
|
+
contact_person: Ot(e.contactPerson),
|
|
3715
3715
|
created_at: e.createdAt,
|
|
3716
3716
|
currency: e.currency,
|
|
3717
3717
|
customer_reference: e.customerReference,
|
|
@@ -3727,20 +3727,20 @@ function Ir(e, t = !1) {
|
|
|
3727
3727
|
last_status_updated_at: e.lastStatusUpdatedAt,
|
|
3728
3728
|
metadata: e.metadata,
|
|
3729
3729
|
pay_later: e.payLater,
|
|
3730
|
-
payment_methods: e.paymentMethods == null ? void 0 : e.paymentMethods.map(
|
|
3730
|
+
payment_methods: e.paymentMethods == null ? void 0 : e.paymentMethods.map(kt),
|
|
3731
3731
|
penalty_percentage: e.penaltyPercentage,
|
|
3732
3732
|
reference: e.reference,
|
|
3733
3733
|
source_market: e.sourceMarket,
|
|
3734
3734
|
status: e.status,
|
|
3735
3735
|
tax_amount: e.taxAmount,
|
|
3736
3736
|
tax_included_price: e.taxIncludedPrice,
|
|
3737
|
-
taxes: e.taxes == null ? void 0 : e.taxes.map(
|
|
3737
|
+
taxes: e.taxes == null ? void 0 : e.taxes.map(ht),
|
|
3738
3738
|
terms: e.terms,
|
|
3739
3739
|
token: e.token
|
|
3740
3740
|
};
|
|
3741
3741
|
}
|
|
3742
|
-
var
|
|
3743
|
-
function
|
|
3742
|
+
var Dc = { Insurance: "insurance" };
|
|
3743
|
+
function Mc(e) {
|
|
3744
3744
|
return !(!("type" in e) || e.type === void 0);
|
|
3745
3745
|
}
|
|
3746
3746
|
function Er(e) {
|
|
@@ -3755,7 +3755,7 @@ function Jr(e) {
|
|
|
3755
3755
|
function vr(e, t = !1) {
|
|
3756
3756
|
return e == null ? e : { type: e.type };
|
|
3757
3757
|
}
|
|
3758
|
-
function
|
|
3758
|
+
function Pc(e) {
|
|
3759
3759
|
return !(!("fullname" in e) || e.fullname === void 0);
|
|
3760
3760
|
}
|
|
3761
3761
|
function Br(e) {
|
|
@@ -3770,7 +3770,7 @@ function xr(e) {
|
|
|
3770
3770
|
function Fr(e, t = !1) {
|
|
3771
3771
|
return e == null ? e : { fullname: e.fullname };
|
|
3772
3772
|
}
|
|
3773
|
-
function
|
|
3773
|
+
function Nc(e) {
|
|
3774
3774
|
return !(!("guests" in e) || e.guests === void 0 || !("hotelRoomId" in e) || e.hotelRoomId === void 0);
|
|
3775
3775
|
}
|
|
3776
3776
|
function Ur(e) {
|
|
@@ -3791,7 +3791,7 @@ function qr(e, t = !1) {
|
|
|
3791
3791
|
hotel_room_id: e.hotelRoomId
|
|
3792
3792
|
};
|
|
3793
3793
|
}
|
|
3794
|
-
function
|
|
3794
|
+
function bc(e) {
|
|
3795
3795
|
return !0;
|
|
3796
3796
|
}
|
|
3797
3797
|
function me(e) {
|
|
@@ -3820,7 +3820,7 @@ function Kr(e, t = !1) {
|
|
|
3820
3820
|
slug: e.slug
|
|
3821
3821
|
};
|
|
3822
3822
|
}
|
|
3823
|
-
function
|
|
3823
|
+
function Ic(e) {
|
|
3824
3824
|
return !0;
|
|
3825
3825
|
}
|
|
3826
3826
|
function zr(e) {
|
|
@@ -3835,15 +3835,15 @@ function Zr(e) {
|
|
|
3835
3835
|
function Wr(e, t = !1) {
|
|
3836
3836
|
return e == null ? e : { coupon_id: e.couponId };
|
|
3837
3837
|
}
|
|
3838
|
-
var
|
|
3838
|
+
var Ec = {
|
|
3839
3839
|
Coupon: "COUPON",
|
|
3840
3840
|
CreditCard: "CREDIT_CARD",
|
|
3841
3841
|
DepositAccount: "DEPOSIT_ACCOUNT"
|
|
3842
3842
|
};
|
|
3843
|
-
function
|
|
3843
|
+
function Lc(e) {
|
|
3844
3844
|
return !(!("name" in e) || e.name === void 0);
|
|
3845
3845
|
}
|
|
3846
|
-
function
|
|
3846
|
+
function Mt(e) {
|
|
3847
3847
|
return Xr(e, !1);
|
|
3848
3848
|
}
|
|
3849
3849
|
function Xr(e, t) {
|
|
@@ -3852,7 +3852,7 @@ function Xr(e, t) {
|
|
|
3852
3852
|
payload: e.payload == null ? void 0 : zr(e.payload)
|
|
3853
3853
|
};
|
|
3854
3854
|
}
|
|
3855
|
-
function
|
|
3855
|
+
function Pt(e) {
|
|
3856
3856
|
return Qr(e, !1);
|
|
3857
3857
|
}
|
|
3858
3858
|
function Qr(e, t = !1) {
|
|
@@ -3861,21 +3861,21 @@ function Qr(e, t = !1) {
|
|
|
3861
3861
|
payload: Zr(e.payload)
|
|
3862
3862
|
};
|
|
3863
3863
|
}
|
|
3864
|
-
function
|
|
3864
|
+
function Jc(e) {
|
|
3865
3865
|
return !(!("bookingPolicyId" in e) || e.bookingPolicyId === void 0 || !("contactPerson" in e) || e.contactPerson === void 0);
|
|
3866
3866
|
}
|
|
3867
|
-
function
|
|
3867
|
+
function vc(e) {
|
|
3868
3868
|
return jr(e, !1);
|
|
3869
3869
|
}
|
|
3870
3870
|
function jr(e, t) {
|
|
3871
3871
|
return e == null ? e : {
|
|
3872
3872
|
addons: e.addons == null ? void 0 : e.addons.map(Er),
|
|
3873
3873
|
bookingPolicyId: e.booking_policy_id,
|
|
3874
|
-
contactPerson:
|
|
3874
|
+
contactPerson: _t(e.contact_person),
|
|
3875
3875
|
eventMetadata: e.event_metadata == null ? void 0 : me(e.event_metadata),
|
|
3876
3876
|
guestsList: e.guests_list == null ? void 0 : e.guests_list.map(Ur),
|
|
3877
3877
|
metadata: e.metadata == null ? void 0 : e.metadata,
|
|
3878
|
-
paymentMethods: e.payment_methods == null ? void 0 : e.payment_methods.map(
|
|
3878
|
+
paymentMethods: e.payment_methods == null ? void 0 : e.payment_methods.map(Mt),
|
|
3879
3879
|
trackingId: e.tracking_id == null ? void 0 : e.tracking_id
|
|
3880
3880
|
};
|
|
3881
3881
|
}
|
|
@@ -3886,15 +3886,15 @@ function to(e, t = !1) {
|
|
|
3886
3886
|
return e == null ? e : {
|
|
3887
3887
|
addons: e.addons == null ? void 0 : e.addons.map(Jr),
|
|
3888
3888
|
booking_policy_id: e.bookingPolicyId,
|
|
3889
|
-
contact_person:
|
|
3889
|
+
contact_person: Ot(e.contactPerson),
|
|
3890
3890
|
event_metadata: pe(e.eventMetadata),
|
|
3891
3891
|
guests_list: e.guestsList == null ? void 0 : e.guestsList.map($r),
|
|
3892
3892
|
metadata: e.metadata,
|
|
3893
|
-
payment_methods: e.paymentMethods == null ? void 0 : e.paymentMethods.map(
|
|
3893
|
+
payment_methods: e.paymentMethods == null ? void 0 : e.paymentMethods.map(Pt),
|
|
3894
3894
|
tracking_id: e.trackingId
|
|
3895
3895
|
};
|
|
3896
3896
|
}
|
|
3897
|
-
function
|
|
3897
|
+
function Bc(e) {
|
|
3898
3898
|
return !(!("adultCount" in e) || e.adultCount === void 0 || !("cancellationPolicies" in e) || e.cancellationPolicies === void 0 || !("checkInDate" in e) || e.checkInDate === void 0 || !("checkOutDate" in e) || e.checkOutDate === void 0 || !("currency" in e) || e.currency === void 0 || !("expiresAt" in e) || e.expiresAt === void 0 || !("hasRoomingLists" in e) || e.hasRoomingLists === void 0 || !("hotelId" in e) || e.hotelId === void 0 || !("hotelRoomOffer" in e) || e.hotelRoomOffer === void 0 || !("id" in e) || e.id === void 0 || !("isCancellationPoliciesUpdated" in e) || e.isCancellationPoliciesUpdated === void 0 || !("isPriceIncreased" in e) || e.isPriceIncreased === void 0);
|
|
3899
3899
|
}
|
|
3900
3900
|
function Ke(e) {
|
|
@@ -3902,7 +3902,7 @@ function Ke(e) {
|
|
|
3902
3902
|
}
|
|
3903
3903
|
function io(e, t) {
|
|
3904
3904
|
return e == null ? e : {
|
|
3905
|
-
addons: e.addons == null ? void 0 : e.addons.map(
|
|
3905
|
+
addons: e.addons == null ? void 0 : e.addons.map(Rt),
|
|
3906
3906
|
adultCount: e.adult_count,
|
|
3907
3907
|
cancellationPolicies: e.cancellation_policies.map(Be),
|
|
3908
3908
|
checkInDate: e.check_in_date,
|
|
@@ -3918,12 +3918,12 @@ function io(e, t) {
|
|
|
3918
3918
|
isPriceIncreased: e.is_price_increased
|
|
3919
3919
|
};
|
|
3920
3920
|
}
|
|
3921
|
-
function
|
|
3921
|
+
function Hc(e) {
|
|
3922
3922
|
return no(e, !1);
|
|
3923
3923
|
}
|
|
3924
3924
|
function no(e, t = !1) {
|
|
3925
3925
|
return e == null ? e : {
|
|
3926
|
-
addons: e.addons == null ? void 0 : e.addons.map(
|
|
3926
|
+
addons: e.addons == null ? void 0 : e.addons.map(Ct),
|
|
3927
3927
|
adult_count: e.adultCount,
|
|
3928
3928
|
cancellation_policies: e.cancellationPolicies.map(He),
|
|
3929
3929
|
check_in_date: e.checkInDate,
|
|
@@ -3939,10 +3939,10 @@ function no(e, t = !1) {
|
|
|
3939
3939
|
is_price_increased: e.isPriceIncreased
|
|
3940
3940
|
};
|
|
3941
3941
|
}
|
|
3942
|
-
function
|
|
3942
|
+
function xc(e) {
|
|
3943
3943
|
return !(!("hotelRoomOfferId" in e) || e.hotelRoomOfferId === void 0);
|
|
3944
3944
|
}
|
|
3945
|
-
function
|
|
3945
|
+
function Fc(e) {
|
|
3946
3946
|
return ro(e, !1);
|
|
3947
3947
|
}
|
|
3948
3948
|
function ro(e, t) {
|
|
@@ -3964,7 +3964,7 @@ function ao(e, t = !1) {
|
|
|
3964
3964
|
lang: e.lang
|
|
3965
3965
|
};
|
|
3966
3966
|
}
|
|
3967
|
-
function
|
|
3967
|
+
function Uc(e) {
|
|
3968
3968
|
return !0;
|
|
3969
3969
|
}
|
|
3970
3970
|
function so(e) {
|
|
@@ -3989,7 +3989,7 @@ function fo(e, t = !1) {
|
|
|
3989
3989
|
total_count: e.totalCount
|
|
3990
3990
|
};
|
|
3991
3991
|
}
|
|
3992
|
-
function
|
|
3992
|
+
function Gc(e) {
|
|
3993
3993
|
return !(!("data" in e) || e.data === void 0 || !("meta" in e) || e.meta === void 0);
|
|
3994
3994
|
}
|
|
3995
3995
|
function lo(e) {
|
|
@@ -4001,7 +4001,7 @@ function mo(e, t) {
|
|
|
4001
4001
|
meta: so(e.meta)
|
|
4002
4002
|
};
|
|
4003
4003
|
}
|
|
4004
|
-
function
|
|
4004
|
+
function $c(e) {
|
|
4005
4005
|
return po(e, !1);
|
|
4006
4006
|
}
|
|
4007
4007
|
function po(e, t = !1) {
|
|
@@ -4010,7 +4010,7 @@ function po(e, t = !1) {
|
|
|
4010
4010
|
meta: uo(e.meta)
|
|
4011
4011
|
};
|
|
4012
4012
|
}
|
|
4013
|
-
var
|
|
4013
|
+
var qc = {
|
|
4014
4014
|
ApiError: "api_error",
|
|
4015
4015
|
BadGateway: "bad_gateway",
|
|
4016
4016
|
InternalServerError: "internal_server_error",
|
|
@@ -4021,10 +4021,10 @@ var Gc = {
|
|
|
4021
4021
|
Unauthorized: "unauthorized",
|
|
4022
4022
|
ValidationError: "validation_error"
|
|
4023
4023
|
};
|
|
4024
|
-
function
|
|
4024
|
+
function Yc(e) {
|
|
4025
4025
|
return !(!("statusCode" in e) || e.statusCode === void 0);
|
|
4026
4026
|
}
|
|
4027
|
-
function
|
|
4027
|
+
function Kc(e) {
|
|
4028
4028
|
return ho(e, !1);
|
|
4029
4029
|
}
|
|
4030
4030
|
function ho(e, t) {
|
|
@@ -4036,7 +4036,7 @@ function ho(e, t) {
|
|
|
4036
4036
|
type: e.type == null ? void 0 : e.type
|
|
4037
4037
|
};
|
|
4038
4038
|
}
|
|
4039
|
-
function
|
|
4039
|
+
function zc(e) {
|
|
4040
4040
|
return yo(e, !1);
|
|
4041
4041
|
}
|
|
4042
4042
|
function yo(e, t = !1) {
|
|
@@ -4048,10 +4048,10 @@ function yo(e, t = !1) {
|
|
|
4048
4048
|
type: e.type
|
|
4049
4049
|
};
|
|
4050
4050
|
}
|
|
4051
|
-
function
|
|
4051
|
+
function Vc(e) {
|
|
4052
4052
|
return !(!("rating" in e) || e.rating === void 0);
|
|
4053
4053
|
}
|
|
4054
|
-
function
|
|
4054
|
+
function Nt(e) {
|
|
4055
4055
|
return go(e, !1);
|
|
4056
4056
|
}
|
|
4057
4057
|
function go(e, t) {
|
|
@@ -4060,7 +4060,7 @@ function go(e, t) {
|
|
|
4060
4060
|
rating: e.rating
|
|
4061
4061
|
};
|
|
4062
4062
|
}
|
|
4063
|
-
function
|
|
4063
|
+
function bt(e) {
|
|
4064
4064
|
return _o(e, !1);
|
|
4065
4065
|
}
|
|
4066
4066
|
function _o(e, t = !1) {
|
|
@@ -4069,10 +4069,10 @@ function _o(e, t = !1) {
|
|
|
4069
4069
|
rating: e.rating
|
|
4070
4070
|
};
|
|
4071
4071
|
}
|
|
4072
|
-
function
|
|
4072
|
+
function Zc(e) {
|
|
4073
4073
|
return !0;
|
|
4074
4074
|
}
|
|
4075
|
-
function
|
|
4075
|
+
function It(e) {
|
|
4076
4076
|
return Oo(e, !1);
|
|
4077
4077
|
}
|
|
4078
4078
|
function Oo(e, t) {
|
|
@@ -4085,7 +4085,7 @@ function Oo(e, t) {
|
|
|
4085
4085
|
thumb: e.thumb == null ? void 0 : e.thumb
|
|
4086
4086
|
};
|
|
4087
4087
|
}
|
|
4088
|
-
function
|
|
4088
|
+
function Et(e) {
|
|
4089
4089
|
return Ao(e, !1);
|
|
4090
4090
|
}
|
|
4091
4091
|
function Ao(e, t = !1) {
|
|
@@ -4098,7 +4098,7 @@ function Ao(e, t = !1) {
|
|
|
4098
4098
|
thumb: e.thumb
|
|
4099
4099
|
};
|
|
4100
4100
|
}
|
|
4101
|
-
function
|
|
4101
|
+
function Wc(e) {
|
|
4102
4102
|
return !0;
|
|
4103
4103
|
}
|
|
4104
4104
|
function To(e) {
|
|
@@ -4121,10 +4121,10 @@ function ko(e, t = !1) {
|
|
|
4121
4121
|
walking: e.walking
|
|
4122
4122
|
};
|
|
4123
4123
|
}
|
|
4124
|
-
function
|
|
4124
|
+
function Xc(e) {
|
|
4125
4125
|
return !(!("name" in e) || e.name === void 0);
|
|
4126
4126
|
}
|
|
4127
|
-
function
|
|
4127
|
+
function Lt(e) {
|
|
4128
4128
|
return Ro(e, !1);
|
|
4129
4129
|
}
|
|
4130
4130
|
function Ro(e, t) {
|
|
@@ -4134,7 +4134,7 @@ function Ro(e, t) {
|
|
|
4134
4134
|
travelTimes: e.travel_times == null ? void 0 : To(e.travel_times)
|
|
4135
4135
|
};
|
|
4136
4136
|
}
|
|
4137
|
-
function
|
|
4137
|
+
function Jt(e) {
|
|
4138
4138
|
return Co(e, !1);
|
|
4139
4139
|
}
|
|
4140
4140
|
function Co(e, t = !1) {
|
|
@@ -4144,7 +4144,7 @@ function Co(e, t = !1) {
|
|
|
4144
4144
|
travel_times: wo(e.travelTimes)
|
|
4145
4145
|
};
|
|
4146
4146
|
}
|
|
4147
|
-
function
|
|
4147
|
+
function Qc(e) {
|
|
4148
4148
|
return !(!("id" in e) || e.id === void 0 || !("latitude" in e) || e.latitude === void 0 || !("longitude" in e) || e.longitude === void 0 || !("name" in e) || e.name === void 0 || !("timezone" in e) || e.timezone === void 0);
|
|
4149
4149
|
}
|
|
4150
4150
|
function Do(e) {
|
|
@@ -4154,7 +4154,7 @@ function Mo(e, t) {
|
|
|
4154
4154
|
return e == null ? e : {
|
|
4155
4155
|
address: e.address == null ? void 0 : e.address,
|
|
4156
4156
|
address2: e.address2 == null ? void 0 : e.address2,
|
|
4157
|
-
amenities: e.amenities == null ? void 0 :
|
|
4157
|
+
amenities: e.amenities == null ? void 0 : lt(e.amenities),
|
|
4158
4158
|
checkInTime: e.check_in_time == null ? void 0 : e.check_in_time,
|
|
4159
4159
|
checkOutTime: e.check_out_time == null ? void 0 : e.check_out_time,
|
|
4160
4160
|
city: e.city == null ? void 0 : e.city,
|
|
@@ -4166,9 +4166,9 @@ function Mo(e, t) {
|
|
|
4166
4166
|
email: e.email == null ? void 0 : e.email,
|
|
4167
4167
|
fax: e.fax == null ? void 0 : e.fax,
|
|
4168
4168
|
hotelImages: e.hotel_images == null ? void 0 : e.hotel_images.map(de),
|
|
4169
|
-
hotelReviewRatings: e.hotel_review_ratings == null ? void 0 : e.hotel_review_ratings.map(
|
|
4169
|
+
hotelReviewRatings: e.hotel_review_ratings == null ? void 0 : e.hotel_review_ratings.map(Nt),
|
|
4170
4170
|
id: e.id,
|
|
4171
|
-
images: e.images == null ? void 0 :
|
|
4171
|
+
images: e.images == null ? void 0 : It(e.images),
|
|
4172
4172
|
latitude: e.latitude,
|
|
4173
4173
|
longitude: e.longitude,
|
|
4174
4174
|
name: e.name,
|
|
@@ -4180,18 +4180,18 @@ function Mo(e, t) {
|
|
|
4180
4180
|
state: e.state == null ? void 0 : e.state,
|
|
4181
4181
|
taId: e.ta_id == null ? void 0 : e.ta_id,
|
|
4182
4182
|
timezone: e.timezone,
|
|
4183
|
-
venues: e.venues == null ? void 0 : e.venues.map(
|
|
4183
|
+
venues: e.venues == null ? void 0 : e.venues.map(Lt),
|
|
4184
4184
|
website: e.website == null ? void 0 : e.website
|
|
4185
4185
|
};
|
|
4186
4186
|
}
|
|
4187
|
-
function
|
|
4187
|
+
function jc(e) {
|
|
4188
4188
|
return Po(e, !1);
|
|
4189
4189
|
}
|
|
4190
4190
|
function Po(e, t = !1) {
|
|
4191
4191
|
return e == null ? e : {
|
|
4192
4192
|
address: e.address,
|
|
4193
4193
|
address2: e.address2,
|
|
4194
|
-
amenities:
|
|
4194
|
+
amenities: mt(e.amenities),
|
|
4195
4195
|
check_in_time: e.checkInTime,
|
|
4196
4196
|
check_out_time: e.checkOutTime,
|
|
4197
4197
|
city: e.city,
|
|
@@ -4203,9 +4203,9 @@ function Po(e, t = !1) {
|
|
|
4203
4203
|
email: e.email,
|
|
4204
4204
|
fax: e.fax,
|
|
4205
4205
|
hotel_images: e.hotelImages == null ? void 0 : e.hotelImages.map(Te),
|
|
4206
|
-
hotel_review_ratings: e.hotelReviewRatings == null ? void 0 : e.hotelReviewRatings.map(
|
|
4206
|
+
hotel_review_ratings: e.hotelReviewRatings == null ? void 0 : e.hotelReviewRatings.map(bt),
|
|
4207
4207
|
id: e.id,
|
|
4208
|
-
images:
|
|
4208
|
+
images: Et(e.images),
|
|
4209
4209
|
latitude: e.latitude,
|
|
4210
4210
|
longitude: e.longitude,
|
|
4211
4211
|
name: e.name,
|
|
@@ -4217,11 +4217,11 @@ function Po(e, t = !1) {
|
|
|
4217
4217
|
state: e.state,
|
|
4218
4218
|
ta_id: e.taId,
|
|
4219
4219
|
timezone: e.timezone,
|
|
4220
|
-
venues: e.venues == null ? void 0 : e.venues.map(
|
|
4220
|
+
venues: e.venues == null ? void 0 : e.venues.map(Jt),
|
|
4221
4221
|
website: e.website
|
|
4222
4222
|
};
|
|
4223
4223
|
}
|
|
4224
|
-
function
|
|
4224
|
+
function eu(e) {
|
|
4225
4225
|
return !(!("hotelImages" in e) || e.hotelImages === void 0 || !("id" in e) || e.id === void 0 || !("latitude" in e) || e.latitude === void 0 || !("longitude" in e) || e.longitude === void 0 || !("name" in e) || e.name === void 0 || !("timezone" in e) || e.timezone === void 0 || !("hotelRoomOffers" in e) || e.hotelRoomOffers === void 0);
|
|
4226
4226
|
}
|
|
4227
4227
|
function No(e) {
|
|
@@ -4231,7 +4231,7 @@ function bo(e, t) {
|
|
|
4231
4231
|
return e == null ? e : {
|
|
4232
4232
|
address: e.address == null ? void 0 : e.address,
|
|
4233
4233
|
address2: e.address2 == null ? void 0 : e.address2,
|
|
4234
|
-
amenities: e.amenities == null ? void 0 :
|
|
4234
|
+
amenities: e.amenities == null ? void 0 : lt(e.amenities),
|
|
4235
4235
|
checkInTime: e.check_in_time == null ? void 0 : e.check_in_time,
|
|
4236
4236
|
checkOutTime: e.check_out_time == null ? void 0 : e.check_out_time,
|
|
4237
4237
|
city: e.city == null ? void 0 : e.city,
|
|
@@ -4243,9 +4243,9 @@ function bo(e, t) {
|
|
|
4243
4243
|
email: e.email == null ? void 0 : e.email,
|
|
4244
4244
|
fax: e.fax == null ? void 0 : e.fax,
|
|
4245
4245
|
hotelImages: e.hotel_images.map(de),
|
|
4246
|
-
hotelReviewRatings: e.hotel_review_ratings == null ? void 0 : e.hotel_review_ratings.map(
|
|
4246
|
+
hotelReviewRatings: e.hotel_review_ratings == null ? void 0 : e.hotel_review_ratings.map(Nt),
|
|
4247
4247
|
id: e.id,
|
|
4248
|
-
images: e.images == null ? void 0 :
|
|
4248
|
+
images: e.images == null ? void 0 : It(e.images),
|
|
4249
4249
|
latitude: e.latitude,
|
|
4250
4250
|
longitude: e.longitude,
|
|
4251
4251
|
name: e.name,
|
|
@@ -4257,10 +4257,10 @@ function bo(e, t) {
|
|
|
4257
4257
|
state: e.state == null ? void 0 : e.state,
|
|
4258
4258
|
taId: e.ta_id == null ? void 0 : e.ta_id,
|
|
4259
4259
|
timezone: e.timezone,
|
|
4260
|
-
venues: e.venues == null ? void 0 : e.venues.map(
|
|
4260
|
+
venues: e.venues == null ? void 0 : e.venues.map(Lt),
|
|
4261
4261
|
website: e.website == null ? void 0 : e.website,
|
|
4262
4262
|
hotelRoomOffers: e.hotel_room_offers.map(fe),
|
|
4263
|
-
tags: e.tags == null ? void 0 : e.tags.map(
|
|
4263
|
+
tags: e.tags == null ? void 0 : e.tags.map(yt)
|
|
4264
4264
|
};
|
|
4265
4265
|
}
|
|
4266
4266
|
function Io(e) {
|
|
@@ -4270,7 +4270,7 @@ function Eo(e, t = !1) {
|
|
|
4270
4270
|
return e == null ? e : {
|
|
4271
4271
|
address: e.address,
|
|
4272
4272
|
address2: e.address2,
|
|
4273
|
-
amenities:
|
|
4273
|
+
amenities: mt(e.amenities),
|
|
4274
4274
|
check_in_time: e.checkInTime,
|
|
4275
4275
|
check_out_time: e.checkOutTime,
|
|
4276
4276
|
city: e.city,
|
|
@@ -4282,9 +4282,9 @@ function Eo(e, t = !1) {
|
|
|
4282
4282
|
email: e.email,
|
|
4283
4283
|
fax: e.fax,
|
|
4284
4284
|
hotel_images: e.hotelImages.map(Te),
|
|
4285
|
-
hotel_review_ratings: e.hotelReviewRatings == null ? void 0 : e.hotelReviewRatings.map(
|
|
4285
|
+
hotel_review_ratings: e.hotelReviewRatings == null ? void 0 : e.hotelReviewRatings.map(bt),
|
|
4286
4286
|
id: e.id,
|
|
4287
|
-
images:
|
|
4287
|
+
images: Et(e.images),
|
|
4288
4288
|
latitude: e.latitude,
|
|
4289
4289
|
longitude: e.longitude,
|
|
4290
4290
|
name: e.name,
|
|
@@ -4296,13 +4296,13 @@ function Eo(e, t = !1) {
|
|
|
4296
4296
|
state: e.state,
|
|
4297
4297
|
ta_id: e.taId,
|
|
4298
4298
|
timezone: e.timezone,
|
|
4299
|
-
venues: e.venues == null ? void 0 : e.venues.map(
|
|
4299
|
+
venues: e.venues == null ? void 0 : e.venues.map(Jt),
|
|
4300
4300
|
website: e.website,
|
|
4301
4301
|
hotel_room_offers: e.hotelRoomOffers.map(le),
|
|
4302
|
-
tags: e.tags == null ? void 0 : e.tags.map(
|
|
4302
|
+
tags: e.tags == null ? void 0 : e.tags.map(gt)
|
|
4303
4303
|
};
|
|
4304
4304
|
}
|
|
4305
|
-
function
|
|
4305
|
+
function tu(e) {
|
|
4306
4306
|
return !(!("adultCount" in e) || e.adultCount === void 0 || !("checkInDate" in e) || e.checkInDate === void 0 || !("checkOutDate" in e) || e.checkOutDate === void 0 || !("createdAt" in e) || e.createdAt === void 0 || !("id" in e) || e.id === void 0 || !("latitude" in e) || e.latitude === void 0 || !("longitude" in e) || e.longitude === void 0 || !("roomCount" in e) || e.roomCount === void 0 || !("sourceMarket" in e) || e.sourceMarket === void 0);
|
|
4307
4307
|
}
|
|
4308
4308
|
function ze(e) {
|
|
@@ -4324,7 +4324,7 @@ function Lo(e, t) {
|
|
|
4324
4324
|
sourceMarket: Ae(e.source_market)
|
|
4325
4325
|
};
|
|
4326
4326
|
}
|
|
4327
|
-
function
|
|
4327
|
+
function iu(e) {
|
|
4328
4328
|
return Jo(e, !1);
|
|
4329
4329
|
}
|
|
4330
4330
|
function Jo(e, t = !1) {
|
|
@@ -4343,10 +4343,10 @@ function Jo(e, t = !1) {
|
|
|
4343
4343
|
source_market: e.sourceMarket
|
|
4344
4344
|
};
|
|
4345
4345
|
}
|
|
4346
|
-
function
|
|
4346
|
+
function nu(e) {
|
|
4347
4347
|
return !(!("adultCount" in e) || e.adultCount === void 0 || !("checkInDate" in e) || e.checkInDate === void 0 || !("checkOutDate" in e) || e.checkOutDate === void 0 || !("roomCount" in e) || e.roomCount === void 0);
|
|
4348
4348
|
}
|
|
4349
|
-
function
|
|
4349
|
+
function ru(e) {
|
|
4350
4350
|
return vo(e, !1);
|
|
4351
4351
|
}
|
|
4352
4352
|
function vo(e, t) {
|
|
@@ -4378,7 +4378,7 @@ function Ho(e, t = !1) {
|
|
|
4378
4378
|
room_count: e.roomCount
|
|
4379
4379
|
};
|
|
4380
4380
|
}
|
|
4381
|
-
function
|
|
4381
|
+
function ou(e) {
|
|
4382
4382
|
return !(!("adultCount" in e) || e.adultCount === void 0 || !("checkInDate" in e) || e.checkInDate === void 0 || !("checkOutDate" in e) || e.checkOutDate === void 0 || !("currency" in e) || e.currency === void 0 || !("hotelOffers" in e) || e.hotelOffers === void 0);
|
|
4383
4383
|
}
|
|
4384
4384
|
function xo(e) {
|
|
@@ -4417,7 +4417,7 @@ var be = {
|
|
|
4417
4417
|
Complete: "COMPLETE",
|
|
4418
4418
|
InProgress: "IN_PROGRESS"
|
|
4419
4419
|
};
|
|
4420
|
-
function
|
|
4420
|
+
function au(e) {
|
|
4421
4421
|
for (const t in be) if (Object.prototype.hasOwnProperty.call(be, t) && be[t] === e)
|
|
4422
4422
|
return !0;
|
|
4423
4423
|
return !1;
|
|
@@ -4428,16 +4428,16 @@ function $o(e) {
|
|
|
4428
4428
|
function qo(e, t) {
|
|
4429
4429
|
return e;
|
|
4430
4430
|
}
|
|
4431
|
-
function
|
|
4431
|
+
function su(e) {
|
|
4432
4432
|
return e;
|
|
4433
4433
|
}
|
|
4434
|
-
function
|
|
4434
|
+
function cu(e, t) {
|
|
4435
4435
|
return e;
|
|
4436
4436
|
}
|
|
4437
|
-
function
|
|
4437
|
+
function uu(e) {
|
|
4438
4438
|
return !(!("status" in e) || e.status === void 0);
|
|
4439
4439
|
}
|
|
4440
|
-
function
|
|
4440
|
+
function vt(e) {
|
|
4441
4441
|
return Yo(e, !1);
|
|
4442
4442
|
}
|
|
4443
4443
|
function Yo(e, t) {
|
|
@@ -4449,7 +4449,7 @@ function Yo(e, t) {
|
|
|
4449
4449
|
status: $o(e.status)
|
|
4450
4450
|
};
|
|
4451
4451
|
}
|
|
4452
|
-
function
|
|
4452
|
+
function Bt(e) {
|
|
4453
4453
|
return Ko(e, !1);
|
|
4454
4454
|
}
|
|
4455
4455
|
function Ko(e, t = !1) {
|
|
@@ -4461,7 +4461,7 @@ function Ko(e, t = !1) {
|
|
|
4461
4461
|
status: e.status
|
|
4462
4462
|
};
|
|
4463
4463
|
}
|
|
4464
|
-
function
|
|
4464
|
+
function du(e) {
|
|
4465
4465
|
return !(!("data" in e) || e.data === void 0 || !("meta" in e) || e.meta === void 0);
|
|
4466
4466
|
}
|
|
4467
4467
|
function zo(e) {
|
|
@@ -4471,20 +4471,20 @@ function Vo(e, t) {
|
|
|
4471
4471
|
return e == null ? e : {
|
|
4472
4472
|
data: xo(e.data),
|
|
4473
4473
|
event: e.event == null ? void 0 : Fe(e.event),
|
|
4474
|
-
meta:
|
|
4474
|
+
meta: vt(e.meta)
|
|
4475
4475
|
};
|
|
4476
4476
|
}
|
|
4477
|
-
function
|
|
4477
|
+
function fu(e) {
|
|
4478
4478
|
return Zo(e, !1);
|
|
4479
4479
|
}
|
|
4480
4480
|
function Zo(e, t = !1) {
|
|
4481
4481
|
return e == null ? e : {
|
|
4482
4482
|
data: Uo(e.data),
|
|
4483
4483
|
event: Ue(e.event),
|
|
4484
|
-
meta:
|
|
4484
|
+
meta: Bt(e.meta)
|
|
4485
4485
|
};
|
|
4486
4486
|
}
|
|
4487
|
-
function
|
|
4487
|
+
function lu(e) {
|
|
4488
4488
|
return !(!("adultCount" in e) || e.adultCount === void 0 || !("checkInDate" in e) || e.checkInDate === void 0 || !("checkOutDate" in e) || e.checkOutDate === void 0 || !("currency" in e) || e.currency === void 0 || !("hotelId" in e) || e.hotelId === void 0 || !("hotelRoomOffer" in e) || e.hotelRoomOffer === void 0);
|
|
4489
4489
|
}
|
|
4490
4490
|
function Wo(e) {
|
|
@@ -4501,7 +4501,7 @@ function Xo(e, t) {
|
|
|
4501
4501
|
hotelRoomOffer: fe(e.hotel_room_offer)
|
|
4502
4502
|
};
|
|
4503
4503
|
}
|
|
4504
|
-
function
|
|
4504
|
+
function mu(e) {
|
|
4505
4505
|
return Qo(e, !1);
|
|
4506
4506
|
}
|
|
4507
4507
|
function Qo(e, t = !1) {
|
|
@@ -4515,7 +4515,7 @@ function Qo(e, t = !1) {
|
|
|
4515
4515
|
hotel_room_offer: le(e.hotelRoomOffer)
|
|
4516
4516
|
};
|
|
4517
4517
|
}
|
|
4518
|
-
function
|
|
4518
|
+
function pu(e) {
|
|
4519
4519
|
return !(!("adultCount" in e) || e.adultCount === void 0 || !("checkInDate" in e) || e.checkInDate === void 0 || !("checkOutDate" in e) || e.checkOutDate === void 0 || !("hotelId" in e) || e.hotelId === void 0 || !("roomCount" in e) || e.roomCount === void 0 || !("createdAt" in e) || e.createdAt === void 0 || !("id" in e) || e.id === void 0 || !("sourceMarket" in e) || e.sourceMarket === void 0);
|
|
4520
4520
|
}
|
|
4521
4521
|
function Ve(e) {
|
|
@@ -4535,7 +4535,7 @@ function jo(e, t) {
|
|
|
4535
4535
|
sourceMarket: Ae(e.source_market)
|
|
4536
4536
|
};
|
|
4537
4537
|
}
|
|
4538
|
-
function
|
|
4538
|
+
function hu(e) {
|
|
4539
4539
|
return ea(e, !1);
|
|
4540
4540
|
}
|
|
4541
4541
|
function ea(e, t = !1) {
|
|
@@ -4552,10 +4552,10 @@ function ea(e, t = !1) {
|
|
|
4552
4552
|
source_market: e.sourceMarket
|
|
4553
4553
|
};
|
|
4554
4554
|
}
|
|
4555
|
-
function
|
|
4555
|
+
function yu(e) {
|
|
4556
4556
|
return !(!("adultCount" in e) || e.adultCount === void 0 || !("checkInDate" in e) || e.checkInDate === void 0 || !("checkOutDate" in e) || e.checkOutDate === void 0 || !("hotelId" in e) || e.hotelId === void 0 || !("roomCount" in e) || e.roomCount === void 0);
|
|
4557
4557
|
}
|
|
4558
|
-
function
|
|
4558
|
+
function gu(e) {
|
|
4559
4559
|
return ta(e, !1);
|
|
4560
4560
|
}
|
|
4561
4561
|
function ta(e, t) {
|
|
@@ -4583,7 +4583,7 @@ function na(e, t = !1) {
|
|
|
4583
4583
|
room_count: e.roomCount
|
|
4584
4584
|
};
|
|
4585
4585
|
}
|
|
4586
|
-
function
|
|
4586
|
+
function _u(e) {
|
|
4587
4587
|
return !(!("adultCount" in e) || e.adultCount === void 0 || !("checkInDate" in e) || e.checkInDate === void 0 || !("checkOutDate" in e) || e.checkOutDate === void 0 || !("currency" in e) || e.currency === void 0 || !("hotelId" in e) || e.hotelId === void 0 || !("hotelRoomOffers" in e) || e.hotelRoomOffers === void 0 || !("hotelTimezone" in e) || e.hotelTimezone === void 0);
|
|
4588
4588
|
}
|
|
4589
4589
|
function ra(e) {
|
|
@@ -4616,7 +4616,7 @@ function sa(e, t = !1) {
|
|
|
4616
4616
|
hotel_timezone: e.hotelTimezone
|
|
4617
4617
|
};
|
|
4618
4618
|
}
|
|
4619
|
-
function
|
|
4619
|
+
function Ou(e) {
|
|
4620
4620
|
return !(!("data" in e) || e.data === void 0 || !("meta" in e) || e.meta === void 0);
|
|
4621
4621
|
}
|
|
4622
4622
|
function ca(e) {
|
|
@@ -4626,20 +4626,20 @@ function ua(e, t) {
|
|
|
4626
4626
|
return e == null ? e : {
|
|
4627
4627
|
data: ra(e.data),
|
|
4628
4628
|
event: e.event == null ? void 0 : Fe(e.event),
|
|
4629
|
-
meta:
|
|
4629
|
+
meta: vt(e.meta)
|
|
4630
4630
|
};
|
|
4631
4631
|
}
|
|
4632
|
-
function
|
|
4632
|
+
function Au(e) {
|
|
4633
4633
|
return da(e, !1);
|
|
4634
4634
|
}
|
|
4635
4635
|
function da(e, t = !1) {
|
|
4636
4636
|
return e == null ? e : {
|
|
4637
4637
|
data: aa(e.data),
|
|
4638
4638
|
event: Ue(e.event),
|
|
4639
|
-
meta:
|
|
4639
|
+
meta: Bt(e.meta)
|
|
4640
4640
|
};
|
|
4641
4641
|
}
|
|
4642
|
-
function
|
|
4642
|
+
function Tu(e) {
|
|
4643
4643
|
return !(!("count" in e) || e.count === void 0 || !("hotelRoomOfferId" in e) || e.hotelRoomOfferId === void 0);
|
|
4644
4644
|
}
|
|
4645
4645
|
function fa(e) {
|
|
@@ -4662,10 +4662,10 @@ function pa(e, t = !1) {
|
|
|
4662
4662
|
hotel_room_offer_id: e.hotelRoomOfferId
|
|
4663
4663
|
};
|
|
4664
4664
|
}
|
|
4665
|
-
function
|
|
4665
|
+
function Su(e) {
|
|
4666
4666
|
return !(!("currency" in e) || e.currency === void 0 || !("hotelRoomOffers" in e) || e.hotelRoomOffers === void 0);
|
|
4667
4667
|
}
|
|
4668
|
-
function
|
|
4668
|
+
function wu(e) {
|
|
4669
4669
|
return ha(e, !1);
|
|
4670
4670
|
}
|
|
4671
4671
|
function ha(e, t) {
|
|
@@ -4689,10 +4689,10 @@ function ga(e, t = !1) {
|
|
|
4689
4689
|
lang: e.lang
|
|
4690
4690
|
};
|
|
4691
4691
|
}
|
|
4692
|
-
function
|
|
4692
|
+
function ku(e) {
|
|
4693
4693
|
return !(!("fullname" in e) || e.fullname === void 0 || !("hotelRoomingListId" in e) || e.hotelRoomingListId === void 0);
|
|
4694
4694
|
}
|
|
4695
|
-
function
|
|
4695
|
+
function Ru(e) {
|
|
4696
4696
|
return _a(e, !1);
|
|
4697
4697
|
}
|
|
4698
4698
|
function _a(e, t) {
|
|
@@ -4710,10 +4710,10 @@ function Aa(e, t = !1) {
|
|
|
4710
4710
|
hotel_rooming_list_id: e.hotelRoomingListId
|
|
4711
4711
|
};
|
|
4712
4712
|
}
|
|
4713
|
-
function
|
|
4713
|
+
function Cu(e) {
|
|
4714
4714
|
return !(!("fullname" in e) || e.fullname === void 0);
|
|
4715
4715
|
}
|
|
4716
|
-
function
|
|
4716
|
+
function Du(e) {
|
|
4717
4717
|
return Ta(e, !1);
|
|
4718
4718
|
}
|
|
4719
4719
|
function Ta(e, t) {
|
|
@@ -4725,22 +4725,22 @@ function Sa(e) {
|
|
|
4725
4725
|
function wa(e, t = !1) {
|
|
4726
4726
|
return e == null ? e : { fullname: e.fullname };
|
|
4727
4727
|
}
|
|
4728
|
-
function
|
|
4728
|
+
function Mu(e) {
|
|
4729
4729
|
return !(!("paymentMethods" in e) || e.paymentMethods === void 0);
|
|
4730
4730
|
}
|
|
4731
|
-
function
|
|
4731
|
+
function Pu(e) {
|
|
4732
4732
|
return ka(e, !1);
|
|
4733
4733
|
}
|
|
4734
4734
|
function ka(e, t) {
|
|
4735
|
-
return e == null ? e : { paymentMethods: e.payment_methods.map(
|
|
4735
|
+
return e == null ? e : { paymentMethods: e.payment_methods.map(Mt) };
|
|
4736
4736
|
}
|
|
4737
4737
|
function Ra(e) {
|
|
4738
4738
|
return Ca(e, !1);
|
|
4739
4739
|
}
|
|
4740
4740
|
function Ca(e, t = !1) {
|
|
4741
|
-
return e == null ? e : { payment_methods: e.paymentMethods.map(
|
|
4741
|
+
return e == null ? e : { payment_methods: e.paymentMethods.map(Pt) };
|
|
4742
4742
|
}
|
|
4743
|
-
var
|
|
4743
|
+
var Nu = {
|
|
4744
4744
|
AddOrRemoveNights: "add_or_remove_nights",
|
|
4745
4745
|
AddOrRemovePerson: "add_or_remove_person",
|
|
4746
4746
|
ChangeDates: "change_dates",
|
|
@@ -4751,10 +4751,10 @@ var Mu = {
|
|
|
4751
4751
|
Other: "other",
|
|
4752
4752
|
SpecialRequest: "special_request"
|
|
4753
4753
|
};
|
|
4754
|
-
function
|
|
4754
|
+
function bu(e) {
|
|
4755
4755
|
return !(!("message" in e) || e.message === void 0 || !("requestType" in e) || e.requestType === void 0);
|
|
4756
4756
|
}
|
|
4757
|
-
function
|
|
4757
|
+
function Iu(e) {
|
|
4758
4758
|
return Da(e, !1);
|
|
4759
4759
|
}
|
|
4760
4760
|
function Da(e, t) {
|
|
@@ -4963,7 +4963,7 @@ var Na = class extends Q {
|
|
|
4963
4963
|
query: P(i, b.Snake),
|
|
4964
4964
|
body: P(Ma(e.requestPayload), b.Snake)
|
|
4965
4965
|
}, t);
|
|
4966
|
-
return new
|
|
4966
|
+
return new st(r);
|
|
4967
4967
|
}
|
|
4968
4968
|
async submitRequest(e, t) {
|
|
4969
4969
|
return this.submitRequestRaw(e, t);
|
|
@@ -4984,11 +4984,11 @@ var Na = class extends Q {
|
|
|
4984
4984
|
async updatePaymentMethods(e, t) {
|
|
4985
4985
|
return this.updatePaymentMethodsRaw(e, t);
|
|
4986
4986
|
}
|
|
4987
|
-
},
|
|
4987
|
+
}, Eu = {
|
|
4988
4988
|
CheckInDate: "check_in_date",
|
|
4989
4989
|
CreatedAt: "created_at",
|
|
4990
4990
|
LastStatusUpdatedAt: "last_status_updated_at"
|
|
4991
|
-
},
|
|
4991
|
+
}, Lu = {
|
|
4992
4992
|
Asc: "asc",
|
|
4993
4993
|
Desc: "desc"
|
|
4994
4994
|
}, Ia = class extends Q {
|
|
@@ -5063,13 +5063,13 @@ var Na = class extends Q {
|
|
|
5063
5063
|
maxCallCount: i?.maxCallCount
|
|
5064
5064
|
}, t);
|
|
5065
5065
|
}
|
|
5066
|
-
},
|
|
5066
|
+
}, Ju = {
|
|
5067
5067
|
Distance: "distance",
|
|
5068
5068
|
Price: "price",
|
|
5069
5069
|
Rating: "rating",
|
|
5070
5070
|
ReviewRating: "review_rating",
|
|
5071
5071
|
TopPicks: "top_picks"
|
|
5072
|
-
},
|
|
5072
|
+
}, vu = {
|
|
5073
5073
|
Asc: "asc",
|
|
5074
5074
|
Desc: "desc"
|
|
5075
5075
|
}, Ja = class extends Q {
|
|
@@ -5082,7 +5082,7 @@ var Na = class extends Q {
|
|
|
5082
5082
|
headers: {},
|
|
5083
5083
|
query: P({}, b.Snake)
|
|
5084
5084
|
}, t);
|
|
5085
|
-
return new
|
|
5085
|
+
return new st(i);
|
|
5086
5086
|
}
|
|
5087
5087
|
async delete(e, t) {
|
|
5088
5088
|
return this.deleteRaw(e, t);
|
|
@@ -5131,7 +5131,7 @@ var Na = class extends Q {
|
|
|
5131
5131
|
headers: {},
|
|
5132
5132
|
query: P(i, b.Snake)
|
|
5133
5133
|
}, t);
|
|
5134
|
-
return new $(n, (r) => r.map(
|
|
5134
|
+
return new $(n, (r) => r.map(Dt)).value();
|
|
5135
5135
|
}
|
|
5136
5136
|
async list(e, t) {
|
|
5137
5137
|
return this.listRaw(e, t);
|
|
@@ -5241,7 +5241,31 @@ var Na = class extends Q {
|
|
|
5241
5241
|
async retrieve(e, t) {
|
|
5242
5242
|
return this.retrieveRaw(e, t);
|
|
5243
5243
|
}
|
|
5244
|
-
}, Ua =
|
|
5244
|
+
}, Ua = class extends rt {
|
|
5245
|
+
documentationUrl;
|
|
5246
|
+
status;
|
|
5247
|
+
title;
|
|
5248
|
+
type;
|
|
5249
|
+
constructor(e) {
|
|
5250
|
+
super(e.response, e.body?.message ?? `Request failed with status ${e.status}`), this.status = e.status, this.type = e.body?.type, this.title = e.body?.title, this.documentationUrl = e.body?.documentationUrl;
|
|
5251
|
+
}
|
|
5252
|
+
}, Ga = class {
|
|
5253
|
+
async post(e) {
|
|
5254
|
+
const { response: t } = e;
|
|
5255
|
+
if (t.ok) return;
|
|
5256
|
+
let i;
|
|
5257
|
+
try {
|
|
5258
|
+
i = await t.clone().json();
|
|
5259
|
+
} catch {
|
|
5260
|
+
i = void 0;
|
|
5261
|
+
}
|
|
5262
|
+
throw new Ua({
|
|
5263
|
+
body: i,
|
|
5264
|
+
response: t,
|
|
5265
|
+
status: t.status
|
|
5266
|
+
});
|
|
5267
|
+
}
|
|
5268
|
+
}, $a = (e) => ({
|
|
5245
5269
|
bookingPolicies: new Na(e),
|
|
5246
5270
|
bookings: new ba(e),
|
|
5247
5271
|
hotelImages: new Ia(e),
|
|
@@ -5254,7 +5278,7 @@ var Na = class extends Q {
|
|
|
5254
5278
|
hotelRoomOffers: new xa(e),
|
|
5255
5279
|
hotels: new Fa(e)
|
|
5256
5280
|
});
|
|
5257
|
-
function
|
|
5281
|
+
function qa(e) {
|
|
5258
5282
|
switch (e) {
|
|
5259
5283
|
case ce.CiCd:
|
|
5260
5284
|
return "AUTH_TOKEN_CICD";
|
|
@@ -5271,29 +5295,29 @@ function Ga(e) {
|
|
|
5271
5295
|
return "AUTH_TOKEN";
|
|
5272
5296
|
}
|
|
5273
5297
|
}
|
|
5274
|
-
function
|
|
5275
|
-
return !!(typeof document < "u" && document?.cookie && document.cookie.split(";").find((t) => t.includes(
|
|
5298
|
+
function Ht(e) {
|
|
5299
|
+
return !!(typeof document < "u" && document?.cookie && document.cookie.split(";").find((t) => t.includes(qa(e))));
|
|
5276
5300
|
}
|
|
5277
|
-
var
|
|
5301
|
+
var Ya = class {
|
|
5278
5302
|
config;
|
|
5279
5303
|
constructor(e) {
|
|
5280
5304
|
this.config = e;
|
|
5281
5305
|
}
|
|
5282
5306
|
async pre(e) {
|
|
5283
|
-
return e.init.mode = "cors",
|
|
5307
|
+
return e.init.mode = "cors", Ht(this.config.apiEnvironment) && (e.init.credentials = "include"), e;
|
|
5284
5308
|
}
|
|
5285
|
-
},
|
|
5309
|
+
}, Ka = class {
|
|
5286
5310
|
config;
|
|
5287
5311
|
constructor(e) {
|
|
5288
5312
|
this.config = e;
|
|
5289
5313
|
}
|
|
5290
5314
|
async pre(e) {
|
|
5291
|
-
return
|
|
5315
|
+
return Ht(this.config.apiEnvironment) && (e.init.headers = {
|
|
5292
5316
|
...e.init.headers,
|
|
5293
5317
|
"x-auth-type": "user"
|
|
5294
5318
|
}), e;
|
|
5295
5319
|
}
|
|
5296
|
-
},
|
|
5320
|
+
}, Bu = class {
|
|
5297
5321
|
config;
|
|
5298
5322
|
apiVersionsToClient;
|
|
5299
5323
|
constructor(e) {
|
|
@@ -5304,15 +5328,19 @@ var $a = class {
|
|
|
5304
5328
|
...this.config.optionalHeaders
|
|
5305
5329
|
});
|
|
5306
5330
|
const i = this.config.apiEnvironment;
|
|
5307
|
-
let n = this.config.apiBaseUrl ??
|
|
5331
|
+
let n = this.config.apiBaseUrl ?? Yt[i];
|
|
5308
5332
|
i === ce.Local && (n = "http://127.0.0.1:3001");
|
|
5309
|
-
const r = new
|
|
5333
|
+
const r = new ot({
|
|
5310
5334
|
basePath: n,
|
|
5311
|
-
fetchApi:
|
|
5335
|
+
fetchApi: zt.default,
|
|
5312
5336
|
headers: t,
|
|
5313
|
-
middleware: [
|
|
5337
|
+
middleware: [
|
|
5338
|
+
new Ya(this.config),
|
|
5339
|
+
new Ka(this.config),
|
|
5340
|
+
new Ga()
|
|
5341
|
+
]
|
|
5314
5342
|
});
|
|
5315
|
-
this.apiVersionsToClient = { v1:
|
|
5343
|
+
this.apiVersionsToClient = { v1: $a(r) };
|
|
5316
5344
|
}
|
|
5317
5345
|
get bookingPolicies() {
|
|
5318
5346
|
return this.apiVersionsToClient[this.config.apiVersion].bookingPolicies;
|
|
@@ -5352,51 +5380,52 @@ export {
|
|
|
5352
5380
|
nn as AllowedPaymentMethodApiFromJSON,
|
|
5353
5381
|
rn as AllowedPaymentMethodApiFromJSONTyped,
|
|
5354
5382
|
on as AllowedPaymentMethodApiToJSON,
|
|
5355
|
-
|
|
5356
|
-
|
|
5357
|
-
|
|
5358
|
-
|
|
5383
|
+
ys as AllowedPaymentMethodApiToJSONTyped,
|
|
5384
|
+
rs as AllowedPaymentMethodCouponApiFromJSON,
|
|
5385
|
+
ct as AllowedPaymentMethodCouponApiFromJSONTyped,
|
|
5386
|
+
is as AllowedPaymentMethodCouponApiNameEnum,
|
|
5359
5387
|
qi as AllowedPaymentMethodCouponApiToJSON,
|
|
5360
5388
|
Yi as AllowedPaymentMethodCouponApiToJSONTyped,
|
|
5361
|
-
|
|
5362
|
-
|
|
5363
|
-
|
|
5389
|
+
ss as AllowedPaymentMethodCreditCardApiFromJSON,
|
|
5390
|
+
ut as AllowedPaymentMethodCreditCardApiFromJSONTyped,
|
|
5391
|
+
os as AllowedPaymentMethodCreditCardApiNameEnum,
|
|
5364
5392
|
Ki as AllowedPaymentMethodCreditCardApiToJSON,
|
|
5365
5393
|
zi as AllowedPaymentMethodCreditCardApiToJSONTyped,
|
|
5366
|
-
|
|
5367
|
-
|
|
5368
|
-
|
|
5394
|
+
ds as AllowedPaymentMethodDepositAccountApiFromJSON,
|
|
5395
|
+
dt as AllowedPaymentMethodDepositAccountApiFromJSONTyped,
|
|
5396
|
+
cs as AllowedPaymentMethodDepositAccountApiNameEnum,
|
|
5369
5397
|
Vi as AllowedPaymentMethodDepositAccountApiToJSON,
|
|
5370
5398
|
Zi as AllowedPaymentMethodDepositAccountApiToJSONTyped,
|
|
5371
|
-
|
|
5372
|
-
|
|
5373
|
-
|
|
5399
|
+
hs as AllowedPaymentMethodPayLaterApiFromJSON,
|
|
5400
|
+
ft as AllowedPaymentMethodPayLaterApiFromJSONTyped,
|
|
5401
|
+
ms as AllowedPaymentMethodPayLaterApiNameEnum,
|
|
5374
5402
|
Wi as AllowedPaymentMethodPayLaterApiPayloadFromJSON,
|
|
5375
5403
|
Xi as AllowedPaymentMethodPayLaterApiPayloadFromJSONTyped,
|
|
5376
|
-
|
|
5404
|
+
fs as AllowedPaymentMethodPayLaterApiPayloadStatusEnum,
|
|
5377
5405
|
Qi as AllowedPaymentMethodPayLaterApiPayloadToJSON,
|
|
5378
5406
|
ji as AllowedPaymentMethodPayLaterApiPayloadToJSONTyped,
|
|
5379
5407
|
en as AllowedPaymentMethodPayLaterApiToJSON,
|
|
5380
5408
|
tn as AllowedPaymentMethodPayLaterApiToJSONTyped,
|
|
5381
|
-
|
|
5409
|
+
lt as AmenitiesApiFromJSON,
|
|
5382
5410
|
an as AmenitiesApiFromJSONTyped,
|
|
5383
|
-
|
|
5411
|
+
mt as AmenitiesApiToJSON,
|
|
5384
5412
|
sn as AmenitiesApiToJSONTyped,
|
|
5385
|
-
|
|
5386
|
-
|
|
5413
|
+
Bu as ApiClient,
|
|
5414
|
+
Ua as ApiError,
|
|
5415
|
+
Gi as BASE_PATH,
|
|
5387
5416
|
Q as BaseAPI,
|
|
5388
|
-
|
|
5417
|
+
Os as BedApiFromJSON,
|
|
5389
5418
|
cn as BedApiFromJSONTyped,
|
|
5390
|
-
|
|
5419
|
+
As as BedApiToJSON,
|
|
5391
5420
|
un as BedApiToJSONTyped,
|
|
5392
|
-
|
|
5421
|
+
ts as BlobApiResponse,
|
|
5393
5422
|
ee as BookingApiFromJSON,
|
|
5394
5423
|
Nr as BookingApiFromJSONTyped,
|
|
5395
|
-
|
|
5396
|
-
|
|
5424
|
+
kc as BookingApiPayLaterEnum,
|
|
5425
|
+
Rc as BookingApiStatusEnum,
|
|
5397
5426
|
br as BookingApiToJSON,
|
|
5398
5427
|
Ir as BookingApiToJSONTyped,
|
|
5399
|
-
|
|
5428
|
+
vc as BookingCreateApiFromJSON,
|
|
5400
5429
|
jr as BookingCreateApiFromJSONTyped,
|
|
5401
5430
|
Ur as BookingCreateApiGuestsListInnerFromJSON,
|
|
5402
5431
|
Gr as BookingCreateApiGuestsListInnerFromJSONTyped,
|
|
@@ -5411,34 +5440,34 @@ export {
|
|
|
5411
5440
|
Na as BookingPolicies,
|
|
5412
5441
|
Ke as BookingPoliciesApiFromJSON,
|
|
5413
5442
|
io as BookingPoliciesApiFromJSONTyped,
|
|
5414
|
-
|
|
5443
|
+
Hc as BookingPoliciesApiToJSON,
|
|
5415
5444
|
no as BookingPoliciesApiToJSONTyped,
|
|
5416
|
-
|
|
5445
|
+
Fc as BookingPoliciesCreateApiFromJSON,
|
|
5417
5446
|
ro as BookingPoliciesCreateApiFromJSONTyped,
|
|
5418
5447
|
oo as BookingPoliciesCreateApiToJSON,
|
|
5419
5448
|
ao as BookingPoliciesCreateApiToJSONTyped,
|
|
5420
5449
|
ba as Bookings,
|
|
5421
5450
|
lo as BookingsApiResponseFromJSON,
|
|
5422
5451
|
mo as BookingsApiResponseFromJSONTyped,
|
|
5423
|
-
|
|
5452
|
+
$c as BookingsApiResponseToJSON,
|
|
5424
5453
|
po as BookingsApiResponseToJSONTyped,
|
|
5425
|
-
|
|
5426
|
-
|
|
5454
|
+
Eu as BookingsSortByEnum,
|
|
5455
|
+
Lu as BookingsSortByOrderEnum,
|
|
5427
5456
|
De as BreakfastOption,
|
|
5428
5457
|
On as BreakfastOptionFromJSON,
|
|
5429
5458
|
An as BreakfastOptionFromJSONTyped,
|
|
5430
|
-
|
|
5431
|
-
|
|
5432
|
-
|
|
5459
|
+
Ms as BreakfastOptionToJSON,
|
|
5460
|
+
Ps as BreakfastOptionToJSONTyped,
|
|
5461
|
+
Xa as COLLECTION_FORMATS,
|
|
5433
5462
|
Be as CancellationPolicyApiFromJSON,
|
|
5434
5463
|
dn as CancellationPolicyApiFromJSONTyped,
|
|
5435
5464
|
He as CancellationPolicyApiToJSON,
|
|
5436
5465
|
fn as CancellationPolicyApiToJSONTyped,
|
|
5437
|
-
|
|
5438
|
-
|
|
5466
|
+
ot as Configuration,
|
|
5467
|
+
_t as ContactPersonApiFromJSON,
|
|
5439
5468
|
Ln as ContactPersonApiFromJSONTyped,
|
|
5440
|
-
|
|
5441
|
-
|
|
5469
|
+
Vs as ContactPersonApiSalutationEnum,
|
|
5470
|
+
Ot as ContactPersonApiToJSON,
|
|
5442
5471
|
Jn as ContactPersonApiToJSONTyped,
|
|
5443
5472
|
Nn as ContactPersonOrganizationApiFromJSON,
|
|
5444
5473
|
bn as ContactPersonOrganizationApiFromJSONTyped,
|
|
@@ -5447,18 +5476,18 @@ export {
|
|
|
5447
5476
|
Ne as CountryIso2Code,
|
|
5448
5477
|
Ie as CountryIso2CodeFromJSON,
|
|
5449
5478
|
Pn as CountryIso2CodeFromJSONTyped,
|
|
5450
|
-
|
|
5451
|
-
|
|
5479
|
+
Ys as CountryIso2CodeToJSON,
|
|
5480
|
+
Ks as CountryIso2CodeToJSONTyped,
|
|
5452
5481
|
Me as CurrencyClient,
|
|
5453
5482
|
ne as CurrencyClientFromJSON,
|
|
5454
5483
|
wn as CurrencyClientFromJSONTyped,
|
|
5455
|
-
|
|
5456
|
-
|
|
5457
|
-
|
|
5484
|
+
Ls as CurrencyClientToJSON,
|
|
5485
|
+
Js as CurrencyClientToJSONTyped,
|
|
5486
|
+
Kc as ErrorApiResponseFromJSON,
|
|
5458
5487
|
ho as ErrorApiResponseFromJSONTyped,
|
|
5459
|
-
|
|
5488
|
+
zc as ErrorApiResponseToJSON,
|
|
5460
5489
|
yo as ErrorApiResponseToJSONTyped,
|
|
5461
|
-
|
|
5490
|
+
qc as ErrorApiResponseTypeEnum,
|
|
5462
5491
|
Fe as EventApiFromJSON,
|
|
5463
5492
|
_r as EventApiFromJSONTyped,
|
|
5464
5493
|
Ue as EventApiToJSON,
|
|
@@ -5469,11 +5498,11 @@ export {
|
|
|
5469
5498
|
Kr as EventMetadataApiToJSONTyped,
|
|
5470
5499
|
Do as HotelApiFromJSON,
|
|
5471
5500
|
Mo as HotelApiFromJSONTyped,
|
|
5472
|
-
|
|
5501
|
+
It as HotelApiImagesFromJSON,
|
|
5473
5502
|
Oo as HotelApiImagesFromJSONTyped,
|
|
5474
|
-
|
|
5503
|
+
Et as HotelApiImagesToJSON,
|
|
5475
5504
|
Ao as HotelApiImagesToJSONTyped,
|
|
5476
|
-
|
|
5505
|
+
jc as HotelApiToJSON,
|
|
5477
5506
|
Po as HotelApiToJSONTyped,
|
|
5478
5507
|
de as HotelImageApiFromJSON,
|
|
5479
5508
|
mn as HotelImageApiFromJSONTyped,
|
|
@@ -5486,9 +5515,9 @@ export {
|
|
|
5486
5515
|
Eo as HotelOfferApiToJSONTyped,
|
|
5487
5516
|
ze as HotelOfferRequestApiResponseFromJSON,
|
|
5488
5517
|
Lo as HotelOfferRequestApiResponseFromJSONTyped,
|
|
5489
|
-
|
|
5518
|
+
iu as HotelOfferRequestApiResponseToJSON,
|
|
5490
5519
|
Jo as HotelOfferRequestApiResponseToJSONTyped,
|
|
5491
|
-
|
|
5520
|
+
ru as HotelOfferRequestCreateApiFromJSON,
|
|
5492
5521
|
vo as HotelOfferRequestCreateApiFromJSONTyped,
|
|
5493
5522
|
Bo as HotelOfferRequestCreateApiToJSON,
|
|
5494
5523
|
Ho as HotelOfferRequestCreateApiToJSONTyped,
|
|
@@ -5496,17 +5525,17 @@ export {
|
|
|
5496
5525
|
La as HotelOffers,
|
|
5497
5526
|
zo as HotelOffersApiResponseFromJSON,
|
|
5498
5527
|
Vo as HotelOffersApiResponseFromJSONTyped,
|
|
5499
|
-
|
|
5528
|
+
fu as HotelOffersApiResponseToJSON,
|
|
5500
5529
|
Zo as HotelOffersApiResponseToJSONTyped,
|
|
5501
5530
|
xo as HotelOffersDataApiResponseFromJSON,
|
|
5502
5531
|
Fo as HotelOffersDataApiResponseFromJSONTyped,
|
|
5503
5532
|
Uo as HotelOffersDataApiResponseToJSON,
|
|
5504
5533
|
Go as HotelOffersDataApiResponseToJSONTyped,
|
|
5505
|
-
|
|
5506
|
-
|
|
5507
|
-
|
|
5534
|
+
Ju as HotelOffersSortByEnum,
|
|
5535
|
+
vu as HotelOffersSortByOrderEnum,
|
|
5536
|
+
Nt as HotelReviewRatingApiFromJSON,
|
|
5508
5537
|
go as HotelReviewRatingApiFromJSONTyped,
|
|
5509
|
-
|
|
5538
|
+
bt as HotelReviewRatingApiToJSON,
|
|
5510
5539
|
_o as HotelReviewRatingApiToJSONTyped,
|
|
5511
5540
|
fe as HotelRoomOfferApiFromJSON,
|
|
5512
5541
|
Cn as HotelRoomOfferApiFromJSONTyped,
|
|
@@ -5514,21 +5543,21 @@ export {
|
|
|
5514
5543
|
yn as HotelRoomOfferApiHotelRoomsInnerFromJSONTyped,
|
|
5515
5544
|
gn as HotelRoomOfferApiHotelRoomsInnerToJSON,
|
|
5516
5545
|
_n as HotelRoomOfferApiHotelRoomsInnerToJSONTyped,
|
|
5517
|
-
|
|
5546
|
+
Bs as HotelRoomOfferApiPackageTypeEnum,
|
|
5518
5547
|
Wo as HotelRoomOfferApiResponseFromJSON,
|
|
5519
5548
|
Xo as HotelRoomOfferApiResponseFromJSONTyped,
|
|
5520
|
-
|
|
5549
|
+
mu as HotelRoomOfferApiResponseToJSON,
|
|
5521
5550
|
Qo as HotelRoomOfferApiResponseToJSONTyped,
|
|
5522
|
-
|
|
5551
|
+
Hs as HotelRoomOfferApiStayTaxesInfoEnum,
|
|
5523
5552
|
le as HotelRoomOfferApiToJSON,
|
|
5524
5553
|
Dn as HotelRoomOfferApiToJSONTyped,
|
|
5525
|
-
|
|
5554
|
+
xs as HotelRoomOfferApiTypeEnum,
|
|
5526
5555
|
Ba as HotelRoomOfferImages,
|
|
5527
5556
|
Ve as HotelRoomOfferRequestApiResponseFromJSON,
|
|
5528
5557
|
jo as HotelRoomOfferRequestApiResponseFromJSONTyped,
|
|
5529
|
-
|
|
5558
|
+
hu as HotelRoomOfferRequestApiResponseToJSON,
|
|
5530
5559
|
ea as HotelRoomOfferRequestApiResponseToJSONTyped,
|
|
5531
|
-
|
|
5560
|
+
gu as HotelRoomOfferRequestCreateApiFromJSON,
|
|
5532
5561
|
ta as HotelRoomOfferRequestCreateApiFromJSONTyped,
|
|
5533
5562
|
ia as HotelRoomOfferRequestCreateApiToJSON,
|
|
5534
5563
|
na as HotelRoomOfferRequestCreateApiToJSONTyped,
|
|
@@ -5536,9 +5565,9 @@ export {
|
|
|
5536
5565
|
xa as HotelRoomOffers,
|
|
5537
5566
|
ca as HotelRoomOffersApiResponseFromJSON,
|
|
5538
5567
|
ua as HotelRoomOffersApiResponseFromJSONTyped,
|
|
5539
|
-
|
|
5568
|
+
Au as HotelRoomOffersApiResponseToJSON,
|
|
5540
5569
|
da as HotelRoomOffersApiResponseToJSONTyped,
|
|
5541
|
-
|
|
5570
|
+
wu as HotelRoomOffersCreateApiFromJSON,
|
|
5542
5571
|
ha as HotelRoomOffersCreateApiFromJSONTyped,
|
|
5543
5572
|
ya as HotelRoomOffersCreateApiToJSON,
|
|
5544
5573
|
ga as HotelRoomOffersCreateApiToJSONTyped,
|
|
@@ -5550,7 +5579,7 @@ export {
|
|
|
5550
5579
|
la as HotelRoomOffersDataCreateApiFromJSONTyped,
|
|
5551
5580
|
ma as HotelRoomOffersDataCreateApiToJSON,
|
|
5552
5581
|
pa as HotelRoomOffersDataCreateApiToJSONTyped,
|
|
5553
|
-
|
|
5582
|
+
Dt as HotelRoomingListApiFromJSON,
|
|
5554
5583
|
Dr as HotelRoomingListApiFromJSONTyped,
|
|
5555
5584
|
Ar as HotelRoomingListApiHotelRoomFromJSON,
|
|
5556
5585
|
Tr as HotelRoomingListApiHotelRoomFromJSONTyped,
|
|
@@ -5563,11 +5592,11 @@ export {
|
|
|
5563
5592
|
Rr as HotelRoomingListGuestApiToJSON,
|
|
5564
5593
|
Cr as HotelRoomingListGuestApiToJSONTyped,
|
|
5565
5594
|
Ja as HotelRoomingListGuests,
|
|
5566
|
-
|
|
5595
|
+
Ru as HotelRoomingListGuestsCreateApiFromJSON,
|
|
5567
5596
|
_a as HotelRoomingListGuestsCreateApiFromJSONTyped,
|
|
5568
5597
|
Oa as HotelRoomingListGuestsCreateApiToJSON,
|
|
5569
5598
|
Aa as HotelRoomingListGuestsCreateApiToJSONTyped,
|
|
5570
|
-
|
|
5599
|
+
Du as HotelRoomingListGuestsUpdateApiFromJSON,
|
|
5571
5600
|
Ta as HotelRoomingListGuestsUpdateApiFromJSONTyped,
|
|
5572
5601
|
Sa as HotelRoomingListGuestsUpdateApiToJSON,
|
|
5573
5602
|
wa as HotelRoomingListGuestsUpdateApiToJSONTyped,
|
|
@@ -5575,202 +5604,202 @@ export {
|
|
|
5575
5604
|
Fa as Hotels,
|
|
5576
5605
|
cr as InsuranceApiFromJSON,
|
|
5577
5606
|
ur as InsuranceApiFromJSONTyped,
|
|
5578
|
-
|
|
5607
|
+
pc as InsuranceApiStatusEnum,
|
|
5579
5608
|
dr as InsuranceApiToJSON,
|
|
5580
5609
|
fr as InsuranceApiToJSONTyped,
|
|
5581
5610
|
lr as InvoiceApiFromJSON,
|
|
5582
5611
|
mr as InvoiceApiFromJSONTyped,
|
|
5583
5612
|
pr as InvoiceApiToJSON,
|
|
5584
5613
|
hr as InvoiceApiToJSONTyped,
|
|
5585
|
-
|
|
5614
|
+
yc as InvoiceApiTypeEnum,
|
|
5586
5615
|
$ as JSONApiResponse,
|
|
5587
5616
|
Pe as Locale,
|
|
5588
5617
|
xe as LocaleFromJSON,
|
|
5589
5618
|
Mn as LocaleFromJSONTyped,
|
|
5590
|
-
|
|
5591
|
-
|
|
5592
|
-
|
|
5619
|
+
Gs as LocaleToJSON,
|
|
5620
|
+
$s as LocaleToJSONTyped,
|
|
5621
|
+
vt as MetaPollingResponseApiFromJSON,
|
|
5593
5622
|
Yo as MetaPollingResponseApiFromJSONTyped,
|
|
5594
|
-
|
|
5623
|
+
Bt as MetaPollingResponseApiToJSON,
|
|
5595
5624
|
Ko as MetaPollingResponseApiToJSONTyped,
|
|
5596
5625
|
so as MetaResponseApiFromJSON,
|
|
5597
5626
|
co as MetaResponseApiFromJSONTyped,
|
|
5598
5627
|
uo as MetaResponseApiToJSON,
|
|
5599
5628
|
fo as MetaResponseApiToJSONTyped,
|
|
5600
|
-
|
|
5629
|
+
Rt as OrderAddonFromJSON,
|
|
5601
5630
|
yr as OrderAddonFromJSONTyped,
|
|
5602
5631
|
Er as OrderAddonSelectionFromJSON,
|
|
5603
5632
|
Lr as OrderAddonSelectionFromJSONTyped,
|
|
5604
5633
|
Jr as OrderAddonSelectionToJSON,
|
|
5605
5634
|
vr as OrderAddonSelectionToJSONTyped,
|
|
5606
|
-
|
|
5607
|
-
|
|
5635
|
+
Dc as OrderAddonSelectionTypeEnum,
|
|
5636
|
+
Ct as OrderAddonToJSON,
|
|
5608
5637
|
gr as OrderAddonToJSONTyped,
|
|
5609
|
-
|
|
5638
|
+
_c as OrderAddonTypeEnum,
|
|
5610
5639
|
ar as PaymentMethodApiFromJSON,
|
|
5611
5640
|
sr as PaymentMethodApiFromJSONTyped,
|
|
5612
|
-
|
|
5613
|
-
|
|
5614
|
-
|
|
5615
|
-
|
|
5616
|
-
|
|
5641
|
+
kt as PaymentMethodApiToJSON,
|
|
5642
|
+
mc as PaymentMethodApiToJSONTyped,
|
|
5643
|
+
js as PaymentMethodCouponApiFromJSON,
|
|
5644
|
+
At as PaymentMethodCouponApiFromJSONTyped,
|
|
5645
|
+
Xs as PaymentMethodCouponApiNameEnum,
|
|
5617
5646
|
vn as PaymentMethodCouponApiPayloadFromJSON,
|
|
5618
5647
|
Bn as PaymentMethodCouponApiPayloadFromJSONTyped,
|
|
5619
5648
|
Hn as PaymentMethodCouponApiPayloadToJSON,
|
|
5620
5649
|
xn as PaymentMethodCouponApiPayloadToJSONTyped,
|
|
5621
5650
|
Fn as PaymentMethodCouponApiToJSON,
|
|
5622
5651
|
Un as PaymentMethodCouponApiToJSONTyped,
|
|
5623
|
-
|
|
5624
|
-
|
|
5625
|
-
|
|
5652
|
+
nc as PaymentMethodCreditCardApiFromJSON,
|
|
5653
|
+
Tt as PaymentMethodCreditCardApiFromJSONTyped,
|
|
5654
|
+
tc as PaymentMethodCreditCardApiNameEnum,
|
|
5626
5655
|
Gn as PaymentMethodCreditCardApiPayloadFromJSON,
|
|
5627
5656
|
$n as PaymentMethodCreditCardApiPayloadFromJSONTyped,
|
|
5628
5657
|
qn as PaymentMethodCreditCardApiPayloadToJSON,
|
|
5629
5658
|
Yn as PaymentMethodCreditCardApiPayloadToJSONTyped,
|
|
5630
5659
|
Kn as PaymentMethodCreditCardApiToJSON,
|
|
5631
5660
|
zn as PaymentMethodCreditCardApiToJSONTyped,
|
|
5632
|
-
|
|
5633
|
-
|
|
5634
|
-
|
|
5661
|
+
sc as PaymentMethodDepositAccountApiFromJSON,
|
|
5662
|
+
St as PaymentMethodDepositAccountApiFromJSONTyped,
|
|
5663
|
+
oc as PaymentMethodDepositAccountApiNameEnum,
|
|
5635
5664
|
Vn as PaymentMethodDepositAccountApiPayloadFromJSON,
|
|
5636
5665
|
Zn as PaymentMethodDepositAccountApiPayloadFromJSONTyped,
|
|
5637
5666
|
Wn as PaymentMethodDepositAccountApiPayloadToJSON,
|
|
5638
5667
|
Xn as PaymentMethodDepositAccountApiPayloadToJSONTyped,
|
|
5639
5668
|
Qn as PaymentMethodDepositAccountApiToJSON,
|
|
5640
5669
|
jn as PaymentMethodDepositAccountApiToJSONTyped,
|
|
5641
|
-
|
|
5642
|
-
|
|
5643
|
-
|
|
5670
|
+
lc as PaymentMethodPayLaterApiFromJSON,
|
|
5671
|
+
wt as PaymentMethodPayLaterApiFromJSONTyped,
|
|
5672
|
+
dc as PaymentMethodPayLaterApiNameEnum,
|
|
5644
5673
|
er as PaymentMethodPayLaterApiPayloadFromJSON,
|
|
5645
5674
|
tr as PaymentMethodPayLaterApiPayloadFromJSONTyped,
|
|
5646
|
-
|
|
5675
|
+
cc as PaymentMethodPayLaterApiPayloadStatusEnum,
|
|
5647
5676
|
ir as PaymentMethodPayLaterApiPayloadToJSON,
|
|
5648
5677
|
nr as PaymentMethodPayLaterApiPayloadToJSONTyped,
|
|
5649
5678
|
rr as PaymentMethodPayLaterApiToJSON,
|
|
5650
5679
|
or as PaymentMethodPayLaterApiToJSONTyped,
|
|
5651
|
-
|
|
5680
|
+
Mt as PaymentMethodRequestApiFromJSON,
|
|
5652
5681
|
Xr as PaymentMethodRequestApiFromJSONTyped,
|
|
5653
|
-
|
|
5654
|
-
|
|
5682
|
+
Ec as PaymentMethodRequestApiNameEnum,
|
|
5683
|
+
Pt as PaymentMethodRequestApiToJSON,
|
|
5655
5684
|
Qr as PaymentMethodRequestApiToJSONTyped,
|
|
5656
5685
|
zr as PaymentMethodRequestPayloadApiFromJSON,
|
|
5657
5686
|
Vr as PaymentMethodRequestPayloadApiFromJSONTyped,
|
|
5658
5687
|
Zr as PaymentMethodRequestPayloadApiToJSON,
|
|
5659
5688
|
Wr as PaymentMethodRequestPayloadApiToJSONTyped,
|
|
5660
|
-
|
|
5689
|
+
Pu as PaymentMethodUpdatePayloadApiFromJSON,
|
|
5661
5690
|
ka as PaymentMethodUpdatePayloadApiFromJSONTyped,
|
|
5662
5691
|
Ra as PaymentMethodUpdatePayloadApiToJSON,
|
|
5663
5692
|
Ca as PaymentMethodUpdatePayloadApiToJSONTyped,
|
|
5664
5693
|
be as PollerStatus,
|
|
5665
5694
|
$o as PollerStatusFromJSON,
|
|
5666
5695
|
qo as PollerStatusFromJSONTyped,
|
|
5667
|
-
|
|
5668
|
-
|
|
5669
|
-
|
|
5696
|
+
su as PollerStatusToJSON,
|
|
5697
|
+
cu as PollerStatusToJSONTyped,
|
|
5698
|
+
Iu as RequestPayloadFromJSON,
|
|
5670
5699
|
Da as RequestPayloadFromJSONTyped,
|
|
5671
|
-
|
|
5700
|
+
Nu as RequestPayloadRequestTypeEnum,
|
|
5672
5701
|
Ma as RequestPayloadToJSON,
|
|
5673
5702
|
Pa as RequestPayloadToJSONTyped,
|
|
5674
5703
|
U as RequiredError,
|
|
5675
|
-
|
|
5704
|
+
rt as ResponseError,
|
|
5676
5705
|
Ce as SourceMarket,
|
|
5677
5706
|
Ae as SourceMarketFromJSON,
|
|
5678
5707
|
ln as SourceMarketFromJSONTyped,
|
|
5679
|
-
|
|
5680
|
-
|
|
5681
|
-
|
|
5708
|
+
ws as SourceMarketToJSON,
|
|
5709
|
+
ks as SourceMarketToJSONTyped,
|
|
5710
|
+
yt as TagApiFromJSON,
|
|
5682
5711
|
kn as TagApiFromJSONTyped,
|
|
5683
|
-
|
|
5712
|
+
gt as TagApiToJSON,
|
|
5684
5713
|
Rn as TagApiToJSONTyped,
|
|
5685
|
-
|
|
5714
|
+
pt as TaxApiFromJSON,
|
|
5686
5715
|
Tn as TaxApiFromJSONTyped,
|
|
5687
|
-
|
|
5688
|
-
|
|
5689
|
-
|
|
5716
|
+
Ns as TaxApiTaxFrequencyEnum,
|
|
5717
|
+
bs as TaxApiTaxModeEnum,
|
|
5718
|
+
ht as TaxApiToJSON,
|
|
5690
5719
|
Sn as TaxApiToJSONTyped,
|
|
5691
|
-
|
|
5692
|
-
|
|
5720
|
+
st as TextApiResponse,
|
|
5721
|
+
Lt as TravelTimesApiFromJSON,
|
|
5693
5722
|
Ro as TravelTimesApiFromJSONTyped,
|
|
5694
|
-
|
|
5723
|
+
Jt as TravelTimesApiToJSON,
|
|
5695
5724
|
Co as TravelTimesApiToJSONTyped,
|
|
5696
5725
|
To as TravelTimesApiTravelTimesFromJSON,
|
|
5697
5726
|
So as TravelTimesApiTravelTimesFromJSONTyped,
|
|
5698
5727
|
wo as TravelTimesApiTravelTimesToJSON,
|
|
5699
5728
|
ko as TravelTimesApiTravelTimesToJSONTyped,
|
|
5700
|
-
|
|
5701
|
-
|
|
5702
|
-
|
|
5703
|
-
|
|
5704
|
-
|
|
5705
|
-
|
|
5706
|
-
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
|
|
5710
|
-
|
|
5711
|
-
|
|
5712
|
-
|
|
5713
|
-
|
|
5714
|
-
|
|
5715
|
-
|
|
5716
|
-
|
|
5717
|
-
|
|
5718
|
-
|
|
5719
|
-
|
|
5720
|
-
|
|
5721
|
-
|
|
5722
|
-
|
|
5723
|
-
|
|
5724
|
-
|
|
5725
|
-
|
|
5726
|
-
|
|
5727
|
-
|
|
5728
|
-
|
|
5729
|
-
|
|
5730
|
-
|
|
5731
|
-
|
|
5732
|
-
|
|
5733
|
-
|
|
5734
|
-
|
|
5735
|
-
|
|
5736
|
-
|
|
5737
|
-
|
|
5738
|
-
|
|
5739
|
-
|
|
5740
|
-
|
|
5741
|
-
|
|
5742
|
-
|
|
5743
|
-
|
|
5744
|
-
|
|
5745
|
-
|
|
5746
|
-
|
|
5747
|
-
|
|
5748
|
-
|
|
5749
|
-
|
|
5750
|
-
|
|
5751
|
-
|
|
5752
|
-
|
|
5753
|
-
|
|
5754
|
-
|
|
5755
|
-
|
|
5756
|
-
|
|
5757
|
-
|
|
5758
|
-
|
|
5759
|
-
|
|
5760
|
-
|
|
5761
|
-
|
|
5762
|
-
|
|
5763
|
-
|
|
5764
|
-
|
|
5765
|
-
|
|
5766
|
-
|
|
5767
|
-
|
|
5768
|
-
|
|
5769
|
-
|
|
5770
|
-
|
|
5771
|
-
|
|
5772
|
-
|
|
5773
|
-
|
|
5774
|
-
|
|
5775
|
-
|
|
5729
|
+
es as VoidApiResponse,
|
|
5730
|
+
ja as canConsumeForm,
|
|
5731
|
+
Qa as exists,
|
|
5732
|
+
ns as instanceOfAllowedPaymentMethodCouponApi,
|
|
5733
|
+
as as instanceOfAllowedPaymentMethodCreditCardApi,
|
|
5734
|
+
us as instanceOfAllowedPaymentMethodDepositAccountApi,
|
|
5735
|
+
ps as instanceOfAllowedPaymentMethodPayLaterApi,
|
|
5736
|
+
ls as instanceOfAllowedPaymentMethodPayLaterApiPayload,
|
|
5737
|
+
gs as instanceOfAmenitiesApi,
|
|
5738
|
+
_s as instanceOfBedApi,
|
|
5739
|
+
Cc as instanceOfBookingApi,
|
|
5740
|
+
Jc as instanceOfBookingCreateApi,
|
|
5741
|
+
Nc as instanceOfBookingCreateApiGuestsListInner,
|
|
5742
|
+
Pc as instanceOfBookingCreateApiGuestsListInnerGuestsInner,
|
|
5743
|
+
Bc as instanceOfBookingPoliciesApi,
|
|
5744
|
+
xc as instanceOfBookingPoliciesCreateApi,
|
|
5745
|
+
Gc as instanceOfBookingsApiResponse,
|
|
5746
|
+
Ds as instanceOfBreakfastOption,
|
|
5747
|
+
Ts as instanceOfCancellationPolicyApi,
|
|
5748
|
+
Zs as instanceOfContactPersonApi,
|
|
5749
|
+
zs as instanceOfContactPersonOrganizationApi,
|
|
5750
|
+
qs as instanceOfCountryIso2Code,
|
|
5751
|
+
Es as instanceOfCurrencyClient,
|
|
5752
|
+
Yc as instanceOfErrorApiResponse,
|
|
5753
|
+
Ac as instanceOfEventApi,
|
|
5754
|
+
bc as instanceOfEventMetadataApi,
|
|
5755
|
+
Qc as instanceOfHotelApi,
|
|
5756
|
+
Zc as instanceOfHotelApiImages,
|
|
5757
|
+
Rs as instanceOfHotelImageApi,
|
|
5758
|
+
eu as instanceOfHotelOfferApi,
|
|
5759
|
+
tu as instanceOfHotelOfferRequestApiResponse,
|
|
5760
|
+
nu as instanceOfHotelOfferRequestCreateApi,
|
|
5761
|
+
du as instanceOfHotelOffersApiResponse,
|
|
5762
|
+
ou as instanceOfHotelOffersDataApiResponse,
|
|
5763
|
+
Vc as instanceOfHotelReviewRatingApi,
|
|
5764
|
+
Fs as instanceOfHotelRoomOfferApi,
|
|
5765
|
+
Cs as instanceOfHotelRoomOfferApiHotelRoomsInner,
|
|
5766
|
+
lu as instanceOfHotelRoomOfferApiResponse,
|
|
5767
|
+
pu as instanceOfHotelRoomOfferRequestApiResponse,
|
|
5768
|
+
yu as instanceOfHotelRoomOfferRequestCreateApi,
|
|
5769
|
+
Ou as instanceOfHotelRoomOffersApiResponse,
|
|
5770
|
+
Su as instanceOfHotelRoomOffersCreateApi,
|
|
5771
|
+
_u as instanceOfHotelRoomOffersDataApiResponse,
|
|
5772
|
+
Tu as instanceOfHotelRoomOffersDataCreateApi,
|
|
5773
|
+
wc as instanceOfHotelRoomingListApi,
|
|
5774
|
+
Tc as instanceOfHotelRoomingListApiHotelRoom,
|
|
5775
|
+
Sc as instanceOfHotelRoomingListGuestApi,
|
|
5776
|
+
ku as instanceOfHotelRoomingListGuestsCreateApi,
|
|
5777
|
+
Cu as instanceOfHotelRoomingListGuestsUpdateApi,
|
|
5778
|
+
hc as instanceOfInsuranceApi,
|
|
5779
|
+
gc as instanceOfInvoiceApi,
|
|
5780
|
+
Us as instanceOfLocale,
|
|
5781
|
+
uu as instanceOfMetaPollingResponseApi,
|
|
5782
|
+
Uc as instanceOfMetaResponseApi,
|
|
5783
|
+
Oc as instanceOfOrderAddon,
|
|
5784
|
+
Mc as instanceOfOrderAddonSelection,
|
|
5785
|
+
Qs as instanceOfPaymentMethodCouponApi,
|
|
5786
|
+
Ws as instanceOfPaymentMethodCouponApiPayload,
|
|
5787
|
+
ic as instanceOfPaymentMethodCreditCardApi,
|
|
5788
|
+
ec as instanceOfPaymentMethodCreditCardApiPayload,
|
|
5789
|
+
ac as instanceOfPaymentMethodDepositAccountApi,
|
|
5790
|
+
rc as instanceOfPaymentMethodDepositAccountApiPayload,
|
|
5791
|
+
fc as instanceOfPaymentMethodPayLaterApi,
|
|
5792
|
+
uc as instanceOfPaymentMethodPayLaterApiPayload,
|
|
5793
|
+
Lc as instanceOfPaymentMethodRequestApi,
|
|
5794
|
+
Ic as instanceOfPaymentMethodRequestPayloadApi,
|
|
5795
|
+
Mu as instanceOfPaymentMethodUpdatePayloadApi,
|
|
5796
|
+
au as instanceOfPollerStatus,
|
|
5797
|
+
bu as instanceOfRequestPayload,
|
|
5798
|
+
Ss as instanceOfSourceMarket,
|
|
5799
|
+
vs as instanceOfTagApi,
|
|
5800
|
+
Is as instanceOfTaxApi,
|
|
5801
|
+
Xc as instanceOfTravelTimesApi,
|
|
5802
|
+
Wc as instanceOfTravelTimesApiTravelTimes,
|
|
5803
|
+
at as querystring,
|
|
5804
|
+
$a as v1ApiClient
|
|
5776
5805
|
};
|