@revolugo/booking-api-client 7.8.0-alpha.2 → 7.8.0-alpha.4
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 +1120 -1125
- package/dist/index.umd.js +2 -2
- package/package.json +3 -3
package/dist/index.es.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
var
|
|
1
|
+
var It = Object.create, ze = Object.defineProperty, Dt = Object.getOwnPropertyDescriptor, bt = Object.getOwnPropertyNames, vt = Object.getPrototypeOf, Nt = Object.prototype.hasOwnProperty, X = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), Pt = (e, t, i, n) => {
|
|
2
2
|
if (t && typeof t == "object" || typeof t == "function")
|
|
3
|
-
for (var o =
|
|
4
|
-
d = o[s], !
|
|
3
|
+
for (var o = bt(t), s = 0, u = o.length, d; s < u; s++)
|
|
4
|
+
d = o[s], !Nt.call(e, d) && d !== i && ze(e, d, {
|
|
5
5
|
get: ((h) => t[h]).bind(null, d),
|
|
6
|
-
enumerable: !(n =
|
|
6
|
+
enumerable: !(n = Dt(t, d)) || n.enumerable
|
|
7
7
|
});
|
|
8
8
|
return e;
|
|
9
|
-
}, Q = (e, t, i) => (i = e != null ?
|
|
9
|
+
}, Q = (e, t, i) => (i = e != null ? It(vt(e)) : {}, Pt(t || !e || !e.__esModule ? ze(i, "default", {
|
|
10
10
|
value: e,
|
|
11
11
|
enumerable: !0
|
|
12
|
-
}) : i, e)),
|
|
12
|
+
}) : i, e)), Je = /* @__PURE__ */ (function(e) {
|
|
13
13
|
return e.V1 = "v1", e;
|
|
14
14
|
})({}), ee = /* @__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
|
+
})({}), Et = {
|
|
17
17
|
[ee.CiCd]: "https://booking-api.staging.revolugo.com",
|
|
18
18
|
[ee.Local]: "http://127.0.0.1:3001",
|
|
19
19
|
[ee.Production]: "https://booking-api.revolugo.com",
|
|
@@ -21,77 +21,77 @@ var bt = Object.create, Ze = Object.defineProperty, vt = Object.getOwnPropertyDe
|
|
|
21
21
|
[ee.Staging]: "https://booking-api.staging.revolugo.com"
|
|
22
22
|
}, F = /* @__PURE__ */ (function(e) {
|
|
23
23
|
return e.de_DE = "de-DE", e.en_US = "en-US", e.es_ES = "es-ES", e.fr_FR = "fr-FR", e.it_IT = "it-IT", e.nl_NL = "nl-NL", e.pt_PT = "pt-PT", e;
|
|
24
|
-
})({}),
|
|
24
|
+
})({}), z = /* @__PURE__ */ (function(e) {
|
|
25
25
|
return e.DE = "de", e.EN = "en", e.ES = "es", e.FR = "fr", e.IT = "it", e.NL = "nl", e.PT = "pt", e;
|
|
26
|
-
})({}),
|
|
27
|
-
[
|
|
28
|
-
[
|
|
29
|
-
[
|
|
30
|
-
[
|
|
31
|
-
[
|
|
32
|
-
[
|
|
33
|
-
[
|
|
34
|
-
},
|
|
35
|
-
[F.de_DE]:
|
|
36
|
-
[F.en_US]:
|
|
37
|
-
[F.es_ES]:
|
|
38
|
-
[F.fr_FR]:
|
|
39
|
-
[F.it_IT]:
|
|
40
|
-
[F.nl_NL]:
|
|
41
|
-
[F.pt_PT]:
|
|
42
|
-
},
|
|
26
|
+
})({}), Eo = {
|
|
27
|
+
[z.DE]: F.de_DE,
|
|
28
|
+
[z.EN]: F.en_US,
|
|
29
|
+
[z.ES]: F.es_ES,
|
|
30
|
+
[z.FR]: F.fr_FR,
|
|
31
|
+
[z.IT]: F.it_IT,
|
|
32
|
+
[z.NL]: F.nl_NL,
|
|
33
|
+
[z.PT]: F.pt_PT
|
|
34
|
+
}, Lo = {
|
|
35
|
+
[F.de_DE]: z.DE,
|
|
36
|
+
[F.en_US]: z.EN,
|
|
37
|
+
[F.es_ES]: z.ES,
|
|
38
|
+
[F.fr_FR]: z.FR,
|
|
39
|
+
[F.it_IT]: z.IT,
|
|
40
|
+
[F.nl_NL]: z.NL,
|
|
41
|
+
[F.pt_PT]: z.PT
|
|
42
|
+
}, Ho = {
|
|
43
43
|
[F.de_DE]: {
|
|
44
44
|
code: F.de_DE,
|
|
45
45
|
countryCode: "DE",
|
|
46
46
|
icon: "🇩🇪",
|
|
47
|
-
locale:
|
|
47
|
+
locale: z.DE,
|
|
48
48
|
name: "Deutsch"
|
|
49
49
|
},
|
|
50
50
|
[F.en_US]: {
|
|
51
51
|
code: F.en_US,
|
|
52
52
|
countryCode: "US",
|
|
53
53
|
icon: "🇺🇸",
|
|
54
|
-
locale:
|
|
54
|
+
locale: z.EN,
|
|
55
55
|
name: "English"
|
|
56
56
|
},
|
|
57
57
|
[F.es_ES]: {
|
|
58
58
|
code: F.es_ES,
|
|
59
59
|
countryCode: "ES",
|
|
60
60
|
icon: "🇪🇸",
|
|
61
|
-
locale:
|
|
61
|
+
locale: z.ES,
|
|
62
62
|
name: "Español"
|
|
63
63
|
},
|
|
64
64
|
[F.fr_FR]: {
|
|
65
65
|
code: F.fr_FR,
|
|
66
66
|
countryCode: "FR",
|
|
67
67
|
icon: "🇫🇷",
|
|
68
|
-
locale:
|
|
68
|
+
locale: z.FR,
|
|
69
69
|
name: "Français"
|
|
70
70
|
},
|
|
71
71
|
[F.it_IT]: {
|
|
72
72
|
code: F.it_IT,
|
|
73
73
|
countryCode: "IT",
|
|
74
74
|
icon: "🇮🇹",
|
|
75
|
-
locale:
|
|
75
|
+
locale: z.IT,
|
|
76
76
|
name: "Italiano"
|
|
77
77
|
},
|
|
78
78
|
[F.nl_NL]: {
|
|
79
79
|
code: F.nl_NL,
|
|
80
80
|
countryCode: "NL",
|
|
81
81
|
icon: "🇳🇱",
|
|
82
|
-
locale:
|
|
82
|
+
locale: z.NL,
|
|
83
83
|
name: "Nederlands"
|
|
84
84
|
},
|
|
85
85
|
[F.pt_PT]: {
|
|
86
86
|
code: F.pt_PT,
|
|
87
87
|
countryCode: "PT",
|
|
88
88
|
icon: "🇵🇹",
|
|
89
|
-
locale:
|
|
89
|
+
locale: z.PT,
|
|
90
90
|
name: "Português"
|
|
91
91
|
}
|
|
92
|
-
},
|
|
92
|
+
}, Bo = F.fr_FR, Ve = /* @__PURE__ */ (function(e) {
|
|
93
93
|
return e.HOTEL_ROOM_OFFERS = "HOTEL_ROOM_OFFERS", e.HOTEL_SEARCH_POLLING = "HOTEL_SEARCH_POLLING", e;
|
|
94
|
-
})({}),
|
|
94
|
+
})({}), Lt = /* @__PURE__ */ X(((e, t) => {
|
|
95
95
|
var i = typeof globalThis < "u" && globalThis || typeof self < "u" && self || typeof global < "u" && global, n = (function() {
|
|
96
96
|
function s() {
|
|
97
97
|
this.fetch = !1, this.DOMException = i.DOMException;
|
|
@@ -221,7 +221,7 @@ var bt = Object.create, Ze = Object.defineProperty, vt = Object.getOwnPropertyDe
|
|
|
221
221
|
var c = new Uint8Array(a.byteLength);
|
|
222
222
|
return c.set(new Uint8Array(a)), c.buffer;
|
|
223
223
|
}
|
|
224
|
-
function
|
|
224
|
+
function H() {
|
|
225
225
|
return this.bodyUsed = !1, this._initBody = function(a) {
|
|
226
226
|
this.bodyUsed = this.bodyUsed, this._bodyInit = a, a ? typeof a == "string" ? this._bodyText = a : h.blob && Blob.prototype.isPrototypeOf(a) ? this._bodyBlob = a : h.formData && FormData.prototype.isPrototypeOf(a) ? this._bodyFormData = a : h.searchParams && URLSearchParams.prototype.isPrototypeOf(a) ? this._bodyText = a.toString() : h.arrayBuffer && h.blob && S(a) ? (this._bodyArrayBuffer = v(a.buffer), this._bodyInit = new Blob([this._bodyArrayBuffer])) : h.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(a) || _(a)) ? this._bodyArrayBuffer = v(a) : this._bodyText = a = Object.prototype.toString.call(a) : (this._noBody = !0, this._bodyText = ""), this.headers.get("content-type") || (typeof a == "string" ? this.headers.set("content-type", "text/plain;charset=UTF-8") : this._bodyBlob && this._bodyBlob.type ? this.headers.set("content-type", this._bodyBlob.type) : h.searchParams && URLSearchParams.prototype.isPrototypeOf(a) && this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8"));
|
|
227
227
|
}, h.blob && (this.blob = function() {
|
|
@@ -267,11 +267,11 @@ var bt = Object.create, Ze = Object.defineProperty, vt = Object.getOwnPropertyDe
|
|
|
267
267
|
var c = a.toUpperCase();
|
|
268
268
|
return x.indexOf(c) > -1 ? c : a;
|
|
269
269
|
}
|
|
270
|
-
function
|
|
271
|
-
if (!(this instanceof
|
|
270
|
+
function B(a, c) {
|
|
271
|
+
if (!(this instanceof B)) throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
|
|
272
272
|
c = c || {};
|
|
273
273
|
var f = c.body;
|
|
274
|
-
if (a instanceof
|
|
274
|
+
if (a instanceof B) {
|
|
275
275
|
if (a.bodyUsed) throw new TypeError("Already read");
|
|
276
276
|
this.url = a.url, this.credentials = a.credentials, c.headers || (this.headers = new m(a.headers)), this.method = a.method, this.mode = a.mode, this.signal = a.signal, !f && a._bodyInit != null && (f = a._bodyInit, a.bodyUsed = !0);
|
|
277
277
|
} else this.url = String(a);
|
|
@@ -283,8 +283,8 @@ var bt = Object.create, Ze = Object.defineProperty, vt = Object.getOwnPropertyDe
|
|
|
283
283
|
l.test(this.url) ? this.url = this.url.replace(l, "$1_=" + (/* @__PURE__ */ new Date()).getTime()) : this.url += (/\?/.test(this.url) ? "&" : "?") + "_=" + (/* @__PURE__ */ new Date()).getTime();
|
|
284
284
|
}
|
|
285
285
|
}
|
|
286
|
-
|
|
287
|
-
return new
|
|
286
|
+
B.prototype.clone = function() {
|
|
287
|
+
return new B(this, { body: this._bodyInit });
|
|
288
288
|
};
|
|
289
289
|
function L(a) {
|
|
290
290
|
var c = new FormData();
|
|
@@ -312,13 +312,13 @@ var bt = Object.create, Ze = Object.defineProperty, vt = Object.getOwnPropertyDe
|
|
|
312
312
|
}
|
|
313
313
|
}), c;
|
|
314
314
|
}
|
|
315
|
-
|
|
315
|
+
H.call(B.prototype);
|
|
316
316
|
function U(a, c) {
|
|
317
317
|
if (!(this instanceof U)) throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
|
|
318
318
|
if (c || (c = {}), this.type = "default", this.status = c.status === void 0 ? 200 : c.status, this.status < 200 || this.status > 599) throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");
|
|
319
319
|
this.ok = this.status >= 200 && this.status < 300, this.statusText = c.statusText === void 0 ? "" : "" + c.statusText, this.headers = new m(c.headers), this.url = c.url || "", this._initBody(a);
|
|
320
320
|
}
|
|
321
|
-
|
|
321
|
+
H.call(U.prototype), U.prototype.clone = function() {
|
|
322
322
|
return new U(this._bodyInit, {
|
|
323
323
|
status: this.status,
|
|
324
324
|
statusText: this.statusText,
|
|
@@ -355,7 +355,7 @@ var bt = Object.create, Ze = Object.defineProperty, vt = Object.getOwnPropertyDe
|
|
|
355
355
|
}
|
|
356
356
|
function R(a, c) {
|
|
357
357
|
return new Promise(function(f, l) {
|
|
358
|
-
var O = new
|
|
358
|
+
var O = new B(a, c);
|
|
359
359
|
if (O.signal && O.signal.aborted) return l(new u.DOMException("Aborted", "AbortError"));
|
|
360
360
|
var y = new XMLHttpRequest();
|
|
361
361
|
function I() {
|
|
@@ -406,25 +406,25 @@ var bt = Object.create, Ze = Object.defineProperty, vt = Object.getOwnPropertyDe
|
|
|
406
406
|
}), y.send(typeof O._bodyInit > "u" ? null : O._bodyInit);
|
|
407
407
|
});
|
|
408
408
|
}
|
|
409
|
-
return R.polyfill = !0, d.fetch || (d.fetch = R, d.Headers = m, d.Request =
|
|
409
|
+
return R.polyfill = !0, d.fetch || (d.fetch = R, d.Headers = m, d.Request = B, d.Response = U), u.Headers = m, u.Request = B, u.Response = U, u.fetch = R, u;
|
|
410
410
|
})({});
|
|
411
411
|
})(n), n.fetch.ponyfill = !0, delete n.fetch.polyfill;
|
|
412
412
|
var o = i.fetch ? i : n;
|
|
413
413
|
e = o.fetch, e.default = o.fetch, e.fetch = o.fetch, e.Headers = o.Headers, e.Request = o.Request, e.Response = o.Response, t.exports = e;
|
|
414
|
-
})),
|
|
415
|
-
function
|
|
414
|
+
})), Ht = /* @__PURE__ */ Q(Lt(), 1), Bt = new RegExp("([\\p{Ll}\\d])(\\p{Lu})", "gu"), Ft = new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])", "gu"), xt = new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d", "u"), Jt = /[^\p{L}\d]+/giu, Ue = "$1\0$2", Ge = "";
|
|
415
|
+
function Ze(e) {
|
|
416
416
|
let t = e.trim();
|
|
417
|
-
t = t.replace(
|
|
417
|
+
t = t.replace(Bt, Ue).replace(Ft, Ue), t = t.replace(Jt, "\0");
|
|
418
418
|
let i = 0, n = t.length;
|
|
419
419
|
for (; t.charAt(i) === "\0"; ) i++;
|
|
420
420
|
if (i === n) return [];
|
|
421
421
|
for (; t.charAt(n - 1) === "\0"; ) n--;
|
|
422
422
|
return t.slice(i, n).split(/\0/g);
|
|
423
423
|
}
|
|
424
|
-
function
|
|
425
|
-
const t =
|
|
424
|
+
function Ut(e) {
|
|
425
|
+
const t = Ze(e);
|
|
426
426
|
for (let i = 0; i < t.length; i++) {
|
|
427
|
-
const n = t[i], o =
|
|
427
|
+
const n = t[i], o = xt.exec(n);
|
|
428
428
|
if (o) {
|
|
429
429
|
const s = o.index + (o[1] ?? o[2]).length;
|
|
430
430
|
t.splice(i, 1, n.slice(0, s), n.slice(s));
|
|
@@ -432,30 +432,30 @@ function $t(e) {
|
|
|
432
432
|
}
|
|
433
433
|
return t;
|
|
434
434
|
}
|
|
435
|
-
function
|
|
435
|
+
function We(e, t) {
|
|
436
436
|
const [i, n, o] = ke(e, t);
|
|
437
437
|
return i + n.map(Re(t?.locale)).join(t?.delimiter ?? " ") + o;
|
|
438
438
|
}
|
|
439
|
-
function
|
|
440
|
-
const [i, n, o] = ke(e, t), s = Re(t?.locale), u =
|
|
439
|
+
function Gt(e, t) {
|
|
440
|
+
const [i, n, o] = ke(e, t), s = Re(t?.locale), u = ve(t?.locale), d = t?.mergeAmbiguousCharacters ? Ne(s, u) : Qe(s, u);
|
|
441
441
|
return i + n.map((h, S) => S === 0 ? s(h) : d(h, S)).join(t?.delimiter ?? "") + o;
|
|
442
442
|
}
|
|
443
|
-
function
|
|
444
|
-
const [i, n, o] = ke(e, t), s = Re(t?.locale), u =
|
|
443
|
+
function $t(e, t) {
|
|
444
|
+
const [i, n, o] = ke(e, t), s = Re(t?.locale), u = ve(t?.locale), d = t?.mergeAmbiguousCharacters ? Ne(s, u) : Qe(s, u);
|
|
445
445
|
return i + n.map(d).join(t?.delimiter ?? "") + o;
|
|
446
446
|
}
|
|
447
|
-
function
|
|
448
|
-
const [i, n, o] = ke(e, t), s = Re(t?.locale), u =
|
|
449
|
-
return i + n.map(
|
|
447
|
+
function qt(e, t) {
|
|
448
|
+
const [i, n, o] = ke(e, t), s = Re(t?.locale), u = ve(t?.locale);
|
|
449
|
+
return i + n.map(Ne(s, u)).join(t?.delimiter ?? " ") + o;
|
|
450
450
|
}
|
|
451
|
-
function
|
|
452
|
-
return
|
|
451
|
+
function Xe(e, t) {
|
|
452
|
+
return We(e, {
|
|
453
453
|
delimiter: "-",
|
|
454
454
|
...t
|
|
455
455
|
});
|
|
456
456
|
}
|
|
457
|
-
function
|
|
458
|
-
return
|
|
457
|
+
function Kt(e, t) {
|
|
458
|
+
return We(e, {
|
|
459
459
|
delimiter: "_",
|
|
460
460
|
...t
|
|
461
461
|
});
|
|
@@ -463,20 +463,20 @@ function Vt(e, t) {
|
|
|
463
463
|
function Re(e) {
|
|
464
464
|
return e === !1 ? (t) => t.toLowerCase() : (t) => t.toLocaleLowerCase(e);
|
|
465
465
|
}
|
|
466
|
-
function
|
|
466
|
+
function ve(e) {
|
|
467
467
|
return e === !1 ? (t) => t.toUpperCase() : (t) => t.toLocaleUpperCase(e);
|
|
468
468
|
}
|
|
469
|
-
function
|
|
469
|
+
function Ne(e, t) {
|
|
470
470
|
return (i) => `${t(i[0])}${e(i.slice(1))}`;
|
|
471
471
|
}
|
|
472
|
-
function
|
|
472
|
+
function Qe(e, t) {
|
|
473
473
|
return (i, n) => {
|
|
474
474
|
const o = i[0];
|
|
475
475
|
return (n > 0 && o >= "0" && o <= "9" ? "_" + o : t(o)) + e(i.slice(1));
|
|
476
476
|
};
|
|
477
477
|
}
|
|
478
478
|
function ke(e, t = {}) {
|
|
479
|
-
const i = t.split ?? (t.separateNumbers ?
|
|
479
|
+
const i = t.split ?? (t.separateNumbers ? Ut : Ze), n = t.prefixCharacters ?? Ge, o = t.suffixCharacters ?? Ge;
|
|
480
480
|
let s = 0, u = e.length;
|
|
481
481
|
for (; s < e.length; ) {
|
|
482
482
|
const d = e.charAt(s);
|
|
@@ -494,7 +494,7 @@ function ke(e, t = {}) {
|
|
|
494
494
|
e.slice(u)
|
|
495
495
|
];
|
|
496
496
|
}
|
|
497
|
-
var
|
|
497
|
+
var Yt = /* @__PURE__ */ X(((e, t) => {
|
|
498
498
|
(function(i, n, o) {
|
|
499
499
|
typeof e == "object" ? (t.exports = o(), t.exports.default = o()) : typeof define == "function" && define.amd ? define(o) : n[i] = o();
|
|
500
500
|
})("slugify", e, function() {
|
|
@@ -512,36 +512,36 @@ var zt = /* @__PURE__ */ X(((e, t) => {
|
|
|
512
512
|
Object.assign(i, s);
|
|
513
513
|
}, o;
|
|
514
514
|
});
|
|
515
|
-
})),
|
|
516
|
-
function
|
|
517
|
-
return (0,
|
|
515
|
+
})), zt = /* @__PURE__ */ Q(Yt(), 1);
|
|
516
|
+
function Vt(e) {
|
|
517
|
+
return (0, zt.default)(Xe(e), {
|
|
518
518
|
lower: !0,
|
|
519
519
|
strict: !0
|
|
520
520
|
});
|
|
521
521
|
}
|
|
522
522
|
var b = /* @__PURE__ */ (function(e) {
|
|
523
523
|
return e.Camel = "camelCase", e.Capital = "capitalCase", e.Param = "paramCase", e.Pascal = "pascalCase", e.Slug = "slugCase", e.Snake = "snakeCase", e;
|
|
524
|
-
})({}),
|
|
525
|
-
[b.Camel]:
|
|
526
|
-
[b.Capital]:
|
|
527
|
-
[b.Param]:
|
|
528
|
-
[b.Pascal]:
|
|
529
|
-
[b.Slug]:
|
|
530
|
-
[b.Snake]:
|
|
524
|
+
})({}), Zt = {
|
|
525
|
+
[b.Camel]: Gt,
|
|
526
|
+
[b.Capital]: qt,
|
|
527
|
+
[b.Param]: Xe,
|
|
528
|
+
[b.Pascal]: $t,
|
|
529
|
+
[b.Slug]: Vt,
|
|
530
|
+
[b.Snake]: Kt
|
|
531
531
|
};
|
|
532
|
-
function
|
|
532
|
+
function Wt(e, t) {
|
|
533
533
|
return e.some((i) => typeof i == "string" ? i === t : i.test(t));
|
|
534
534
|
}
|
|
535
|
-
function
|
|
535
|
+
function Xt(e) {
|
|
536
536
|
return e === Object(e) && !Array.isArray(e) && typeof e != "function";
|
|
537
537
|
}
|
|
538
538
|
function N(e, t, i = { deep: !0 }) {
|
|
539
|
-
return
|
|
540
|
-
const s = i?.exclude &&
|
|
539
|
+
return Xt(e) && !(e instanceof Date) ? Object.keys(e).reduce((n, o) => {
|
|
540
|
+
const s = i?.exclude && Wt(i.exclude, o) ? o : Zt[t](o);
|
|
541
541
|
return n[s] = i.deep ? N(e[o], t, i) : e[o], n;
|
|
542
542
|
}, {}) : Array.isArray(e) ? e.map((n) => N(n, t, i)) : e;
|
|
543
543
|
}
|
|
544
|
-
var
|
|
544
|
+
var je = /* @__PURE__ */ X(((e, t) => {
|
|
545
545
|
(function(i, n) {
|
|
546
546
|
typeof e == "object" && typeof t < "u" ? t.exports = n() : typeof define == "function" && define.amd ? define(n) : (i = typeof globalThis < "u" ? globalThis : i || self).dayjs = n();
|
|
547
547
|
})(e, (function() {
|
|
@@ -593,21 +593,21 @@ var tt = /* @__PURE__ */ X(((e, t) => {
|
|
|
593
593
|
u: function(R) {
|
|
594
594
|
return R === void 0;
|
|
595
595
|
}
|
|
596
|
-
}, v = "en",
|
|
597
|
-
|
|
596
|
+
}, v = "en", H = {};
|
|
597
|
+
H[v] = k;
|
|
598
598
|
var x = "$isDayjsObject", J = function(R) {
|
|
599
599
|
return R instanceof U || !(!R || !R[x]);
|
|
600
|
-
},
|
|
600
|
+
}, B = function R(a, c, f) {
|
|
601
601
|
var l;
|
|
602
602
|
if (!a) return v;
|
|
603
603
|
if (typeof a == "string") {
|
|
604
604
|
var O = a.toLowerCase();
|
|
605
|
-
|
|
605
|
+
H[O] && (l = O), c && (H[O] = c, l = O);
|
|
606
606
|
var y = a.split("-");
|
|
607
607
|
if (!l && y.length > 1) return R(y[0]);
|
|
608
608
|
} else {
|
|
609
609
|
var I = a.name;
|
|
610
|
-
|
|
610
|
+
H[I] = a, l = I;
|
|
611
611
|
}
|
|
612
612
|
return !f && l && (v = l), l || !f && v;
|
|
613
613
|
}, L = function(R, a) {
|
|
@@ -615,7 +615,7 @@ var tt = /* @__PURE__ */ X(((e, t) => {
|
|
|
615
615
|
var c = typeof a == "object" ? a : {};
|
|
616
616
|
return c.date = R, c.args = arguments, new U(c);
|
|
617
617
|
}, D = P;
|
|
618
|
-
D.l =
|
|
618
|
+
D.l = B, D.i = J, D.w = function(R, a) {
|
|
619
619
|
return L(R, {
|
|
620
620
|
locale: a.$L,
|
|
621
621
|
utc: a.$u,
|
|
@@ -625,7 +625,7 @@ var tt = /* @__PURE__ */ X(((e, t) => {
|
|
|
625
625
|
};
|
|
626
626
|
var U = (function() {
|
|
627
627
|
function R(c) {
|
|
628
|
-
this.$L =
|
|
628
|
+
this.$L = B(c.locale, null, !0), this.parse(c), this.$x = this.$x || c.x || {}, this[x] = !0;
|
|
629
629
|
}
|
|
630
630
|
var a = R.prototype;
|
|
631
631
|
return a.parse = function(c) {
|
|
@@ -664,10 +664,10 @@ var tt = /* @__PURE__ */ X(((e, t) => {
|
|
|
664
664
|
}, a.valueOf = function() {
|
|
665
665
|
return this.$d.getTime();
|
|
666
666
|
}, a.startOf = function(c, f) {
|
|
667
|
-
var l = this, O = !!D.u(f) || f, y = D.p(c), I = function(ne,
|
|
668
|
-
var j = D.w(l.$u ? Date.UTC(l.$y,
|
|
667
|
+
var l = this, O = !!D.u(f) || f, y = D.p(c), I = function(ne, V) {
|
|
668
|
+
var j = D.w(l.$u ? Date.UTC(l.$y, V, ne) : new Date(l.$y, V, ne), l);
|
|
669
669
|
return O ? j : j.endOf(S);
|
|
670
|
-
}, G = function(ne,
|
|
670
|
+
}, G = function(ne, V) {
|
|
671
671
|
return D.w(l.toDate()[ne].apply(l.toDate("s"), (O ? [
|
|
672
672
|
0,
|
|
673
673
|
0,
|
|
@@ -678,7 +678,7 @@ var tt = /* @__PURE__ */ X(((e, t) => {
|
|
|
678
678
|
59,
|
|
679
679
|
59,
|
|
680
680
|
999
|
|
681
|
-
]).slice(
|
|
681
|
+
]).slice(V)), l);
|
|
682
682
|
}, $ = this.$W, E = this.$M, Y = this.$D, se = "set" + (this.$u ? "UTC" : "");
|
|
683
683
|
switch (y) {
|
|
684
684
|
case M:
|
|
@@ -731,15 +731,15 @@ var tt = /* @__PURE__ */ X(((e, t) => {
|
|
|
731
731
|
}, a.format = function(c) {
|
|
732
732
|
var f = this, l = this.$locale();
|
|
733
733
|
if (!this.isValid()) return l.invalidDate || m;
|
|
734
|
-
var O = c || "YYYY-MM-DDTHH:mm:ssZ", y = D.z(this), I = this.$H, G = this.$m, $ = this.$M, E = l.weekdays, Y = l.months, se = l.meridiem, oe = function(
|
|
735
|
-
return
|
|
736
|
-
}, fe = function(
|
|
737
|
-
return D.s(I % 12 || 12,
|
|
738
|
-
}, ne = se || function(
|
|
739
|
-
var de =
|
|
734
|
+
var O = c || "YYYY-MM-DDTHH:mm:ssZ", y = D.z(this), I = this.$H, G = this.$m, $ = this.$M, E = l.weekdays, Y = l.months, se = l.meridiem, oe = function(V, j, ae, de) {
|
|
735
|
+
return V && (V[j] || V(f, O)) || ae[j].slice(0, de);
|
|
736
|
+
}, fe = function(V) {
|
|
737
|
+
return D.s(I % 12 || 12, V, "0");
|
|
738
|
+
}, ne = se || function(V, j, ae) {
|
|
739
|
+
var de = V < 12 ? "AM" : "PM";
|
|
740
740
|
return ae ? de.toLowerCase() : de;
|
|
741
741
|
};
|
|
742
|
-
return O.replace(w, (function(
|
|
742
|
+
return O.replace(w, (function(V, j) {
|
|
743
743
|
return j || (function(ae) {
|
|
744
744
|
switch (ae) {
|
|
745
745
|
case "YY":
|
|
@@ -792,7 +792,7 @@ var tt = /* @__PURE__ */ X(((e, t) => {
|
|
|
792
792
|
return y;
|
|
793
793
|
}
|
|
794
794
|
return null;
|
|
795
|
-
})(
|
|
795
|
+
})(V) || y.replace(":", "");
|
|
796
796
|
}));
|
|
797
797
|
}, a.utcOffset = function() {
|
|
798
798
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
@@ -832,10 +832,10 @@ var tt = /* @__PURE__ */ X(((e, t) => {
|
|
|
832
832
|
}, a.daysInMonth = function() {
|
|
833
833
|
return this.endOf(_).$D;
|
|
834
834
|
}, a.$locale = function() {
|
|
835
|
-
return
|
|
835
|
+
return H[this.$L];
|
|
836
836
|
}, a.locale = function(c, f) {
|
|
837
837
|
if (!c) return this.$L;
|
|
838
|
-
var l = this.clone(), O =
|
|
838
|
+
var l = this.clone(), O = B(c, f, !0);
|
|
839
839
|
return O && (l.$L = O), l;
|
|
840
840
|
}, a.clone = function() {
|
|
841
841
|
return D.w(this.$d, this);
|
|
@@ -864,11 +864,11 @@ var tt = /* @__PURE__ */ X(((e, t) => {
|
|
|
864
864
|
};
|
|
865
865
|
})), L.extend = function(R, a) {
|
|
866
866
|
return R.$i || (R(a, U, L), R.$i = !0), L;
|
|
867
|
-
}, L.locale =
|
|
867
|
+
}, L.locale = B, L.isDayjs = J, L.unix = function(R) {
|
|
868
868
|
return L(1e3 * R);
|
|
869
|
-
}, L.en =
|
|
869
|
+
}, L.en = H[v], L.Ls = H, L.p = {}, L;
|
|
870
870
|
}));
|
|
871
|
-
})),
|
|
871
|
+
})), Qt = /* @__PURE__ */ X(((e, t) => {
|
|
872
872
|
(function(i, n) {
|
|
873
873
|
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();
|
|
874
874
|
})(e, (function() {
|
|
@@ -915,7 +915,7 @@ var tt = /* @__PURE__ */ X(((e, t) => {
|
|
|
915
915
|
};
|
|
916
916
|
};
|
|
917
917
|
}));
|
|
918
|
-
})),
|
|
918
|
+
})), jt = /* @__PURE__ */ X(((e, t) => {
|
|
919
919
|
(function(i, n) {
|
|
920
920
|
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();
|
|
921
921
|
})(e, (function() {
|
|
@@ -1015,11 +1015,11 @@ var tt = /* @__PURE__ */ X(((e, t) => {
|
|
|
1015
1015
|
return a || c.slice(1);
|
|
1016
1016
|
}));
|
|
1017
1017
|
}))).match(n), P = T.length, v = 0; v < P; v += 1) {
|
|
1018
|
-
var
|
|
1019
|
-
T[v] =
|
|
1018
|
+
var H = T[v], x = C[H], J = x && x[0], B = x && x[1];
|
|
1019
|
+
T[v] = B ? {
|
|
1020
1020
|
regex: J,
|
|
1021
|
-
parser:
|
|
1022
|
-
} :
|
|
1021
|
+
parser: B
|
|
1022
|
+
} : H.replace(/^\[|\]$/g, "");
|
|
1023
1023
|
}
|
|
1024
1024
|
return function(L) {
|
|
1025
1025
|
for (var D = {}, U = 0, W = 0; U < P; U += 1) {
|
|
@@ -1043,24 +1043,24 @@ var tt = /* @__PURE__ */ X(((e, t) => {
|
|
|
1043
1043
|
k.p.customParseFormat = !0, p && p.parseTwoDigitYear && (S = p.parseTwoDigitYear);
|
|
1044
1044
|
var T = w.prototype, P = T.parse;
|
|
1045
1045
|
T.parse = function(v) {
|
|
1046
|
-
var
|
|
1046
|
+
var H = v.date, x = v.utc, J = v.args;
|
|
1047
1047
|
this.$u = x;
|
|
1048
|
-
var
|
|
1049
|
-
if (typeof
|
|
1048
|
+
var B = J[1];
|
|
1049
|
+
if (typeof B == "string") {
|
|
1050
1050
|
var L = J[2] === !0, D = J[3] === !0, U = L || D, W = J[2];
|
|
1051
1051
|
D && (W = J[2]), h = this.$locale(), !L && W && (h = k.Ls[W]), this.$d = (function(f, l, O, y) {
|
|
1052
1052
|
try {
|
|
1053
1053
|
if (["x", "X"].indexOf(l) > -1) return /* @__PURE__ */ new Date((l === "X" ? 1e3 : 1) * f);
|
|
1054
|
-
var I = m(l)(f), G = I.year, $ = I.month, E = I.day, Y = I.hours, se = I.minutes, oe = I.seconds, fe = I.milliseconds, ne = I.zone,
|
|
1054
|
+
var I = m(l)(f), G = I.year, $ = I.month, E = I.day, Y = I.hours, se = I.minutes, oe = I.seconds, fe = I.milliseconds, ne = I.zone, V = I.week, j = /* @__PURE__ */ new Date(), ae = E || (G || $ ? 1 : j.getDate()), de = G || j.getFullYear(), Ae = 0;
|
|
1055
1055
|
G && !$ || (Ae = $ > 0 ? $ - 1 : j.getMonth());
|
|
1056
1056
|
var Se, Te = Y || 0, Me = se || 0, Ce = oe || 0, Ie = fe || 0;
|
|
1057
|
-
return ne ? new Date(Date.UTC(de, Ae, ae, Te, Me, Ce, Ie + 60 * ne.offset * 1e3)) : O ? new Date(Date.UTC(de, Ae, ae, Te, Me, Ce, Ie)) : (Se = new Date(de, Ae, ae, Te, Me, Ce, Ie),
|
|
1057
|
+
return ne ? new Date(Date.UTC(de, Ae, ae, Te, Me, Ce, Ie + 60 * ne.offset * 1e3)) : O ? new Date(Date.UTC(de, Ae, ae, Te, Me, Ce, Ie)) : (Se = new Date(de, Ae, ae, Te, Me, Ce, Ie), V && (Se = y(Se).week(V).toDate()), Se);
|
|
1058
1058
|
} catch {
|
|
1059
1059
|
return /* @__PURE__ */ new Date("");
|
|
1060
1060
|
}
|
|
1061
|
-
})(
|
|
1062
|
-
} else if (
|
|
1063
|
-
J[1] =
|
|
1061
|
+
})(H, B, x, k), this.init(), W && W !== !0 && (this.$L = this.locale(W).$L), U && H != this.format(B) && (this.$d = /* @__PURE__ */ new Date("")), h = {};
|
|
1062
|
+
} else if (B instanceof Array) for (var R = B.length, a = 1; a <= R; a += 1) {
|
|
1063
|
+
J[1] = B[a - 1];
|
|
1064
1064
|
var c = k.apply(this, J);
|
|
1065
1065
|
if (c.isValid()) {
|
|
1066
1066
|
this.$d = c.$d, this.$L = c.$L, this.init();
|
|
@@ -1072,7 +1072,7 @@ var tt = /* @__PURE__ */ X(((e, t) => {
|
|
|
1072
1072
|
};
|
|
1073
1073
|
};
|
|
1074
1074
|
}));
|
|
1075
|
-
})),
|
|
1075
|
+
})), ei = /* @__PURE__ */ X(((e, t) => {
|
|
1076
1076
|
(function(i, n) {
|
|
1077
1077
|
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();
|
|
1078
1078
|
})(e, (function() {
|
|
@@ -1084,7 +1084,7 @@ var tt = /* @__PURE__ */ X(((e, t) => {
|
|
|
1084
1084
|
};
|
|
1085
1085
|
};
|
|
1086
1086
|
}));
|
|
1087
|
-
})),
|
|
1087
|
+
})), ti = /* @__PURE__ */ X(((e, t) => {
|
|
1088
1088
|
(function(i, n) {
|
|
1089
1089
|
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();
|
|
1090
1090
|
})(e, (function() {
|
|
@@ -1095,7 +1095,7 @@ var tt = /* @__PURE__ */ X(((e, t) => {
|
|
|
1095
1095
|
};
|
|
1096
1096
|
};
|
|
1097
1097
|
}));
|
|
1098
|
-
})),
|
|
1098
|
+
})), ii = /* @__PURE__ */ X(((e, t) => {
|
|
1099
1099
|
(function(i, n) {
|
|
1100
1100
|
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();
|
|
1101
1101
|
})(e, (function() {
|
|
@@ -1106,7 +1106,7 @@ var tt = /* @__PURE__ */ X(((e, t) => {
|
|
|
1106
1106
|
};
|
|
1107
1107
|
};
|
|
1108
1108
|
}));
|
|
1109
|
-
})),
|
|
1109
|
+
})), ni = /* @__PURE__ */ X(((e, t) => {
|
|
1110
1110
|
(function(i, n) {
|
|
1111
1111
|
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();
|
|
1112
1112
|
})(e, (function() {
|
|
@@ -1120,8 +1120,8 @@ var tt = /* @__PURE__ */ X(((e, t) => {
|
|
|
1120
1120
|
}));
|
|
1121
1121
|
if (!m) return T;
|
|
1122
1122
|
var P = p.weekStart;
|
|
1123
|
-
return T.map((function(v,
|
|
1124
|
-
return T[(
|
|
1123
|
+
return T.map((function(v, H) {
|
|
1124
|
+
return T[(H + (P || 0)) % 7];
|
|
1125
1125
|
}));
|
|
1126
1126
|
}, h = function() {
|
|
1127
1127
|
return o.Ls[o.locale()];
|
|
@@ -1201,7 +1201,7 @@ var tt = /* @__PURE__ */ X(((e, t) => {
|
|
|
1201
1201
|
};
|
|
1202
1202
|
};
|
|
1203
1203
|
}));
|
|
1204
|
-
})),
|
|
1204
|
+
})), ri = /* @__PURE__ */ X(((e, t) => {
|
|
1205
1205
|
(function(i, n) {
|
|
1206
1206
|
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();
|
|
1207
1207
|
})(e, (function() {
|
|
@@ -1230,7 +1230,7 @@ var tt = /* @__PURE__ */ X(((e, t) => {
|
|
|
1230
1230
|
};
|
|
1231
1231
|
};
|
|
1232
1232
|
}));
|
|
1233
|
-
})),
|
|
1233
|
+
})), oi = /* @__PURE__ */ X(((e, t) => {
|
|
1234
1234
|
(function(i, n) {
|
|
1235
1235
|
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();
|
|
1236
1236
|
})(e, (function() {
|
|
@@ -1252,7 +1252,7 @@ var tt = /* @__PURE__ */ X(((e, t) => {
|
|
|
1252
1252
|
};
|
|
1253
1253
|
};
|
|
1254
1254
|
}));
|
|
1255
|
-
})),
|
|
1255
|
+
})), ai = /* @__PURE__ */ X(((e, t) => {
|
|
1256
1256
|
(function(i, n) {
|
|
1257
1257
|
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();
|
|
1258
1258
|
})(e, (function() {
|
|
@@ -1331,11 +1331,11 @@ var tt = /* @__PURE__ */ X(((e, t) => {
|
|
|
1331
1331
|
], T = k.length, P = 0; P < T; P += 1) {
|
|
1332
1332
|
var v = k[P];
|
|
1333
1333
|
v.d && (C = g ? o(S).diff(_, v.d, !0) : _.diff(S, v.d, !0));
|
|
1334
|
-
var
|
|
1335
|
-
if (p = C > 0,
|
|
1336
|
-
|
|
1334
|
+
var H = (i.rounding || Math.round)(Math.abs(C));
|
|
1335
|
+
if (p = C > 0, H <= v.r || !v.r) {
|
|
1336
|
+
H <= 1 && P > 0 && (v = k[P - 1]);
|
|
1337
1337
|
var x = w[v.l];
|
|
1338
|
-
M && (
|
|
1338
|
+
M && (H = M("" + H)), m = typeof x == "string" ? x.replace("%d", H) : x(H, A, v.l, p);
|
|
1339
1339
|
break;
|
|
1340
1340
|
}
|
|
1341
1341
|
}
|
|
@@ -1357,7 +1357,7 @@ var tt = /* @__PURE__ */ X(((e, t) => {
|
|
|
1357
1357
|
};
|
|
1358
1358
|
};
|
|
1359
1359
|
}));
|
|
1360
|
-
})),
|
|
1360
|
+
})), ci = /* @__PURE__ */ X(((e, t) => {
|
|
1361
1361
|
(function(i, n) {
|
|
1362
1362
|
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();
|
|
1363
1363
|
})(e, (function() {
|
|
@@ -1394,7 +1394,7 @@ var tt = /* @__PURE__ */ X(((e, t) => {
|
|
|
1394
1394
|
var w = C[p], k = w.type, T = w.value, P = i[k];
|
|
1395
1395
|
P >= 0 && (m[P] = parseInt(T, 10));
|
|
1396
1396
|
}
|
|
1397
|
-
var v = m[3],
|
|
1397
|
+
var v = m[3], H = v === 24 ? 0 : v, x = m[0] + "-" + m[1] + "-" + m[2] + " " + H + ":" + m[4] + ":" + m[5] + ":000", J = +g;
|
|
1398
1398
|
return (u.utc(x).valueOf() - (J -= J % 1e3)) / 6e4;
|
|
1399
1399
|
}, A = s.prototype;
|
|
1400
1400
|
A.tz = function(g, M) {
|
|
@@ -1420,11 +1420,11 @@ var tt = /* @__PURE__ */ X(((e, t) => {
|
|
|
1420
1420
|
}, u.tz = function(g, M, C) {
|
|
1421
1421
|
var m = C && M, p = C || M || d, w = S(+u(), p);
|
|
1422
1422
|
if (typeof g != "string") return u(g).tz(p);
|
|
1423
|
-
var k = (function(
|
|
1424
|
-
var
|
|
1425
|
-
if (x === L) return [
|
|
1426
|
-
var D = S(
|
|
1427
|
-
return L === D ? [
|
|
1423
|
+
var k = (function(H, x, J) {
|
|
1424
|
+
var B = H - 60 * x * 1e3, L = S(B, J);
|
|
1425
|
+
if (x === L) return [B, x];
|
|
1426
|
+
var D = S(B -= 60 * (L - x) * 1e3, J);
|
|
1427
|
+
return L === D ? [B, L] : [H - 60 * Math.min(L, D) * 1e3, Math.max(L, D)];
|
|
1428
1428
|
})(u.utc(g, m).valueOf(), w, p), T = k[0], P = k[1], v = u(T).utcOffset(P);
|
|
1429
1429
|
return v.$x.$timezone = p, v;
|
|
1430
1430
|
}, u.tz.guess = function() {
|
|
@@ -1434,7 +1434,7 @@ var tt = /* @__PURE__ */ X(((e, t) => {
|
|
|
1434
1434
|
};
|
|
1435
1435
|
};
|
|
1436
1436
|
}));
|
|
1437
|
-
})),
|
|
1437
|
+
})), si = /* @__PURE__ */ X(((e, t) => {
|
|
1438
1438
|
(function(i, n) {
|
|
1439
1439
|
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();
|
|
1440
1440
|
})(e, (function() {
|
|
@@ -1477,14 +1477,14 @@ var tt = /* @__PURE__ */ X(((e, t) => {
|
|
|
1477
1477
|
if (w(m)) return this.$u ? 0 : w(this.$offset) ? _.call(this) : this.$offset;
|
|
1478
1478
|
if (typeof m == "string" && (m = (function(v) {
|
|
1479
1479
|
v === void 0 && (v = "");
|
|
1480
|
-
var
|
|
1481
|
-
if (!
|
|
1482
|
-
var x = ("" +
|
|
1480
|
+
var H = v.match(n);
|
|
1481
|
+
if (!H) return null;
|
|
1482
|
+
var x = ("" + H[0]).match(o) || [
|
|
1483
1483
|
"-",
|
|
1484
1484
|
0,
|
|
1485
1485
|
0
|
|
1486
|
-
], J = x[0],
|
|
1487
|
-
return
|
|
1486
|
+
], J = x[0], B = 60 * +x[1] + +x[2];
|
|
1487
|
+
return B === 0 ? 0 : J === "+" ? B : -B;
|
|
1488
1488
|
})(m), m === null)) return this;
|
|
1489
1489
|
var k = Math.abs(m) <= 16 ? 60 * m : m;
|
|
1490
1490
|
if (k === 0) return this.utc(p);
|
|
@@ -1519,9 +1519,9 @@ var tt = /* @__PURE__ */ X(((e, t) => {
|
|
|
1519
1519
|
};
|
|
1520
1520
|
};
|
|
1521
1521
|
}));
|
|
1522
|
-
})),
|
|
1522
|
+
})), di = /* @__PURE__ */ X(((e, t) => {
|
|
1523
1523
|
(function(i, n) {
|
|
1524
|
-
typeof e == "object" && typeof t < "u" ? t.exports = n(
|
|
1524
|
+
typeof e == "object" && typeof t < "u" ? t.exports = n(je()) : typeof define == "function" && define.amd ? define(["dayjs"], n) : (i = typeof globalThis < "u" ? globalThis : i || self).dayjs_locale_fr = n(i.dayjs);
|
|
1525
1525
|
})(e, (function(i) {
|
|
1526
1526
|
"use strict";
|
|
1527
1527
|
function n(u) {
|
|
@@ -1565,7 +1565,7 @@ var tt = /* @__PURE__ */ X(((e, t) => {
|
|
|
1565
1565
|
};
|
|
1566
1566
|
return o.default.locale(s, null, !0), s;
|
|
1567
1567
|
}));
|
|
1568
|
-
})),
|
|
1568
|
+
})), ui = /* @__PURE__ */ X(((e, t) => {
|
|
1569
1569
|
(function(i, n) {
|
|
1570
1570
|
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();
|
|
1571
1571
|
})(e, (function() {
|
|
@@ -1585,18 +1585,18 @@ var tt = /* @__PURE__ */ X(((e, t) => {
|
|
|
1585
1585
|
}
|
|
1586
1586
|
};
|
|
1587
1587
|
}));
|
|
1588
|
-
})), te = /* @__PURE__ */ Q(
|
|
1588
|
+
})), te = /* @__PURE__ */ Q(je(), 1), fi = /* @__PURE__ */ Q(Qt(), 1), li = /* @__PURE__ */ Q(jt(), 1), mi = /* @__PURE__ */ Q(ei(), 1), hi = /* @__PURE__ */ Q(ti(), 1), pi = /* @__PURE__ */ Q(ii(), 1), yi = /* @__PURE__ */ Q(ni(), 1), gi = /* @__PURE__ */ Q(ri(), 1), _i = /* @__PURE__ */ Q(oi(), 1), Oi = /* @__PURE__ */ Q(ai(), 1), Ai = /* @__PURE__ */ Q(ci(), 1), Si = /* @__PURE__ */ Q(si(), 1), Fo = di(), xo = ui();
|
|
1589
|
+
te.default.extend(fi.default);
|
|
1590
|
+
te.default.extend(li.default);
|
|
1589
1591
|
te.default.extend(mi.default);
|
|
1590
1592
|
te.default.extend(hi.default);
|
|
1591
1593
|
te.default.extend(pi.default);
|
|
1592
|
-
te.default.extend(yi.default);
|
|
1593
1594
|
te.default.extend(gi.default);
|
|
1594
|
-
te.default.extend(
|
|
1595
|
+
te.default.extend(yi.default);
|
|
1595
1596
|
te.default.extend(_i.default);
|
|
1597
|
+
te.default.extend(Oi.default);
|
|
1596
1598
|
te.default.extend(Ai.default);
|
|
1597
1599
|
te.default.extend(Si.default);
|
|
1598
|
-
te.default.extend(wi.default);
|
|
1599
|
-
te.default.extend(Ri.default);
|
|
1600
1600
|
function ue(e) {
|
|
1601
1601
|
if (e === null || typeof e != "object") return !1;
|
|
1602
1602
|
const t = Object.getPrototypeOf(e);
|
|
@@ -1612,65 +1612,60 @@ function we(e, t = /* @__PURE__ */ new WeakSet()) {
|
|
|
1612
1612
|
}
|
|
1613
1613
|
return e;
|
|
1614
1614
|
}
|
|
1615
|
-
function
|
|
1615
|
+
function Pe(e, t, i = /* @__PURE__ */ new WeakSet()) {
|
|
1616
1616
|
if (!(!ue(t) || !ue(e)) && !(t === e || i.has(t))) {
|
|
1617
1617
|
i.add(t);
|
|
1618
1618
|
for (const n in t) if (Object.hasOwn(t, n)) {
|
|
1619
1619
|
const o = t[n], s = e[n];
|
|
1620
|
-
ue(o) && ue(s) ?
|
|
1620
|
+
ue(o) && ue(s) ? Pe(s, o, i) : Array.isArray(o) && Array.isArray(s) ? e[n] = et(s, o, i) : e[n] = we(o, i);
|
|
1621
1621
|
}
|
|
1622
1622
|
}
|
|
1623
1623
|
}
|
|
1624
|
-
function
|
|
1624
|
+
function et(e, t, i) {
|
|
1625
1625
|
const n = e.slice();
|
|
1626
1626
|
for (let o = 0; o < t.length; o++) {
|
|
1627
1627
|
const s = t[o], u = n[o];
|
|
1628
1628
|
if (ue(s) && ue(u)) {
|
|
1629
1629
|
const d = { ...u };
|
|
1630
|
-
|
|
1631
|
-
} else Array.isArray(s) && Array.isArray(u) ? n[o] =
|
|
1630
|
+
Pe(d, s, i), n[o] = d;
|
|
1631
|
+
} else Array.isArray(s) && Array.isArray(u) ? n[o] = et(u, s, i) : n[o] = we(s, i);
|
|
1632
1632
|
}
|
|
1633
1633
|
return n;
|
|
1634
1634
|
}
|
|
1635
|
-
function
|
|
1635
|
+
function $e(e, ...t) {
|
|
1636
1636
|
if (!ue(e)) throw new TypeError("Target must be a plain object");
|
|
1637
1637
|
const i = /* @__PURE__ */ new WeakSet();
|
|
1638
|
-
for (const n of t) n != null &&
|
|
1638
|
+
for (const n of t) n != null && Pe(e, n, i);
|
|
1639
1639
|
return e;
|
|
1640
1640
|
}
|
|
1641
1641
|
var Z = [];
|
|
1642
1642
|
for (let e = 0; e < 256; ++e) Z.push((e + 256).toString(16).slice(1));
|
|
1643
|
-
function
|
|
1643
|
+
function wi(e, t = 0) {
|
|
1644
1644
|
return (Z[e[t + 0]] + Z[e[t + 1]] + Z[e[t + 2]] + Z[e[t + 3]] + "-" + Z[e[t + 4]] + Z[e[t + 5]] + "-" + Z[e[t + 6]] + Z[e[t + 7]] + "-" + Z[e[t + 8]] + Z[e[t + 9]] + "-" + Z[e[t + 10]] + Z[e[t + 11]] + Z[e[t + 12]] + Z[e[t + 13]] + Z[e[t + 14]] + Z[e[t + 15]]).toLowerCase();
|
|
1645
1645
|
}
|
|
1646
|
-
var
|
|
1647
|
-
function
|
|
1648
|
-
|
|
1649
|
-
if (typeof crypto > "u" || !crypto.getRandomValues) throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
1650
|
-
De = crypto.getRandomValues.bind(crypto);
|
|
1651
|
-
}
|
|
1652
|
-
return De(Ti);
|
|
1646
|
+
var Ri = new Uint8Array(16);
|
|
1647
|
+
function ki() {
|
|
1648
|
+
return crypto.getRandomValues(Ri);
|
|
1653
1649
|
}
|
|
1654
|
-
|
|
1655
|
-
|
|
1650
|
+
function Ti(e, t, i) {
|
|
1651
|
+
return !t && !e && crypto.randomUUID ? crypto.randomUUID() : Mi(e, t, i);
|
|
1652
|
+
}
|
|
1653
|
+
function Mi(e, t, i) {
|
|
1656
1654
|
e = e || {};
|
|
1657
|
-
const n = e.random ?? e.rng?.() ??
|
|
1655
|
+
const n = e.random ?? e.rng?.() ?? ki();
|
|
1658
1656
|
if (n.length < 16) throw new Error("Random bytes length must be >= 16");
|
|
1659
1657
|
if (n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, t) {
|
|
1660
1658
|
if (i = i || 0, i < 0 || i + 16 > t.length) throw new RangeError(`UUID byte range ${i}:${i + 15} is out of buffer bounds`);
|
|
1661
1659
|
for (let o = 0; o < 16; ++o) t[i + o] = n[o];
|
|
1662
1660
|
return t;
|
|
1663
1661
|
}
|
|
1664
|
-
return
|
|
1665
|
-
}
|
|
1666
|
-
function Di(e, t, i) {
|
|
1667
|
-
return qe.randomUUID && !t && !e ? qe.randomUUID() : Ii(e, t, i);
|
|
1662
|
+
return wi(n);
|
|
1668
1663
|
}
|
|
1669
|
-
var
|
|
1664
|
+
var Ci = 1500, Ii = class pe {
|
|
1670
1665
|
static instance = null;
|
|
1671
1666
|
defaultOptions = {
|
|
1672
1667
|
callCount: 1,
|
|
1673
|
-
interval:
|
|
1668
|
+
interval: Ci,
|
|
1674
1669
|
maxCallCount: 20,
|
|
1675
1670
|
minCallCount: 1
|
|
1676
1671
|
};
|
|
@@ -1736,11 +1731,11 @@ var bi = 1500, vi = class pe {
|
|
|
1736
1731
|
t.type && this.pollings[t.type] && delete this.pollings[t.type];
|
|
1737
1732
|
}
|
|
1738
1733
|
storeCurrentPolling(t) {
|
|
1739
|
-
t.type && !t.uuid && (t.uuid =
|
|
1734
|
+
t.type && !t.uuid && (t.uuid = Ti(), this.pollings[t.type] = t.uuid);
|
|
1740
1735
|
}
|
|
1741
1736
|
};
|
|
1742
|
-
function
|
|
1743
|
-
const n =
|
|
1737
|
+
function tt(e, t, i) {
|
|
1738
|
+
const n = Ii.getInstance();
|
|
1744
1739
|
return n.poll(e, t), i && typeof i == "function" ? (n.on("data", (o) => {
|
|
1745
1740
|
o instanceof Error ? i(o, void 0, n) : i(null, o, n);
|
|
1746
1741
|
}), n.on("error", (o) => {
|
|
@@ -1751,7 +1746,7 @@ function nt(e, t, i) {
|
|
|
1751
1746
|
});
|
|
1752
1747
|
});
|
|
1753
1748
|
}
|
|
1754
|
-
var
|
|
1749
|
+
var Di = class {
|
|
1755
1750
|
constructor() {
|
|
1756
1751
|
this._map = /* @__PURE__ */ new Map(), this._idmap = /* @__PURE__ */ new Map();
|
|
1757
1752
|
}
|
|
@@ -1785,12 +1780,12 @@ var Ni = class {
|
|
|
1785
1780
|
return this._map.has(e);
|
|
1786
1781
|
}
|
|
1787
1782
|
};
|
|
1788
|
-
function
|
|
1789
|
-
return new
|
|
1783
|
+
function bi() {
|
|
1784
|
+
return new Di();
|
|
1790
1785
|
}
|
|
1791
|
-
var
|
|
1786
|
+
var Jo = bi(), vi = "http://localhost".replace(/\/+$/, ""), Ni = (e) => typeof Blob < "u" && e instanceof Blob, ie = class {
|
|
1792
1787
|
middleware;
|
|
1793
|
-
constructor(e = new
|
|
1788
|
+
constructor(e = new it()) {
|
|
1794
1789
|
this.configuration = e, this.middleware = e.middleware;
|
|
1795
1790
|
}
|
|
1796
1791
|
withMiddleware(...e) {
|
|
@@ -1808,18 +1803,18 @@ var $o = Pi(), Ei = "http://localhost".replace(/\/+$/, ""), Li = (e) => typeof B
|
|
|
1808
1803
|
async request(e, t) {
|
|
1809
1804
|
const { url: i, init: n } = this.createFetchParams(e, t), o = await this.fetchApi(i, n);
|
|
1810
1805
|
if (o.status >= 200 && o.status < 300) return o;
|
|
1811
|
-
throw new
|
|
1806
|
+
throw new Pi(o, "Response returned an error code");
|
|
1812
1807
|
}
|
|
1813
1808
|
createFetchParams(e, t) {
|
|
1814
1809
|
let i = this.configuration.basePath + e.path;
|
|
1815
1810
|
e.query !== void 0 && Object.keys(e.query).length !== 0 && (i += "?" + this.configuration.queryParamsStringify(e.query));
|
|
1816
|
-
const n = typeof FormData < "u" && e.body instanceof FormData || e.body instanceof URLSearchParams ||
|
|
1811
|
+
const n = typeof FormData < "u" && e.body instanceof FormData || e.body instanceof URLSearchParams || Ni(e.body) ? e.body : JSON.stringify(e.body), o = Object.assign({}, this.configuration.headers, e.headers);
|
|
1817
1812
|
Object.keys(o).forEach((u) => o[u] === void 0 ? delete o[u] : {});
|
|
1818
1813
|
const s = {
|
|
1819
1814
|
method: e.method,
|
|
1820
1815
|
body: n,
|
|
1821
1816
|
credentials: this.configuration.credentials,
|
|
1822
|
-
|
|
1817
|
+
...$e({}, t, { headers: $e({}, o, t?.headers) })
|
|
1823
1818
|
};
|
|
1824
1819
|
return {
|
|
1825
1820
|
url: i,
|
|
@@ -1848,27 +1843,27 @@ var $o = Pi(), Ei = "http://localhost".replace(/\/+$/, ""), Li = (e) => typeof B
|
|
|
1848
1843
|
const e = this.constructor, t = new e(this.configuration);
|
|
1849
1844
|
return t.middleware = this.middleware.slice(), t;
|
|
1850
1845
|
}
|
|
1851
|
-
},
|
|
1846
|
+
}, Pi = class extends Error {
|
|
1852
1847
|
name = "ResponseError";
|
|
1853
1848
|
constructor(e, t) {
|
|
1854
1849
|
super(t), this.response = e;
|
|
1855
1850
|
}
|
|
1856
|
-
},
|
|
1851
|
+
}, K = class extends Error {
|
|
1857
1852
|
name = "RequiredError";
|
|
1858
1853
|
constructor(e, t) {
|
|
1859
1854
|
super(t), this.field = e;
|
|
1860
1855
|
}
|
|
1861
|
-
},
|
|
1856
|
+
}, Uo = {
|
|
1862
1857
|
csv: ",",
|
|
1863
1858
|
ssv: " ",
|
|
1864
1859
|
tsv: " ",
|
|
1865
1860
|
pipes: "|"
|
|
1866
|
-
},
|
|
1861
|
+
}, it = class {
|
|
1867
1862
|
constructor(e = {}) {
|
|
1868
1863
|
this.configuration = e;
|
|
1869
1864
|
}
|
|
1870
1865
|
get basePath() {
|
|
1871
|
-
return this.configuration.basePath != null ? this.configuration.basePath :
|
|
1866
|
+
return this.configuration.basePath != null ? this.configuration.basePath : vi;
|
|
1872
1867
|
}
|
|
1873
1868
|
get fetchApi() {
|
|
1874
1869
|
return this.configuration.fetchApi;
|
|
@@ -1877,7 +1872,7 @@ var $o = Pi(), Ei = "http://localhost".replace(/\/+$/, ""), Li = (e) => typeof B
|
|
|
1877
1872
|
return this.configuration.middleware || [];
|
|
1878
1873
|
}
|
|
1879
1874
|
get queryParamsStringify() {
|
|
1880
|
-
return this.configuration.queryParamsStringify ||
|
|
1875
|
+
return this.configuration.queryParamsStringify || nt;
|
|
1881
1876
|
}
|
|
1882
1877
|
get username() {
|
|
1883
1878
|
return this.configuration.username;
|
|
@@ -1904,160 +1899,160 @@ function r(e, t) {
|
|
|
1904
1899
|
const i = e[t];
|
|
1905
1900
|
return i != null;
|
|
1906
1901
|
}
|
|
1907
|
-
function
|
|
1902
|
+
function nt(e, t = "") {
|
|
1908
1903
|
return Object.keys(e).map((i) => {
|
|
1909
1904
|
const n = t + (t.length ? `[${i}]` : i), o = e[i];
|
|
1910
1905
|
if (o instanceof Array) {
|
|
1911
1906
|
const s = o.map((u) => encodeURIComponent(String(u))).join(`&${encodeURIComponent(n)}=`);
|
|
1912
1907
|
return `${encodeURIComponent(n)}=${s}`;
|
|
1913
1908
|
}
|
|
1914
|
-
return o instanceof Date ? `${encodeURIComponent(n)}=${encodeURIComponent(o.toISOString())}` : o instanceof Object ?
|
|
1909
|
+
return o instanceof Date ? `${encodeURIComponent(n)}=${encodeURIComponent(o.toISOString())}` : o instanceof Object ? nt(o, n) : `${encodeURIComponent(n)}=${encodeURIComponent(String(o))}`;
|
|
1915
1910
|
}).filter((i) => i.length > 0).join("&");
|
|
1916
1911
|
}
|
|
1917
|
-
function
|
|
1912
|
+
function Go(e, t) {
|
|
1918
1913
|
return Object.keys(e).reduce((i, n) => ({
|
|
1919
1914
|
...i,
|
|
1920
1915
|
[n]: t(e[n])
|
|
1921
1916
|
}), {});
|
|
1922
1917
|
}
|
|
1923
|
-
function
|
|
1918
|
+
function $o(e) {
|
|
1924
1919
|
for (const t of e) if (t.contentType === "multipart/form-data") return !0;
|
|
1925
1920
|
return !1;
|
|
1926
1921
|
}
|
|
1927
|
-
var
|
|
1922
|
+
var q = class {
|
|
1928
1923
|
constructor(e, t = (i) => i) {
|
|
1929
1924
|
this.raw = e, this.transformer = t;
|
|
1930
1925
|
}
|
|
1931
1926
|
async value() {
|
|
1932
1927
|
return this.transformer(await this.raw.json());
|
|
1933
1928
|
}
|
|
1934
|
-
},
|
|
1929
|
+
}, qo = class {
|
|
1935
1930
|
constructor(e) {
|
|
1936
1931
|
this.raw = e;
|
|
1937
1932
|
}
|
|
1938
1933
|
async value() {
|
|
1939
1934
|
}
|
|
1940
|
-
},
|
|
1935
|
+
}, Ko = class {
|
|
1941
1936
|
constructor(e) {
|
|
1942
1937
|
this.raw = e;
|
|
1943
1938
|
}
|
|
1944
1939
|
async value() {
|
|
1945
1940
|
return await this.raw.blob();
|
|
1946
1941
|
}
|
|
1947
|
-
},
|
|
1942
|
+
}, Ei = class {
|
|
1948
1943
|
constructor(e) {
|
|
1949
1944
|
this.raw = e;
|
|
1950
1945
|
}
|
|
1951
1946
|
async value() {
|
|
1952
1947
|
return await this.raw.text();
|
|
1953
1948
|
}
|
|
1954
|
-
},
|
|
1955
|
-
function
|
|
1949
|
+
}, Yo = { CreditCard: "CREDIT_CARD" };
|
|
1950
|
+
function Li(e) {
|
|
1956
1951
|
let t = !0;
|
|
1957
1952
|
return t = t && "name" in e, t;
|
|
1958
1953
|
}
|
|
1959
|
-
function
|
|
1960
|
-
return
|
|
1954
|
+
function zo(e) {
|
|
1955
|
+
return rt(e, !1);
|
|
1961
1956
|
}
|
|
1962
|
-
function
|
|
1957
|
+
function rt(e, t) {
|
|
1963
1958
|
return e == null ? e : { name: e.name };
|
|
1964
1959
|
}
|
|
1965
|
-
function
|
|
1960
|
+
function Hi(e) {
|
|
1966
1961
|
if (e !== void 0)
|
|
1967
1962
|
return e === null ? null : { name: e.name };
|
|
1968
1963
|
}
|
|
1969
|
-
var
|
|
1970
|
-
function
|
|
1964
|
+
var Vo = { Coupon: "COUPON" };
|
|
1965
|
+
function Bi(e) {
|
|
1971
1966
|
let t = !0;
|
|
1972
1967
|
return t = t && "name" in e, t;
|
|
1973
1968
|
}
|
|
1974
|
-
function
|
|
1975
|
-
return
|
|
1969
|
+
function Zo(e) {
|
|
1970
|
+
return ot(e, !1);
|
|
1976
1971
|
}
|
|
1977
|
-
function
|
|
1972
|
+
function ot(e, t) {
|
|
1978
1973
|
return e == null ? e : { name: e.name };
|
|
1979
1974
|
}
|
|
1980
|
-
function
|
|
1975
|
+
function Fi(e) {
|
|
1981
1976
|
if (e !== void 0)
|
|
1982
1977
|
return e === null ? null : { name: e.name };
|
|
1983
1978
|
}
|
|
1984
|
-
var
|
|
1985
|
-
function
|
|
1979
|
+
var Wo = { DepositAccount: "DEPOSIT_ACCOUNT" };
|
|
1980
|
+
function xi(e) {
|
|
1986
1981
|
let t = !0;
|
|
1987
1982
|
return t = t && "name" in e, t;
|
|
1988
1983
|
}
|
|
1989
|
-
function
|
|
1990
|
-
return
|
|
1984
|
+
function Xo(e) {
|
|
1985
|
+
return at(e, !1);
|
|
1991
1986
|
}
|
|
1992
|
-
function
|
|
1987
|
+
function at(e, t) {
|
|
1993
1988
|
return e == null ? e : { name: e.name };
|
|
1994
1989
|
}
|
|
1995
|
-
function
|
|
1990
|
+
function Ji(e) {
|
|
1996
1991
|
if (e !== void 0)
|
|
1997
1992
|
return e === null ? null : { name: e.name };
|
|
1998
1993
|
}
|
|
1999
|
-
var
|
|
1994
|
+
var Qo = {
|
|
2000
1995
|
Disabled: "DISABLED",
|
|
2001
1996
|
Enabled: "ENABLED",
|
|
2002
1997
|
Forced: "FORCED"
|
|
2003
1998
|
};
|
|
2004
|
-
function
|
|
1999
|
+
function jo(e) {
|
|
2005
2000
|
let t = !0;
|
|
2006
2001
|
return t = t && "status" in e, t;
|
|
2007
2002
|
}
|
|
2008
|
-
function
|
|
2009
|
-
return
|
|
2003
|
+
function Ui(e) {
|
|
2004
|
+
return Gi(e, !1);
|
|
2010
2005
|
}
|
|
2011
|
-
function
|
|
2006
|
+
function Gi(e, t) {
|
|
2012
2007
|
return e == null ? e : { status: e.status };
|
|
2013
2008
|
}
|
|
2014
|
-
function
|
|
2009
|
+
function $i(e) {
|
|
2015
2010
|
if (e !== void 0)
|
|
2016
2011
|
return e === null ? null : { status: e.status };
|
|
2017
2012
|
}
|
|
2018
|
-
var
|
|
2019
|
-
function
|
|
2013
|
+
var ea = { PayLater: "PAY_LATER" };
|
|
2014
|
+
function qi(e) {
|
|
2020
2015
|
let t = !0;
|
|
2021
2016
|
return t = t && "name" in e, t = t && "payload" in e, t;
|
|
2022
2017
|
}
|
|
2023
|
-
function
|
|
2024
|
-
return
|
|
2018
|
+
function ta(e) {
|
|
2019
|
+
return ct(e, !1);
|
|
2025
2020
|
}
|
|
2026
|
-
function
|
|
2021
|
+
function ct(e, t) {
|
|
2027
2022
|
return e == null ? e : {
|
|
2028
2023
|
name: e.name,
|
|
2029
|
-
payload:
|
|
2024
|
+
payload: Ui(e.payload)
|
|
2030
2025
|
};
|
|
2031
2026
|
}
|
|
2032
|
-
function
|
|
2027
|
+
function Ki(e) {
|
|
2033
2028
|
if (e !== void 0)
|
|
2034
2029
|
return e === null ? null : {
|
|
2035
2030
|
name: e.name,
|
|
2036
|
-
payload:
|
|
2031
|
+
payload: $i(e.payload)
|
|
2037
2032
|
};
|
|
2038
2033
|
}
|
|
2039
|
-
function
|
|
2040
|
-
return
|
|
2034
|
+
function Yi(e) {
|
|
2035
|
+
return zi(e, !1);
|
|
2041
2036
|
}
|
|
2042
|
-
function
|
|
2037
|
+
function zi(e, t) {
|
|
2043
2038
|
return e == null ? e : {
|
|
2039
|
+
...rt(e, !0),
|
|
2040
|
+
...ot(e, !0),
|
|
2044
2041
|
...at(e, !0),
|
|
2045
|
-
...ct(e, !0)
|
|
2046
|
-
...st(e, !0),
|
|
2047
|
-
...dt(e, !0)
|
|
2042
|
+
...ct(e, !0)
|
|
2048
2043
|
};
|
|
2049
2044
|
}
|
|
2050
|
-
function
|
|
2045
|
+
function ia(e) {
|
|
2051
2046
|
if (e !== void 0)
|
|
2052
|
-
return e === null ? null :
|
|
2047
|
+
return e === null ? null : Li(e) ? Hi(e) : Bi(e) ? Fi(e) : xi(e) ? Ji(e) : qi(e) ? Ki(e) : {};
|
|
2053
2048
|
}
|
|
2054
|
-
function
|
|
2049
|
+
function na(e) {
|
|
2055
2050
|
return !0;
|
|
2056
2051
|
}
|
|
2057
|
-
function
|
|
2058
|
-
return
|
|
2052
|
+
function st(e) {
|
|
2053
|
+
return Vi(e, !1);
|
|
2059
2054
|
}
|
|
2060
|
-
function
|
|
2055
|
+
function Vi(e, t) {
|
|
2061
2056
|
return e == null ? e : {
|
|
2062
2057
|
airConditioning: r(e, "air_conditioning") ? e.air_conditioning : void 0,
|
|
2063
2058
|
airportTransportation: r(e, "airport_transportation") ? e.airport_transportation : void 0,
|
|
@@ -2105,7 +2100,7 @@ function Xi(e, t) {
|
|
|
2105
2100
|
whirpool: r(e, "whirpool") ? e.whirpool : void 0
|
|
2106
2101
|
};
|
|
2107
2102
|
}
|
|
2108
|
-
function
|
|
2103
|
+
function dt(e) {
|
|
2109
2104
|
if (e !== void 0)
|
|
2110
2105
|
return e === null ? null : {
|
|
2111
2106
|
air_conditioning: e.airConditioning,
|
|
@@ -2154,21 +2149,21 @@ function ft(e) {
|
|
|
2154
2149
|
whirpool: e.whirpool
|
|
2155
2150
|
};
|
|
2156
2151
|
}
|
|
2157
|
-
function
|
|
2152
|
+
function ra(e) {
|
|
2158
2153
|
let t = !0;
|
|
2159
2154
|
return t = t && "count" in e, t = t && "name" in e, t = t && "occupancy" in e, t;
|
|
2160
2155
|
}
|
|
2161
|
-
function
|
|
2162
|
-
return
|
|
2156
|
+
function oa(e) {
|
|
2157
|
+
return Zi(e, !1);
|
|
2163
2158
|
}
|
|
2164
|
-
function
|
|
2159
|
+
function Zi(e, t) {
|
|
2165
2160
|
return e == null ? e : {
|
|
2166
2161
|
count: e.count,
|
|
2167
2162
|
name: e.name,
|
|
2168
2163
|
occupancy: e.occupancy
|
|
2169
2164
|
};
|
|
2170
2165
|
}
|
|
2171
|
-
function
|
|
2166
|
+
function aa(e) {
|
|
2172
2167
|
if (e !== void 0)
|
|
2173
2168
|
return e === null ? null : {
|
|
2174
2169
|
count: e.count,
|
|
@@ -2176,21 +2171,21 @@ function da(e) {
|
|
|
2176
2171
|
occupancy: e.occupancy
|
|
2177
2172
|
};
|
|
2178
2173
|
}
|
|
2179
|
-
function
|
|
2174
|
+
function ca(e) {
|
|
2180
2175
|
let t = !0;
|
|
2181
2176
|
return t = t && "dateFrom" in e, t = t && "dateTo" in e, t = t && "penaltyPercentage" in e, t;
|
|
2182
2177
|
}
|
|
2183
|
-
function
|
|
2184
|
-
return
|
|
2178
|
+
function Ee(e) {
|
|
2179
|
+
return Wi(e, !1);
|
|
2185
2180
|
}
|
|
2186
|
-
function
|
|
2181
|
+
function Wi(e, t) {
|
|
2187
2182
|
return e == null ? e : {
|
|
2188
2183
|
dateFrom: e.date_from,
|
|
2189
2184
|
dateTo: e.date_to,
|
|
2190
2185
|
penaltyPercentage: e.penalty_percentage
|
|
2191
2186
|
};
|
|
2192
2187
|
}
|
|
2193
|
-
function
|
|
2188
|
+
function Le(e) {
|
|
2194
2189
|
if (e !== void 0)
|
|
2195
2190
|
return e === null ? null : {
|
|
2196
2191
|
date_from: e.dateFrom,
|
|
@@ -2198,7 +2193,7 @@ function Be(e) {
|
|
|
2198
2193
|
penalty_percentage: e.penaltyPercentage
|
|
2199
2194
|
};
|
|
2200
2195
|
}
|
|
2201
|
-
var
|
|
2196
|
+
var sa = {
|
|
2202
2197
|
Ad: "AD",
|
|
2203
2198
|
Ae: "AE",
|
|
2204
2199
|
Af: "AF",
|
|
@@ -2443,34 +2438,34 @@ var fa = {
|
|
|
2443
2438
|
Zm: "ZM",
|
|
2444
2439
|
Zw: "ZW"
|
|
2445
2440
|
};
|
|
2446
|
-
function
|
|
2447
|
-
return
|
|
2441
|
+
function De(e) {
|
|
2442
|
+
return Xi(e, !1);
|
|
2448
2443
|
}
|
|
2449
|
-
function
|
|
2444
|
+
function Xi(e, t) {
|
|
2450
2445
|
return e;
|
|
2451
2446
|
}
|
|
2452
|
-
function
|
|
2447
|
+
function da(e) {
|
|
2453
2448
|
return e;
|
|
2454
2449
|
}
|
|
2455
|
-
function
|
|
2450
|
+
function ua(e) {
|
|
2456
2451
|
let t = !0;
|
|
2457
2452
|
return t = t && "address" in e, t = t && "city" in e, t = t && "country" in e, t = t && "name" in e, t = t && "zipCode" in e, t;
|
|
2458
2453
|
}
|
|
2459
|
-
function
|
|
2460
|
-
return
|
|
2454
|
+
function Qi(e) {
|
|
2455
|
+
return ji(e, !1);
|
|
2461
2456
|
}
|
|
2462
|
-
function
|
|
2457
|
+
function ji(e, t) {
|
|
2463
2458
|
return e == null ? e : {
|
|
2464
2459
|
address: e.address,
|
|
2465
2460
|
city: e.city,
|
|
2466
|
-
country:
|
|
2461
|
+
country: De(e.country),
|
|
2467
2462
|
name: e.name,
|
|
2468
2463
|
state: r(e, "state") ? e.state : void 0,
|
|
2469
2464
|
vatNumber: r(e, "vat_number") ? e.vat_number : void 0,
|
|
2470
2465
|
zipCode: e.zip_code
|
|
2471
2466
|
};
|
|
2472
2467
|
}
|
|
2473
|
-
function
|
|
2468
|
+
function en(e) {
|
|
2474
2469
|
if (e !== void 0)
|
|
2475
2470
|
return e === null ? null : {
|
|
2476
2471
|
address: e.address,
|
|
@@ -2482,7 +2477,7 @@ function rn(e) {
|
|
|
2482
2477
|
zip_code: e.zipCode
|
|
2483
2478
|
};
|
|
2484
2479
|
}
|
|
2485
|
-
var
|
|
2480
|
+
var fa = {
|
|
2486
2481
|
DeDe: "de-DE",
|
|
2487
2482
|
EnUs: "en-US",
|
|
2488
2483
|
EsEs: "es-ES",
|
|
@@ -2492,15 +2487,15 @@ var ha = {
|
|
|
2492
2487
|
PtPt: "pt-PT"
|
|
2493
2488
|
};
|
|
2494
2489
|
function He(e) {
|
|
2495
|
-
return
|
|
2490
|
+
return tn(e, !1);
|
|
2496
2491
|
}
|
|
2497
|
-
function
|
|
2492
|
+
function tn(e, t) {
|
|
2498
2493
|
return e;
|
|
2499
2494
|
}
|
|
2500
|
-
function
|
|
2495
|
+
function la(e) {
|
|
2501
2496
|
return e;
|
|
2502
2497
|
}
|
|
2503
|
-
var
|
|
2498
|
+
var ma = {
|
|
2504
2499
|
Dr: "dr",
|
|
2505
2500
|
Mr: "mr",
|
|
2506
2501
|
Mrs: "mrs",
|
|
@@ -2508,24 +2503,24 @@ var ya = {
|
|
|
2508
2503
|
NotSpecified: "notSpecified",
|
|
2509
2504
|
Prof: "prof"
|
|
2510
2505
|
};
|
|
2511
|
-
function
|
|
2506
|
+
function ha(e) {
|
|
2512
2507
|
let t = !0;
|
|
2513
2508
|
return t = t && "email" in e, t = t && "firstName" in e, t = t && "lastName" in e, t = t && "nationality" in e, t = t && "phone" in e, t;
|
|
2514
2509
|
}
|
|
2515
|
-
function
|
|
2516
|
-
return
|
|
2510
|
+
function ut(e) {
|
|
2511
|
+
return nn(e, !1);
|
|
2517
2512
|
}
|
|
2518
|
-
function
|
|
2513
|
+
function nn(e, t) {
|
|
2519
2514
|
return e == null ? e : {
|
|
2520
2515
|
address: r(e, "address") ? e.address : void 0,
|
|
2521
2516
|
city: r(e, "city") ? e.city : void 0,
|
|
2522
|
-
country: r(e, "country") ?
|
|
2517
|
+
country: r(e, "country") ? De(e.country) : void 0,
|
|
2523
2518
|
email: e.email,
|
|
2524
2519
|
firstName: e.first_name,
|
|
2525
2520
|
lang: r(e, "lang") ? He(e.lang) : void 0,
|
|
2526
2521
|
lastName: e.last_name,
|
|
2527
|
-
nationality:
|
|
2528
|
-
organization: r(e, "organization") ?
|
|
2522
|
+
nationality: De(e.nationality),
|
|
2523
|
+
organization: r(e, "organization") ? Qi(e.organization) : void 0,
|
|
2529
2524
|
phone: e.phone,
|
|
2530
2525
|
remarks: r(e, "remarks") ? e.remarks : void 0,
|
|
2531
2526
|
salutation: r(e, "salutation") ? e.salutation : void 0,
|
|
@@ -2533,7 +2528,7 @@ function an(e, t) {
|
|
|
2533
2528
|
zipCode: r(e, "zip_code") ? e.zip_code : void 0
|
|
2534
2529
|
};
|
|
2535
2530
|
}
|
|
2536
|
-
function
|
|
2531
|
+
function ft(e) {
|
|
2537
2532
|
if (e !== void 0)
|
|
2538
2533
|
return e === null ? null : {
|
|
2539
2534
|
address: e.address,
|
|
@@ -2544,7 +2539,7 @@ function mt(e) {
|
|
|
2544
2539
|
lang: e.lang,
|
|
2545
2540
|
last_name: e.lastName,
|
|
2546
2541
|
nationality: e.nationality,
|
|
2547
|
-
organization:
|
|
2542
|
+
organization: en(e.organization),
|
|
2548
2543
|
phone: e.phone,
|
|
2549
2544
|
remarks: e.remarks,
|
|
2550
2545
|
salutation: e.salutation,
|
|
@@ -2552,7 +2547,7 @@ function mt(e) {
|
|
|
2552
2547
|
zip_code: e.zipCode
|
|
2553
2548
|
};
|
|
2554
2549
|
}
|
|
2555
|
-
var
|
|
2550
|
+
var pa = {
|
|
2556
2551
|
Aed: "AED",
|
|
2557
2552
|
Afn: "AFN",
|
|
2558
2553
|
All: "ALL",
|
|
@@ -2693,41 +2688,41 @@ var _a = {
|
|
|
2693
2688
|
Zmw: "ZMW"
|
|
2694
2689
|
};
|
|
2695
2690
|
function ce(e) {
|
|
2696
|
-
return
|
|
2691
|
+
return rn(e, !1);
|
|
2697
2692
|
}
|
|
2698
|
-
function
|
|
2693
|
+
function rn(e, t) {
|
|
2699
2694
|
return e;
|
|
2700
2695
|
}
|
|
2701
|
-
function
|
|
2696
|
+
function ya(e) {
|
|
2702
2697
|
return e;
|
|
2703
2698
|
}
|
|
2704
|
-
function
|
|
2699
|
+
function ga(e) {
|
|
2705
2700
|
return !0;
|
|
2706
2701
|
}
|
|
2707
|
-
function
|
|
2708
|
-
return
|
|
2702
|
+
function on(e) {
|
|
2703
|
+
return an(e, !1);
|
|
2709
2704
|
}
|
|
2710
|
-
function
|
|
2705
|
+
function an(e, t) {
|
|
2711
2706
|
return e == null ? e : {
|
|
2712
2707
|
name: r(e, "name") ? e.name : void 0,
|
|
2713
2708
|
slug: r(e, "slug") ? e.slug : void 0
|
|
2714
2709
|
};
|
|
2715
2710
|
}
|
|
2716
|
-
function
|
|
2711
|
+
function cn(e) {
|
|
2717
2712
|
if (e !== void 0)
|
|
2718
2713
|
return e === null ? null : {
|
|
2719
2714
|
name: e.name,
|
|
2720
2715
|
slug: e.slug
|
|
2721
2716
|
};
|
|
2722
2717
|
}
|
|
2723
|
-
function
|
|
2718
|
+
function _a(e) {
|
|
2724
2719
|
let t = !0;
|
|
2725
2720
|
return t = t && "isHeroImage" in e, t = t && "l" in e, t = t && "m" in e, t = t && "s" in e, t = t && "xl" in e, t = t && "xs" in e, t;
|
|
2726
2721
|
}
|
|
2727
2722
|
function le(e) {
|
|
2728
|
-
return
|
|
2723
|
+
return sn(e, !1);
|
|
2729
2724
|
}
|
|
2730
|
-
function
|
|
2725
|
+
function sn(e, t) {
|
|
2731
2726
|
return e == null ? e : {
|
|
2732
2727
|
caption: r(e, "caption") ? e.caption : void 0,
|
|
2733
2728
|
isHeroImage: e.is_hero_image,
|
|
@@ -2750,14 +2745,14 @@ function ye(e) {
|
|
|
2750
2745
|
xs: e.xs
|
|
2751
2746
|
};
|
|
2752
2747
|
}
|
|
2753
|
-
function
|
|
2748
|
+
function Oa(e) {
|
|
2754
2749
|
let t = !0;
|
|
2755
2750
|
return t = t && "beds" in e, t = t && "bedsPretty" in e, t = t && "count" in e, t = t && "description" in e, t = t && "id" in e, t = t && "occupancy" in e, t;
|
|
2756
2751
|
}
|
|
2757
|
-
function
|
|
2758
|
-
return
|
|
2752
|
+
function dn(e) {
|
|
2753
|
+
return un(e, !1);
|
|
2759
2754
|
}
|
|
2760
|
-
function
|
|
2755
|
+
function un(e, t) {
|
|
2761
2756
|
return e == null ? e : {
|
|
2762
2757
|
amenities: r(e, "amenities") ? e.amenities : void 0,
|
|
2763
2758
|
beds: e.beds,
|
|
@@ -2776,7 +2771,7 @@ function mn(e, t) {
|
|
|
2776
2771
|
thumbImages: r(e, "thumb_images") ? e.thumb_images : void 0
|
|
2777
2772
|
};
|
|
2778
2773
|
}
|
|
2779
|
-
function
|
|
2774
|
+
function fn(e) {
|
|
2780
2775
|
if (e !== void 0)
|
|
2781
2776
|
return e === null ? null : {
|
|
2782
2777
|
amenities: e.amenities,
|
|
@@ -2796,7 +2791,7 @@ function hn(e) {
|
|
|
2796
2791
|
thumb_images: e.thumbImages
|
|
2797
2792
|
};
|
|
2798
2793
|
}
|
|
2799
|
-
var
|
|
2794
|
+
var Aa = {
|
|
2800
2795
|
Ad: "AD",
|
|
2801
2796
|
Ae: "AE",
|
|
2802
2797
|
Af: "AF",
|
|
@@ -3042,22 +3037,22 @@ var Ra = {
|
|
|
3042
3037
|
Zw: "ZW"
|
|
3043
3038
|
};
|
|
3044
3039
|
function ge(e) {
|
|
3045
|
-
return
|
|
3040
|
+
return ln(e, !1);
|
|
3046
3041
|
}
|
|
3047
|
-
function
|
|
3042
|
+
function ln(e, t) {
|
|
3048
3043
|
return e;
|
|
3049
3044
|
}
|
|
3050
|
-
function
|
|
3045
|
+
function Sa(e) {
|
|
3051
3046
|
return e;
|
|
3052
3047
|
}
|
|
3053
|
-
function
|
|
3048
|
+
function wa(e) {
|
|
3054
3049
|
let t = !0;
|
|
3055
3050
|
return t = t && "name" in e, t;
|
|
3056
3051
|
}
|
|
3057
|
-
function
|
|
3058
|
-
return
|
|
3052
|
+
function Be(e) {
|
|
3053
|
+
return mn(e, !1);
|
|
3059
3054
|
}
|
|
3060
|
-
function
|
|
3055
|
+
function mn(e, t) {
|
|
3061
3056
|
return e == null ? e : {
|
|
3062
3057
|
bg: r(e, "bg") ? e.bg : void 0,
|
|
3063
3058
|
color: r(e, "color") ? e.color : void 0,
|
|
@@ -3066,7 +3061,7 @@ function yn(e, t) {
|
|
|
3066
3061
|
name: e.name
|
|
3067
3062
|
};
|
|
3068
3063
|
}
|
|
3069
|
-
function
|
|
3064
|
+
function Fe(e) {
|
|
3070
3065
|
if (e !== void 0)
|
|
3071
3066
|
return e === null ? null : {
|
|
3072
3067
|
bg: e.bg,
|
|
@@ -3076,21 +3071,21 @@ function xe(e) {
|
|
|
3076
3071
|
name: e.name
|
|
3077
3072
|
};
|
|
3078
3073
|
}
|
|
3079
|
-
var
|
|
3074
|
+
var Ra = {
|
|
3080
3075
|
Night: "PER_NIGHT",
|
|
3081
3076
|
Stay: "PER_STAY"
|
|
3082
|
-
},
|
|
3077
|
+
}, ka = {
|
|
3083
3078
|
Adult: "PER_ADULT",
|
|
3084
3079
|
Booking: "PER_BOOKING"
|
|
3085
3080
|
};
|
|
3086
|
-
function
|
|
3081
|
+
function Ta(e) {
|
|
3087
3082
|
let t = !0;
|
|
3088
3083
|
return t = t && "taxFrequency" in e, t = t && "taxMode" in e, t;
|
|
3089
3084
|
}
|
|
3090
|
-
function
|
|
3091
|
-
return
|
|
3085
|
+
function lt(e) {
|
|
3086
|
+
return hn(e, !1);
|
|
3092
3087
|
}
|
|
3093
|
-
function
|
|
3088
|
+
function hn(e, t) {
|
|
3094
3089
|
return e == null ? e : {
|
|
3095
3090
|
amount: r(e, "amount") ? e.amount : void 0,
|
|
3096
3091
|
code: r(e, "code") ? e.code : void 0,
|
|
@@ -3100,7 +3095,7 @@ function gn(e, t) {
|
|
|
3100
3095
|
taxMode: e.tax_mode
|
|
3101
3096
|
};
|
|
3102
3097
|
}
|
|
3103
|
-
function
|
|
3098
|
+
function mt(e) {
|
|
3104
3099
|
if (e !== void 0)
|
|
3105
3100
|
return e === null ? null : {
|
|
3106
3101
|
amount: e.amount,
|
|
@@ -3111,49 +3106,49 @@ function pt(e) {
|
|
|
3111
3106
|
tax_mode: e.taxMode
|
|
3112
3107
|
};
|
|
3113
3108
|
}
|
|
3114
|
-
var
|
|
3109
|
+
var Ma = {
|
|
3115
3110
|
Included: "INCLUDED",
|
|
3116
3111
|
NotIncluded: "NOT_INCLUDED",
|
|
3117
3112
|
Optional: "OPTIONAL"
|
|
3118
|
-
},
|
|
3113
|
+
}, Ca = {
|
|
3119
3114
|
BestMatch: "BEST_MATCH",
|
|
3120
3115
|
Cheapest: "CHEAPEST",
|
|
3121
3116
|
MatchingRoomCount: "MATCHING_ROOM_COUNT",
|
|
3122
3117
|
Regular: "REGULAR"
|
|
3123
|
-
},
|
|
3118
|
+
}, Ia = {
|
|
3124
3119
|
Included: "included",
|
|
3125
3120
|
NotIncluded: "not_included",
|
|
3126
3121
|
Unknown: "unknown"
|
|
3127
|
-
},
|
|
3122
|
+
}, Da = {
|
|
3128
3123
|
HotelRoom: "HOTEL_ROOM",
|
|
3129
3124
|
Package: "PACKAGE"
|
|
3130
3125
|
};
|
|
3131
|
-
function
|
|
3126
|
+
function ba(e) {
|
|
3132
3127
|
let t = !0;
|
|
3133
3128
|
return t = t && "breakfastOption" in e, t = t && "cancellationPolicies" in e, t = t && "currency" in e, t = t && "hotelId" in e, t = t && "hotelRooms" in e, t = t && "price" in e, t = t && "sourceMarket" in e, t = t && "stayTaxesInfo" in e, t = t && "taxIncludedPrice" in e, t;
|
|
3134
3129
|
}
|
|
3135
3130
|
function me(e) {
|
|
3136
|
-
return
|
|
3131
|
+
return pn(e, !1);
|
|
3137
3132
|
}
|
|
3138
|
-
function
|
|
3133
|
+
function pn(e, t) {
|
|
3139
3134
|
return e == null ? e : {
|
|
3140
3135
|
breakfastCount: r(e, "breakfast_count") ? e.breakfast_count : void 0,
|
|
3141
3136
|
breakfastOption: e.breakfast_option,
|
|
3142
3137
|
breakfastPricePerGuestPerNight: r(e, "breakfast_price_per_guest_per_night") ? e.breakfast_price_per_guest_per_night : void 0,
|
|
3143
3138
|
breakfastUnitPrice: r(e, "breakfast_unit_price") ? e.breakfast_unit_price : void 0,
|
|
3144
|
-
cancellationPolicies: e.cancellation_policies.map(
|
|
3139
|
+
cancellationPolicies: e.cancellation_policies.map(Ee),
|
|
3145
3140
|
count: r(e, "count") ? e.count : void 0,
|
|
3146
3141
|
currency: ce(e.currency),
|
|
3147
3142
|
hotelId: e.hotel_id,
|
|
3148
|
-
hotelRooms: e.hotel_rooms.map(
|
|
3143
|
+
hotelRooms: e.hotel_rooms.map(dn),
|
|
3149
3144
|
id: r(e, "id") ? e.id : void 0,
|
|
3150
3145
|
packageType: r(e, "package_type") ? e.package_type : void 0,
|
|
3151
3146
|
price: e.price,
|
|
3152
3147
|
sourceMarket: ge(e.source_market),
|
|
3153
3148
|
stayTaxesInfo: e.stay_taxes_info,
|
|
3154
|
-
tags: r(e, "tags") ? e.tags.map(
|
|
3149
|
+
tags: r(e, "tags") ? e.tags.map(Be) : void 0,
|
|
3155
3150
|
taxIncludedPrice: e.tax_included_price,
|
|
3156
|
-
taxes: r(e, "taxes") ? e.taxes.map(
|
|
3151
|
+
taxes: r(e, "taxes") ? e.taxes.map(lt) : void 0,
|
|
3157
3152
|
type: r(e, "type") ? e.type : void 0
|
|
3158
3153
|
};
|
|
3159
3154
|
}
|
|
@@ -3164,30 +3159,30 @@ function he(e) {
|
|
|
3164
3159
|
breakfast_option: e.breakfastOption,
|
|
3165
3160
|
breakfast_price_per_guest_per_night: e.breakfastPricePerGuestPerNight,
|
|
3166
3161
|
breakfast_unit_price: e.breakfastUnitPrice,
|
|
3167
|
-
cancellation_policies: e.cancellationPolicies.map(
|
|
3162
|
+
cancellation_policies: e.cancellationPolicies.map(Le),
|
|
3168
3163
|
count: e.count,
|
|
3169
3164
|
currency: e.currency,
|
|
3170
3165
|
hotel_id: e.hotelId,
|
|
3171
|
-
hotel_rooms: e.hotelRooms.map(
|
|
3166
|
+
hotel_rooms: e.hotelRooms.map(fn),
|
|
3172
3167
|
id: e.id,
|
|
3173
3168
|
package_type: e.packageType,
|
|
3174
3169
|
price: e.price,
|
|
3175
3170
|
source_market: e.sourceMarket,
|
|
3176
3171
|
stay_taxes_info: e.stayTaxesInfo,
|
|
3177
|
-
tags: e.tags === void 0 ? void 0 : e.tags.map(
|
|
3172
|
+
tags: e.tags === void 0 ? void 0 : e.tags.map(Fe),
|
|
3178
3173
|
tax_included_price: e.taxIncludedPrice,
|
|
3179
|
-
taxes: e.taxes === void 0 ? void 0 : e.taxes.map(
|
|
3174
|
+
taxes: e.taxes === void 0 ? void 0 : e.taxes.map(mt),
|
|
3180
3175
|
type: e.type
|
|
3181
3176
|
};
|
|
3182
3177
|
}
|
|
3183
|
-
function
|
|
3178
|
+
function va(e) {
|
|
3184
3179
|
let t = !0;
|
|
3185
3180
|
return t = t && "beds" in e, t = t && "bedsPretty" in e, t = t && "count" in e, t = t && "description" in e, t = t && "id" in e, t = t && "occupancy" in e, t;
|
|
3186
3181
|
}
|
|
3187
|
-
function
|
|
3188
|
-
return
|
|
3182
|
+
function yn(e) {
|
|
3183
|
+
return gn(e, !1);
|
|
3189
3184
|
}
|
|
3190
|
-
function
|
|
3185
|
+
function gn(e, t) {
|
|
3191
3186
|
return e == null ? e : {
|
|
3192
3187
|
amenities: r(e, "amenities") ? e.amenities : void 0,
|
|
3193
3188
|
beds: e.beds,
|
|
@@ -3206,7 +3201,7 @@ function An(e, t) {
|
|
|
3206
3201
|
thumbImages: r(e, "thumb_images") ? e.thumb_images : void 0
|
|
3207
3202
|
};
|
|
3208
3203
|
}
|
|
3209
|
-
function
|
|
3204
|
+
function _n(e) {
|
|
3210
3205
|
if (e !== void 0)
|
|
3211
3206
|
return e === null ? null : {
|
|
3212
3207
|
amenities: e.amenities,
|
|
@@ -3226,91 +3221,91 @@ function Sn(e) {
|
|
|
3226
3221
|
thumb_images: e.thumbImages
|
|
3227
3222
|
};
|
|
3228
3223
|
}
|
|
3229
|
-
function
|
|
3224
|
+
function Na(e) {
|
|
3230
3225
|
let t = !0;
|
|
3231
3226
|
return t = t && "fullname" in e, t = t && "id" in e, t;
|
|
3232
3227
|
}
|
|
3233
|
-
function
|
|
3234
|
-
return
|
|
3228
|
+
function be(e) {
|
|
3229
|
+
return On(e, !1);
|
|
3235
3230
|
}
|
|
3236
|
-
function
|
|
3231
|
+
function On(e, t) {
|
|
3237
3232
|
return e == null ? e : {
|
|
3238
3233
|
fullname: e.fullname,
|
|
3239
3234
|
id: e.id
|
|
3240
3235
|
};
|
|
3241
3236
|
}
|
|
3242
|
-
function
|
|
3237
|
+
function An(e) {
|
|
3243
3238
|
if (e !== void 0)
|
|
3244
3239
|
return e === null ? null : {
|
|
3245
3240
|
fullname: e.fullname,
|
|
3246
3241
|
id: e.id
|
|
3247
3242
|
};
|
|
3248
3243
|
}
|
|
3249
|
-
function
|
|
3244
|
+
function Pa(e) {
|
|
3250
3245
|
let t = !0;
|
|
3251
3246
|
return t = t && "hotelRoomId" in e, t = t && "hotelRoomingListGuests" in e, t = t && "id" in e, t;
|
|
3252
3247
|
}
|
|
3253
|
-
function
|
|
3254
|
-
return
|
|
3248
|
+
function ht(e) {
|
|
3249
|
+
return Sn(e, !1);
|
|
3255
3250
|
}
|
|
3256
|
-
function
|
|
3251
|
+
function Sn(e, t) {
|
|
3257
3252
|
return e == null ? e : {
|
|
3258
|
-
hotelRoom: r(e, "hotel_room") ?
|
|
3253
|
+
hotelRoom: r(e, "hotel_room") ? yn(e.hotel_room) : void 0,
|
|
3259
3254
|
hotelRoomId: e.hotel_room_id,
|
|
3260
|
-
hotelRoomingListGuests: e.hotel_rooming_list_guests.map(
|
|
3255
|
+
hotelRoomingListGuests: e.hotel_rooming_list_guests.map(be),
|
|
3261
3256
|
id: e.id,
|
|
3262
3257
|
limitDate: r(e, "limit_date") ? e.limit_date === null ? null : new Date(e.limit_date) : void 0
|
|
3263
3258
|
};
|
|
3264
3259
|
}
|
|
3265
|
-
function
|
|
3260
|
+
function wn(e) {
|
|
3266
3261
|
if (e !== void 0)
|
|
3267
3262
|
return e === null ? null : {
|
|
3268
|
-
hotel_room:
|
|
3263
|
+
hotel_room: _n(e.hotelRoom),
|
|
3269
3264
|
hotel_room_id: e.hotelRoomId,
|
|
3270
|
-
hotel_rooming_list_guests: e.hotelRoomingListGuests.map(
|
|
3265
|
+
hotel_rooming_list_guests: e.hotelRoomingListGuests.map(An),
|
|
3271
3266
|
id: e.id,
|
|
3272
3267
|
limit_date: e.limitDate === void 0 ? void 0 : e.limitDate === null ? null : e.limitDate.toISOString()
|
|
3273
3268
|
};
|
|
3274
3269
|
}
|
|
3275
|
-
var
|
|
3270
|
+
var Ea = {
|
|
3276
3271
|
CreditNote: "credit_note",
|
|
3277
3272
|
Invoice: "invoice"
|
|
3278
3273
|
};
|
|
3279
|
-
function
|
|
3274
|
+
function La(e) {
|
|
3280
3275
|
let t = !0;
|
|
3281
3276
|
return t = t && "type" in e, t = t && "url" in e, t;
|
|
3282
3277
|
}
|
|
3283
|
-
function
|
|
3284
|
-
return
|
|
3278
|
+
function Rn(e) {
|
|
3279
|
+
return kn(e, !1);
|
|
3285
3280
|
}
|
|
3286
|
-
function
|
|
3281
|
+
function kn(e, t) {
|
|
3287
3282
|
return e == null ? e : {
|
|
3288
3283
|
type: e.type,
|
|
3289
3284
|
url: e.url
|
|
3290
3285
|
};
|
|
3291
3286
|
}
|
|
3292
|
-
function
|
|
3287
|
+
function Tn(e) {
|
|
3293
3288
|
if (e !== void 0)
|
|
3294
3289
|
return e === null ? null : {
|
|
3295
3290
|
type: e.type,
|
|
3296
3291
|
url: e.url
|
|
3297
3292
|
};
|
|
3298
3293
|
}
|
|
3299
|
-
function
|
|
3294
|
+
function Ha(e) {
|
|
3300
3295
|
let t = !0;
|
|
3301
3296
|
return t = t && "amount" in e, t = t && "token" in e, t;
|
|
3302
3297
|
}
|
|
3303
|
-
function
|
|
3304
|
-
return
|
|
3298
|
+
function Mn(e) {
|
|
3299
|
+
return Cn(e, !1);
|
|
3305
3300
|
}
|
|
3306
|
-
function
|
|
3301
|
+
function Cn(e, t) {
|
|
3307
3302
|
return e == null ? e : {
|
|
3308
3303
|
amount: e.amount,
|
|
3309
3304
|
couponId: r(e, "coupon_id") ? e.coupon_id : void 0,
|
|
3310
3305
|
token: e.token
|
|
3311
3306
|
};
|
|
3312
3307
|
}
|
|
3313
|
-
function
|
|
3308
|
+
function In(e) {
|
|
3314
3309
|
if (e !== void 0)
|
|
3315
3310
|
return e === null ? null : {
|
|
3316
3311
|
amount: e.amount,
|
|
@@ -3318,42 +3313,42 @@ function vn(e) {
|
|
|
3318
3313
|
token: e.token
|
|
3319
3314
|
};
|
|
3320
3315
|
}
|
|
3321
|
-
var
|
|
3322
|
-
function
|
|
3316
|
+
var Ba = { CreditCard: "CREDIT_CARD" };
|
|
3317
|
+
function Dn(e) {
|
|
3323
3318
|
let t = !0;
|
|
3324
3319
|
return t = t && "name" in e, t = t && "payload" in e, t;
|
|
3325
3320
|
}
|
|
3326
|
-
function
|
|
3327
|
-
return
|
|
3321
|
+
function Fa(e) {
|
|
3322
|
+
return pt(e, !1);
|
|
3328
3323
|
}
|
|
3329
|
-
function
|
|
3324
|
+
function pt(e, t) {
|
|
3330
3325
|
return e == null ? e : {
|
|
3331
3326
|
name: e.name,
|
|
3332
|
-
payload:
|
|
3327
|
+
payload: Mn(e.payload)
|
|
3333
3328
|
};
|
|
3334
3329
|
}
|
|
3335
|
-
function
|
|
3330
|
+
function bn(e) {
|
|
3336
3331
|
if (e !== void 0)
|
|
3337
3332
|
return e === null ? null : {
|
|
3338
3333
|
name: e.name,
|
|
3339
|
-
payload:
|
|
3334
|
+
payload: In(e.payload)
|
|
3340
3335
|
};
|
|
3341
3336
|
}
|
|
3342
|
-
function
|
|
3337
|
+
function xa(e) {
|
|
3343
3338
|
let t = !0;
|
|
3344
3339
|
return t = t && "amount" in e, t = t && "couponId" in e, t;
|
|
3345
3340
|
}
|
|
3346
|
-
function
|
|
3347
|
-
return
|
|
3341
|
+
function vn(e) {
|
|
3342
|
+
return Nn(e, !1);
|
|
3348
3343
|
}
|
|
3349
|
-
function
|
|
3344
|
+
function Nn(e, t) {
|
|
3350
3345
|
return e == null ? e : {
|
|
3351
3346
|
amount: e.amount,
|
|
3352
3347
|
couponId: e.coupon_id,
|
|
3353
3348
|
token: r(e, "token") ? e.token : void 0
|
|
3354
3349
|
};
|
|
3355
3350
|
}
|
|
3356
|
-
function
|
|
3351
|
+
function Pn(e) {
|
|
3357
3352
|
if (e !== void 0)
|
|
3358
3353
|
return e === null ? null : {
|
|
3359
3354
|
amount: e.amount,
|
|
@@ -3361,42 +3356,42 @@ function Bn(e) {
|
|
|
3361
3356
|
token: e.token
|
|
3362
3357
|
};
|
|
3363
3358
|
}
|
|
3364
|
-
var
|
|
3365
|
-
function
|
|
3359
|
+
var Ja = { Coupon: "COUPON" };
|
|
3360
|
+
function En(e) {
|
|
3366
3361
|
let t = !0;
|
|
3367
3362
|
return t = t && "name" in e, t = t && "payload" in e, t;
|
|
3368
3363
|
}
|
|
3369
|
-
function
|
|
3370
|
-
return
|
|
3364
|
+
function Ua(e) {
|
|
3365
|
+
return yt(e, !1);
|
|
3371
3366
|
}
|
|
3372
|
-
function
|
|
3367
|
+
function yt(e, t) {
|
|
3373
3368
|
return e == null ? e : {
|
|
3374
3369
|
name: e.name,
|
|
3375
|
-
payload:
|
|
3370
|
+
payload: vn(e.payload)
|
|
3376
3371
|
};
|
|
3377
3372
|
}
|
|
3378
|
-
function
|
|
3373
|
+
function Ln(e) {
|
|
3379
3374
|
if (e !== void 0)
|
|
3380
3375
|
return e === null ? null : {
|
|
3381
3376
|
name: e.name,
|
|
3382
|
-
payload:
|
|
3377
|
+
payload: Pn(e.payload)
|
|
3383
3378
|
};
|
|
3384
3379
|
}
|
|
3385
|
-
function
|
|
3380
|
+
function Ga(e) {
|
|
3386
3381
|
let t = !0;
|
|
3387
3382
|
return t = t && "amount" in e, t;
|
|
3388
3383
|
}
|
|
3389
|
-
function
|
|
3390
|
-
return
|
|
3384
|
+
function Hn(e) {
|
|
3385
|
+
return Bn(e, !1);
|
|
3391
3386
|
}
|
|
3392
|
-
function
|
|
3387
|
+
function Bn(e, t) {
|
|
3393
3388
|
return e == null ? e : {
|
|
3394
3389
|
amount: e.amount,
|
|
3395
3390
|
couponId: r(e, "coupon_id") ? e.coupon_id : void 0,
|
|
3396
3391
|
token: r(e, "token") ? e.token : void 0
|
|
3397
3392
|
};
|
|
3398
3393
|
}
|
|
3399
|
-
function
|
|
3394
|
+
function Fn(e) {
|
|
3400
3395
|
if (e !== void 0)
|
|
3401
3396
|
return e === null ? null : {
|
|
3402
3397
|
amount: e.amount,
|
|
@@ -3404,40 +3399,40 @@ function Un(e) {
|
|
|
3404
3399
|
token: e.token
|
|
3405
3400
|
};
|
|
3406
3401
|
}
|
|
3407
|
-
var
|
|
3408
|
-
function
|
|
3402
|
+
var $a = { DepositAccount: "DEPOSIT_ACCOUNT" };
|
|
3403
|
+
function xn(e) {
|
|
3409
3404
|
let t = !0;
|
|
3410
3405
|
return t = t && "name" in e, t = t && "payload" in e, t;
|
|
3411
3406
|
}
|
|
3412
|
-
function
|
|
3413
|
-
return
|
|
3407
|
+
function qa(e) {
|
|
3408
|
+
return gt(e, !1);
|
|
3414
3409
|
}
|
|
3415
|
-
function
|
|
3410
|
+
function gt(e, t) {
|
|
3416
3411
|
return e == null ? e : {
|
|
3417
3412
|
name: e.name,
|
|
3418
|
-
payload:
|
|
3413
|
+
payload: Hn(e.payload)
|
|
3419
3414
|
};
|
|
3420
3415
|
}
|
|
3421
|
-
function
|
|
3416
|
+
function Jn(e) {
|
|
3422
3417
|
if (e !== void 0)
|
|
3423
3418
|
return e === null ? null : {
|
|
3424
3419
|
name: e.name,
|
|
3425
|
-
payload:
|
|
3420
|
+
payload: Fn(e.payload)
|
|
3426
3421
|
};
|
|
3427
3422
|
}
|
|
3428
|
-
var
|
|
3423
|
+
var Ka = {
|
|
3429
3424
|
Disabled: "DISABLED",
|
|
3430
3425
|
Enabled: "ENABLED",
|
|
3431
3426
|
Forced: "FORCED"
|
|
3432
3427
|
};
|
|
3433
|
-
function
|
|
3428
|
+
function Ya(e) {
|
|
3434
3429
|
let t = !0;
|
|
3435
3430
|
return t = t && "amount" in e, t = t && "status" in e, t;
|
|
3436
3431
|
}
|
|
3437
|
-
function
|
|
3438
|
-
return
|
|
3432
|
+
function Un(e) {
|
|
3433
|
+
return Gn(e, !1);
|
|
3439
3434
|
}
|
|
3440
|
-
function
|
|
3435
|
+
function Gn(e, t) {
|
|
3441
3436
|
return e == null ? e : {
|
|
3442
3437
|
amount: e.amount,
|
|
3443
3438
|
couponId: r(e, "coupon_id") ? e.coupon_id : void 0,
|
|
@@ -3445,7 +3440,7 @@ function qn(e, t) {
|
|
|
3445
3440
|
token: r(e, "token") ? e.token : void 0
|
|
3446
3441
|
};
|
|
3447
3442
|
}
|
|
3448
|
-
function
|
|
3443
|
+
function $n(e) {
|
|
3449
3444
|
if (e !== void 0)
|
|
3450
3445
|
return e === null ? null : {
|
|
3451
3446
|
amount: e.amount,
|
|
@@ -3454,47 +3449,47 @@ function Yn(e) {
|
|
|
3454
3449
|
token: e.token
|
|
3455
3450
|
};
|
|
3456
3451
|
}
|
|
3457
|
-
var
|
|
3458
|
-
function
|
|
3452
|
+
var za = { PayLater: "PAY_LATER" };
|
|
3453
|
+
function qn(e) {
|
|
3459
3454
|
let t = !0;
|
|
3460
3455
|
return t = t && "name" in e, t = t && "payload" in e, t;
|
|
3461
3456
|
}
|
|
3462
|
-
function
|
|
3463
|
-
return
|
|
3457
|
+
function Va(e) {
|
|
3458
|
+
return _t(e, !1);
|
|
3464
3459
|
}
|
|
3465
|
-
function
|
|
3460
|
+
function _t(e, t) {
|
|
3466
3461
|
return e == null ? e : {
|
|
3467
3462
|
name: e.name,
|
|
3468
|
-
payload:
|
|
3463
|
+
payload: Un(e.payload)
|
|
3469
3464
|
};
|
|
3470
3465
|
}
|
|
3471
|
-
function
|
|
3466
|
+
function Kn(e) {
|
|
3472
3467
|
if (e !== void 0)
|
|
3473
3468
|
return e === null ? null : {
|
|
3474
3469
|
name: e.name,
|
|
3475
|
-
payload:
|
|
3470
|
+
payload: $n(e.payload)
|
|
3476
3471
|
};
|
|
3477
3472
|
}
|
|
3478
|
-
function
|
|
3479
|
-
return
|
|
3473
|
+
function Yn(e) {
|
|
3474
|
+
return zn(e, !1);
|
|
3480
3475
|
}
|
|
3481
|
-
function
|
|
3476
|
+
function zn(e, t) {
|
|
3482
3477
|
return e == null ? e : {
|
|
3478
|
+
...pt(e, !0),
|
|
3479
|
+
...yt(e, !0),
|
|
3483
3480
|
...gt(e, !0),
|
|
3484
|
-
..._t(e, !0)
|
|
3485
|
-
...Ot(e, !0),
|
|
3486
|
-
...At(e, !0)
|
|
3481
|
+
..._t(e, !0)
|
|
3487
3482
|
};
|
|
3488
3483
|
}
|
|
3489
|
-
function
|
|
3484
|
+
function Vn(e) {
|
|
3490
3485
|
if (e !== void 0)
|
|
3491
|
-
return e === null ? null :
|
|
3486
|
+
return e === null ? null : Dn(e) ? bn(e) : En(e) ? Ln(e) : xn(e) ? Jn(e) : qn(e) ? Kn(e) : {};
|
|
3492
3487
|
}
|
|
3493
|
-
var
|
|
3488
|
+
var Za = {
|
|
3494
3489
|
Disabled: "DISABLED",
|
|
3495
3490
|
Enabled: "ENABLED",
|
|
3496
3491
|
Forced: "FORCED"
|
|
3497
|
-
},
|
|
3492
|
+
}, Wa = {
|
|
3498
3493
|
Cx: "bkg-cx",
|
|
3499
3494
|
Cf: "bkg-cf",
|
|
3500
3495
|
Created: "bkg-created",
|
|
@@ -3504,203 +3499,203 @@ var Qa = {
|
|
|
3504
3499
|
Pp: "bkg-pp",
|
|
3505
3500
|
Qr: "bkg-qr"
|
|
3506
3501
|
};
|
|
3507
|
-
function
|
|
3502
|
+
function Xa(e) {
|
|
3508
3503
|
let t = !0;
|
|
3509
3504
|
return t = t && "adultCount" in e, t = t && "cancellationPolicies" in e, t = t && "checkInDate" in e, t = t && "checkOutDate" in e, t = t && "contactPerson" in e, t = t && "createdAt" in e, t = t && "currency" in e, t = t && "hotelId" in e, t = t && "hotelRoomOffer" in e, t = t && "lastStatusUpdatedAt" in e, t = t && "reference" in e, t = t && "sourceMarket" in e, t = t && "status" in e, t = t && "taxAmount" in e, t = t && "taxIncludedPrice" in e, t = t && "terms" in e, t;
|
|
3510
3505
|
}
|
|
3511
3506
|
function re(e) {
|
|
3512
|
-
return
|
|
3507
|
+
return Zn(e, !1);
|
|
3513
3508
|
}
|
|
3514
|
-
function
|
|
3509
|
+
function Zn(e, t) {
|
|
3515
3510
|
return e == null ? e : {
|
|
3516
3511
|
additionalCheckInInstruction: r(e, "additional_check_in_instruction") ? e.additional_check_in_instruction : void 0,
|
|
3517
3512
|
additionalPolicies: r(e, "additional_policies") ? e.additional_policies : void 0,
|
|
3518
3513
|
adultCount: e.adult_count,
|
|
3519
3514
|
canceledAt: r(e, "canceled_at") ? e.canceled_at : void 0,
|
|
3520
|
-
cancellationPolicies: e.cancellation_policies.map(
|
|
3515
|
+
cancellationPolicies: e.cancellation_policies.map(Ee),
|
|
3521
3516
|
cancellationPolicyRemarks: r(e, "cancellation_policy_remarks") ? e.cancellation_policy_remarks : void 0,
|
|
3522
3517
|
checkInDate: e.check_in_date,
|
|
3523
3518
|
checkOutDate: e.check_out_date,
|
|
3524
3519
|
children: r(e, "children") ? e.children : void 0,
|
|
3525
3520
|
confirmedAt: r(e, "confirmed_at") ? e.confirmed_at : void 0,
|
|
3526
|
-
contactPerson:
|
|
3521
|
+
contactPerson: ut(e.contact_person),
|
|
3527
3522
|
createdAt: e.created_at,
|
|
3528
3523
|
currency: ce(e.currency),
|
|
3529
3524
|
customerReference: r(e, "customer_reference") ? e.customer_reference : void 0,
|
|
3530
|
-
event: r(e, "event") ?
|
|
3525
|
+
event: r(e, "event") ? on(e.event) : void 0,
|
|
3531
3526
|
failedAt: r(e, "failed_at") ? e.failed_at : void 0,
|
|
3532
3527
|
hotelConfirmationId: r(e, "hotel_confirmation_id") ? e.hotel_confirmation_id : void 0,
|
|
3533
3528
|
hotelId: e.hotel_id,
|
|
3534
3529
|
hotelRoomOffer: me(e.hotel_room_offer),
|
|
3535
|
-
hotelRoomingLists: r(e, "hotel_rooming_lists") ? e.hotel_rooming_lists.map(
|
|
3530
|
+
hotelRoomingLists: r(e, "hotel_rooming_lists") ? e.hotel_rooming_lists.map(ht) : void 0,
|
|
3536
3531
|
id: r(e, "id") ? e.id : void 0,
|
|
3537
|
-
invoices: r(e, "invoices") ? e.invoices === null ? null : e.invoices.map(
|
|
3532
|
+
invoices: r(e, "invoices") ? e.invoices === null ? null : e.invoices.map(Rn) : void 0,
|
|
3538
3533
|
lastStatusUpdatedAt: e.last_status_updated_at,
|
|
3539
3534
|
metadata: r(e, "metadata") ? e.metadata : void 0,
|
|
3540
3535
|
payLater: r(e, "pay_later") ? e.pay_later : void 0,
|
|
3541
|
-
paymentMethods: r(e, "payment_methods") ? e.payment_methods.map(
|
|
3536
|
+
paymentMethods: r(e, "payment_methods") ? e.payment_methods.map(Yn) : void 0,
|
|
3542
3537
|
penaltyPercentage: r(e, "penalty_percentage") ? e.penalty_percentage : void 0,
|
|
3543
3538
|
reference: e.reference,
|
|
3544
3539
|
sourceMarket: ge(e.source_market),
|
|
3545
3540
|
status: e.status,
|
|
3546
3541
|
taxAmount: e.tax_amount,
|
|
3547
3542
|
taxIncludedPrice: e.tax_included_price,
|
|
3548
|
-
taxes: r(e, "taxes") ? e.taxes === null ? null : e.taxes.map(
|
|
3543
|
+
taxes: r(e, "taxes") ? e.taxes === null ? null : e.taxes.map(lt) : void 0,
|
|
3549
3544
|
terms: e.terms,
|
|
3550
3545
|
token: r(e, "token") ? e.token : void 0
|
|
3551
3546
|
};
|
|
3552
3547
|
}
|
|
3553
|
-
function
|
|
3548
|
+
function Wn(e) {
|
|
3554
3549
|
if (e !== void 0)
|
|
3555
3550
|
return e === null ? null : {
|
|
3556
3551
|
additional_check_in_instruction: e.additionalCheckInInstruction,
|
|
3557
3552
|
additional_policies: e.additionalPolicies,
|
|
3558
3553
|
adult_count: e.adultCount,
|
|
3559
3554
|
canceled_at: e.canceledAt,
|
|
3560
|
-
cancellation_policies: e.cancellationPolicies.map(
|
|
3555
|
+
cancellation_policies: e.cancellationPolicies.map(Le),
|
|
3561
3556
|
cancellation_policy_remarks: e.cancellationPolicyRemarks,
|
|
3562
3557
|
check_in_date: e.checkInDate,
|
|
3563
3558
|
check_out_date: e.checkOutDate,
|
|
3564
3559
|
children: e.children,
|
|
3565
3560
|
confirmed_at: e.confirmedAt,
|
|
3566
|
-
contact_person:
|
|
3561
|
+
contact_person: ft(e.contactPerson),
|
|
3567
3562
|
created_at: e.createdAt,
|
|
3568
3563
|
currency: e.currency,
|
|
3569
3564
|
customer_reference: e.customerReference,
|
|
3570
|
-
event:
|
|
3565
|
+
event: cn(e.event),
|
|
3571
3566
|
failed_at: e.failedAt,
|
|
3572
3567
|
hotel_confirmation_id: e.hotelConfirmationId,
|
|
3573
3568
|
hotel_id: e.hotelId,
|
|
3574
3569
|
hotel_room_offer: he(e.hotelRoomOffer),
|
|
3575
|
-
hotel_rooming_lists: e.hotelRoomingLists === void 0 ? void 0 : e.hotelRoomingLists.map(
|
|
3570
|
+
hotel_rooming_lists: e.hotelRoomingLists === void 0 ? void 0 : e.hotelRoomingLists.map(wn),
|
|
3576
3571
|
id: e.id,
|
|
3577
|
-
invoices: e.invoices === void 0 ? void 0 : e.invoices === null ? null : e.invoices.map(
|
|
3572
|
+
invoices: e.invoices === void 0 ? void 0 : e.invoices === null ? null : e.invoices.map(Tn),
|
|
3578
3573
|
last_status_updated_at: e.lastStatusUpdatedAt,
|
|
3579
3574
|
metadata: e.metadata,
|
|
3580
3575
|
pay_later: e.payLater,
|
|
3581
|
-
payment_methods: e.paymentMethods === void 0 ? void 0 : e.paymentMethods.map(
|
|
3576
|
+
payment_methods: e.paymentMethods === void 0 ? void 0 : e.paymentMethods.map(Vn),
|
|
3582
3577
|
penalty_percentage: e.penaltyPercentage,
|
|
3583
3578
|
reference: e.reference,
|
|
3584
3579
|
source_market: e.sourceMarket,
|
|
3585
3580
|
status: e.status,
|
|
3586
3581
|
tax_amount: e.taxAmount,
|
|
3587
3582
|
tax_included_price: e.taxIncludedPrice,
|
|
3588
|
-
taxes: e.taxes === void 0 ? void 0 : e.taxes === null ? null : e.taxes.map(
|
|
3583
|
+
taxes: e.taxes === void 0 ? void 0 : e.taxes === null ? null : e.taxes.map(mt),
|
|
3589
3584
|
terms: e.terms,
|
|
3590
3585
|
token: e.token
|
|
3591
3586
|
};
|
|
3592
3587
|
}
|
|
3593
|
-
function
|
|
3588
|
+
function Qa(e) {
|
|
3594
3589
|
let t = !0;
|
|
3595
3590
|
return t = t && "fullname" in e, t;
|
|
3596
3591
|
}
|
|
3597
|
-
function
|
|
3598
|
-
return
|
|
3592
|
+
function Xn(e) {
|
|
3593
|
+
return Qn(e, !1);
|
|
3599
3594
|
}
|
|
3600
|
-
function
|
|
3595
|
+
function Qn(e, t) {
|
|
3601
3596
|
return e == null ? e : { fullname: e.fullname };
|
|
3602
3597
|
}
|
|
3603
|
-
function
|
|
3598
|
+
function jn(e) {
|
|
3604
3599
|
if (e !== void 0)
|
|
3605
3600
|
return e === null ? null : { fullname: e.fullname };
|
|
3606
3601
|
}
|
|
3607
|
-
function
|
|
3602
|
+
function ja(e) {
|
|
3608
3603
|
let t = !0;
|
|
3609
3604
|
return t = t && "guests" in e, t = t && "hotelRoomId" in e, t;
|
|
3610
3605
|
}
|
|
3611
|
-
function
|
|
3612
|
-
return
|
|
3606
|
+
function er(e) {
|
|
3607
|
+
return tr(e, !1);
|
|
3613
3608
|
}
|
|
3614
|
-
function
|
|
3609
|
+
function tr(e, t) {
|
|
3615
3610
|
return e == null ? e : {
|
|
3616
|
-
guests: e.guests.map(
|
|
3611
|
+
guests: e.guests.map(Xn),
|
|
3617
3612
|
hotelRoomId: e.hotel_room_id
|
|
3618
3613
|
};
|
|
3619
3614
|
}
|
|
3620
|
-
function
|
|
3615
|
+
function ir(e) {
|
|
3621
3616
|
if (e !== void 0)
|
|
3622
3617
|
return e === null ? null : {
|
|
3623
|
-
guests: e.guests.map(
|
|
3618
|
+
guests: e.guests.map(jn),
|
|
3624
3619
|
hotel_room_id: e.hotelRoomId
|
|
3625
3620
|
};
|
|
3626
3621
|
}
|
|
3627
|
-
function
|
|
3622
|
+
function ec(e) {
|
|
3628
3623
|
return !0;
|
|
3629
3624
|
}
|
|
3630
|
-
function
|
|
3631
|
-
return
|
|
3625
|
+
function nr(e) {
|
|
3626
|
+
return rr(e, !1);
|
|
3632
3627
|
}
|
|
3633
|
-
function
|
|
3628
|
+
function rr(e, t) {
|
|
3634
3629
|
return e == null ? e : { couponId: r(e, "coupon_id") ? e.coupon_id : void 0 };
|
|
3635
3630
|
}
|
|
3636
|
-
function
|
|
3631
|
+
function or(e) {
|
|
3637
3632
|
if (e !== void 0)
|
|
3638
3633
|
return e === null ? null : { coupon_id: e.couponId };
|
|
3639
3634
|
}
|
|
3640
|
-
var
|
|
3635
|
+
var tc = {
|
|
3641
3636
|
Coupon: "COUPON",
|
|
3642
3637
|
CreditCard: "CREDIT_CARD",
|
|
3643
3638
|
DepositAccount: "DEPOSIT_ACCOUNT"
|
|
3644
3639
|
};
|
|
3645
|
-
function
|
|
3640
|
+
function ic(e) {
|
|
3646
3641
|
let t = !0;
|
|
3647
3642
|
return t = t && "name" in e, t;
|
|
3648
3643
|
}
|
|
3649
|
-
function
|
|
3650
|
-
return
|
|
3644
|
+
function Ot(e) {
|
|
3645
|
+
return ar(e, !1);
|
|
3651
3646
|
}
|
|
3652
|
-
function
|
|
3647
|
+
function ar(e, t) {
|
|
3653
3648
|
return e == null ? e : {
|
|
3654
3649
|
name: e.name,
|
|
3655
|
-
payload: r(e, "payload") ?
|
|
3650
|
+
payload: r(e, "payload") ? nr(e.payload) : void 0
|
|
3656
3651
|
};
|
|
3657
3652
|
}
|
|
3658
|
-
function
|
|
3653
|
+
function At(e) {
|
|
3659
3654
|
if (e !== void 0)
|
|
3660
3655
|
return e === null ? null : {
|
|
3661
3656
|
name: e.name,
|
|
3662
|
-
payload:
|
|
3657
|
+
payload: or(e.payload)
|
|
3663
3658
|
};
|
|
3664
3659
|
}
|
|
3665
|
-
function
|
|
3660
|
+
function nc(e) {
|
|
3666
3661
|
let t = !0;
|
|
3667
3662
|
return t = t && "bookingPolicyId" in e, t = t && "contactPerson" in e, t;
|
|
3668
3663
|
}
|
|
3669
|
-
function
|
|
3670
|
-
return
|
|
3664
|
+
function rc(e) {
|
|
3665
|
+
return cr(e, !1);
|
|
3671
3666
|
}
|
|
3672
|
-
function
|
|
3667
|
+
function cr(e, t) {
|
|
3673
3668
|
return e == null ? e : {
|
|
3674
3669
|
bookingPolicyId: e.booking_policy_id,
|
|
3675
|
-
contactPerson:
|
|
3676
|
-
guestsList: r(e, "guests_list") ? e.guests_list.map(
|
|
3670
|
+
contactPerson: ut(e.contact_person),
|
|
3671
|
+
guestsList: r(e, "guests_list") ? e.guests_list.map(er) : void 0,
|
|
3677
3672
|
metadata: r(e, "metadata") ? e.metadata : void 0,
|
|
3678
|
-
paymentMethods: r(e, "payment_methods") ? e.payment_methods.map(
|
|
3673
|
+
paymentMethods: r(e, "payment_methods") ? e.payment_methods.map(Ot) : void 0,
|
|
3679
3674
|
trackingId: r(e, "tracking_id") ? e.tracking_id : void 0
|
|
3680
3675
|
};
|
|
3681
3676
|
}
|
|
3682
|
-
function
|
|
3677
|
+
function sr(e) {
|
|
3683
3678
|
if (e !== void 0)
|
|
3684
3679
|
return e === null ? null : {
|
|
3685
3680
|
booking_policy_id: e.bookingPolicyId,
|
|
3686
|
-
contact_person:
|
|
3687
|
-
guests_list: e.guestsList === void 0 ? void 0 : e.guestsList.map(
|
|
3681
|
+
contact_person: ft(e.contactPerson),
|
|
3682
|
+
guests_list: e.guestsList === void 0 ? void 0 : e.guestsList.map(ir),
|
|
3688
3683
|
metadata: e.metadata,
|
|
3689
|
-
payment_methods: e.paymentMethods === void 0 ? void 0 : e.paymentMethods.map(
|
|
3684
|
+
payment_methods: e.paymentMethods === void 0 ? void 0 : e.paymentMethods.map(At),
|
|
3690
3685
|
tracking_id: e.trackingId
|
|
3691
3686
|
};
|
|
3692
3687
|
}
|
|
3693
|
-
function
|
|
3688
|
+
function oc(e) {
|
|
3694
3689
|
let t = !0;
|
|
3695
3690
|
return t = t && "adultCount" in e, t = t && "cancellationPolicies" in e, t = t && "checkInDate" in e, t = t && "checkOutDate" in e, t = t && "currency" in e, t = t && "expiresAt" in e, t = t && "hasRoomingLists" in e, t = t && "hotelId" in e, t = t && "hotelRoomOffer" in e, t = t && "id" in e, t = t && "isCancellationPoliciesUpdated" in e, t = t && "isPriceIncreased" in e, t;
|
|
3696
3691
|
}
|
|
3697
|
-
function
|
|
3698
|
-
return
|
|
3692
|
+
function qe(e) {
|
|
3693
|
+
return dr(e, !1);
|
|
3699
3694
|
}
|
|
3700
|
-
function
|
|
3695
|
+
function dr(e, t) {
|
|
3701
3696
|
return e == null ? e : {
|
|
3702
3697
|
adultCount: e.adult_count,
|
|
3703
|
-
cancellationPolicies: e.cancellation_policies.map(
|
|
3698
|
+
cancellationPolicies: e.cancellation_policies.map(Ee),
|
|
3704
3699
|
checkInDate: e.check_in_date,
|
|
3705
3700
|
checkOutDate: e.check_out_date,
|
|
3706
3701
|
children: r(e, "children") ? e.children : void 0,
|
|
@@ -3714,11 +3709,11 @@ function lr(e, t) {
|
|
|
3714
3709
|
isPriceIncreased: e.is_price_increased
|
|
3715
3710
|
};
|
|
3716
3711
|
}
|
|
3717
|
-
function
|
|
3712
|
+
function ac(e) {
|
|
3718
3713
|
if (e !== void 0)
|
|
3719
3714
|
return e === null ? null : {
|
|
3720
3715
|
adult_count: e.adultCount,
|
|
3721
|
-
cancellation_policies: e.cancellationPolicies.map(
|
|
3716
|
+
cancellation_policies: e.cancellationPolicies.map(Le),
|
|
3722
3717
|
check_in_date: e.checkInDate,
|
|
3723
3718
|
check_out_date: e.checkOutDate,
|
|
3724
3719
|
children: e.children,
|
|
@@ -3732,14 +3727,14 @@ function dc(e) {
|
|
|
3732
3727
|
is_price_increased: e.isPriceIncreased
|
|
3733
3728
|
};
|
|
3734
3729
|
}
|
|
3735
|
-
function
|
|
3730
|
+
function cc(e) {
|
|
3736
3731
|
let t = !0;
|
|
3737
3732
|
return t = t && "hotelRoomOfferId" in e, t;
|
|
3738
3733
|
}
|
|
3739
|
-
function
|
|
3740
|
-
return
|
|
3734
|
+
function sc(e) {
|
|
3735
|
+
return ur(e, !1);
|
|
3741
3736
|
}
|
|
3742
|
-
function
|
|
3737
|
+
function ur(e, t) {
|
|
3743
3738
|
return e == null ? e : {
|
|
3744
3739
|
addBreakfast: r(e, "add_breakfast") ? e.add_breakfast : void 0,
|
|
3745
3740
|
breakfastCount: r(e, "breakfast_count") ? e.breakfast_count : void 0,
|
|
@@ -3747,7 +3742,7 @@ function mr(e, t) {
|
|
|
3747
3742
|
lang: r(e, "lang") ? He(e.lang) : void 0
|
|
3748
3743
|
};
|
|
3749
3744
|
}
|
|
3750
|
-
function
|
|
3745
|
+
function fr(e) {
|
|
3751
3746
|
if (e !== void 0)
|
|
3752
3747
|
return e === null ? null : {
|
|
3753
3748
|
add_breakfast: e.addBreakfast,
|
|
@@ -3756,13 +3751,13 @@ function hr(e) {
|
|
|
3756
3751
|
lang: e.lang
|
|
3757
3752
|
};
|
|
3758
3753
|
}
|
|
3759
|
-
function
|
|
3754
|
+
function dc(e) {
|
|
3760
3755
|
return !0;
|
|
3761
3756
|
}
|
|
3762
|
-
function
|
|
3763
|
-
return
|
|
3757
|
+
function lr(e) {
|
|
3758
|
+
return mr(e, !1);
|
|
3764
3759
|
}
|
|
3765
|
-
function
|
|
3760
|
+
function mr(e, t) {
|
|
3766
3761
|
return e == null ? e : {
|
|
3767
3762
|
endingBefore: r(e, "ending_before") ? e.ending_before : void 0,
|
|
3768
3763
|
limit: r(e, "limit") ? e.limit : void 0,
|
|
@@ -3770,7 +3765,7 @@ function yr(e, t) {
|
|
|
3770
3765
|
totalCount: r(e, "total_count") ? e.total_count : void 0
|
|
3771
3766
|
};
|
|
3772
3767
|
}
|
|
3773
|
-
function
|
|
3768
|
+
function hr(e) {
|
|
3774
3769
|
if (e !== void 0)
|
|
3775
3770
|
return e === null ? null : {
|
|
3776
3771
|
ending_before: e.endingBefore,
|
|
@@ -3779,27 +3774,27 @@ function gr(e) {
|
|
|
3779
3774
|
total_count: e.totalCount
|
|
3780
3775
|
};
|
|
3781
3776
|
}
|
|
3782
|
-
function
|
|
3777
|
+
function uc(e) {
|
|
3783
3778
|
let t = !0;
|
|
3784
3779
|
return t = t && "data" in e, t = t && "meta" in e, t;
|
|
3785
3780
|
}
|
|
3786
|
-
function
|
|
3787
|
-
return
|
|
3781
|
+
function pr(e) {
|
|
3782
|
+
return yr(e, !1);
|
|
3788
3783
|
}
|
|
3789
|
-
function
|
|
3784
|
+
function yr(e, t) {
|
|
3790
3785
|
return e == null ? e : {
|
|
3791
3786
|
data: e.data.map(re),
|
|
3792
|
-
meta:
|
|
3787
|
+
meta: lr(e.meta)
|
|
3793
3788
|
};
|
|
3794
3789
|
}
|
|
3795
|
-
function
|
|
3790
|
+
function fc(e) {
|
|
3796
3791
|
if (e !== void 0)
|
|
3797
3792
|
return e === null ? null : {
|
|
3798
|
-
data: e.data.map(
|
|
3799
|
-
meta:
|
|
3793
|
+
data: e.data.map(Wn),
|
|
3794
|
+
meta: hr(e.meta)
|
|
3800
3795
|
};
|
|
3801
3796
|
}
|
|
3802
|
-
var
|
|
3797
|
+
var lc = {
|
|
3803
3798
|
ApiError: "api_error",
|
|
3804
3799
|
BadGateway: "bad_gateway",
|
|
3805
3800
|
InternalServerError: "internal_server_error",
|
|
@@ -3810,14 +3805,14 @@ var pc = {
|
|
|
3810
3805
|
Unauthorized: "unauthorized",
|
|
3811
3806
|
ValidationError: "validation_error"
|
|
3812
3807
|
};
|
|
3813
|
-
function
|
|
3808
|
+
function mc(e) {
|
|
3814
3809
|
let t = !0;
|
|
3815
3810
|
return t = t && "statusCode" in e, t;
|
|
3816
3811
|
}
|
|
3817
|
-
function
|
|
3818
|
-
return
|
|
3812
|
+
function hc(e) {
|
|
3813
|
+
return gr(e, !1);
|
|
3819
3814
|
}
|
|
3820
|
-
function
|
|
3815
|
+
function gr(e, t) {
|
|
3821
3816
|
return e == null ? e : {
|
|
3822
3817
|
documentationUrl: r(e, "documentation_url") ? e.documentation_url : void 0,
|
|
3823
3818
|
error: r(e, "error") ? e.error : void 0,
|
|
@@ -3826,7 +3821,7 @@ function Ar(e, t) {
|
|
|
3826
3821
|
type: r(e, "type") ? e.type : void 0
|
|
3827
3822
|
};
|
|
3828
3823
|
}
|
|
3829
|
-
function
|
|
3824
|
+
function pc(e) {
|
|
3830
3825
|
if (e !== void 0)
|
|
3831
3826
|
return e === null ? null : {
|
|
3832
3827
|
documentation_url: e.documentationUrl,
|
|
@@ -3836,13 +3831,13 @@ function _c(e) {
|
|
|
3836
3831
|
type: e.type
|
|
3837
3832
|
};
|
|
3838
3833
|
}
|
|
3839
|
-
function
|
|
3834
|
+
function yc(e) {
|
|
3840
3835
|
return !0;
|
|
3841
3836
|
}
|
|
3842
3837
|
function _e(e) {
|
|
3843
|
-
return
|
|
3838
|
+
return _r(e, !1);
|
|
3844
3839
|
}
|
|
3845
|
-
function
|
|
3840
|
+
function _r(e, t) {
|
|
3846
3841
|
return e == null ? e : {
|
|
3847
3842
|
dateEnd: r(e, "date_end") ? e.date_end : void 0,
|
|
3848
3843
|
dateStart: r(e, "date_start") ? e.date_start : void 0,
|
|
@@ -3863,13 +3858,13 @@ function Oe(e) {
|
|
|
3863
3858
|
slug: e.slug
|
|
3864
3859
|
};
|
|
3865
3860
|
}
|
|
3866
|
-
function
|
|
3861
|
+
function gc(e) {
|
|
3867
3862
|
return !0;
|
|
3868
3863
|
}
|
|
3869
|
-
function
|
|
3870
|
-
return
|
|
3864
|
+
function St(e) {
|
|
3865
|
+
return Or(e, !1);
|
|
3871
3866
|
}
|
|
3872
|
-
function
|
|
3867
|
+
function Or(e, t) {
|
|
3873
3868
|
return e == null ? e : {
|
|
3874
3869
|
count: r(e, "count") ? e.count : void 0,
|
|
3875
3870
|
highres: r(e, "highres") ? e.highres : void 0,
|
|
@@ -3879,7 +3874,7 @@ function wr(e, t) {
|
|
|
3879
3874
|
thumb: r(e, "thumb") ? e.thumb : void 0
|
|
3880
3875
|
};
|
|
3881
3876
|
}
|
|
3882
|
-
function
|
|
3877
|
+
function wt(e) {
|
|
3883
3878
|
if (e !== void 0)
|
|
3884
3879
|
return e === null ? null : {
|
|
3885
3880
|
count: e.count,
|
|
@@ -3890,40 +3885,40 @@ function kt(e) {
|
|
|
3890
3885
|
thumb: e.thumb
|
|
3891
3886
|
};
|
|
3892
3887
|
}
|
|
3893
|
-
function
|
|
3888
|
+
function _c(e) {
|
|
3894
3889
|
let t = !0;
|
|
3895
3890
|
return t = t && "rating" in e, t;
|
|
3896
3891
|
}
|
|
3897
|
-
function
|
|
3898
|
-
return
|
|
3892
|
+
function Rt(e) {
|
|
3893
|
+
return Ar(e, !1);
|
|
3899
3894
|
}
|
|
3900
|
-
function
|
|
3895
|
+
function Ar(e, t) {
|
|
3901
3896
|
return e == null ? e : {
|
|
3902
3897
|
category: r(e, "category") ? e.category : void 0,
|
|
3903
3898
|
rating: e.rating
|
|
3904
3899
|
};
|
|
3905
3900
|
}
|
|
3906
|
-
function
|
|
3901
|
+
function kt(e) {
|
|
3907
3902
|
if (e !== void 0)
|
|
3908
3903
|
return e === null ? null : {
|
|
3909
3904
|
category: e.category,
|
|
3910
3905
|
rating: e.rating
|
|
3911
3906
|
};
|
|
3912
3907
|
}
|
|
3913
|
-
function
|
|
3908
|
+
function Oc(e) {
|
|
3914
3909
|
return !0;
|
|
3915
3910
|
}
|
|
3916
|
-
function
|
|
3917
|
-
return
|
|
3911
|
+
function Sr(e) {
|
|
3912
|
+
return wr(e, !1);
|
|
3918
3913
|
}
|
|
3919
|
-
function
|
|
3914
|
+
function wr(e, t) {
|
|
3920
3915
|
return e == null ? e : {
|
|
3921
3916
|
driving: r(e, "driving") ? e.driving : void 0,
|
|
3922
3917
|
transit: r(e, "transit") ? e.transit : void 0,
|
|
3923
3918
|
walking: r(e, "walking") ? e.walking : void 0
|
|
3924
3919
|
};
|
|
3925
3920
|
}
|
|
3926
|
-
function
|
|
3921
|
+
function Rr(e) {
|
|
3927
3922
|
if (e !== void 0)
|
|
3928
3923
|
return e === null ? null : {
|
|
3929
3924
|
driving: e.driving,
|
|
@@ -3931,40 +3926,40 @@ function Mr(e) {
|
|
|
3931
3926
|
walking: e.walking
|
|
3932
3927
|
};
|
|
3933
3928
|
}
|
|
3934
|
-
function
|
|
3929
|
+
function Ac(e) {
|
|
3935
3930
|
let t = !0;
|
|
3936
3931
|
return t = t && "name" in e, t;
|
|
3937
3932
|
}
|
|
3938
|
-
function
|
|
3939
|
-
return
|
|
3933
|
+
function Tt(e) {
|
|
3934
|
+
return kr(e, !1);
|
|
3940
3935
|
}
|
|
3941
|
-
function
|
|
3936
|
+
function kr(e, t) {
|
|
3942
3937
|
return e == null ? e : {
|
|
3943
3938
|
description: r(e, "description") ? e.description : void 0,
|
|
3944
3939
|
name: e.name,
|
|
3945
|
-
travelTimes: r(e, "travel_times") ?
|
|
3940
|
+
travelTimes: r(e, "travel_times") ? Sr(e.travel_times) : void 0
|
|
3946
3941
|
};
|
|
3947
3942
|
}
|
|
3948
|
-
function
|
|
3943
|
+
function Mt(e) {
|
|
3949
3944
|
if (e !== void 0)
|
|
3950
3945
|
return e === null ? null : {
|
|
3951
3946
|
description: e.description,
|
|
3952
3947
|
name: e.name,
|
|
3953
|
-
travel_times:
|
|
3948
|
+
travel_times: Rr(e.travelTimes)
|
|
3954
3949
|
};
|
|
3955
3950
|
}
|
|
3956
|
-
function
|
|
3951
|
+
function Sc(e) {
|
|
3957
3952
|
let t = !0;
|
|
3958
3953
|
return t = t && "id" in e, t = t && "latitude" in e, t = t && "longitude" in e, t = t && "name" in e, t = t && "timezone" in e, t;
|
|
3959
3954
|
}
|
|
3960
|
-
function
|
|
3961
|
-
return
|
|
3955
|
+
function Tr(e) {
|
|
3956
|
+
return Mr(e, !1);
|
|
3962
3957
|
}
|
|
3963
|
-
function
|
|
3958
|
+
function Mr(e, t) {
|
|
3964
3959
|
return e == null ? e : {
|
|
3965
3960
|
address: r(e, "address") ? e.address : void 0,
|
|
3966
3961
|
address2: r(e, "address2") ? e.address2 : void 0,
|
|
3967
|
-
amenities: r(e, "amenities") ?
|
|
3962
|
+
amenities: r(e, "amenities") ? st(e.amenities) : void 0,
|
|
3968
3963
|
checkInTime: r(e, "check_in_time") ? e.check_in_time : void 0,
|
|
3969
3964
|
checkOutTime: r(e, "check_out_time") ? e.check_out_time : void 0,
|
|
3970
3965
|
city: r(e, "city") ? e.city : void 0,
|
|
@@ -3976,9 +3971,9 @@ function Dr(e, t) {
|
|
|
3976
3971
|
email: r(e, "email") ? e.email : void 0,
|
|
3977
3972
|
fax: r(e, "fax") ? e.fax : void 0,
|
|
3978
3973
|
hotelImages: r(e, "hotel_images") ? e.hotel_images === null ? null : e.hotel_images.map(le) : void 0,
|
|
3979
|
-
hotelReviewRatings: r(e, "hotel_review_ratings") ? e.hotel_review_ratings === null ? null : e.hotel_review_ratings.map(
|
|
3974
|
+
hotelReviewRatings: r(e, "hotel_review_ratings") ? e.hotel_review_ratings === null ? null : e.hotel_review_ratings.map(Rt) : void 0,
|
|
3980
3975
|
id: e.id,
|
|
3981
|
-
images: r(e, "images") ?
|
|
3976
|
+
images: r(e, "images") ? St(e.images) : void 0,
|
|
3982
3977
|
latitude: e.latitude,
|
|
3983
3978
|
longitude: e.longitude,
|
|
3984
3979
|
name: e.name,
|
|
@@ -3990,16 +3985,16 @@ function Dr(e, t) {
|
|
|
3990
3985
|
state: r(e, "state") ? e.state : void 0,
|
|
3991
3986
|
taId: r(e, "ta_id") ? e.ta_id : void 0,
|
|
3992
3987
|
timezone: e.timezone,
|
|
3993
|
-
venues: r(e, "venues") ? e.venues.map(
|
|
3988
|
+
venues: r(e, "venues") ? e.venues.map(Tt) : void 0,
|
|
3994
3989
|
website: r(e, "website") ? e.website : void 0
|
|
3995
3990
|
};
|
|
3996
3991
|
}
|
|
3997
|
-
function
|
|
3992
|
+
function wc(e) {
|
|
3998
3993
|
if (e !== void 0)
|
|
3999
3994
|
return e === null ? null : {
|
|
4000
3995
|
address: e.address,
|
|
4001
3996
|
address2: e.address2,
|
|
4002
|
-
amenities:
|
|
3997
|
+
amenities: dt(e.amenities),
|
|
4003
3998
|
check_in_time: e.checkInTime,
|
|
4004
3999
|
check_out_time: e.checkOutTime,
|
|
4005
4000
|
city: e.city,
|
|
@@ -4011,9 +4006,9 @@ function Tc(e) {
|
|
|
4011
4006
|
email: e.email,
|
|
4012
4007
|
fax: e.fax,
|
|
4013
4008
|
hotel_images: e.hotelImages === void 0 ? void 0 : e.hotelImages === null ? null : e.hotelImages.map(ye),
|
|
4014
|
-
hotel_review_ratings: e.hotelReviewRatings === void 0 ? void 0 : e.hotelReviewRatings === null ? null : e.hotelReviewRatings.map(
|
|
4009
|
+
hotel_review_ratings: e.hotelReviewRatings === void 0 ? void 0 : e.hotelReviewRatings === null ? null : e.hotelReviewRatings.map(kt),
|
|
4015
4010
|
id: e.id,
|
|
4016
|
-
images:
|
|
4011
|
+
images: wt(e.images),
|
|
4017
4012
|
latitude: e.latitude,
|
|
4018
4013
|
longitude: e.longitude,
|
|
4019
4014
|
name: e.name,
|
|
@@ -4025,22 +4020,22 @@ function Tc(e) {
|
|
|
4025
4020
|
state: e.state,
|
|
4026
4021
|
ta_id: e.taId,
|
|
4027
4022
|
timezone: e.timezone,
|
|
4028
|
-
venues: e.venues === void 0 ? void 0 : e.venues.map(
|
|
4023
|
+
venues: e.venues === void 0 ? void 0 : e.venues.map(Mt),
|
|
4029
4024
|
website: e.website
|
|
4030
4025
|
};
|
|
4031
4026
|
}
|
|
4032
|
-
function
|
|
4027
|
+
function Rc(e) {
|
|
4033
4028
|
let t = !0;
|
|
4034
4029
|
return t = t && "hotelImages" in e, t = t && "id" in e, t = t && "latitude" in e, t = t && "longitude" in e, t = t && "name" in e, t = t && "timezone" in e, t = t && "hotelRoomOffers" in e, t;
|
|
4035
4030
|
}
|
|
4036
|
-
function
|
|
4037
|
-
return
|
|
4031
|
+
function Cr(e) {
|
|
4032
|
+
return Ir(e, !1);
|
|
4038
4033
|
}
|
|
4039
|
-
function
|
|
4034
|
+
function Ir(e, t) {
|
|
4040
4035
|
return e == null ? e : {
|
|
4041
4036
|
address: r(e, "address") ? e.address : void 0,
|
|
4042
4037
|
address2: r(e, "address2") ? e.address2 : void 0,
|
|
4043
|
-
amenities: r(e, "amenities") ?
|
|
4038
|
+
amenities: r(e, "amenities") ? st(e.amenities) : void 0,
|
|
4044
4039
|
checkInTime: r(e, "check_in_time") ? e.check_in_time : void 0,
|
|
4045
4040
|
checkOutTime: r(e, "check_out_time") ? e.check_out_time : void 0,
|
|
4046
4041
|
city: r(e, "city") ? e.city : void 0,
|
|
@@ -4052,9 +4047,9 @@ function vr(e, t) {
|
|
|
4052
4047
|
email: r(e, "email") ? e.email : void 0,
|
|
4053
4048
|
fax: r(e, "fax") ? e.fax : void 0,
|
|
4054
4049
|
hotelImages: e.hotel_images.map(le),
|
|
4055
|
-
hotelReviewRatings: r(e, "hotel_review_ratings") ? e.hotel_review_ratings === null ? null : e.hotel_review_ratings.map(
|
|
4050
|
+
hotelReviewRatings: r(e, "hotel_review_ratings") ? e.hotel_review_ratings === null ? null : e.hotel_review_ratings.map(Rt) : void 0,
|
|
4056
4051
|
id: e.id,
|
|
4057
|
-
images: r(e, "images") ?
|
|
4052
|
+
images: r(e, "images") ? St(e.images) : void 0,
|
|
4058
4053
|
latitude: e.latitude,
|
|
4059
4054
|
longitude: e.longitude,
|
|
4060
4055
|
name: e.name,
|
|
@@ -4066,18 +4061,18 @@ function vr(e, t) {
|
|
|
4066
4061
|
state: r(e, "state") ? e.state : void 0,
|
|
4067
4062
|
taId: r(e, "ta_id") ? e.ta_id : void 0,
|
|
4068
4063
|
timezone: e.timezone,
|
|
4069
|
-
venues: r(e, "venues") ? e.venues.map(
|
|
4064
|
+
venues: r(e, "venues") ? e.venues.map(Tt) : void 0,
|
|
4070
4065
|
website: r(e, "website") ? e.website : void 0,
|
|
4071
4066
|
hotelRoomOffers: e.hotel_room_offers.map(me),
|
|
4072
|
-
tags: r(e, "tags") ? e.tags.map(
|
|
4067
|
+
tags: r(e, "tags") ? e.tags.map(Be) : void 0
|
|
4073
4068
|
};
|
|
4074
4069
|
}
|
|
4075
|
-
function
|
|
4070
|
+
function Dr(e) {
|
|
4076
4071
|
if (e !== void 0)
|
|
4077
4072
|
return e === null ? null : {
|
|
4078
4073
|
address: e.address,
|
|
4079
4074
|
address2: e.address2,
|
|
4080
|
-
amenities:
|
|
4075
|
+
amenities: dt(e.amenities),
|
|
4081
4076
|
check_in_time: e.checkInTime,
|
|
4082
4077
|
check_out_time: e.checkOutTime,
|
|
4083
4078
|
city: e.city,
|
|
@@ -4089,9 +4084,9 @@ function Nr(e) {
|
|
|
4089
4084
|
email: e.email,
|
|
4090
4085
|
fax: e.fax,
|
|
4091
4086
|
hotel_images: e.hotelImages.map(ye),
|
|
4092
|
-
hotel_review_ratings: e.hotelReviewRatings === void 0 ? void 0 : e.hotelReviewRatings === null ? null : e.hotelReviewRatings.map(
|
|
4087
|
+
hotel_review_ratings: e.hotelReviewRatings === void 0 ? void 0 : e.hotelReviewRatings === null ? null : e.hotelReviewRatings.map(kt),
|
|
4093
4088
|
id: e.id,
|
|
4094
|
-
images:
|
|
4089
|
+
images: wt(e.images),
|
|
4095
4090
|
latitude: e.latitude,
|
|
4096
4091
|
longitude: e.longitude,
|
|
4097
4092
|
name: e.name,
|
|
@@ -4103,42 +4098,42 @@ function Nr(e) {
|
|
|
4103
4098
|
state: e.state,
|
|
4104
4099
|
ta_id: e.taId,
|
|
4105
4100
|
timezone: e.timezone,
|
|
4106
|
-
venues: e.venues === void 0 ? void 0 : e.venues.map(
|
|
4101
|
+
venues: e.venues === void 0 ? void 0 : e.venues.map(Mt),
|
|
4107
4102
|
website: e.website,
|
|
4108
4103
|
hotel_room_offers: e.hotelRoomOffers.map(he),
|
|
4109
|
-
tags: e.tags === void 0 ? void 0 : e.tags.map(
|
|
4104
|
+
tags: e.tags === void 0 ? void 0 : e.tags.map(Fe)
|
|
4110
4105
|
};
|
|
4111
4106
|
}
|
|
4112
|
-
function
|
|
4107
|
+
function kc(e) {
|
|
4113
4108
|
let t = !0;
|
|
4114
4109
|
return t = t && "hotelImages" in e, t = t && "hotelRoomOffers" in e, t;
|
|
4115
4110
|
}
|
|
4116
|
-
function
|
|
4117
|
-
return
|
|
4111
|
+
function Tc(e) {
|
|
4112
|
+
return br(e, !1);
|
|
4118
4113
|
}
|
|
4119
|
-
function
|
|
4114
|
+
function br(e, t) {
|
|
4120
4115
|
return e == null ? e : {
|
|
4121
4116
|
hotelImages: e.hotel_images.map(le),
|
|
4122
4117
|
hotelRoomOffers: e.hotel_room_offers.map(me),
|
|
4123
|
-
tags: r(e, "tags") ? e.tags.map(
|
|
4118
|
+
tags: r(e, "tags") ? e.tags.map(Be) : void 0
|
|
4124
4119
|
};
|
|
4125
4120
|
}
|
|
4126
|
-
function
|
|
4121
|
+
function Mc(e) {
|
|
4127
4122
|
if (e !== void 0)
|
|
4128
4123
|
return e === null ? null : {
|
|
4129
4124
|
hotel_images: e.hotelImages.map(ye),
|
|
4130
4125
|
hotel_room_offers: e.hotelRoomOffers.map(he),
|
|
4131
|
-
tags: e.tags === void 0 ? void 0 : e.tags.map(
|
|
4126
|
+
tags: e.tags === void 0 ? void 0 : e.tags.map(Fe)
|
|
4132
4127
|
};
|
|
4133
4128
|
}
|
|
4134
|
-
function
|
|
4129
|
+
function Cc(e) {
|
|
4135
4130
|
let t = !0;
|
|
4136
4131
|
return t = t && "adultCount" in e, t = t && "checkInDate" in e, t = t && "checkOutDate" in e, t = t && "createdAt" in e, t = t && "id" in e, t = t && "latitude" in e, t = t && "longitude" in e, t = t && "roomCount" in e, t = t && "sourceMarket" in e, t;
|
|
4137
4132
|
}
|
|
4138
|
-
function
|
|
4139
|
-
return
|
|
4133
|
+
function Ke(e) {
|
|
4134
|
+
return vr(e, !1);
|
|
4140
4135
|
}
|
|
4141
|
-
function
|
|
4136
|
+
function vr(e, t) {
|
|
4142
4137
|
return e == null ? e : {
|
|
4143
4138
|
address: r(e, "address") ? e.address : void 0,
|
|
4144
4139
|
adultCount: e.adult_count,
|
|
@@ -4154,7 +4149,7 @@ function Er(e, t) {
|
|
|
4154
4149
|
sourceMarket: ge(e.source_market)
|
|
4155
4150
|
};
|
|
4156
4151
|
}
|
|
4157
|
-
function
|
|
4152
|
+
function Ic(e) {
|
|
4158
4153
|
if (e !== void 0)
|
|
4159
4154
|
return e === null ? null : {
|
|
4160
4155
|
address: e.address,
|
|
@@ -4171,14 +4166,14 @@ function vc(e) {
|
|
|
4171
4166
|
source_market: e.sourceMarket
|
|
4172
4167
|
};
|
|
4173
4168
|
}
|
|
4174
|
-
function
|
|
4169
|
+
function Dc(e) {
|
|
4175
4170
|
let t = !0;
|
|
4176
4171
|
return t = t && "adultCount" in e, t = t && "checkInDate" in e, t = t && "checkOutDate" in e, t = t && "roomCount" in e, t;
|
|
4177
4172
|
}
|
|
4178
|
-
function
|
|
4179
|
-
return
|
|
4173
|
+
function bc(e) {
|
|
4174
|
+
return Nr(e, !1);
|
|
4180
4175
|
}
|
|
4181
|
-
function
|
|
4176
|
+
function Nr(e, t) {
|
|
4182
4177
|
return e == null ? e : {
|
|
4183
4178
|
address: r(e, "address") ? e.address : void 0,
|
|
4184
4179
|
adultCount: e.adult_count,
|
|
@@ -4191,7 +4186,7 @@ function Lr(e, t) {
|
|
|
4191
4186
|
roomCount: e.room_count
|
|
4192
4187
|
};
|
|
4193
4188
|
}
|
|
4194
|
-
function
|
|
4189
|
+
function Pr(e) {
|
|
4195
4190
|
if (e !== void 0)
|
|
4196
4191
|
return e === null ? null : {
|
|
4197
4192
|
address: e.address,
|
|
@@ -4205,36 +4200,36 @@ function Br(e) {
|
|
|
4205
4200
|
room_count: e.roomCount
|
|
4206
4201
|
};
|
|
4207
4202
|
}
|
|
4208
|
-
var
|
|
4203
|
+
var vc = {
|
|
4209
4204
|
Complete: "COMPLETE",
|
|
4210
4205
|
InProgress: "IN_PROGRESS"
|
|
4211
4206
|
};
|
|
4212
|
-
function
|
|
4213
|
-
return
|
|
4207
|
+
function xe(e) {
|
|
4208
|
+
return Er(e, !1);
|
|
4214
4209
|
}
|
|
4215
|
-
function
|
|
4210
|
+
function Er(e, t) {
|
|
4216
4211
|
return e;
|
|
4217
4212
|
}
|
|
4218
|
-
function
|
|
4213
|
+
function Nc(e) {
|
|
4219
4214
|
return e;
|
|
4220
4215
|
}
|
|
4221
|
-
function
|
|
4216
|
+
function Pc(e) {
|
|
4222
4217
|
let t = !0;
|
|
4223
4218
|
return t = t && "totalCount" in e, t = t && "status" in e, t;
|
|
4224
4219
|
}
|
|
4225
|
-
function
|
|
4226
|
-
return
|
|
4220
|
+
function Lr(e) {
|
|
4221
|
+
return Hr(e, !1);
|
|
4227
4222
|
}
|
|
4228
|
-
function
|
|
4223
|
+
function Hr(e, t) {
|
|
4229
4224
|
return e == null ? e : {
|
|
4230
4225
|
endingBefore: r(e, "ending_before") ? e.ending_before : void 0,
|
|
4231
4226
|
limit: r(e, "limit") ? e.limit : void 0,
|
|
4232
4227
|
startingAfter: r(e, "starting_after") ? e.starting_after : void 0,
|
|
4233
4228
|
totalCount: e.total_count,
|
|
4234
|
-
status:
|
|
4229
|
+
status: xe(e.status)
|
|
4235
4230
|
};
|
|
4236
4231
|
}
|
|
4237
|
-
function
|
|
4232
|
+
function Br(e) {
|
|
4238
4233
|
if (e !== void 0)
|
|
4239
4234
|
return e === null ? null : {
|
|
4240
4235
|
ending_before: e.endingBefore,
|
|
@@ -4244,27 +4239,27 @@ function Jr(e) {
|
|
|
4244
4239
|
status: e.status
|
|
4245
4240
|
};
|
|
4246
4241
|
}
|
|
4247
|
-
function
|
|
4242
|
+
function Ec(e) {
|
|
4248
4243
|
let t = !0;
|
|
4249
4244
|
return t = t && "adultCount" in e, t = t && "checkInDate" in e, t = t && "checkOutDate" in e, t = t && "currency" in e, t = t && "hotelOffers" in e, t;
|
|
4250
4245
|
}
|
|
4251
|
-
function
|
|
4252
|
-
return
|
|
4246
|
+
function Fr(e) {
|
|
4247
|
+
return xr(e, !1);
|
|
4253
4248
|
}
|
|
4254
|
-
function
|
|
4249
|
+
function xr(e, t) {
|
|
4255
4250
|
return e == null ? e : {
|
|
4256
4251
|
adultCount: e.adult_count,
|
|
4257
4252
|
checkInDate: e.check_in_date,
|
|
4258
4253
|
checkOutDate: e.check_out_date,
|
|
4259
4254
|
children: r(e, "children") ? e.children : void 0,
|
|
4260
4255
|
currency: ce(e.currency),
|
|
4261
|
-
hotelOffers: e.hotel_offers.map(
|
|
4256
|
+
hotelOffers: e.hotel_offers.map(Cr),
|
|
4262
4257
|
priceHistogram: r(e, "price_histogram") ? e.price_histogram : void 0,
|
|
4263
4258
|
priceMax: r(e, "price_max") ? e.price_max : void 0,
|
|
4264
4259
|
priceMin: r(e, "price_min") ? e.price_min : void 0
|
|
4265
4260
|
};
|
|
4266
4261
|
}
|
|
4267
|
-
function
|
|
4262
|
+
function Jr(e) {
|
|
4268
4263
|
if (e !== void 0)
|
|
4269
4264
|
return e === null ? null : {
|
|
4270
4265
|
adult_count: e.adultCount,
|
|
@@ -4272,56 +4267,56 @@ function $r(e) {
|
|
|
4272
4267
|
check_out_date: e.checkOutDate,
|
|
4273
4268
|
children: e.children,
|
|
4274
4269
|
currency: e.currency,
|
|
4275
|
-
hotel_offers: e.hotelOffers.map(
|
|
4270
|
+
hotel_offers: e.hotelOffers.map(Dr),
|
|
4276
4271
|
price_histogram: e.priceHistogram,
|
|
4277
4272
|
price_max: e.priceMax,
|
|
4278
4273
|
price_min: e.priceMin
|
|
4279
4274
|
};
|
|
4280
4275
|
}
|
|
4281
|
-
function
|
|
4276
|
+
function Lc(e) {
|
|
4282
4277
|
let t = !0;
|
|
4283
4278
|
return t = t && "data" in e, t = t && "meta" in e, t;
|
|
4284
4279
|
}
|
|
4285
|
-
function
|
|
4286
|
-
return
|
|
4280
|
+
function Ur(e) {
|
|
4281
|
+
return Gr(e, !1);
|
|
4287
4282
|
}
|
|
4288
|
-
function
|
|
4283
|
+
function Gr(e, t) {
|
|
4289
4284
|
return e == null ? e : {
|
|
4290
|
-
data:
|
|
4285
|
+
data: Fr(e.data),
|
|
4291
4286
|
event: r(e, "event") ? e.event : void 0,
|
|
4292
|
-
meta:
|
|
4287
|
+
meta: Lr(e.meta)
|
|
4293
4288
|
};
|
|
4294
4289
|
}
|
|
4295
|
-
function
|
|
4290
|
+
function Hc(e) {
|
|
4296
4291
|
if (e !== void 0)
|
|
4297
4292
|
return e === null ? null : {
|
|
4298
|
-
data:
|
|
4293
|
+
data: Jr(e.data),
|
|
4299
4294
|
event: e.event,
|
|
4300
|
-
meta:
|
|
4295
|
+
meta: Br(e.meta)
|
|
4301
4296
|
};
|
|
4302
4297
|
}
|
|
4303
|
-
function
|
|
4298
|
+
function Bc(e) {
|
|
4304
4299
|
let t = !0;
|
|
4305
4300
|
return t = t && "totalCount" in e, t;
|
|
4306
4301
|
}
|
|
4307
|
-
function
|
|
4308
|
-
return
|
|
4302
|
+
function Fc(e) {
|
|
4303
|
+
return $r(e, !1);
|
|
4309
4304
|
}
|
|
4310
|
-
function
|
|
4305
|
+
function $r(e, t) {
|
|
4311
4306
|
return e == null ? e : { totalCount: e.total_count };
|
|
4312
4307
|
}
|
|
4313
|
-
function
|
|
4308
|
+
function xc(e) {
|
|
4314
4309
|
if (e !== void 0)
|
|
4315
4310
|
return e === null ? null : { total_count: e.totalCount };
|
|
4316
4311
|
}
|
|
4317
|
-
function
|
|
4312
|
+
function Jc(e) {
|
|
4318
4313
|
let t = !0;
|
|
4319
4314
|
return t = t && "adultCount" in e, t = t && "checkInDate" in e, t = t && "checkOutDate" in e, t = t && "currency" in e, t = t && "hotelId" in e, t = t && "hotelRoomOffer" in e, t;
|
|
4320
4315
|
}
|
|
4321
|
-
function
|
|
4322
|
-
return
|
|
4316
|
+
function qr(e) {
|
|
4317
|
+
return Kr(e, !1);
|
|
4323
4318
|
}
|
|
4324
|
-
function
|
|
4319
|
+
function Kr(e, t) {
|
|
4325
4320
|
return e == null ? e : {
|
|
4326
4321
|
adultCount: e.adult_count,
|
|
4327
4322
|
checkInDate: e.check_in_date,
|
|
@@ -4332,7 +4327,7 @@ function zr(e, t) {
|
|
|
4332
4327
|
hotelRoomOffer: me(e.hotel_room_offer)
|
|
4333
4328
|
};
|
|
4334
4329
|
}
|
|
4335
|
-
function
|
|
4330
|
+
function Uc(e) {
|
|
4336
4331
|
if (e !== void 0)
|
|
4337
4332
|
return e === null ? null : {
|
|
4338
4333
|
adult_count: e.adultCount,
|
|
@@ -4344,14 +4339,14 @@ function Kc(e) {
|
|
|
4344
4339
|
hotel_room_offer: he(e.hotelRoomOffer)
|
|
4345
4340
|
};
|
|
4346
4341
|
}
|
|
4347
|
-
function
|
|
4342
|
+
function Gc(e) {
|
|
4348
4343
|
let t = !0;
|
|
4349
4344
|
return t = t && "adultCount" in e, t = t && "checkInDate" in e, t = t && "checkOutDate" in e, t = t && "hotelId" in e, t = t && "roomCount" in e, t = t && "createdAt" in e, t = t && "id" in e, t = t && "sourceMarket" in e, t;
|
|
4350
4345
|
}
|
|
4351
|
-
function
|
|
4352
|
-
return
|
|
4346
|
+
function Ye(e) {
|
|
4347
|
+
return Yr(e, !1);
|
|
4353
4348
|
}
|
|
4354
|
-
function
|
|
4349
|
+
function Yr(e, t) {
|
|
4355
4350
|
return e == null ? e : {
|
|
4356
4351
|
adultCount: e.adult_count,
|
|
4357
4352
|
checkInDate: e.check_in_date,
|
|
@@ -4365,7 +4360,7 @@ function Zr(e, t) {
|
|
|
4365
4360
|
sourceMarket: ge(e.source_market)
|
|
4366
4361
|
};
|
|
4367
4362
|
}
|
|
4368
|
-
function
|
|
4363
|
+
function $c(e) {
|
|
4369
4364
|
if (e !== void 0)
|
|
4370
4365
|
return e === null ? null : {
|
|
4371
4366
|
adult_count: e.adultCount,
|
|
@@ -4380,14 +4375,14 @@ function Yc(e) {
|
|
|
4380
4375
|
source_market: e.sourceMarket
|
|
4381
4376
|
};
|
|
4382
4377
|
}
|
|
4383
|
-
function
|
|
4378
|
+
function qc(e) {
|
|
4384
4379
|
let t = !0;
|
|
4385
4380
|
return t = t && "adultCount" in e, t = t && "checkInDate" in e, t = t && "checkOutDate" in e, t = t && "hotelId" in e, t = t && "roomCount" in e, t;
|
|
4386
4381
|
}
|
|
4387
|
-
function
|
|
4388
|
-
return
|
|
4382
|
+
function Kc(e) {
|
|
4383
|
+
return zr(e, !1);
|
|
4389
4384
|
}
|
|
4390
|
-
function
|
|
4385
|
+
function zr(e, t) {
|
|
4391
4386
|
return e == null ? e : {
|
|
4392
4387
|
adultCount: e.adult_count,
|
|
4393
4388
|
checkInDate: e.check_in_date,
|
|
@@ -4398,7 +4393,7 @@ function Wr(e, t) {
|
|
|
4398
4393
|
roomCount: e.room_count
|
|
4399
4394
|
};
|
|
4400
4395
|
}
|
|
4401
|
-
function
|
|
4396
|
+
function Yc(e) {
|
|
4402
4397
|
if (e !== void 0)
|
|
4403
4398
|
return e === null ? null : {
|
|
4404
4399
|
adult_count: e.adultCount,
|
|
@@ -4410,21 +4405,21 @@ function Zc(e) {
|
|
|
4410
4405
|
room_count: e.roomCount
|
|
4411
4406
|
};
|
|
4412
4407
|
}
|
|
4413
|
-
function
|
|
4408
|
+
function zc(e) {
|
|
4414
4409
|
let t = !0;
|
|
4415
4410
|
return t = t && "createdAt" in e, t = t && "id" in e, t = t && "sourceMarket" in e, t;
|
|
4416
4411
|
}
|
|
4417
|
-
function
|
|
4418
|
-
return
|
|
4412
|
+
function Vc(e) {
|
|
4413
|
+
return Vr(e, !1);
|
|
4419
4414
|
}
|
|
4420
|
-
function
|
|
4415
|
+
function Vr(e, t) {
|
|
4421
4416
|
return e == null ? e : {
|
|
4422
4417
|
createdAt: e.created_at,
|
|
4423
4418
|
id: e.id,
|
|
4424
4419
|
sourceMarket: ge(e.source_market)
|
|
4425
4420
|
};
|
|
4426
4421
|
}
|
|
4427
|
-
function
|
|
4422
|
+
function Zc(e) {
|
|
4428
4423
|
if (e !== void 0)
|
|
4429
4424
|
return e === null ? null : {
|
|
4430
4425
|
created_at: e.createdAt,
|
|
@@ -4432,14 +4427,14 @@ function Qc(e) {
|
|
|
4432
4427
|
source_market: e.sourceMarket
|
|
4433
4428
|
};
|
|
4434
4429
|
}
|
|
4435
|
-
function
|
|
4430
|
+
function Wc(e) {
|
|
4436
4431
|
let t = !0;
|
|
4437
4432
|
return t = t && "adultCount" in e, t = t && "checkInDate" in e, t = t && "checkOutDate" in e, t = t && "hotelId" in e, t = t && "roomCount" in e, t;
|
|
4438
4433
|
}
|
|
4439
|
-
function
|
|
4440
|
-
return
|
|
4434
|
+
function Xc(e) {
|
|
4435
|
+
return Zr(e, !1);
|
|
4441
4436
|
}
|
|
4442
|
-
function
|
|
4437
|
+
function Zr(e, t) {
|
|
4443
4438
|
return e == null ? e : {
|
|
4444
4439
|
adultCount: e.adult_count,
|
|
4445
4440
|
checkInDate: e.check_in_date,
|
|
@@ -4450,7 +4445,7 @@ function Qr(e, t) {
|
|
|
4450
4445
|
roomCount: e.room_count
|
|
4451
4446
|
};
|
|
4452
4447
|
}
|
|
4453
|
-
function
|
|
4448
|
+
function Wr(e) {
|
|
4454
4449
|
if (e !== void 0)
|
|
4455
4450
|
return e === null ? null : {
|
|
4456
4451
|
adult_count: e.adultCount,
|
|
@@ -4462,14 +4457,14 @@ function jr(e) {
|
|
|
4462
4457
|
room_count: e.roomCount
|
|
4463
4458
|
};
|
|
4464
4459
|
}
|
|
4465
|
-
function
|
|
4460
|
+
function Qc(e) {
|
|
4466
4461
|
let t = !0;
|
|
4467
4462
|
return t = t && "adultCount" in e, t = t && "checkInDate" in e, t = t && "checkOutDate" in e, t = t && "currency" in e, t = t && "hotelId" in e, t = t && "hotelRoomOffers" in e, t = t && "hotelTimezone" in e, t;
|
|
4468
4463
|
}
|
|
4469
|
-
function
|
|
4470
|
-
return
|
|
4464
|
+
function Xr(e) {
|
|
4465
|
+
return Qr(e, !1);
|
|
4471
4466
|
}
|
|
4472
|
-
function
|
|
4467
|
+
function Qr(e, t) {
|
|
4473
4468
|
return e == null ? e : {
|
|
4474
4469
|
adultCount: e.adult_count,
|
|
4475
4470
|
checkInDate: e.check_in_date,
|
|
@@ -4481,7 +4476,7 @@ function to(e, t) {
|
|
|
4481
4476
|
hotelTimezone: e.hotel_timezone
|
|
4482
4477
|
};
|
|
4483
4478
|
}
|
|
4484
|
-
function
|
|
4479
|
+
function jr(e) {
|
|
4485
4480
|
if (e !== void 0)
|
|
4486
4481
|
return e === null ? null : {
|
|
4487
4482
|
adult_count: e.adultCount,
|
|
@@ -4494,23 +4489,23 @@ function io(e) {
|
|
|
4494
4489
|
hotel_timezone: e.hotelTimezone
|
|
4495
4490
|
};
|
|
4496
4491
|
}
|
|
4497
|
-
function
|
|
4492
|
+
function jc(e) {
|
|
4498
4493
|
let t = !0;
|
|
4499
4494
|
return t = t && "status" in e, t;
|
|
4500
4495
|
}
|
|
4501
|
-
function
|
|
4502
|
-
return
|
|
4496
|
+
function eo(e) {
|
|
4497
|
+
return to(e, !1);
|
|
4503
4498
|
}
|
|
4504
|
-
function
|
|
4499
|
+
function to(e, t) {
|
|
4505
4500
|
return e == null ? e : {
|
|
4506
4501
|
endingBefore: r(e, "ending_before") ? e.ending_before : void 0,
|
|
4507
4502
|
limit: r(e, "limit") ? e.limit : void 0,
|
|
4508
4503
|
startingAfter: r(e, "starting_after") ? e.starting_after : void 0,
|
|
4509
4504
|
totalCount: r(e, "total_count") ? e.total_count : void 0,
|
|
4510
|
-
status:
|
|
4505
|
+
status: xe(e.status)
|
|
4511
4506
|
};
|
|
4512
4507
|
}
|
|
4513
|
-
function
|
|
4508
|
+
function io(e) {
|
|
4514
4509
|
if (e !== void 0)
|
|
4515
4510
|
return e === null ? null : {
|
|
4516
4511
|
ending_before: e.endingBefore,
|
|
@@ -4520,43 +4515,43 @@ function oo(e) {
|
|
|
4520
4515
|
status: e.status
|
|
4521
4516
|
};
|
|
4522
4517
|
}
|
|
4523
|
-
function
|
|
4518
|
+
function es(e) {
|
|
4524
4519
|
let t = !0;
|
|
4525
4520
|
return t = t && "data" in e, t = t && "meta" in e, t;
|
|
4526
4521
|
}
|
|
4527
|
-
function
|
|
4528
|
-
return
|
|
4522
|
+
function no(e) {
|
|
4523
|
+
return ro(e, !1);
|
|
4529
4524
|
}
|
|
4530
|
-
function
|
|
4525
|
+
function ro(e, t) {
|
|
4531
4526
|
return e == null ? e : {
|
|
4532
|
-
data:
|
|
4527
|
+
data: Xr(e.data),
|
|
4533
4528
|
event: r(e, "event") ? e.event : void 0,
|
|
4534
|
-
meta:
|
|
4529
|
+
meta: eo(e.meta)
|
|
4535
4530
|
};
|
|
4536
4531
|
}
|
|
4537
|
-
function
|
|
4532
|
+
function ts(e) {
|
|
4538
4533
|
if (e !== void 0)
|
|
4539
4534
|
return e === null ? null : {
|
|
4540
|
-
data:
|
|
4535
|
+
data: jr(e.data),
|
|
4541
4536
|
event: e.event,
|
|
4542
|
-
meta:
|
|
4537
|
+
meta: io(e.meta)
|
|
4543
4538
|
};
|
|
4544
4539
|
}
|
|
4545
|
-
function
|
|
4540
|
+
function is(e) {
|
|
4546
4541
|
let t = !0;
|
|
4547
4542
|
return t = t && "count" in e, t = t && "hotelRoomOfferId" in e, t;
|
|
4548
4543
|
}
|
|
4549
|
-
function
|
|
4550
|
-
return
|
|
4544
|
+
function oo(e) {
|
|
4545
|
+
return ao(e, !1);
|
|
4551
4546
|
}
|
|
4552
|
-
function
|
|
4547
|
+
function ao(e, t) {
|
|
4553
4548
|
return e == null ? e : {
|
|
4554
4549
|
breakfastCount: r(e, "breakfast_count") ? e.breakfast_count : void 0,
|
|
4555
4550
|
count: e.count,
|
|
4556
4551
|
hotelRoomOfferId: e.hotel_room_offer_id
|
|
4557
4552
|
};
|
|
4558
4553
|
}
|
|
4559
|
-
function
|
|
4554
|
+
function co(e) {
|
|
4560
4555
|
if (e !== void 0)
|
|
4561
4556
|
return e === null ? null : {
|
|
4562
4557
|
breakfast_count: e.breakfastCount,
|
|
@@ -4564,97 +4559,97 @@ function fo(e) {
|
|
|
4564
4559
|
hotel_room_offer_id: e.hotelRoomOfferId
|
|
4565
4560
|
};
|
|
4566
4561
|
}
|
|
4567
|
-
function
|
|
4562
|
+
function ns(e) {
|
|
4568
4563
|
let t = !0;
|
|
4569
4564
|
return t = t && "currency" in e, t = t && "hotelRoomOffers" in e, t;
|
|
4570
4565
|
}
|
|
4571
|
-
function
|
|
4572
|
-
return
|
|
4566
|
+
function rs(e) {
|
|
4567
|
+
return so(e, !1);
|
|
4573
4568
|
}
|
|
4574
|
-
function
|
|
4569
|
+
function so(e, t) {
|
|
4575
4570
|
return e == null ? e : {
|
|
4576
4571
|
addBreakfast: r(e, "add_breakfast") ? e.add_breakfast : void 0,
|
|
4577
4572
|
breakfastCount: r(e, "breakfast_count") ? e.breakfast_count : void 0,
|
|
4578
4573
|
currency: ce(e.currency),
|
|
4579
|
-
hotelRoomOffers: e.hotel_room_offers.map(
|
|
4574
|
+
hotelRoomOffers: e.hotel_room_offers.map(oo),
|
|
4580
4575
|
lang: r(e, "lang") ? He(e.lang) : void 0
|
|
4581
4576
|
};
|
|
4582
4577
|
}
|
|
4583
|
-
function
|
|
4578
|
+
function uo(e) {
|
|
4584
4579
|
if (e !== void 0)
|
|
4585
4580
|
return e === null ? null : {
|
|
4586
4581
|
add_breakfast: e.addBreakfast,
|
|
4587
4582
|
breakfast_count: e.breakfastCount,
|
|
4588
4583
|
currency: e.currency,
|
|
4589
|
-
hotel_room_offers: e.hotelRoomOffers.map(
|
|
4584
|
+
hotel_room_offers: e.hotelRoomOffers.map(co),
|
|
4590
4585
|
lang: e.lang
|
|
4591
4586
|
};
|
|
4592
4587
|
}
|
|
4593
|
-
function
|
|
4588
|
+
function os(e) {
|
|
4594
4589
|
let t = !0;
|
|
4595
4590
|
return t = t && "fullname" in e, t = t && "hotelRoomingListId" in e, t;
|
|
4596
4591
|
}
|
|
4597
|
-
function
|
|
4598
|
-
return
|
|
4592
|
+
function as(e) {
|
|
4593
|
+
return fo(e, !1);
|
|
4599
4594
|
}
|
|
4600
|
-
function
|
|
4595
|
+
function fo(e, t) {
|
|
4601
4596
|
return e == null ? e : {
|
|
4602
4597
|
fullname: e.fullname,
|
|
4603
4598
|
hotelRoomingListId: e.hotel_rooming_list_id
|
|
4604
4599
|
};
|
|
4605
4600
|
}
|
|
4606
|
-
function
|
|
4601
|
+
function lo(e) {
|
|
4607
4602
|
if (e !== void 0)
|
|
4608
4603
|
return e === null ? null : {
|
|
4609
4604
|
fullname: e.fullname,
|
|
4610
4605
|
hotel_rooming_list_id: e.hotelRoomingListId
|
|
4611
4606
|
};
|
|
4612
4607
|
}
|
|
4613
|
-
function
|
|
4608
|
+
function cs(e) {
|
|
4614
4609
|
let t = !0;
|
|
4615
4610
|
return t = t && "fullname" in e, t;
|
|
4616
4611
|
}
|
|
4617
|
-
function
|
|
4618
|
-
return
|
|
4612
|
+
function ss(e) {
|
|
4613
|
+
return mo(e, !1);
|
|
4619
4614
|
}
|
|
4620
|
-
function
|
|
4615
|
+
function mo(e, t) {
|
|
4621
4616
|
return e == null ? e : { fullname: e.fullname };
|
|
4622
4617
|
}
|
|
4623
|
-
function
|
|
4618
|
+
function ho(e) {
|
|
4624
4619
|
if (e !== void 0)
|
|
4625
4620
|
return e === null ? null : { fullname: e.fullname };
|
|
4626
4621
|
}
|
|
4627
|
-
function
|
|
4622
|
+
function ds(e) {
|
|
4628
4623
|
let t = !0;
|
|
4629
4624
|
return t = t && "status" in e, t;
|
|
4630
4625
|
}
|
|
4631
|
-
function
|
|
4632
|
-
return
|
|
4626
|
+
function us(e) {
|
|
4627
|
+
return po(e, !1);
|
|
4633
4628
|
}
|
|
4634
|
-
function
|
|
4635
|
-
return e == null ? e : { status:
|
|
4629
|
+
function po(e, t) {
|
|
4630
|
+
return e == null ? e : { status: xe(e.status) };
|
|
4636
4631
|
}
|
|
4637
|
-
function
|
|
4632
|
+
function fs(e) {
|
|
4638
4633
|
if (e !== void 0)
|
|
4639
4634
|
return e === null ? null : { status: e.status };
|
|
4640
4635
|
}
|
|
4641
|
-
function
|
|
4636
|
+
function ls(e) {
|
|
4642
4637
|
let t = !0;
|
|
4643
4638
|
return t = t && "paymentMethods" in e, t;
|
|
4644
4639
|
}
|
|
4645
|
-
function
|
|
4646
|
-
return
|
|
4640
|
+
function ms(e) {
|
|
4641
|
+
return yo(e, !1);
|
|
4647
4642
|
}
|
|
4648
|
-
function
|
|
4649
|
-
return e == null ? e : { paymentMethods: e.payment_methods.map(
|
|
4643
|
+
function yo(e, t) {
|
|
4644
|
+
return e == null ? e : { paymentMethods: e.payment_methods.map(Ot) };
|
|
4650
4645
|
}
|
|
4651
|
-
function
|
|
4646
|
+
function go(e) {
|
|
4652
4647
|
if (e !== void 0)
|
|
4653
|
-
return e === null ? null : { payment_methods: e.paymentMethods.map(
|
|
4648
|
+
return e === null ? null : { payment_methods: e.paymentMethods.map(At) };
|
|
4654
4649
|
}
|
|
4655
|
-
var
|
|
4650
|
+
var _o = class extends ie {
|
|
4656
4651
|
async retrieveRaw(e, t) {
|
|
4657
|
-
if (e.id === null || e.id === void 0) throw new
|
|
4652
|
+
if (e.id === null || e.id === void 0) throw new K("id", "Required parameter requestParameters.id was null or undefined when calling getV1BookingPolicy.");
|
|
4658
4653
|
const i = {}, n = {};
|
|
4659
4654
|
this.configuration && this.configuration.apiKey && (n["x-api-key"] = this.configuration.apiKey("x-api-key"));
|
|
4660
4655
|
const o = await this.request({
|
|
@@ -4663,13 +4658,13 @@ var So = class extends ie {
|
|
|
4663
4658
|
headers: n,
|
|
4664
4659
|
query: N(i, b.Snake)
|
|
4665
4660
|
}, t);
|
|
4666
|
-
return await new
|
|
4661
|
+
return await new q(o, (s) => qe(s)).value();
|
|
4667
4662
|
}
|
|
4668
4663
|
async retrieve(e, t) {
|
|
4669
4664
|
return this.retrieveRaw(e, t);
|
|
4670
4665
|
}
|
|
4671
4666
|
async paymentMethodsRaw(e, t) {
|
|
4672
|
-
if (e.id === null || e.id === void 0) throw new
|
|
4667
|
+
if (e.id === null || e.id === void 0) throw new K("id", "Required parameter requestParameters.id was null or undefined when calling getV1BookingPolicyIdPaymentMethods.");
|
|
4673
4668
|
const i = {}, n = {};
|
|
4674
4669
|
this.configuration && this.configuration.apiKey && (n["x-api-key"] = this.configuration.apiKey("x-api-key"));
|
|
4675
4670
|
const o = await this.request({
|
|
@@ -4678,7 +4673,7 @@ var So = class extends ie {
|
|
|
4678
4673
|
headers: n,
|
|
4679
4674
|
query: N(i, b.Snake)
|
|
4680
4675
|
}, t);
|
|
4681
|
-
return new
|
|
4676
|
+
return new q(o, (s) => s.map(Yi)).value();
|
|
4682
4677
|
}
|
|
4683
4678
|
async paymentMethods(e, t) {
|
|
4684
4679
|
return this.paymentMethodsRaw(e, t);
|
|
@@ -4691,23 +4686,23 @@ var So = class extends ie {
|
|
|
4691
4686
|
method: "POST",
|
|
4692
4687
|
headers: n,
|
|
4693
4688
|
query: N(i, b.Snake),
|
|
4694
|
-
body: N(
|
|
4689
|
+
body: N(fr(e.bookingPoliciesCreateApi), b.Snake)
|
|
4695
4690
|
}, t);
|
|
4696
|
-
return await new
|
|
4691
|
+
return await new q(o, (s) => qe(s)).value();
|
|
4697
4692
|
}
|
|
4698
4693
|
async create(e = {}, t) {
|
|
4699
4694
|
return this.createRaw(e, t);
|
|
4700
4695
|
}
|
|
4701
|
-
},
|
|
4696
|
+
}, Oo = class extends ie {
|
|
4702
4697
|
async deleteRaw(e, t) {
|
|
4703
|
-
if (e.token === null || e.token === void 0) throw new
|
|
4698
|
+
if (e.token === null || e.token === void 0) throw new K("token", "Required parameter requestParameters.token was null or undefined when calling deleteV1BookingsToken.");
|
|
4704
4699
|
const i = await this.request({
|
|
4705
4700
|
path: "/v1/bookings/{token}".replace("{token}", encodeURIComponent(String(e.token))),
|
|
4706
4701
|
method: "DELETE",
|
|
4707
4702
|
headers: {},
|
|
4708
4703
|
query: N({}, b.Snake)
|
|
4709
4704
|
}, t);
|
|
4710
|
-
return await new
|
|
4705
|
+
return await new q(i, (n) => re(n)).value();
|
|
4711
4706
|
}
|
|
4712
4707
|
async delete(e, t) {
|
|
4713
4708
|
return this.deleteRaw(e, t);
|
|
@@ -4723,13 +4718,13 @@ var So = class extends ie {
|
|
|
4723
4718
|
headers: n,
|
|
4724
4719
|
query: N(i, b.Snake)
|
|
4725
4720
|
}, t);
|
|
4726
|
-
return await new
|
|
4721
|
+
return await new q(o, (s) => pr(s)).value();
|
|
4727
4722
|
}
|
|
4728
4723
|
async list(e = {}, t) {
|
|
4729
4724
|
return this.listRaw(e, t);
|
|
4730
4725
|
}
|
|
4731
4726
|
async retrieveRaw(e, t) {
|
|
4732
|
-
if (e.id === null || e.id === void 0) throw new
|
|
4727
|
+
if (e.id === null || e.id === void 0) throw new K("id", "Required parameter requestParameters.id was null or undefined when calling getV1BookingsId.");
|
|
4733
4728
|
const i = {}, n = {};
|
|
4734
4729
|
this.configuration && this.configuration.apiKey && (n["x-api-key"] = this.configuration.apiKey("x-api-key"));
|
|
4735
4730
|
const o = await this.request({
|
|
@@ -4738,20 +4733,20 @@ var So = class extends ie {
|
|
|
4738
4733
|
headers: n,
|
|
4739
4734
|
query: N(i, b.Snake)
|
|
4740
4735
|
}, t);
|
|
4741
|
-
return await new
|
|
4736
|
+
return await new q(o, (s) => re(s)).value();
|
|
4742
4737
|
}
|
|
4743
4738
|
async retrieve(e, t) {
|
|
4744
4739
|
return this.retrieveRaw(e, t);
|
|
4745
4740
|
}
|
|
4746
4741
|
async retrievePublicRaw(e, t) {
|
|
4747
|
-
if (e.token === null || e.token === void 0) throw new
|
|
4742
|
+
if (e.token === null || e.token === void 0) throw new K("token", "Required parameter requestParameters.token was null or undefined when calling getV1BookingsTokenPublic.");
|
|
4748
4743
|
const i = await this.request({
|
|
4749
4744
|
path: "/v1/bookings/{token}/public".replace("{token}", encodeURIComponent(String(e.token))),
|
|
4750
4745
|
method: "GET",
|
|
4751
4746
|
headers: {},
|
|
4752
4747
|
query: N({}, b.Snake)
|
|
4753
4748
|
}, t);
|
|
4754
|
-
return await new
|
|
4749
|
+
return await new q(i, (n) => re(n)).value();
|
|
4755
4750
|
}
|
|
4756
4751
|
async retrievePublic(e, t) {
|
|
4757
4752
|
return this.retrievePublicRaw(e, t);
|
|
@@ -4764,16 +4759,16 @@ var So = class extends ie {
|
|
|
4764
4759
|
method: "POST",
|
|
4765
4760
|
headers: n,
|
|
4766
4761
|
query: N(i, b.Snake),
|
|
4767
|
-
body: N(
|
|
4762
|
+
body: N(sr(e.bookingCreateApi), b.Snake)
|
|
4768
4763
|
}, t);
|
|
4769
|
-
return await new
|
|
4764
|
+
return await new q(o, (s) => re(s)).value();
|
|
4770
4765
|
}
|
|
4771
4766
|
async create(e = {}, t) {
|
|
4772
4767
|
return this.createRaw(e, t);
|
|
4773
4768
|
}
|
|
4774
4769
|
async couponChargeRaw(e, t) {
|
|
4775
|
-
if (e.couponId === null || e.couponId === void 0) throw new
|
|
4776
|
-
if (e.id === null || e.id === void 0) throw new
|
|
4770
|
+
if (e.couponId === null || e.couponId === void 0) throw new K("couponId", "Required parameter requestParameters.couponId was null or undefined when calling postV1BookingsIdCouponsCouponIdCharge.");
|
|
4771
|
+
if (e.id === null || e.id === void 0) throw new K("id", "Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdCouponsCouponIdCharge.");
|
|
4777
4772
|
const i = {}, n = {};
|
|
4778
4773
|
this.configuration && this.configuration.apiKey && (n["x-api-key"] = this.configuration.apiKey("x-api-key"));
|
|
4779
4774
|
const o = await this.request({
|
|
@@ -4782,13 +4777,13 @@ var So = class extends ie {
|
|
|
4782
4777
|
headers: n,
|
|
4783
4778
|
query: N(i, b.Snake)
|
|
4784
4779
|
}, t);
|
|
4785
|
-
return await new
|
|
4780
|
+
return await new q(o, (s) => re(s)).value();
|
|
4786
4781
|
}
|
|
4787
4782
|
async couponCharge(e, t) {
|
|
4788
4783
|
return this.couponChargeRaw(e, t);
|
|
4789
4784
|
}
|
|
4790
4785
|
async paylaterRaw(e, t) {
|
|
4791
|
-
if (e.id === null || e.id === void 0) throw new
|
|
4786
|
+
if (e.id === null || e.id === void 0) throw new K("id", "Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdPayLater.");
|
|
4792
4787
|
const i = {}, n = {};
|
|
4793
4788
|
this.configuration && this.configuration.apiKey && (n["x-api-key"] = this.configuration.apiKey("x-api-key"));
|
|
4794
4789
|
const o = await this.request({
|
|
@@ -4797,13 +4792,13 @@ var So = class extends ie {
|
|
|
4797
4792
|
headers: n,
|
|
4798
4793
|
query: N(i, b.Snake)
|
|
4799
4794
|
}, t);
|
|
4800
|
-
return await new
|
|
4795
|
+
return await new q(o, (s) => re(s)).value();
|
|
4801
4796
|
}
|
|
4802
4797
|
async paylater(e, t) {
|
|
4803
4798
|
return this.paylaterRaw(e, t);
|
|
4804
4799
|
}
|
|
4805
4800
|
async confirmpaylaterRaw(e, t) {
|
|
4806
|
-
if (e.id === null || e.id === void 0) throw new
|
|
4801
|
+
if (e.id === null || e.id === void 0) throw new K("id", "Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdPayLaterConfirm.");
|
|
4807
4802
|
const i = {}, n = {};
|
|
4808
4803
|
this.configuration && this.configuration.apiKey && (n["x-api-key"] = this.configuration.apiKey("x-api-key"));
|
|
4809
4804
|
const o = await this.request({
|
|
@@ -4812,13 +4807,13 @@ var So = class extends ie {
|
|
|
4812
4807
|
headers: n,
|
|
4813
4808
|
query: N(i, b.Snake)
|
|
4814
4809
|
}, t);
|
|
4815
|
-
return await new
|
|
4810
|
+
return await new q(o, (s) => re(s)).value();
|
|
4816
4811
|
}
|
|
4817
4812
|
async confirmpaylater(e, t) {
|
|
4818
4813
|
return this.confirmpaylaterRaw(e, t);
|
|
4819
4814
|
}
|
|
4820
4815
|
async confirmRaw(e, t) {
|
|
4821
|
-
if (e.id === null || e.id === void 0) throw new
|
|
4816
|
+
if (e.id === null || e.id === void 0) throw new K("id", "Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdconfirm.");
|
|
4822
4817
|
const i = {}, n = {};
|
|
4823
4818
|
this.configuration && this.configuration.apiKey && (n["x-api-key"] = this.configuration.apiKey("x-api-key"));
|
|
4824
4819
|
const o = await this.request({
|
|
@@ -4827,13 +4822,13 @@ var So = class extends ie {
|
|
|
4827
4822
|
headers: n,
|
|
4828
4823
|
query: N(i, b.Snake)
|
|
4829
4824
|
}, t);
|
|
4830
|
-
return await new
|
|
4825
|
+
return await new q(o, (s) => re(s)).value();
|
|
4831
4826
|
}
|
|
4832
4827
|
async confirm(e, t) {
|
|
4833
4828
|
return this.confirmRaw(e, t);
|
|
4834
4829
|
}
|
|
4835
4830
|
async updatePaymentMethodsRaw(e, t) {
|
|
4836
|
-
if (e.id === null || e.id === void 0) throw new
|
|
4831
|
+
if (e.id === null || e.id === void 0) throw new K("id", "Required parameter requestParameters.id was null or undefined when calling putV1BookingsIdPaymentMethods.");
|
|
4837
4832
|
const i = {}, n = {};
|
|
4838
4833
|
n["Content-Type"] = "application/json", this.configuration && this.configuration.apiKey && (n["x-api-key"] = this.configuration.apiKey("x-api-key"));
|
|
4839
4834
|
const o = await this.request({
|
|
@@ -4841,23 +4836,23 @@ var So = class extends ie {
|
|
|
4841
4836
|
method: "PUT",
|
|
4842
4837
|
headers: n,
|
|
4843
4838
|
query: N(i, b.Snake),
|
|
4844
|
-
body: N(
|
|
4839
|
+
body: N(go(e.paymentMethodUpdatePayloadApi), b.Snake)
|
|
4845
4840
|
}, t);
|
|
4846
|
-
return await new
|
|
4841
|
+
return await new q(o, (s) => re(s)).value();
|
|
4847
4842
|
}
|
|
4848
4843
|
async updatePaymentMethods(e, t) {
|
|
4849
4844
|
return this.updatePaymentMethodsRaw(e, t);
|
|
4850
4845
|
}
|
|
4851
|
-
},
|
|
4846
|
+
}, hs = {
|
|
4852
4847
|
CheckInDate: "check_in_date",
|
|
4853
4848
|
CreatedAt: "created_at",
|
|
4854
4849
|
LastStatusUpdatedAt: "last_status_updated_at"
|
|
4855
|
-
},
|
|
4850
|
+
}, ps = {
|
|
4856
4851
|
Asc: "asc",
|
|
4857
4852
|
Desc: "desc"
|
|
4858
|
-
},
|
|
4853
|
+
}, Ao = class extends ie {
|
|
4859
4854
|
async retrieveRaw(e, t) {
|
|
4860
|
-
if (e.id === null || e.id === void 0) throw new
|
|
4855
|
+
if (e.id === null || e.id === void 0) throw new K("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelsIdImages.");
|
|
4861
4856
|
const i = {};
|
|
4862
4857
|
e.lang !== void 0 && (i.lang = e.lang);
|
|
4863
4858
|
const n = {};
|
|
@@ -4868,14 +4863,14 @@ var So = class extends ie {
|
|
|
4868
4863
|
headers: n,
|
|
4869
4864
|
query: N(i, b.Snake)
|
|
4870
4865
|
}, t);
|
|
4871
|
-
return new
|
|
4866
|
+
return new q(o, (s) => s.map(le)).value();
|
|
4872
4867
|
}
|
|
4873
4868
|
async retrieve(e, t) {
|
|
4874
4869
|
return this.retrieveRaw(e, t);
|
|
4875
4870
|
}
|
|
4876
|
-
},
|
|
4871
|
+
}, So = class extends ie {
|
|
4877
4872
|
async retrieveRaw(e, t) {
|
|
4878
|
-
if (e.id === null || e.id === void 0) throw new
|
|
4873
|
+
if (e.id === null || e.id === void 0) throw new K("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelOfferRequestsId.");
|
|
4879
4874
|
const i = {}, n = {};
|
|
4880
4875
|
this.configuration && this.configuration.apiKey && (n["x-api-key"] = this.configuration.apiKey("x-api-key"));
|
|
4881
4876
|
const o = await this.request({
|
|
@@ -4884,7 +4879,7 @@ var So = class extends ie {
|
|
|
4884
4879
|
headers: n,
|
|
4885
4880
|
query: N(i, b.Snake)
|
|
4886
4881
|
}, t);
|
|
4887
|
-
return await new
|
|
4882
|
+
return await new q(o, (s) => Ke(s)).value();
|
|
4888
4883
|
}
|
|
4889
4884
|
async retrieve(e, t) {
|
|
4890
4885
|
return this.retrieveRaw(e, t);
|
|
@@ -4897,17 +4892,17 @@ var So = class extends ie {
|
|
|
4897
4892
|
method: "POST",
|
|
4898
4893
|
headers: n,
|
|
4899
4894
|
query: N(i, b.Snake),
|
|
4900
|
-
body: N(
|
|
4895
|
+
body: N(Pr(e.hotelOfferRequestCreateApi), b.Snake)
|
|
4901
4896
|
}, t);
|
|
4902
|
-
return await new
|
|
4897
|
+
return await new q(o, (s) => Ke(s)).value();
|
|
4903
4898
|
}
|
|
4904
4899
|
async create(e = {}, t) {
|
|
4905
4900
|
return this.createRaw(e, t);
|
|
4906
4901
|
}
|
|
4907
|
-
},
|
|
4902
|
+
}, wo = class extends ie {
|
|
4908
4903
|
async listRaw(e, t) {
|
|
4909
|
-
if (e.currency === null || e.currency === void 0) throw new
|
|
4910
|
-
if (e.hotelOfferRequestId === null || e.hotelOfferRequestId === void 0) throw new
|
|
4904
|
+
if (e.currency === null || e.currency === void 0) throw new K("currency", "Required parameter requestParameters.currency was null or undefined when calling getV1HotelOffers.");
|
|
4905
|
+
if (e.hotelOfferRequestId === null || e.hotelOfferRequestId === void 0) throw new K("hotelOfferRequestId", "Required parameter requestParameters.hotelOfferRequestId was null or undefined when calling getV1HotelOffers.");
|
|
4911
4906
|
const i = {};
|
|
4912
4907
|
e.currency !== void 0 && (i.currency = e.currency), e.endingBefore !== void 0 && (i.ending_before = e.endingBefore), e.filterByPrice !== void 0 && (i.filter_by_price = e.filterByPrice), e.filterByReviewRating !== void 0 && (i.filter_by_review_rating = e.filterByReviewRating), e.filterByStar !== void 0 && (i.filter_by_star = e.filterByStar), e.hotelOfferRequestId !== void 0 && (i.hotel_offer_request_id = e.hotelOfferRequestId), e.hotelRoomOffersLimit !== void 0 && (i.hotel_room_offers_limit = e.hotelRoomOffersLimit), e.includeHotelContentDetails !== void 0 && (i.include_hotel_content_details = e.includeHotelContentDetails), e.lang !== void 0 && (i.lang = e.lang), e.limit !== void 0 && (i.limit = e.limit), e.onlyRecommendedHotelOffers !== void 0 && (i.only_recommended_hotel_offers = e.onlyRecommendedHotelOffers), e.priceHistogramStepCount !== void 0 && (i.price_histogram_step_count = e.priceHistogramStepCount), e.sortBy !== void 0 && (i.sort_by = e.sortBy), e.sortByOrder !== void 0 && (i.sort_by_order = e.sortByOrder), e.startingAfter !== void 0 && (i.starting_after = e.startingAfter);
|
|
4913
4908
|
const n = {};
|
|
@@ -4918,42 +4913,42 @@ var So = class extends ie {
|
|
|
4918
4913
|
headers: n,
|
|
4919
4914
|
query: N(i, b.Snake)
|
|
4920
4915
|
}, t);
|
|
4921
|
-
return await new
|
|
4916
|
+
return await new q(o, (s) => Ur(s)).value();
|
|
4922
4917
|
}
|
|
4923
4918
|
async list(e, t, i) {
|
|
4924
|
-
return await
|
|
4925
|
-
type:
|
|
4919
|
+
return await tt(() => this.listRaw(e, i), {
|
|
4920
|
+
type: Ve.HOTEL_SEARCH_POLLING,
|
|
4926
4921
|
minCallCount: i?.minCallCount,
|
|
4927
4922
|
maxCallCount: i?.maxCallCount
|
|
4928
4923
|
}, t);
|
|
4929
4924
|
}
|
|
4930
|
-
},
|
|
4925
|
+
}, ys = {
|
|
4931
4926
|
Distance: "distance",
|
|
4932
4927
|
Price: "price",
|
|
4933
4928
|
Rating: "rating",
|
|
4934
4929
|
ReviewRating: "review_rating",
|
|
4935
4930
|
TopPicks: "top_picks"
|
|
4936
|
-
},
|
|
4931
|
+
}, gs = {
|
|
4937
4932
|
Asc: "asc",
|
|
4938
4933
|
Desc: "desc"
|
|
4939
|
-
},
|
|
4934
|
+
}, Ro = class extends ie {
|
|
4940
4935
|
async deleteRaw(e, t) {
|
|
4941
|
-
if (e.id === null || e.id === void 0) throw new
|
|
4942
|
-
if (e.token === null || e.token === void 0) throw new
|
|
4936
|
+
if (e.id === null || e.id === void 0) throw new K("id", "Required parameter requestParameters.id was null or undefined when calling deleteV1HotelRoomingListGuestsTokenId.");
|
|
4937
|
+
if (e.token === null || e.token === void 0) throw new K("token", "Required parameter requestParameters.token was null or undefined when calling deleteV1HotelRoomingListGuestsTokenId.");
|
|
4943
4938
|
const i = await this.request({
|
|
4944
4939
|
path: "/v1/hotel_rooming_list_guests/{token}/{id}".replace("{id}", encodeURIComponent(String(e.id))).replace("{token}", encodeURIComponent(String(e.token))),
|
|
4945
4940
|
method: "DELETE",
|
|
4946
4941
|
headers: {},
|
|
4947
4942
|
query: N({}, b.Snake)
|
|
4948
4943
|
}, t);
|
|
4949
|
-
return new
|
|
4944
|
+
return new Ei(i);
|
|
4950
4945
|
}
|
|
4951
4946
|
async delete(e, t) {
|
|
4952
4947
|
return this.deleteRaw(e, t);
|
|
4953
4948
|
}
|
|
4954
4949
|
async updateRaw(e, t) {
|
|
4955
|
-
if (e.id === null || e.id === void 0) throw new
|
|
4956
|
-
if (e.token === null || e.token === void 0) throw new
|
|
4950
|
+
if (e.id === null || e.id === void 0) throw new K("id", "Required parameter requestParameters.id was null or undefined when calling patchV1HotelRoomingListGuestsTokenId.");
|
|
4951
|
+
if (e.token === null || e.token === void 0) throw new K("token", "Required parameter requestParameters.token was null or undefined when calling patchV1HotelRoomingListGuestsTokenId.");
|
|
4957
4952
|
const i = {}, n = {};
|
|
4958
4953
|
n["Content-Type"] = "application/json";
|
|
4959
4954
|
const o = await this.request({
|
|
@@ -4961,15 +4956,15 @@ var So = class extends ie {
|
|
|
4961
4956
|
method: "PATCH",
|
|
4962
4957
|
headers: n,
|
|
4963
4958
|
query: N(i, b.Snake),
|
|
4964
|
-
body: N(
|
|
4959
|
+
body: N(ho(e.hotelRoomingListGuestsUpdateApi), b.Snake)
|
|
4965
4960
|
}, t);
|
|
4966
|
-
return await new
|
|
4961
|
+
return await new q(o, (s) => be(s)).value();
|
|
4967
4962
|
}
|
|
4968
4963
|
async update(e, t) {
|
|
4969
4964
|
return this.updateRaw(e, t);
|
|
4970
4965
|
}
|
|
4971
4966
|
async createRaw(e, t) {
|
|
4972
|
-
if (e.token === null || e.token === void 0) throw new
|
|
4967
|
+
if (e.token === null || e.token === void 0) throw new K("token", "Required parameter requestParameters.token was null or undefined when calling postV1HotelRoomingListGuestsToken.");
|
|
4973
4968
|
const i = {}, n = {};
|
|
4974
4969
|
n["Content-Type"] = "application/json";
|
|
4975
4970
|
const o = await this.request({
|
|
@@ -4977,16 +4972,16 @@ var So = class extends ie {
|
|
|
4977
4972
|
method: "POST",
|
|
4978
4973
|
headers: n,
|
|
4979
4974
|
query: N(i, b.Snake),
|
|
4980
|
-
body: N(
|
|
4975
|
+
body: N(lo(e.hotelRoomingListGuestsCreateApi), b.Snake)
|
|
4981
4976
|
}, t);
|
|
4982
|
-
return await new
|
|
4977
|
+
return await new q(o, (s) => be(s)).value();
|
|
4983
4978
|
}
|
|
4984
4979
|
async create(e, t) {
|
|
4985
4980
|
return this.createRaw(e, t);
|
|
4986
4981
|
}
|
|
4987
|
-
},
|
|
4982
|
+
}, ko = class extends ie {
|
|
4988
4983
|
async listRaw(e, t) {
|
|
4989
|
-
if (e.token === null || e.token === void 0) throw new
|
|
4984
|
+
if (e.token === null || e.token === void 0) throw new K("token", "Required parameter requestParameters.token was null or undefined when calling getV1HotelRoomingListsToken.");
|
|
4990
4985
|
const i = {};
|
|
4991
4986
|
e.lang !== void 0 && (i.lang = e.lang);
|
|
4992
4987
|
const n = await this.request({
|
|
@@ -4995,14 +4990,14 @@ var So = class extends ie {
|
|
|
4995
4990
|
headers: {},
|
|
4996
4991
|
query: N(i, b.Snake)
|
|
4997
4992
|
}, t);
|
|
4998
|
-
return new
|
|
4993
|
+
return new q(n, (o) => o.map(ht)).value();
|
|
4999
4994
|
}
|
|
5000
4995
|
async list(e, t) {
|
|
5001
4996
|
return this.listRaw(e, t);
|
|
5002
4997
|
}
|
|
5003
|
-
},
|
|
4998
|
+
}, To = class extends ie {
|
|
5004
4999
|
async retrieveRaw(e, t) {
|
|
5005
|
-
if (e.id === null || e.id === void 0) throw new
|
|
5000
|
+
if (e.id === null || e.id === void 0) throw new K("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelRoomOffersIdImages.");
|
|
5006
5001
|
const i = {};
|
|
5007
5002
|
e.lang !== void 0 && (i.lang = e.lang);
|
|
5008
5003
|
const n = {};
|
|
@@ -5013,14 +5008,14 @@ var So = class extends ie {
|
|
|
5013
5008
|
headers: n,
|
|
5014
5009
|
query: N(i, b.Snake)
|
|
5015
5010
|
}, t);
|
|
5016
|
-
return await new
|
|
5011
|
+
return await new q(o, (s) => N(s, b.Camel)).value();
|
|
5017
5012
|
}
|
|
5018
5013
|
async retrieve(e, t) {
|
|
5019
5014
|
return this.retrieveRaw(e, t);
|
|
5020
5015
|
}
|
|
5021
|
-
},
|
|
5016
|
+
}, Mo = class extends ie {
|
|
5022
5017
|
async retrieveRaw(e, t) {
|
|
5023
|
-
if (e.id === null || e.id === void 0) throw new
|
|
5018
|
+
if (e.id === null || e.id === void 0) throw new K("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelRoomOfferRequestsId.");
|
|
5024
5019
|
const i = {}, n = {};
|
|
5025
5020
|
this.configuration && this.configuration.apiKey && (n["x-api-key"] = this.configuration.apiKey("x-api-key"));
|
|
5026
5021
|
const o = await this.request({
|
|
@@ -5029,7 +5024,7 @@ var So = class extends ie {
|
|
|
5029
5024
|
headers: n,
|
|
5030
5025
|
query: N(i, b.Snake)
|
|
5031
5026
|
}, t);
|
|
5032
|
-
return await new
|
|
5027
|
+
return await new q(o, (s) => Ye(s)).value();
|
|
5033
5028
|
}
|
|
5034
5029
|
async retrieve(e, t) {
|
|
5035
5030
|
return this.retrieveRaw(e, t);
|
|
@@ -5042,17 +5037,17 @@ var So = class extends ie {
|
|
|
5042
5037
|
method: "POST",
|
|
5043
5038
|
headers: n,
|
|
5044
5039
|
query: N(i, b.Snake),
|
|
5045
|
-
body: N(
|
|
5040
|
+
body: N(Wr(e.hotelRoomOfferRequestCreateApi), b.Snake)
|
|
5046
5041
|
}, t);
|
|
5047
|
-
return await new
|
|
5042
|
+
return await new q(o, (s) => Ye(s)).value();
|
|
5048
5043
|
}
|
|
5049
5044
|
async create(e = {}, t) {
|
|
5050
5045
|
return this.createRaw(e, t);
|
|
5051
5046
|
}
|
|
5052
|
-
},
|
|
5047
|
+
}, Co = class extends ie {
|
|
5053
5048
|
async listRaw(e, t) {
|
|
5054
|
-
if (e.currency === null || e.currency === void 0) throw new
|
|
5055
|
-
if (e.hotelRoomOfferRequestId === null || e.hotelRoomOfferRequestId === void 0) throw new
|
|
5049
|
+
if (e.currency === null || e.currency === void 0) throw new K("currency", "Required parameter requestParameters.currency was null or undefined when calling getV1HotelRoomOffers.");
|
|
5050
|
+
if (e.hotelRoomOfferRequestId === null || e.hotelRoomOfferRequestId === void 0) throw new K("hotelRoomOfferRequestId", "Required parameter requestParameters.hotelRoomOfferRequestId was null or undefined when calling getV1HotelRoomOffers.");
|
|
5056
5051
|
const i = {};
|
|
5057
5052
|
e.currency !== void 0 && (i.currency = e.currency), e.hotelRoomOfferRequestId !== void 0 && (i.hotel_room_offer_request_id = e.hotelRoomOfferRequestId), e.lang !== void 0 && (i.lang = e.lang), e.limit !== void 0 && (i.limit = e.limit);
|
|
5058
5053
|
const n = {};
|
|
@@ -5063,11 +5058,11 @@ var So = class extends ie {
|
|
|
5063
5058
|
headers: n,
|
|
5064
5059
|
query: N(i, b.Snake)
|
|
5065
5060
|
}, t);
|
|
5066
|
-
return await new
|
|
5061
|
+
return await new q(o, (s) => no(s)).value();
|
|
5067
5062
|
}
|
|
5068
5063
|
async list(e, t, i) {
|
|
5069
|
-
return await
|
|
5070
|
-
type:
|
|
5064
|
+
return await tt(() => this.listRaw(e, i), {
|
|
5065
|
+
type: Ve.HOTEL_ROOM_OFFERS,
|
|
5071
5066
|
minCallCount: i?.minCallCount,
|
|
5072
5067
|
maxCallCount: i?.maxCallCount
|
|
5073
5068
|
}, t);
|
|
@@ -5080,16 +5075,16 @@ var So = class extends ie {
|
|
|
5080
5075
|
method: "POST",
|
|
5081
5076
|
headers: n,
|
|
5082
5077
|
query: N(i, b.Snake),
|
|
5083
|
-
body: N(
|
|
5078
|
+
body: N(uo(e.hotelRoomOffersCreateApi), b.Snake)
|
|
5084
5079
|
}, t);
|
|
5085
|
-
return await new
|
|
5080
|
+
return await new q(o, (s) => qr(s)).value();
|
|
5086
5081
|
}
|
|
5087
5082
|
async create(e = {}, t) {
|
|
5088
5083
|
return this.createRaw(e, t);
|
|
5089
5084
|
}
|
|
5090
|
-
},
|
|
5085
|
+
}, Io = class extends ie {
|
|
5091
5086
|
async retrieveRaw(e, t) {
|
|
5092
|
-
if (e.id === null || e.id === void 0) throw new
|
|
5087
|
+
if (e.id === null || e.id === void 0) throw new K("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelsId.");
|
|
5093
5088
|
const i = {};
|
|
5094
5089
|
e.event !== void 0 && (i.event = e.event), e.lang !== void 0 && (i.lang = e.lang);
|
|
5095
5090
|
const n = {};
|
|
@@ -5100,25 +5095,25 @@ var So = class extends ie {
|
|
|
5100
5095
|
headers: n,
|
|
5101
5096
|
query: N(i, b.Snake)
|
|
5102
5097
|
}, t);
|
|
5103
|
-
return await new
|
|
5098
|
+
return await new q(o, (s) => Tr(s)).value();
|
|
5104
5099
|
}
|
|
5105
5100
|
async retrieve(e, t) {
|
|
5106
5101
|
return this.retrieveRaw(e, t);
|
|
5107
5102
|
}
|
|
5108
|
-
},
|
|
5109
|
-
bookingPolicies: new
|
|
5110
|
-
bookings: new
|
|
5111
|
-
hotelImages: new
|
|
5112
|
-
hotelOfferRequests: new
|
|
5113
|
-
hotelOffers: new
|
|
5114
|
-
hotelRoomingListGuests: new
|
|
5115
|
-
hotelRoomingLists: new
|
|
5116
|
-
hotelRoomOfferImages: new
|
|
5117
|
-
hotelRoomOfferRequests: new
|
|
5118
|
-
hotelRoomOffers: new
|
|
5119
|
-
hotels: new
|
|
5103
|
+
}, Do = (e) => ({
|
|
5104
|
+
bookingPolicies: new _o(e),
|
|
5105
|
+
bookings: new Oo(e),
|
|
5106
|
+
hotelImages: new Ao(e),
|
|
5107
|
+
hotelOfferRequests: new So(e),
|
|
5108
|
+
hotelOffers: new wo(e),
|
|
5109
|
+
hotelRoomingListGuests: new Ro(e),
|
|
5110
|
+
hotelRoomingLists: new ko(e),
|
|
5111
|
+
hotelRoomOfferImages: new To(e),
|
|
5112
|
+
hotelRoomOfferRequests: new Mo(e),
|
|
5113
|
+
hotelRoomOffers: new Co(e),
|
|
5114
|
+
hotels: new Io(e)
|
|
5120
5115
|
});
|
|
5121
|
-
function
|
|
5116
|
+
function bo(e) {
|
|
5122
5117
|
switch (e) {
|
|
5123
5118
|
case ee.CiCd:
|
|
5124
5119
|
return "AUTH_TOKEN_CICD";
|
|
@@ -5135,42 +5130,42 @@ function Po(e) {
|
|
|
5135
5130
|
return "AUTH_TOKEN";
|
|
5136
5131
|
}
|
|
5137
5132
|
}
|
|
5138
|
-
function
|
|
5139
|
-
return !!(typeof document < "u" && document?.cookie && document.cookie.split(";").find((t) => t.includes(
|
|
5133
|
+
function Ct(e) {
|
|
5134
|
+
return !!(typeof document < "u" && document?.cookie && document.cookie.split(";").find((t) => t.includes(bo(e))));
|
|
5140
5135
|
}
|
|
5141
|
-
var
|
|
5136
|
+
var vo = class {
|
|
5142
5137
|
constructor(e) {
|
|
5143
5138
|
this.config = e;
|
|
5144
5139
|
}
|
|
5145
5140
|
async pre(e) {
|
|
5146
|
-
return e.init.mode = "cors",
|
|
5141
|
+
return e.init.mode = "cors", Ct(this.config.apiEnvironment) && (e.init.credentials = "include"), e;
|
|
5147
5142
|
}
|
|
5148
|
-
},
|
|
5143
|
+
}, No = class {
|
|
5149
5144
|
constructor(e) {
|
|
5150
5145
|
this.config = e;
|
|
5151
5146
|
}
|
|
5152
5147
|
async pre(e) {
|
|
5153
|
-
return
|
|
5148
|
+
return Ct(this.config.apiEnvironment) && (e.init.headers = {
|
|
5154
5149
|
...e.init.headers,
|
|
5155
5150
|
"x-auth-type": "user"
|
|
5156
5151
|
}), e;
|
|
5157
5152
|
}
|
|
5158
|
-
},
|
|
5153
|
+
}, _s = class {
|
|
5159
5154
|
apiVersionsToClient;
|
|
5160
5155
|
constructor(e) {
|
|
5161
|
-
if (this.config = e, !e.apiVersion || !Object.values(
|
|
5156
|
+
if (this.config = e, !e.apiVersion || !Object.values(Je).includes(e.apiVersion)) throw new Error(`Invalid Revolugo Api Version. Possible versions are : ${JSON.stringify(Object.values(Je))}`);
|
|
5162
5157
|
let t = { "x-api-key": this.config.apiKey };
|
|
5163
5158
|
this.config.optionalHeaders && (t = {
|
|
5164
5159
|
...t,
|
|
5165
5160
|
...this.config.optionalHeaders
|
|
5166
5161
|
});
|
|
5167
5162
|
const i = this.config.apiEnvironment;
|
|
5168
|
-
let n = this.config.apiBaseUrl ??
|
|
5169
|
-
i === ee.Local &&
|
|
5163
|
+
let n = this.config.apiBaseUrl ?? Et[i];
|
|
5164
|
+
i === ee.Local && (n = "http://127.0.0.1:3001"), this.apiVersionsToClient = { v1: Do(new it({
|
|
5170
5165
|
basePath: n,
|
|
5171
|
-
fetchApi:
|
|
5166
|
+
fetchApi: Ht.default,
|
|
5172
5167
|
headers: t,
|
|
5173
|
-
middleware: [new
|
|
5168
|
+
middleware: [new vo(this.config), new No(this.config)]
|
|
5174
5169
|
})) };
|
|
5175
5170
|
}
|
|
5176
5171
|
get bookingPolicies() {
|
|
@@ -5208,351 +5203,351 @@ var Eo = class {
|
|
|
5208
5203
|
}
|
|
5209
5204
|
};
|
|
5210
5205
|
export {
|
|
5211
|
-
|
|
5212
|
-
|
|
5213
|
-
|
|
5214
|
-
|
|
5215
|
-
|
|
5216
|
-
|
|
5217
|
-
|
|
5218
|
-
|
|
5219
|
-
|
|
5220
|
-
|
|
5221
|
-
|
|
5222
|
-
|
|
5223
|
-
|
|
5224
|
-
|
|
5225
|
-
|
|
5226
|
-
|
|
5227
|
-
|
|
5228
|
-
|
|
5229
|
-
|
|
5230
|
-
|
|
5231
|
-
|
|
5232
|
-
|
|
5233
|
-
|
|
5234
|
-
|
|
5235
|
-
|
|
5236
|
-
|
|
5237
|
-
|
|
5238
|
-
|
|
5206
|
+
Yi as AllowedPaymentMethodApiFromJSON,
|
|
5207
|
+
zi as AllowedPaymentMethodApiFromJSONTyped,
|
|
5208
|
+
Zo as AllowedPaymentMethodApiOneOf1FromJSON,
|
|
5209
|
+
ot as AllowedPaymentMethodApiOneOf1FromJSONTyped,
|
|
5210
|
+
Vo as AllowedPaymentMethodApiOneOf1NameEnum,
|
|
5211
|
+
Fi as AllowedPaymentMethodApiOneOf1ToJSON,
|
|
5212
|
+
Xo as AllowedPaymentMethodApiOneOf2FromJSON,
|
|
5213
|
+
at as AllowedPaymentMethodApiOneOf2FromJSONTyped,
|
|
5214
|
+
Wo as AllowedPaymentMethodApiOneOf2NameEnum,
|
|
5215
|
+
Ji as AllowedPaymentMethodApiOneOf2ToJSON,
|
|
5216
|
+
ta as AllowedPaymentMethodApiOneOf3FromJSON,
|
|
5217
|
+
ct as AllowedPaymentMethodApiOneOf3FromJSONTyped,
|
|
5218
|
+
ea as AllowedPaymentMethodApiOneOf3NameEnum,
|
|
5219
|
+
Ui as AllowedPaymentMethodApiOneOf3PayloadFromJSON,
|
|
5220
|
+
Gi as AllowedPaymentMethodApiOneOf3PayloadFromJSONTyped,
|
|
5221
|
+
Qo as AllowedPaymentMethodApiOneOf3PayloadStatusEnum,
|
|
5222
|
+
$i as AllowedPaymentMethodApiOneOf3PayloadToJSON,
|
|
5223
|
+
Ki as AllowedPaymentMethodApiOneOf3ToJSON,
|
|
5224
|
+
zo as AllowedPaymentMethodApiOneOfFromJSON,
|
|
5225
|
+
rt as AllowedPaymentMethodApiOneOfFromJSONTyped,
|
|
5226
|
+
Yo as AllowedPaymentMethodApiOneOfNameEnum,
|
|
5227
|
+
Hi as AllowedPaymentMethodApiOneOfToJSON,
|
|
5228
|
+
ia as AllowedPaymentMethodApiToJSON,
|
|
5229
|
+
st as AmenitiesApiFromJSON,
|
|
5230
|
+
Vi as AmenitiesApiFromJSONTyped,
|
|
5231
|
+
dt as AmenitiesApiToJSON,
|
|
5232
|
+
_s as ApiClient,
|
|
5233
|
+
vi as BASE_PATH,
|
|
5239
5234
|
ie as BaseAPI,
|
|
5240
|
-
|
|
5241
|
-
|
|
5242
|
-
|
|
5243
|
-
|
|
5235
|
+
oa as BedApiFromJSON,
|
|
5236
|
+
Zi as BedApiFromJSONTyped,
|
|
5237
|
+
aa as BedApiToJSON,
|
|
5238
|
+
Ko as BlobApiResponse,
|
|
5244
5239
|
re as BookingApiFromJSON,
|
|
5245
|
-
|
|
5246
|
-
|
|
5247
|
-
|
|
5248
|
-
|
|
5249
|
-
|
|
5250
|
-
|
|
5251
|
-
|
|
5252
|
-
|
|
5253
|
-
|
|
5254
|
-
|
|
5255
|
-
|
|
5256
|
-
|
|
5257
|
-
|
|
5258
|
-
|
|
5259
|
-
|
|
5260
|
-
|
|
5261
|
-
|
|
5262
|
-
|
|
5263
|
-
|
|
5264
|
-
|
|
5265
|
-
|
|
5266
|
-
|
|
5267
|
-
|
|
5268
|
-
|
|
5269
|
-
|
|
5270
|
-
|
|
5271
|
-
|
|
5272
|
-
|
|
5273
|
-
|
|
5274
|
-
|
|
5275
|
-
|
|
5276
|
-
|
|
5277
|
-
|
|
5278
|
-
|
|
5279
|
-
|
|
5280
|
-
|
|
5281
|
-
|
|
5282
|
-
|
|
5283
|
-
|
|
5284
|
-
|
|
5285
|
-
|
|
5286
|
-
|
|
5287
|
-
|
|
5240
|
+
Zn as BookingApiFromJSONTyped,
|
|
5241
|
+
Za as BookingApiPayLaterEnum,
|
|
5242
|
+
Wa as BookingApiStatusEnum,
|
|
5243
|
+
Wn as BookingApiToJSON,
|
|
5244
|
+
rc as BookingCreateApiFromJSON,
|
|
5245
|
+
cr as BookingCreateApiFromJSONTyped,
|
|
5246
|
+
er as BookingCreateApiGuestsListInnerFromJSON,
|
|
5247
|
+
tr as BookingCreateApiGuestsListInnerFromJSONTyped,
|
|
5248
|
+
Xn as BookingCreateApiGuestsListInnerGuestsInnerFromJSON,
|
|
5249
|
+
Qn as BookingCreateApiGuestsListInnerGuestsInnerFromJSONTyped,
|
|
5250
|
+
jn as BookingCreateApiGuestsListInnerGuestsInnerToJSON,
|
|
5251
|
+
ir as BookingCreateApiGuestsListInnerToJSON,
|
|
5252
|
+
sr as BookingCreateApiToJSON,
|
|
5253
|
+
_o as BookingPolicies,
|
|
5254
|
+
qe as BookingPoliciesApiFromJSON,
|
|
5255
|
+
dr as BookingPoliciesApiFromJSONTyped,
|
|
5256
|
+
ac as BookingPoliciesApiToJSON,
|
|
5257
|
+
sc as BookingPoliciesCreateApiFromJSON,
|
|
5258
|
+
ur as BookingPoliciesCreateApiFromJSONTyped,
|
|
5259
|
+
fr as BookingPoliciesCreateApiToJSON,
|
|
5260
|
+
Oo as Bookings,
|
|
5261
|
+
pr as BookingsApiResponseFromJSON,
|
|
5262
|
+
yr as BookingsApiResponseFromJSONTyped,
|
|
5263
|
+
fc as BookingsApiResponseToJSON,
|
|
5264
|
+
hs as BookingsSortByEnum,
|
|
5265
|
+
ps as BookingsSortByOrderEnum,
|
|
5266
|
+
Uo as COLLECTION_FORMATS,
|
|
5267
|
+
Ee as CancellationPolicyApiFromJSON,
|
|
5268
|
+
Wi as CancellationPolicyApiFromJSONTyped,
|
|
5269
|
+
Le as CancellationPolicyApiToJSON,
|
|
5270
|
+
it as Configuration,
|
|
5271
|
+
ut as ContactPersonApiFromJSON,
|
|
5272
|
+
nn as ContactPersonApiFromJSONTyped,
|
|
5273
|
+
ma as ContactPersonApiSalutationEnum,
|
|
5274
|
+
ft as ContactPersonApiToJSON,
|
|
5275
|
+
Qi as ContactPersonOrganizationApiFromJSON,
|
|
5276
|
+
ji as ContactPersonOrganizationApiFromJSONTyped,
|
|
5277
|
+
en as ContactPersonOrganizationApiToJSON,
|
|
5278
|
+
sa as CountryIso2Code,
|
|
5279
|
+
De as CountryIso2CodeFromJSON,
|
|
5280
|
+
Xi as CountryIso2CodeFromJSONTyped,
|
|
5281
|
+
da as CountryIso2CodeToJSON,
|
|
5282
|
+
pa as CurrencyClient,
|
|
5288
5283
|
ce as CurrencyClientFromJSON,
|
|
5289
|
-
|
|
5290
|
-
|
|
5291
|
-
|
|
5292
|
-
|
|
5293
|
-
|
|
5294
|
-
|
|
5295
|
-
|
|
5296
|
-
|
|
5297
|
-
|
|
5284
|
+
rn as CurrencyClientFromJSONTyped,
|
|
5285
|
+
ya as CurrencyClientToJSON,
|
|
5286
|
+
hc as ErrorApiResponseFromJSON,
|
|
5287
|
+
gr as ErrorApiResponseFromJSONTyped,
|
|
5288
|
+
pc as ErrorApiResponseToJSON,
|
|
5289
|
+
lc as ErrorApiResponseTypeEnum,
|
|
5290
|
+
on as EventApiFromJSON,
|
|
5291
|
+
an as EventApiFromJSONTyped,
|
|
5292
|
+
cn as EventApiToJSON,
|
|
5298
5293
|
_e as EventMetadataApiFromJSON,
|
|
5299
|
-
|
|
5294
|
+
_r as EventMetadataApiFromJSONTyped,
|
|
5300
5295
|
Oe as EventMetadataApiToJSON,
|
|
5301
|
-
|
|
5302
|
-
|
|
5303
|
-
|
|
5304
|
-
|
|
5305
|
-
|
|
5306
|
-
|
|
5296
|
+
Tr as HotelApiFromJSON,
|
|
5297
|
+
Mr as HotelApiFromJSONTyped,
|
|
5298
|
+
St as HotelApiImagesFromJSON,
|
|
5299
|
+
Or as HotelApiImagesFromJSONTyped,
|
|
5300
|
+
wt as HotelApiImagesToJSON,
|
|
5301
|
+
wc as HotelApiToJSON,
|
|
5307
5302
|
le as HotelImageApiFromJSON,
|
|
5308
|
-
|
|
5303
|
+
sn as HotelImageApiFromJSONTyped,
|
|
5309
5304
|
ye as HotelImageApiToJSON,
|
|
5310
|
-
|
|
5311
|
-
|
|
5312
|
-
|
|
5313
|
-
|
|
5314
|
-
|
|
5315
|
-
|
|
5316
|
-
|
|
5317
|
-
|
|
5318
|
-
|
|
5319
|
-
|
|
5320
|
-
|
|
5321
|
-
|
|
5322
|
-
|
|
5323
|
-
|
|
5324
|
-
|
|
5325
|
-
|
|
5326
|
-
|
|
5327
|
-
|
|
5328
|
-
|
|
5329
|
-
|
|
5330
|
-
|
|
5331
|
-
|
|
5332
|
-
|
|
5333
|
-
|
|
5334
|
-
|
|
5335
|
-
|
|
5336
|
-
|
|
5337
|
-
|
|
5338
|
-
|
|
5339
|
-
|
|
5340
|
-
|
|
5341
|
-
|
|
5342
|
-
|
|
5343
|
-
|
|
5344
|
-
|
|
5345
|
-
|
|
5305
|
+
Ao as HotelImages,
|
|
5306
|
+
Tc as HotelOfferApiAllOfFromJSON,
|
|
5307
|
+
br as HotelOfferApiAllOfFromJSONTyped,
|
|
5308
|
+
Mc as HotelOfferApiAllOfToJSON,
|
|
5309
|
+
Cr as HotelOfferApiFromJSON,
|
|
5310
|
+
Ir as HotelOfferApiFromJSONTyped,
|
|
5311
|
+
Dr as HotelOfferApiToJSON,
|
|
5312
|
+
Ke as HotelOfferRequestApiResponseFromJSON,
|
|
5313
|
+
vr as HotelOfferRequestApiResponseFromJSONTyped,
|
|
5314
|
+
Ic as HotelOfferRequestApiResponseToJSON,
|
|
5315
|
+
bc as HotelOfferRequestCreateApiFromJSON,
|
|
5316
|
+
Nr as HotelOfferRequestCreateApiFromJSONTyped,
|
|
5317
|
+
Pr as HotelOfferRequestCreateApiToJSON,
|
|
5318
|
+
So as HotelOfferRequests,
|
|
5319
|
+
wo as HotelOffers,
|
|
5320
|
+
Ur as HotelOffersApiResponseFromJSON,
|
|
5321
|
+
Gr as HotelOffersApiResponseFromJSONTyped,
|
|
5322
|
+
Fc as HotelOffersApiResponseMetaAllOfFromJSON,
|
|
5323
|
+
$r as HotelOffersApiResponseMetaAllOfFromJSONTyped,
|
|
5324
|
+
xc as HotelOffersApiResponseMetaAllOfToJSON,
|
|
5325
|
+
Lr as HotelOffersApiResponseMetaFromJSON,
|
|
5326
|
+
Hr as HotelOffersApiResponseMetaFromJSONTyped,
|
|
5327
|
+
Br as HotelOffersApiResponseMetaToJSON,
|
|
5328
|
+
Hc as HotelOffersApiResponseToJSON,
|
|
5329
|
+
Fr as HotelOffersDataApiResponseFromJSON,
|
|
5330
|
+
xr as HotelOffersDataApiResponseFromJSONTyped,
|
|
5331
|
+
Jr as HotelOffersDataApiResponseToJSON,
|
|
5332
|
+
ys as HotelOffersSortByEnum,
|
|
5333
|
+
gs as HotelOffersSortByOrderEnum,
|
|
5334
|
+
Rt as HotelReviewRatingApiFromJSON,
|
|
5335
|
+
Ar as HotelReviewRatingApiFromJSONTyped,
|
|
5336
|
+
kt as HotelReviewRatingApiToJSON,
|
|
5337
|
+
dn as HotelRoomApiFromJSON,
|
|
5338
|
+
un as HotelRoomApiFromJSONTyped,
|
|
5339
|
+
fn as HotelRoomApiToJSON,
|
|
5340
|
+
Ma as HotelRoomOfferApiBreakfastOptionEnum,
|
|
5346
5341
|
me as HotelRoomOfferApiFromJSON,
|
|
5347
|
-
|
|
5348
|
-
|
|
5349
|
-
|
|
5350
|
-
|
|
5351
|
-
|
|
5352
|
-
|
|
5342
|
+
pn as HotelRoomOfferApiFromJSONTyped,
|
|
5343
|
+
Ca as HotelRoomOfferApiPackageTypeEnum,
|
|
5344
|
+
qr as HotelRoomOfferApiResponseFromJSON,
|
|
5345
|
+
Kr as HotelRoomOfferApiResponseFromJSONTyped,
|
|
5346
|
+
Uc as HotelRoomOfferApiResponseToJSON,
|
|
5347
|
+
Ia as HotelRoomOfferApiStayTaxesInfoEnum,
|
|
5353
5348
|
he as HotelRoomOfferApiToJSON,
|
|
5354
|
-
|
|
5355
|
-
|
|
5356
|
-
|
|
5357
|
-
|
|
5358
|
-
|
|
5359
|
-
|
|
5360
|
-
|
|
5361
|
-
|
|
5362
|
-
|
|
5363
|
-
|
|
5364
|
-
|
|
5365
|
-
|
|
5366
|
-
|
|
5367
|
-
|
|
5368
|
-
|
|
5369
|
-
|
|
5370
|
-
|
|
5371
|
-
|
|
5372
|
-
|
|
5373
|
-
|
|
5374
|
-
|
|
5375
|
-
|
|
5376
|
-
|
|
5377
|
-
|
|
5378
|
-
|
|
5379
|
-
|
|
5380
|
-
|
|
5381
|
-
|
|
5382
|
-
|
|
5383
|
-
|
|
5384
|
-
|
|
5385
|
-
|
|
5386
|
-
|
|
5387
|
-
|
|
5388
|
-
|
|
5389
|
-
|
|
5390
|
-
|
|
5391
|
-
|
|
5392
|
-
|
|
5393
|
-
|
|
5394
|
-
|
|
5395
|
-
|
|
5396
|
-
|
|
5397
|
-
|
|
5398
|
-
|
|
5399
|
-
|
|
5400
|
-
|
|
5401
|
-
|
|
5402
|
-
|
|
5403
|
-
|
|
5404
|
-
|
|
5405
|
-
|
|
5349
|
+
Da as HotelRoomOfferApiTypeEnum,
|
|
5350
|
+
To as HotelRoomOfferImages,
|
|
5351
|
+
Vc as HotelRoomOfferRequestApiResponseAllOf1FromJSON,
|
|
5352
|
+
Vr as HotelRoomOfferRequestApiResponseAllOf1FromJSONTyped,
|
|
5353
|
+
Zc as HotelRoomOfferRequestApiResponseAllOf1ToJSON,
|
|
5354
|
+
Kc as HotelRoomOfferRequestApiResponseAllOfFromJSON,
|
|
5355
|
+
zr as HotelRoomOfferRequestApiResponseAllOfFromJSONTyped,
|
|
5356
|
+
Yc as HotelRoomOfferRequestApiResponseAllOfToJSON,
|
|
5357
|
+
Ye as HotelRoomOfferRequestApiResponseFromJSON,
|
|
5358
|
+
Yr as HotelRoomOfferRequestApiResponseFromJSONTyped,
|
|
5359
|
+
$c as HotelRoomOfferRequestApiResponseToJSON,
|
|
5360
|
+
Xc as HotelRoomOfferRequestCreateApiFromJSON,
|
|
5361
|
+
Zr as HotelRoomOfferRequestCreateApiFromJSONTyped,
|
|
5362
|
+
Wr as HotelRoomOfferRequestCreateApiToJSON,
|
|
5363
|
+
Mo as HotelRoomOfferRequests,
|
|
5364
|
+
Co as HotelRoomOffers,
|
|
5365
|
+
no as HotelRoomOffersApiResponseFromJSON,
|
|
5366
|
+
ro as HotelRoomOffersApiResponseFromJSONTyped,
|
|
5367
|
+
ts as HotelRoomOffersApiResponseToJSON,
|
|
5368
|
+
rs as HotelRoomOffersCreateApiFromJSON,
|
|
5369
|
+
so as HotelRoomOffersCreateApiFromJSONTyped,
|
|
5370
|
+
uo as HotelRoomOffersCreateApiToJSON,
|
|
5371
|
+
Xr as HotelRoomOffersDataApiResponseFromJSON,
|
|
5372
|
+
Qr as HotelRoomOffersDataApiResponseFromJSONTyped,
|
|
5373
|
+
jr as HotelRoomOffersDataApiResponseToJSON,
|
|
5374
|
+
oo as HotelRoomOffersDataCreateApiFromJSON,
|
|
5375
|
+
ao as HotelRoomOffersDataCreateApiFromJSONTyped,
|
|
5376
|
+
co as HotelRoomOffersDataCreateApiToJSON,
|
|
5377
|
+
ht as HotelRoomingListApiFromJSON,
|
|
5378
|
+
Sn as HotelRoomingListApiFromJSONTyped,
|
|
5379
|
+
yn as HotelRoomingListApiHotelRoomFromJSON,
|
|
5380
|
+
gn as HotelRoomingListApiHotelRoomFromJSONTyped,
|
|
5381
|
+
_n as HotelRoomingListApiHotelRoomToJSON,
|
|
5382
|
+
wn as HotelRoomingListApiToJSON,
|
|
5383
|
+
be as HotelRoomingListGuestApiFromJSON,
|
|
5384
|
+
On as HotelRoomingListGuestApiFromJSONTyped,
|
|
5385
|
+
An as HotelRoomingListGuestApiToJSON,
|
|
5386
|
+
Ro as HotelRoomingListGuests,
|
|
5387
|
+
as as HotelRoomingListGuestsCreateApiFromJSON,
|
|
5388
|
+
fo as HotelRoomingListGuestsCreateApiFromJSONTyped,
|
|
5389
|
+
lo as HotelRoomingListGuestsCreateApiToJSON,
|
|
5390
|
+
ss as HotelRoomingListGuestsUpdateApiFromJSON,
|
|
5391
|
+
mo as HotelRoomingListGuestsUpdateApiFromJSONTyped,
|
|
5392
|
+
ho as HotelRoomingListGuestsUpdateApiToJSON,
|
|
5393
|
+
ko as HotelRoomingLists,
|
|
5394
|
+
Io as Hotels,
|
|
5395
|
+
Rn as InvoiceApiFromJSON,
|
|
5396
|
+
kn as InvoiceApiFromJSONTyped,
|
|
5397
|
+
Tn as InvoiceApiToJSON,
|
|
5398
|
+
Ea as InvoiceApiTypeEnum,
|
|
5399
|
+
q as JSONApiResponse,
|
|
5400
|
+
fa as Locale,
|
|
5406
5401
|
He as LocaleFromJSON,
|
|
5407
|
-
|
|
5408
|
-
|
|
5409
|
-
|
|
5410
|
-
|
|
5411
|
-
|
|
5412
|
-
|
|
5413
|
-
|
|
5414
|
-
|
|
5415
|
-
|
|
5416
|
-
|
|
5417
|
-
|
|
5418
|
-
|
|
5419
|
-
|
|
5420
|
-
|
|
5421
|
-
|
|
5422
|
-
|
|
5423
|
-
|
|
5424
|
-
|
|
5425
|
-
|
|
5426
|
-
|
|
5427
|
-
|
|
5428
|
-
|
|
5429
|
-
|
|
5430
|
-
|
|
5431
|
-
|
|
5432
|
-
|
|
5433
|
-
|
|
5434
|
-
|
|
5435
|
-
|
|
5436
|
-
|
|
5437
|
-
|
|
5438
|
-
|
|
5439
|
-
|
|
5440
|
-
|
|
5441
|
-
|
|
5442
|
-
|
|
5443
|
-
|
|
5444
|
-
|
|
5445
|
-
|
|
5446
|
-
|
|
5447
|
-
|
|
5448
|
-
|
|
5449
|
-
|
|
5450
|
-
|
|
5451
|
-
|
|
5452
|
-
|
|
5453
|
-
|
|
5454
|
-
|
|
5455
|
-
|
|
5456
|
-
|
|
5457
|
-
|
|
5458
|
-
|
|
5459
|
-
|
|
5460
|
-
|
|
5461
|
-
|
|
5462
|
-
|
|
5463
|
-
|
|
5464
|
-
|
|
5465
|
-
|
|
5466
|
-
|
|
5402
|
+
tn as LocaleFromJSONTyped,
|
|
5403
|
+
la as LocaleToJSON,
|
|
5404
|
+
us as MetaPollingResponseApiAllOfFromJSON,
|
|
5405
|
+
po as MetaPollingResponseApiAllOfFromJSONTyped,
|
|
5406
|
+
fs as MetaPollingResponseApiAllOfToJSON,
|
|
5407
|
+
eo as MetaPollingResponseApiFromJSON,
|
|
5408
|
+
to as MetaPollingResponseApiFromJSONTyped,
|
|
5409
|
+
io as MetaPollingResponseApiToJSON,
|
|
5410
|
+
lr as MetaResponseApiFromJSON,
|
|
5411
|
+
mr as MetaResponseApiFromJSONTyped,
|
|
5412
|
+
hr as MetaResponseApiToJSON,
|
|
5413
|
+
Yn as PaymentMethodApiFromJSON,
|
|
5414
|
+
zn as PaymentMethodApiFromJSONTyped,
|
|
5415
|
+
Ua as PaymentMethodApiOneOf1FromJSON,
|
|
5416
|
+
yt as PaymentMethodApiOneOf1FromJSONTyped,
|
|
5417
|
+
Ja as PaymentMethodApiOneOf1NameEnum,
|
|
5418
|
+
vn as PaymentMethodApiOneOf1PayloadFromJSON,
|
|
5419
|
+
Nn as PaymentMethodApiOneOf1PayloadFromJSONTyped,
|
|
5420
|
+
Pn as PaymentMethodApiOneOf1PayloadToJSON,
|
|
5421
|
+
Ln as PaymentMethodApiOneOf1ToJSON,
|
|
5422
|
+
qa as PaymentMethodApiOneOf2FromJSON,
|
|
5423
|
+
gt as PaymentMethodApiOneOf2FromJSONTyped,
|
|
5424
|
+
$a as PaymentMethodApiOneOf2NameEnum,
|
|
5425
|
+
Hn as PaymentMethodApiOneOf2PayloadFromJSON,
|
|
5426
|
+
Bn as PaymentMethodApiOneOf2PayloadFromJSONTyped,
|
|
5427
|
+
Fn as PaymentMethodApiOneOf2PayloadToJSON,
|
|
5428
|
+
Jn as PaymentMethodApiOneOf2ToJSON,
|
|
5429
|
+
Va as PaymentMethodApiOneOf3FromJSON,
|
|
5430
|
+
_t as PaymentMethodApiOneOf3FromJSONTyped,
|
|
5431
|
+
za as PaymentMethodApiOneOf3NameEnum,
|
|
5432
|
+
Un as PaymentMethodApiOneOf3PayloadFromJSON,
|
|
5433
|
+
Gn as PaymentMethodApiOneOf3PayloadFromJSONTyped,
|
|
5434
|
+
Ka as PaymentMethodApiOneOf3PayloadStatusEnum,
|
|
5435
|
+
$n as PaymentMethodApiOneOf3PayloadToJSON,
|
|
5436
|
+
Kn as PaymentMethodApiOneOf3ToJSON,
|
|
5437
|
+
Fa as PaymentMethodApiOneOfFromJSON,
|
|
5438
|
+
pt as PaymentMethodApiOneOfFromJSONTyped,
|
|
5439
|
+
Ba as PaymentMethodApiOneOfNameEnum,
|
|
5440
|
+
Mn as PaymentMethodApiOneOfPayloadFromJSON,
|
|
5441
|
+
Cn as PaymentMethodApiOneOfPayloadFromJSONTyped,
|
|
5442
|
+
In as PaymentMethodApiOneOfPayloadToJSON,
|
|
5443
|
+
bn as PaymentMethodApiOneOfToJSON,
|
|
5444
|
+
Vn as PaymentMethodApiToJSON,
|
|
5445
|
+
Ot as PaymentMethodRequestApiFromJSON,
|
|
5446
|
+
ar as PaymentMethodRequestApiFromJSONTyped,
|
|
5447
|
+
tc as PaymentMethodRequestApiNameEnum,
|
|
5448
|
+
At as PaymentMethodRequestApiToJSON,
|
|
5449
|
+
nr as PaymentMethodRequestPayloadApiFromJSON,
|
|
5450
|
+
rr as PaymentMethodRequestPayloadApiFromJSONTyped,
|
|
5451
|
+
or as PaymentMethodRequestPayloadApiToJSON,
|
|
5452
|
+
ms as PaymentMethodUpdatePayloadApiFromJSON,
|
|
5453
|
+
yo as PaymentMethodUpdatePayloadApiFromJSONTyped,
|
|
5454
|
+
go as PaymentMethodUpdatePayloadApiToJSON,
|
|
5455
|
+
vc as PollerStatus,
|
|
5456
|
+
xe as PollerStatusFromJSON,
|
|
5457
|
+
Er as PollerStatusFromJSONTyped,
|
|
5458
|
+
Nc as PollerStatusToJSON,
|
|
5459
|
+
K as RequiredError,
|
|
5460
|
+
Pi as ResponseError,
|
|
5461
|
+
Aa as SourceMarket,
|
|
5467
5462
|
ge as SourceMarketFromJSON,
|
|
5468
|
-
|
|
5469
|
-
|
|
5470
|
-
|
|
5471
|
-
|
|
5472
|
-
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
|
|
5476
|
-
|
|
5477
|
-
|
|
5478
|
-
|
|
5479
|
-
|
|
5480
|
-
|
|
5481
|
-
|
|
5482
|
-
|
|
5483
|
-
|
|
5484
|
-
|
|
5485
|
-
|
|
5486
|
-
|
|
5463
|
+
ln as SourceMarketFromJSONTyped,
|
|
5464
|
+
Sa as SourceMarketToJSON,
|
|
5465
|
+
Be as TagApiFromJSON,
|
|
5466
|
+
mn as TagApiFromJSONTyped,
|
|
5467
|
+
Fe as TagApiToJSON,
|
|
5468
|
+
lt as TaxApiFromJSON,
|
|
5469
|
+
hn as TaxApiFromJSONTyped,
|
|
5470
|
+
Ra as TaxApiTaxFrequencyEnum,
|
|
5471
|
+
ka as TaxApiTaxModeEnum,
|
|
5472
|
+
mt as TaxApiToJSON,
|
|
5473
|
+
Ei as TextApiResponse,
|
|
5474
|
+
Tt as TravelTimesApiFromJSON,
|
|
5475
|
+
kr as TravelTimesApiFromJSONTyped,
|
|
5476
|
+
Mt as TravelTimesApiToJSON,
|
|
5477
|
+
Sr as TravelTimesApiTravelTimesFromJSON,
|
|
5478
|
+
wr as TravelTimesApiTravelTimesFromJSONTyped,
|
|
5479
|
+
Rr as TravelTimesApiTravelTimesToJSON,
|
|
5480
|
+
qo as VoidApiResponse,
|
|
5481
|
+
$o as canConsumeForm,
|
|
5487
5482
|
r as exists,
|
|
5488
|
-
|
|
5489
|
-
|
|
5490
|
-
|
|
5491
|
-
|
|
5492
|
-
|
|
5493
|
-
|
|
5494
|
-
|
|
5495
|
-
|
|
5496
|
-
|
|
5497
|
-
|
|
5498
|
-
|
|
5499
|
-
|
|
5500
|
-
|
|
5501
|
-
|
|
5502
|
-
|
|
5503
|
-
|
|
5504
|
-
|
|
5505
|
-
|
|
5506
|
-
|
|
5507
|
-
|
|
5508
|
-
|
|
5509
|
-
|
|
5510
|
-
|
|
5511
|
-
|
|
5512
|
-
|
|
5513
|
-
|
|
5514
|
-
|
|
5515
|
-
|
|
5516
|
-
|
|
5517
|
-
|
|
5518
|
-
|
|
5519
|
-
|
|
5520
|
-
|
|
5521
|
-
|
|
5522
|
-
|
|
5523
|
-
|
|
5524
|
-
|
|
5525
|
-
|
|
5526
|
-
|
|
5527
|
-
|
|
5528
|
-
|
|
5529
|
-
|
|
5530
|
-
|
|
5531
|
-
|
|
5532
|
-
|
|
5533
|
-
|
|
5534
|
-
|
|
5535
|
-
|
|
5536
|
-
|
|
5537
|
-
|
|
5538
|
-
|
|
5539
|
-
|
|
5540
|
-
|
|
5541
|
-
|
|
5542
|
-
|
|
5543
|
-
|
|
5544
|
-
|
|
5545
|
-
|
|
5546
|
-
|
|
5547
|
-
|
|
5548
|
-
|
|
5549
|
-
|
|
5550
|
-
|
|
5551
|
-
|
|
5552
|
-
|
|
5553
|
-
|
|
5554
|
-
|
|
5555
|
-
|
|
5556
|
-
|
|
5557
|
-
|
|
5483
|
+
Li as instanceOfAllowedPaymentMethodApiOneOf,
|
|
5484
|
+
Bi as instanceOfAllowedPaymentMethodApiOneOf1,
|
|
5485
|
+
xi as instanceOfAllowedPaymentMethodApiOneOf2,
|
|
5486
|
+
qi as instanceOfAllowedPaymentMethodApiOneOf3,
|
|
5487
|
+
jo as instanceOfAllowedPaymentMethodApiOneOf3Payload,
|
|
5488
|
+
na as instanceOfAmenitiesApi,
|
|
5489
|
+
ra as instanceOfBedApi,
|
|
5490
|
+
Xa as instanceOfBookingApi,
|
|
5491
|
+
nc as instanceOfBookingCreateApi,
|
|
5492
|
+
ja as instanceOfBookingCreateApiGuestsListInner,
|
|
5493
|
+
Qa as instanceOfBookingCreateApiGuestsListInnerGuestsInner,
|
|
5494
|
+
oc as instanceOfBookingPoliciesApi,
|
|
5495
|
+
cc as instanceOfBookingPoliciesCreateApi,
|
|
5496
|
+
uc as instanceOfBookingsApiResponse,
|
|
5497
|
+
ca as instanceOfCancellationPolicyApi,
|
|
5498
|
+
ha as instanceOfContactPersonApi,
|
|
5499
|
+
ua as instanceOfContactPersonOrganizationApi,
|
|
5500
|
+
mc as instanceOfErrorApiResponse,
|
|
5501
|
+
ga as instanceOfEventApi,
|
|
5502
|
+
yc as instanceOfEventMetadataApi,
|
|
5503
|
+
Sc as instanceOfHotelApi,
|
|
5504
|
+
gc as instanceOfHotelApiImages,
|
|
5505
|
+
_a as instanceOfHotelImageApi,
|
|
5506
|
+
Rc as instanceOfHotelOfferApi,
|
|
5507
|
+
kc as instanceOfHotelOfferApiAllOf,
|
|
5508
|
+
Cc as instanceOfHotelOfferRequestApiResponse,
|
|
5509
|
+
Dc as instanceOfHotelOfferRequestCreateApi,
|
|
5510
|
+
Lc as instanceOfHotelOffersApiResponse,
|
|
5511
|
+
Pc as instanceOfHotelOffersApiResponseMeta,
|
|
5512
|
+
Bc as instanceOfHotelOffersApiResponseMetaAllOf,
|
|
5513
|
+
Ec as instanceOfHotelOffersDataApiResponse,
|
|
5514
|
+
_c as instanceOfHotelReviewRatingApi,
|
|
5515
|
+
Oa as instanceOfHotelRoomApi,
|
|
5516
|
+
ba as instanceOfHotelRoomOfferApi,
|
|
5517
|
+
Jc as instanceOfHotelRoomOfferApiResponse,
|
|
5518
|
+
Gc as instanceOfHotelRoomOfferRequestApiResponse,
|
|
5519
|
+
qc as instanceOfHotelRoomOfferRequestApiResponseAllOf,
|
|
5520
|
+
zc as instanceOfHotelRoomOfferRequestApiResponseAllOf1,
|
|
5521
|
+
Wc as instanceOfHotelRoomOfferRequestCreateApi,
|
|
5522
|
+
es as instanceOfHotelRoomOffersApiResponse,
|
|
5523
|
+
ns as instanceOfHotelRoomOffersCreateApi,
|
|
5524
|
+
Qc as instanceOfHotelRoomOffersDataApiResponse,
|
|
5525
|
+
is as instanceOfHotelRoomOffersDataCreateApi,
|
|
5526
|
+
Pa as instanceOfHotelRoomingListApi,
|
|
5527
|
+
va as instanceOfHotelRoomingListApiHotelRoom,
|
|
5528
|
+
Na as instanceOfHotelRoomingListGuestApi,
|
|
5529
|
+
os as instanceOfHotelRoomingListGuestsCreateApi,
|
|
5530
|
+
cs as instanceOfHotelRoomingListGuestsUpdateApi,
|
|
5531
|
+
La as instanceOfInvoiceApi,
|
|
5532
|
+
jc as instanceOfMetaPollingResponseApi,
|
|
5533
|
+
ds as instanceOfMetaPollingResponseApiAllOf,
|
|
5534
|
+
dc as instanceOfMetaResponseApi,
|
|
5535
|
+
Dn as instanceOfPaymentMethodApiOneOf,
|
|
5536
|
+
En as instanceOfPaymentMethodApiOneOf1,
|
|
5537
|
+
xa as instanceOfPaymentMethodApiOneOf1Payload,
|
|
5538
|
+
xn as instanceOfPaymentMethodApiOneOf2,
|
|
5539
|
+
Ga as instanceOfPaymentMethodApiOneOf2Payload,
|
|
5540
|
+
qn as instanceOfPaymentMethodApiOneOf3,
|
|
5541
|
+
Ya as instanceOfPaymentMethodApiOneOf3Payload,
|
|
5542
|
+
Ha as instanceOfPaymentMethodApiOneOfPayload,
|
|
5543
|
+
ic as instanceOfPaymentMethodRequestApi,
|
|
5544
|
+
ec as instanceOfPaymentMethodRequestPayloadApi,
|
|
5545
|
+
ls as instanceOfPaymentMethodUpdatePayloadApi,
|
|
5546
|
+
wa as instanceOfTagApi,
|
|
5547
|
+
Ta as instanceOfTaxApi,
|
|
5548
|
+
Ac as instanceOfTravelTimesApi,
|
|
5549
|
+
Oc as instanceOfTravelTimesApiTravelTimes,
|
|
5550
|
+
Go as mapValues,
|
|
5551
|
+
nt as querystring,
|
|
5552
|
+
Do as v1ApiClient
|
|
5558
5553
|
};
|