@v-office/website-sdk 3.2.1 → 3.4.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/cli.mjs +3 -3
- package/dist/{client-F2V6hCg6.mjs → client-BEL6ow0i.mjs} +122 -119
- package/dist/index.d.mts +214 -166
- package/dist/index.mjs +2 -2
- package/dist/instructions/CHANGELOG.md +2 -0
- package/dist/instructions/MIGRATION.md +2 -0
- package/dist/instructions/quote.md +2 -2
- package/dist/instructions/rentals.md +82 -1
- package/dist/instructions/search.md +2 -1
- package/dist/instructions/versions/3.3.0/CHANGELOG.md +22 -0
- package/dist/instructions/versions/3.3.0/MIGRATION.md +22 -0
- package/dist/instructions/versions/3.4.0/CHANGELOG.md +39 -0
- package/dist/instructions/versions/3.4.0/MIGRATION.md +44 -0
- package/dist/{operations-Bc3WxjV8.mjs → operations-DY2e_2Hd.mjs} +235 -13
- package/dist/{rentals-DfDeL0Qk.mjs → rentals-DVMCyGI9.mjs} +65 -4
- package/dist/{search-_gISebZ1.mjs → search-6EvRB-i0.mjs} +3 -3
- package/dist/{to-rental-highlights-9AbqVIso.mjs → to-rental-highlights-DptWc7-q.mjs} +1 -1
- package/instructions/CHANGELOG.md +2 -0
- package/instructions/MIGRATION.md +2 -0
- package/instructions/quote.md +2 -2
- package/instructions/rentals.md +82 -1
- package/instructions/search.md +2 -1
- package/instructions/versions/3.3.0/CHANGELOG.md +22 -0
- package/instructions/versions/3.3.0/MIGRATION.md +22 -0
- package/instructions/versions/3.3.0/release.json +3 -0
- package/instructions/versions/3.4.0/CHANGELOG.md +39 -0
- package/instructions/versions/3.4.0/MIGRATION.md +44 -0
- package/instructions/versions/3.4.0/release.json +3 -0
- package/package.json +3 -3
package/dist/cli.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { Qt as defineV9PropertyHighlightSourcesFromUnknown, Xt as defineWebsiteSDKOptions, _ as rental_attributes_default$1, an as V9_HUB_OFFER_FILTER_KEY, cn as V9_HUB_UNIT_TYPE_FILTER_KEY, en as V9_HUB_FACILITY_SCOPE_FILTER_KEY, f as makeV9GraphQLClient, h as makeV0OpenApiClientFetchLive, i as toV9SdkOwnedHubFilterKeys, in as V9_HUB_OFFERS_FILTER_KEY, ln as V9_SDK_OWNED_HUB_FILTER_KEYS, n as checkV9HubFilters, nn as V9_HUB_OBJECT_GROUP_FILTER_KEY, on as V9_HUB_REGION_FILTER_KEY, p as V0OpenApiClient, r as toV9RequiredHubFilterKeys, rn as V9_HUB_OBJECT_GROUP_SCOPE_FILTER_KEY, sn as V9_HUB_RENTAL_IDS_FILTER_KEY, t as createWebsiteSDK, tn as V9_HUB_FACILITY_SEARCH_FILTER_KEY, un as stable_filters_default, v as rental_attributes_default } from "./client-BEL6ow0i.mjs";
|
|
3
|
+
import { a as hubFiltersQuery, b as parseJsonData, o as hubRentalDataQuery, p as rentalsAllWithoutFeedbacksQuery, v as VofficeUnitDataPropertyMetadata, w as parseVofficeRatingData } from "./operations-DY2e_2Hd.mjs";
|
|
4
4
|
import { STABLE_SEARCH_INPUTS, SearchSearchSortSchema, defineCustomAttributesFromUnknown, toStableSearchInputQueryKeys } from "@v-office/sdk-core";
|
|
5
5
|
import { ByteSize, Console, Effect, FileSystem, Layer, Option, Path, Schema, Stdio, Terminal } from "effect";
|
|
6
6
|
import { Command, Flag } from "effect/unstable/cli";
|
|
@@ -17,7 +17,7 @@ var CLICheckFailed = class extends Error {
|
|
|
17
17
|
const toCLIError = (message, cause) => cause instanceof Error ? new CLICheckFailed(`${message}: ${cause.message}`, { cause }) : new CLICheckFailed(message, { cause });
|
|
18
18
|
//#endregion
|
|
19
19
|
//#region package.json
|
|
20
|
-
var version = "3.
|
|
20
|
+
var version = "3.4.0";
|
|
21
21
|
//#endregion
|
|
22
22
|
//#region src/cli/output.ts
|
|
23
23
|
const toJson = (value) => Effect.try({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as parseJsonData, l as rentalRegionsQuery, m as RegionSchema$1, t as voucherValidityQuery,
|
|
1
|
+
import { T as parseVofficeUnitData, b as parseJsonData, l as rentalRegionsQuery, m as RegionSchema$1, t as voucherValidityQuery, y as customDataAttribute } from "./operations-DY2e_2Hd.mjs";
|
|
2
2
|
import { AvailabilityService, BookingBookOutput, BookingService, ContactService, CoreSDKError, DEFAULT_RENTAL_HIGHLIGHT_PRIORITIZATION, DEFAULT_RENTAL_PROPERTY_HIGHLIGHT_PRIORITIZATION, DocumentsService, EMPTY_CUSTOM_ATTRIBUTE_REGISTRY, FilterService, QuoteService, RegionsService, RentalService, SEARCH_ALL_RENTALS_AT_ONCE_MAX_RESULTS, SearchService, TranslationService, addGuestQuoteAdditionalServiceSelection, asArray, asRecord, assertNoNestedCustomAttributeFilterCompositions, assertNoReservedQueryKeys, assertUniqueCustomFilterQueryKeys, assertUniqueFilterQueryKeys, buildWebsiteRegions, clearGuestQuoteAdditionalServiceSelections, collectQueryParameters, createCoreRuntime, daysBetweenLocalDates, expandCustomAttributeFilterCompositions, firstNumber, firstString, formatCurrency, formatLocalDate, getBookingBookGuestToken, getGuestQuoteBackendContext, getGuestQuoteInput, isDisplayableCustomAttribute, localeToLanguage, makeMinIntervalLimiter, makeTranslationLive, normalizeV10RateBudget, parseQueryParameters, refreshGuestQuoteInsurancePassthrough, removeGuestQuoteAdditionalServiceSelection, selectGuestQuoteCancellationPolicySelection, toCountLabelKey, toCustomAttributeFilterLabel, toCustomAttributeFilterOutputItem, toCustomAttributeList, toInitialAvailabilityCalendarDays, toIsoDateFromPeriodQueryDate, toNoInsuranceOption, toNotOfferedInsurance, toQueryString, toResolvedCustomAttributeCategoryTranslationKey, toStartDateSelectedCalendarDays, validateContactSubmitInput, withGuestQuoteInsurance, withGuestQuoteInsuranceRefresh } from "@v-office/sdk-core";
|
|
3
3
|
import { Clock, Context, Data, DateTime, Duration, Effect, Layer, Schema, SchemaGetter } from "effect";
|
|
4
4
|
import { FetchHttpClient, HttpClient, HttpClientRequest } from "effect/unstable/http";
|
|
@@ -837,14 +837,29 @@ const ErgoBankSchema = Schema.Struct({
|
|
|
837
837
|
street_and_nr: Schema.optionalKey(Schema.String),
|
|
838
838
|
surname: Schema.optionalKey(Schema.String)
|
|
839
839
|
});
|
|
840
|
+
const ErgoBookingIdentitySchema = Schema.Struct({
|
|
841
|
+
booking_id: Schema.optionalKey(Schema.Number),
|
|
842
|
+
guest_token: Schema.String,
|
|
843
|
+
reservation_number: Schema.String
|
|
844
|
+
});
|
|
845
|
+
const ErgoBookingIdentityRequestSchema = Schema.Struct({
|
|
846
|
+
booking_id: Schema.optionalKey(Schema.Number),
|
|
847
|
+
echo_token: Schema.optionalKey(Schema.NullOr(Schema.String)),
|
|
848
|
+
guest_token: Schema.String,
|
|
849
|
+
msg_id: Schema.optionalKey(Schema.NullOr(Schema.String)),
|
|
850
|
+
reservation_number: Schema.String,
|
|
851
|
+
transaction_context: Schema.optionalKey(Schema.NullOr(Schema.String))
|
|
852
|
+
});
|
|
840
853
|
const ErgoBookRequestSchema = Schema.Struct({
|
|
841
854
|
address: Schema.suspend(() => ErgoAddressSchema),
|
|
842
855
|
bank: Schema.suspend(() => ErgoBankSchema),
|
|
856
|
+
booking_id: Schema.optionalKey(Schema.Number),
|
|
843
857
|
destination_country: Schema.String,
|
|
844
858
|
echo_token: Schema.optionalKey(Schema.NullOr(Schema.String)),
|
|
845
859
|
email: Schema.String,
|
|
846
860
|
end_date: Schema.String,
|
|
847
861
|
fax: Schema.optionalKey(Schema.NullOr(Schema.String)),
|
|
862
|
+
guest_token: Schema.String,
|
|
848
863
|
guests: Schema.Number,
|
|
849
864
|
mobile: Schema.String,
|
|
850
865
|
msg_id: Schema.optionalKey(Schema.NullOr(Schema.String)),
|
|
@@ -852,6 +867,7 @@ const ErgoBookRequestSchema = Schema.Struct({
|
|
|
852
867
|
policy_holder: Schema.suspend(() => ErgoPersonSchema),
|
|
853
868
|
pre_contractual_information_id: Schema.String,
|
|
854
869
|
rebook_policy_number: Schema.optionalKey(Schema.NullOr(Schema.String)),
|
|
870
|
+
reservation_number: Schema.String,
|
|
855
871
|
start_date: Schema.String,
|
|
856
872
|
tariff_code: Schema.optionalKey(Schema.NullOr(Schema.String)),
|
|
857
873
|
total_amount: Schema.Number,
|
|
@@ -867,17 +883,20 @@ const ErgoCommonFieldsSchema = Schema.Struct({
|
|
|
867
883
|
});
|
|
868
884
|
const ErgoCreatePreContractRequestSchema = Schema.Struct({
|
|
869
885
|
address: Schema.suspend(() => ErgoAddressSchema),
|
|
886
|
+
booking_id: Schema.optionalKey(Schema.Number),
|
|
870
887
|
destination_country: Schema.String,
|
|
871
888
|
echo_token: Schema.optionalKey(Schema.NullOr(Schema.String)),
|
|
872
889
|
email: Schema.String,
|
|
873
890
|
end_date: Schema.String,
|
|
874
891
|
fax: Schema.optionalKey(Schema.NullOr(Schema.String)),
|
|
892
|
+
guest_token: Schema.String,
|
|
875
893
|
guests: Schema.Number,
|
|
876
894
|
mobile: Schema.String,
|
|
877
895
|
msg_id: Schema.optionalKey(Schema.NullOr(Schema.String)),
|
|
878
896
|
plan_code: Schema.optionalKey(Schema.NullOr(Schema.String)),
|
|
879
897
|
policy_holder: Schema.suspend(() => ErgoPersonSchema),
|
|
880
898
|
rebook_policy_number: Schema.optionalKey(Schema.NullOr(Schema.String)),
|
|
899
|
+
reservation_number: Schema.String,
|
|
881
900
|
start_date: Schema.String,
|
|
882
901
|
tariff_code: Schema.optionalKey(Schema.NullOr(Schema.String)),
|
|
883
902
|
total_amount: Schema.Number,
|
|
@@ -912,12 +931,6 @@ const ErgoPlanSearchRequestSchema = Schema.Struct({
|
|
|
912
931
|
transaction_context: Schema.optionalKey(Schema.NullOr(Schema.String)),
|
|
913
932
|
traveler_count: Schema.Number
|
|
914
933
|
});
|
|
915
|
-
const ErgoPolicyNumberRequestSchema = Schema.Struct({
|
|
916
|
-
echo_token: Schema.optionalKey(Schema.NullOr(Schema.String)),
|
|
917
|
-
msg_id: Schema.optionalKey(Schema.NullOr(Schema.String)),
|
|
918
|
-
policy_number: Schema.String,
|
|
919
|
-
transaction_context: Schema.optionalKey(Schema.NullOr(Schema.String))
|
|
920
|
-
});
|
|
921
934
|
const ErgoReadPreContractRequestSchema = Schema.Struct({
|
|
922
935
|
echo_token: Schema.optionalKey(Schema.NullOr(Schema.String)),
|
|
923
936
|
email: Schema.String,
|
|
@@ -944,6 +957,10 @@ const FacilityListResponseSchema = Schema.Struct({
|
|
|
944
957
|
data: Schema.mutable(Schema.Array(Schema.Struct({ id: Schema.optionalKey(Schema.Number) }))),
|
|
945
958
|
ok: Schema.Boolean
|
|
946
959
|
});
|
|
960
|
+
const HubErrorSchema = Schema.Struct({
|
|
961
|
+
code: Schema.optionalKey(Schema.String),
|
|
962
|
+
message: Schema.String
|
|
963
|
+
});
|
|
947
964
|
const OnOfficeUnitSchema = Schema.Struct({
|
|
948
965
|
currency: Schema.optionalKey(Schema.NullOr(Schema.String)),
|
|
949
966
|
description: Schema.optionalKey(Schema.NullOr(Schema.String)),
|
|
@@ -1098,10 +1115,13 @@ const TileTagSchema = Schema.Union([
|
|
|
1098
1115
|
]);
|
|
1099
1116
|
const TravelInsuranceBookingSchema = Schema.Struct({
|
|
1100
1117
|
additional_booking_data: Schema.optionalKey(Schema.NullOr(PhpRecord(Schema.Unknown))),
|
|
1101
|
-
|
|
1118
|
+
booking_id: Schema.optionalKey(Schema.NullOr(Schema.Number)),
|
|
1119
|
+
cancelled_at: Schema.optionalKey(Schema.NullOr(Schema.String)),
|
|
1102
1120
|
created_at: Schema.optionalKey(Schema.NullOr(Schema.String)),
|
|
1103
1121
|
guest_token: Schema.optionalKey(Schema.String),
|
|
1104
1122
|
id: Schema.optionalKey(Schema.Number),
|
|
1123
|
+
reservation_number: Schema.optionalKey(Schema.String),
|
|
1124
|
+
status: Schema.optionalKey(Schema.String),
|
|
1105
1125
|
travel_insurance_number: Schema.optionalKey(Schema.NullOr(Schema.String)),
|
|
1106
1126
|
updated_at: Schema.optionalKey(Schema.NullOr(Schema.String)),
|
|
1107
1127
|
voffice_member_id: Schema.optionalKey(Schema.Number),
|
|
@@ -1109,13 +1129,6 @@ const TravelInsuranceBookingSchema = Schema.Struct({
|
|
|
1109
1129
|
webhook_executed_at: Schema.optionalKey(Schema.NullOr(Schema.String)),
|
|
1110
1130
|
webhook_last_response: Schema.optionalKey(Schema.NullOr(PhpRecord(Schema.Unknown)))
|
|
1111
1131
|
});
|
|
1112
|
-
const TravelInsuranceBookingStoreRequestSchema = Schema.Struct({
|
|
1113
|
-
booking_number: Schema.String,
|
|
1114
|
-
guest_token: Schema.String,
|
|
1115
|
-
pre_contractual_information_id: Schema.optionalKey(Schema.NullOr(Schema.String)),
|
|
1116
|
-
selected_plan_code: Schema.optionalKey(Schema.NullOr(Schema.String)),
|
|
1117
|
-
travel_insurance_number: Schema.optionalKey(Schema.NullOr(Schema.String))
|
|
1118
|
-
});
|
|
1119
1132
|
const UnitIdsResponseSchema = Schema.Struct({
|
|
1120
1133
|
data: Schema.mutable(Schema.Array(Schema.Number)),
|
|
1121
1134
|
ok: Schema.Boolean
|
|
@@ -1184,7 +1197,7 @@ const V1_OPERATIONS = {
|
|
|
1184
1197
|
pathParameters: [],
|
|
1185
1198
|
queryParameters: [],
|
|
1186
1199
|
requestBodyContentType: "application/json",
|
|
1187
|
-
requestBodySchema: Schema.suspend(() =>
|
|
1200
|
+
requestBodySchema: Schema.suspend(() => ErgoBookingIdentityRequestSchema),
|
|
1188
1201
|
responseStatus: "200",
|
|
1189
1202
|
responseContentType: "application/json",
|
|
1190
1203
|
responseSchema: PhpRecord(Schema.Unknown)
|
|
@@ -1200,18 +1213,6 @@ const V1_OPERATIONS = {
|
|
|
1200
1213
|
responseContentType: "application/json",
|
|
1201
1214
|
responseSchema: PhpRecord(Schema.Unknown)
|
|
1202
1215
|
},
|
|
1203
|
-
deleteTravelInsuranceBooking: {
|
|
1204
|
-
method: "DELETE",
|
|
1205
|
-
path: "/TravelInsuranceBooking/{travel_insurance_booking}",
|
|
1206
|
-
pathParameters: ["travel_insurance_booking"],
|
|
1207
|
-
queryParameters: ["guest_token"],
|
|
1208
|
-
responseStatus: "200",
|
|
1209
|
-
responseContentType: "application/json",
|
|
1210
|
-
responseSchema: Schema.Struct({
|
|
1211
|
-
policy: Schema.optionalKey(Schema.NullOr(Schema.String)),
|
|
1212
|
-
success: Schema.Boolean
|
|
1213
|
-
})
|
|
1214
|
-
},
|
|
1215
1216
|
downloadTravelInsurancePdf: {
|
|
1216
1217
|
method: "GET",
|
|
1217
1218
|
path: "/getTravellInsuranceDownload",
|
|
@@ -1225,10 +1226,14 @@ const V1_OPERATIONS = {
|
|
|
1225
1226
|
method: "GET",
|
|
1226
1227
|
path: "/TravelInsuranceBooking",
|
|
1227
1228
|
pathParameters: [],
|
|
1228
|
-
queryParameters: [
|
|
1229
|
+
queryParameters: [
|
|
1230
|
+
"guest_token",
|
|
1231
|
+
"reservation_number",
|
|
1232
|
+
"booking_id"
|
|
1233
|
+
],
|
|
1229
1234
|
responseStatus: "200",
|
|
1230
1235
|
responseContentType: "application/json",
|
|
1231
|
-
responseSchema: Schema.
|
|
1236
|
+
responseSchema: Schema.suspend(() => TravelInsuranceBookingSchema)
|
|
1232
1237
|
},
|
|
1233
1238
|
getCurrentMember: {
|
|
1234
1239
|
method: "GET",
|
|
@@ -1288,7 +1293,7 @@ const V1_OPERATIONS = {
|
|
|
1288
1293
|
method: "GET",
|
|
1289
1294
|
path: "/TravelInsuranceBooking/{travel_insurance_booking}",
|
|
1290
1295
|
pathParameters: ["travel_insurance_booking"],
|
|
1291
|
-
queryParameters: ["guest_token"],
|
|
1296
|
+
queryParameters: ["guest_token", "booking_id"],
|
|
1292
1297
|
responseStatus: "200",
|
|
1293
1298
|
responseContentType: "application/json",
|
|
1294
1299
|
responseSchema: Schema.suspend(() => TravelInsuranceBookingSchema)
|
|
@@ -1497,7 +1502,7 @@ const V1_OPERATIONS = {
|
|
|
1497
1502
|
pathParameters: [],
|
|
1498
1503
|
queryParameters: [],
|
|
1499
1504
|
requestBodyContentType: "application/json",
|
|
1500
|
-
requestBodySchema: Schema.suspend(() =>
|
|
1505
|
+
requestBodySchema: Schema.suspend(() => ErgoBookingIdentityRequestSchema),
|
|
1501
1506
|
responseStatus: "200",
|
|
1502
1507
|
responseContentType: "application/json",
|
|
1503
1508
|
responseSchema: PhpRecord(Schema.Unknown)
|
|
@@ -1513,17 +1518,6 @@ const V1_OPERATIONS = {
|
|
|
1513
1518
|
responseContentType: "application/json",
|
|
1514
1519
|
responseSchema: PhpRecord(Schema.Unknown)
|
|
1515
1520
|
},
|
|
1516
|
-
storeTravelInsuranceBooking: {
|
|
1517
|
-
method: "POST",
|
|
1518
|
-
path: "/TravelInsuranceBooking",
|
|
1519
|
-
pathParameters: [],
|
|
1520
|
-
queryParameters: [],
|
|
1521
|
-
requestBodyContentType: "application/json",
|
|
1522
|
-
requestBodySchema: Schema.suspend(() => TravelInsuranceBookingStoreRequestSchema),
|
|
1523
|
-
responseStatus: "200",
|
|
1524
|
-
responseContentType: "application/json",
|
|
1525
|
-
responseSchema: Schema.suspend(() => TravelInsuranceBookingSchema)
|
|
1526
|
-
},
|
|
1527
1521
|
updateDocumentStatus: {
|
|
1528
1522
|
method: "PATCH",
|
|
1529
1523
|
path: "/Documents/{document}",
|
|
@@ -5608,12 +5602,20 @@ const makeV9ContactApi = ({ config, options }) => {
|
|
|
5608
5602
|
};
|
|
5609
5603
|
//#endregion
|
|
5610
5604
|
//#region src/legacy-v9/live/quote-insurance/errors.ts
|
|
5611
|
-
const
|
|
5612
|
-
|
|
5613
|
-
|
|
5614
|
-
|
|
5615
|
-
|
|
5616
|
-
|
|
5605
|
+
const toHubError = (cause) => {
|
|
5606
|
+
const error = asRecord(cause);
|
|
5607
|
+
return error._tag === "V1OpenApiClientError" ? asRecord(error.raw) : {};
|
|
5608
|
+
};
|
|
5609
|
+
const getHubErrorCode = (cause) => firstString(toHubError(cause).code);
|
|
5610
|
+
const toInsuranceError = (message) => (cause) => {
|
|
5611
|
+
const hubMessage = firstString(toHubError(cause).message);
|
|
5612
|
+
return new CoreSDKError({
|
|
5613
|
+
source: "v9",
|
|
5614
|
+
operation: "v9.insurance",
|
|
5615
|
+
message: hubMessage === void 0 ? message : `${message} ${hubMessage}`,
|
|
5616
|
+
cause
|
|
5617
|
+
});
|
|
5618
|
+
};
|
|
5617
5619
|
const failInsurance = (message) => Effect.fail(new CoreSDKError({
|
|
5618
5620
|
source: "v9",
|
|
5619
5621
|
operation: "v9.insurance",
|
|
@@ -5795,11 +5797,13 @@ const getSelectedTravelers = (quote) => {
|
|
|
5795
5797
|
if (selected.travelers.length > 0) return Effect.succeed(selected.travelers);
|
|
5796
5798
|
return failInsurance("ERGO insurance requires at least one traveler.");
|
|
5797
5799
|
};
|
|
5798
|
-
const
|
|
5800
|
+
const requireBookingIdentity = (booking) => {
|
|
5799
5801
|
const guestToken = getBookingBookGuestToken(booking);
|
|
5802
|
+
const bookingId = getV9BookingInternalState(booking)?.bookingId;
|
|
5800
5803
|
return guestToken === void 0 ? failInsurance("The booking does not contain the private v9 guest token required for insurance.") : Effect.succeed({
|
|
5801
|
-
|
|
5802
|
-
|
|
5804
|
+
guest_token: guestToken,
|
|
5805
|
+
reservation_number: booking.bookingNumber,
|
|
5806
|
+
...bookingId === void 0 ? {} : { booking_id: bookingId }
|
|
5803
5807
|
});
|
|
5804
5808
|
};
|
|
5805
5809
|
const requireBookingDetails = (booking) => {
|
|
@@ -5947,10 +5951,7 @@ const selectV9Insurance = ({ quote, selection, translations }) => Effect.gen(fun
|
|
|
5947
5951
|
paymentOptions: toInsurancePaymentOptions(option, sepaDebitLabel)
|
|
5948
5952
|
});
|
|
5949
5953
|
});
|
|
5950
|
-
const findInsuranceRecord = ({
|
|
5951
|
-
guest_token: guestToken,
|
|
5952
|
-
booking_number: bookingNumber
|
|
5953
|
-
} }).pipe(Effect.mapError(toInsuranceError("Failed to read the stored ERGO insurance booking.")), Effect.map(({ raw }) => {
|
|
5954
|
+
const findInsuranceRecord = ({ identity, v1Client }) => v1Client.execute("findTravelInsuranceBooking", { query: identity }).pipe(Effect.mapError(toInsuranceError("Failed to read the stored ERGO insurance booking.")), Effect.map(({ raw }) => {
|
|
5954
5955
|
const record = asRecord(raw);
|
|
5955
5956
|
const data = asRecord(record.additional_booking_data);
|
|
5956
5957
|
const policyNumber = firstString(record.travel_insurance_number);
|
|
@@ -5962,26 +5963,31 @@ const findInsuranceRecord = ({ guestToken, bookingNumber, v1Client }) => v1Clien
|
|
|
5962
5963
|
...selectedPlanCode === void 0 ? {} : { selectedPlanCode }
|
|
5963
5964
|
};
|
|
5964
5965
|
}));
|
|
5965
|
-
const
|
|
5966
|
-
|
|
5967
|
-
|
|
5968
|
-
|
|
5969
|
-
|
|
5970
|
-
|
|
5966
|
+
const readActivePolicy = ({ identity, message, v1Client }) => v1Client.execute("readErgoTravelCancellationInsurance", { body: identity }).pipe(Effect.mapError(toInsuranceError(message)), Effect.flatMap(({ raw }) => requireErgoSuccess({
|
|
5967
|
+
raw,
|
|
5968
|
+
message
|
|
5969
|
+
})));
|
|
5970
|
+
const isPolicyActive = ({ identity, policyNumber, v1Client }) => readActivePolicy({
|
|
5971
|
+
identity,
|
|
5972
|
+
message: `Failed to verify the stored ERGO policy ${policyNumber}; not booking again.`,
|
|
5973
|
+
v1Client
|
|
5974
|
+
}).pipe(Effect.map((raw) => {
|
|
5975
|
+
const policy = toErgoPolicy({
|
|
5971
5976
|
raw,
|
|
5972
5977
|
policyNumber
|
|
5973
|
-
})
|
|
5974
|
-
|
|
5975
|
-
|
|
5978
|
+
});
|
|
5979
|
+
return policy.policyNumber === policyNumber && policy.status === "active";
|
|
5980
|
+
}), Effect.catchIf((error) => getHubErrorCode(error.cause) === "policy_not_found", () => Effect.succeed(false)));
|
|
5981
|
+
const checkStoredPolicy = ({ identity, record, planCode, v1Client }) => Effect.gen(function* () {
|
|
5976
5982
|
if (record.policyNumber === void 0) return "none";
|
|
5977
5983
|
if (!(yield* isPolicyActive({
|
|
5984
|
+
identity,
|
|
5978
5985
|
policyNumber: record.policyNumber,
|
|
5979
5986
|
v1Client
|
|
5980
5987
|
}))) return "revoked";
|
|
5981
5988
|
if (record.selectedPlanCode !== planCode) return yield* failInsurance("This booking already has an active ERGO policy for another plan; revoke it before choosing a different plan.");
|
|
5982
5989
|
return "matching";
|
|
5983
5990
|
});
|
|
5984
|
-
const storeInsuranceRecord = ({ body, v1Client }) => v1Client.execute("storeTravelInsuranceBooking", { body }).pipe(Effect.asVoid, Effect.catch((cause) => Effect.logError("Failed to store the ERGO insurance booking in the Hub.", cause)));
|
|
5985
5991
|
const writeTravelersToBooking = ({ locale, travelers, details, v0Client }) => Effect.gen(function* () {
|
|
5986
5992
|
const lang = localeToLanguage(locale);
|
|
5987
5993
|
const current = yield* v0Client.execute("proxyVofficeAction", { query: {
|
|
@@ -6036,7 +6042,7 @@ const createV9InsurancePreContract = ({ quote, booking, translations, v0Client,
|
|
|
6036
6042
|
...currentInsurance,
|
|
6037
6043
|
preContract: { kind: "not_required" }
|
|
6038
6044
|
});
|
|
6039
|
-
const
|
|
6045
|
+
const identity = yield* requireBookingIdentity(booking);
|
|
6040
6046
|
const details = yield* requireBookingDetails(booking);
|
|
6041
6047
|
const travelers = yield* getSelectedTravelers(quote);
|
|
6042
6048
|
const ergoTravelers = travelers.map(toErgoPerson);
|
|
@@ -6061,10 +6067,11 @@ const createV9InsurancePreContract = ({ quote, booking, translations, v0Client,
|
|
|
6061
6067
|
paymentOptions: toInsurancePaymentOptions(option, sepaDebitLabel)
|
|
6062
6068
|
});
|
|
6063
6069
|
const record = yield* findInsuranceRecord({
|
|
6064
|
-
|
|
6070
|
+
identity,
|
|
6065
6071
|
v1Client
|
|
6066
6072
|
});
|
|
6067
6073
|
const storedPolicy = yield* checkStoredPolicy({
|
|
6074
|
+
identity,
|
|
6068
6075
|
record,
|
|
6069
6076
|
planCode: option.id,
|
|
6070
6077
|
v1Client
|
|
@@ -6089,6 +6096,7 @@ const createV9InsurancePreContract = ({ quote, booking, translations, v0Client,
|
|
|
6089
6096
|
v0Client
|
|
6090
6097
|
});
|
|
6091
6098
|
const created = yield* v1Client.execute("createErgoPreContract", { body: {
|
|
6099
|
+
...identity,
|
|
6092
6100
|
...tripAndCustomer,
|
|
6093
6101
|
plan_code: option.id
|
|
6094
6102
|
} }).pipe(Effect.mapError(toInsuranceError("Failed to create ERGO pre-contract information.")), Effect.flatMap(({ raw }) => requireErgoSuccess({
|
|
@@ -6105,15 +6113,6 @@ const createV9InsurancePreContract = ({ quote, booking, translations, v0Client,
|
|
|
6105
6113
|
message: "ERGO pre-contract response did not contain a pre-contract ID.",
|
|
6106
6114
|
cause: created
|
|
6107
6115
|
}));
|
|
6108
|
-
yield* storeInsuranceRecord({
|
|
6109
|
-
body: {
|
|
6110
|
-
guest_token: access.guestToken,
|
|
6111
|
-
booking_number: access.bookingNumber,
|
|
6112
|
-
pre_contractual_information_id: preContract.id,
|
|
6113
|
-
selected_plan_code: option.id
|
|
6114
|
-
},
|
|
6115
|
-
v1Client
|
|
6116
|
-
});
|
|
6117
6116
|
const documents = preContract.documents ?? (yield* readPreContractDocuments({
|
|
6118
6117
|
preContractId: preContract.id,
|
|
6119
6118
|
email: tripAndCustomer.email,
|
|
@@ -6137,12 +6136,13 @@ const bookV9Insurance = ({ quote, booking, translations, v1Client }) => Effect.g
|
|
|
6137
6136
|
const insurance = quote.insurance;
|
|
6138
6137
|
if (option === void 0 || insurance === void 0) return { kind: "none_selected" };
|
|
6139
6138
|
if (option.requiredInformation.kind === "none") return { kind: "not_required" };
|
|
6140
|
-
const
|
|
6139
|
+
const identity = yield* requireBookingIdentity(booking);
|
|
6141
6140
|
const record = yield* findInsuranceRecord({
|
|
6142
|
-
|
|
6141
|
+
identity,
|
|
6143
6142
|
v1Client
|
|
6144
6143
|
});
|
|
6145
6144
|
if (record.policyNumber !== void 0 && (yield* checkStoredPolicy({
|
|
6145
|
+
identity,
|
|
6146
6146
|
record,
|
|
6147
6147
|
planCode: option.id,
|
|
6148
6148
|
v1Client
|
|
@@ -6155,6 +6155,7 @@ const bookV9Insurance = ({ quote, booking, translations, v1Client }) => Effect.g
|
|
|
6155
6155
|
const details = yield* requireBookingDetails(booking);
|
|
6156
6156
|
const travelers = yield* getSelectedTravelers(quote);
|
|
6157
6157
|
const body = {
|
|
6158
|
+
...identity,
|
|
6158
6159
|
...yield* toErgoTripAndCustomerInput({
|
|
6159
6160
|
quote,
|
|
6160
6161
|
customer: details.customer,
|
|
@@ -6182,48 +6183,33 @@ const bookV9Insurance = ({ quote, booking, translations, v1Client }) => Effect.g
|
|
|
6182
6183
|
message: "ERGO insurance booking response did not contain a policy number.",
|
|
6183
6184
|
cause: result
|
|
6184
6185
|
}));
|
|
6185
|
-
yield* storeInsuranceRecord({
|
|
6186
|
-
body: {
|
|
6187
|
-
guest_token: access.guestToken,
|
|
6188
|
-
booking_number: access.bookingNumber,
|
|
6189
|
-
travel_insurance_number: bookingOutput.policyNumber,
|
|
6190
|
-
pre_contractual_information_id: insurance.preContract.id,
|
|
6191
|
-
selected_plan_code: option.id
|
|
6192
|
-
},
|
|
6193
|
-
v1Client
|
|
6194
|
-
});
|
|
6195
6186
|
return bookingOutput;
|
|
6196
6187
|
});
|
|
6197
|
-
const readV9InsurancePolicy = ({ policyNumber, v1Client }) => Effect.gen(function* () {
|
|
6188
|
+
const readV9InsurancePolicy = ({ policyNumber, booking, v1Client }) => Effect.gen(function* () {
|
|
6198
6189
|
yield* requireErgoAccount(v1Client);
|
|
6199
|
-
const
|
|
6200
|
-
|
|
6201
|
-
|
|
6202
|
-
|
|
6203
|
-
|
|
6190
|
+
const identity = yield* requireBookingIdentity(booking);
|
|
6191
|
+
const raw = yield* readActivePolicy({
|
|
6192
|
+
identity,
|
|
6193
|
+
message: "Failed to read the ERGO insurance policy.",
|
|
6194
|
+
v1Client
|
|
6195
|
+
});
|
|
6196
|
+
const policy = toErgoPolicy({
|
|
6204
6197
|
raw,
|
|
6205
6198
|
policyNumber
|
|
6206
6199
|
});
|
|
6200
|
+
return policy.policyNumber === policyNumber ? policy : yield* failInsurance(`The booking ${identity.reservation_number} holds the ERGO policy ${policy.policyNumber}, not ${policyNumber}.`);
|
|
6207
6201
|
});
|
|
6208
6202
|
const revokeV9InsurancePolicy = ({ policyNumber, booking, v1Client }) => Effect.gen(function* () {
|
|
6209
6203
|
yield* requireErgoAccount(v1Client);
|
|
6210
|
-
const
|
|
6211
|
-
|
|
6204
|
+
const identity = yield* requireBookingIdentity(booking);
|
|
6205
|
+
if ((yield* findInsuranceRecord({
|
|
6206
|
+
identity,
|
|
6207
|
+
v1Client
|
|
6208
|
+
})).policyNumber !== policyNumber) return yield* failInsurance(`The booking ${identity.reservation_number} has no active ERGO policy ${policyNumber}; nothing was revoked.`);
|
|
6209
|
+
const raw = yield* v1Client.execute("cancelErgoTravelCancellationInsurance", { body: identity }).pipe(Effect.mapError(toInsuranceError("Failed to revoke the ERGO insurance policy.")), Effect.flatMap(({ raw }) => requireErgoSuccess({
|
|
6212
6210
|
raw,
|
|
6213
6211
|
message: "Failed to revoke the ERGO insurance policy."
|
|
6214
6212
|
})));
|
|
6215
|
-
yield* Effect.gen(function* () {
|
|
6216
|
-
if ((yield* findInsuranceRecord({
|
|
6217
|
-
guestToken,
|
|
6218
|
-
bookingNumber,
|
|
6219
|
-
v1Client
|
|
6220
|
-
})).policyNumber !== policyNumber) return yield* Effect.logWarning(`The Hub booking ${bookingNumber} does not hold the revoked ERGO policy ${policyNumber}; its record is kept.`);
|
|
6221
|
-
const { data } = yield* v1Client.execute("deleteTravelInsuranceBooking", {
|
|
6222
|
-
path: { travel_insurance_booking: bookingNumber },
|
|
6223
|
-
query: { guest_token: guestToken }
|
|
6224
|
-
});
|
|
6225
|
-
if (!data.success) return yield* Effect.fail(data);
|
|
6226
|
-
}).pipe(Effect.catch((cause) => Effect.logError("Failed to delete the revoked ERGO insurance booking in the Hub.", cause)));
|
|
6227
6213
|
return {
|
|
6228
6214
|
...toErgoPolicy({
|
|
6229
6215
|
raw,
|
|
@@ -6366,8 +6352,9 @@ const makeV9QuoteApi = ({ config, options }) => {
|
|
|
6366
6352
|
translations,
|
|
6367
6353
|
v1Client
|
|
6368
6354
|
})),
|
|
6369
|
-
readPolicy: ({ policyNumber }) => withClients(({ v1Client }) => readV9InsurancePolicy({
|
|
6355
|
+
readPolicy: ({ policyNumber, booking }) => withClients(({ v1Client }) => readV9InsurancePolicy({
|
|
6370
6356
|
policyNumber,
|
|
6357
|
+
booking,
|
|
6371
6358
|
v1Client
|
|
6372
6359
|
})),
|
|
6373
6360
|
revokePolicy: ({ policyNumber, booking }) => withClients(({ v1Client }) => revokeV9InsurancePolicy({
|
|
@@ -6590,7 +6577,7 @@ const parseV9SearchCursor = (cursor) => Effect.gen(function* () {
|
|
|
6590
6577
|
return page;
|
|
6591
6578
|
});
|
|
6592
6579
|
const loadV9SearchRuntime = Effect.tryPromise({
|
|
6593
|
-
try: () => import("./search-
|
|
6580
|
+
try: () => import("./search-6EvRB-i0.mjs"),
|
|
6594
6581
|
catch: (cause) => new CoreSDKError({
|
|
6595
6582
|
source: "v9",
|
|
6596
6583
|
operation: "v9.search.runtime",
|
|
@@ -7467,6 +7454,17 @@ const DEFAULT_RENTAL_FACILITY_DATA_ATTRIBUTES = [
|
|
|
7467
7454
|
"youthgroups"
|
|
7468
7455
|
];
|
|
7469
7456
|
const DEFAULT_RENTAL_RATING_DATA_ATTRIBUTES = [];
|
|
7457
|
+
const DEFAULT_RENTAL_OFFER_DATA_ATTRIBUTES = [
|
|
7458
|
+
"name",
|
|
7459
|
+
"discountType",
|
|
7460
|
+
"value",
|
|
7461
|
+
"minStay",
|
|
7462
|
+
"timeSpan",
|
|
7463
|
+
"voucherCode",
|
|
7464
|
+
"fromdate",
|
|
7465
|
+
"tilldate",
|
|
7466
|
+
"visible4interfaces"
|
|
7467
|
+
];
|
|
7470
7468
|
const RENTAL_BATCH_SIZE = 128;
|
|
7471
7469
|
/** The language the hub falls back to when a text is missing in the requested one. */
|
|
7472
7470
|
const GERMAN = "de";
|
|
@@ -7501,7 +7499,7 @@ const orderRentalsById = ({ rentalIds, rentals, missing }) => {
|
|
|
7501
7499
|
});
|
|
7502
7500
|
};
|
|
7503
7501
|
const loadV9RentalsRuntime = Effect.tryPromise({
|
|
7504
|
-
try: () => import("./rentals-
|
|
7502
|
+
try: () => import("./rentals-DVMCyGI9.mjs"),
|
|
7505
7503
|
catch: (cause) => new CoreSDKError({
|
|
7506
7504
|
source: "v9",
|
|
7507
7505
|
operation: "v9.rentals.runtime",
|
|
@@ -7514,7 +7512,7 @@ const makeV9RentalsApi = ({ config, options }) => {
|
|
|
7514
7512
|
const translations = makeV9TranslationService(options.translationOverrides);
|
|
7515
7513
|
const propertyKind = toV9RentalScopePropertyKind(config);
|
|
7516
7514
|
const loadRentals = ({ locale, rentalIds, missing }) => Effect.gen(function* () {
|
|
7517
|
-
const { associateRentalsWithFacilitiesByObjectGroups, defaultRentalDataAttributes, rentalFacilitiesForObjectGroupRelationQuery, rentalsAllByFacilityObjectGroupsWithoutFeedbacksQuery, rentalsAllFeedbacksQuery, rentalsAllWithoutFeedbacksQuery, toRentalRentalsOutput } = yield* loadV9RentalsRuntime;
|
|
7515
|
+
const { associateRentalsWithFacilitiesByObjectGroups, defaultRentalDataAttributes, rentalFacilitiesForObjectGroupRelationQuery, rentalsAllByFacilityObjectGroupsWithoutFeedbacksQuery, rentalsAllFeedbacksQuery, rentalsAllWithoutFeedbacksQuery, toRentalOffers, toRentalRentalsOutput } = yield* loadV9RentalsRuntime;
|
|
7518
7516
|
const language = localeToLanguage(locale);
|
|
7519
7517
|
const rentalDataAttributes = [
|
|
7520
7518
|
...defaultRentalDataAttributes,
|
|
@@ -7541,7 +7539,8 @@ const makeV9RentalsApi = ({ config, options }) => {
|
|
|
7541
7539
|
voffice_ids,
|
|
7542
7540
|
rentalDataAttributes,
|
|
7543
7541
|
rentalFacilityDataAttributes,
|
|
7544
|
-
rentalRatingDataAttributes: [...DEFAULT_RENTAL_RATING_DATA_ATTRIBUTES]
|
|
7542
|
+
rentalRatingDataAttributes: [...DEFAULT_RENTAL_RATING_DATA_ATTRIBUTES],
|
|
7543
|
+
rentalOfferDataAttributes: [...DEFAULT_RENTAL_OFFER_DATA_ATTRIBUTES]
|
|
7545
7544
|
});
|
|
7546
7545
|
directRentals.push(...rentalsData.all);
|
|
7547
7546
|
} else {
|
|
@@ -7549,7 +7548,8 @@ const makeV9RentalsApi = ({ config, options }) => {
|
|
|
7549
7548
|
language,
|
|
7550
7549
|
voffice_ids,
|
|
7551
7550
|
rentalDataAttributes,
|
|
7552
|
-
rentalRatingDataAttributes: [...DEFAULT_RENTAL_RATING_DATA_ATTRIBUTES]
|
|
7551
|
+
rentalRatingDataAttributes: [...DEFAULT_RENTAL_RATING_DATA_ATTRIBUTES],
|
|
7552
|
+
rentalOfferDataAttributes: [...DEFAULT_RENTAL_OFFER_DATA_ATTRIBUTES]
|
|
7553
7553
|
});
|
|
7554
7554
|
objectGroupRentals.push(...rentalsData.all);
|
|
7555
7555
|
}
|
|
@@ -7615,9 +7615,12 @@ const makeV9RentalsApi = ({ config, options }) => {
|
|
|
7615
7615
|
v9PropertyHighlightSources: options.v9PropertyHighlightSources,
|
|
7616
7616
|
reviews: options.v9Reviews
|
|
7617
7617
|
})));
|
|
7618
|
-
|
|
7619
|
-
const
|
|
7620
|
-
return
|
|
7618
|
+
const localizedItems = language === GERMAN ? items : yield* loadGermanDescriptions(scopedRentals.map((rental) => rental.voffice_id)).pipe(Effect.map((german) => items.map((item) => withDescriptionFallbacks(item, german))));
|
|
7619
|
+
const offersByRentalId = new Map(scopedRentals.map((rental) => [rental.voffice_id.toString(), toRentalOffers(rental.voffice_offers)]));
|
|
7620
|
+
return localizedItems.map((item) => ({
|
|
7621
|
+
...item,
|
|
7622
|
+
offers: offersByRentalId.get(item.id) ?? []
|
|
7623
|
+
}));
|
|
7621
7624
|
});
|
|
7622
7625
|
/**
|
|
7623
7626
|
* The German texts of the rentals and their facilities. The hub serves German where the
|
|
@@ -7874,4 +7877,4 @@ function createWebsiteSDK({ config, options }) {
|
|
|
7874
7877
|
return sdk;
|
|
7875
7878
|
}
|
|
7876
7879
|
//#endregion
|
|
7877
|
-
export {
|
|
7880
|
+
export { QuotePricesPayloadSchema as $, V9_FACILITY_ATTRIBUTE_KEYS as $t, DocumentResourceSchema as A, bookEffect as At, ErgoCommonFieldsSchema as B, mapSearchEffect as Bt, ApiEnvelopeBaseSchema as C, UnitServicePriceSchema as Ct, CustomerUnitSummarySchema as D, VideoResponseSchema as Dt, CurrentMemberResponseSchema as E, VideoListResponseSchema as Et, ErgoAddressSchema as F, getFiltersEffect as Ft, ErgoTripAndCustomerRequestSchema as G, selectInsuranceEffect as Gt, ErgoPersonSchema as H, removeAdditionalServiceEffect as Ht, ErgoBankSchema as I, getInitialAvailabilityEffect as It, OnOfficeUnitCollectionResponseSchema as J, submitPaymentOption as Jt, FacilityListResponseSchema as K, selectInsurancePaymentEffect as Kt, ErgoBookRequestSchema as L, getRentalsEffect as Lt, DocumentStatusUpdateRequestSchema as M, clearAdditionalServicesEffect as Mt, DocumentSummarySchema as N, createInsurancePreContractEffect as Nt, DocumentCollectionResponseSchema as O, decodeV1OperationResponse as Ot, DocumentTypeSchema as P, getBankTransferDetailsEffect as Pt, QuoteLineSchema$1 as Q, defineV9PropertyHighlightSourcesFromUnknown as Qt, ErgoBookingIdentityRequestSchema as R, getStartDateSelectedAvailabilityEffect as Rt, makeV1OpenApiClientLive as S, UnitResponseSchema as St, CalendarResponseSchema$1 as T, V1_OPERATIONS as Tt, ErgoPlanSearchRequestSchema as U, searchEffect as Ut, ErgoCreatePreContractRequestSchema as V, quoteEffect as Vt, ErgoReadPreContractRequestSchema as W, selectCancellationPolicyEffect as Wt, PaymentScheduleItemSchema as X, defineWebsiteSDKOptions as Xt, OnOfficeUnitSchema as Y, submitPaymentOptionEffect as Yt, PaymentScheduleSchema$1 as Z, defineV9PropertyHighlightSources as Zt, rental_attributes_default as _, TravelInsuranceBookingSchema as _t, makeV9CustomAttributeFilterCapabilities as a, V9_HUB_OFFER_FILTER_KEY as an, RegionListResponseSchema as at, V1OpenApiClientError as b, UnitListResponseSchema as bt, parseQueryParameters as c, V9_HUB_UNIT_TYPE_FILTER_KEY as cn, ServiceBeonDataSchema as ct, toVoucherCode as d, ServiceListResponseSchema as dt, V9_HUB_FACILITY_SCOPE_FILTER_KEY as en, QuotePricesResponseSchema$1 as et, makeV9GraphQLClient as f, SetupDataSchema as ft, makeV0OpenApiClientLive as g, TileTagSchema as gt, makeV0OpenApiClientFetchLive as h, TileSchema as ht, toV9SdkOwnedHubFilterKeys as i, V9_HUB_OFFERS_FILTER_KEY as in, RawVofficeObjectSchema as it, DocumentStatusSchema as j, bookInsuranceEffect as jt, DocumentResourceResponseSchema as k, addAdditionalServiceEffect as kt, toQueryString as l, V9_SDK_OWNED_HUB_FILTER_KEYS as ln, ServiceImageSchema as lt, V0OpenApiClientError as m, TileCollectionResponseSchema as mt, checkV9HubFilters as n, V9_HUB_OBJECT_GROUP_FILTER_KEY as nn, QuoteServiceSchema as nt, toBasicQueryInputs as o, V9_HUB_REGION_FILTER_KEY as on, RoomImageSchema as ot, V0OpenApiClient as p, SetupResponseSchema as pt, HubErrorSchema as q, submitContactEffect as qt, toV9RequiredHubFilterKeys as r, V9_HUB_OBJECT_GROUP_SCOPE_FILTER_KEY as rn, RawObjectResponseSchema as rt, collectQueryParameters as s, V9_HUB_RENTAL_IDS_FILTER_KEY as sn, SearchPropertiesResponseSchema as st, createWebsiteSDK as t, V9_HUB_FACILITY_SEARCH_FILTER_KEY as tn, QuoteSchema as tt, applyVofficeFilterDerivedBasicQueryInputs as u, stable_filters_default as un, ServiceLimitSchema as ut, rental_attributes_default$1 as v, UnitIdsResponseSchema as vt, CalendarDaySchema as w, V1_BASE_URL as wt, makeV1OpenApiClientFetchLive as x, UnitOfferSchema as xt, V1OpenApiClient as y, UnitListItemSchema as yt, ErgoBookingIdentitySchema as z, getTermsAndPrivacyPolicyEffect as zt };
|