@odynn/awayz-core 0.9.34 → 0.10.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/{TripsService-k5PnDpcP.js → TripsService-fNtCUyxa.js} +1 -1
- package/dist/assets/_styles.css +1 -1
- package/dist/assets/_styles2.css +1 -1
- package/dist/assets/_styles3.css +1 -1
- package/dist/assets/_styles4.css +1 -1
- package/dist/assets/_styles5.css +1 -1
- package/dist/assets/_styles6.css +1 -1
- package/dist/components/Bookings/FlightBooking/FlightBooking.js +4 -3
- package/dist/components/Bookings/HotelBooking/HotelBooking.js +30 -22
- package/dist/components/CashValue/CashValue.js +3 -3
- package/dist/components/CashValue/CashValue.stories.js +3 -3
- package/dist/components/ClientPointsValue/ClientPointsValue.js +3 -3
- package/dist/components/Menu/Menu.js +1 -1
- package/dist/components/Modal/Modal.js +1 -1
- package/dist/components/Tooltip/Tooltip.js +1 -1
- package/dist/components/Wallet/Card/Card.js +1 -1
- package/dist/components/Wallet/Card/Card.stories.js +3 -3
- package/dist/hooks/index.js +4 -2
- package/dist/hooks/useAwayzAuth/useAwayzAuth.js +10 -9
- package/dist/hooks/useBookingManagement/useBookingManagement.js +100 -87
- package/dist/hooks/useBookingManagement/useBookingManagement.test.js +17 -16
- package/dist/hooks/useBookingManagement/useBookingManagement.types.js +4 -1
- package/dist/hooks/useFeatureFlags.js +1 -1
- package/dist/hooks/useSearchLimit.js +1 -1
- package/dist/hooks/useTripManagement/useTripManagement.js +4 -4
- package/dist/hooks/useTripManagement/useTripManagement.test.js +4 -4
- package/dist/hooks/useWallet/useWallet.js +3 -3
- package/dist/hooks/useWallet/useWallet.test.js +3 -3
- package/dist/keys-BcBfU51M.js +5 -0
- package/dist/lib/hooks/index.d.ts +1 -0
- package/dist/lib/hooks/useBookingManagement/useBookingManagement.types.d.ts +29 -8
- package/dist/lib/services/bookings/BookingService.types.d.ts +16 -0
- package/dist/main.js +28 -26
- package/dist/{noRetryInstance-Bit3xLkY.js → noRetryInstance-C4bqpBc7.js} +17 -16
- package/dist/providers/AwayzProvider.js +6 -5
- package/dist/services/account/AccountService.js +2 -2
- package/dist/services/bookings/BookingService.js +69 -60
- package/dist/services/currency/CurrencyService.js +3 -3
- package/dist/services/features/featureService.js +1 -1
- package/dist/services/index.js +1 -1
- package/dist/services/instance.js +2 -2
- package/dist/services/instanceConfig.js +11 -10
- 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 +2 -2
- package/dist/services/wallet/WalletService.js +1 -1
- package/dist/utils/clientPoints.js +3 -3
- package/package.json +1 -1
- package/dist/_styles.flight-booking-CaUgKcMC.js +0 -5
|
@@ -1,137 +1,150 @@
|
|
|
1
|
-
import { useQuery as
|
|
1
|
+
import { useQuery as g, useMutation as u } from "@tanstack/react-query";
|
|
2
2
|
import "../../arrayExtensions-DlcBOj5a.js";
|
|
3
|
-
import { E as
|
|
4
|
-
import "react";
|
|
3
|
+
import { E as s } from "../../noRetryInstance-C4bqpBc7.js";
|
|
4
|
+
import { useState as M } from "react";
|
|
5
5
|
import "react/jsx-runtime";
|
|
6
6
|
import "react-i18next";
|
|
7
|
-
import '../../assets/
|
|
8
|
-
|
|
7
|
+
import '../../assets/_styles4.css';import '../../assets/_styles6.css';import '../../assets/_styles5.css';import '../../assets/_styles2.css';import '../../assets/_styles.css';import '../../assets/_styles3.css';/* empty css */
|
|
8
|
+
/* empty css */
|
|
9
9
|
/* empty css */
|
|
10
|
-
import { awayzClient as
|
|
10
|
+
import { awayzClient as x } from "../../configs/awayzClient.js";
|
|
11
11
|
/* empty css */
|
|
12
12
|
/* empty css */
|
|
13
13
|
import "../../index-Cv-wvFlM.js";
|
|
14
14
|
import "../../context/AwayzContext.js";
|
|
15
15
|
import { EBookingType as i } from "../../services/trips/TripService.types.js";
|
|
16
|
+
import { ECancelStatus as e } from "./useBookingManagement.types.js";
|
|
16
17
|
/* empty css */
|
|
17
|
-
import { BookingService as
|
|
18
|
-
const
|
|
18
|
+
import { BookingService as o } from "../../services/bookings/BookingService.js";
|
|
19
|
+
const cr = (r, n) => {
|
|
19
20
|
const {
|
|
20
|
-
data:
|
|
21
|
-
isError:
|
|
22
|
-
error:
|
|
23
|
-
} =
|
|
24
|
-
queryKey: [
|
|
25
|
-
queryFn: () =>
|
|
21
|
+
data: E,
|
|
22
|
+
isError: L,
|
|
23
|
+
error: O
|
|
24
|
+
} = g({
|
|
25
|
+
queryKey: [s.BOOKING, r, i.HOTEL],
|
|
26
|
+
queryFn: () => o.getHotelBooking(r),
|
|
26
27
|
enabled: n === i.HOTEL && !!r
|
|
27
28
|
}), {
|
|
28
29
|
data: t,
|
|
29
|
-
isError:
|
|
30
|
-
error:
|
|
31
|
-
} =
|
|
32
|
-
queryKey: [
|
|
33
|
-
queryFn: () =>
|
|
30
|
+
isError: A,
|
|
31
|
+
error: N
|
|
32
|
+
} = g({
|
|
33
|
+
queryKey: [s.BOOKING, r, i.FLIGHT],
|
|
34
|
+
queryFn: () => o.getFlightBooking(r),
|
|
34
35
|
enabled: n === i.FLIGHT && !!r
|
|
35
|
-
}), { data:
|
|
36
|
-
queryKey: [
|
|
37
|
-
queryFn: () =>
|
|
36
|
+
}), [C, a] = M(e.IDLE), d = () => a(e.IDLE), { data: m, isLoading: H } = g({
|
|
37
|
+
queryKey: [s.BOOKING, r],
|
|
38
|
+
queryFn: () => o.getPointsAsCash(r),
|
|
38
39
|
enabled: !!r
|
|
39
40
|
}), {
|
|
40
|
-
mutate:
|
|
41
|
+
mutate: P,
|
|
41
42
|
isPending: G,
|
|
42
|
-
isError:
|
|
43
|
-
error:
|
|
44
|
-
isSuccess:
|
|
45
|
-
} =
|
|
43
|
+
isError: I,
|
|
44
|
+
error: y,
|
|
45
|
+
isSuccess: w
|
|
46
|
+
} = u({
|
|
46
47
|
mutationFn: async () => {
|
|
47
48
|
if (n === i.FLIGHT)
|
|
48
|
-
return
|
|
49
|
-
throw
|
|
50
|
-
},
|
|
51
|
-
onSuccess: () => {
|
|
52
|
-
a();
|
|
49
|
+
return o.initiateCancelFlightBooking(r);
|
|
50
|
+
throw m ? new Error("Not supported for bookings made with Points as Cash") : new Error("Not supported for hotel bookings");
|
|
53
51
|
}
|
|
54
|
-
}), {
|
|
55
|
-
|
|
52
|
+
}), {
|
|
53
|
+
mutate: B,
|
|
54
|
+
isPending: S,
|
|
55
|
+
error: K
|
|
56
|
+
} = u({
|
|
57
|
+
mutationFn: async (c) => o.cancelPointsBooking(c),
|
|
56
58
|
onSuccess: () => {
|
|
57
|
-
a();
|
|
59
|
+
l(), a(e.SUCCESS);
|
|
60
|
+
},
|
|
61
|
+
onError: () => {
|
|
62
|
+
l(), a(e.POINTS_REFUND_FAILED);
|
|
58
63
|
}
|
|
59
64
|
}), {
|
|
60
|
-
mutate:
|
|
61
|
-
isPending:
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
isSuccess: N
|
|
65
|
-
} = c({
|
|
65
|
+
mutate: T,
|
|
66
|
+
isPending: h,
|
|
67
|
+
error: q
|
|
68
|
+
} = u({
|
|
66
69
|
mutationFn: async () => {
|
|
67
70
|
if (n === i.FLIGHT)
|
|
68
|
-
return await
|
|
71
|
+
return await o.confirmCancelFlightBooking(r);
|
|
69
72
|
if (n === i.HOTEL)
|
|
70
|
-
return await
|
|
73
|
+
return await o.cancelHotelBooking(r);
|
|
74
|
+
},
|
|
75
|
+
onMutate: () => {
|
|
76
|
+
a(e.PENDING);
|
|
71
77
|
},
|
|
72
78
|
onSuccess: () => {
|
|
73
|
-
if (
|
|
79
|
+
if (m) {
|
|
74
80
|
if (n === i.FLIGHT && t)
|
|
75
|
-
return
|
|
76
|
-
if (n === i.HOTEL &&
|
|
77
|
-
return E
|
|
81
|
+
return B(t.id);
|
|
82
|
+
if (n === i.HOTEL && E)
|
|
83
|
+
return B(E.id);
|
|
78
84
|
} else
|
|
79
|
-
a();
|
|
85
|
+
l(), a(e.SUCCESS);
|
|
86
|
+
},
|
|
87
|
+
onError: () => {
|
|
88
|
+
a(e.CANCEL_FAILED);
|
|
80
89
|
}
|
|
81
90
|
}), {
|
|
82
|
-
mutate:
|
|
83
|
-
isPending:
|
|
84
|
-
isError:
|
|
91
|
+
mutate: D,
|
|
92
|
+
isPending: U,
|
|
93
|
+
isError: _,
|
|
85
94
|
error: v
|
|
86
|
-
} =
|
|
87
|
-
mutationFn: async (
|
|
88
|
-
var
|
|
89
|
-
const
|
|
90
|
-
(
|
|
91
|
-
)) == null ? void 0 :
|
|
92
|
-
if (n === i.FLIGHT && (t != null && t.airlineInitiatedChanges) &&
|
|
93
|
-
return
|
|
95
|
+
} = u({
|
|
96
|
+
mutationFn: async (c) => {
|
|
97
|
+
var F, f;
|
|
98
|
+
const p = (f = (F = t == null ? void 0 : t.airlineInitiatedChanges) == null ? void 0 : F.filter(
|
|
99
|
+
(k) => !k.actionTaken
|
|
100
|
+
)) == null ? void 0 : f[0];
|
|
101
|
+
if (n === i.FLIGHT && (t != null && t.airlineInitiatedChanges) && p)
|
|
102
|
+
return o.actionAirlineChanges({
|
|
94
103
|
bookingId: r,
|
|
95
|
-
acceptChanges:
|
|
96
|
-
aicId:
|
|
104
|
+
acceptChanges: c,
|
|
105
|
+
aicId: p.id
|
|
97
106
|
});
|
|
98
107
|
throw new Error("Not supported for hotel bookings");
|
|
99
108
|
},
|
|
100
109
|
onSuccess: () => {
|
|
101
|
-
|
|
110
|
+
l();
|
|
102
111
|
}
|
|
103
|
-
}),
|
|
112
|
+
}), l = () => {
|
|
104
113
|
[
|
|
105
|
-
[
|
|
106
|
-
[
|
|
107
|
-
[
|
|
108
|
-
].forEach((
|
|
109
|
-
|
|
114
|
+
[s.BOOKING, r],
|
|
115
|
+
[s.TRIPS],
|
|
116
|
+
[s.UNCATEGORISED_BOOKINGS]
|
|
117
|
+
].forEach((c) => {
|
|
118
|
+
x.invalidateQueries({ queryKey: c });
|
|
110
119
|
});
|
|
111
|
-
}, Q =
|
|
120
|
+
}, Q = L || A, R = O || N;
|
|
112
121
|
return {
|
|
113
|
-
details: n === i.HOTEL ?
|
|
122
|
+
details: n === i.HOTEL ? E : t,
|
|
114
123
|
isError: Q,
|
|
115
|
-
error:
|
|
116
|
-
initiateCancellation:
|
|
124
|
+
error: R,
|
|
125
|
+
initiateCancellation: P,
|
|
117
126
|
isInitiatingCancellation: G,
|
|
118
|
-
isInitiateCancellationError:
|
|
119
|
-
initiateCancellationError:
|
|
120
|
-
isInitiateCancellationSuccess:
|
|
121
|
-
cancelBooking:
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
127
|
+
isInitiateCancellationError: I,
|
|
128
|
+
initiateCancellationError: y,
|
|
129
|
+
isInitiateCancellationSuccess: w,
|
|
130
|
+
cancelBooking: T,
|
|
131
|
+
cancelStatus: C,
|
|
132
|
+
resetCancelStatus: d,
|
|
133
|
+
cancelBookingError: q,
|
|
134
|
+
pointsRefundError: K,
|
|
135
|
+
isCancellingBooking: h || S,
|
|
136
|
+
// Deprecated – remove once awayz-tenant has migrated to cancelStatus
|
|
137
|
+
isCancelingBooking: h || S,
|
|
138
|
+
isCancelBookingSuccess: C === e.SUCCESS,
|
|
139
|
+
isCancelBookingError: C === e.CANCEL_FAILED,
|
|
140
|
+
actionAirlineChanges: D,
|
|
141
|
+
isActionAirlineChangesPending: U,
|
|
142
|
+
isActionAirlineChangesError: _,
|
|
130
143
|
actionAirlineChangesError: v,
|
|
131
|
-
pointsAsCashDetails:
|
|
132
|
-
isLoadingPointsAsCash:
|
|
144
|
+
pointsAsCashDetails: m,
|
|
145
|
+
isLoadingPointsAsCash: H
|
|
133
146
|
};
|
|
134
147
|
};
|
|
135
148
|
export {
|
|
136
|
-
|
|
149
|
+
cr as useBookingManagement
|
|
137
150
|
};
|
|
@@ -3,36 +3,37 @@ import "../../arrayExtensions-DlcBOj5a.js";
|
|
|
3
3
|
import "react";
|
|
4
4
|
import "react/jsx-runtime";
|
|
5
5
|
import "react-i18next";
|
|
6
|
-
import '../../assets/
|
|
7
|
-
|
|
6
|
+
import '../../assets/_styles4.css';import '../../assets/_styles6.css';import '../../assets/_styles5.css';import '../../assets/_styles2.css';import '../../assets/_styles.css';import '../../assets/_styles3.css';/* empty css */
|
|
7
|
+
/* empty css */
|
|
8
8
|
/* empty css */
|
|
9
9
|
import "@tanstack/react-query";
|
|
10
10
|
/* empty css */
|
|
11
11
|
/* empty css */
|
|
12
12
|
import "../../index-Cv-wvFlM.js";
|
|
13
|
-
import { c } from "../../noRetryInstance-
|
|
13
|
+
import { c } from "../../noRetryInstance-C4bqpBc7.js";
|
|
14
14
|
import "../../context/AwayzContext.js";
|
|
15
15
|
import { useBookingManagement as t } from "./useBookingManagement.js";
|
|
16
16
|
import "../../configs/awayzClient.js";
|
|
17
17
|
import { EBookingType as r } from "../../services/trips/TripService.types.js";
|
|
18
|
+
import { ECancelStatus as d } from "./useBookingManagement.types.js";
|
|
18
19
|
/* empty css */
|
|
19
20
|
import { renderHook as a, waitFor as n } from "../../tests/TestWrapper.js";
|
|
20
21
|
import { d as s, v as u, t as l, g as e } from "../../vi.2VT5v0um-lKoi8TEt.js";
|
|
21
|
-
const
|
|
22
|
-
data:
|
|
23
|
-
message:
|
|
24
|
-
success:
|
|
25
|
-
metadata:
|
|
26
|
-
}, v = !0, y = /* @__PURE__ */ JSON.parse('{"_id":"684887c537d26f7b107a760a","booking_id":"bok_0000AvQVt1LpHMWHbINGyv","user_id":"67d82b1c52c4a4dbe4e640c0","guest_types":[{"age":null,"type":"adult"},{"age":null,"type":"adult"}],"supported_loyalty_programme":"marriott_bonvoy","guests":[{"family_name":"Botha","given_name":"Adriaan","user_id":null},{"family_name":"terst","given_name":"test","user_id":null}],"check_out_date":"2025-07-15","loyalty_programme_account_number":null,"rooms":[{}],"accommodation":{"payment_instruction_supported":false,"check_in_information":{"check_out_before_time":"12:00","check_in_before_time":"00:00","check_in_after_time":"15:00"},"review_score":7.9,"rating":5,"supported_loyalty_programme":"marriott_bonvoy","photos":[{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/166/647/121/vierz-entrance-6310-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/3/0/183/668/598/rz-vierz-vienna-sunset-38389_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/166/647/149/vierz-lobby-0027-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/166/647/157/vierz-lobby-0026-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/166/647/141/vierz-exterior-6710-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/166/647/133/vierz-exterior-6299-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/193/507/721/o5JdVggTVkKFtvT1DItFaA_Elegant_hotel_lobby_light_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/194/16/89/fmg3QZ5Jq0eDuP4nJwcZ9A_Easter-Shooting-19_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/194/16/113/qlenNnrdUkm8b5LPQQfAg_Easter-Shooting-5_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/4/0/194/803/267/g4PwHPfbUGC0fKb009VIA_Art_museum_gallery_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/697/15/vierz-presidential-bedroom-8422-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/983/vierz-bedroom-6317-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/193/507/761/pdFLyxA5EeDMOsoaEtUmw_Guest_suite_entrance_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/154/548/928/rz-vierz-bedroom-34939_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/154/548/901/rz-vierz-bedroom-25588_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/157/805/321/rz-vierz-vierz-bedroom-15559-16137_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/193/507/690/OUEnemjKB0CEJjxOoOXxA_Private_lounge_experience_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/162/842/943/rz-vierz-symphony-bedroom-27894-95023_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/863/vierz-albertina-suite-4193-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/923/vierz-suite-6325-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/857/vierz-master-bedroom-2587-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/154/548/957/rz-vierz-junior-family-suite-37388-25341_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/963/vierz-suite-6335-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/951/vierz-suite-6331-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/957/vierz-suite-6333-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/997/vierz-suite-0011-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/990/vierz-suite-0023-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/875/vierz-albertina-dining-8426-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/697/3/vierz-presidential-living-8420-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/154/548/987/rz-vierz-presidential-suite-12713-39794_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/869/vierz-albertina-living-8425-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/936/vierz-suite-6328-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/943/vierz-suite-6329-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/929/vierz-suite-6324-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/157/805/645/rz-vierz-living-room-29570_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/157/805/657/rz-vierz-vierz-living-room-29938-84307_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/157/805/631/rz-vierz-vierz-living-room-41895-96289_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/157/805/665/rz-vierz-vierz-living-room-21235-09499_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/193/507/611/JawdUYtvK0mIfjiLnx4gYA_Intimate_hotel_suite_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/193/507/731/XLGF9v4OkC25CBu6ux7HQ_Luxury_lounge_seating_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/977/vierz-junior-2880-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/971/vierz-junior-2879-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/881/vierz-albertina-suite-8411-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/892/vierz-albertina-9033-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/898/vierz-albertina-9032-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/904/vierz-premium-9034-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/911/vierz-premium-9035-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/917/vierz-premium-9036-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/193/507/710/CpTJpzIYR0i4MOOdcoSJQ_Close-up_of_violin_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/66/35lGr9hhAkqVTgp6fCyvdA_Symphony_Violin_23059_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/193/507/751/4ZoR0Ivg9kWmtCaq2em8EQ_Elegant_suite_artwork_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/194/16/97/5S4hKYpLK0KjlHFGEWVRlw_Easter-Shooting-9_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/194/16/129/Rg2r3LALEy9wlAik7ryBA_Easter-Shooting-8_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/697/21/vierz-presidential-9031-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/887/vierz-albertina-9042-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/4/0/195/975/469/CbP50S8RGEiNCe9JWJ5sw_Dramatic_lighting_effect_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/4/0/195/975/497/fPEf3R7IJUKJkEIMORRpQ_Royal_ballroom_ceiling_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/162/843/343/rz-vierz-spa-suite-40141_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/4/0/194/803/288/YiRNIuydcUKDPeCFkGOvSQ_Exclusive_suite_interiors_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/4/0/194/803/311/n5AxlvAZaUuoJyv6ywG0jQ_Classic_architecture_view_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/4/0/194/803/361/B3ePfhiHESj91tmkFz3YA_Opulent_curtain_backdrop_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/4/0/194/803/336/Wsrfz2WACkqOIPaupELdw_Guest_enjoying_sunset_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/697/28/vierz-suite-0017-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/697/35/vierz-suite-0018-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/697/47/vierz-albertina-bathroom-8806-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/157/805/695/rz-vierz-vierz-main-bathroom-24479-38248_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/1/0/177/610/18/rz-vierz-main-bathroom-37139_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/697/41/vierz-bathroom-9043-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/1/0/177/610/26/rz-vierz-bathtub-16386_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/634/vierz-guestroom-6316-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/622/vierz-king-deluxe-8419-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/630/vierz-guestroom-6322-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/837/vierz-premium-deluxe-8823-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/642/vierz-king-premium-8418-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/618/vierz-twin-premium-8416-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/638/vierz-guestroom-6315-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/626/vierz-guestroom-6319-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/614/vierz-twin-deluxe-8417-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/154/548/232/rz-vierz-twin-guest-room-16635_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/154/548/273/rz-vierz-deluxe-room-bedroom-34538_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/847/vierz-pastamara-amenities-8814-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/646/vierz-premium-9039-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/650/vierz-premium-9038-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/662/vierz-guest-view-6339-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/654/vierz-premium-9037-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/154/548/252/rz-vierz-premium-guest-room-28590-12892_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/666/vierz-guest-view-6340-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/4/0/195/129/816/nnLtrdG87k2mY2ju6J096g_Easter-Shooting-15_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/680/vierz-bathroom-7118-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/684/vierz-guest-bathroom-2585-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/688/vierz-guest-bathroom-2586-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/782/vierz-club-lounge-7450-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/790/vierz-club-lounge-7451-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/770/vierz-club-lounge-7446-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/798/vierz-club-lounge-7453-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/778/vierz-club-lounge-7449-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/794/vierz-club-lounge-7452-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/1/0/177/800/13/rz-vierz-club-lounge-34358_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/1/0/177/800/17/rz-vierz-club-lounge-32465_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/1/0/177/800/21/rz-vierz-club-lounge-12689_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/866/vierz-bar-9487-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/862/vierz-dstrikt-steakhouse-1829-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/399/838/rz-vierz-josper-steak--fire-19136-43292_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/399/822/rz-vierz-josper-grill-beans-26692_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/399/800/rz-vierz-dry-gin-21450_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/166/509/537/rz-vierz-atmosphere-rooftop-23150-21549_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/97/zYxULMrSCEW0nUpWvM1eg_Atmosphere_Rooftop_29915_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/166/509/549/rz-vierz-d-bar-12475_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/166/509/521/rz-vierz-atmosphere-rooftop-32999-45914_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/166/509/567/rz-vierz-d-bar-27828_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/166/509/557/rz-vierz-d-bar-31643_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/3/0/179/261/600/rz-vierz-atmosphere-rooftop-29936-12789_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/3/0/179/261/594/rz-vierz-atmosphere-rooftop--13641-24498_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/3/0/182/764/240/rz-vierz-atmosphere-rooftop--38254-15441_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/3/0/179/261/604/rz-vierz-atmosphere-rooftop--40092-98172_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/3/0/179/261/608/rz-vierz-atmosphere-rooftop--21195-64954_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/830/vierz-bar-9486-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/153/heZggMucIkaGlTFOe3tuTg_vierz-dstrikt-steakhouse-8817_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/128/PRzNm4mTwkGe0UHCM0dMw_vierz-dstrikt-steakhouse-8820_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/177/nWULD9brwE284eqbUqFO1A_vierz-dstrikt-steakhouse-8818_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/826/vierz-bar-9482-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/199/BpdlaJeJKEu04gVtjPVmrQ_vierz-dstrikt-steakhouse-8821_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/222/BfaE9BMnG0qE9NEHZixa4A_vierz-dbar-8811_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/162/216/385/vierz-dstrikt-outside-8819_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/274/xl0gEuptz0eED35IlKf7bA_vierz-dstrikt-steakhouse-8807_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/248/oOXS9CC8L0C6yWyxcnI6IQ_vierz-cheesecake-8541_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/3/0/182/764/266/50579485-trcv201812_0325kl_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/194/16/105/gIwmWNOgoEWFINSMC9i3eA_Easter-Shooting-03_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/197/539/479/wulNBILXsk28GWAlrPZBQ_Breakfast_18417_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/197/539/494/VQRJkijAKEeOEOYXfhlkEg_Lunch_and_Dinner_27129_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/858/vierz-rooftop-bar-3601-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/872/vierz-pool-7296-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/883/vierz-fitness-center-8414-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/876/vierz-pool-7297-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/296/SMJxxxRO3E6kjfIDTVEIvQ_vierz-indoor-pool-8815_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/889/vierz-spa-suite-7305-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/162/843/309/vierz-spa-suite-8822-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/162/843/319/vierz-sauna-8824-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/162/843/335/rz-vierz-spa-suite-18269_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/318/mOG7Iu9DiEyZdm8x89WsXQ_vierz-crystal-foyer-6303_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/342/46syc0hmf0q747jnkgQpNw_vierz-crystal-ballroom-6308_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/361/dnAsuBd2Ee8fBGVgRwrmw_vierz-petite-palais-6305_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/161/460/8a536oe9akqni8qVSpiHmw_vierz-boardroom-2583_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/376/5qdgU8kWy0i9gdNoKC4u1A_vierz-crystal-foyer-6306_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/392/foHS8ILfeUKUqRpGs0pLUA_vierz-palais-6304_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/161/489/SuozDZGK3UC7FJESLnIqSQ_vierz-boardroom-2584_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/412/Fda7Ml0DZ02Xizt1JtA4Q_vierz-crystal-foyer-8542_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/161/512/yV0XzqjoVEmT9NeVAPOi5A_vierz-seminar-setup-8829_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/161/539/SJ1tQQ6I6U2b7IIqpF7gQ_vierz-boardroom-0046_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/161/572/26H1BaGroUaLHogB9kICEQ_vierz-refreshment-0043_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/161/600/VHWdMS5dnUSx4NpvCma0fg_vierz-rooftop-wedding-8424_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/161/624/yV5nXukqkGnxhCzREp5NA_vierz-crystal-0048_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/161/645/tzrK3J23kEqqsXvvWbMDsg_vierz-palais-0047_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/774/vierz-club-lounge-7447-hor-clsc_H.jpg"}],"ratings":[{"source":"northstar","value":5}],"key_collection":null,"rooms":[{"beds":null,"photos":null,"rates":[{"payment_instruction_allowed":false,"cancellation_timeline":[{"refund_amount":"531.00","currency":"EUR","before":"2025-06-24T10:00:00Z"}],"public_currency":"EUR","due_at_accommodation_currency":"EUR","due_at_accommodation_amount":null,"quantity_available":null,"public_amount":null,"deal_types":null,"loyalty_programme_required":false,"board_type":"room_only","supported_loyalty_programme":"marriott_bonvoy","available_payment_methods":["card"],"fee_amount":"0.00","tax_currency":"EUR","base_currency":"EUR","base_amount":"531.00","tax_amount":"0.00","fee_currency":"EUR","total_currency":"EUR","payment_type":"deposit","total_amount":"531.00","conditions":[{"title":"Cancellation","description":"cancel: changes not allowed non - refundable rate cancellation permitted up to 1 days after booking."},{"title":"Deposit","description":"Book 10 Days Before Arrival 531.00 Eur Deposit Due - 1 Days After Booking Credit Card Deposit Only"},{"title":"Other","description":"A Credit Card Is Required For Payment To Guarantee The Prepay Non-Refundable Non-Changeable Rate. Prepay Rates Will Be Charged The Full Cost Of The Reservation Within 24 Hours Of Making The Reservation. If Payment Is Unsuccessful Within 48 Hours Of Making The Reservation The Hotel Reserves The Right To Cancel The Reservation. Date Changes To The Reservation Are Not Allowed. Cancellation Will Result In Forfeiture Of The Prepayment. The Credit Card Used At The Time Of Making The Reservation Must Be Valid For The Entire Stay. After 2 People - 120.00 Eur Person Extra Person Person Night"},{"title":"Room detail","description":"Deluxe Guest Room 2 Twin Mini Fridge 38 Square Metre/409 Square Feet Wireless Internet Complimentary Coffee/Tea Maker Maximum Occupancy- 2 Guests"},{"title":"Property","description":"Location: Property Offers Check Out For Children/Unicef Program. Voluntary Participation Offered At Check-In."},{"title":"Room Hold Expiration Time","description":"BOOKING HELD UNTIL 00:00 LOCAL HOTEL TIME ON ARRIVAL DATE"}],"source":"travelport","id":"rat_0000AvQVl8YKcSy3cTSr56","code":null}],"name":"Full, No Changes, Deluxe, Guest Room, 2 Twin"}],"amenities":[{"description":"24-Hour Front Desk","type":"24_hour_front_desk"},{"description":"Concierge","type":"concierge"},{"description":"Spa","type":"spa"},{"description":"Gym","type":"gym"},{"description":"Swimming Pool","type":"pool"},{"description":"Room Service","type":"room_service"},{"description":"Wheelchair Access","type":"accessibility_mobility"},{"description":"Wi-Fi","type":"wifi"},{"description":"Childcare Services","type":"childcare_service"}],"brand":{"name":"The Ritz-Carlton","id":"bra_DQPneLbCejxRuxAqD7amaW"},"phone_number":"00000 000 000","chain":{"name":"Marriott International"},"email":"test-mode-accommodation@example.com","location":{"geographic_coordinates":{"latitude":48.202473,"longitude":16.376202},"address":{"line_one":"Schubertring 5-7","city_name":"Vienna","postal_code":"1010 ","country_code":"AT","region":null}},"description":"The Ritz-Carlton, Vienna, located in four historic 19th-century palaces combines legendary service with Austrian hospitality. The 201 luxurious guest rooms and suites are generously proportioned and stylishly furnished. The Ritz-Carlton Club Lounge on the 7th floor pampers its guests with personalized service as well as five culinary offers per day. The Ritz-Carlton Spa has elegantly appointed treatment suites, an 18m indoor pool and a range of amenities that invite our guests to unique spa experiences. Unique culinary delights await guests at the farm-to-table Dstrikt Steakhouse, during aperitivo time at Pastamara - Bar con Cucina and the elegant hotel bar D-bar. Located on the 8th floor rooftop terrace, the Atmosphere Rooftop Bar offers a breathtaking view over the city. Located in the heart of the city and only a short walk from the city park, the luxury hotel is the perfect starting point to discover Vienna.","name":"The Ritz-Carlton Vienna","id":"acc_0000AWPszvlu6zjbTePuxQ"},"confirmed_at":"2025-06-23T15:52:20.328139Z","check_in_date":"2025-07-14","phone_number":"+1 612 345 8516","cancelled_at":null,"email":"adriaanb98@gmail.com","users":["icu_0000Asbm8q0FlWOhf0fDUm"],"reference":"O4C6IS","metadata":null,"status":"booking confirmed"}'), H = { internalRequestId: "818a9940-57ee-444e-923c-d0d6fc2bc82d" }, f = {
|
|
27
|
-
success:
|
|
28
|
-
data:
|
|
29
|
-
metadata:
|
|
22
|
+
const m = { _id: "6811290ef16af25943018944", order_id: "ord_0000AvQk8IXqiCE2o20e00", user_id: "67d82b1c52c4a4dbe4e640c0", void_window_ends_at: null, documents: [{ passenger_ids: ["pas_0000AvQjcLZRvVQivKWRxi"], unique_identifier: "1", type: "electronic_ticket" }], synced_at: "2025-06-23T18:32:48Z", available_actions: ["cancel", "change", "update"], airline_initiated_changes: [], cancellation: null, tax_currency: "USD", base_currency: "USD", base_amount: "77.49", tax_amount: "13.94", total_currency: "USD", offer_id: "off_0000AvQjcLqSuF2bm6U2U7", booking_reference: "GHNRHO", created_at: "2025-06-23T18:31:58.211428Z", payment_status: { paid_at: "2025-06-23T18:31:58Z", price_guarantee_expires_at: null, payment_required_by: null, awaiting_payment: !1 }, live_mode: !1, total_amount: "91.43", slices: [{ destination_type: "airport", origin_type: "airport", fare_brand_name: "Basic", segments: [{ origin_terminal: "2", destination_terminal: "1", aircraft: { iata_code: "773", name: "Boeing 777-300", id: "arc_00009VMF8AhXSSRnQDI6HE" }, departing_at: "2025-07-30T22:27:00", arriving_at: "2025-07-31T00:24:00", operating_carrier: { logo_symbol_url: "https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/ZZ.svg", logo_lockup_url: null, conditions_of_carriage_url: "https://duffelairways.com/dummy-url/conditions-of-carriage", iata_code: "ZZ", name: "Duffel Airways", id: "arl_00009VME7D6ivUu8dn35WK" }, marketing_carrier: { logo_symbol_url: "https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/ZZ.svg", logo_lockup_url: null, conditions_of_carriage_url: "https://duffelairways.com/dummy-url/conditions-of-carriage", iata_code: "ZZ", name: "Duffel Airways", id: "arl_00009VME7D6ivUu8dn35WK" }, stops: [], operating_carrier_flight_number: "9596", marketing_carrier_flight_number: "9596", distance: "1034.9960998474376", passengers: [{ baggages: [{ quantity: 1, type: "checked" }, { quantity: 1, type: "carry_on" }], cabin_class_marketing_name: "Economy", passenger_id: "pas_0000AvQjcLZRvVQivKWRxi", seat: null, cabin_class: "economy" }], duration: "PT1H57M", destination: { icao_code: "LFPG", iata_country_code: "FR", iata_city_code: "PAR", city_name: "Paris", iata_code: "CDG", latitude: 49.011244, longitude: 2.548962, city: { icao_code: null, iata_country_code: "FR", iata_city_code: "PAR", city_name: null, iata_code: "PAR", latitude: null, longitude: null, time_zone: null, type: "city", name: "Paris", id: "cit_par_fr" }, time_zone: "Europe/Paris", type: "airport", name: "Paris Charles de Gaulle Airport", id: "arp_cdg_fr" }, origin: { icao_code: "LOWW", iata_country_code: "AT", iata_city_code: "VIE", city_name: "Vienna", iata_code: "VIE", latitude: 48.113065, longitude: 16.568137, city: null, time_zone: "Europe/Vienna", type: "airport", name: "Vienna International Airport", id: "arp_vie_at" }, id: "seg_0000AvQjcLqSuF2bm6U2U5" }], conditions: { change_before_departure: { penalty_currency: "GBP", penalty_amount: "10.00", allowed: !0 } }, duration: "PT1H57M", destination: { icao_code: "LFPG", iata_country_code: "FR", iata_city_code: "PAR", city_name: "Paris", iata_code: "CDG", latitude: 49.011244, longitude: 2.548962, city: { icao_code: null, iata_country_code: "FR", iata_city_code: "PAR", city_name: null, iata_code: "PAR", latitude: null, longitude: null, time_zone: null, type: "city", name: "Paris", id: "cit_par_fr" }, time_zone: "Europe/Paris", type: "airport", name: "Paris Charles de Gaulle Airport", id: "arp_cdg_fr" }, origin: { icao_code: "LOWW", iata_country_code: "AT", iata_city_code: "VIE", city_name: "Vienna", iata_code: "VIE", latitude: 48.113065, longitude: 16.568137, city: null, time_zone: "Europe/Vienna", type: "airport", name: "Vienna International Airport", id: "arp_vie_at" }, id: "sli_0000AvQjcLqSuF2bm6U2U6" }], passengers: [{ born_on: "2007-04-29", loyalty_programme_accounts: [], family_name: "Botha", given_name: "Adriaan", gender: "m", infant_passenger_id: null, phone_number: "+12345642342", user_id: null, email: "adriaan.botha@typedev.co.za", title: "mr", type: "adult", id: "pas_0000AvQjcLZRvVQivKWRxi" }], conditions: { refund_before_departure: { penalty_currency: null, penalty_amount: null, allowed: !1 }, change_before_departure: { penalty_currency: "GBP", penalty_amount: "10.00", allowed: !0 } }, cancelled_at: null, changes: [], content: "managed", services: [], users: ["icu_0000Asbm8q0FlWOhf0fDUm"], metadata: null, type: "instant", owner: { logo_symbol_url: "https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/ZZ.svg", logo_lockup_url: null, conditions_of_carriage_url: "https://duffelairways.com/dummy-url/conditions-of-carriage", iata_code: "ZZ", name: "Duffel Airways", id: "arl_00009VME7D6ivUu8dn35WK" }, id: "ord_0000AvQk8IXqiCE2o20e00", status: "flight confirmed" }, g = "Flight booking found", _ = !0, h = { internalRequestId: "f6b54196-4d33-434d-9800-d9dc72a074ab" }, v = {
|
|
23
|
+
data: m,
|
|
24
|
+
message: g,
|
|
25
|
+
success: _,
|
|
26
|
+
metadata: h
|
|
27
|
+
}, y = !0, H = /* @__PURE__ */ JSON.parse('{"_id":"684887c537d26f7b107a760a","booking_id":"bok_0000AvQVt1LpHMWHbINGyv","user_id":"67d82b1c52c4a4dbe4e640c0","guest_types":[{"age":null,"type":"adult"},{"age":null,"type":"adult"}],"supported_loyalty_programme":"marriott_bonvoy","guests":[{"family_name":"Botha","given_name":"Adriaan","user_id":null},{"family_name":"terst","given_name":"test","user_id":null}],"check_out_date":"2025-07-15","loyalty_programme_account_number":null,"rooms":[{}],"accommodation":{"payment_instruction_supported":false,"check_in_information":{"check_out_before_time":"12:00","check_in_before_time":"00:00","check_in_after_time":"15:00"},"review_score":7.9,"rating":5,"supported_loyalty_programme":"marriott_bonvoy","photos":[{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/166/647/121/vierz-entrance-6310-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/3/0/183/668/598/rz-vierz-vienna-sunset-38389_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/166/647/149/vierz-lobby-0027-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/166/647/157/vierz-lobby-0026-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/166/647/141/vierz-exterior-6710-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/166/647/133/vierz-exterior-6299-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/193/507/721/o5JdVggTVkKFtvT1DItFaA_Elegant_hotel_lobby_light_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/194/16/89/fmg3QZ5Jq0eDuP4nJwcZ9A_Easter-Shooting-19_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/194/16/113/qlenNnrdUkm8b5LPQQfAg_Easter-Shooting-5_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/4/0/194/803/267/g4PwHPfbUGC0fKb009VIA_Art_museum_gallery_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/697/15/vierz-presidential-bedroom-8422-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/983/vierz-bedroom-6317-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/193/507/761/pdFLyxA5EeDMOsoaEtUmw_Guest_suite_entrance_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/154/548/928/rz-vierz-bedroom-34939_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/154/548/901/rz-vierz-bedroom-25588_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/157/805/321/rz-vierz-vierz-bedroom-15559-16137_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/193/507/690/OUEnemjKB0CEJjxOoOXxA_Private_lounge_experience_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/162/842/943/rz-vierz-symphony-bedroom-27894-95023_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/863/vierz-albertina-suite-4193-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/923/vierz-suite-6325-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/857/vierz-master-bedroom-2587-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/154/548/957/rz-vierz-junior-family-suite-37388-25341_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/963/vierz-suite-6335-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/951/vierz-suite-6331-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/957/vierz-suite-6333-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/997/vierz-suite-0011-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/990/vierz-suite-0023-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/875/vierz-albertina-dining-8426-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/697/3/vierz-presidential-living-8420-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/154/548/987/rz-vierz-presidential-suite-12713-39794_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/869/vierz-albertina-living-8425-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/936/vierz-suite-6328-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/943/vierz-suite-6329-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/929/vierz-suite-6324-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/157/805/645/rz-vierz-living-room-29570_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/157/805/657/rz-vierz-vierz-living-room-29938-84307_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/157/805/631/rz-vierz-vierz-living-room-41895-96289_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/157/805/665/rz-vierz-vierz-living-room-21235-09499_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/193/507/611/JawdUYtvK0mIfjiLnx4gYA_Intimate_hotel_suite_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/193/507/731/XLGF9v4OkC25CBu6ux7HQ_Luxury_lounge_seating_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/977/vierz-junior-2880-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/971/vierz-junior-2879-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/881/vierz-albertina-suite-8411-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/892/vierz-albertina-9033-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/898/vierz-albertina-9032-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/904/vierz-premium-9034-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/911/vierz-premium-9035-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/917/vierz-premium-9036-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/193/507/710/CpTJpzIYR0i4MOOdcoSJQ_Close-up_of_violin_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/66/35lGr9hhAkqVTgp6fCyvdA_Symphony_Violin_23059_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/193/507/751/4ZoR0Ivg9kWmtCaq2em8EQ_Elegant_suite_artwork_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/194/16/97/5S4hKYpLK0KjlHFGEWVRlw_Easter-Shooting-9_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/194/16/129/Rg2r3LALEy9wlAik7ryBA_Easter-Shooting-8_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/697/21/vierz-presidential-9031-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/887/vierz-albertina-9042-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/4/0/195/975/469/CbP50S8RGEiNCe9JWJ5sw_Dramatic_lighting_effect_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/4/0/195/975/497/fPEf3R7IJUKJkEIMORRpQ_Royal_ballroom_ceiling_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/162/843/343/rz-vierz-spa-suite-40141_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/4/0/194/803/288/YiRNIuydcUKDPeCFkGOvSQ_Exclusive_suite_interiors_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/4/0/194/803/311/n5AxlvAZaUuoJyv6ywG0jQ_Classic_architecture_view_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/4/0/194/803/361/B3ePfhiHESj91tmkFz3YA_Opulent_curtain_backdrop_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/4/0/194/803/336/Wsrfz2WACkqOIPaupELdw_Guest_enjoying_sunset_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/697/28/vierz-suite-0017-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/697/35/vierz-suite-0018-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/697/47/vierz-albertina-bathroom-8806-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/157/805/695/rz-vierz-vierz-main-bathroom-24479-38248_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/1/0/177/610/18/rz-vierz-main-bathroom-37139_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/697/41/vierz-bathroom-9043-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/1/0/177/610/26/rz-vierz-bathtub-16386_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/634/vierz-guestroom-6316-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/622/vierz-king-deluxe-8419-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/630/vierz-guestroom-6322-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/837/vierz-premium-deluxe-8823-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/642/vierz-king-premium-8418-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/618/vierz-twin-premium-8416-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/638/vierz-guestroom-6315-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/626/vierz-guestroom-6319-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/614/vierz-twin-deluxe-8417-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/154/548/232/rz-vierz-twin-guest-room-16635_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/154/548/273/rz-vierz-deluxe-room-bedroom-34538_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/847/vierz-pastamara-amenities-8814-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/646/vierz-premium-9039-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/650/vierz-premium-9038-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/662/vierz-guest-view-6339-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/654/vierz-premium-9037-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/154/548/252/rz-vierz-premium-guest-room-28590-12892_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/666/vierz-guest-view-6340-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/4/0/195/129/816/nnLtrdG87k2mY2ju6J096g_Easter-Shooting-15_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/680/vierz-bathroom-7118-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/684/vierz-guest-bathroom-2585-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/688/vierz-guest-bathroom-2586-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/782/vierz-club-lounge-7450-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/790/vierz-club-lounge-7451-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/770/vierz-club-lounge-7446-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/798/vierz-club-lounge-7453-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/778/vierz-club-lounge-7449-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/794/vierz-club-lounge-7452-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/1/0/177/800/13/rz-vierz-club-lounge-34358_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/1/0/177/800/17/rz-vierz-club-lounge-32465_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/1/0/177/800/21/rz-vierz-club-lounge-12689_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/866/vierz-bar-9487-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/862/vierz-dstrikt-steakhouse-1829-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/399/838/rz-vierz-josper-steak--fire-19136-43292_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/399/822/rz-vierz-josper-grill-beans-26692_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/399/800/rz-vierz-dry-gin-21450_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/166/509/537/rz-vierz-atmosphere-rooftop-23150-21549_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/97/zYxULMrSCEW0nUpWvM1eg_Atmosphere_Rooftop_29915_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/166/509/549/rz-vierz-d-bar-12475_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/166/509/521/rz-vierz-atmosphere-rooftop-32999-45914_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/166/509/567/rz-vierz-d-bar-27828_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/166/509/557/rz-vierz-d-bar-31643_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/3/0/179/261/600/rz-vierz-atmosphere-rooftop-29936-12789_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/3/0/179/261/594/rz-vierz-atmosphere-rooftop--13641-24498_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/3/0/182/764/240/rz-vierz-atmosphere-rooftop--38254-15441_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/3/0/179/261/604/rz-vierz-atmosphere-rooftop--40092-98172_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/3/0/179/261/608/rz-vierz-atmosphere-rooftop--21195-64954_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/830/vierz-bar-9486-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/153/heZggMucIkaGlTFOe3tuTg_vierz-dstrikt-steakhouse-8817_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/128/PRzNm4mTwkGe0UHCM0dMw_vierz-dstrikt-steakhouse-8820_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/177/nWULD9brwE284eqbUqFO1A_vierz-dstrikt-steakhouse-8818_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/826/vierz-bar-9482-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/199/BpdlaJeJKEu04gVtjPVmrQ_vierz-dstrikt-steakhouse-8821_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/222/BfaE9BMnG0qE9NEHZixa4A_vierz-dbar-8811_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/162/216/385/vierz-dstrikt-outside-8819_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/274/xl0gEuptz0eED35IlKf7bA_vierz-dstrikt-steakhouse-8807_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/248/oOXS9CC8L0C6yWyxcnI6IQ_vierz-cheesecake-8541_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/3/0/182/764/266/50579485-trcv201812_0325kl_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/194/16/105/gIwmWNOgoEWFINSMC9i3eA_Easter-Shooting-03_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/197/539/479/wulNBILXsk28GWAlrPZBQ_Breakfast_18417_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/197/539/494/VQRJkijAKEeOEOYXfhlkEg_Lunch_and_Dinner_27129_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/858/vierz-rooftop-bar-3601-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/872/vierz-pool-7296-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/883/vierz-fitness-center-8414-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/876/vierz-pool-7297-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/296/SMJxxxRO3E6kjfIDTVEIvQ_vierz-indoor-pool-8815_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/889/vierz-spa-suite-7305-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/162/843/309/vierz-spa-suite-8822-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/162/843/319/vierz-sauna-8824-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/162/843/335/rz-vierz-spa-suite-18269_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/318/mOG7Iu9DiEyZdm8x89WsXQ_vierz-crystal-foyer-6303_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/342/46syc0hmf0q747jnkgQpNw_vierz-crystal-ballroom-6308_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/361/dnAsuBd2Ee8fBGVgRwrmw_vierz-petite-palais-6305_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/161/460/8a536oe9akqni8qVSpiHmw_vierz-boardroom-2583_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/376/5qdgU8kWy0i9gdNoKC4u1A_vierz-crystal-foyer-6306_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/392/foHS8ILfeUKUqRpGs0pLUA_vierz-palais-6304_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/161/489/SuozDZGK3UC7FJESLnIqSQ_vierz-boardroom-2584_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/412/Fda7Ml0DZ02Xizt1JtA4Q_vierz-crystal-foyer-8542_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/161/512/yV0XzqjoVEmT9NeVAPOi5A_vierz-seminar-setup-8829_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/161/539/SJ1tQQ6I6U2b7IIqpF7gQ_vierz-boardroom-0046_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/161/572/26H1BaGroUaLHogB9kICEQ_vierz-refreshment-0043_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/161/600/VHWdMS5dnUSx4NpvCma0fg_vierz-rooftop-wedding-8424_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/161/624/yV5nXukqkGnxhCzREp5NA_vierz-crystal-0048_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/161/645/tzrK3J23kEqqsXvvWbMDsg_vierz-palais-0047_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/774/vierz-club-lounge-7447-hor-clsc_H.jpg"}],"ratings":[{"source":"northstar","value":5}],"key_collection":null,"rooms":[{"beds":null,"photos":null,"rates":[{"payment_instruction_allowed":false,"cancellation_timeline":[{"refund_amount":"531.00","currency":"EUR","before":"2025-06-24T10:00:00Z"}],"public_currency":"EUR","due_at_accommodation_currency":"EUR","due_at_accommodation_amount":null,"quantity_available":null,"public_amount":null,"deal_types":null,"loyalty_programme_required":false,"board_type":"room_only","supported_loyalty_programme":"marriott_bonvoy","available_payment_methods":["card"],"fee_amount":"0.00","tax_currency":"EUR","base_currency":"EUR","base_amount":"531.00","tax_amount":"0.00","fee_currency":"EUR","total_currency":"EUR","payment_type":"deposit","total_amount":"531.00","conditions":[{"title":"Cancellation","description":"cancel: changes not allowed non - refundable rate cancellation permitted up to 1 days after booking."},{"title":"Deposit","description":"Book 10 Days Before Arrival 531.00 Eur Deposit Due - 1 Days After Booking Credit Card Deposit Only"},{"title":"Other","description":"A Credit Card Is Required For Payment To Guarantee The Prepay Non-Refundable Non-Changeable Rate. Prepay Rates Will Be Charged The Full Cost Of The Reservation Within 24 Hours Of Making The Reservation. If Payment Is Unsuccessful Within 48 Hours Of Making The Reservation The Hotel Reserves The Right To Cancel The Reservation. Date Changes To The Reservation Are Not Allowed. Cancellation Will Result In Forfeiture Of The Prepayment. The Credit Card Used At The Time Of Making The Reservation Must Be Valid For The Entire Stay. After 2 People - 120.00 Eur Person Extra Person Person Night"},{"title":"Room detail","description":"Deluxe Guest Room 2 Twin Mini Fridge 38 Square Metre/409 Square Feet Wireless Internet Complimentary Coffee/Tea Maker Maximum Occupancy- 2 Guests"},{"title":"Property","description":"Location: Property Offers Check Out For Children/Unicef Program. Voluntary Participation Offered At Check-In."},{"title":"Room Hold Expiration Time","description":"BOOKING HELD UNTIL 00:00 LOCAL HOTEL TIME ON ARRIVAL DATE"}],"source":"travelport","id":"rat_0000AvQVl8YKcSy3cTSr56","code":null}],"name":"Full, No Changes, Deluxe, Guest Room, 2 Twin"}],"amenities":[{"description":"24-Hour Front Desk","type":"24_hour_front_desk"},{"description":"Concierge","type":"concierge"},{"description":"Spa","type":"spa"},{"description":"Gym","type":"gym"},{"description":"Swimming Pool","type":"pool"},{"description":"Room Service","type":"room_service"},{"description":"Wheelchair Access","type":"accessibility_mobility"},{"description":"Wi-Fi","type":"wifi"},{"description":"Childcare Services","type":"childcare_service"}],"brand":{"name":"The Ritz-Carlton","id":"bra_DQPneLbCejxRuxAqD7amaW"},"phone_number":"00000 000 000","chain":{"name":"Marriott International"},"email":"test-mode-accommodation@example.com","location":{"geographic_coordinates":{"latitude":48.202473,"longitude":16.376202},"address":{"line_one":"Schubertring 5-7","city_name":"Vienna","postal_code":"1010 ","country_code":"AT","region":null}},"description":"The Ritz-Carlton, Vienna, located in four historic 19th-century palaces combines legendary service with Austrian hospitality. The 201 luxurious guest rooms and suites are generously proportioned and stylishly furnished. The Ritz-Carlton Club Lounge on the 7th floor pampers its guests with personalized service as well as five culinary offers per day. The Ritz-Carlton Spa has elegantly appointed treatment suites, an 18m indoor pool and a range of amenities that invite our guests to unique spa experiences. Unique culinary delights await guests at the farm-to-table Dstrikt Steakhouse, during aperitivo time at Pastamara - Bar con Cucina and the elegant hotel bar D-bar. Located on the 8th floor rooftop terrace, the Atmosphere Rooftop Bar offers a breathtaking view over the city. Located in the heart of the city and only a short walk from the city park, the luxury hotel is the perfect starting point to discover Vienna.","name":"The Ritz-Carlton Vienna","id":"acc_0000AWPszvlu6zjbTePuxQ"},"confirmed_at":"2025-06-23T15:52:20.328139Z","check_in_date":"2025-07-14","phone_number":"+1 612 345 8516","cancelled_at":null,"email":"adriaanb98@gmail.com","users":["icu_0000Asbm8q0FlWOhf0fDUm"],"reference":"O4C6IS","metadata":null,"status":"booking confirmed"}'), f = { internalRequestId: "818a9940-57ee-444e-923c-d0d6fc2bc82d" }, R = {
|
|
28
|
+
success: y,
|
|
29
|
+
data: H,
|
|
30
|
+
metadata: f
|
|
30
31
|
};
|
|
31
32
|
s("useBookingManagement", () => {
|
|
32
33
|
u.mocked(c.get).mockImplementation((o) => o.includes(i.USER_HOTEL_BOOKINGS) ? Promise.resolve({
|
|
33
|
-
data:
|
|
34
|
+
data: R
|
|
34
35
|
}) : o.includes(i.USER_FLIGHT_BOOKINGS) ? Promise.resolve({
|
|
35
|
-
data:
|
|
36
|
+
data: v
|
|
36
37
|
}) : Promise.resolve({ data: {} })), u.mocked(c.post).mockImplementation((o) => o.includes(i.CANCEL_HOTEL_BOOKING) ? Promise.resolve({
|
|
37
38
|
data: { success: !0 }
|
|
38
39
|
}) : Promise.resolve({ data: {} })), u.mocked(c.put).mockImplementation(() => Promise.resolve({ data: { success: !0 } })), s("Hotel Booking Management", () => {
|
|
@@ -102,7 +103,7 @@ s("useBookingManagement", () => {
|
|
|
102
103
|
() => t("684887c537d26f7b107a760a", r.HOTEL)
|
|
103
104
|
);
|
|
104
105
|
o.current.cancelBooking(), await n(() => {
|
|
105
|
-
e(o.current.isCancellingBooking).toBe(!1), e(o.current.
|
|
106
|
+
e(o.current.isCancellingBooking).toBe(!1), e(o.current.cancelStatus).toBe(d.SUCCESS), e(c.post).toHaveBeenCalledWith(
|
|
106
107
|
`${i.CANCEL_HOTEL_BOOKING}/684887c537d26f7b107a760a`
|
|
107
108
|
);
|
|
108
109
|
});
|
|
@@ -191,7 +192,7 @@ s("useBookingManagement", () => {
|
|
|
191
192
|
() => t("6811290ef16af25943018944", r.FLIGHT)
|
|
192
193
|
);
|
|
193
194
|
o.current.cancelBooking(), await n(() => {
|
|
194
|
-
e(o.current.isCancellingBooking).toBe(!1), e(o.current.
|
|
195
|
+
e(o.current.isCancellingBooking).toBe(!1), e(o.current.cancelStatus).toBe(d.SUCCESS), e(c.put).toHaveBeenCalledWith(
|
|
195
196
|
`${i.CONFIRM_FLIGHT_CANCEL}/6811290ef16af25943018944`
|
|
196
197
|
);
|
|
197
198
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useQuery as U } from "@tanstack/react-query";
|
|
2
2
|
import "../arrayExtensions-DlcBOj5a.js";
|
|
3
|
-
import { E as e, t as F } from "../noRetryInstance-
|
|
3
|
+
import { E as e, t as F } from "../noRetryInstance-C4bqpBc7.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import { FeatureService as N } from "../services/features/featureService.js";
|
|
6
6
|
const L = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useQuery as u } from "@tanstack/react-query";
|
|
2
2
|
import "../arrayExtensions-DlcBOj5a.js";
|
|
3
|
-
import { E as m, A as c, b as f } from "../noRetryInstance-
|
|
3
|
+
import { E as m, A as c, b as f } from "../noRetryInstance-C4bqpBc7.js";
|
|
4
4
|
import { useEffect as d } from "react";
|
|
5
5
|
import { useAwayzContext as y } from "./useAwayzContext.js";
|
|
6
6
|
var i = /* @__PURE__ */ ((r) => (r.HOTEL = "Hotel", r.FLIGHT = "Flight", r))(i || {});
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { useQuery as u, useMutation as p } from "@tanstack/react-query";
|
|
2
2
|
import { h as m } from "../../arrayExtensions-DlcBOj5a.js";
|
|
3
|
-
import { E as e } from "../../noRetryInstance-
|
|
3
|
+
import { E as e } from "../../noRetryInstance-C4bqpBc7.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react/jsx-runtime";
|
|
6
6
|
import "react-i18next";
|
|
7
|
-
import '../../assets/
|
|
8
|
-
|
|
7
|
+
import '../../assets/_styles4.css';import '../../assets/_styles6.css';import '../../assets/_styles5.css';import '../../assets/_styles2.css';import '../../assets/_styles.css';import '../../assets/_styles3.css';/* empty css */
|
|
8
|
+
/* empty css */
|
|
9
9
|
/* empty css */
|
|
10
10
|
import { awayzClient as o } from "../../configs/awayzClient.js";
|
|
11
11
|
/* empty css */
|
|
@@ -13,7 +13,7 @@ import { awayzClient as o } from "../../configs/awayzClient.js";
|
|
|
13
13
|
import "../../index-Cv-wvFlM.js";
|
|
14
14
|
import "../../context/AwayzContext.js";
|
|
15
15
|
/* empty css */
|
|
16
|
-
import { T as n } from "../../TripsService-
|
|
16
|
+
import { T as n } from "../../TripsService-fNtCUyxa.js";
|
|
17
17
|
const b = ({
|
|
18
18
|
tripId: t,
|
|
19
19
|
tripDetails: s
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { h as p } from "../../arrayExtensions-DlcBOj5a.js";
|
|
2
|
-
import { D as f } from "../../TripsService-
|
|
2
|
+
import { D as f } from "../../TripsService-fNtCUyxa.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import { renderHook as o, waitFor as i } from "../../tests/TestWrapper.js";
|
|
5
5
|
import { EMyTripsEndpoints as c } from "../../configs/endpoints.js";
|
|
6
6
|
import "react/jsx-runtime";
|
|
7
7
|
import "react-i18next";
|
|
8
|
-
import '../../assets/
|
|
9
|
-
|
|
8
|
+
import '../../assets/_styles4.css';import '../../assets/_styles6.css';import '../../assets/_styles5.css';import '../../assets/_styles2.css';import '../../assets/_styles.css';import '../../assets/_styles3.css';/* empty css */
|
|
9
|
+
/* empty css */
|
|
10
10
|
/* empty css */
|
|
11
11
|
import "@tanstack/react-query";
|
|
12
12
|
import "../../configs/awayzClient.js";
|
|
13
|
-
import { c as d } from "../../noRetryInstance-
|
|
13
|
+
import { c as d } from "../../noRetryInstance-C4bqpBc7.js";
|
|
14
14
|
/* empty css */
|
|
15
15
|
/* empty css */
|
|
16
16
|
import "../../index-Cv-wvFlM.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { useQuery as n, useMutation as s } from "@tanstack/react-query";
|
|
2
2
|
import "../../arrayExtensions-DlcBOj5a.js";
|
|
3
|
-
import { E as a, d as m } from "../../noRetryInstance-
|
|
3
|
+
import { E as a, d as m } from "../../noRetryInstance-C4bqpBc7.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react/jsx-runtime";
|
|
6
6
|
import "react-i18next";
|
|
7
|
-
import '../../assets/
|
|
8
|
-
|
|
7
|
+
import '../../assets/_styles4.css';import '../../assets/_styles6.css';import '../../assets/_styles5.css';import '../../assets/_styles2.css';import '../../assets/_styles.css';import '../../assets/_styles3.css';/* empty css */
|
|
8
|
+
/* empty css */
|
|
9
9
|
/* empty css */
|
|
10
10
|
import { awayzClient as i } from "../../configs/awayzClient.js";
|
|
11
11
|
/* empty css */
|
|
@@ -3,12 +3,12 @@ import "react/jsx-runtime";
|
|
|
3
3
|
import "../../arrayExtensions-DlcBOj5a.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react-i18next";
|
|
6
|
-
import '../../assets/
|
|
7
|
-
|
|
6
|
+
import '../../assets/_styles4.css';import '../../assets/_styles6.css';import '../../assets/_styles5.css';import '../../assets/_styles2.css';import '../../assets/_styles.css';import '../../assets/_styles3.css';/* empty css */
|
|
7
|
+
/* empty css */
|
|
8
8
|
/* empty css */
|
|
9
9
|
import "@tanstack/react-query";
|
|
10
10
|
import "../../configs/awayzClient.js";
|
|
11
|
-
import { c as l } from "../../noRetryInstance-
|
|
11
|
+
import { c as l } from "../../noRetryInstance-C4bqpBc7.js";
|
|
12
12
|
/* empty css */
|
|
13
13
|
/* empty css */
|
|
14
14
|
import "../../index-Cv-wvFlM.js";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
var T = /* @__PURE__ */ ((_) => (_.TOKEN = "token", _.REFRESH_TOKEN = "refreshToken", _.CLIENT_ID = "clientId", _.AUTH_FLOW = "authFlow", _.OVERRIDE_TOKEN_EXCHANGE_ENDPOINT = "overrideExchangeTokenEndpoint", _))(T || {}), d = /* @__PURE__ */ ((_) => (_.ISO = "dates:iso", _.DISPLAY_SHORT = "dates:displayShort", _.DISPLAY_MEDIUM = "dates:displayMedium", _.DISPLAY_LONG = "dates:displayLong", _.DISPLAY_FULL = "dates:displayFull", _.DISPLAY_SHORT_WITH_YEAR = "dates:displayShortWithYear", _.DISPLAY_MEDIUM_WITH_YEAR = "dates:displayMediumWithYear", _.DISPLAY_LONG_WITH_YEAR = "dates:displayLongWithYear", _.DISPLAY_FULL_WITH_YEAR = "dates:displayFullWithYear", _.DATE_TIME_SHORT = "dates:dateTimeShort", _.DATE_TIME_MEDIUM = "dates:dateTimeMedium", _.DATE_TIME_LONG = "dates:dateTimeLong", _.DATE_TIME_FULL = "dates:dateTimeFull", _.DATE_TIME_SHORT_WITH_YEAR = "dates:dateTimeShortWithYear", _.DATE_TIME_MEDIUM_WITH_YEAR = "dates:dateTimeMediumWithYear", _.DATE_TIME_LONG_WITH_YEAR = "dates:dateTimeLongWithYear", _.DATE_TIME_FULL_WITH_YEAR = "dates:dateTimeFullWithYear", _.TIME_ONLY = "dates:timeOnly", _.TIME_WITH_SECONDS = "dates:timeWithSeconds", _))(d || {});
|
|
2
|
+
export {
|
|
3
|
+
d as E,
|
|
4
|
+
T as a
|
|
5
|
+
};
|