@odynn/awayz-core 0.9.19 → 0.9.21
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/TripsService-GImsS17_.js +148 -0
- package/dist/assets/_styles6.css +1 -1
- package/dist/components/Bookings/FlightBooking/FlightBooking.js +123 -85
- package/dist/components/CashValue/CashValue.js +1 -1
- package/dist/components/CashValue/CashValue.stories.js +1 -1
- package/dist/components/ClientPointsValue/ClientPointsValue.js +1 -1
- package/dist/components/Wallet/Card/Card.stories.js +1 -1
- package/dist/hooks/useAwayzAuth/useAwayzAuth.js +1 -1
- package/dist/hooks/useBookingManagement/useBookingManagement.js +1 -1
- package/dist/hooks/useBookingManagement/useBookingManagement.test.js +2 -2
- package/dist/hooks/useFeatureFlags.js +13 -11
- package/dist/hooks/useSearchLimit.js +1 -1
- package/dist/hooks/useTripManagement/mocks/index.js +12 -12
- package/dist/hooks/useTripManagement/useTripManagement.js +2 -2
- package/dist/hooks/useTripManagement/useTripManagement.test.js +122 -92
- package/dist/hooks/useWallet/useWallet.js +1 -1
- package/dist/hooks/useWallet/useWallet.test.js +2 -2
- package/dist/lib/components/Bookings/FlightBooking/FlightBooking.d.ts +15 -3
- package/dist/lib/hooks/useFeatureFlags.d.ts +1 -1
- package/dist/lib/hooks/useTripManagement/mocks/UncategorisedBookings200.json.d.ts +88 -0
- package/dist/lib/services/trips/TripService.types.d.ts +11 -0
- package/dist/magic-string.es-uPKorP4O.js +663 -0
- package/dist/main.js +1 -1
- package/dist/{noRetryInstance-De2sH_IH.js → noRetryInstance-DKhe8ju0.js} +35 -35
- package/dist/providers/AwayzProvider.js +1 -1
- package/dist/services/account/AccountService.js +1 -1
- package/dist/services/bookings/BookingService.js +1 -1
- package/dist/services/currency/CurrencyService.js +1 -1
- package/dist/services/features/featureService.js +1 -1
- package/dist/services/index.js +1 -1
- package/dist/services/instance.js +1 -1
- package/dist/services/instanceConfig.js +1 -1
- package/dist/services/noRetryInstance.js +1 -1
- package/dist/services/preferences/PreferencesService.js +1 -1
- package/dist/services/rewards/RewardsService.js +1 -1
- package/dist/services/trips/TripsService.js +3 -3
- package/dist/services/wallet/WalletService.js +1 -1
- package/dist/tests/TestWrapper.js +1130 -1153
- package/dist/utils/clientPoints.js +1 -1
- package/dist/vi.2VT5v0um-lKoi8TEt.js +10573 -0
- package/package.json +4 -2
- package/dist/TripsService-BJPYRlRO.js +0 -141
- package/dist/magic-string.es-D4UQQyt0.js +0 -859
- package/dist/vi.ClIskdbk-k6t29WRA.js +0 -12860
|
@@ -32,7 +32,7 @@ const Te = (e) => Array.isArray(e) ? e.map((t) => Te(t)) : typeof e == "object"
|
|
|
32
32
|
}, {}) : e, St = (e) => (Object.keys(e).forEach(
|
|
33
33
|
(t) => !e[t] && delete e[t]
|
|
34
34
|
), e), gt = (e) => (e = e.replace(/^_+/, ""), e.replace(/_([a-z])/gi, (t, n) => n.toUpperCase()));
|
|
35
|
-
var j = /* @__PURE__ */ ((e) => (e.LOCATIONS = "LOCATIONS", e.CHECK_USER = "CHECK_USER", e.USER_REGIONS = "USER_REGIONS", e.CONVERT_CURRENCY = "CONVERT_CURRENCY", e.CLIENT_COMPONENT_KEY = "CLIENT_COMPONENT_KEY", e.SEARCH_LIMIT = "SEARCH_LIMIT", e.PROGRAMS = "PROGRAMS", e.USER_PROGRAMS = "USER_PROGRAMS", e.LINKED_USER_PROGRAMS = "LINKED_USER_PROGRAMS", e.BANKS = "BANKS", e.CARDS = "CARDS", e.USER_CARDS = "USER_CARDS", e.TRIPS = "TRIPS", e.UNCATEGORISED_BOOKINGS = "UNCATEGORISED_BOOKINGS", e.BOOKING = "BOOKING", e.VALUE_CENTS = "VALUE_CENTS", e.AVAILABILITY_ALERTS = "AVAILABILITY_ALERTS", e.ALERT_NOTIFICATIONS = "ALERT_NOTIFICATIONS", e.POINTS_AS_CASH = "POINTS_AS_CASH", e.GET_USER_REGION = "get_user_region", e.PRICING = "pricing", e.FAQS = "faqs", e.FEATURES = "features", e.AIRLINE_HEALTH = "airline_health", e))(j || {}), yt = /* @__PURE__ */ ((e) => (e.HOTEL = "Hotel", e.AIRLINE = "Airline", e.BANK = "Bank", e))(yt || {});
|
|
35
|
+
var j = /* @__PURE__ */ ((e) => (e.LOCATIONS = "LOCATIONS", e.CHECK_USER = "CHECK_USER", e.USER_REGIONS = "USER_REGIONS", e.CONVERT_CURRENCY = "CONVERT_CURRENCY", e.CLIENT_COMPONENT_KEY = "CLIENT_COMPONENT_KEY", e.SEARCH_LIMIT = "SEARCH_LIMIT", e.PROGRAMS = "PROGRAMS", e.USER_PROGRAMS = "USER_PROGRAMS", e.LINKED_USER_PROGRAMS = "LINKED_USER_PROGRAMS", e.BANKS = "BANKS", e.CARDS = "CARDS", e.USER_CARDS = "USER_CARDS", e.TRIPS = "TRIPS", e.UNCATEGORISED_BOOKINGS = "UNCATEGORISED_BOOKINGS", e.BOOKING = "BOOKING", e.VALUE_CENTS = "VALUE_CENTS", e.AVAILABILITY_ALERTS = "AVAILABILITY_ALERTS", e.ALERT_NOTIFICATIONS = "ALERT_NOTIFICATIONS", e.POINTS_AS_CASH = "POINTS_AS_CASH", e.GET_USER_REGION = "get_user_region", e.PRICING = "pricing", e.FAQS = "faqs", e.FEATURES = "features", e.AIRLINE_HEALTH = "airline_health", e.SUPPORTED_AIRLINE_PROGRAMS = "supported_airline_programs", e))(j || {}), yt = /* @__PURE__ */ ((e) => (e.HOTEL = "Hotel", e.AIRLINE = "Airline", e.BANK = "Bank", e))(yt || {});
|
|
36
36
|
function Me(e, t) {
|
|
37
37
|
return function() {
|
|
38
38
|
return e.apply(t, arguments);
|
|
@@ -59,7 +59,7 @@ const Ot = re("string"), _ = re("function"), Ge = re("number"), se = (e) => e !=
|
|
|
59
59
|
let t;
|
|
60
60
|
return e && (typeof FormData == "function" && e instanceof FormData || _(e.append) && ((t = ne(e)) === "formdata" || // detect form-data instance
|
|
61
61
|
t === "object" && _(e.toString) && e.toString() === "[object FormData]"));
|
|
62
|
-
}, Lt = x("URLSearchParams"), [
|
|
62
|
+
}, Lt = x("URLSearchParams"), [Pt, kt, Ft, Dt] = ["ReadableStream", "Request", "Response", "Headers"].map(x), Bt = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
63
63
|
function v(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
64
64
|
if (e === null || typeof e > "u")
|
|
65
65
|
return;
|
|
@@ -208,8 +208,8 @@ const tn = (e) => {
|
|
|
208
208
|
isBoolean: At,
|
|
209
209
|
isObject: se,
|
|
210
210
|
isPlainObject: X,
|
|
211
|
-
isReadableStream:
|
|
212
|
-
isRequest:
|
|
211
|
+
isReadableStream: Pt,
|
|
212
|
+
isRequest: kt,
|
|
213
213
|
isResponse: Ft,
|
|
214
214
|
isHeaders: Dt,
|
|
215
215
|
isUndefined: V,
|
|
@@ -351,10 +351,10 @@ function oe(e, t, n) {
|
|
|
351
351
|
if (a.endsWith(m, "{}"))
|
|
352
352
|
m = r ? m : m.slice(0, -2), h = JSON.stringify(h);
|
|
353
353
|
else if (a.isArray(h) && cn(h) || (a.isFileList(h) || a.endsWith(m, "[]")) && (y = a.toArray(h)))
|
|
354
|
-
return m = Xe(m), y.forEach(function(T,
|
|
354
|
+
return m = Xe(m), y.forEach(function(T, P) {
|
|
355
355
|
!(a.isUndefined(T) || T === null) && t.append(
|
|
356
356
|
// eslint-disable-next-line no-nested-ternary
|
|
357
|
-
i === !0 ? Oe([m],
|
|
357
|
+
i === !0 ? Oe([m], P, o) : i === null ? m : m + "[]",
|
|
358
358
|
u(T)
|
|
359
359
|
);
|
|
360
360
|
}), !1;
|
|
@@ -911,7 +911,7 @@ const Q = (e, t, n = 3) => {
|
|
|
911
911
|
}, Ie = (e) => (...t) => a.asap(() => e(...t)), Ln = O.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, O.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
|
|
912
912
|
new URL(O.origin),
|
|
913
913
|
O.navigator && /(msie|trident)/i.test(O.navigator.userAgent)
|
|
914
|
-
) : () => !0,
|
|
914
|
+
) : () => !0, Pn = O.hasStandardBrowserEnv ? (
|
|
915
915
|
// Standard browser envs support document.cookie
|
|
916
916
|
{
|
|
917
917
|
write(e, t, n, r, s, o) {
|
|
@@ -938,14 +938,14 @@ const Q = (e, t, n = 3) => {
|
|
|
938
938
|
}
|
|
939
939
|
}
|
|
940
940
|
);
|
|
941
|
-
function
|
|
941
|
+
function kn(e) {
|
|
942
942
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
|
|
943
943
|
}
|
|
944
944
|
function Fn(e, t) {
|
|
945
945
|
return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
|
|
946
946
|
}
|
|
947
947
|
function rt(e, t, n) {
|
|
948
|
-
let r = !
|
|
948
|
+
let r = !kn(t);
|
|
949
949
|
return e && (r || n == !1) ? Fn(e, t) : t;
|
|
950
950
|
}
|
|
951
951
|
const Ue = (e) => e instanceof N ? { ...e } : e;
|
|
@@ -1030,7 +1030,7 @@ const st = (e) => {
|
|
|
1030
1030
|
}
|
|
1031
1031
|
}
|
|
1032
1032
|
if (O.hasStandardBrowserEnv && (r && a.isFunction(r) && (r = r(t)), r || r !== !1 && Ln(t.url))) {
|
|
1033
|
-
const u = s && o &&
|
|
1033
|
+
const u = s && o && Pn.read(o);
|
|
1034
1034
|
u && i.set(s, u);
|
|
1035
1035
|
}
|
|
1036
1036
|
return t;
|
|
@@ -1071,16 +1071,16 @@ const st = (e) => {
|
|
|
1071
1071
|
}, p.onerror = function() {
|
|
1072
1072
|
r(new E("Network Error", E.ERR_NETWORK, e, p)), p = null;
|
|
1073
1073
|
}, p.ontimeout = function() {
|
|
1074
|
-
let
|
|
1074
|
+
let P = s.timeout ? "timeout of " + s.timeout + "ms exceeded" : "timeout exceeded";
|
|
1075
1075
|
const A = s.transitional || Qe;
|
|
1076
|
-
s.timeoutErrorMessage && (
|
|
1077
|
-
|
|
1076
|
+
s.timeoutErrorMessage && (P = s.timeoutErrorMessage), r(new E(
|
|
1077
|
+
P,
|
|
1078
1078
|
A.clarifyTimeoutError ? E.ETIMEDOUT : E.ECONNABORTED,
|
|
1079
1079
|
e,
|
|
1080
1080
|
p
|
|
1081
1081
|
)), p = null;
|
|
1082
|
-
}, o === void 0 && i.setContentType(null), "setRequestHeader" in p && a.forEach(i.toJSON(), function(
|
|
1083
|
-
p.setRequestHeader(A,
|
|
1082
|
+
}, o === void 0 && i.setContentType(null), "setRequestHeader" in p && a.forEach(i.toJSON(), function(P, A) {
|
|
1083
|
+
p.setRequestHeader(A, P);
|
|
1084
1084
|
}), a.isUndefined(s.withCredentials) || (p.withCredentials = !!s.withCredentials), c && c !== "json" && (p.responseType = s.responseType), u && ([R, h] = Q(u, !0), p.addEventListener("progress", R)), f && p.upload && ([d, S] = Q(f), p.upload.addEventListener("progress", d), p.upload.addEventListener("loadend", S)), (s.cancelToken || s.signal) && (l = (T) => {
|
|
1085
1085
|
p && (r(!T || T.type ? new G(null, e, p) : T), p.abort(), p = null);
|
|
1086
1086
|
}, s.cancelToken && s.cancelToken.subscribe(l), s.signal && (s.signal.aborted ? l() : s.signal.addEventListener("abort", l)));
|
|
@@ -1280,10 +1280,10 @@ const $n = async (e) => {
|
|
|
1280
1280
|
);
|
|
1281
1281
|
}
|
|
1282
1282
|
u = u || "text";
|
|
1283
|
-
let
|
|
1283
|
+
let P = await ee[a.findKey(ee, u) || "text"](w, e);
|
|
1284
1284
|
return !T && m && m(), await new Promise((A, D) => {
|
|
1285
1285
|
nt(A, D, {
|
|
1286
|
-
data:
|
|
1286
|
+
data: P,
|
|
1287
1287
|
headers: N.from(w.headers),
|
|
1288
1288
|
status: w.status,
|
|
1289
1289
|
statusText: w.statusText,
|
|
@@ -1313,7 +1313,7 @@ a.forEach(me, (e, t) => {
|
|
|
1313
1313
|
Object.defineProperty(e, "adapterName", { value: t });
|
|
1314
1314
|
}
|
|
1315
1315
|
});
|
|
1316
|
-
const
|
|
1316
|
+
const Pe = (e) => `- ${e}`, vn = (e) => a.isFunction(e) || e === null || e === !1, at = {
|
|
1317
1317
|
getAdapter: (e) => {
|
|
1318
1318
|
e = a.isArray(e) ? e : [e];
|
|
1319
1319
|
const { length: t } = e;
|
|
@@ -1333,8 +1333,8 @@ const ke = (e) => `- ${e}`, vn = (e) => a.isFunction(e) || e === null || e === !
|
|
|
1333
1333
|
([c, f]) => `adapter ${c} ` + (f === !1 ? "is not supported by the environment" : "is not available in the build")
|
|
1334
1334
|
);
|
|
1335
1335
|
let i = t ? o.length > 1 ? `since :
|
|
1336
|
-
` + o.map(
|
|
1337
|
-
`) : " " +
|
|
1336
|
+
` + o.map(Pe).join(`
|
|
1337
|
+
`) : " " + Pe(o[0]) : "as no adapter specified";
|
|
1338
1338
|
throw new E(
|
|
1339
1339
|
"There is no suitable adapter to dispatch the request " + i,
|
|
1340
1340
|
"ERR_NOT_SUPPORT"
|
|
@@ -1348,7 +1348,7 @@ function le(e) {
|
|
|
1348
1348
|
if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
|
|
1349
1349
|
throw new G(null, e);
|
|
1350
1350
|
}
|
|
1351
|
-
function
|
|
1351
|
+
function ke(e) {
|
|
1352
1352
|
return le(e), e.headers = N.from(e.headers), e.data = ue.call(
|
|
1353
1353
|
e,
|
|
1354
1354
|
e.transformRequest
|
|
@@ -1484,7 +1484,7 @@ let H = class {
|
|
|
1484
1484
|
});
|
|
1485
1485
|
let l, d = 0, R;
|
|
1486
1486
|
if (!f) {
|
|
1487
|
-
const h = [
|
|
1487
|
+
const h = [ke.bind(this), void 0];
|
|
1488
1488
|
for (h.unshift.apply(h, c), h.push.apply(h, u), R = h.length, l = Promise.resolve(n); d < R; )
|
|
1489
1489
|
l = l.then(h[d++], h[d++]);
|
|
1490
1490
|
return l;
|
|
@@ -1501,7 +1501,7 @@ let H = class {
|
|
|
1501
1501
|
}
|
|
1502
1502
|
}
|
|
1503
1503
|
try {
|
|
1504
|
-
l =
|
|
1504
|
+
l = ke.call(this, S);
|
|
1505
1505
|
} catch (h) {
|
|
1506
1506
|
return Promise.reject(h);
|
|
1507
1507
|
}
|
|
@@ -1717,8 +1717,8 @@ g.default = g;
|
|
|
1717
1717
|
const {
|
|
1718
1718
|
Axios: Lr,
|
|
1719
1719
|
AxiosError: Zn,
|
|
1720
|
-
CanceledError:
|
|
1721
|
-
isCancel:
|
|
1720
|
+
CanceledError: Pr,
|
|
1721
|
+
isCancel: kr,
|
|
1722
1722
|
CancelToken: Fr,
|
|
1723
1723
|
VERSION: Dr,
|
|
1724
1724
|
all: Br,
|
|
@@ -1727,7 +1727,7 @@ const {
|
|
|
1727
1727
|
spread: Mr,
|
|
1728
1728
|
toFormData: jr,
|
|
1729
1729
|
AxiosHeaders: zr,
|
|
1730
|
-
HttpStatusCode:
|
|
1730
|
+
HttpStatusCode: k,
|
|
1731
1731
|
formToJSON: Gr,
|
|
1732
1732
|
getAdapter: $r,
|
|
1733
1733
|
mergeConfig: Kr
|
|
@@ -1750,10 +1750,10 @@ const {
|
|
|
1750
1750
|
);
|
|
1751
1751
|
}, dt = async (e, t, n, r, s) => {
|
|
1752
1752
|
var f, u, l;
|
|
1753
|
-
const o = t.config, i = localStorage.getItem(I.REFRESH_TOKEN), c = ((f = t.response) == null ? void 0 : f.status) ||
|
|
1753
|
+
const o = t.config, i = localStorage.getItem(I.REFRESH_TOKEN), c = ((f = t.response) == null ? void 0 : f.status) || k.InternalServerError;
|
|
1754
1754
|
if (!o || o.__retries === n)
|
|
1755
1755
|
throw t;
|
|
1756
|
-
if (c ===
|
|
1756
|
+
if (c === k.Unauthorized && o.url !== b.REFRESH_EMBED_TOKEN && o.url !== b.REFRESH_TOKEN && o.url !== b.SIGN_IN && o.url !== b.SIGN_UP) {
|
|
1757
1757
|
if (!i)
|
|
1758
1758
|
throw Be(
|
|
1759
1759
|
"refresh_token",
|
|
@@ -1772,13 +1772,13 @@ const {
|
|
|
1772
1772
|
return (l = o.url) != null && l.includes(b.EXCHANGE_TOKEN) && "id_token" in S && (o.data = JSON.stringify({ idToken: S.id_token })), r = !1, o.headers && (o.headers.Authorization = `Bearer ${S.token}`), De(e, null, S.token), s(o);
|
|
1773
1773
|
}
|
|
1774
1774
|
if ([
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1775
|
+
k.BadRequest,
|
|
1776
|
+
k.Unauthorized,
|
|
1777
|
+
k.Forbidden,
|
|
1778
|
+
k.InternalServerError,
|
|
1779
|
+
k.Conflict,
|
|
1780
|
+
k.NotFound,
|
|
1781
|
+
k.UnprocessableEntity
|
|
1782
1782
|
].includes(c) || (o.__retries || (o.__retries = 0), o.__retries += 1, o.__retries > n))
|
|
1783
1783
|
throw t;
|
|
1784
1784
|
return tr(
|
|
@@ -12,7 +12,7 @@ import "react-i18next";
|
|
|
12
12
|
import '../assets/_styles3.css';import '../assets/_styles5.css';import '../assets/_styles4.css';import '../assets/_styles.css';import '../assets/_styles2.css';/* empty css */
|
|
13
13
|
/* empty css */
|
|
14
14
|
import { awayzClient as y } from "../configs/awayzClient.js";
|
|
15
|
-
import "../noRetryInstance-
|
|
15
|
+
import "../noRetryInstance-DKhe8ju0.js";
|
|
16
16
|
/* empty css */
|
|
17
17
|
/* empty css */
|
|
18
18
|
import "../index-Cv-wvFlM.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../arrayExtensions-DlcBOj5a.js";
|
|
2
|
-
import { A as e } from "../../noRetryInstance-
|
|
2
|
+
import { A as e } from "../../noRetryInstance-DKhe8ju0.js";
|
|
3
3
|
import "../../_styles.flight-booking-CaUgKcMC.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import "../../configs/awayzClient.js";
|
|
@@ -2,7 +2,7 @@ var g = Object.defineProperty;
|
|
|
2
2
|
var y = (r, t, a) => t in r ? g(r, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : r[t] = a;
|
|
3
3
|
var c = (r, t, a) => y(r, typeof t != "symbol" ? t + "" : t, a);
|
|
4
4
|
import "../../arrayExtensions-DlcBOj5a.js";
|
|
5
|
-
import { c as d, b as u, g as p } from "../../noRetryInstance-
|
|
5
|
+
import { c as d, b as u, g as p } from "../../noRetryInstance-DKhe8ju0.js";
|
|
6
6
|
import "react";
|
|
7
7
|
import { EBookingEndpoints as i } from "../../configs/endpoints.js";
|
|
8
8
|
const f = (r) => {
|
|
@@ -2,7 +2,7 @@ import '../../assets/_styles3.css';import '../../assets/_styles5.css';import '..
|
|
|
2
2
|
var m = (t, r, e) => r in t ? y(t, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[r] = e;
|
|
3
3
|
var n = (t, r, e) => m(t, typeof r != "symbol" ? r + "" : r, e);
|
|
4
4
|
import "../../arrayExtensions-DlcBOj5a.js";
|
|
5
|
-
import { A as C, E, c as s } from "../../noRetryInstance-
|
|
5
|
+
import { A as C, E, c as s } from "../../noRetryInstance-DKhe8ju0.js";
|
|
6
6
|
import "react";
|
|
7
7
|
import { ECurrencyEndpoints as i } from "../../configs/endpoints.js";
|
|
8
8
|
import "react/jsx-runtime";
|
package/dist/services/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CurrencyService as a } from "./currency/CurrencyService.js";
|
|
2
|
-
import { c as t, a as o, g as c, i as s } from "../noRetryInstance-
|
|
2
|
+
import { c as t, a as o, g as c, i as s } from "../noRetryInstance-DKhe8ju0.js";
|
|
3
3
|
import { RewardsService as p } from "./rewards/RewardsService.js";
|
|
4
4
|
import { EBookingType as m } from "./trips/TripService.types.js";
|
|
5
5
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../arrayExtensions-DlcBOj5a.js";
|
|
2
2
|
import "../_styles.flight-booking-CaUgKcMC.js";
|
|
3
3
|
import "react";
|
|
4
|
-
import { c as r, g as s, i as c } from "../noRetryInstance-
|
|
4
|
+
import { c as r, g as s, i as c } from "../noRetryInstance-DKhe8ju0.js";
|
|
5
5
|
import "../configs/baseUrl.js";
|
|
6
6
|
export {
|
|
7
7
|
r as clientInstance,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../arrayExtensions-DlcBOj5a.js";
|
|
2
2
|
import "../_styles.flight-booking-CaUgKcMC.js";
|
|
3
3
|
import "react";
|
|
4
|
-
import { m as F, k as j, l as k, h as q, j as w, n as A, p as D } from "../noRetryInstance-
|
|
4
|
+
import { m as F, k as j, l as k, h as q, j as w, n as A, p as D } from "../noRetryInstance-DKhe8ju0.js";
|
|
5
5
|
import "../configs/baseUrl.js";
|
|
6
6
|
import "../configs/endpoints.js";
|
|
7
7
|
import "../configs/gatewayBaseUrl.js";
|
|
@@ -2,7 +2,7 @@ var a = Object.defineProperty;
|
|
|
2
2
|
var o = (s, e, r) => e in s ? a(s, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : s[e] = r;
|
|
3
3
|
var n = (s, e, r) => o(s, typeof e != "symbol" ? e + "" : e, r);
|
|
4
4
|
import { EPreferencesEndpoints as u } from "../../configs/endpoints.js";
|
|
5
|
-
import { c as i } from "../../noRetryInstance-
|
|
5
|
+
import { c as i } from "../../noRetryInstance-DKhe8ju0.js";
|
|
6
6
|
class E {
|
|
7
7
|
constructor() {
|
|
8
8
|
n(this, "setCurrency", async (e) => {
|
|
@@ -2,7 +2,7 @@ var s = Object.defineProperty;
|
|
|
2
2
|
var n = (t, e, a) => e in t ? s(t, e, { enumerable: !0, configurable: !0, writable: !0, value: a }) : t[e] = a;
|
|
3
3
|
var r = (t, e, a) => n(t, typeof e != "symbol" ? e + "" : e, a);
|
|
4
4
|
import "../../arrayExtensions-DlcBOj5a.js";
|
|
5
|
-
import { c as o, b as c } from "../../noRetryInstance-
|
|
5
|
+
import { c as o, b as c } from "../../noRetryInstance-DKhe8ju0.js";
|
|
6
6
|
import "react";
|
|
7
7
|
import { ERewardsEndpoints as i } from "../../configs/endpoints.js";
|
|
8
8
|
class m {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "../../arrayExtensions-DlcBOj5a.js";
|
|
2
|
-
import "../../noRetryInstance-
|
|
3
|
-
import { T } from "../../TripsService-
|
|
2
|
+
import "../../noRetryInstance-DKhe8ju0.js";
|
|
3
|
+
import { T } from "../../TripsService-GImsS17_.js";
|
|
4
4
|
import "react";
|
|
5
|
+
import "../../configs/defaultAwayzConfig.js";
|
|
5
6
|
import "../../configs/endpoints.js";
|
|
6
7
|
import "./TripService.types.js";
|
|
7
|
-
import "../../configs/defaultAwayzConfig.js";
|
|
8
8
|
export {
|
|
9
9
|
T as TripsService
|
|
10
10
|
};
|
|
@@ -2,7 +2,7 @@ var o = Object.defineProperty;
|
|
|
2
2
|
var i = (d, a, t) => a in d ? o(d, a, { enumerable: !0, configurable: !0, writable: !0, value: t }) : d[a] = t;
|
|
3
3
|
var r = (d, a, t) => i(d, typeof a != "symbol" ? a + "" : a, t);
|
|
4
4
|
import "../../arrayExtensions-DlcBOj5a.js";
|
|
5
|
-
import { c as e, b as c, g as A } from "../../noRetryInstance-
|
|
5
|
+
import { c as e, b as c, g as A } from "../../noRetryInstance-DKhe8ju0.js";
|
|
6
6
|
import "react";
|
|
7
7
|
import { EWalletEndpoints as s } from "../../configs/endpoints.js";
|
|
8
8
|
class u {
|