@v-office/website-sdk 2.20.4 → 2.22.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 CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { Vt as defineV9PropertyHighlightSourcesFromUnknown, t as createWebsiteSDK, zt as defineWebsiteSDKOptions } from "./client-BGeG3B_l.mjs";
2
+ import { Bt as defineWebsiteSDKOptions, Ht as defineV9PropertyHighlightSourcesFromUnknown, t as createWebsiteSDK } from "./client-BtZ30vTP.mjs";
3
3
  import { SearchSearchSortSchema, defineCustomAttributesFromUnknown } from "@v-office/sdk-core";
4
4
  import { ByteSize, Console, Effect, FileSystem, Layer, Option, Path, Schema, Stdio, Terminal } from "effect";
5
5
  import { Command, Flag } from "effect/unstable/cli";
@@ -16,7 +16,7 @@ var CLICheckFailed = class extends Error {
16
16
  const toCLIError = (message, cause) => cause instanceof Error ? new CLICheckFailed(`${message}: ${cause.message}`, { cause }) : new CLICheckFailed(message, { cause });
17
17
  //#endregion
18
18
  //#region package.json
19
- var version = "2.20.4";
19
+ var version = "2.22.0";
20
20
  //#endregion
21
21
  //#region src/cli/output.ts
22
22
  const toJson = (value) => Effect.try({
@@ -321,6 +321,10 @@ const staticCommands = [
321
321
  }, {
322
322
  command: "website-sdk --backend v9 search --locale de-DE --query \"adults=2\" --sort '{\"by\":\"random\"}'",
323
323
  description: "Search v9 rentals in random order."
324
+ }])),
325
+ Command.make("bank-transfer-details", {}, () => websiteSdkCommand.pipe(Effect.flatMap((root) => withSDK(root, (sdk) => sdk.backend === "v10" ? sdk.static.payment.getBankTransferDetails() : Promise.reject(/* @__PURE__ */ new Error("The v9 hub exposes bank details only inside a booking response; bank-transfer-details requires --backend v10."))).pipe(Effect.flatMap((result) => printOutput(root, result)))))).pipe(Command.withDescription("Read the bank accounts a booking's bank_transfer payment options will show, without creating a booking."), Command.withExamples([{
326
+ command: "website-sdk --backend v10 bank-transfer-details",
327
+ description: "Verify holder, IBAN, BIC and bank name of the account's payment settings."
324
328
  }]))
325
329
  ];
326
330
  //#endregion
@@ -451,6 +451,15 @@ const getFiltersEffect = (input) => Effect.gen(function* () {
451
451
  const getTermsAndPrivacyPolicyEffect = (input) => Effect.gen(function* () {
452
452
  return yield* (yield* DocumentsService).getTermsAndPrivacyPolicy(input);
453
453
  });
454
+ const getBankTransferDetailsEffect = () => Effect.gen(function* () {
455
+ const service = yield* BookingService;
456
+ if (service.getBankTransferDetails === void 0) return yield* Effect.fail(new CoreSDKError({
457
+ source: "v10",
458
+ operation: "booking.getBankTransferDetails",
459
+ message: "BookingService.getBankTransferDetails is not provided by the core runtime."
460
+ }));
461
+ return yield* service.getBankTransferDetails();
462
+ });
454
463
  const searchEffect = (input) => Effect.gen(function* () {
455
464
  return yield* (yield* SearchService).search(input);
456
465
  });
@@ -4447,29 +4456,31 @@ const toPercent = (scheduleKey, quotePaymentSchedule) => {
4447
4456
  const percent = quotePaymentSchedule?.[scheduleKey]?.percent;
4448
4457
  return percent === void 0 ? void 0 : normalizePercent(percent);
4449
4458
  };
4450
- const toTotalPriceAmount = ({ fullAmount, prepaymentAmount, prepaymentPercent, restAmount, restPercent }) => {
4451
- if (restAmount !== void 0 && restPercent !== void 0 && restPercent > 0) return restAmount / (restPercent / 100);
4452
- if (fullAmount !== void 0 && prepaymentAmount !== void 0 && prepaymentPercent !== void 0 && prepaymentPercent > 0 && prepaymentPercent < 100) return fullAmount - (prepaymentAmount - fullAmount * (prepaymentPercent / 100)) / (1 - prepaymentPercent / 100);
4459
+ /**
4460
+ * The hub flags a schedule item's deposit as the included amount, a bare `true` (included,
4461
+ * amount not stated) or `false`. The total of prepayment and rest includes the deposit of both.
4462
+ */
4463
+ const combineIncludesDeposit = (items) => {
4464
+ const flags = items.map((item) => item?.includesDeposit);
4465
+ if (flags.includes(true)) return true;
4466
+ const amounts = flags.filter((flag) => typeof flag === "number");
4467
+ if (amounts.length > 0) return amounts.reduce((sum, amount) => sum + amount, 0);
4468
+ return flags.includes(false) ? false : void 0;
4453
4469
  };
4454
- const toDepositAmount = ({ fullAmount, totalPriceAmount }) => fullAmount === void 0 || totalPriceAmount === void 0 ? void 0 : fullAmount - totalPriceAmount;
4455
- const toScheduleOption = ({ currency, depositAmount, forceFullAmount, payableNow, scheduleItem, scheduleKey, totalPriceAmount, quotePaymentSchedule }) => {
4470
+ const toScheduleOption = ({ currency, payableNow, scheduleItem, scheduleKey, quotePaymentSchedule }) => {
4456
4471
  const amount = positiveNumber(scheduleItem.amount);
4457
4472
  if (amount === void 0) return void 0;
4458
4473
  const percent = toPercent(scheduleKey, quotePaymentSchedule);
4459
- const includesDeposit = forceFullAmount ? true : scheduleItem.includesDeposit;
4460
- const scheduleDepositAmount = includesDeposit === true && depositAmount !== void 0 && depositAmount > 0 ? depositAmount : void 0;
4474
+ const includesDeposit = scheduleItem.includesDeposit;
4461
4475
  return {
4462
4476
  kind: scheduleKey === "total" ? "full_amount" : "installment",
4463
4477
  scheduleKey,
4464
4478
  amount,
4465
4479
  currency,
4466
4480
  payableNow,
4467
- ...scheduleDepositAmount === void 0 ? {} : { depositAmount: scheduleDepositAmount },
4468
4481
  ...scheduleItem.date === void 0 ? {} : { dueOn: scheduleItem.date },
4469
4482
  ...includesDeposit === void 0 ? {} : { includesDeposit },
4470
- ...percent === void 0 ? {} : { percent },
4471
- ...scheduleDepositAmount === void 0 ? { priceAmount: amount } : { priceAmount: amount - scheduleDepositAmount },
4472
- ...forceFullAmount && totalPriceAmount !== void 0 ? { priceAmount: totalPriceAmount } : {}
4483
+ ...percent === void 0 ? {} : { percent }
4473
4484
  };
4474
4485
  };
4475
4486
  const removeInstallmentDuplicates = (paymentScheduleOptions) => paymentScheduleOptions.filter((option) => option.kind !== "full_amount" || !paymentScheduleOptions.some((candidate) => candidate.kind === "installment" && candidate.payableNow && candidate.amount === option.amount && candidate.currency === option.currency));
@@ -4478,62 +4489,39 @@ const toPaymentScheduleOptions = ({ bookResponse, currency, quotePaymentSchedule
4478
4489
  if (paymentSchedule === void 0) return [];
4479
4490
  const prepaymentAmount = positiveNumber(paymentSchedule.prepayment?.amount);
4480
4491
  const restAmount = positiveNumber(paymentSchedule.rest?.amount);
4481
- const fullAmount = positiveNumber(paymentSchedule.total?.amount) ?? (prepaymentAmount === void 0 || restAmount === void 0 ? void 0 : prepaymentAmount + restAmount);
4482
- const prepaymentPercent = toPercent("prepayment", quotePaymentSchedule);
4483
- const restPercent = toPercent("rest", quotePaymentSchedule);
4484
- const totalPriceAmount = toTotalPriceAmount({
4485
- fullAmount,
4486
- prepaymentAmount,
4487
- prepaymentPercent,
4488
- restAmount,
4489
- restPercent
4490
- });
4491
- const depositAmount = toDepositAmount({
4492
- fullAmount,
4493
- totalPriceAmount
4494
- });
4495
- const prepaymentOption = paymentSchedule.prepayment === void 0 ? void 0 : toScheduleOption({
4496
- currency,
4497
- depositAmount,
4498
- payableNow: true,
4499
- scheduleItem: paymentSchedule.prepayment,
4500
- scheduleKey: "prepayment",
4501
- totalPriceAmount,
4502
- ...quotePaymentSchedule === void 0 ? {} : { quotePaymentSchedule }
4492
+ const combinedIncludesDeposit = combineIncludesDeposit([paymentSchedule.prepayment, paymentSchedule.rest]);
4493
+ const totalScheduleItem = paymentSchedule.total ?? (prepaymentAmount === void 0 || restAmount === void 0 ? void 0 : {
4494
+ amount: prepaymentAmount + restAmount,
4495
+ ...combinedIncludesDeposit === void 0 ? {} : { includesDeposit: combinedIncludesDeposit }
4503
4496
  });
4504
- const restOption = paymentSchedule.rest === void 0 ? void 0 : toScheduleOption({
4505
- currency,
4506
- depositAmount,
4507
- payableNow: false,
4508
- scheduleItem: paymentSchedule.rest,
4509
- scheduleKey: "rest",
4510
- totalPriceAmount,
4511
- ...quotePaymentSchedule === void 0 ? {} : { quotePaymentSchedule }
4512
- });
4513
- const totalScheduleItem = paymentSchedule.total ?? (fullAmount === void 0 ? void 0 : {
4514
- amount: fullAmount,
4515
- includesDeposit: true
4516
- });
4517
- const totalOption = totalScheduleItem === void 0 ? void 0 : toScheduleOption({
4518
- currency,
4519
- depositAmount,
4520
- forceFullAmount: true,
4521
- payableNow: true,
4522
- scheduleItem: totalScheduleItem,
4523
- scheduleKey: "total",
4524
- totalPriceAmount,
4525
- ...quotePaymentSchedule === void 0 ? {} : { quotePaymentSchedule }
4526
- });
4527
- return removeInstallmentDuplicates([
4528
- prepaymentOption,
4529
- restOption,
4530
- totalOption
4531
- ].flatMap((option) => option === void 0 ? [] : [option]));
4497
+ const options = [
4498
+ paymentSchedule.prepayment === void 0 ? void 0 : toScheduleOption({
4499
+ currency,
4500
+ payableNow: true,
4501
+ scheduleItem: paymentSchedule.prepayment,
4502
+ scheduleKey: "prepayment",
4503
+ ...quotePaymentSchedule === void 0 ? {} : { quotePaymentSchedule }
4504
+ }),
4505
+ paymentSchedule.rest === void 0 ? void 0 : toScheduleOption({
4506
+ currency,
4507
+ payableNow: false,
4508
+ scheduleItem: paymentSchedule.rest,
4509
+ scheduleKey: "rest",
4510
+ ...quotePaymentSchedule === void 0 ? {} : { quotePaymentSchedule }
4511
+ }),
4512
+ totalScheduleItem === void 0 ? void 0 : toScheduleOption({
4513
+ currency,
4514
+ payableNow: true,
4515
+ scheduleItem: totalScheduleItem,
4516
+ scheduleKey: "total",
4517
+ ...quotePaymentSchedule === void 0 ? {} : { quotePaymentSchedule }
4518
+ })
4519
+ ];
4520
+ return removeInstallmentDuplicates(options.flatMap((option) => option === void 0 ? [] : [option]));
4532
4521
  })());
4533
4522
  //#endregion
4534
4523
  //#region src/legacy-v9/parser/booking/output/to-payment-schedules.ts
4535
4524
  const getDepositAmount = (bookResponse) => firstNumber(...(bookResponse.reservation?.bookings ?? []).map((booking) => booking.lines?.deposit?.amount));
4536
- const getBookingTotal = (bookResponse) => firstNumber(bookResponse.reservation?.total);
4537
4525
  const toUrvInsurancePaymentOptions = (bookResponse, label) => {
4538
4526
  const travelInsuranceResult = asRecord(asRecord(bookResponse).travelInsuranceResult);
4539
4527
  const travelInsurance = asRecord(travelInsuranceResult.travelInsurance ?? asRecord(bookResponse).travelInsurance);
@@ -4544,22 +4532,23 @@ const toUrvInsurancePaymentOptions = (bookResponse, label) => {
4544
4532
  url
4545
4533
  }];
4546
4534
  };
4547
- const deriveBookingTotal = (paymentScheduleOptionWithStripeResults) => {
4548
- const option = paymentScheduleOptionWithStripeResults.find(({ paymentScheduleOption }) => paymentScheduleOption.includesDeposit === false && paymentScheduleOption.percent !== void 0 && paymentScheduleOption.percent > 0)?.paymentScheduleOption;
4549
- const percent = option?.percent;
4550
- return option === void 0 || percent === void 0 ? void 0 : option.amount / (percent / 100);
4551
- };
4552
- const toBankTransferOption = (bankAccountPaymentMethod, label, remittanceText, fallbackHolder) => {
4535
+ /**
4536
+ * The account holder is the PMS payment settings' holder and nothing else. When the hub
4537
+ * omits it the option carries no holder: any substitute (the customer's name was used
4538
+ * before) tells the guest to pay the wrong account holder.
4539
+ */
4540
+ const toBankTransferOption = (bankAccountPaymentMethod, label, remittanceText) => {
4553
4541
  const bankAccount = bankAccountPaymentMethod?.bankaccount;
4554
4542
  if (bankAccount === void 0) return void 0;
4555
4543
  const iban = firstString(bankAccount.iban);
4544
+ if (iban === void 0) return void 0;
4545
+ const holder = firstString(bankAccount.holder);
4556
4546
  const swiftOrBic = firstString(bankAccount.swift);
4557
4547
  const institution = firstString(bankAccount.institution);
4558
- if (iban === void 0) return void 0;
4559
4548
  return {
4560
4549
  kind: "bank_transfer",
4561
4550
  label,
4562
- holder: firstString(bankAccount.holder, fallbackHolder) ?? "",
4551
+ ...holder === void 0 ? {} : { holder },
4563
4552
  remittanceText,
4564
4553
  iban,
4565
4554
  ...swiftOrBic === void 0 ? {} : { swiftOrBic },
@@ -4610,32 +4599,34 @@ const toStripeOption = (stripeResult, label) => {
4610
4599
  ...url === void 0 ? {} : { url }
4611
4600
  };
4612
4601
  };
4613
- const toPaymentScheduleLines = ({ depositLabel, locale, paymentScheduleOption, v9DepositAmount, totalAmountLabel, v9BookingTotal }) => {
4614
- if (paymentScheduleOption.includesDeposit === void 0) return void 0;
4615
- const depositAmount = (() => {
4616
- if (paymentScheduleOption.depositAmount !== void 0 && paymentScheduleOption.depositAmount > 0) return paymentScheduleOption.depositAmount;
4617
- if (paymentScheduleOption.includesDeposit === false) return void 0;
4618
- if (typeof paymentScheduleOption.includesDeposit === "number") return paymentScheduleOption.includesDeposit;
4619
- if (v9DepositAmount !== void 0) return v9DepositAmount;
4620
- if (v9BookingTotal !== void 0 && paymentScheduleOption.includesDeposit === true) return paymentScheduleOption.amount - v9BookingTotal;
4621
- if (v9BookingTotal !== void 0 && paymentScheduleOption.percent !== void 0) return paymentScheduleOption.amount - v9BookingTotal * (paymentScheduleOption.percent / 100);
4622
- return v9BookingTotal === void 0 ? void 0 : paymentScheduleOption.amount - v9BookingTotal;
4623
- })();
4624
- const priceAmount = paymentScheduleOption.includesDeposit === true && v9BookingTotal !== void 0 ? v9BookingTotal : paymentScheduleOption.priceAmount ?? (depositAmount === void 0 ? paymentScheduleOption.amount : paymentScheduleOption.amount - depositAmount);
4625
- return [...priceAmount === void 0 || priceAmount <= 0 ? [] : [{
4602
+ /**
4603
+ * The deposit amount of a schedule item, only when the hub states it: the item's own
4604
+ * `includesDeposit` amount, or the booking's deposit line when the item merely flags `true`.
4605
+ * Nothing is derived from percentages or totals; a rounded prepayment would otherwise turn
4606
+ * its rounding remainder into a "deposit".
4607
+ */
4608
+ const toDepositAmount = (paymentScheduleOption, v9DepositAmount) => {
4609
+ if (typeof paymentScheduleOption.includesDeposit === "number") return paymentScheduleOption.includesDeposit;
4610
+ return paymentScheduleOption.includesDeposit === true ? v9DepositAmount : void 0;
4611
+ };
4612
+ const toPaymentScheduleLines = ({ depositLabel, locale, paymentScheduleOption, v9DepositAmount, totalAmountLabel }) => {
4613
+ const depositAmount = toDepositAmount(paymentScheduleOption, v9DepositAmount);
4614
+ if (depositAmount === void 0 || depositAmount <= 0 || depositAmount > paymentScheduleOption.amount) return;
4615
+ const remainingAmount = paymentScheduleOption.amount - depositAmount;
4616
+ return [...remainingAmount === 0 ? [] : [{
4626
4617
  label: totalAmountLabel,
4627
- amount: formatCurrency(priceAmount, locale, paymentScheduleOption.currency)
4628
- }], ...depositAmount === void 0 || depositAmount <= 0 ? [] : [{
4618
+ amount: formatCurrency(remainingAmount, locale, paymentScheduleOption.currency)
4619
+ }], {
4629
4620
  label: depositLabel,
4630
4621
  amount: formatCurrency(depositAmount, locale, paymentScheduleOption.currency)
4631
- }]];
4622
+ }];
4632
4623
  };
4633
4624
  const formatPercent = (percent, locale) => new Intl.NumberFormat(locale, { maximumFractionDigits: 2 }).format(percent);
4634
4625
  const toPaymentScheduleLabel = ({ locale, paymentScheduleOption, payFullAmountLabel, payInstallmentLabel, payPrepaymentLabel, payRestLabel }) => {
4635
4626
  const baseLabel = paymentScheduleOption.scheduleKey === "prepayment" ? payPrepaymentLabel : paymentScheduleOption.scheduleKey === "rest" ? payRestLabel : paymentScheduleOption.kind === "full_amount" ? payFullAmountLabel : payInstallmentLabel;
4636
4627
  return paymentScheduleOption.percent === void 0 ? baseLabel : `${formatPercent(paymentScheduleOption.percent, locale)} % ${baseLabel}`;
4637
4628
  };
4638
- const toPaymentSchedules = ({ bookResponse, locale, paymentScheduleOptionWithStripeResults, quoteBookingTotal, translations }) => Effect.gen(function* () {
4629
+ const toPaymentSchedules = ({ bookResponse, locale, paymentScheduleOptionWithStripeResults, translations }) => Effect.gen(function* () {
4639
4630
  const bankTransferLabel = yield* translations.translate(locale, "booking.payment.option.bankTransfer");
4640
4631
  const paypalLabel = yield* translations.translate(locale, "booking.payment.option.paypal");
4641
4632
  const stripeLabel = yield* translations.translate(locale, "booking.payment.option.stripe");
@@ -4647,9 +4638,8 @@ const toPaymentSchedules = ({ bookResponse, locale, paymentScheduleOptionWithStr
4647
4638
  const depositLabel = yield* translations.translate(locale, "booking.payment.schedule.deposit");
4648
4639
  const totalAmountLabel = yield* translations.translate(locale, "booking.payment.schedule.totalAmount");
4649
4640
  const remittanceTextLabel = yield* translations.translate(locale, "booking.payment.option.bankTransfer.remittanceText");
4650
- const bankTransferOption = toBankTransferOption(findPaymentMethod(bookResponse, "BANKACCOUNT"), bankTransferLabel, `${remittanceTextLabel}: ${bookResponse.reservation?.nr ?? ""}`.trim(), firstString((bookResponse.reservation?.customer)?.showAs));
4641
+ const bankTransferOption = toBankTransferOption(findPaymentMethod(bookResponse, "BANKACCOUNT"), bankTransferLabel, `${remittanceTextLabel}: ${bookResponse.reservation?.nr ?? ""}`.trim());
4651
4642
  const paypalPaymentMethod = findPaymentMethod(bookResponse, "PAYPAL");
4652
- const v9BookingTotal = getBookingTotal(bookResponse) ?? quoteBookingTotal ?? deriveBookingTotal(paymentScheduleOptionWithStripeResults);
4653
4643
  const v9DepositAmount = getDepositAmount(bookResponse);
4654
4644
  const schedule = [];
4655
4645
  const alternatives = [];
@@ -4659,8 +4649,7 @@ const toPaymentSchedules = ({ bookResponse, locale, paymentScheduleOptionWithStr
4659
4649
  locale,
4660
4650
  paymentScheduleOption,
4661
4651
  v9DepositAmount,
4662
- totalAmountLabel,
4663
- v9BookingTotal
4652
+ totalAmountLabel
4664
4653
  });
4665
4654
  const label = toPaymentScheduleLabel({
4666
4655
  locale,
@@ -4845,7 +4834,6 @@ const book = ({ client, input, translations }) => Effect.gen(function* () {
4845
4834
  bookResponse,
4846
4835
  locale: quoteInput.locale,
4847
4836
  paymentScheduleOptionWithStripeResults,
4848
- ...typeof quoteResult?.paymentSchedule?.total?.amount === "number" ? { quoteBookingTotal: quoteResult.paymentSchedule.total.amount } : {},
4849
4837
  translations
4850
4838
  });
4851
4839
  const insurancePaymentOptionLabel = yield* translations.translate(quoteInput.locale, "insurance.payment.externalUrl.label");
@@ -5699,7 +5687,7 @@ const parseV9SearchCursor = (cursor) => Effect.gen(function* () {
5699
5687
  return page;
5700
5688
  });
5701
5689
  const loadV9SearchRuntime = Effect.tryPromise({
5702
- try: () => import("./search-D3oV3tAf.mjs"),
5690
+ try: () => import("./search-CZ1TRGAB.mjs"),
5703
5691
  catch: (cause) => new CoreSDKError({
5704
5692
  source: "v10",
5705
5693
  operation: "v9.search.runtime",
@@ -5721,7 +5709,7 @@ const makeV9SearchApi = ({ config, options }) => {
5721
5709
  })
5722
5710
  }));
5723
5711
  return { search: (input) => Effect.runPromise(limitSearch(Effect.gen(function* () {
5724
- const { defaultSearchDataAttributes, resolveExactMatch, searchQuery, toAlternativePeriods, toQueryInput, toSearchOutputItem } = yield* loadV9SearchRuntime;
5712
+ const { defaultSearchDataAttributes, resolveExactMatch, searchQuery, toQueryInput, toSearchOutputItem, toSearchPeriods } = yield* loadV9SearchRuntime;
5725
5713
  const dataAttributes = [
5726
5714
  ...defaultSearchDataAttributes,
5727
5715
  ...config.rentalDataAttributes ?? [],
@@ -5760,17 +5748,26 @@ const makeV9SearchApi = ({ config, options }) => {
5760
5748
  exactMatchCalc,
5761
5749
  translations
5762
5750
  });
5763
- if (isExactMatch) return {
5764
- type: "item",
5765
- item
5766
- };
5751
+ if (isExactMatch) {
5752
+ const matchingPeriods = yield* toSearchPeriods({
5753
+ locale: input.locale,
5754
+ periods
5755
+ });
5756
+ return {
5757
+ type: "item",
5758
+ item: matchingPeriods.length > 0 ? {
5759
+ ...item,
5760
+ matchingPeriods
5761
+ } : item
5762
+ };
5763
+ }
5767
5764
  if (periods.length === 0) return {
5768
5765
  type: "item",
5769
5766
  item
5770
5767
  };
5771
- const alternativePeriods = yield* toAlternativePeriods({
5768
+ const alternativePeriods = yield* toSearchPeriods({
5772
5769
  locale: input.locale,
5773
- alternatives: periods
5770
+ periods
5774
5771
  });
5775
5772
  if (alternativePeriods.length === 0) return {
5776
5773
  type: "item",
@@ -6097,7 +6094,7 @@ const orderRentalsById = ({ rentalIds, rentals }) => {
6097
6094
  });
6098
6095
  };
6099
6096
  const loadV9RentalsRuntime = Effect.tryPromise({
6100
- try: () => import("./rentals-wTGB1cL6.mjs"),
6097
+ try: () => import("./rentals-DfNu7s7w.mjs"),
6101
6098
  catch: (cause) => new CoreSDKError({
6102
6099
  source: "v10",
6103
6100
  operation: "v9.rentals.runtime",
@@ -6275,7 +6272,8 @@ function createWebsiteSDK({ config, options }) {
6275
6272
  static: {
6276
6273
  rentals: { getRentals: (input) => runtime.runPromise(getRentalsEffect(input)) },
6277
6274
  filter: { getFilters: (input) => runtime.runPromise(getFiltersEffect(input)) },
6278
- documents: { getTermsAndPrivacyPolicy: (input) => runtime.runPromise(getTermsAndPrivacyPolicyEffect(input)) }
6275
+ documents: { getTermsAndPrivacyPolicy: (input) => runtime.runPromise(getTermsAndPrivacyPolicyEffect(input)) },
6276
+ payment: { getBankTransferDetails: () => runtime.runPromise(getBankTransferDetailsEffect()) }
6279
6277
  },
6280
6278
  live: {
6281
6279
  contact: { submit: (input) => runtime.runPromise(submitContactEffect(input)) },
@@ -6304,4 +6302,4 @@ function createWebsiteSDK({ config, options }) {
6304
6302
  };
6305
6303
  }
6306
6304
  //#endregion
6307
- export { ServiceBeonDataSchema as $, ErgoBookRequestSchema as A, quoteEffect as At, OnOfficeUnitSchema as B, defineV9PropertyHighlightSources as Bt, DocumentResourceSchema as C, clearAdditionalServicesEffect as Ct, DocumentTypeSchema as D, getRentalsEffect as Dt, DocumentSummarySchema as E, getInitialAvailabilityEffect as Et, ErgoPolicyNumberRequestSchema as F, selectInsurancePaymentEffect as Ft, QuotePricesResponseSchema$1 as G, PaymentScheduleSchema$1 as H, V9_FACILITY_ATTRIBUTE_KEYS as Ht, ErgoReadPreContractRequestSchema as I, submitContactEffect as It, RawObjectResponseSchema as J, QuoteSchema as K, ErgoTripAndCustomerRequestSchema as L, submitPaymentOption as Lt, ErgoCreatePreContractRequestSchema as M, searchEffect as Mt, ErgoPersonSchema as N, selectCancellationPolicyEffect as Nt, ErgoAddressSchema as O, getStartDateSelectedAvailabilityEffect as Ot, ErgoPlanSearchRequestSchema as P, selectInsuranceEffect as Pt, SearchPropertiesResponseSchema as Q, FacilityListResponseSchema as R, submitPaymentOptionEffect as Rt, DocumentResourceResponseSchema as S, bookInsuranceEffect as St, DocumentStatusUpdateRequestSchema as T, getFiltersEffect as Tt, QuoteLineSchema$1 as U, PaymentScheduleItemSchema as V, defineV9PropertyHighlightSourcesFromUnknown as Vt, QuotePricesPayloadSchema as W, RegionListResponseSchema as X, RawVofficeObjectSchema as Y, RoomImageSchema as Z, CalendarDaySchema as _, V1_OPERATIONS as _t, parseQueryParameters as a, TileCollectionResponseSchema as at, CustomerUnitSummarySchema as b, addAdditionalServiceEffect as bt, V0OpenApiClient as c, TravelInsuranceBookingSchema as ct, makeV0OpenApiClientLive as d, UnitListItemSchema as dt, ServiceImageSchema as et, V1OpenApiClient as f, UnitListResponseSchema as ft, ApiEnvelopeBaseSchema as g, V1_BASE_URL as gt, makeV1OpenApiClientLive as h, UnitServicePriceSchema as ht, collectQueryParameters as i, SetupResponseSchema as it, ErgoCommonFieldsSchema as j, removeAdditionalServiceEffect as jt, ErgoBankSchema as k, getTermsAndPrivacyPolicyEffect as kt, V0OpenApiClientError as l, TravelInsuranceBookingStoreRequestSchema as lt, makeV1OpenApiClientFetchLive as m, UnitResponseSchema as mt, makeV9CustomAttributeFilterCapabilities as n, ServiceListResponseSchema as nt, toQueryString as o, TileSchema as ot, V1OpenApiClientError as p, UnitOfferSchema as pt, QuoteServiceSchema as q, toBasicQueryInputs as r, SetupDataSchema as rt, applyVofficeFilterDerivedBasicQueryInputs as s, TileTagSchema as st, createWebsiteSDK as t, ServiceLimitSchema as tt, makeV0OpenApiClientFetchLive as u, UnitIdsResponseSchema as ut, CalendarResponseSchema$1 as v, VideoResponseSchema as vt, DocumentStatusSchema as w, createInsurancePreContractEffect as wt, DocumentCollectionResponseSchema as x, bookEffect as xt, CurrentMemberResponseSchema as y, decodeV1OperationResponse as yt, OnOfficeUnitCollectionResponseSchema as z, defineWebsiteSDKOptions as zt };
6305
+ export { ServiceBeonDataSchema as $, ErgoBookRequestSchema as A, getTermsAndPrivacyPolicyEffect as At, OnOfficeUnitSchema as B, defineWebsiteSDKOptions as Bt, DocumentResourceSchema as C, clearAdditionalServicesEffect as Ct, DocumentTypeSchema as D, getInitialAvailabilityEffect as Dt, DocumentSummarySchema as E, getFiltersEffect as Et, ErgoPolicyNumberRequestSchema as F, selectInsuranceEffect as Ft, QuotePricesResponseSchema$1 as G, PaymentScheduleSchema$1 as H, defineV9PropertyHighlightSourcesFromUnknown as Ht, ErgoReadPreContractRequestSchema as I, selectInsurancePaymentEffect as It, RawObjectResponseSchema as J, QuoteSchema as K, ErgoTripAndCustomerRequestSchema as L, submitContactEffect as Lt, ErgoCreatePreContractRequestSchema as M, removeAdditionalServiceEffect as Mt, ErgoPersonSchema as N, searchEffect as Nt, ErgoAddressSchema as O, getRentalsEffect as Ot, ErgoPlanSearchRequestSchema as P, selectCancellationPolicyEffect as Pt, SearchPropertiesResponseSchema as Q, FacilityListResponseSchema as R, submitPaymentOption as Rt, DocumentResourceResponseSchema as S, bookInsuranceEffect as St, DocumentStatusUpdateRequestSchema as T, getBankTransferDetailsEffect as Tt, QuoteLineSchema$1 as U, V9_FACILITY_ATTRIBUTE_KEYS as Ut, PaymentScheduleItemSchema as V, defineV9PropertyHighlightSources as Vt, QuotePricesPayloadSchema as W, RegionListResponseSchema as X, RawVofficeObjectSchema as Y, RoomImageSchema as Z, CalendarDaySchema as _, V1_OPERATIONS as _t, parseQueryParameters as a, TileCollectionResponseSchema as at, CustomerUnitSummarySchema as b, addAdditionalServiceEffect as bt, V0OpenApiClient as c, TravelInsuranceBookingSchema as ct, makeV0OpenApiClientLive as d, UnitListItemSchema as dt, ServiceImageSchema as et, V1OpenApiClient as f, UnitListResponseSchema as ft, ApiEnvelopeBaseSchema as g, V1_BASE_URL as gt, makeV1OpenApiClientLive as h, UnitServicePriceSchema as ht, collectQueryParameters as i, SetupResponseSchema as it, ErgoCommonFieldsSchema as j, quoteEffect as jt, ErgoBankSchema as k, getStartDateSelectedAvailabilityEffect as kt, V0OpenApiClientError as l, TravelInsuranceBookingStoreRequestSchema as lt, makeV1OpenApiClientFetchLive as m, UnitResponseSchema as mt, makeV9CustomAttributeFilterCapabilities as n, ServiceListResponseSchema as nt, toQueryString as o, TileSchema as ot, V1OpenApiClientError as p, UnitOfferSchema as pt, QuoteServiceSchema as q, toBasicQueryInputs as r, SetupDataSchema as rt, applyVofficeFilterDerivedBasicQueryInputs as s, TileTagSchema as st, createWebsiteSDK as t, ServiceLimitSchema as tt, makeV0OpenApiClientFetchLive as u, UnitIdsResponseSchema as ut, CalendarResponseSchema$1 as v, VideoResponseSchema as vt, DocumentStatusSchema as w, createInsurancePreContractEffect as wt, DocumentCollectionResponseSchema as x, bookEffect as xt, CurrentMemberResponseSchema as y, decodeV1OperationResponse as yt, OnOfficeUnitCollectionResponseSchema as z, submitPaymentOptionEffect as zt };
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { AdditionalServiceLimitExceeded, AvailabilityGetInitialAvailabilityInput, AvailabilityGetInitialAvailabilityInput as AvailabilityGetInitialAvailabilityInput$1, AvailabilityGetInitialAvailabilityOutput, AvailabilityGetInitialAvailabilityOutput as AvailabilityGetInitialAvailabilityOutput$1, AvailabilityGetStartDateSelectedAvailabilityInput, AvailabilityGetStartDateSelectedAvailabilityInput as AvailabilityGetStartDateSelectedAvailabilityInput$1, AvailabilityGetStartDateSelectedAvailabilityOutput, AvailabilityGetStartDateSelectedAvailabilityOutput as AvailabilityGetStartDateSelectedAvailabilityOutput$1, AvailabilityService, BackendKind, BookingBookInput, BookingBookInput as BookingBookInput$1, BookingBookOutput, BookingBookOutput as BookingBookOutput$1, BookingPayment, BookingPaymentAlternative, BookingPaymentOption, BookingPaymentScheduleItem, BookingPaymentScheduleKind, BookingPaymentScheduleLine, BookingService, ContactService, ContactSubmitInput, ContactSubmitInput as ContactSubmitInput$1, ContactSubmitOutput, ContactSubmitOutput as ContactSubmitOutput$1, ContactSubmitValidationIssue, ContactSubmitValidationIssueCode, CoreSDKError, CoreSDKError as CMSError, CoreSDKError as CoreSDKError$1, CustomAttributeCatalog, CustomAttributeCatalogDefinitionInput, CustomAttributeCatalogInput, CustomAttributeCatalogSchema, CustomAttributeCategoryKey, CustomAttributeFilterCategoryKey, CustomAttributeFilterDefinition, CustomAttributeFilterDefinition as CustomAttributeFilterDefinition$1, CustomAttributeFilterExpression, CustomAttributeFilterLabel, CustomAttributeFilterNumericBounds, CustomAttributeFilterOption, CustomAttributeOverridesInput, CustomAttributeRegistry, CustomAttributeRegistrySnapshot, CustomAttributeRegistrySnapshot as CustomAttributeRegistrySnapshot$1, CustomAttributeSelection, DocumentsGetTermsAndPrivacyPolicyInput, DocumentsGetTermsAndPrivacyPolicyInput as DocumentsGetTermsAndPrivacyPolicyInput$1, DocumentsGetTermsAndPrivacyPolicyOutput, DocumentsGetTermsAndPrivacyPolicyOutput as DocumentsGetTermsAndPrivacyPolicyOutput$1, DocumentsService, FilterGetFiltersInput, FilterGetFiltersInput as FilterGetFiltersInput$1, FilterGetFiltersOutput, FilterGetFiltersOutput as FilterGetFiltersOutput$1, FilterService, GuestQuote, GuestQuoteInput, GuestQuoteInsurance, GuestQuoteResult, GuestQuoteSchema, GuestQuoteSelectionResult, GuestQuoteVoucher, InsuranceBookingOutput, InsuranceCustomerInformationInput, InsurancePaymentInformationInput, InsurancePaymentOptionOutput, InsurancePreContractOutput, InvalidAdditionalServiceQuantity, Locale, LocaleSchema, QuoteAddAdditionalServiceInput, QuoteAddAdditionalServiceOutput, QuoteBookInsuranceInput, QuoteBookInsuranceOutput, QuoteClearAdditionalServicesInput, QuoteClearAdditionalServicesOutput, QuoteCreateInsurancePreContractInput, QuoteCreateInsurancePreContractOutput, QuoteQuoteInput, QuoteQuoteInput as QuoteQuoteInput$1, QuoteQuoteOutput, QuoteQuoteOutput as QuoteQuoteOutput$1, QuoteRemoveAdditionalServiceInput, QuoteRemoveAdditionalServiceOutput, QuoteSelectCancellationPolicyInput, QuoteSelectCancellationPolicyOutput, QuoteSelectInsuranceInput, QuoteSelectInsuranceOutput, QuoteSelectInsurancePaymentInput, QuoteSelectInsurancePaymentOutput, QuoteService as QuoteService$1, RentalGetRentalsInput, RentalGetRentalsInput as RentalGetRentalsInput$1, RentalGetRentalsOutput, RentalGetRentalsOutput as RentalGetRentalsOutput$1, RentalHighlightPrioritizationKey, RentalHighlightPrioritizationKey as RentalHighlightPrioritizationKey$1, RentalPropertyHighlightPrioritizationKey, RentalPropertyHighlightPrioritizationKey as RentalPropertyHighlightPrioritizationKey$1, RentalScope, RentalService, ResolvedCustomAttribute, SearchSearchFieldOrderBy, SearchSearchFieldOrderBySchema, SearchSearchFieldSort, SearchSearchFieldSort as SearchSearchFieldSort$1, SearchSearchFieldSortSchema, SearchSearchInput, SearchSearchInput as SearchSearchInput$1, SearchSearchInputSchema, SearchSearchOutput, SearchSearchOutput as SearchSearchOutput$1, SearchSearchOutputSchema, SearchSearchPriceSort, SearchSearchPriceSortSchema, SearchSearchRandomSort, SearchSearchRandomSortSchema, SearchSearchRatingSort, SearchSearchRatingSortSchema, SearchSearchSort, SearchSearchSort as SearchSearchSort$1, SearchSearchSortSchema, SearchService, SearchSortDirection, SearchSortDirectionSchema, SelectableInsuranceOptionOutput, SelectedInsuranceInformationInput, SubmittableBookingPaymentOption, SubmittableBookingPaymentOption as SubmittableBookingPaymentOption$1, TranslationOverrides, TranslationOverrides as TranslationOverrides$1, UnknownAdditionalService, V10CoreConfig, V9OnlyCustomAttributeInput, defineCustomAttributes, defineCustomAttributesFromUnknown, fetchCustomAttributeCatalog, parseCustomAttributeCatalog, validateContactSubmitInput } from "@v-office/sdk-core";
1
+ import { AdditionalServiceLimitExceeded, AvailabilityGetInitialAvailabilityInput, AvailabilityGetInitialAvailabilityInput as AvailabilityGetInitialAvailabilityInput$1, AvailabilityGetInitialAvailabilityOutput, AvailabilityGetInitialAvailabilityOutput as AvailabilityGetInitialAvailabilityOutput$1, AvailabilityGetStartDateSelectedAvailabilityInput, AvailabilityGetStartDateSelectedAvailabilityInput as AvailabilityGetStartDateSelectedAvailabilityInput$1, AvailabilityGetStartDateSelectedAvailabilityOutput, AvailabilityGetStartDateSelectedAvailabilityOutput as AvailabilityGetStartDateSelectedAvailabilityOutput$1, AvailabilityService, BackendKind, BookingBankTransferDetails, BookingBankTransferDetails as BookingBankTransferDetails$1, BookingBookInput, BookingBookInput as BookingBookInput$1, BookingBookOutput, BookingBookOutput as BookingBookOutput$1, BookingPayment, BookingPaymentAlternative, BookingPaymentOption, BookingPaymentScheduleItem, BookingPaymentScheduleKind, BookingPaymentScheduleLine, BookingService, ContactService, ContactSubmitInput, ContactSubmitInput as ContactSubmitInput$1, ContactSubmitOutput, ContactSubmitOutput as ContactSubmitOutput$1, ContactSubmitValidationIssue, ContactSubmitValidationIssueCode, CoreSDKError, CoreSDKError as CMSError, CoreSDKError as CoreSDKError$1, CustomAttributeCatalog, CustomAttributeCatalogDefinitionInput, CustomAttributeCatalogInput, CustomAttributeCatalogSchema, CustomAttributeCategoryKey, CustomAttributeFilterCategoryKey, CustomAttributeFilterDefinition, CustomAttributeFilterDefinition as CustomAttributeFilterDefinition$1, CustomAttributeFilterExpression, CustomAttributeFilterLabel, CustomAttributeFilterNumericBounds, CustomAttributeFilterOption, CustomAttributeOverridesInput, CustomAttributeRegistry, CustomAttributeRegistrySnapshot, CustomAttributeRegistrySnapshot as CustomAttributeRegistrySnapshot$1, CustomAttributeSelection, DocumentsGetTermsAndPrivacyPolicyInput, DocumentsGetTermsAndPrivacyPolicyInput as DocumentsGetTermsAndPrivacyPolicyInput$1, DocumentsGetTermsAndPrivacyPolicyOutput, DocumentsGetTermsAndPrivacyPolicyOutput as DocumentsGetTermsAndPrivacyPolicyOutput$1, DocumentsService, FilterGetFiltersInput, FilterGetFiltersInput as FilterGetFiltersInput$1, FilterGetFiltersOutput, FilterGetFiltersOutput as FilterGetFiltersOutput$1, FilterService, GuestQuote, GuestQuoteInput, GuestQuoteInsurance, GuestQuoteResult, GuestQuoteSchema, GuestQuoteSelectionResult, GuestQuoteVoucher, InsuranceBookingOutput, InsuranceCustomerInformationInput, InsurancePaymentInformationInput, InsurancePaymentOptionOutput, InsurancePreContractOutput, InvalidAdditionalServiceQuantity, Locale, LocaleSchema, QuoteAddAdditionalServiceInput, QuoteAddAdditionalServiceOutput, QuoteBookInsuranceInput, QuoteBookInsuranceOutput, QuoteClearAdditionalServicesInput, QuoteClearAdditionalServicesOutput, QuoteCreateInsurancePreContractInput, QuoteCreateInsurancePreContractOutput, QuoteQuoteInput, QuoteQuoteInput as QuoteQuoteInput$1, QuoteQuoteOutput, QuoteQuoteOutput as QuoteQuoteOutput$1, QuoteRemoveAdditionalServiceInput, QuoteRemoveAdditionalServiceOutput, QuoteSelectCancellationPolicyInput, QuoteSelectCancellationPolicyOutput, QuoteSelectInsuranceInput, QuoteSelectInsuranceOutput, QuoteSelectInsurancePaymentInput, QuoteSelectInsurancePaymentOutput, QuoteService as QuoteService$1, RentalGetRentalsInput, RentalGetRentalsInput as RentalGetRentalsInput$1, RentalGetRentalsOutput, RentalGetRentalsOutput as RentalGetRentalsOutput$1, RentalHighlightPrioritizationKey, RentalHighlightPrioritizationKey as RentalHighlightPrioritizationKey$1, RentalPropertyHighlightPrioritizationKey, RentalPropertyHighlightPrioritizationKey as RentalPropertyHighlightPrioritizationKey$1, RentalScope, RentalService, ResolvedCustomAttribute, SearchSearchAlternative, SearchSearchFieldOrderBy, SearchSearchFieldOrderBySchema, SearchSearchFieldSort, SearchSearchFieldSort as SearchSearchFieldSort$1, SearchSearchFieldSortSchema, SearchSearchInput, SearchSearchInput as SearchSearchInput$1, SearchSearchInputSchema, SearchSearchOutput, SearchSearchOutput as SearchSearchOutput$1, SearchSearchOutputItem, SearchSearchOutputSchema, SearchSearchPriceSort, SearchSearchPriceSortSchema, SearchSearchRandomSort, SearchSearchRandomSortSchema, SearchSearchRatingSort, SearchSearchRatingSortSchema, SearchSearchSort, SearchSearchSort as SearchSearchSort$1, SearchSearchSortSchema, SearchService, SearchSortDirection, SearchSortDirectionSchema, SelectableInsuranceOptionOutput, SelectedInsuranceInformationInput, SubmittableBookingPaymentOption, SubmittableBookingPaymentOption as SubmittableBookingPaymentOption$1, TranslationOverrides, TranslationOverrides as TranslationOverrides$1, UnknownAdditionalService, V10CoreConfig, V9OnlyCustomAttributeInput, defineCustomAttributes, defineCustomAttributesFromUnknown, fetchCustomAttributeCatalog, parseCustomAttributeCatalog, validateContactSubmitInput } from "@v-office/sdk-core";
2
2
  import { Context, Effect, Layer, Schema } from "effect";
3
3
  import { HttpClient } from "effect/unstable/http";
4
4
  //#region src/legacy-v9/property-highlight-sources.d.ts
@@ -77,6 +77,14 @@ type V9SearchSearchInput = Omit<SearchSearchInput$1, "rentalIdsIn" | "voucher" |
77
77
  readonly sort?: V9SearchSearchSort;
78
78
  };
79
79
  //#endregion
80
+ //#region src/legacy-v9/search-output.d.ts
81
+ type V9SearchSearchOutputItem = SearchSearchOutputItem & {
82
+ readonly matchingPeriods?: SearchSearchAlternative["alternativePeriods"];
83
+ };
84
+ type V9SearchSearchOutput = Omit<SearchSearchOutput$1, "items"> & {
85
+ readonly items: readonly V9SearchSearchOutputItem[];
86
+ };
87
+ //#endregion
80
88
  //#region src/client.d.ts
81
89
  type WebsiteSDKSharedStatic = {
82
90
  readonly rentals: {
@@ -90,6 +98,15 @@ type WebsiteSDKV10Static = WebsiteSDKSharedStatic & {
90
98
  readonly documents: {
91
99
  readonly getTermsAndPrivacyPolicy: (input: DocumentsGetTermsAndPrivacyPolicyInput$1) => Promise<DocumentsGetTermsAndPrivacyPolicyOutput$1>;
92
100
  };
101
+ readonly payment: {
102
+ /**
103
+ * The bank account a booking's `bank_transfer` payment options will show, read from
104
+ * the PMS's primary document settings. At most one entry; creates no booking. Empty
105
+ * when the account offers no bank transfer. Not available on v9: the v9 hub exposes bank details only inside a booking
106
+ * response.
107
+ */
108
+ readonly getBankTransferDetails: () => Promise<ReadonlyArray<BookingBankTransferDetails$1>>;
109
+ };
93
110
  };
94
111
  type WebsiteSDKSharedLive = {
95
112
  readonly contact: {
@@ -121,7 +138,7 @@ type WebsiteSDKSharedLive = {
121
138
  type WebsiteSDKV10Live = WebsiteSDKSharedLive;
122
139
  type WebsiteSDKV9Live = Omit<WebsiteSDKSharedLive, "search"> & {
123
140
  readonly search: {
124
- readonly search: (input: V9SearchSearchInput) => Promise<SearchSearchOutput$1>;
141
+ readonly search: (input: V9SearchSearchInput) => Promise<V9SearchSearchOutput>;
125
142
  };
126
143
  };
127
144
  type WebsiteSDKBase<Static extends WebsiteSDKSharedStatic, Live> = {
@@ -292,7 +309,7 @@ export declare const getRentalsEffect: (input: RentalGetRentalsInput$1) => Effec
292
309
  }[];
293
310
  };
294
311
  };
295
- }[], import("@v-office/sdk-core").CoreSDKError, RentalService>;
312
+ }[], CoreSDKError$1, RentalService>;
296
313
  export declare const getFiltersEffect: (input: FilterGetFiltersInput$1) => Effect.Effect<readonly ({
297
314
  readonly searchParameterQueryKey: string;
298
315
  readonly label: string;
@@ -321,7 +338,7 @@ export declare const getFiltersEffect: (input: FilterGetFiltersInput$1) => Effec
321
338
  readonly value: string;
322
339
  readonly label: string;
323
340
  }[];
324
- })[], import("@v-office/sdk-core").CoreSDKError, FilterService>;
341
+ })[], CoreSDKError$1, FilterService>;
325
342
  export declare const getTermsAndPrivacyPolicyEffect: (input: DocumentsGetTermsAndPrivacyPolicyInput$1) => Effect.Effect<{
326
343
  readonly terms?: {
327
344
  readonly subject: string;
@@ -331,7 +348,13 @@ export declare const getTermsAndPrivacyPolicyEffect: (input: DocumentsGetTermsAn
331
348
  readonly subject: string;
332
349
  readonly data: string;
333
350
  };
334
- }, import("@v-office/sdk-core").CoreSDKError, DocumentsService>;
351
+ }, CoreSDKError$1, DocumentsService>;
352
+ export declare const getBankTransferDetailsEffect: () => Effect.Effect<readonly {
353
+ readonly holder?: string;
354
+ readonly iban: string;
355
+ readonly swiftOrBic?: string;
356
+ readonly institution?: string;
357
+ }[], CoreSDKError$1, BookingService>;
335
358
  export declare const searchEffect: (input: SearchSearchInput$1) => Effect.Effect<{
336
359
  readonly items: readonly {
337
360
  readonly id: string;
@@ -491,7 +514,7 @@ export declare const searchEffect: (input: SearchSearchInput$1) => Effect.Effect
491
514
  readonly hasNextPage: boolean;
492
515
  readonly nextCursor?: string;
493
516
  };
494
- }, import("@v-office/sdk-core").CoreSDKError, SearchService>;
517
+ }, CoreSDKError$1, SearchService>;
495
518
  export declare const getInitialAvailabilityEffect: (input: AvailabilityGetInitialAvailabilityInput$1) => Effect.Effect<{
496
519
  readonly calendarDays: {
497
520
  readonly [x: string]: {
@@ -505,7 +528,7 @@ export declare const getInitialAvailabilityEffect: (input: AvailabilityGetInitia
505
528
  readonly minPersons: number | null;
506
529
  readonly maxPersons: number | null;
507
530
  readonly maxAdults: number | null;
508
- }, import("@v-office/sdk-core").CoreSDKError, AvailabilityService>;
531
+ }, CoreSDKError$1, AvailabilityService>;
509
532
  export declare const getStartDateSelectedAvailabilityEffect: (input: AvailabilityGetStartDateSelectedAvailabilityInput$1) => Effect.Effect<{
510
533
  readonly calendarDays: {
511
534
  readonly [x: string]: {
@@ -515,15 +538,15 @@ export declare const getStartDateSelectedAvailabilityEffect: (input: Availabilit
515
538
  readonly tooltip: string | null;
516
539
  };
517
540
  };
518
- }, import("@v-office/sdk-core").CoreSDKError, AvailabilityService>;
519
- export declare const quoteEffect: (input: QuoteQuoteInput$1) => Effect.Effect<import("@v-office/sdk-core").GuestQuoteResult, import("@v-office/sdk-core").CoreSDKError, QuoteService$1>;
520
- export declare const addAdditionalServiceEffect: (input: QuoteAddAdditionalServiceInput) => Effect.Effect<import("@v-office/sdk-core").GuestQuoteSelectionResult, import("@v-office/sdk-core").CoreSDKError, QuoteService$1>;
521
- export declare const removeAdditionalServiceEffect: (input: QuoteRemoveAdditionalServiceInput) => Effect.Effect<import("@v-office/sdk-core").GuestQuoteSelectionResult, import("@v-office/sdk-core").CoreSDKError, QuoteService$1>;
522
- export declare const clearAdditionalServicesEffect: (input: QuoteClearAdditionalServicesInput) => Effect.Effect<import("@v-office/sdk-core").GuestQuoteSelectionResult, import("@v-office/sdk-core").CoreSDKError, QuoteService$1>;
523
- export declare const selectCancellationPolicyEffect: (input: QuoteSelectCancellationPolicyInput) => Effect.Effect<import("@v-office/sdk-core").GuestQuoteSelectionResult, import("@v-office/sdk-core").CoreSDKError, QuoteService$1>;
524
- export declare const selectInsuranceEffect: (input: QuoteSelectInsuranceInput) => Effect.Effect<import("@v-office/sdk-core").GuestQuote, import("@v-office/sdk-core").CoreSDKError, QuoteService$1>;
525
- export declare const createInsurancePreContractEffect: (input: QuoteCreateInsurancePreContractInput) => Effect.Effect<import("@v-office/sdk-core").GuestQuote, import("@v-office/sdk-core").CoreSDKError, QuoteService$1>;
526
- export declare const selectInsurancePaymentEffect: (input: QuoteSelectInsurancePaymentInput) => Effect.Effect<import("@v-office/sdk-core").GuestQuote, import("@v-office/sdk-core").CoreSDKError, QuoteService$1>;
541
+ }, CoreSDKError$1, AvailabilityService>;
542
+ export declare const quoteEffect: (input: QuoteQuoteInput$1) => Effect.Effect<import("@v-office/sdk-core").GuestQuoteResult, CoreSDKError$1, QuoteService$1>;
543
+ export declare const addAdditionalServiceEffect: (input: QuoteAddAdditionalServiceInput) => Effect.Effect<import("@v-office/sdk-core").GuestQuoteSelectionResult, CoreSDKError$1, QuoteService$1>;
544
+ export declare const removeAdditionalServiceEffect: (input: QuoteRemoveAdditionalServiceInput) => Effect.Effect<import("@v-office/sdk-core").GuestQuoteSelectionResult, CoreSDKError$1, QuoteService$1>;
545
+ export declare const clearAdditionalServicesEffect: (input: QuoteClearAdditionalServicesInput) => Effect.Effect<import("@v-office/sdk-core").GuestQuoteSelectionResult, CoreSDKError$1, QuoteService$1>;
546
+ export declare const selectCancellationPolicyEffect: (input: QuoteSelectCancellationPolicyInput) => Effect.Effect<import("@v-office/sdk-core").GuestQuoteSelectionResult, CoreSDKError$1, QuoteService$1>;
547
+ export declare const selectInsuranceEffect: (input: QuoteSelectInsuranceInput) => Effect.Effect<import("@v-office/sdk-core").GuestQuote, CoreSDKError$1, QuoteService$1>;
548
+ export declare const createInsurancePreContractEffect: (input: QuoteCreateInsurancePreContractInput) => Effect.Effect<import("@v-office/sdk-core").GuestQuote, CoreSDKError$1, QuoteService$1>;
549
+ export declare const selectInsurancePaymentEffect: (input: QuoteSelectInsurancePaymentInput) => Effect.Effect<import("@v-office/sdk-core").GuestQuote, CoreSDKError$1, QuoteService$1>;
527
550
  export declare const bookInsuranceEffect: (input: QuoteBookInsuranceInput) => Effect.Effect<{
528
551
  readonly kind: "none_selected";
529
552
  } | {
@@ -535,9 +558,9 @@ export declare const bookInsuranceEffect: (input: QuoteBookInsuranceInput) => Ef
535
558
  readonly label: string;
536
559
  readonly url: string;
537
560
  }[];
538
- }, import("@v-office/sdk-core").CoreSDKError, QuoteService$1>;
539
- export declare const bookEffect: (input: BookingBookInput$1) => Effect.Effect<import("@v-office/sdk-core").BookingBookOutput, import("@v-office/sdk-core").CoreSDKError, BookingService>;
540
- export declare const submitContactEffect: (input: ContactSubmitInput$1) => Effect.Effect<void, import("@v-office/sdk-core").CoreSDKError, ContactService>;
561
+ }, CoreSDKError$1, QuoteService$1>;
562
+ export declare const bookEffect: (input: BookingBookInput$1) => Effect.Effect<import("@v-office/sdk-core").BookingBookOutput, CoreSDKError$1, BookingService>;
563
+ export declare const submitContactEffect: (input: ContactSubmitInput$1) => Effect.Effect<void, CoreSDKError$1, ContactService>;
541
564
  //#endregion
542
565
  //#region codegen/v9/v0/generated/openapi-types.d.ts
543
566
  interface components$1 {
@@ -7503,4 +7526,4 @@ export type RentalRentalsOutput = RentalGetRentalsOutput$1[number];
7503
7526
  export type RentalSearchInput = SearchSearchInput$1;
7504
7527
  export type RentalSearchOutput = SearchSearchOutput$1;
7505
7528
  //#endregion
7506
- export { AdditionalServiceLimitExceeded, type AvailabilityGetInitialAvailabilityInput, type AvailabilityGetInitialAvailabilityOutput, type AvailabilityGetStartDateSelectedAvailabilityInput, type AvailabilityGetStartDateSelectedAvailabilityOutput, type BackendKind, type BookingBookInput, type BookingBookOutput, type BookingPayment, type BookingPaymentAlternative, type BookingPaymentOption, type BookingPaymentScheduleItem, type BookingPaymentScheduleKind, type BookingPaymentScheduleLine, CMSError, type ContactSubmitInput, type ContactSubmitOutput, type ContactSubmitValidationIssue, type ContactSubmitValidationIssueCode, CoreSDKError, type CustomAttributeCatalog, type CustomAttributeCatalogDefinitionInput, type CustomAttributeCatalogInput, CustomAttributeCatalogSchema, type CustomAttributeCategoryKey, type CustomAttributeFilterCategoryKey, type CustomAttributeFilterDefinition, type CustomAttributeFilterExpression, type CustomAttributeFilterLabel, type CustomAttributeFilterNumericBounds, type CustomAttributeFilterOption, type CustomAttributeOverridesInput, type CustomAttributeRegistry, type CustomAttributeRegistrySnapshot, type CustomAttributeSelection, type CustomDataAttribute, type DataAttribute, type DocumentsGetTermsAndPrivacyPolicyInput, type DocumentsGetTermsAndPrivacyPolicyOutput, type FilterGetFiltersInput, type FilterGetFiltersOutput, type GeoLocation, type GuestQuote, type GuestQuoteInput, type GuestQuoteInsurance, type GuestQuoteResult, GuestQuoteSchema, type GuestQuoteSelectionResult, type GuestQuoteVoucher, type ImageData, type InsuranceBookingOutput, type InsuranceCustomerInformationInput, type InsurancePaymentInformationInput, type InsurancePaymentOptionOutput, type InsurancePreContractOutput, InvalidAdditionalServiceQuantity, type KnownVofficeFacilityData, type KnownVofficeFacilityDataAttribute, type KnownVofficeFeedbackData, type KnownVofficeFeedbackDataAttribute, type KnownVofficeImageData, type KnownVofficeImageDataAttribute, type KnownVofficeOfferData, type KnownVofficeOfferDataAttribute, type KnownVofficePriceData, type KnownVofficePriceDataAttribute, type KnownVofficeRatingData, type KnownVofficeRatingDataAttribute, type KnownVofficeServiceData, type KnownVofficeServiceDataAttribute, type KnownVofficeTotalRatingData, type KnownVofficeTotalRatingDataAttribute, type KnownVofficeUnitData, type KnownVofficeUnitDataAttribute, type Locale, LocaleSchema, type ParsedJsonData, type ParsedVofficeFacilityData, type ParsedVofficeFeedbackData, type ParsedVofficeImageData, type ParsedVofficeOfferData, type ParsedVofficePriceData, type ParsedVofficeRatingData, type ParsedVofficeServiceData, type ParsedVofficeTotalRatingData, type ParsedVofficeUnitData, type QuoteQuoteInput, type QuoteQuoteOutput, type RentalGetRentalsInput, type RentalGetRentalsOutput, type RentalHighlightPrioritizationKey, type RentalPropertyHighlightPrioritizationKey, type ResolvedCustomAttribute, type ResolvedV9PropertyHighlightSource, type SearchSearchFieldOrderBy, SearchSearchFieldOrderBySchema, type SearchSearchFieldSort, SearchSearchFieldSortSchema, type SearchSearchInput, SearchSearchInputSchema, type SearchSearchOutput, SearchSearchOutputSchema, type SearchSearchPriceSort, SearchSearchPriceSortSchema, type SearchSearchRandomSort, SearchSearchRandomSortSchema, type SearchSearchRatingSort, SearchSearchRatingSortSchema, type SearchSearchSort, SearchSearchSortSchema, type SearchSortDirection, SearchSortDirectionSchema, type SelectableInsuranceOptionOutput, type SelectedInsuranceInformationInput, type SubmittableBookingPaymentOption, type TranslationOverrides, UnknownAdditionalService, type V0OpenApiClientOptions, type V0OpenApiOperationId, type V0OpenApiOperationRequest, type V0OpenApiOperationResponse, type V1OpenApiClientOptions, type components as V1OpenApiComponents, type V1OpenApiOperationId, type V1OpenApiOperationRequest, type V1OpenApiOperationResponse, type operations as V1OpenApiOperations, type paths as V1OpenApiPaths, type V9OnlyCustomAttributeInput, type V9PropertyHighlightDataAttribute, type V9PropertyHighlightSourceInput, type V9PropertyHighlightSourceRegistry, type V9PropertyHighlightSourcesInput, type V9SearchSearchInput, type V9SearchSearchSort, type VofficeFacilityDataAttribute, type VofficeFacilityDataAttributes, type VofficeFeedbackDataAttribute, type VofficeFeedbackDataAttributes, type VofficeImageDataAttribute, type VofficeImageDataAttributes, type VofficeOfferDataAttribute, type VofficeOfferDataAttributes, type VofficePriceDataAttribute, type VofficePriceDataAttributes, type VofficeRatingDataAttribute, type VofficeRatingDataAttributes, type VofficeServiceDataAttribute, type VofficeServiceDataAttributes, type VofficeTotalRatingDataAttribute, type VofficeTotalRatingDataAttributes, type VofficeUnitDataAttribute, type VofficeUnitDataAttributes, type WebsiteSDK, type WebsiteSDKConfig, type WebsiteSDKOptions, type WebsiteSDKSharedLive, type WebsiteSDKSharedStatic, type WebsiteSDKV10, type WebsiteSDKV10Live, type WebsiteSDKV10Static, type WebsiteSDKV9, type WebsiteSDKV9Live, defineWebsiteSDKOptions as defineCMSSDKOptions, defineCustomAttributes, defineCustomAttributesFromUnknown, fetchCustomAttributeCatalog, parseCustomAttributeCatalog, validateContactSubmitInput };
7529
+ export { AdditionalServiceLimitExceeded, type AvailabilityGetInitialAvailabilityInput, type AvailabilityGetInitialAvailabilityOutput, type AvailabilityGetStartDateSelectedAvailabilityInput, type AvailabilityGetStartDateSelectedAvailabilityOutput, type BackendKind, type BookingBankTransferDetails, type BookingBookInput, type BookingBookOutput, type BookingPayment, type BookingPaymentAlternative, type BookingPaymentOption, type BookingPaymentScheduleItem, type BookingPaymentScheduleKind, type BookingPaymentScheduleLine, CMSError, type ContactSubmitInput, type ContactSubmitOutput, type ContactSubmitValidationIssue, type ContactSubmitValidationIssueCode, CoreSDKError, type CustomAttributeCatalog, type CustomAttributeCatalogDefinitionInput, type CustomAttributeCatalogInput, CustomAttributeCatalogSchema, type CustomAttributeCategoryKey, type CustomAttributeFilterCategoryKey, type CustomAttributeFilterDefinition, type CustomAttributeFilterExpression, type CustomAttributeFilterLabel, type CustomAttributeFilterNumericBounds, type CustomAttributeFilterOption, type CustomAttributeOverridesInput, type CustomAttributeRegistry, type CustomAttributeRegistrySnapshot, type CustomAttributeSelection, type CustomDataAttribute, type DataAttribute, type DocumentsGetTermsAndPrivacyPolicyInput, type DocumentsGetTermsAndPrivacyPolicyOutput, type FilterGetFiltersInput, type FilterGetFiltersOutput, type GeoLocation, type GuestQuote, type GuestQuoteInput, type GuestQuoteInsurance, type GuestQuoteResult, GuestQuoteSchema, type GuestQuoteSelectionResult, type GuestQuoteVoucher, type ImageData, type InsuranceBookingOutput, type InsuranceCustomerInformationInput, type InsurancePaymentInformationInput, type InsurancePaymentOptionOutput, type InsurancePreContractOutput, InvalidAdditionalServiceQuantity, type KnownVofficeFacilityData, type KnownVofficeFacilityDataAttribute, type KnownVofficeFeedbackData, type KnownVofficeFeedbackDataAttribute, type KnownVofficeImageData, type KnownVofficeImageDataAttribute, type KnownVofficeOfferData, type KnownVofficeOfferDataAttribute, type KnownVofficePriceData, type KnownVofficePriceDataAttribute, type KnownVofficeRatingData, type KnownVofficeRatingDataAttribute, type KnownVofficeServiceData, type KnownVofficeServiceDataAttribute, type KnownVofficeTotalRatingData, type KnownVofficeTotalRatingDataAttribute, type KnownVofficeUnitData, type KnownVofficeUnitDataAttribute, type Locale, LocaleSchema, type ParsedJsonData, type ParsedVofficeFacilityData, type ParsedVofficeFeedbackData, type ParsedVofficeImageData, type ParsedVofficeOfferData, type ParsedVofficePriceData, type ParsedVofficeRatingData, type ParsedVofficeServiceData, type ParsedVofficeTotalRatingData, type ParsedVofficeUnitData, type QuoteQuoteInput, type QuoteQuoteOutput, type RentalGetRentalsInput, type RentalGetRentalsOutput, type RentalHighlightPrioritizationKey, type RentalPropertyHighlightPrioritizationKey, type ResolvedCustomAttribute, type ResolvedV9PropertyHighlightSource, type SearchSearchFieldOrderBy, SearchSearchFieldOrderBySchema, type SearchSearchFieldSort, SearchSearchFieldSortSchema, type SearchSearchInput, SearchSearchInputSchema, type SearchSearchOutput, SearchSearchOutputSchema, type SearchSearchPriceSort, SearchSearchPriceSortSchema, type SearchSearchRandomSort, SearchSearchRandomSortSchema, type SearchSearchRatingSort, SearchSearchRatingSortSchema, type SearchSearchSort, SearchSearchSortSchema, type SearchSortDirection, SearchSortDirectionSchema, type SelectableInsuranceOptionOutput, type SelectedInsuranceInformationInput, type SubmittableBookingPaymentOption, type TranslationOverrides, UnknownAdditionalService, type V0OpenApiClientOptions, type V0OpenApiOperationId, type V0OpenApiOperationRequest, type V0OpenApiOperationResponse, type V1OpenApiClientOptions, type components as V1OpenApiComponents, type V1OpenApiOperationId, type V1OpenApiOperationRequest, type V1OpenApiOperationResponse, type operations as V1OpenApiOperations, type paths as V1OpenApiPaths, type V9OnlyCustomAttributeInput, type V9PropertyHighlightDataAttribute, type V9PropertyHighlightSourceInput, type V9PropertyHighlightSourceRegistry, type V9PropertyHighlightSourcesInput, type V9SearchSearchInput, type V9SearchSearchOutput, type V9SearchSearchOutputItem, type V9SearchSearchSort, type VofficeFacilityDataAttribute, type VofficeFacilityDataAttributes, type VofficeFeedbackDataAttribute, type VofficeFeedbackDataAttributes, type VofficeImageDataAttribute, type VofficeImageDataAttributes, type VofficeOfferDataAttribute, type VofficeOfferDataAttributes, type VofficePriceDataAttribute, type VofficePriceDataAttributes, type VofficeRatingDataAttribute, type VofficeRatingDataAttributes, type VofficeServiceDataAttribute, type VofficeServiceDataAttributes, type VofficeTotalRatingDataAttribute, type VofficeTotalRatingDataAttributes, type VofficeUnitDataAttribute, type VofficeUnitDataAttributes, type WebsiteSDK, type WebsiteSDKConfig, type WebsiteSDKOptions, type WebsiteSDKSharedLive, type WebsiteSDKSharedStatic, type WebsiteSDKV10, type WebsiteSDKV10Live, type WebsiteSDKV10Static, type WebsiteSDKV9, type WebsiteSDKV9Live, defineWebsiteSDKOptions as defineCMSSDKOptions, defineCustomAttributes, defineCustomAttributesFromUnknown, fetchCustomAttributeCatalog, parseCustomAttributeCatalog, validateContactSubmitInput };
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as ServiceBeonDataSchema, A as ErgoBookRequestSchema, At as quoteEffect, B as OnOfficeUnitSchema, Bt as defineV9PropertyHighlightSources, C as DocumentResourceSchema, Ct as clearAdditionalServicesEffect, D as DocumentTypeSchema, Dt as getRentalsEffect, E as DocumentSummarySchema, Et as getInitialAvailabilityEffect, F as ErgoPolicyNumberRequestSchema, Ft as selectInsurancePaymentEffect, G as QuotePricesResponseSchema, H as PaymentScheduleSchema, I as ErgoReadPreContractRequestSchema, It as submitContactEffect, J as RawObjectResponseSchema, K as QuoteSchema, L as ErgoTripAndCustomerRequestSchema, Lt as submitPaymentOption, M as ErgoCreatePreContractRequestSchema, Mt as searchEffect, N as ErgoPersonSchema, Nt as selectCancellationPolicyEffect, O as ErgoAddressSchema, Ot as getStartDateSelectedAvailabilityEffect, P as ErgoPlanSearchRequestSchema, Pt as selectInsuranceEffect, Q as SearchPropertiesResponseSchema, R as FacilityListResponseSchema, Rt as submitPaymentOptionEffect, S as DocumentResourceResponseSchema, St as bookInsuranceEffect, T as DocumentStatusUpdateRequestSchema, Tt as getFiltersEffect, U as QuoteLineSchema, V as PaymentScheduleItemSchema, Vt as defineV9PropertyHighlightSourcesFromUnknown, W as QuotePricesPayloadSchema, X as RegionListResponseSchema, Y as RawVofficeObjectSchema, Z as RoomImageSchema, _ as CalendarDaySchema, _t as V1_OPERATIONS, at as TileCollectionResponseSchema, b as CustomerUnitSummarySchema, bt as addAdditionalServiceEffect, c as V0OpenApiClient, ct as TravelInsuranceBookingSchema, d as makeV0OpenApiClientLive, dt as UnitListItemSchema, et as ServiceImageSchema, f as V1OpenApiClient, ft as UnitListResponseSchema, g as ApiEnvelopeBaseSchema, gt as V1_BASE_URL, h as makeV1OpenApiClientLive, ht as UnitServicePriceSchema, it as SetupResponseSchema, j as ErgoCommonFieldsSchema, jt as removeAdditionalServiceEffect, k as ErgoBankSchema, kt as getTermsAndPrivacyPolicyEffect, l as V0OpenApiClientError, lt as TravelInsuranceBookingStoreRequestSchema, m as makeV1OpenApiClientFetchLive, mt as UnitResponseSchema, nt as ServiceListResponseSchema, ot as TileSchema, p as V1OpenApiClientError, pt as UnitOfferSchema, q as QuoteServiceSchema, rt as SetupDataSchema, st as TileTagSchema, t as createWebsiteSDK, tt as ServiceLimitSchema, u as makeV0OpenApiClientFetchLive, ut as UnitIdsResponseSchema, v as CalendarResponseSchema, vt as VideoResponseSchema, w as DocumentStatusSchema, wt as createInsurancePreContractEffect, x as DocumentCollectionResponseSchema, xt as bookEffect, y as CurrentMemberResponseSchema, yt as decodeV1OperationResponse, z as OnOfficeUnitCollectionResponseSchema, zt as defineWebsiteSDKOptions } from "./client-BGeG3B_l.mjs";
1
+ import { $ as ServiceBeonDataSchema, A as ErgoBookRequestSchema, At as getTermsAndPrivacyPolicyEffect, B as OnOfficeUnitSchema, Bt as defineWebsiteSDKOptions, C as DocumentResourceSchema, Ct as clearAdditionalServicesEffect, D as DocumentTypeSchema, Dt as getInitialAvailabilityEffect, E as DocumentSummarySchema, Et as getFiltersEffect, F as ErgoPolicyNumberRequestSchema, Ft as selectInsuranceEffect, G as QuotePricesResponseSchema, H as PaymentScheduleSchema, Ht as defineV9PropertyHighlightSourcesFromUnknown, I as ErgoReadPreContractRequestSchema, It as selectInsurancePaymentEffect, J as RawObjectResponseSchema, K as QuoteSchema, L as ErgoTripAndCustomerRequestSchema, Lt as submitContactEffect, M as ErgoCreatePreContractRequestSchema, Mt as removeAdditionalServiceEffect, N as ErgoPersonSchema, Nt as searchEffect, O as ErgoAddressSchema, Ot as getRentalsEffect, P as ErgoPlanSearchRequestSchema, Pt as selectCancellationPolicyEffect, Q as SearchPropertiesResponseSchema, R as FacilityListResponseSchema, Rt as submitPaymentOption, S as DocumentResourceResponseSchema, St as bookInsuranceEffect, T as DocumentStatusUpdateRequestSchema, Tt as getBankTransferDetailsEffect, U as QuoteLineSchema, V as PaymentScheduleItemSchema, Vt as defineV9PropertyHighlightSources, W as QuotePricesPayloadSchema, X as RegionListResponseSchema, Y as RawVofficeObjectSchema, Z as RoomImageSchema, _ as CalendarDaySchema, _t as V1_OPERATIONS, at as TileCollectionResponseSchema, b as CustomerUnitSummarySchema, bt as addAdditionalServiceEffect, c as V0OpenApiClient, ct as TravelInsuranceBookingSchema, d as makeV0OpenApiClientLive, dt as UnitListItemSchema, et as ServiceImageSchema, f as V1OpenApiClient, ft as UnitListResponseSchema, g as ApiEnvelopeBaseSchema, gt as V1_BASE_URL, h as makeV1OpenApiClientLive, ht as UnitServicePriceSchema, it as SetupResponseSchema, j as ErgoCommonFieldsSchema, jt as quoteEffect, k as ErgoBankSchema, kt as getStartDateSelectedAvailabilityEffect, l as V0OpenApiClientError, lt as TravelInsuranceBookingStoreRequestSchema, m as makeV1OpenApiClientFetchLive, mt as UnitResponseSchema, nt as ServiceListResponseSchema, ot as TileSchema, p as V1OpenApiClientError, pt as UnitOfferSchema, q as QuoteServiceSchema, rt as SetupDataSchema, st as TileTagSchema, t as createWebsiteSDK, tt as ServiceLimitSchema, u as makeV0OpenApiClientFetchLive, ut as UnitIdsResponseSchema, v as CalendarResponseSchema, vt as VideoResponseSchema, w as DocumentStatusSchema, wt as createInsurancePreContractEffect, x as DocumentCollectionResponseSchema, xt as bookEffect, y as CurrentMemberResponseSchema, yt as decodeV1OperationResponse, z as OnOfficeUnitCollectionResponseSchema, zt as submitPaymentOptionEffect } from "./client-BtZ30vTP.mjs";
2
2
  import { AdditionalServiceLimitExceeded, CoreSDKError, CoreSDKError as CMSError, CustomAttributeCatalogSchema, GuestQuoteSchema, InvalidAdditionalServiceQuantity, LocaleSchema, SearchSearchFieldOrderBySchema, SearchSearchFieldSortSchema, SearchSearchInputSchema, SearchSearchOutputSchema, SearchSearchPriceSortSchema, SearchSearchRandomSortSchema, SearchSearchRatingSortSchema, SearchSearchSortSchema, SearchSortDirectionSchema, UnknownAdditionalService, defineCustomAttributes, defineCustomAttributesFromUnknown, fetchCustomAttributeCatalog, parseCustomAttributeCatalog, validateContactSubmitInput } from "@v-office/sdk-core";
3
3
  //#region codegen/v9/heuristic-generation/public-api.ts
4
4
  const customDataAttribute = (name) => name;
@@ -13,4 +13,4 @@ const defineVofficeOfferDataAttributes = defineDataAttributes();
13
13
  const defineVofficeRatingDataAttributes = defineDataAttributes();
14
14
  const defineVofficeTotalRatingDataAttributes = defineDataAttributes();
15
15
  //#endregion
16
- export { AdditionalServiceLimitExceeded, ApiEnvelopeBaseSchema, CMSError, CalendarDaySchema, CalendarResponseSchema, CoreSDKError, CurrentMemberResponseSchema, CustomAttributeCatalogSchema, CustomerUnitSummarySchema, DocumentCollectionResponseSchema, DocumentResourceResponseSchema, DocumentResourceSchema, DocumentStatusSchema, DocumentStatusUpdateRequestSchema, DocumentSummarySchema, DocumentTypeSchema, ErgoAddressSchema, ErgoBankSchema, ErgoBookRequestSchema, ErgoCommonFieldsSchema, ErgoCreatePreContractRequestSchema, ErgoPersonSchema, ErgoPlanSearchRequestSchema, ErgoPolicyNumberRequestSchema, ErgoReadPreContractRequestSchema, ErgoTripAndCustomerRequestSchema, FacilityListResponseSchema, GuestQuoteSchema, InvalidAdditionalServiceQuantity, LocaleSchema, OnOfficeUnitCollectionResponseSchema, OnOfficeUnitSchema, PaymentScheduleItemSchema, PaymentScheduleSchema, QuoteLineSchema, QuotePricesPayloadSchema, QuotePricesResponseSchema, QuoteSchema, QuoteServiceSchema, RawObjectResponseSchema, RawVofficeObjectSchema, RegionListResponseSchema, RoomImageSchema, SearchPropertiesResponseSchema, SearchSearchFieldOrderBySchema, SearchSearchFieldSortSchema, SearchSearchInputSchema, SearchSearchOutputSchema, SearchSearchPriceSortSchema, SearchSearchRandomSortSchema, SearchSearchRatingSortSchema, SearchSearchSortSchema, SearchSortDirectionSchema, ServiceBeonDataSchema, ServiceImageSchema, ServiceLimitSchema, ServiceListResponseSchema, SetupDataSchema, SetupResponseSchema, TileCollectionResponseSchema, TileSchema, TileTagSchema, TravelInsuranceBookingSchema, TravelInsuranceBookingStoreRequestSchema, UnitIdsResponseSchema, UnitListItemSchema, UnitListResponseSchema, UnitOfferSchema, UnitResponseSchema, UnitServicePriceSchema, UnknownAdditionalService, V0OpenApiClient, V0OpenApiClientError, V1OpenApiClient, V1OpenApiClientError, V1_BASE_URL, V1_OPERATIONS, VideoResponseSchema, addAdditionalServiceEffect, bookEffect, bookInsuranceEffect, clearAdditionalServicesEffect, createInsurancePreContractEffect, createWebsiteSDK, customDataAttribute, decodeV1OperationResponse, defineWebsiteSDKOptions as defineCMSSDKOptions, defineWebsiteSDKOptions, defineCustomAttributes, defineCustomAttributesFromUnknown, defineDataAttributes, defineV9PropertyHighlightSources, defineV9PropertyHighlightSourcesFromUnknown, defineVofficeFacilityDataAttributes, defineVofficeFeedbackDataAttributes, defineVofficeImageDataAttributes, defineVofficeOfferDataAttributes, defineVofficePriceDataAttributes, defineVofficeRatingDataAttributes, defineVofficeServiceDataAttributes, defineVofficeTotalRatingDataAttributes, defineVofficeUnitDataAttributes, fetchCustomAttributeCatalog, getFiltersEffect, getInitialAvailabilityEffect, getRentalsEffect, getStartDateSelectedAvailabilityEffect, getTermsAndPrivacyPolicyEffect, makeV0OpenApiClientFetchLive, makeV0OpenApiClientLive, makeV1OpenApiClientFetchLive, makeV1OpenApiClientLive, parseCustomAttributeCatalog, quoteEffect, removeAdditionalServiceEffect, searchEffect, selectCancellationPolicyEffect, selectInsuranceEffect, selectInsurancePaymentEffect, submitContactEffect, submitPaymentOption, submitPaymentOptionEffect, validateContactSubmitInput };
16
+ export { AdditionalServiceLimitExceeded, ApiEnvelopeBaseSchema, CMSError, CalendarDaySchema, CalendarResponseSchema, CoreSDKError, CurrentMemberResponseSchema, CustomAttributeCatalogSchema, CustomerUnitSummarySchema, DocumentCollectionResponseSchema, DocumentResourceResponseSchema, DocumentResourceSchema, DocumentStatusSchema, DocumentStatusUpdateRequestSchema, DocumentSummarySchema, DocumentTypeSchema, ErgoAddressSchema, ErgoBankSchema, ErgoBookRequestSchema, ErgoCommonFieldsSchema, ErgoCreatePreContractRequestSchema, ErgoPersonSchema, ErgoPlanSearchRequestSchema, ErgoPolicyNumberRequestSchema, ErgoReadPreContractRequestSchema, ErgoTripAndCustomerRequestSchema, FacilityListResponseSchema, GuestQuoteSchema, InvalidAdditionalServiceQuantity, LocaleSchema, OnOfficeUnitCollectionResponseSchema, OnOfficeUnitSchema, PaymentScheduleItemSchema, PaymentScheduleSchema, QuoteLineSchema, QuotePricesPayloadSchema, QuotePricesResponseSchema, QuoteSchema, QuoteServiceSchema, RawObjectResponseSchema, RawVofficeObjectSchema, RegionListResponseSchema, RoomImageSchema, SearchPropertiesResponseSchema, SearchSearchFieldOrderBySchema, SearchSearchFieldSortSchema, SearchSearchInputSchema, SearchSearchOutputSchema, SearchSearchPriceSortSchema, SearchSearchRandomSortSchema, SearchSearchRatingSortSchema, SearchSearchSortSchema, SearchSortDirectionSchema, ServiceBeonDataSchema, ServiceImageSchema, ServiceLimitSchema, ServiceListResponseSchema, SetupDataSchema, SetupResponseSchema, TileCollectionResponseSchema, TileSchema, TileTagSchema, TravelInsuranceBookingSchema, TravelInsuranceBookingStoreRequestSchema, UnitIdsResponseSchema, UnitListItemSchema, UnitListResponseSchema, UnitOfferSchema, UnitResponseSchema, UnitServicePriceSchema, UnknownAdditionalService, V0OpenApiClient, V0OpenApiClientError, V1OpenApiClient, V1OpenApiClientError, V1_BASE_URL, V1_OPERATIONS, VideoResponseSchema, addAdditionalServiceEffect, bookEffect, bookInsuranceEffect, clearAdditionalServicesEffect, createInsurancePreContractEffect, createWebsiteSDK, customDataAttribute, decodeV1OperationResponse, defineWebsiteSDKOptions as defineCMSSDKOptions, defineWebsiteSDKOptions, defineCustomAttributes, defineCustomAttributesFromUnknown, defineDataAttributes, defineV9PropertyHighlightSources, defineV9PropertyHighlightSourcesFromUnknown, defineVofficeFacilityDataAttributes, defineVofficeFeedbackDataAttributes, defineVofficeImageDataAttributes, defineVofficeOfferDataAttributes, defineVofficePriceDataAttributes, defineVofficeRatingDataAttributes, defineVofficeServiceDataAttributes, defineVofficeTotalRatingDataAttributes, defineVofficeUnitDataAttributes, fetchCustomAttributeCatalog, getBankTransferDetailsEffect, getFiltersEffect, getInitialAvailabilityEffect, getRentalsEffect, getStartDateSelectedAvailabilityEffect, getTermsAndPrivacyPolicyEffect, makeV0OpenApiClientFetchLive, makeV0OpenApiClientLive, makeV1OpenApiClientFetchLive, makeV1OpenApiClientLive, parseCustomAttributeCatalog, quoteEffect, removeAdditionalServiceEffect, searchEffect, selectCancellationPolicyEffect, selectInsuranceEffect, selectInsurancePaymentEffect, submitContactEffect, submitPaymentOption, submitPaymentOptionEffect, validateContactSubmitInput };
@@ -4,6 +4,8 @@
4
4
 
5
5
  Release notes of `@v-office/website-sdk`, newest first. Each version has its own directory.
6
6
 
7
+ - `versions/2.22.0/CHANGELOG.md`: release notes for 2.22.0
8
+ - `versions/2.21.0/CHANGELOG.md`: release notes for 2.21.0
7
9
  - `versions/2.20.4/CHANGELOG.md`: release notes for 2.20.4
8
10
  - `versions/2.20.3/CHANGELOG.md`: release notes for 2.20.3
9
11
  - `versions/2.20.2/CHANGELOG.md`: release notes for 2.20.2
@@ -4,6 +4,8 @@
4
4
 
5
5
  Migration guides of `@v-office/website-sdk`, newest first. Apply them in order when skipping versions.
6
6
 
7
+ - `versions/2.22.0/MIGRATION.md`: Migration: 2.21.0 to 2.22.0
8
+ - `versions/2.21.0/MIGRATION.md`: Migration: 2.20.4 to 2.21.0
7
9
  - `versions/2.20.4/MIGRATION.md`: Migration: 2.20.3 to 2.20.4
8
10
  - `versions/2.20.3/MIGRATION.md`: Migration: 2.20.2 to 2.20.3
9
11
  - `versions/2.20.2/MIGRATION.md`: Migration: 2.20.1 to 2.20.2