@revolugo/booking-api-client 7.1.0-alpha.1 → 7.1.0
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 +312 -294
- package/dist/index.umd.js +2 -2
- package/dist/types/booking-api-client.d.ts +8 -8
- package/dist/types/v1/apis/ResourceHotelOffersApi.d.ts +3 -3
- package/dist/types/v1/apis/ResourceHotelRoomOffersApi.d.ts +3 -3
- package/dist/types/v1/models/index.d.ts +76 -51
- package/package.json +5 -5
package/dist/index.es.js
CHANGED
|
@@ -23,19 +23,19 @@ function ft(i) {
|
|
|
23
23
|
return e;
|
|
24
24
|
}
|
|
25
25
|
function Xe(i, e) {
|
|
26
|
-
const [n, t, r] =
|
|
26
|
+
const [n, t, r] = Te(i, e);
|
|
27
27
|
return n + t.map(Ee(e?.locale)).join(e?.delimiter ?? " ") + r;
|
|
28
28
|
}
|
|
29
29
|
function dt(i, e) {
|
|
30
|
-
const [n, t, r] =
|
|
30
|
+
const [n, t, r] = Te(i, e), s = Ee(e?.locale), u = ke(e?.locale), c = e?.mergeAmbiguousCharacters ? _e(s, u) : et(s, u);
|
|
31
31
|
return n + t.map((h, S) => S === 0 ? s(h) : c(h, S)).join(e?.delimiter ?? "") + r;
|
|
32
32
|
}
|
|
33
33
|
function ht(i, e) {
|
|
34
|
-
const [n, t, r] =
|
|
34
|
+
const [n, t, r] = Te(i, e), s = Ee(e?.locale), u = ke(e?.locale), c = e?.mergeAmbiguousCharacters ? _e(s, u) : et(s, u);
|
|
35
35
|
return n + t.map(c).join(e?.delimiter ?? "") + r;
|
|
36
36
|
}
|
|
37
37
|
function pt(i, e) {
|
|
38
|
-
const [n, t, r] =
|
|
38
|
+
const [n, t, r] = Te(i, e), s = Ee(e?.locale), u = ke(e?.locale);
|
|
39
39
|
return n + t.map(_e(s, u)).join(e?.delimiter ?? " ") + r;
|
|
40
40
|
}
|
|
41
41
|
function Qe(i, e) {
|
|
@@ -59,7 +59,7 @@ function et(i, e) {
|
|
|
59
59
|
return (t > 0 && r >= "0" && r <= "9" ? "_" + r : e(r)) + i(n.slice(1));
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function Te(i, e = {}) {
|
|
63
63
|
const n = e.split ?? (e.separateNumbers ? ft : Je), t = e.prefixCharacters ?? Be, r = e.suffixCharacters ?? Be;
|
|
64
64
|
let s = 0, u = i.length;
|
|
65
65
|
for (; s < i.length; ) {
|
|
@@ -84,9 +84,9 @@ var se = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
84
84
|
function j(i) {
|
|
85
85
|
return i && i.__esModule && Object.prototype.hasOwnProperty.call(i, "default") ? i.default : i;
|
|
86
86
|
}
|
|
87
|
-
var ce = { exports: {} }, yt = ce.exports,
|
|
87
|
+
var ce = { exports: {} }, yt = ce.exports, Le;
|
|
88
88
|
function gt() {
|
|
89
|
-
return
|
|
89
|
+
return Le || (Le = 1, (function(i, e) {
|
|
90
90
|
(function(n, t, r) {
|
|
91
91
|
i.exports = r(), i.exports.default = r();
|
|
92
92
|
})("slugify", yt, function() {
|
|
@@ -146,19 +146,19 @@ const Et = {
|
|
|
146
146
|
"CI-CD": "https://booking-api.staging.revolugo.com",
|
|
147
147
|
LOCAL: "http://127.0.0.1:3001"
|
|
148
148
|
};
|
|
149
|
-
var De = /* @__PURE__ */ ((i) => (i.HOTEL_ROOM_OFFERS = "HOTEL_ROOM_OFFERS", i.HOTEL_SEARCH_POLLING = "HOTEL_SEARCH_POLLING", i))(De || {}), le = { exports: {} },
|
|
149
|
+
var De = /* @__PURE__ */ ((i) => (i.HOTEL_ROOM_OFFERS = "HOTEL_ROOM_OFFERS", i.HOTEL_SEARCH_POLLING = "HOTEL_SEARCH_POLLING", i))(De || {}), le = { exports: {} }, Tt = le.exports, xe;
|
|
150
150
|
function tt() {
|
|
151
|
-
return
|
|
151
|
+
return xe || (xe = 1, (function(i, e) {
|
|
152
152
|
(function(n, t) {
|
|
153
153
|
i.exports = t();
|
|
154
|
-
})(
|
|
155
|
-
var n = 1e3, t = 6e4, r = 36e5, s = "millisecond", u = "second", c = "minute", h = "hour", S = "day", A = "week", y = "month", m = "quarter", C = "year", E = "date", d = "Invalid Date",
|
|
154
|
+
})(Tt, (function() {
|
|
155
|
+
var n = 1e3, t = 6e4, r = 36e5, s = "millisecond", u = "second", c = "minute", h = "hour", S = "day", A = "week", y = "month", m = "quarter", C = "year", E = "date", d = "Invalid Date", T = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, I = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, b = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(R) {
|
|
156
156
|
var o = ["th", "st", "nd", "rd"], a = R % 100;
|
|
157
157
|
return "[" + R + (o[(a - 20) % 10] || o[a] || o[0]) + "]";
|
|
158
158
|
} }, _ = function(R, o, a) {
|
|
159
159
|
var f = String(R);
|
|
160
160
|
return !f || f.length >= o ? R : "" + Array(o + 1 - f.length).join(a) + R;
|
|
161
|
-
},
|
|
161
|
+
}, U = { s: _, z: function(R) {
|
|
162
162
|
var o = -R.utcOffset(), a = Math.abs(o), f = Math.floor(a / 60), l = a % 60;
|
|
163
163
|
return (o <= 0 ? "+" : "-") + _(f, 2, "0") + ":" + _(l, 2, "0");
|
|
164
164
|
}, m: function R(o, a) {
|
|
@@ -171,13 +171,13 @@ function tt() {
|
|
|
171
171
|
return { M: y, y: C, w: A, d: S, D: E, h, m: c, s: u, ms: s, Q: m }[R] || String(R || "").toLowerCase().replace(/s$/, "");
|
|
172
172
|
}, u: function(R) {
|
|
173
173
|
return R === void 0;
|
|
174
|
-
} },
|
|
175
|
-
B[
|
|
176
|
-
var
|
|
177
|
-
return R instanceof Y || !(!R || !R[
|
|
178
|
-
},
|
|
174
|
+
} }, M = "en", B = {};
|
|
175
|
+
B[M] = b;
|
|
176
|
+
var F = "$isDayjsObject", K = function(R) {
|
|
177
|
+
return R instanceof Y || !(!R || !R[F]);
|
|
178
|
+
}, $ = function R(o, a, f) {
|
|
179
179
|
var l;
|
|
180
|
-
if (!o) return
|
|
180
|
+
if (!o) return M;
|
|
181
181
|
if (typeof o == "string") {
|
|
182
182
|
var g = o.toLowerCase();
|
|
183
183
|
B[g] && (l = g), a && (B[g] = a, l = g);
|
|
@@ -187,18 +187,18 @@ function tt() {
|
|
|
187
187
|
var D = o.name;
|
|
188
188
|
B[D] = o, l = D;
|
|
189
189
|
}
|
|
190
|
-
return !f && l && (
|
|
191
|
-
},
|
|
192
|
-
if (
|
|
190
|
+
return !f && l && (M = l), l || !f && M;
|
|
191
|
+
}, L = function(R, o) {
|
|
192
|
+
if (K(R)) return R.clone();
|
|
193
193
|
var a = typeof o == "object" ? o : {};
|
|
194
194
|
return a.date = R, a.args = arguments, new Y(a);
|
|
195
|
-
}, O =
|
|
196
|
-
O.l =
|
|
197
|
-
return
|
|
195
|
+
}, O = U;
|
|
196
|
+
O.l = $, O.i = K, O.w = function(R, o) {
|
|
197
|
+
return L(R, { locale: o.$L, utc: o.$u, x: o.$x, $offset: o.$offset });
|
|
198
198
|
};
|
|
199
199
|
var Y = (function() {
|
|
200
200
|
function R(a) {
|
|
201
|
-
this.$L =
|
|
201
|
+
this.$L = $(a.locale, null, !0), this.parse(a), this.$x = this.$x || a.x || {}, this[F] = !0;
|
|
202
202
|
}
|
|
203
203
|
var o = R.prototype;
|
|
204
204
|
return o.parse = function(a) {
|
|
@@ -208,10 +208,10 @@ function tt() {
|
|
|
208
208
|
if (O.u(l)) return /* @__PURE__ */ new Date();
|
|
209
209
|
if (l instanceof Date) return new Date(l);
|
|
210
210
|
if (typeof l == "string" && !/Z$/i.test(l)) {
|
|
211
|
-
var p = l.match(
|
|
211
|
+
var p = l.match(T);
|
|
212
212
|
if (p) {
|
|
213
|
-
var D = p[2] - 1 || 0,
|
|
214
|
-
return g ? new Date(Date.UTC(p[1], D, p[3] || 1, p[4] || 0, p[5] || 0, p[6] || 0,
|
|
213
|
+
var D = p[2] - 1 || 0, N = (p[7] || "0").substring(0, 3);
|
|
214
|
+
return g ? new Date(Date.UTC(p[1], D, p[3] || 1, p[4] || 0, p[5] || 0, p[6] || 0, N)) : new Date(p[1], D, p[3] || 1, p[4] || 0, p[5] || 0, p[6] || 0, N);
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
217
|
return new Date(l);
|
|
@@ -224,12 +224,12 @@ function tt() {
|
|
|
224
224
|
}, o.isValid = function() {
|
|
225
225
|
return this.$d.toString() !== d;
|
|
226
226
|
}, o.isSame = function(a, f) {
|
|
227
|
-
var l =
|
|
227
|
+
var l = L(a);
|
|
228
228
|
return this.startOf(f) <= l && l <= this.endOf(f);
|
|
229
229
|
}, o.isAfter = function(a, f) {
|
|
230
|
-
return
|
|
230
|
+
return L(a) < this.startOf(f);
|
|
231
231
|
}, o.isBefore = function(a, f) {
|
|
232
|
-
return this.endOf(f) <
|
|
232
|
+
return this.endOf(f) < L(a);
|
|
233
233
|
}, o.$g = function(a, f, l) {
|
|
234
234
|
return O.u(a) ? this[f] : this.set(l, a);
|
|
235
235
|
}, o.unix = function() {
|
|
@@ -240,7 +240,7 @@ function tt() {
|
|
|
240
240
|
var l = this, g = !!O.u(f) || f, p = O.p(a), D = function(Q, q) {
|
|
241
241
|
var Z = O.w(l.$u ? Date.UTC(l.$y, q, Q) : new Date(l.$y, q, Q), l);
|
|
242
242
|
return g ? Z : Z.endOf(S);
|
|
243
|
-
},
|
|
243
|
+
}, N = function(Q, q) {
|
|
244
244
|
return O.w(l.toDate()[Q].apply(l.toDate("s"), (g ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(q)), l);
|
|
245
245
|
}, G = this.$W, k = this.$M, H = this.$D, te = "set" + (this.$u ? "UTC" : "");
|
|
246
246
|
switch (p) {
|
|
@@ -253,24 +253,24 @@ function tt() {
|
|
|
253
253
|
return D(g ? H - re : H + (6 - re), k);
|
|
254
254
|
case S:
|
|
255
255
|
case E:
|
|
256
|
-
return
|
|
256
|
+
return N(te + "Hours", 0);
|
|
257
257
|
case h:
|
|
258
|
-
return
|
|
258
|
+
return N(te + "Minutes", 1);
|
|
259
259
|
case c:
|
|
260
|
-
return
|
|
260
|
+
return N(te + "Seconds", 2);
|
|
261
261
|
case u:
|
|
262
|
-
return
|
|
262
|
+
return N(te + "Milliseconds", 3);
|
|
263
263
|
default:
|
|
264
264
|
return this.clone();
|
|
265
265
|
}
|
|
266
266
|
}, o.endOf = function(a) {
|
|
267
267
|
return this.startOf(a, !1);
|
|
268
268
|
}, o.$set = function(a, f) {
|
|
269
|
-
var l, g = O.p(a), p = "set" + (this.$u ? "UTC" : ""), D = (l = {}, l[S] = p + "Date", l[E] = p + "Date", l[y] = p + "Month", l[C] = p + "FullYear", l[h] = p + "Hours", l[c] = p + "Minutes", l[u] = p + "Seconds", l[s] = p + "Milliseconds", l)[g],
|
|
269
|
+
var l, g = O.p(a), p = "set" + (this.$u ? "UTC" : ""), D = (l = {}, l[S] = p + "Date", l[E] = p + "Date", l[y] = p + "Month", l[C] = p + "FullYear", l[h] = p + "Hours", l[c] = p + "Minutes", l[u] = p + "Seconds", l[s] = p + "Milliseconds", l)[g], N = g === S ? this.$D + (f - this.$W) : f;
|
|
270
270
|
if (g === y || g === C) {
|
|
271
271
|
var G = this.clone().set(E, 1);
|
|
272
|
-
G.$d[D](
|
|
273
|
-
} else D && this.$d[D](
|
|
272
|
+
G.$d[D](N), G.init(), this.$d = G.set(E, Math.min(this.$D, G.daysInMonth())).$d;
|
|
273
|
+
} else D && this.$d[D](N);
|
|
274
274
|
return this.init(), this;
|
|
275
275
|
}, o.set = function(a, f) {
|
|
276
276
|
return this.clone().$set(a, f);
|
|
@@ -280,21 +280,21 @@ function tt() {
|
|
|
280
280
|
var l, g = this;
|
|
281
281
|
a = Number(a);
|
|
282
282
|
var p = O.p(f), D = function(k) {
|
|
283
|
-
var H =
|
|
283
|
+
var H = L(g);
|
|
284
284
|
return O.w(H.date(H.date() + Math.round(k * a)), g);
|
|
285
285
|
};
|
|
286
286
|
if (p === y) return this.set(y, this.$M + a);
|
|
287
287
|
if (p === C) return this.set(C, this.$y + a);
|
|
288
288
|
if (p === S) return D(1);
|
|
289
289
|
if (p === A) return D(7);
|
|
290
|
-
var
|
|
290
|
+
var N = (l = {}, l[c] = t, l[h] = r, l[u] = n, l)[p] || 1, G = this.$d.getTime() + a * N;
|
|
291
291
|
return O.w(G, this);
|
|
292
292
|
}, o.subtract = function(a, f) {
|
|
293
293
|
return this.add(-1 * a, f);
|
|
294
294
|
}, o.format = function(a) {
|
|
295
295
|
var f = this, l = this.$locale();
|
|
296
296
|
if (!this.isValid()) return l.invalidDate || d;
|
|
297
|
-
var g = a || "YYYY-MM-DDTHH:mm:ssZ", p = O.z(this), D = this.$H,
|
|
297
|
+
var g = a || "YYYY-MM-DDTHH:mm:ssZ", p = O.z(this), D = this.$H, N = this.$m, G = this.$M, k = l.weekdays, H = l.months, te = l.meridiem, X = function(q, Z, ie, ae) {
|
|
298
298
|
return q && (q[Z] || q(f, g)) || ie[Z].slice(0, ae);
|
|
299
299
|
}, re = function(q) {
|
|
300
300
|
return O.s(D % 12 || 12, q, "0");
|
|
@@ -338,13 +338,13 @@ function tt() {
|
|
|
338
338
|
case "hh":
|
|
339
339
|
return re(2);
|
|
340
340
|
case "a":
|
|
341
|
-
return Q(D,
|
|
341
|
+
return Q(D, N, !0);
|
|
342
342
|
case "A":
|
|
343
|
-
return Q(D,
|
|
343
|
+
return Q(D, N, !1);
|
|
344
344
|
case "m":
|
|
345
|
-
return String(
|
|
345
|
+
return String(N);
|
|
346
346
|
case "mm":
|
|
347
|
-
return O.s(
|
|
347
|
+
return O.s(N, 2, "0");
|
|
348
348
|
case "s":
|
|
349
349
|
return String(f.$s);
|
|
350
350
|
case "ss":
|
|
@@ -360,8 +360,8 @@ function tt() {
|
|
|
360
360
|
}, o.utcOffset = function() {
|
|
361
361
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
362
362
|
}, o.diff = function(a, f, l) {
|
|
363
|
-
var g, p = this, D = O.p(f),
|
|
364
|
-
return O.m(p,
|
|
363
|
+
var g, p = this, D = O.p(f), N = L(a), G = (N.utcOffset() - this.utcOffset()) * t, k = this - N, H = function() {
|
|
364
|
+
return O.m(p, N);
|
|
365
365
|
};
|
|
366
366
|
switch (D) {
|
|
367
367
|
case C:
|
|
@@ -398,7 +398,7 @@ function tt() {
|
|
|
398
398
|
return B[this.$L];
|
|
399
399
|
}, o.locale = function(a, f) {
|
|
400
400
|
if (!a) return this.$L;
|
|
401
|
-
var l = this.clone(), g =
|
|
401
|
+
var l = this.clone(), g = $(a, f, !0);
|
|
402
402
|
return g && (l.$L = g), l;
|
|
403
403
|
}, o.clone = function() {
|
|
404
404
|
return O.w(this.$d, this);
|
|
@@ -412,20 +412,20 @@ function tt() {
|
|
|
412
412
|
return this.$d.toUTCString();
|
|
413
413
|
}, R;
|
|
414
414
|
})(), oe = Y.prototype;
|
|
415
|
-
return
|
|
415
|
+
return L.prototype = oe, [["$ms", s], ["$s", u], ["$m", c], ["$H", h], ["$W", S], ["$M", y], ["$y", C], ["$D", E]].forEach((function(R) {
|
|
416
416
|
oe[R[1]] = function(o) {
|
|
417
417
|
return this.$g(o, R[0], R[1]);
|
|
418
418
|
};
|
|
419
|
-
})),
|
|
420
|
-
return R.$i || (R(o, Y,
|
|
421
|
-
},
|
|
422
|
-
return
|
|
423
|
-
},
|
|
419
|
+
})), L.extend = function(R, o) {
|
|
420
|
+
return R.$i || (R(o, Y, L), R.$i = !0), L;
|
|
421
|
+
}, L.locale = $, L.isDayjs = K, L.unix = function(R) {
|
|
422
|
+
return L(1e3 * R);
|
|
423
|
+
}, L.en = B[M], L.Ls = B, L.p = {}, L;
|
|
424
424
|
}));
|
|
425
425
|
})(le)), le.exports;
|
|
426
426
|
}
|
|
427
|
-
var
|
|
428
|
-
const W = /* @__PURE__ */ j(
|
|
427
|
+
var Mt = tt();
|
|
428
|
+
const W = /* @__PURE__ */ j(Mt);
|
|
429
429
|
var fe = { exports: {} }, Ot = fe.exports, Pe;
|
|
430
430
|
function kt() {
|
|
431
431
|
return Pe || (Pe = 1, (function(i, e) {
|
|
@@ -478,9 +478,9 @@ function kt() {
|
|
|
478
478
|
}
|
|
479
479
|
var _t = kt();
|
|
480
480
|
const Dt = /* @__PURE__ */ j(_t);
|
|
481
|
-
var de = { exports: {} }, bt = de.exports,
|
|
481
|
+
var de = { exports: {} }, bt = de.exports, Ne;
|
|
482
482
|
function It() {
|
|
483
|
-
return
|
|
483
|
+
return Ne || (Ne = 1, (function(i, e) {
|
|
484
484
|
(function(n, t) {
|
|
485
485
|
i.exports = t();
|
|
486
486
|
})(bt, (function() {
|
|
@@ -494,13 +494,13 @@ function It() {
|
|
|
494
494
|
})(de)), de.exports;
|
|
495
495
|
}
|
|
496
496
|
var Bt = It();
|
|
497
|
-
const
|
|
498
|
-
var he = { exports: {} },
|
|
497
|
+
const Lt = /* @__PURE__ */ j(Bt);
|
|
498
|
+
var he = { exports: {} }, xt = he.exports, Ue;
|
|
499
499
|
function Pt() {
|
|
500
|
-
return
|
|
500
|
+
return Ue || (Ue = 1, (function(i, e) {
|
|
501
501
|
(function(n, t) {
|
|
502
502
|
i.exports = t();
|
|
503
|
-
})(
|
|
503
|
+
})(xt, (function() {
|
|
504
504
|
return function(n, t) {
|
|
505
505
|
t.prototype.isSameOrAfter = function(r, s) {
|
|
506
506
|
return this.isSame(r, s) || this.isAfter(r, s);
|
|
@@ -509,14 +509,14 @@ function Pt() {
|
|
|
509
509
|
}));
|
|
510
510
|
})(he)), he.exports;
|
|
511
511
|
}
|
|
512
|
-
var
|
|
513
|
-
const
|
|
514
|
-
var pe = { exports: {} },
|
|
512
|
+
var Nt = Pt();
|
|
513
|
+
const Ut = /* @__PURE__ */ j(Nt);
|
|
514
|
+
var pe = { exports: {} }, $t = pe.exports, $e;
|
|
515
515
|
function Gt() {
|
|
516
|
-
return
|
|
516
|
+
return $e || ($e = 1, (function(i, e) {
|
|
517
517
|
(function(n, t) {
|
|
518
518
|
i.exports = t();
|
|
519
|
-
})(
|
|
519
|
+
})($t, (function() {
|
|
520
520
|
return function(n, t) {
|
|
521
521
|
t.prototype.isSameOrBefore = function(r, s) {
|
|
522
522
|
return this.isSame(r, s) || this.isBefore(r, s);
|
|
@@ -526,31 +526,31 @@ function Gt() {
|
|
|
526
526
|
})(pe)), pe.exports;
|
|
527
527
|
}
|
|
528
528
|
var Ht = Gt();
|
|
529
|
-
const
|
|
530
|
-
var me = { exports: {} },
|
|
529
|
+
const Ft = /* @__PURE__ */ j(Ht);
|
|
530
|
+
var me = { exports: {} }, Kt = me.exports, Ge;
|
|
531
531
|
function Vt() {
|
|
532
532
|
return Ge || (Ge = 1, (function(i, e) {
|
|
533
533
|
(function(n, t) {
|
|
534
534
|
i.exports = t();
|
|
535
|
-
})(
|
|
535
|
+
})(Kt, (function() {
|
|
536
536
|
return function(n, t, r) {
|
|
537
537
|
var s = t.prototype, u = function(y) {
|
|
538
538
|
return y && (y.indexOf ? y : y.s);
|
|
539
539
|
}, c = function(y, m, C, E, d) {
|
|
540
|
-
var
|
|
541
|
-
return
|
|
540
|
+
var T = y.name ? y : y.$locale(), I = u(T[m]), b = u(T[C]), _ = I || b.map((function(M) {
|
|
541
|
+
return M.slice(0, E);
|
|
542
542
|
}));
|
|
543
543
|
if (!d) return _;
|
|
544
|
-
var
|
|
545
|
-
return _.map((function(
|
|
546
|
-
return _[(B + (
|
|
544
|
+
var U = T.weekStart;
|
|
545
|
+
return _.map((function(M, B) {
|
|
546
|
+
return _[(B + (U || 0)) % 7];
|
|
547
547
|
}));
|
|
548
548
|
}, h = function() {
|
|
549
549
|
return r.Ls[r.locale()];
|
|
550
550
|
}, S = function(y, m) {
|
|
551
551
|
return y.formats[m] || (function(C) {
|
|
552
|
-
return C.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(E, d,
|
|
553
|
-
return d ||
|
|
552
|
+
return C.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(E, d, T) {
|
|
553
|
+
return d || T.slice(1);
|
|
554
554
|
}));
|
|
555
555
|
})(y.formats[m.toUpperCase()]);
|
|
556
556
|
}, A = function() {
|
|
@@ -620,8 +620,8 @@ function zt() {
|
|
|
620
620
|
h === void 0 && (h = "YYYY-MM-DDTHH:mm:ssZ");
|
|
621
621
|
var S = this.$locale().formats, A = (function(y, m) {
|
|
622
622
|
return y.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (function(C, E, d) {
|
|
623
|
-
var
|
|
624
|
-
return E || m[d] || n[d] || m[
|
|
623
|
+
var T = d && d.toUpperCase();
|
|
624
|
+
return E || m[d] || n[d] || m[T].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(I, b, _) {
|
|
625
625
|
return b || _.slice(1);
|
|
626
626
|
}));
|
|
627
627
|
}));
|
|
@@ -634,9 +634,9 @@ function zt() {
|
|
|
634
634
|
}
|
|
635
635
|
var Wt = zt();
|
|
636
636
|
const Zt = /* @__PURE__ */ j(Wt);
|
|
637
|
-
var ge = { exports: {} }, Jt = ge.exports,
|
|
637
|
+
var ge = { exports: {} }, Jt = ge.exports, Fe;
|
|
638
638
|
function Xt() {
|
|
639
|
-
return
|
|
639
|
+
return Fe || (Fe = 1, (function(i, e) {
|
|
640
640
|
(function(n, t) {
|
|
641
641
|
i.exports = t();
|
|
642
642
|
})(Jt, (function() {
|
|
@@ -663,9 +663,9 @@ function Xt() {
|
|
|
663
663
|
}
|
|
664
664
|
var Qt = Xt();
|
|
665
665
|
const en = /* @__PURE__ */ j(Qt);
|
|
666
|
-
var we = { exports: {} }, tn = we.exports,
|
|
666
|
+
var we = { exports: {} }, tn = we.exports, Ke;
|
|
667
667
|
function nn() {
|
|
668
|
-
return
|
|
668
|
+
return Ke || (Ke = 1, (function(i, e) {
|
|
669
669
|
(function(n, t) {
|
|
670
670
|
i.exports = t();
|
|
671
671
|
})(tn, (function() {
|
|
@@ -676,20 +676,20 @@ function nn() {
|
|
|
676
676
|
return s.fromToBase(S, A, y, m);
|
|
677
677
|
}
|
|
678
678
|
r.en.relativeTime = u, s.fromToBase = function(S, A, y, m, C) {
|
|
679
|
-
for (var E, d,
|
|
680
|
-
var
|
|
681
|
-
|
|
679
|
+
for (var E, d, T, I = y.$locale().relativeTime || u, b = n.thresholds || [{ l: "s", r: 44, d: "second" }, { l: "m", r: 89 }, { l: "mm", r: 44, d: "minute" }, { l: "h", r: 89 }, { l: "hh", r: 21, d: "hour" }, { l: "d", r: 35 }, { l: "dd", r: 25, d: "day" }, { l: "M", r: 45 }, { l: "MM", r: 10, d: "month" }, { l: "y", r: 17 }, { l: "yy", d: "year" }], _ = b.length, U = 0; U < _; U += 1) {
|
|
680
|
+
var M = b[U];
|
|
681
|
+
M.d && (E = m ? r(S).diff(y, M.d, !0) : y.diff(S, M.d, !0));
|
|
682
682
|
var B = (n.rounding || Math.round)(Math.abs(E));
|
|
683
|
-
if (
|
|
684
|
-
B <= 1 &&
|
|
685
|
-
var
|
|
686
|
-
C && (B = C("" + B)), d = typeof
|
|
683
|
+
if (T = E > 0, B <= M.r || !M.r) {
|
|
684
|
+
B <= 1 && U > 0 && (M = b[U - 1]);
|
|
685
|
+
var F = I[M.l];
|
|
686
|
+
C && (B = C("" + B)), d = typeof F == "string" ? F.replace("%d", B) : F(B, A, M.l, T);
|
|
687
687
|
break;
|
|
688
688
|
}
|
|
689
689
|
}
|
|
690
690
|
if (A) return d;
|
|
691
|
-
var
|
|
692
|
-
return typeof
|
|
691
|
+
var K = T ? I.future : I.past;
|
|
692
|
+
return typeof K == "function" ? K(d) : K.replace("%s", d);
|
|
693
693
|
}, s.to = function(S, A) {
|
|
694
694
|
return c(S, A, this, !0);
|
|
695
695
|
}, s.from = function(S, A) {
|
|
@@ -719,27 +719,27 @@ function sn() {
|
|
|
719
719
|
return function(r, s, u) {
|
|
720
720
|
var c, h = function(m, C, E) {
|
|
721
721
|
E === void 0 && (E = {});
|
|
722
|
-
var d = new Date(m),
|
|
722
|
+
var d = new Date(m), T = (function(I, b) {
|
|
723
723
|
b === void 0 && (b = {});
|
|
724
|
-
var _ = b.timeZoneName || "short",
|
|
725
|
-
return
|
|
724
|
+
var _ = b.timeZoneName || "short", U = I + "|" + _, M = t[U];
|
|
725
|
+
return M || (M = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: I, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: _ }), t[U] = M), M;
|
|
726
726
|
})(C, E);
|
|
727
|
-
return
|
|
727
|
+
return T.formatToParts(d);
|
|
728
728
|
}, S = function(m, C) {
|
|
729
|
-
for (var E = h(m, C), d = [],
|
|
730
|
-
var I = E[
|
|
731
|
-
|
|
729
|
+
for (var E = h(m, C), d = [], T = 0; T < E.length; T += 1) {
|
|
730
|
+
var I = E[T], b = I.type, _ = I.value, U = n[b];
|
|
731
|
+
U >= 0 && (d[U] = parseInt(_, 10));
|
|
732
732
|
}
|
|
733
|
-
var
|
|
734
|
-
return (u.utc(
|
|
733
|
+
var M = d[3], B = M === 24 ? 0 : M, F = d[0] + "-" + d[1] + "-" + d[2] + " " + B + ":" + d[4] + ":" + d[5] + ":000", K = +m;
|
|
734
|
+
return (u.utc(F).valueOf() - (K -= K % 1e3)) / 6e4;
|
|
735
735
|
}, A = s.prototype;
|
|
736
736
|
A.tz = function(m, C) {
|
|
737
737
|
m === void 0 && (m = c);
|
|
738
|
-
var E, d = this.utcOffset(),
|
|
738
|
+
var E, d = this.utcOffset(), T = this.toDate(), I = T.toLocaleString("en-US", { timeZone: m }), b = Math.round((T - new Date(I)) / 1e3 / 60), _ = 15 * -Math.round(T.getTimezoneOffset() / 15) - b;
|
|
739
739
|
if (!Number(_)) E = this.utcOffset(0, C);
|
|
740
740
|
else if (E = u(I, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(_, !0), C) {
|
|
741
|
-
var
|
|
742
|
-
E = E.add(d -
|
|
741
|
+
var U = E.utcOffset();
|
|
742
|
+
E = E.add(d - U, "minute");
|
|
743
743
|
}
|
|
744
744
|
return E.$x.$timezone = m, E;
|
|
745
745
|
}, A.offsetName = function(m) {
|
|
@@ -754,15 +754,15 @@ function sn() {
|
|
|
754
754
|
var E = u(this.format("YYYY-MM-DD HH:mm:ss:SSS"), { locale: this.$L });
|
|
755
755
|
return y.call(E, m, C).tz(this.$x.$timezone, !0);
|
|
756
756
|
}, u.tz = function(m, C, E) {
|
|
757
|
-
var d = E && C,
|
|
758
|
-
if (typeof m != "string") return u(m).tz(
|
|
759
|
-
var b = (function(B,
|
|
760
|
-
var
|
|
761
|
-
if (
|
|
762
|
-
var O = S(
|
|
763
|
-
return
|
|
764
|
-
})(u.utc(m, d).valueOf(), I,
|
|
765
|
-
return
|
|
757
|
+
var d = E && C, T = E || C || c, I = S(+u(), T);
|
|
758
|
+
if (typeof m != "string") return u(m).tz(T);
|
|
759
|
+
var b = (function(B, F, K) {
|
|
760
|
+
var $ = B - 60 * F * 1e3, L = S($, K);
|
|
761
|
+
if (F === L) return [$, F];
|
|
762
|
+
var O = S($ -= 60 * (L - F) * 1e3, K);
|
|
763
|
+
return L === O ? [$, L] : [B - 60 * Math.min(L, O) * 1e3, Math.max(L, O)];
|
|
764
|
+
})(u.utc(m, d).valueOf(), I, T), _ = b[0], U = b[1], M = u(_).utcOffset(U);
|
|
765
|
+
return M.$x.$timezone = T, M;
|
|
766
766
|
}, u.tz.guess = function() {
|
|
767
767
|
return Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
768
768
|
}, u.tz.setDefault = function(m) {
|
|
@@ -784,11 +784,11 @@ function fn() {
|
|
|
784
784
|
return function(s, u, c) {
|
|
785
785
|
var h = u.prototype;
|
|
786
786
|
c.utc = function(d) {
|
|
787
|
-
var
|
|
788
|
-
return new u(
|
|
787
|
+
var T = { date: d, utc: !0, args: arguments };
|
|
788
|
+
return new u(T);
|
|
789
789
|
}, h.utc = function(d) {
|
|
790
|
-
var
|
|
791
|
-
return d ?
|
|
790
|
+
var T = c(this.toDate(), { locale: this.$L, utc: !0 });
|
|
791
|
+
return d ? T.add(this.utcOffset(), n) : T;
|
|
792
792
|
}, h.local = function() {
|
|
793
793
|
return c(this.toDate(), { locale: this.$L, utc: !1 });
|
|
794
794
|
};
|
|
@@ -804,27 +804,27 @@ function fn() {
|
|
|
804
804
|
} else A.call(this);
|
|
805
805
|
};
|
|
806
806
|
var y = h.utcOffset;
|
|
807
|
-
h.utcOffset = function(d,
|
|
807
|
+
h.utcOffset = function(d, T) {
|
|
808
808
|
var I = this.$utils().u;
|
|
809
809
|
if (I(d)) return this.$u ? 0 : I(this.$offset) ? y.call(this) : this.$offset;
|
|
810
|
-
if (typeof d == "string" && (d = (function(
|
|
811
|
-
|
|
812
|
-
var B =
|
|
810
|
+
if (typeof d == "string" && (d = (function(M) {
|
|
811
|
+
M === void 0 && (M = "");
|
|
812
|
+
var B = M.match(t);
|
|
813
813
|
if (!B) return null;
|
|
814
|
-
var
|
|
815
|
-
return
|
|
814
|
+
var F = ("" + B[0]).match(r) || ["-", 0, 0], K = F[0], $ = 60 * +F[1] + +F[2];
|
|
815
|
+
return $ === 0 ? 0 : K === "+" ? $ : -$;
|
|
816
816
|
})(d), d === null)) return this;
|
|
817
817
|
var b = Math.abs(d) <= 16 ? 60 * d : d;
|
|
818
|
-
if (b === 0) return this.utc(
|
|
818
|
+
if (b === 0) return this.utc(T);
|
|
819
819
|
var _ = this.clone();
|
|
820
|
-
if (
|
|
821
|
-
var
|
|
822
|
-
return (_ = this.local().add(b +
|
|
820
|
+
if (T) return _.$offset = b, _.$u = !1, _;
|
|
821
|
+
var U = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
822
|
+
return (_ = this.local().add(b + U, n)).$offset = b, _.$x.$localOffset = U, _;
|
|
823
823
|
};
|
|
824
824
|
var m = h.format;
|
|
825
825
|
h.format = function(d) {
|
|
826
|
-
var
|
|
827
|
-
return m.call(this,
|
|
826
|
+
var T = d || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
|
|
827
|
+
return m.call(this, T);
|
|
828
828
|
}, h.valueOf = function() {
|
|
829
829
|
var d = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
|
|
830
830
|
return this.$d.valueOf() - 6e4 * d;
|
|
@@ -840,10 +840,10 @@ function fn() {
|
|
|
840
840
|
return d === "s" && this.$offset ? c(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : C.call(this);
|
|
841
841
|
};
|
|
842
842
|
var E = h.diff;
|
|
843
|
-
h.diff = function(d,
|
|
844
|
-
if (d && this.$u === d.$u) return E.call(this, d,
|
|
843
|
+
h.diff = function(d, T, I) {
|
|
844
|
+
if (d && this.$u === d.$u) return E.call(this, d, T, I);
|
|
845
845
|
var b = this.local(), _ = c(d).local();
|
|
846
|
-
return E.call(b, _,
|
|
846
|
+
return E.call(b, _, T, I);
|
|
847
847
|
};
|
|
848
848
|
};
|
|
849
849
|
}));
|
|
@@ -883,9 +883,9 @@ function gn() {
|
|
|
883
883
|
}
|
|
884
884
|
gn();
|
|
885
885
|
W.extend(Dt);
|
|
886
|
-
W.extend(
|
|
887
|
-
W.extend(
|
|
888
|
-
W.extend(
|
|
886
|
+
W.extend(Lt);
|
|
887
|
+
W.extend(Ut);
|
|
888
|
+
W.extend(Ft);
|
|
889
889
|
W.extend(Zt);
|
|
890
890
|
W.extend(qt);
|
|
891
891
|
W.extend(en);
|
|
@@ -946,15 +946,15 @@ for (let i = 0; i < 256; ++i)
|
|
|
946
946
|
function wn(i, e = 0) {
|
|
947
947
|
return (V[i[e + 0]] + V[i[e + 1]] + V[i[e + 2]] + V[i[e + 3]] + "-" + V[i[e + 4]] + V[i[e + 5]] + "-" + V[i[e + 6]] + V[i[e + 7]] + "-" + V[i[e + 8]] + V[i[e + 9]] + "-" + V[i[e + 10]] + V[i[e + 11]] + V[i[e + 12]] + V[i[e + 13]] + V[i[e + 14]] + V[i[e + 15]]).toLowerCase();
|
|
948
948
|
}
|
|
949
|
-
let
|
|
949
|
+
let Me;
|
|
950
950
|
const vn = new Uint8Array(16);
|
|
951
951
|
function Sn() {
|
|
952
|
-
if (!
|
|
952
|
+
if (!Me) {
|
|
953
953
|
if (typeof crypto > "u" || !crypto.getRandomValues)
|
|
954
954
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
955
|
-
|
|
955
|
+
Me = crypto.getRandomValues.bind(crypto);
|
|
956
956
|
}
|
|
957
|
-
return
|
|
957
|
+
return Me(vn);
|
|
958
958
|
}
|
|
959
959
|
const Rn = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), We = { randomUUID: Rn };
|
|
960
960
|
function An(i, e, n) {
|
|
@@ -1053,7 +1053,7 @@ function rt(i, e, n) {
|
|
|
1053
1053
|
});
|
|
1054
1054
|
});
|
|
1055
1055
|
}
|
|
1056
|
-
const
|
|
1056
|
+
const Tn = "http://localhost".replace(/\/+$/, ""), Mn = (i) => typeof Blob < "u" && i instanceof Blob;
|
|
1057
1057
|
class z {
|
|
1058
1058
|
constructor(e = new it()) {
|
|
1059
1059
|
this.configuration = e, this.middleware = e.middleware;
|
|
@@ -1080,7 +1080,7 @@ class z {
|
|
|
1080
1080
|
createFetchParams(e, n) {
|
|
1081
1081
|
let t = this.configuration.basePath + e.path;
|
|
1082
1082
|
e.query !== void 0 && Object.keys(e.query).length !== 0 && (t += "?" + this.configuration.queryParamsStringify(e.query));
|
|
1083
|
-
const r = typeof FormData < "u" && e.body instanceof FormData || e.body instanceof URLSearchParams ||
|
|
1083
|
+
const r = typeof FormData < "u" && e.body instanceof FormData || e.body instanceof URLSearchParams || Mn(e.body) ? e.body : JSON.stringify(e.body), s = Object.assign({}, this.configuration.headers, e.headers);
|
|
1084
1084
|
Object.keys(s).forEach((c) => s[c] === void 0 ? delete s[c] : {});
|
|
1085
1085
|
const u = {
|
|
1086
1086
|
method: e.method,
|
|
@@ -1141,7 +1141,7 @@ class it {
|
|
|
1141
1141
|
this.configuration = e;
|
|
1142
1142
|
}
|
|
1143
1143
|
get basePath() {
|
|
1144
|
-
return this.configuration.basePath != null ? this.configuration.basePath :
|
|
1144
|
+
return this.configuration.basePath != null ? this.configuration.basePath : Tn;
|
|
1145
1145
|
}
|
|
1146
1146
|
get fetchApi() {
|
|
1147
1147
|
return this.configuration.fetchApi;
|
|
@@ -1201,7 +1201,7 @@ function Zn(i) {
|
|
|
1201
1201
|
return !0;
|
|
1202
1202
|
return !1;
|
|
1203
1203
|
}
|
|
1204
|
-
class
|
|
1204
|
+
class x {
|
|
1205
1205
|
constructor(e, n = (t) => t) {
|
|
1206
1206
|
this.raw = e, this.transformer = n;
|
|
1207
1207
|
}
|
|
@@ -1258,13 +1258,29 @@ const Qn = {
|
|
|
1258
1258
|
Pp: "bkg-pp",
|
|
1259
1259
|
Qr: "bkg-qr"
|
|
1260
1260
|
}, ar = {
|
|
1261
|
+
DeDe: "de-DE",
|
|
1262
|
+
EnUs: "en-US",
|
|
1263
|
+
EsEs: "es-ES",
|
|
1264
|
+
FrFr: "fr-FR",
|
|
1265
|
+
ItIt: "it-IT",
|
|
1266
|
+
NlNl: "nl-NL",
|
|
1267
|
+
PtPt: "pt-PT"
|
|
1268
|
+
}, sr = {
|
|
1269
|
+
DeDe: "de-DE",
|
|
1270
|
+
EnUs: "en-US",
|
|
1271
|
+
EsEs: "es-ES",
|
|
1272
|
+
FrFr: "fr-FR",
|
|
1273
|
+
ItIt: "it-IT",
|
|
1274
|
+
NlNl: "nl-NL",
|
|
1275
|
+
PtPt: "pt-PT"
|
|
1276
|
+
}, ur = {
|
|
1261
1277
|
Dr: "dr",
|
|
1262
1278
|
Mr: "mr",
|
|
1263
1279
|
Mrs: "mrs",
|
|
1264
1280
|
Ms: "ms",
|
|
1265
1281
|
NotSpecified: "notSpecified",
|
|
1266
1282
|
Prof: "prof"
|
|
1267
|
-
},
|
|
1283
|
+
}, cr = {
|
|
1268
1284
|
Ad: "AD",
|
|
1269
1285
|
Ae: "AE",
|
|
1270
1286
|
Af: "AF",
|
|
@@ -1508,7 +1524,7 @@ const Qn = {
|
|
|
1508
1524
|
Za: "ZA",
|
|
1509
1525
|
Zm: "ZM",
|
|
1510
1526
|
Zw: "ZW"
|
|
1511
|
-
},
|
|
1527
|
+
}, lr = {
|
|
1512
1528
|
Aed: "AED",
|
|
1513
1529
|
Afn: "AFN",
|
|
1514
1530
|
All: "ALL",
|
|
@@ -1647,7 +1663,7 @@ const Qn = {
|
|
|
1647
1663
|
Yer: "YER",
|
|
1648
1664
|
Zar: "ZAR",
|
|
1649
1665
|
Zmw: "ZMW"
|
|
1650
|
-
},
|
|
1666
|
+
}, fr = {
|
|
1651
1667
|
ApiError: "api_error",
|
|
1652
1668
|
BadGateway: "bad_gateway",
|
|
1653
1669
|
InternalServerError: "internal_server_error",
|
|
@@ -1657,26 +1673,23 @@ const Qn = {
|
|
|
1657
1673
|
ResourceNotFound: "resource_not_found",
|
|
1658
1674
|
Unauthorized: "unauthorized",
|
|
1659
1675
|
ValidationError: "validation_error"
|
|
1660
|
-
},
|
|
1676
|
+
}, dr = {
|
|
1661
1677
|
Included: "INCLUDED",
|
|
1662
1678
|
NotIncluded: "NOT_INCLUDED",
|
|
1663
1679
|
Optional: "OPTIONAL"
|
|
1664
|
-
},
|
|
1680
|
+
}, hr = {
|
|
1665
1681
|
BestMatch: "BEST_MATCH",
|
|
1666
1682
|
Cheapest: "CHEAPEST",
|
|
1667
1683
|
MatchingRoomCount: "MATCHING_ROOM_COUNT",
|
|
1668
1684
|
Regular: "REGULAR"
|
|
1669
|
-
},
|
|
1685
|
+
}, pr = {
|
|
1670
1686
|
Included: "included",
|
|
1671
1687
|
NotIncluded: "not_included",
|
|
1672
1688
|
Unknown: "unknown"
|
|
1673
|
-
},
|
|
1689
|
+
}, mr = {
|
|
1674
1690
|
HotelRoom: "HOTEL_ROOM",
|
|
1675
1691
|
Package: "PACKAGE"
|
|
1676
|
-
},
|
|
1677
|
-
CreditNote: "credit_note",
|
|
1678
|
-
Invoice: "invoice"
|
|
1679
|
-
}, mr = {
|
|
1692
|
+
}, yr = {
|
|
1680
1693
|
DeDe: "de-DE",
|
|
1681
1694
|
EnUs: "en-US",
|
|
1682
1695
|
EsEs: "es-ES",
|
|
@@ -1684,26 +1697,29 @@ const Qn = {
|
|
|
1684
1697
|
ItIt: "it-IT",
|
|
1685
1698
|
NlNl: "nl-NL",
|
|
1686
1699
|
PtPt: "pt-PT"
|
|
1687
|
-
}, yr = {
|
|
1688
|
-
CreditCard: "CREDIT_CARD"
|
|
1689
1700
|
}, gr = {
|
|
1690
|
-
|
|
1701
|
+
CreditNote: "credit_note",
|
|
1702
|
+
Invoice: "invoice"
|
|
1691
1703
|
}, wr = {
|
|
1692
|
-
|
|
1704
|
+
CreditCard: "CREDIT_CARD"
|
|
1693
1705
|
}, vr = {
|
|
1694
|
-
|
|
1706
|
+
Coupon: "COUPON"
|
|
1695
1707
|
}, Sr = {
|
|
1708
|
+
DepositAccount: "DEPOSIT_ACCOUNT"
|
|
1709
|
+
}, Rr = {
|
|
1710
|
+
PayLater: "PAY_LATER"
|
|
1711
|
+
}, Ar = {
|
|
1696
1712
|
Disabled: "DISABLED",
|
|
1697
1713
|
Enabled: "ENABLED",
|
|
1698
1714
|
Forced: "FORCED"
|
|
1699
|
-
},
|
|
1715
|
+
}, Cr = {
|
|
1700
1716
|
Coupon: "COUPON",
|
|
1701
1717
|
CreditCard: "CREDIT_CARD",
|
|
1702
1718
|
DepositAccount: "DEPOSIT_ACCOUNT"
|
|
1703
|
-
},
|
|
1719
|
+
}, Er = {
|
|
1704
1720
|
Complete: "COMPLETE",
|
|
1705
1721
|
InProgress: "IN_PROGRESS"
|
|
1706
|
-
},
|
|
1722
|
+
}, Tr = {
|
|
1707
1723
|
Ad: "AD",
|
|
1708
1724
|
Ae: "AE",
|
|
1709
1725
|
Af: "AF",
|
|
@@ -1947,10 +1963,10 @@ const Qn = {
|
|
|
1947
1963
|
Za: "ZA",
|
|
1948
1964
|
Zm: "ZM",
|
|
1949
1965
|
Zw: "ZW"
|
|
1950
|
-
},
|
|
1966
|
+
}, Mr = {
|
|
1951
1967
|
Night: "PER_NIGHT",
|
|
1952
1968
|
Stay: "PER_STAY"
|
|
1953
|
-
},
|
|
1969
|
+
}, Or = {
|
|
1954
1970
|
Adult: "PER_ADULT",
|
|
1955
1971
|
Booking: "PER_BOOKING"
|
|
1956
1972
|
};
|
|
@@ -1969,7 +1985,7 @@ class _n extends z {
|
|
|
1969
1985
|
headers: r,
|
|
1970
1986
|
query: w(t, v.Snake)
|
|
1971
1987
|
}, n);
|
|
1972
|
-
return await new
|
|
1988
|
+
return await new x(s, (u) => w(u, v.Camel)).value();
|
|
1973
1989
|
}
|
|
1974
1990
|
/**
|
|
1975
1991
|
* Get Booking Policy
|
|
@@ -1992,7 +2008,7 @@ class _n extends z {
|
|
|
1992
2008
|
headers: r,
|
|
1993
2009
|
query: w(t, v.Snake)
|
|
1994
2010
|
}, n);
|
|
1995
|
-
return new
|
|
2011
|
+
return new x(s, (u) => w(u, v.Camel)).value();
|
|
1996
2012
|
}
|
|
1997
2013
|
/**
|
|
1998
2014
|
* Retrieve payment methods for a booking policy
|
|
@@ -2015,7 +2031,7 @@ class _n extends z {
|
|
|
2015
2031
|
query: w(t, v.Snake),
|
|
2016
2032
|
body: w(e.bookingPoliciesCreateApi, v.Snake)
|
|
2017
2033
|
}, n);
|
|
2018
|
-
return await new
|
|
2034
|
+
return await new x(s, (u) => w(u, v.Camel)).value();
|
|
2019
2035
|
}
|
|
2020
2036
|
/**
|
|
2021
2037
|
* In order to be able to create and confirm a booking against a specific **Hotel Room Offer** package, you need to make a booking policy call. Retrieving a booking policy returns additional information about the booking being made and includes details like cancellation policies. This API call is equivalent to an availability check and it is important not to let long periods between retrieval of this policy and the booking confirmation call itself as this will often reduce the likelihood of the **Hotel Room Offer** being successfully booked. The **booking_policy_id** returned is meant to be used to carry out a pre-book call via **[Pre Book endpoint](/v1/documentation#operation/postV1Bookings)** on the next **Booking Flow** step. ⚠️ This call may take from 1 second up to 15 seconds to return as we may request various suppliers to fulfill this request.
|
|
@@ -2039,7 +2055,7 @@ class Dn extends z {
|
|
|
2039
2055
|
headers: r,
|
|
2040
2056
|
query: w(t, v.Snake)
|
|
2041
2057
|
}, n);
|
|
2042
|
-
return await new
|
|
2058
|
+
return await new x(s, (u) => w(u, v.Camel)).value();
|
|
2043
2059
|
}
|
|
2044
2060
|
/**
|
|
2045
2061
|
* Cancel a confirmed Booking. A booking can only be cancelled if it\'s in one of the following status: **bkg-cf**, **bkg-pc**.
|
|
@@ -2063,7 +2079,7 @@ class Dn extends z {
|
|
|
2063
2079
|
headers: r,
|
|
2064
2080
|
query: w(t, v.Snake)
|
|
2065
2081
|
}, n);
|
|
2066
|
-
return await new
|
|
2082
|
+
return await new x(s, (u) => w(u, v.Camel)).value();
|
|
2067
2083
|
}
|
|
2068
2084
|
/**
|
|
2069
2085
|
* Returns a list of detailed bookings made on behalf of a specific API Key credential.
|
|
@@ -2087,7 +2103,7 @@ class Dn extends z {
|
|
|
2087
2103
|
headers: r,
|
|
2088
2104
|
query: w(t, v.Snake)
|
|
2089
2105
|
}, n);
|
|
2090
|
-
return await new
|
|
2106
|
+
return await new x(s, (u) => w(u, v.Camel)).value();
|
|
2091
2107
|
}
|
|
2092
2108
|
/**
|
|
2093
2109
|
* Retrieve the status and information of a booking.
|
|
@@ -2109,7 +2125,7 @@ class Dn extends z {
|
|
|
2109
2125
|
headers: r,
|
|
2110
2126
|
query: w(t, v.Snake)
|
|
2111
2127
|
}, n);
|
|
2112
|
-
return await new
|
|
2128
|
+
return await new x(s, (u) => w(u, v.Camel)).value();
|
|
2113
2129
|
}
|
|
2114
2130
|
/**
|
|
2115
2131
|
* Retrieve the status and information of a booking based on a valid token. This endpoint is public and does not require a secret API key.
|
|
@@ -2132,7 +2148,7 @@ class Dn extends z {
|
|
|
2132
2148
|
query: w(t, v.Snake),
|
|
2133
2149
|
body: w(e.bookingCreateApi, v.Snake)
|
|
2134
2150
|
}, n);
|
|
2135
|
-
return await new
|
|
2151
|
+
return await new x(s, (u) => w(u, v.Camel)).value();
|
|
2136
2152
|
}
|
|
2137
2153
|
/**
|
|
2138
2154
|
* Creates an unconfirmed booking
|
|
@@ -2158,7 +2174,7 @@ class Dn extends z {
|
|
|
2158
2174
|
headers: r,
|
|
2159
2175
|
query: w(t, v.Snake)
|
|
2160
2176
|
}, n);
|
|
2161
|
-
return await new
|
|
2177
|
+
return await new x(s, (u) => w(u, v.Camel)).value();
|
|
2162
2178
|
}
|
|
2163
2179
|
/**
|
|
2164
2180
|
* Confirm booking from Coupon payment method
|
|
@@ -2182,7 +2198,7 @@ class Dn extends z {
|
|
|
2182
2198
|
headers: r,
|
|
2183
2199
|
query: w(t, v.Snake)
|
|
2184
2200
|
}, n);
|
|
2185
|
-
return await new
|
|
2201
|
+
return await new x(s, (u) => w(u, v.Camel)).value();
|
|
2186
2202
|
}
|
|
2187
2203
|
/**
|
|
2188
2204
|
* Pay later and retrieve the status and information of a booking.
|
|
@@ -2206,7 +2222,7 @@ class Dn extends z {
|
|
|
2206
2222
|
headers: r,
|
|
2207
2223
|
query: w(t, v.Snake)
|
|
2208
2224
|
}, n);
|
|
2209
|
-
return await new
|
|
2225
|
+
return await new x(s, (u) => w(u, v.Camel)).value();
|
|
2210
2226
|
}
|
|
2211
2227
|
/**
|
|
2212
2228
|
* Confirm later paid and retrieve the status and information of a booking.
|
|
@@ -2230,7 +2246,7 @@ class Dn extends z {
|
|
|
2230
2246
|
headers: r,
|
|
2231
2247
|
query: w(t, v.Snake)
|
|
2232
2248
|
}, n);
|
|
2233
|
-
return await new
|
|
2249
|
+
return await new x(s, (u) => w(u, v.Camel)).value();
|
|
2234
2250
|
}
|
|
2235
2251
|
/**
|
|
2236
2252
|
* Trigger the actual booking confirmation process. 💡 This endpoint is only available for Bookings in the **bkg-created** status. ⚠️ The booking confirmation is an asynchronous process. The booking won\'t transition immediatly to **bkg-cf** status. Rather, the endpoint will return a booking in **bkg-ip** and you\'ll be required to check booking status calling **[Get Booking endpoint](/v1/documentation#operation/getV1BookingsId)**, ideally with a polling mechanism, and perform further action(s), whether you need to let your customer know about their booking or you just need to update some data on your system, when booking status transitions to **bkg-cf** (confirmed) or **bkg-af** (fail). ⚠️ Once you have called this endpoint, we immediatly send your confirmation request to our supplier(s) and they may confirm it immediatly, so you\'ll be liable for up to the total booking tax included price amount if you need to cancel it at a later time (refer to the booking\'s cancellation policies to get the actual current penalty percentage applied in case of cancellation).
|
|
@@ -2255,7 +2271,7 @@ class Dn extends z {
|
|
|
2255
2271
|
query: w(t, v.Snake),
|
|
2256
2272
|
body: w(e.paymentMethodUpdatePayloadApi, v.Snake)
|
|
2257
2273
|
}, n);
|
|
2258
|
-
return await new
|
|
2274
|
+
return await new x(s, (u) => w(u, v.Camel)).value();
|
|
2259
2275
|
}
|
|
2260
2276
|
/**
|
|
2261
2277
|
* Updates an ongoing Booking payment methods
|
|
@@ -2265,11 +2281,11 @@ class Dn extends z {
|
|
|
2265
2281
|
return this.updatePaymentMethodsRaw(e, n);
|
|
2266
2282
|
}
|
|
2267
2283
|
}
|
|
2268
|
-
const
|
|
2284
|
+
const kr = {
|
|
2269
2285
|
CheckInDate: "check_in_date",
|
|
2270
2286
|
CreatedAt: "created_at",
|
|
2271
2287
|
LastStatusUpdatedAt: "last_status_updated_at"
|
|
2272
|
-
},
|
|
2288
|
+
}, _r = {
|
|
2273
2289
|
Asc: "asc",
|
|
2274
2290
|
Desc: "desc"
|
|
2275
2291
|
};
|
|
@@ -2291,7 +2307,7 @@ class bn extends z {
|
|
|
2291
2307
|
headers: r,
|
|
2292
2308
|
query: w(t, v.Snake)
|
|
2293
2309
|
}, n);
|
|
2294
|
-
return new
|
|
2310
|
+
return new x(s, (u) => w(u, v.Camel)).value();
|
|
2295
2311
|
}
|
|
2296
2312
|
/**
|
|
2297
2313
|
* Returns a list of images for an Hotel Id with their content localize into the requested **lang**.
|
|
@@ -2301,7 +2317,7 @@ class bn extends z {
|
|
|
2301
2317
|
return this.retrieveRaw(e, n);
|
|
2302
2318
|
}
|
|
2303
2319
|
}
|
|
2304
|
-
const
|
|
2320
|
+
const Dr = {
|
|
2305
2321
|
DeDe: "de-DE",
|
|
2306
2322
|
EnUs: "en-US",
|
|
2307
2323
|
EsEs: "es-ES",
|
|
@@ -2326,7 +2342,7 @@ class In extends z {
|
|
|
2326
2342
|
headers: r,
|
|
2327
2343
|
query: w(t, v.Snake)
|
|
2328
2344
|
}, n);
|
|
2329
|
-
return await new
|
|
2345
|
+
return await new x(s, (u) => w(u, v.Camel)).value();
|
|
2330
2346
|
}
|
|
2331
2347
|
/**
|
|
2332
2348
|
* Returns a single Hotel Offer Request by id
|
|
@@ -2349,7 +2365,7 @@ class In extends z {
|
|
|
2349
2365
|
query: w(t, v.Snake),
|
|
2350
2366
|
body: w(e.hotelOfferRequestCreateApi, v.Snake)
|
|
2351
2367
|
}, n);
|
|
2352
|
-
return await new
|
|
2368
|
+
return await new x(s, (u) => w(u, v.Camel)).value();
|
|
2353
2369
|
}
|
|
2354
2370
|
/**
|
|
2355
2371
|
* Create an **Hotel Offer Request**. An **Hotel Offer Request** describes the guests (adult and child count), the ideal room count, when they want to check in and check out and obviously the location around which they need their accommodation to be (latitude/longitude pair).
|
|
@@ -2379,7 +2395,7 @@ class Bn extends z {
|
|
|
2379
2395
|
headers: r,
|
|
2380
2396
|
query: w(t, v.Snake)
|
|
2381
2397
|
}, n);
|
|
2382
|
-
return await new
|
|
2398
|
+
return await new x(s, (u) => w(u, v.Camel)).value();
|
|
2383
2399
|
}
|
|
2384
2400
|
/**
|
|
2385
2401
|
* You\'ll then make a call to the **Hotel Offers** endpoint to retrieve a list of **Hotel Offers** associated with your **Hotel Offer Request**. We\'ll send your search to a pool of hotels matching the search parameters you provided previously. The **Hotel Offers** endpoint will return hotels with available rates as **Hotel Room Offers** objects for each hotel in the list. For a detailed overview of the **Hotel Room Offer** object, see **[Retrieve Hotel Room Offers](/v1/documentation#operation/getV1Hotel_room_offers)** endpoint. ⚠️ **IMPORTANT**: The **Hotel Room Offers** included in each **Hotel Offer** returned by the **[Retrieve Hotel Offers](/v1/documentation#operation/getV1Hotel_offers)** endpoint might be **<span style=\"color:red\">cached data</span>**. In that case, the returned prices/availability may be slightly different from actual live inventory. In order to retrieve accurate and live **Hotel Room Offers** for a specific hotel you need to make a call to the **[Retrieve Hotel Room Offers](/v1/documentation#operation/getV1Hotel_room_offers)** endpoint. We do not recommend to systematically call **[Retrieve Hotel Room Offers](/v1/documentation#operation/getV1Hotel_room_offers)** for each hotel offer retrieved as it may trigger rate limiting on your API calls. Rather we recommend to do this as an explicit two-step process: first you check **Hotel Offers** around a location, then, once your customer shows interest in a specific **Hotel Offer**, you check **Hotel Room Offers** on that specific hotel. This endpoint requires ⚛️ **[Polling](/v1/documentation#tag/Polling)**.
|
|
@@ -2393,7 +2409,7 @@ class Bn extends z {
|
|
|
2393
2409
|
);
|
|
2394
2410
|
}
|
|
2395
2411
|
}
|
|
2396
|
-
const
|
|
2412
|
+
const br = {
|
|
2397
2413
|
DeDe: "de-DE",
|
|
2398
2414
|
EnUs: "en-US",
|
|
2399
2415
|
EsEs: "es-ES",
|
|
@@ -2401,17 +2417,17 @@ const _r = {
|
|
|
2401
2417
|
ItIt: "it-IT",
|
|
2402
2418
|
NlNl: "nl-NL",
|
|
2403
2419
|
PtPt: "pt-PT"
|
|
2404
|
-
},
|
|
2420
|
+
}, Ir = {
|
|
2405
2421
|
Distance: "distance",
|
|
2406
2422
|
Price: "price",
|
|
2407
2423
|
Rating: "rating",
|
|
2408
2424
|
ReviewRating: "review_rating",
|
|
2409
2425
|
TopPicks: "top_picks"
|
|
2410
|
-
},
|
|
2426
|
+
}, Br = {
|
|
2411
2427
|
Asc: "asc",
|
|
2412
2428
|
Desc: "desc"
|
|
2413
2429
|
};
|
|
2414
|
-
class
|
|
2430
|
+
class Ln extends z {
|
|
2415
2431
|
/**
|
|
2416
2432
|
* Returns a list of images for an Hotel Room OfferId with their content localize into the requested **lang**.
|
|
2417
2433
|
* Retrieve Images of an Hotel Room Offer
|
|
@@ -2429,7 +2445,7 @@ class xn extends z {
|
|
|
2429
2445
|
headers: r,
|
|
2430
2446
|
query: w(t, v.Snake)
|
|
2431
2447
|
}, n);
|
|
2432
|
-
return await new
|
|
2448
|
+
return await new x(s, (u) => w(u, v.Camel)).value();
|
|
2433
2449
|
}
|
|
2434
2450
|
/**
|
|
2435
2451
|
* Returns a list of images for an Hotel Room OfferId with their content localize into the requested **lang**.
|
|
@@ -2439,7 +2455,7 @@ class xn extends z {
|
|
|
2439
2455
|
return this.retrieveRaw(e, n);
|
|
2440
2456
|
}
|
|
2441
2457
|
}
|
|
2442
|
-
const
|
|
2458
|
+
const Lr = {
|
|
2443
2459
|
DeDe: "de-DE",
|
|
2444
2460
|
EnUs: "en-US",
|
|
2445
2461
|
EsEs: "es-ES",
|
|
@@ -2448,7 +2464,7 @@ const Ir = {
|
|
|
2448
2464
|
NlNl: "nl-NL",
|
|
2449
2465
|
PtPt: "pt-PT"
|
|
2450
2466
|
};
|
|
2451
|
-
class
|
|
2467
|
+
class xn extends z {
|
|
2452
2468
|
/**
|
|
2453
2469
|
* Returns a single Hotel Room Offer Request by id
|
|
2454
2470
|
* Retrieve a Single Hotel Room Offer Request
|
|
@@ -2464,7 +2480,7 @@ class Ln extends z {
|
|
|
2464
2480
|
headers: r,
|
|
2465
2481
|
query: w(t, v.Snake)
|
|
2466
2482
|
}, n);
|
|
2467
|
-
return await new
|
|
2483
|
+
return await new x(s, (u) => w(u, v.Camel)).value();
|
|
2468
2484
|
}
|
|
2469
2485
|
/**
|
|
2470
2486
|
* Returns a single Hotel Room Offer Request by id
|
|
@@ -2487,7 +2503,7 @@ class Ln extends z {
|
|
|
2487
2503
|
query: w(t, v.Snake),
|
|
2488
2504
|
body: w(e.hotelRoomOfferRequestCreateApi, v.Snake)
|
|
2489
2505
|
}, n);
|
|
2490
|
-
return await new
|
|
2506
|
+
return await new x(s, (u) => w(u, v.Camel)).value();
|
|
2491
2507
|
}
|
|
2492
2508
|
/**
|
|
2493
2509
|
* To check available rates, or **Hotel Room Offers**, at a specific hotel, you first need to create an **Hotel Room Offer Request**. An **Hotel Room Offer Request** describes the guests (adult and child count), the ideal room count, when they want to check in and check out and the id of the hotel you want to check available rates at.
|
|
@@ -2517,7 +2533,7 @@ class Pn extends z {
|
|
|
2517
2533
|
headers: r,
|
|
2518
2534
|
query: w(t, v.Snake)
|
|
2519
2535
|
}, n);
|
|
2520
|
-
return await new
|
|
2536
|
+
return await new x(s, (u) => w(u, v.Camel)).value();
|
|
2521
2537
|
}
|
|
2522
2538
|
/**
|
|
2523
2539
|
* You\'ll make a call to the **Hotel Room Offers** endpoint in order to get a list of **Hotel Room Offers** resulting from your **Hotel Room Offer Request** parameters. We\'ll send your rate check request to the specific hotel matching the hotel ID you provided previously and the **Hotel Room Offers** endpoint will return the available rates at this specific hotel. An **Hotel Room Offer** describes hotel rooms: prices, remaining count available (when applicable), details about the room itself (e.g., beds, etc) and other information you\'ll find below. ⚠️ **Cancellation Policies** attached to each **Hotel Room Offer** returned by this endpoint will most likely be **<span style=\"color:red\">cached data</span>** and should not be considered as accurate, although in most case they will reflect the actual/live ones. In order to retrieve accurate and live **Cancellation Policies** for a specific **Hotel Room Offer** you need to make a call to the **[Create Booking Policies endpoint](/v1/documentation#operation/postV1Booking_policies)**. However, we do not recommend to systematically call **[Create Booking Policies endpoint](/v1/documentation#operation/postV1Booking_policies)** for each **Hotel Room Offer** retrieved as it will most likely trigger rate limiting on your API calls. Rather we recommend to do this as an explicit two-step process: first you check **Hotel Room Offers**, then, once your customer shows interest in a specific **Hotel Room Offer**, you make the call to the **[Create Booking Policies endpoint](/v1/documentation#operation/postV1Booking_policies)** on behalf of your customer. This endpoint requires ⚛️ **[Polling](/v1/documentation#tag/Polling)**.
|
|
@@ -2544,7 +2560,7 @@ class Pn extends z {
|
|
|
2544
2560
|
query: w(t, v.Snake),
|
|
2545
2561
|
body: w(e.hotelRoomOffersCreateApi, v.Snake)
|
|
2546
2562
|
}, n);
|
|
2547
|
-
return await new
|
|
2563
|
+
return await new x(s, (u) => w(u, v.Camel)).value();
|
|
2548
2564
|
}
|
|
2549
2565
|
/**
|
|
2550
2566
|
* This enpoint creates a new **Hotel Room Offer** based on previously fetched **Hotel Room Offer(s)** and may be used for the following purposes: - Check a specific **Hotel Room Offer** live availability - Create a new **Hotel Room Offer** with **type = \"PACKAGE\"** based on multiple **Hotel Room Offers** where **type = \"HOTEL_ROOM\"** and be able to call **[Create Booking Policies endpoint](/v1/documentation#operation/postV1Booking_policies)** with it - Update an existing **Hotel Room Offer** with **type = \"PACKAGE\"** in order to include extra option(s) like breakfast in the returned price. We strongly recommend to make use of this endpoint if you want to offer some kind of Shopping Cart experience to your customer when **[Retrieve HotelRoom Offers endpoint](/v1/documentation#operation/getV1Hotel_room_offers)** returns multiple **Hotel Room Offers** with **type = \"HOTEL_ROOM\"**.
|
|
@@ -2554,7 +2570,7 @@ class Pn extends z {
|
|
|
2554
2570
|
return this.createRaw(e, n);
|
|
2555
2571
|
}
|
|
2556
2572
|
}
|
|
2557
|
-
const
|
|
2573
|
+
const xr = {
|
|
2558
2574
|
DeDe: "de-DE",
|
|
2559
2575
|
EnUs: "en-US",
|
|
2560
2576
|
EsEs: "es-ES",
|
|
@@ -2563,7 +2579,7 @@ const Br = {
|
|
|
2563
2579
|
NlNl: "nl-NL",
|
|
2564
2580
|
PtPt: "pt-PT"
|
|
2565
2581
|
};
|
|
2566
|
-
class
|
|
2582
|
+
class Nn extends z {
|
|
2567
2583
|
/**
|
|
2568
2584
|
* Delete a hotel rooming list guest from a booking based on a valid token. This endpoint is public and does not require a secret API key.
|
|
2569
2585
|
* Delete Hotel Room List Guest
|
|
@@ -2606,7 +2622,7 @@ class $n extends z {
|
|
|
2606
2622
|
query: w(t, v.Snake),
|
|
2607
2623
|
body: w(e.hotelRoomingListGuestsUpdateApi, v.Snake)
|
|
2608
2624
|
}, n);
|
|
2609
|
-
return await new
|
|
2625
|
+
return await new x(s, (u) => w(u, v.Camel)).value();
|
|
2610
2626
|
}
|
|
2611
2627
|
/**
|
|
2612
2628
|
* Update a hotel rooming list guest from a booking based on a valid token. This endpoint is public and does not require a secret API key.
|
|
@@ -2631,7 +2647,7 @@ class $n extends z {
|
|
|
2631
2647
|
query: w(t, v.Snake),
|
|
2632
2648
|
body: w(e.hotelRoomingListGuestsCreateApi, v.Snake)
|
|
2633
2649
|
}, n);
|
|
2634
|
-
return await new
|
|
2650
|
+
return await new x(s, (u) => w(u, v.Camel)).value();
|
|
2635
2651
|
}
|
|
2636
2652
|
/**
|
|
2637
2653
|
* Create a new hotel rooming list guest to a booking based on a valid token. This endpoint is public and does not require a secret API key.
|
|
@@ -2641,7 +2657,7 @@ class $n extends z {
|
|
|
2641
2657
|
return this.createRaw(e, n);
|
|
2642
2658
|
}
|
|
2643
2659
|
}
|
|
2644
|
-
class
|
|
2660
|
+
class Un extends z {
|
|
2645
2661
|
/**
|
|
2646
2662
|
* Get Hotel Rooming Lists of a booking. This endpoint is public and does not require a secret API key.
|
|
2647
2663
|
* Get Hotel Rooming Lists for a booking
|
|
@@ -2657,7 +2673,7 @@ class Nn extends z {
|
|
|
2657
2673
|
headers: r,
|
|
2658
2674
|
query: w(t, v.Snake)
|
|
2659
2675
|
}, n);
|
|
2660
|
-
return new
|
|
2676
|
+
return new x(s, (u) => w(u, v.Camel)).value();
|
|
2661
2677
|
}
|
|
2662
2678
|
/**
|
|
2663
2679
|
* Get Hotel Rooming Lists of a booking. This endpoint is public and does not require a secret API key.
|
|
@@ -2667,7 +2683,7 @@ class Nn extends z {
|
|
|
2667
2683
|
return this.listRaw(e, n);
|
|
2668
2684
|
}
|
|
2669
2685
|
}
|
|
2670
|
-
const
|
|
2686
|
+
const Pr = {
|
|
2671
2687
|
DeDe: "de-DE",
|
|
2672
2688
|
EnUs: "en-US",
|
|
2673
2689
|
EsEs: "es-ES",
|
|
@@ -2676,7 +2692,7 @@ const xr = {
|
|
|
2676
2692
|
NlNl: "nl-NL",
|
|
2677
2693
|
PtPt: "pt-PT"
|
|
2678
2694
|
};
|
|
2679
|
-
class
|
|
2695
|
+
class $n extends z {
|
|
2680
2696
|
/**
|
|
2681
2697
|
* Returns a single Hotel by id with their content localize into the requested **lang**.
|
|
2682
2698
|
* Retrieve a Hotel
|
|
@@ -2694,7 +2710,7 @@ class Un extends z {
|
|
|
2694
2710
|
headers: r,
|
|
2695
2711
|
query: w(t, v.Snake)
|
|
2696
2712
|
}, n);
|
|
2697
|
-
return await new
|
|
2713
|
+
return await new x(s, (u) => w(u, v.Camel)).value();
|
|
2698
2714
|
}
|
|
2699
2715
|
/**
|
|
2700
2716
|
* Returns a single Hotel by id with their content localize into the requested **lang**.
|
|
@@ -2704,7 +2720,7 @@ class Un extends z {
|
|
|
2704
2720
|
return this.retrieveRaw(e, n);
|
|
2705
2721
|
}
|
|
2706
2722
|
}
|
|
2707
|
-
const
|
|
2723
|
+
const Nr = {
|
|
2708
2724
|
DeDe: "de-DE",
|
|
2709
2725
|
EnUs: "en-US",
|
|
2710
2726
|
EsEs: "es-ES",
|
|
@@ -2816,7 +2832,7 @@ function Gn() {
|
|
|
2816
2832
|
o.push([f, a]);
|
|
2817
2833
|
}), E(o);
|
|
2818
2834
|
}, h.iterable && (d.prototype[Symbol.iterator] = d.prototype.entries);
|
|
2819
|
-
function
|
|
2835
|
+
function T(o) {
|
|
2820
2836
|
if (!o._noBody) {
|
|
2821
2837
|
if (o.bodyUsed)
|
|
2822
2838
|
return Promise.reject(new TypeError("Already read"));
|
|
@@ -2840,12 +2856,12 @@ function Gn() {
|
|
|
2840
2856
|
var a = new FileReader(), f = I(a), l = /charset=([A-Za-z0-9_-]+)/.exec(o.type), g = l ? l[1] : "utf-8";
|
|
2841
2857
|
return a.readAsText(o, g), f;
|
|
2842
2858
|
}
|
|
2843
|
-
function
|
|
2859
|
+
function U(o) {
|
|
2844
2860
|
for (var a = new Uint8Array(o), f = new Array(a.length), l = 0; l < a.length; l++)
|
|
2845
2861
|
f[l] = String.fromCharCode(a[l]);
|
|
2846
2862
|
return f.join("");
|
|
2847
2863
|
}
|
|
2848
|
-
function
|
|
2864
|
+
function M(o) {
|
|
2849
2865
|
if (o.slice)
|
|
2850
2866
|
return o.slice(0);
|
|
2851
2867
|
var a = new Uint8Array(o.byteLength);
|
|
@@ -2853,9 +2869,9 @@ function Gn() {
|
|
|
2853
2869
|
}
|
|
2854
2870
|
function B() {
|
|
2855
2871
|
return this.bodyUsed = !1, this._initBody = function(o) {
|
|
2856
|
-
this.bodyUsed = this.bodyUsed, this._bodyInit = o, o ? typeof o == "string" ? this._bodyText = o : h.blob && Blob.prototype.isPrototypeOf(o) ? this._bodyBlob = o : h.formData && FormData.prototype.isPrototypeOf(o) ? this._bodyFormData = o : h.searchParams && URLSearchParams.prototype.isPrototypeOf(o) ? this._bodyText = o.toString() : h.arrayBuffer && h.blob && S(o) ? (this._bodyArrayBuffer =
|
|
2872
|
+
this.bodyUsed = this.bodyUsed, this._bodyInit = o, o ? typeof o == "string" ? this._bodyText = o : h.blob && Blob.prototype.isPrototypeOf(o) ? this._bodyBlob = o : h.formData && FormData.prototype.isPrototypeOf(o) ? this._bodyFormData = o : h.searchParams && URLSearchParams.prototype.isPrototypeOf(o) ? this._bodyText = o.toString() : h.arrayBuffer && h.blob && S(o) ? (this._bodyArrayBuffer = M(o.buffer), this._bodyInit = new Blob([this._bodyArrayBuffer])) : h.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(o) || y(o)) ? this._bodyArrayBuffer = M(o) : this._bodyText = o = Object.prototype.toString.call(o) : (this._noBody = !0, this._bodyText = ""), this.headers.get("content-type") || (typeof o == "string" ? this.headers.set("content-type", "text/plain;charset=UTF-8") : this._bodyBlob && this._bodyBlob.type ? this.headers.set("content-type", this._bodyBlob.type) : h.searchParams && URLSearchParams.prototype.isPrototypeOf(o) && this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8"));
|
|
2857
2873
|
}, h.blob && (this.blob = function() {
|
|
2858
|
-
var o =
|
|
2874
|
+
var o = T(this);
|
|
2859
2875
|
if (o)
|
|
2860
2876
|
return o;
|
|
2861
2877
|
if (this._bodyBlob)
|
|
@@ -2867,7 +2883,7 @@ function Gn() {
|
|
|
2867
2883
|
return Promise.resolve(new Blob([this._bodyText]));
|
|
2868
2884
|
}), this.arrayBuffer = function() {
|
|
2869
2885
|
if (this._bodyArrayBuffer) {
|
|
2870
|
-
var o =
|
|
2886
|
+
var o = T(this);
|
|
2871
2887
|
return o || (ArrayBuffer.isView(this._bodyArrayBuffer) ? Promise.resolve(
|
|
2872
2888
|
this._bodyArrayBuffer.buffer.slice(
|
|
2873
2889
|
this._bodyArrayBuffer.byteOffset,
|
|
@@ -2880,39 +2896,39 @@ function Gn() {
|
|
|
2880
2896
|
throw new Error("could not read as ArrayBuffer");
|
|
2881
2897
|
}
|
|
2882
2898
|
}, this.text = function() {
|
|
2883
|
-
var o =
|
|
2899
|
+
var o = T(this);
|
|
2884
2900
|
if (o)
|
|
2885
2901
|
return o;
|
|
2886
2902
|
if (this._bodyBlob)
|
|
2887
2903
|
return _(this._bodyBlob);
|
|
2888
2904
|
if (this._bodyArrayBuffer)
|
|
2889
|
-
return Promise.resolve(
|
|
2905
|
+
return Promise.resolve(U(this._bodyArrayBuffer));
|
|
2890
2906
|
if (this._bodyFormData)
|
|
2891
2907
|
throw new Error("could not read FormData body as text");
|
|
2892
2908
|
return Promise.resolve(this._bodyText);
|
|
2893
2909
|
}, h.formData && (this.formData = function() {
|
|
2894
|
-
return this.text().then(
|
|
2910
|
+
return this.text().then(L);
|
|
2895
2911
|
}), this.json = function() {
|
|
2896
2912
|
return this.text().then(JSON.parse);
|
|
2897
2913
|
}, this;
|
|
2898
2914
|
}
|
|
2899
|
-
var
|
|
2900
|
-
function
|
|
2915
|
+
var F = ["CONNECT", "DELETE", "GET", "HEAD", "OPTIONS", "PATCH", "POST", "PUT", "TRACE"];
|
|
2916
|
+
function K(o) {
|
|
2901
2917
|
var a = o.toUpperCase();
|
|
2902
|
-
return
|
|
2918
|
+
return F.indexOf(a) > -1 ? a : o;
|
|
2903
2919
|
}
|
|
2904
|
-
function
|
|
2905
|
-
if (!(this instanceof
|
|
2920
|
+
function $(o, a) {
|
|
2921
|
+
if (!(this instanceof $))
|
|
2906
2922
|
throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
|
|
2907
2923
|
a = a || {};
|
|
2908
2924
|
var f = a.body;
|
|
2909
|
-
if (o instanceof
|
|
2925
|
+
if (o instanceof $) {
|
|
2910
2926
|
if (o.bodyUsed)
|
|
2911
2927
|
throw new TypeError("Already read");
|
|
2912
2928
|
this.url = o.url, this.credentials = o.credentials, a.headers || (this.headers = new d(o.headers)), this.method = o.method, this.mode = o.mode, this.signal = o.signal, !f && o._bodyInit != null && (f = o._bodyInit, o.bodyUsed = !0);
|
|
2913
2929
|
} else
|
|
2914
2930
|
this.url = String(o);
|
|
2915
|
-
if (this.credentials = a.credentials || this.credentials || "same-origin", (a.headers || !this.headers) && (this.headers = new d(a.headers)), this.method =
|
|
2931
|
+
if (this.credentials = a.credentials || this.credentials || "same-origin", (a.headers || !this.headers) && (this.headers = new d(a.headers)), this.method = K(a.method || this.method || "GET"), this.mode = a.mode || this.mode || null, this.signal = a.signal || this.signal || (function() {
|
|
2916
2932
|
if ("AbortController" in c) {
|
|
2917
2933
|
var p = new AbortController();
|
|
2918
2934
|
return p.signal;
|
|
@@ -2929,10 +2945,10 @@ function Gn() {
|
|
|
2929
2945
|
}
|
|
2930
2946
|
}
|
|
2931
2947
|
}
|
|
2932
|
-
|
|
2933
|
-
return new
|
|
2948
|
+
$.prototype.clone = function() {
|
|
2949
|
+
return new $(this, { body: this._bodyInit });
|
|
2934
2950
|
};
|
|
2935
|
-
function
|
|
2951
|
+
function L(o) {
|
|
2936
2952
|
var a = new FormData();
|
|
2937
2953
|
return o.trim().split("&").forEach(function(f) {
|
|
2938
2954
|
if (f) {
|
|
@@ -2952,13 +2968,13 @@ function Gn() {
|
|
|
2952
2968
|
var D = g.join(":").trim();
|
|
2953
2969
|
try {
|
|
2954
2970
|
a.append(p, D);
|
|
2955
|
-
} catch (
|
|
2956
|
-
console.warn("Response " +
|
|
2971
|
+
} catch (N) {
|
|
2972
|
+
console.warn("Response " + N.message);
|
|
2957
2973
|
}
|
|
2958
2974
|
}
|
|
2959
2975
|
}), a;
|
|
2960
2976
|
}
|
|
2961
|
-
B.call(
|
|
2977
|
+
B.call($.prototype);
|
|
2962
2978
|
function Y(o, a) {
|
|
2963
2979
|
if (!(this instanceof Y))
|
|
2964
2980
|
throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
|
|
@@ -2994,7 +3010,7 @@ function Gn() {
|
|
|
2994
3010
|
}
|
|
2995
3011
|
function R(o, a) {
|
|
2996
3012
|
return new Promise(function(f, l) {
|
|
2997
|
-
var g = new
|
|
3013
|
+
var g = new $(o, a);
|
|
2998
3014
|
if (g.signal && g.signal.aborted)
|
|
2999
3015
|
return l(new u.DOMException("Aborted", "AbortError"));
|
|
3000
3016
|
var p = new XMLHttpRequest();
|
|
@@ -3024,14 +3040,14 @@ function Gn() {
|
|
|
3024
3040
|
l(new u.DOMException("Aborted", "AbortError"));
|
|
3025
3041
|
}, 0);
|
|
3026
3042
|
};
|
|
3027
|
-
function
|
|
3043
|
+
function N(k) {
|
|
3028
3044
|
try {
|
|
3029
3045
|
return k === "" && c.location.href ? c.location.href : k;
|
|
3030
3046
|
} catch {
|
|
3031
3047
|
return k;
|
|
3032
3048
|
}
|
|
3033
3049
|
}
|
|
3034
|
-
if (p.open(g.method,
|
|
3050
|
+
if (p.open(g.method, N(g.url), !0), g.credentials === "include" ? p.withCredentials = !0 : g.credentials === "omit" && (p.withCredentials = !1), "responseType" in p && (h.blob ? p.responseType = "blob" : h.arrayBuffer && (p.responseType = "arraybuffer")), a && typeof a.headers == "object" && !(a.headers instanceof d || c.Headers && a.headers instanceof c.Headers)) {
|
|
3035
3051
|
var G = [];
|
|
3036
3052
|
Object.getOwnPropertyNames(a.headers).forEach(function(k) {
|
|
3037
3053
|
G.push(m(k)), p.setRequestHeader(k, C(a.headers[k]));
|
|
@@ -3047,7 +3063,7 @@ function Gn() {
|
|
|
3047
3063
|
}), p.send(typeof g._bodyInit > "u" ? null : g._bodyInit);
|
|
3048
3064
|
});
|
|
3049
3065
|
}
|
|
3050
|
-
return R.polyfill = !0, c.fetch || (c.fetch = R, c.Headers = d, c.Request =
|
|
3066
|
+
return R.polyfill = !0, c.fetch || (c.fetch = R, c.Headers = d, c.Request = $, c.Response = Y), u.Headers = d, u.Request = $, u.Response = Y, u.fetch = R, u;
|
|
3051
3067
|
})({});
|
|
3052
3068
|
})(t), t.fetch.ponyfill = !0, delete t.fetch.polyfill;
|
|
3053
3069
|
var r = n.fetch ? n : t;
|
|
@@ -3055,18 +3071,18 @@ function Gn() {
|
|
|
3055
3071
|
})(ue, ue.exports)), ue.exports;
|
|
3056
3072
|
}
|
|
3057
3073
|
var Hn = Gn();
|
|
3058
|
-
const
|
|
3074
|
+
const Fn = /* @__PURE__ */ j(Hn), Kn = (i) => ({
|
|
3059
3075
|
bookingPolicies: new _n(i),
|
|
3060
3076
|
bookings: new Dn(i),
|
|
3061
3077
|
hotelImages: new bn(i),
|
|
3062
3078
|
hotelOfferRequests: new In(i),
|
|
3063
3079
|
hotelOffers: new Bn(i),
|
|
3064
|
-
hotelRoomOfferImages: new
|
|
3065
|
-
hotelRoomOfferRequests: new
|
|
3080
|
+
hotelRoomOfferImages: new Ln(i),
|
|
3081
|
+
hotelRoomOfferRequests: new xn(i),
|
|
3066
3082
|
hotelRoomOffers: new Pn(i),
|
|
3067
|
-
hotelRoomingListGuests: new
|
|
3068
|
-
hotelRoomingLists: new
|
|
3069
|
-
hotels: new
|
|
3083
|
+
hotelRoomingListGuests: new Nn(i),
|
|
3084
|
+
hotelRoomingLists: new Un(i),
|
|
3085
|
+
hotels: new $n(i)
|
|
3070
3086
|
});
|
|
3071
3087
|
function Vn(i) {
|
|
3072
3088
|
switch (i) {
|
|
@@ -3110,7 +3126,7 @@ class qn {
|
|
|
3110
3126
|
}), e;
|
|
3111
3127
|
}
|
|
3112
3128
|
}
|
|
3113
|
-
class
|
|
3129
|
+
class Ur {
|
|
3114
3130
|
constructor(e) {
|
|
3115
3131
|
if (this.config = e, !e.apiVersion || !Object.values(Oe).includes(e.apiVersion))
|
|
3116
3132
|
throw new Error(
|
|
@@ -3130,7 +3146,7 @@ class Pr {
|
|
|
3130
3146
|
t === ee.Local && process.env.BOOKING_API_BASE_URL && (r = process.env.BOOKING_API_BASE_URL);
|
|
3131
3147
|
const s = new it({
|
|
3132
3148
|
basePath: r,
|
|
3133
|
-
fetchApi:
|
|
3149
|
+
fetchApi: Fn,
|
|
3134
3150
|
headers: n,
|
|
3135
3151
|
middleware: [
|
|
3136
3152
|
new Yn(this.config),
|
|
@@ -3138,18 +3154,15 @@ class Pr {
|
|
|
3138
3154
|
]
|
|
3139
3155
|
});
|
|
3140
3156
|
this.apiVersionsToClient = {
|
|
3141
|
-
v1:
|
|
3157
|
+
v1: Kn(s)
|
|
3142
3158
|
};
|
|
3143
3159
|
}
|
|
3144
3160
|
apiVersionsToClient;
|
|
3145
|
-
get bookingPolicies() {
|
|
3146
|
-
return this.apiVersionsToClient[this.config.apiVersion].bookingPolicies;
|
|
3147
|
-
}
|
|
3148
3161
|
get bookings() {
|
|
3149
3162
|
return this.apiVersionsToClient[this.config.apiVersion].bookings;
|
|
3150
3163
|
}
|
|
3151
|
-
get
|
|
3152
|
-
return this.apiVersionsToClient[this.config.apiVersion].
|
|
3164
|
+
get bookingPolicies() {
|
|
3165
|
+
return this.apiVersionsToClient[this.config.apiVersion].bookingPolicies;
|
|
3153
3166
|
}
|
|
3154
3167
|
get hotelOfferRequests() {
|
|
3155
3168
|
return this.apiVersionsToClient[this.config.apiVersion].hotelOfferRequests;
|
|
@@ -3157,24 +3170,27 @@ class Pr {
|
|
|
3157
3170
|
get hotelOffers() {
|
|
3158
3171
|
return this.apiVersionsToClient[this.config.apiVersion].hotelOffers;
|
|
3159
3172
|
}
|
|
3160
|
-
get hotelRoomingListGuests() {
|
|
3161
|
-
return this.apiVersionsToClient[this.config.apiVersion].hotelRoomingListGuests;
|
|
3162
|
-
}
|
|
3163
|
-
get hotelRoomingLists() {
|
|
3164
|
-
return this.apiVersionsToClient[this.config.apiVersion].hotelRoomingLists;
|
|
3165
|
-
}
|
|
3166
|
-
get hotelRoomOfferImages() {
|
|
3167
|
-
return this.apiVersionsToClient[this.config.apiVersion].hotelRoomOfferImages;
|
|
3168
|
-
}
|
|
3169
3173
|
get hotelRoomOfferRequests() {
|
|
3170
3174
|
return this.apiVersionsToClient[this.config.apiVersion].hotelRoomOfferRequests;
|
|
3171
3175
|
}
|
|
3172
3176
|
get hotelRoomOffers() {
|
|
3173
3177
|
return this.apiVersionsToClient[this.config.apiVersion].hotelRoomOffers;
|
|
3174
3178
|
}
|
|
3179
|
+
get hotelRoomingListGuests() {
|
|
3180
|
+
return this.apiVersionsToClient[this.config.apiVersion].hotelRoomingListGuests;
|
|
3181
|
+
}
|
|
3182
|
+
get hotelRoomingLists() {
|
|
3183
|
+
return this.apiVersionsToClient[this.config.apiVersion].hotelRoomingLists;
|
|
3184
|
+
}
|
|
3175
3185
|
get hotels() {
|
|
3176
3186
|
return this.apiVersionsToClient[this.config.apiVersion].hotels;
|
|
3177
3187
|
}
|
|
3188
|
+
get hotelImages() {
|
|
3189
|
+
return this.apiVersionsToClient[this.config.apiVersion].hotelImages;
|
|
3190
|
+
}
|
|
3191
|
+
get hotelRoomOfferImages() {
|
|
3192
|
+
return this.apiVersionsToClient[this.config.apiVersion].hotelRoomOfferImages;
|
|
3193
|
+
}
|
|
3178
3194
|
}
|
|
3179
3195
|
export {
|
|
3180
3196
|
er as AllowedPaymentMethodApiOneOf1NameEnum,
|
|
@@ -3182,63 +3198,65 @@ export {
|
|
|
3182
3198
|
nr as AllowedPaymentMethodApiOneOf3NameEnum,
|
|
3183
3199
|
rr as AllowedPaymentMethodApiOneOf3PayloadStatusEnum,
|
|
3184
3200
|
Qn as AllowedPaymentMethodApiOneOfNameEnum,
|
|
3185
|
-
|
|
3186
|
-
|
|
3201
|
+
Ur as ApiClient,
|
|
3202
|
+
Tn as BASE_PATH,
|
|
3187
3203
|
z as BaseAPI,
|
|
3188
3204
|
Xn as BlobApiResponse,
|
|
3189
3205
|
ir as BookingApiPayLaterEnum,
|
|
3190
3206
|
or as BookingApiStatusEnum,
|
|
3191
3207
|
_n as BookingPolicies,
|
|
3208
|
+
ar as BookingPoliciesCreateApiLangEnum,
|
|
3192
3209
|
Dn as Bookings,
|
|
3193
|
-
|
|
3194
|
-
|
|
3210
|
+
kr as BookingsSortByEnum,
|
|
3211
|
+
_r as BookingsSortByOrderEnum,
|
|
3195
3212
|
jn as COLLECTION_FORMATS,
|
|
3196
3213
|
it as Configuration,
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3214
|
+
sr as ContactPersonApiLangEnum,
|
|
3215
|
+
ur as ContactPersonApiSalutationEnum,
|
|
3216
|
+
cr as CountryIso2Code,
|
|
3217
|
+
lr as CurrencyBookingApiClient,
|
|
3218
|
+
fr as ErrorApiResponseTypeEnum,
|
|
3201
3219
|
bn as HotelImages,
|
|
3202
|
-
|
|
3220
|
+
Dr as HotelImagesLangEnum,
|
|
3203
3221
|
In as HotelOfferRequests,
|
|
3204
3222
|
Bn as HotelOffers,
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3223
|
+
br as HotelOffersLangEnum,
|
|
3224
|
+
Ir as HotelOffersSortByEnum,
|
|
3225
|
+
Br as HotelOffersSortByOrderEnum,
|
|
3226
|
+
dr as HotelRoomOfferApiBreakfastOptionEnum,
|
|
3227
|
+
hr as HotelRoomOfferApiPackageTypeEnum,
|
|
3228
|
+
pr as HotelRoomOfferApiStayTaxesInfoEnum,
|
|
3229
|
+
mr as HotelRoomOfferApiTypeEnum,
|
|
3230
|
+
Ln as HotelRoomOfferImages,
|
|
3231
|
+
Lr as HotelRoomOfferImagesLangEnum,
|
|
3232
|
+
xn as HotelRoomOfferRequests,
|
|
3215
3233
|
Pn as HotelRoomOffers,
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
Nn as
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3234
|
+
yr as HotelRoomOffersCreateApiLangEnum,
|
|
3235
|
+
xr as HotelRoomOffersLangEnum,
|
|
3236
|
+
Nn as HotelRoomingListGuests,
|
|
3237
|
+
Un as HotelRoomingLists,
|
|
3238
|
+
Pr as HotelRoomingListsLangEnum,
|
|
3239
|
+
$n as Hotels,
|
|
3240
|
+
Nr as HotelsLangEnum,
|
|
3241
|
+
gr as InvoiceApiTypeEnum,
|
|
3242
|
+
x as JSONApiResponse,
|
|
3243
|
+
vr as PaymentMethodApiOneOf1NameEnum,
|
|
3244
|
+
Sr as PaymentMethodApiOneOf2NameEnum,
|
|
3245
|
+
Rr as PaymentMethodApiOneOf3NameEnum,
|
|
3246
|
+
Ar as PaymentMethodApiOneOf3PayloadStatusEnum,
|
|
3247
|
+
wr as PaymentMethodApiOneOfNameEnum,
|
|
3248
|
+
Cr as PaymentMethodRequestApiNameEnum,
|
|
3249
|
+
Er as PollerStatus,
|
|
3232
3250
|
P as RequiredError,
|
|
3233
3251
|
On as ResponseError,
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3252
|
+
Tr as SourceMarket,
|
|
3253
|
+
Mr as TaxApiTaxFrequencyEnum,
|
|
3254
|
+
Or as TaxApiTaxModeEnum,
|
|
3237
3255
|
kn as TextApiResponse,
|
|
3238
3256
|
Jn as VoidApiResponse,
|
|
3239
3257
|
Zn as canConsumeForm,
|
|
3240
3258
|
zn as exists,
|
|
3241
3259
|
Wn as mapValues,
|
|
3242
3260
|
ot as querystring,
|
|
3243
|
-
|
|
3261
|
+
Kn as v1ApiClient
|
|
3244
3262
|
};
|