@v-office/website-sdk 2.30.2 → 2.31.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 +527 -68
- package/dist/{client-Wbat4mKe.mjs → client-RLKoee2Y.mjs} +10 -8
- package/dist/index.mjs +1 -1
- package/dist/instructions/CHANGELOG.md +1 -0
- package/dist/instructions/MIGRATION.md +1 -0
- package/dist/instructions/filter.md +2 -2
- package/dist/instructions/search.md +103 -8
- package/dist/instructions/versions/2.31.0/CHANGELOG.md +52 -0
- package/dist/instructions/versions/2.31.0/MIGRATION.md +16 -0
- package/dist/{operations-CfjJjdrw.mjs → operations-CUWcmNGK.mjs} +103 -14
- package/dist/{rentals-BOEO0szZ.mjs → rentals-DEJNTkpJ.mjs} +3 -3
- package/dist/{search-CvgEDSJi.mjs → search-yXF_xFrg.mjs} +3 -3
- package/dist/{to-rental-highlights-CqJ0o4ec.mjs → to-rental-highlights-CIz0CxcP.mjs} +1 -1
- package/dist/translations/v9/en-US/filter.json +1 -1
- package/instructions/CHANGELOG.md +1 -0
- package/instructions/MIGRATION.md +1 -0
- package/instructions/filter.md +2 -2
- package/instructions/search.md +103 -8
- package/instructions/versions/2.31.0/CHANGELOG.md +52 -0
- package/instructions/versions/2.31.0/MIGRATION.md +16 -0
- package/instructions/versions/2.31.0/release.json +3 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as parseVofficeUnitData, h as customDataAttribute, t as voucherValidityQuery } from "./operations-CUWcmNGK.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, RentalService, SEARCH_ALL_RENTALS_AT_ONCE_MAX_RESULTS, SearchService, TranslationService, addGuestQuoteAdditionalServiceSelection, asArray, asRecord, assertNoNestedCustomAttributeFilterCompositions, assertNoReservedQueryKeys, assertUniqueCustomFilterQueryKeys, assertUniqueFilterQueryKeys, clearGuestQuoteAdditionalServiceSelections, collectQueryParameters, createCoreRuntime, daysBetweenLocalDates, expandCustomAttributeFilterCompositions, firstNumber, firstString, formatCurrency, formatLocalDate, getBookingBookGuestToken, getGuestQuoteBackendContext, getGuestQuoteInput, isDisplayableCustomAttribute, localeToLanguage, makeMinIntervalLimiter, makeTranslationLive, parseQueryParameters, refreshGuestQuoteInsurancePassthrough, removeGuestQuoteAdditionalServiceSelection, selectGuestQuoteCancellationPolicySelection, toCustomAttributeFilterLabel, toCustomAttributeFilterOutputItem, toCustomAttributeList, toInitialAvailabilityCalendarDays, toIsoDateFromPeriodQueryDate, 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";
|
|
@@ -170,6 +170,8 @@ const V9_HUB_OBJECT_GROUP_FILTER_KEY = "objectGroup";
|
|
|
170
170
|
const V9_HUB_FACILITY_SEARCH_FILTER_KEY = "facility_search";
|
|
171
171
|
const V9_HUB_OFFERS_FILTER_KEY = "offers";
|
|
172
172
|
const V9_HUB_OFFER_FILTER_KEY = "offer";
|
|
173
|
+
const V9_HUB_REGION_FILTER_KEY = "region";
|
|
174
|
+
const V9_HUB_UNIT_TYPE_FILTER_KEY = "type";
|
|
173
175
|
const V9_SDK_OWNED_HUB_FILTER_KEYS = /* @__PURE__ */ new Set([
|
|
174
176
|
V9_HUB_RENTAL_IDS_FILTER_KEY,
|
|
175
177
|
V9_HUB_FACILITY_SCOPE_FILTER_KEY,
|
|
@@ -2576,7 +2578,7 @@ var filter_default = {
|
|
|
2576
2578
|
"filter.garden.label": "Garden",
|
|
2577
2579
|
"filter.bbq.label": "BBQ",
|
|
2578
2580
|
"filter.sauna.label": "Sauna",
|
|
2579
|
-
"filter.fireplace.label": "
|
|
2581
|
+
"filter.fireplace.label": "Fire pit",
|
|
2580
2582
|
"filter.tv.label": "TV",
|
|
2581
2583
|
"filter.childrenWelcome.label": "Children Welcome",
|
|
2582
2584
|
"filter.nonsmoking.label": "Non-Smoking",
|
|
@@ -5984,7 +5986,7 @@ const applyV9RentalIdsToSearchQueryInput = ({ input, rentalIdsIn, rentalIdsSearc
|
|
|
5984
5986
|
if (!rentalIdsSearch) return yield* Effect.fail(new CoreSDKError({
|
|
5985
5987
|
source: "v9",
|
|
5986
5988
|
operation: "v9.search",
|
|
5987
|
-
message: `rentalIdsIn needs rentalIdsSearch: true in the v9 config and a "${V9_HUB_RENTAL_IDS_FILTER_KEY}" filter in the be-on! Hub. Run \`website-sdk hub-filters request --unit\` and add its entry in the be-on! Hub.`
|
|
5989
|
+
message: `rentalIdsIn needs rentalIdsSearch: true in the v9 config and a "${V9_HUB_RENTAL_IDS_FILTER_KEY}" filter in the be-on! Hub. Run \`website-sdk --backend v9 hub-filters request --unit\` and add its entry in the be-on! Hub.`
|
|
5988
5990
|
}));
|
|
5989
5991
|
if (Array.isArray(rentalIdsIn) && rentalIdsIn.length === 0) return input;
|
|
5990
5992
|
const rentalIds = toV9RentalIds(rentalIdsIn);
|
|
@@ -6069,7 +6071,7 @@ const parseV9SearchCursor = (cursor) => Effect.gen(function* () {
|
|
|
6069
6071
|
return page;
|
|
6070
6072
|
});
|
|
6071
6073
|
const loadV9SearchRuntime = Effect.tryPromise({
|
|
6072
|
-
try: () => import("./search-
|
|
6074
|
+
try: () => import("./search-yXF_xFrg.mjs"),
|
|
6073
6075
|
catch: (cause) => new CoreSDKError({
|
|
6074
6076
|
source: "v9",
|
|
6075
6077
|
operation: "v9.search.runtime",
|
|
@@ -6656,7 +6658,7 @@ const toBasicQueryInputs = ({ query, customAttributeFilterDefinitions, locale, t
|
|
|
6656
6658
|
const seenScalarFilters = /* @__PURE__ */ new Set();
|
|
6657
6659
|
const customBackendFiltersByKey = new Map(customAttributeFilterDefinitions.filter((definition) => definition.source === "backendFilter" && definition.searchable).map((definition) => [definition.key, definition]));
|
|
6658
6660
|
for (const [queryKey, value] of parseQueryParameters(query)) {
|
|
6659
|
-
const filter = stable_filters_default[queryKey];
|
|
6661
|
+
const filter = Object.hasOwn(stable_filters_default, queryKey) ? stable_filters_default[queryKey] : void 0;
|
|
6660
6662
|
const customBackendFilter = customBackendFiltersByKey.get(queryKey);
|
|
6661
6663
|
if ((!FILTER_QUERY_KEYS.has(queryKey) || filter == null) && customBackendFilter == null) {
|
|
6662
6664
|
remainingParameters.push([queryKey, value]);
|
|
@@ -6818,7 +6820,7 @@ const orderRentalsById = ({ rentalIds, rentals, missing }) => {
|
|
|
6818
6820
|
});
|
|
6819
6821
|
};
|
|
6820
6822
|
const loadV9RentalsRuntime = Effect.tryPromise({
|
|
6821
|
-
try: () => import("./rentals-
|
|
6823
|
+
try: () => import("./rentals-DEJNTkpJ.mjs"),
|
|
6822
6824
|
catch: (cause) => new CoreSDKError({
|
|
6823
6825
|
source: "v9",
|
|
6824
6826
|
operation: "v9.rentals.runtime",
|
|
@@ -6952,7 +6954,7 @@ const makeV9RentalsApi = ({ config, options }) => {
|
|
|
6952
6954
|
if (missingHubFilterKeys.length > 0) return yield* Effect.fail(new CoreSDKError({
|
|
6953
6955
|
source: "v9",
|
|
6954
6956
|
operation: "v9.rentals.hub-filters",
|
|
6955
|
-
message: "The be-on! Hub lacks filters for this API key: " + missingHubFilterKeys.map((key) => `"${key}" (${HUB_FILTER_PURPOSES[key]})`).join(", ") + ". Run `website-sdk hub-filters request` and add its entries in the be-on! Hub."
|
|
6957
|
+
message: "The be-on! Hub lacks filters for this API key: " + missingHubFilterKeys.map((key) => `"${key}" (${HUB_FILTER_PURPOSES[key]})`).join(", ") + ". Run `website-sdk --backend v9 hub-filters request` and add its entries in the be-on! Hub."
|
|
6956
6958
|
}));
|
|
6957
6959
|
});
|
|
6958
6960
|
const [checkHubFiltersOnce, invalidateHubFiltersCheck] = Effect.runSync(Effect.cachedInvalidateWithTTL(checkHubFilters, Duration.infinity));
|
|
@@ -7100,4 +7102,4 @@ function createWebsiteSDK({ config, options }) {
|
|
|
7100
7102
|
return sdk;
|
|
7101
7103
|
}
|
|
7102
7104
|
//#endregion
|
|
7103
|
-
export {
|
|
7105
|
+
export { QuoteSchema as $, V9_HUB_FACILITY_SEARCH_FILTER_KEY as $t, DocumentResourceSchema as A, clearAdditionalServicesEffect as At, ErgoPersonSchema as B, removeAdditionalServiceEffect as Bt, ApiEnvelopeBaseSchema as C, V1_BASE_URL as Ct, CustomerUnitSummarySchema as D, addAdditionalServiceEffect as Dt, CurrentMemberResponseSchema as E, decodeV1OperationResponse as Et, ErgoAddressSchema as F, getRentalsEffect as Ft, FacilityListResponseSchema as G, submitContactEffect as Gt, ErgoPolicyNumberRequestSchema as H, selectCancellationPolicyEffect as Ht, ErgoBankSchema as I, getStartDateSelectedAvailabilityEffect as It, PaymentScheduleItemSchema as J, defineWebsiteSDKOptions as Jt, OnOfficeUnitCollectionResponseSchema as K, submitPaymentOption as Kt, ErgoBookRequestSchema as L, getTermsAndPrivacyPolicyEffect as Lt, DocumentStatusUpdateRequestSchema as M, getBankTransferDetailsEffect as Mt, DocumentSummarySchema as N, getFiltersEffect as Nt, DocumentCollectionResponseSchema as O, bookEffect as Ot, DocumentTypeSchema as P, getInitialAvailabilityEffect as Pt, QuotePricesResponseSchema$1 as Q, V9_HUB_FACILITY_SCOPE_FILTER_KEY as Qt, ErgoCommonFieldsSchema as R, mapSearchEffect as Rt, makeV1OpenApiClientLive as S, UnitServicePriceSchema as St, CalendarResponseSchema$1 as T, VideoResponseSchema as Tt, ErgoReadPreContractRequestSchema as U, selectInsuranceEffect as Ut, ErgoPlanSearchRequestSchema as V, searchEffect as Vt, ErgoTripAndCustomerRequestSchema as W, selectInsurancePaymentEffect as Wt, QuoteLineSchema$1 as X, defineV9PropertyHighlightSourcesFromUnknown as Xt, PaymentScheduleSchema$1 as Y, defineV9PropertyHighlightSources as Yt, QuotePricesPayloadSchema as Z, V9_FACILITY_ATTRIBUTE_KEYS as Zt, rental_attributes_default as _, UnitIdsResponseSchema as _t, makeV9CustomAttributeFilterCapabilities as a, V9_HUB_RENTAL_IDS_FILTER_KEY as an, SearchPropertiesResponseSchema as at, V1OpenApiClientError as b, UnitOfferSchema as bt, parseQueryParameters as c, stable_filters_default as cn, ServiceLimitSchema as ct, toVoucherCode as d, SetupResponseSchema as dt, V9_HUB_OBJECT_GROUP_FILTER_KEY as en, QuoteServiceSchema as et, makeV9GraphQLClient as f, TileCollectionResponseSchema as ft, makeV0OpenApiClientLive as g, TravelInsuranceBookingStoreRequestSchema as gt, makeV0OpenApiClientFetchLive as h, TravelInsuranceBookingSchema as ht, toV9SdkOwnedHubFilterKeys as i, V9_HUB_REGION_FILTER_KEY as in, RoomImageSchema as it, DocumentStatusSchema as j, createInsurancePreContractEffect as jt, DocumentResourceResponseSchema as k, bookInsuranceEffect as kt, toQueryString as l, ServiceListResponseSchema as lt, V0OpenApiClientError as m, TileTagSchema as mt, checkV9HubFilters as n, V9_HUB_OFFERS_FILTER_KEY as nn, RawVofficeObjectSchema as nt, toBasicQueryInputs as o, V9_HUB_UNIT_TYPE_FILTER_KEY as on, ServiceBeonDataSchema as ot, V0OpenApiClient as p, TileSchema as pt, OnOfficeUnitSchema as q, submitPaymentOptionEffect as qt, toV9RequiredHubFilterKeys as r, V9_HUB_OFFER_FILTER_KEY as rn, RegionListResponseSchema as rt, collectQueryParameters as s, V9_SDK_OWNED_HUB_FILTER_KEYS as sn, ServiceImageSchema as st, createWebsiteSDK as t, V9_HUB_OBJECT_GROUP_SCOPE_FILTER_KEY as tn, RawObjectResponseSchema as tt, applyVofficeFilterDerivedBasicQueryInputs as u, SetupDataSchema as ut, rental_attributes_default$1 as v, UnitListItemSchema as vt, CalendarDaySchema as w, V1_OPERATIONS as wt, makeV1OpenApiClientFetchLive as x, UnitResponseSchema as xt, V1OpenApiClient as y, UnitListResponseSchema as yt, ErgoCreatePreContractRequestSchema as z, quoteEffect as zt };
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as QuoteSchema, A as DocumentResourceSchema, At as clearAdditionalServicesEffect, B as ErgoPersonSchema, Bt as removeAdditionalServiceEffect, C as ApiEnvelopeBaseSchema, Ct as V1_BASE_URL, D as CustomerUnitSummarySchema, Dt as addAdditionalServiceEffect, E as CurrentMemberResponseSchema, Et as decodeV1OperationResponse, F as ErgoAddressSchema, Ft as getRentalsEffect, G as FacilityListResponseSchema, Gt as submitContactEffect, H as ErgoPolicyNumberRequestSchema, Ht as selectCancellationPolicyEffect, I as ErgoBankSchema, It as getStartDateSelectedAvailabilityEffect, J as PaymentScheduleItemSchema, Jt as defineWebsiteSDKOptions, K as OnOfficeUnitCollectionResponseSchema, Kt as submitPaymentOption, L as ErgoBookRequestSchema, Lt as getTermsAndPrivacyPolicyEffect, M as DocumentStatusUpdateRequestSchema, Mt as getBankTransferDetailsEffect, N as DocumentSummarySchema, Nt as getFiltersEffect, O as DocumentCollectionResponseSchema, Ot as bookEffect, P as DocumentTypeSchema, Pt as getInitialAvailabilityEffect, Q as QuotePricesResponseSchema, R as ErgoCommonFieldsSchema, Rt as mapSearchEffect, S as makeV1OpenApiClientLive, St as UnitServicePriceSchema, T as CalendarResponseSchema, Tt as VideoResponseSchema, U as ErgoReadPreContractRequestSchema, Ut as selectInsuranceEffect, V as ErgoPlanSearchRequestSchema, Vt as searchEffect, W as ErgoTripAndCustomerRequestSchema, Wt as selectInsurancePaymentEffect, X as QuoteLineSchema, Xt as defineV9PropertyHighlightSourcesFromUnknown, Y as PaymentScheduleSchema, Yt as defineV9PropertyHighlightSources, Z as QuotePricesPayloadSchema, _t as UnitIdsResponseSchema, at as SearchPropertiesResponseSchema, b as V1OpenApiClientError, bt as UnitOfferSchema, ct as ServiceLimitSchema, dt as SetupResponseSchema, et as QuoteServiceSchema, ft as TileCollectionResponseSchema, g as makeV0OpenApiClientLive, gt as TravelInsuranceBookingStoreRequestSchema, h as makeV0OpenApiClientFetchLive, ht as TravelInsuranceBookingSchema, it as RoomImageSchema, j as DocumentStatusSchema, jt as createInsurancePreContractEffect, k as DocumentResourceResponseSchema, kt as bookInsuranceEffect, lt as ServiceListResponseSchema, m as V0OpenApiClientError, mt as TileTagSchema, nt as RawVofficeObjectSchema, ot as ServiceBeonDataSchema, p as V0OpenApiClient, pt as TileSchema, q as OnOfficeUnitSchema, qt as submitPaymentOptionEffect, rt as RegionListResponseSchema, st as ServiceImageSchema, t as createWebsiteSDK, tt as RawObjectResponseSchema, ut as SetupDataSchema, vt as UnitListItemSchema, w as CalendarDaySchema, wt as V1_OPERATIONS, x as makeV1OpenApiClientFetchLive, xt as UnitResponseSchema, y as V1OpenApiClient, yt as UnitListResponseSchema, z as ErgoCreatePreContractRequestSchema, zt as quoteEffect } from "./client-RLKoee2Y.mjs";
|
|
2
2
|
import { AdditionalServiceLimitExceeded, CoreSDKError, CoreSDKError as CMSError, CustomAttributeCatalogSchema, GuestQuoteSchema, InvalidAdditionalServiceQuantity, LocaleSchema, SEARCH_ALL_RENTALS_AT_ONCE_MAX_RESULTS, SearchMapSearchInputSchema, SearchMapSearchOutputSchema, 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;
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Release notes of `@v-office/website-sdk`, newest first. Each version has its own directory.
|
|
6
6
|
|
|
7
|
+
- `versions/2.31.0/CHANGELOG.md`: release notes for 2.31.0
|
|
7
8
|
- `versions/2.30.2/CHANGELOG.md`: release notes for 2.30.2
|
|
8
9
|
- `versions/2.30.1/CHANGELOG.md`: release notes for 2.30.1
|
|
9
10
|
- `versions/2.30.0/CHANGELOG.md`: release notes for 2.30.0
|
|
@@ -4,6 +4,7 @@
|
|
|
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.31.0/MIGRATION.md`: Migration: 2.30.2 to 2.31.0
|
|
7
8
|
- `versions/2.30.2/MIGRATION.md`: Migration: 2.30.1 to 2.30.2
|
|
8
9
|
- `versions/2.30.1/MIGRATION.md`: Migration: 2.30.0 to 2.30.1
|
|
9
10
|
- `versions/2.30.0/MIGRATION.md`: Migration: 2.29.0 to 2.30.0
|
|
@@ -123,8 +123,8 @@ Backend filters and compositions come from `customAttributeFilterDefinitions`.
|
|
|
123
123
|
SDK configuration cannot create a Hub filter: for another v9 key, the entry is added
|
|
124
124
|
to the be-on! Hub first, then you configure that key as a `backendFilter`. Without
|
|
125
125
|
the Hub entry, the filter does nothing. See [v9: Hub Filters](search.md#v9-hub-filters)
|
|
126
|
-
for the fixed keys (object group, facility, special offers)
|
|
127
|
-
`website-sdk hub-filters request`.
|
|
126
|
+
for the fixed keys (object group, facility, region, property type, special offers),
|
|
127
|
+
for filters on vOffice fields and for `website-sdk hub-filters request`.
|
|
128
128
|
|
|
129
129
|
```json
|
|
130
130
|
{
|
|
@@ -201,6 +201,8 @@ The CLI requests these keys. Use them as they are.
|
|
|
201
201
|
| --------------------------------------------------- | ------------------------------------------------------------- | ------------------------ |
|
|
202
202
|
| `objectGroup` | filter by object group | vOffice object group ID |
|
|
203
203
|
| `facility_search` | filter by facility | vOffice facility ID |
|
|
204
|
+
| `region` | filter by region, subregions included | vOffice region ID |
|
|
205
|
+
| `type` | filter by property type | vOffice type, `HOUSE` |
|
|
204
206
|
| `offers` | rentals with any special offer; the key must be `offers` | flag |
|
|
205
207
|
| `offer` | rentals linked to one special offer, without a validity check | vOffice offer ID |
|
|
206
208
|
| `facility_scope`, `objectGroup_scope`, `voffice_id` | set by the SDK for the rental scope and `rentalIdsIn` | none, never configure it |
|
|
@@ -219,9 +221,11 @@ steps to do it, and prints the matching `backendFilter` definitions:
|
|
|
219
221
|
website-sdk --backend v9 --config ./website-sdk-config.json hub-filters request --object-group --offers
|
|
220
222
|
```
|
|
221
223
|
|
|
222
|
-
Flags: `--object-group`, `--facility`, `--
|
|
223
|
-
vOffice unit ID, see
|
|
224
|
-
|
|
224
|
+
Flags: `--object-group`, `--facility`, `--region`, `--type`, `--offers`, `--offer`,
|
|
225
|
+
`--unit` (the filter by vOffice unit ID, see
|
|
226
|
+
[v9: Favourites As A Search Filter](#v9-favourites-as-a-search-filter)), `--field`,
|
|
227
|
+
`--min` and `--max` (see [Filters On vOffice Fields](#filters-on-voffice-fields)), and
|
|
228
|
+
`--out <file>` (default `hub-filter-request.md`). A rental scope and
|
|
225
229
|
`rentalIdsSearch: true` add their keys to the request. The CLI reads the rental scope
|
|
226
230
|
from `--options` and the two settings from `--config` or, with environment
|
|
227
231
|
configuration, from `HUB_RENTAL_SCOPE_PROPERTY_KIND` and `HUB_RENTAL_IDS_SEARCH`.
|
|
@@ -240,11 +244,10 @@ website-sdk --backend v9 --config ./website-sdk-config.json --options ./website-
|
|
|
240
244
|
|
|
241
245
|
`hub-filters check` compares every configured `backendFilter` key, the scope key and
|
|
242
246
|
`voffice_id` (when `rentalIdsSearch` is on) with the Hub. It exits non-zero and names
|
|
243
|
-
the missing keys, with the `hub-filters request` flags for the fixed ones.
|
|
244
|
-
key
|
|
245
|
-
field
|
|
246
|
-
|
|
247
|
-
file.
|
|
247
|
+
the missing keys, with the `hub-filters request` flags for the fixed ones. For any
|
|
248
|
+
other key it points to `--field`, `--min` and `--max`, because it does not know which
|
|
249
|
+
vOffice field the key compares. The check sees only that a key exists, not whether its
|
|
250
|
+
entry is complete. When it passes, delete the request file.
|
|
248
251
|
|
|
249
252
|
#### A Filter By Object Group
|
|
250
253
|
|
|
@@ -291,6 +294,98 @@ which is a different ID, so do not build filter links from `rental.property.id`.
|
|
|
291
294
|
the Hub entry exists, the CLI prints the definition with the options (ID and name) the
|
|
292
295
|
Hub knows. The English labels are the German names; translate them.
|
|
293
296
|
|
|
297
|
+
#### A Filter By Region
|
|
298
|
+
|
|
299
|
+
`region` keeps rentals in one vOffice region and in its subregions: the region "Sylt"
|
|
300
|
+
also finds the rentals in "Westerland" and "Kampen". The be-on! Hub builds the list of
|
|
301
|
+
regions from the rentals of the be-on key.
|
|
302
|
+
|
|
303
|
+
Request `--region`. Once the Hub entry exists, the CLI prints the definition with the
|
|
304
|
+
regions the Hub knows (ID and name), each region before its subregions. Keep the
|
|
305
|
+
regions the site offers and drop the others. The English labels are the German names;
|
|
306
|
+
translate them. A link to a region page uses the region ID:
|
|
307
|
+
|
|
308
|
+
```ts
|
|
309
|
+
"region=9927";
|
|
310
|
+
"start=20-06-2026&end=27-06-2026®ion=9926";
|
|
311
|
+
```
|
|
312
|
+
|
|
313
|
+
#### A Filter By Property Type
|
|
314
|
+
|
|
315
|
+
`type` keeps rentals of one vOffice property type, for example `HOUSE` (holiday home) or
|
|
316
|
+
`FLAT` (holiday apartment). vOffice also knows `ROOM`, `PRIVAT`, `MOBILEHOME` and
|
|
317
|
+
`YACHT`.
|
|
318
|
+
|
|
319
|
+
Request `--type`. The CLI reads the types the be-on key's rentals have and writes them
|
|
320
|
+
into the Hub entry and the definition, with German and English labels. A type that
|
|
321
|
+
first appears later is missing from the select. Request `--type` again then: the CLI
|
|
322
|
+
sees that the Hub entry lacks the type and writes a new request file. The Hub's filter
|
|
323
|
+
field is not empty by then, so the file asks the user to hand it to a developer, who
|
|
324
|
+
replaces the entry.
|
|
325
|
+
|
|
326
|
+
#### Filters On vOffice Fields
|
|
327
|
+
|
|
328
|
+
For a filter on a rental field in vOffice that no fixed key covers, such as an e-car
|
|
329
|
+
charger, a thatched roof or the distance to the beach, name the key and the vOffice
|
|
330
|
+
field:
|
|
331
|
+
|
|
332
|
+
```sh
|
|
333
|
+
website-sdk --backend v9 hub-filters request --field kamin=fireside --field reet=p_14418
|
|
334
|
+
website-sdk --backend v9 hub-filters request --min beds_min=beds --max beachdistance_max=beachdistance
|
|
335
|
+
```
|
|
336
|
+
|
|
337
|
+
- `--field <key>=<field>` is a yes/no filter: it keeps rentals whose field is set.
|
|
338
|
+
Several fields, `--field reet=p_14418,p_14326`, match when any of them is set. Use
|
|
339
|
+
this for a feature an agency stores in two vOffice fields.
|
|
340
|
+
- `--min <key>=<field>` keeps rentals whose numeric field is at least the visitor's
|
|
341
|
+
value, `--max <key>=<field>` at most.
|
|
342
|
+
|
|
343
|
+
Each flag is repeatable. The key is the query key on the site; it must not be a
|
|
344
|
+
built-in or fixed filter key, nor a period or occupancy key such as `start` or `adults`.
|
|
345
|
+
|
|
346
|
+
Do not guess the field from its English name: `fireplace` is a fire pit outdoors
|
|
347
|
+
(Feuerstelle), a fireplace indoors is `fireside` (Kamin/Ofen). Look the field up by
|
|
348
|
+
the word the user used:
|
|
349
|
+
|
|
350
|
+
```sh
|
|
351
|
+
website-sdk --backend v9 hub-filters fields --search kamin
|
|
352
|
+
```
|
|
353
|
+
|
|
354
|
+
It lists the standard vOffice fields with their type (`BOOL` for `--field`, `INT` for
|
|
355
|
+
`--min` and `--max`), German and English label, and `builtInFilter` when a built-in
|
|
356
|
+
filter already covers the field. Use the built-in filter then; it needs no Hub entry.
|
|
357
|
+
|
|
358
|
+
The CLI checks every standard field against this list and refuses an unknown field, a
|
|
359
|
+
field of the wrong type, and a single field a built-in filter covers. The filter takes
|
|
360
|
+
the field's vOffice label as its name in the Hub and in the printed definition.
|
|
361
|
+
|
|
362
|
+
Fields named `p_<number>` are features an agency defined in its own vOffice, such as
|
|
363
|
+
a thatched roof. `hub-filters fields` does not know them. vOffice lists them as
|
|
364
|
+
`p_<number>` with their names, next to the standard fields, for the agency's vOffice
|
|
365
|
+
key:
|
|
366
|
+
|
|
367
|
+
```text
|
|
368
|
+
https://api.v-office.com/export/properties?key=<vOffice key>
|
|
369
|
+
```
|
|
370
|
+
|
|
371
|
+
Tell the user about this link when they want a filter on such a feature. The vOffice
|
|
372
|
+
key is not the be-on key (`apiKey`); the agency or a be-on! developer has it. It is a
|
|
373
|
+
secret: the user opens the link in a browser and tells you the field name. Never ask
|
|
374
|
+
for the key in the chat, and never write it into the site, its configuration, a file or
|
|
375
|
+
a commit. A `p_` field gets the key as its label; replace it with the filter's name.
|
|
376
|
+
|
|
377
|
+
The CLI then reads the fields from the be-on key's rentals and prints how many rentals
|
|
378
|
+
have a field set, or the range of a numeric field. A field no rental has set yet still
|
|
379
|
+
gets its entry, because the agency may not have maintained it in vOffice yet; the CLI
|
|
380
|
+
warns that the filter finds nothing until then. A mistyped field or `p_` number looks
|
|
381
|
+
the same, so the request file asks the user, above the code, to check the spelling and
|
|
382
|
+
the `p_` number. Confirm the field with the user before you offer the filter.
|
|
383
|
+
|
|
384
|
+
```ts
|
|
385
|
+
"start=20-06-2026&end=27-06-2026&kamin";
|
|
386
|
+
"adults=2&beachdistance_max=500";
|
|
387
|
+
```
|
|
388
|
+
|
|
294
389
|
#### Special Offers
|
|
295
390
|
|
|
296
391
|
- `offers` keeps rentals with any special offer that vOffice shows to websites. With a
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# Changelog: 2.31.0
|
|
2
|
+
|
|
3
|
+
On v9, `website-sdk hub-filters request` can now ask for more filters: by region, by
|
|
4
|
+
property type, and on any yes/no or numeric field of a rental in vOffice. Until now these
|
|
5
|
+
needed a be-on! developer to write the Hub entry by hand.
|
|
6
|
+
|
|
7
|
+
## Added
|
|
8
|
+
|
|
9
|
+
- `--region` requests a region filter. A region also finds the rentals of its
|
|
10
|
+
subregions. Once the Hub entry is saved, the CLI prints the definition with the
|
|
11
|
+
regions of the be-on key, each region before its subregions.
|
|
12
|
+
- `--type` requests a property type filter (`HOUSE`, `FLAT` and the other vOffice types)
|
|
13
|
+
with the types the be-on key's rentals have, labelled in German and English.
|
|
14
|
+
- `--field <key>=<field>` requests a yes/no filter on a vOffice field, for example
|
|
15
|
+
`--field reet=p_14418`. Several fields separated by commas match when any of them is
|
|
16
|
+
set.
|
|
17
|
+
- `--min <key>=<field>` and `--max <key>=<field>` request a filter for rentals whose
|
|
18
|
+
numeric field is at least or at most the visitor's value, for example
|
|
19
|
+
`--max beachdistance_max=beachdistance`.
|
|
20
|
+
- `website-sdk --backend v9 hub-filters fields --search <word>` finds a standard vOffice field by its
|
|
21
|
+
name or its German or English label, with its type and the built-in filter that
|
|
22
|
+
already covers it. `--search kamin` finds `fireside` (Kamin/Ofen).
|
|
23
|
+
An agency's own features (`p_<number>` fields) are not in it; the CLI points to
|
|
24
|
+
vOffice's property list for the agency's vOffice key, which shows them.
|
|
25
|
+
|
|
26
|
+
The CLI checks standard fields against the vOffice field list: it refuses an unknown
|
|
27
|
+
field, a field of the wrong type, and a single field a built-in filter already covers.
|
|
28
|
+
A filter on a standard field takes its German and English label from vOffice. The CLI
|
|
29
|
+
also reads the requested fields from the be-on key's rentals and prints how many have a
|
|
30
|
+
field set. When none has, it still writes the entry, warns that the filter finds nothing
|
|
31
|
+
until the agency maintains the field in vOffice, and asks the user in the request file
|
|
32
|
+
to check the field's spelling and `p_` number.
|
|
33
|
+
|
|
34
|
+
## Changed
|
|
35
|
+
|
|
36
|
+
- `hub-filters check` names `--region` and `--type` for those missing keys. For any other
|
|
37
|
+
missing key it points to `--field`, `--min` and `--max` instead of a be-on! developer.
|
|
38
|
+
|
|
39
|
+
## Fixed
|
|
40
|
+
|
|
41
|
+
- v9 search sends a `backendFilter` whose key is also the name of a JavaScript object
|
|
42
|
+
member, such as `constructor` or `valueOf`, to the Hub. It was taken for a built-in
|
|
43
|
+
filter and silently left out of the search.
|
|
44
|
+
|
|
45
|
+
- `hub-filters request` also prints the `backendFilter` definitions when the Hub already
|
|
46
|
+
has every requested key. Running it again after the user saved the entries now prints
|
|
47
|
+
the facility and region options the Hub returns, as its notes ask.
|
|
48
|
+
|
|
49
|
+
- The English label of the v9 built-in filter `fireplace` is "Fire pit". The filter
|
|
50
|
+
matches vOffice's "Feuerstelle", an outdoor fire pit, and was labelled "Fireplace". The
|
|
51
|
+
German label "Feuerstelle" stays. vOffice's indoor fireplace (Kamin/Ofen) is the field
|
|
52
|
+
`fireside`, which `--field` can request.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Migration: 2.30.2 to 2.31.0
|
|
2
|
+
|
|
3
|
+
No changes required. Existing Hub filters and `backendFilter` definitions keep working.
|
|
4
|
+
|
|
5
|
+
## 1. Upgrade
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
pnpm add @v-office/website-sdk@2.31.0
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## 2. Optional: replace hand-written Hub filters
|
|
12
|
+
|
|
13
|
+
A site whose be-on! Hub entry holds one `ComplexFilter` per place, such as one for
|
|
14
|
+
"Westerland" and one for "Kampen", can use a single `region` filter instead. Request it
|
|
15
|
+
with `website-sdk --backend v9 hub-filters request --region`. A region includes its subregions, so a
|
|
16
|
+
link to "Sylt" finds the rentals in every place on the island.
|
|
@@ -4909,7 +4909,7 @@ Schema.Number, Schema.Number, Schema.Number, Schema.Number;
|
|
|
4909
4909
|
//#endregion
|
|
4910
4910
|
//#region codegen/v9/graphql-codegen/generated/gql.ts
|
|
4911
4911
|
const documents = {
|
|
4912
|
-
"\n query CoreSDK_HubFilters($language: String) {\n filter(language: $language) {\n key\n name\n options {\n key\n value\n }\n }\n }\n": {
|
|
4912
|
+
"\n query CoreSDK_HubFilters($language: String) {\n filter(language: $language) {\n key\n name\n options {\n key\n value\n parent\n }\n }\n }\n": {
|
|
4913
4913
|
kind: "Document",
|
|
4914
4914
|
definitions: [{
|
|
4915
4915
|
kind: "OperationDefinition",
|
|
@@ -4982,19 +4982,29 @@ const documents = {
|
|
|
4982
4982
|
},
|
|
4983
4983
|
selectionSet: {
|
|
4984
4984
|
kind: "SelectionSet",
|
|
4985
|
-
selections: [
|
|
4986
|
-
|
|
4987
|
-
|
|
4988
|
-
|
|
4989
|
-
|
|
4990
|
-
|
|
4991
|
-
|
|
4992
|
-
|
|
4993
|
-
|
|
4994
|
-
kind: "
|
|
4995
|
-
|
|
4985
|
+
selections: [
|
|
4986
|
+
{
|
|
4987
|
+
kind: "Field",
|
|
4988
|
+
name: {
|
|
4989
|
+
kind: "Name",
|
|
4990
|
+
value: "key"
|
|
4991
|
+
}
|
|
4992
|
+
},
|
|
4993
|
+
{
|
|
4994
|
+
kind: "Field",
|
|
4995
|
+
name: {
|
|
4996
|
+
kind: "Name",
|
|
4997
|
+
value: "value"
|
|
4998
|
+
}
|
|
4999
|
+
},
|
|
5000
|
+
{
|
|
5001
|
+
kind: "Field",
|
|
5002
|
+
name: {
|
|
5003
|
+
kind: "Name",
|
|
5004
|
+
value: "parent"
|
|
5005
|
+
}
|
|
4996
5006
|
}
|
|
4997
|
-
|
|
5007
|
+
]
|
|
4998
5008
|
}
|
|
4999
5009
|
}
|
|
5000
5010
|
]
|
|
@@ -5003,6 +5013,77 @@ const documents = {
|
|
|
5003
5013
|
}
|
|
5004
5014
|
}]
|
|
5005
5015
|
},
|
|
5016
|
+
"\n query CoreSDK_HubRentalData($attributes: [String!]!) {\n all {\n data(attributes: $attributes)\n }\n }\n": {
|
|
5017
|
+
kind: "Document",
|
|
5018
|
+
definitions: [{
|
|
5019
|
+
kind: "OperationDefinition",
|
|
5020
|
+
operation: "query",
|
|
5021
|
+
name: {
|
|
5022
|
+
kind: "Name",
|
|
5023
|
+
value: "CoreSDK_HubRentalData"
|
|
5024
|
+
},
|
|
5025
|
+
variableDefinitions: [{
|
|
5026
|
+
kind: "VariableDefinition",
|
|
5027
|
+
variable: {
|
|
5028
|
+
kind: "Variable",
|
|
5029
|
+
name: {
|
|
5030
|
+
kind: "Name",
|
|
5031
|
+
value: "attributes"
|
|
5032
|
+
}
|
|
5033
|
+
},
|
|
5034
|
+
type: {
|
|
5035
|
+
kind: "NonNullType",
|
|
5036
|
+
type: {
|
|
5037
|
+
kind: "ListType",
|
|
5038
|
+
type: {
|
|
5039
|
+
kind: "NonNullType",
|
|
5040
|
+
type: {
|
|
5041
|
+
kind: "NamedType",
|
|
5042
|
+
name: {
|
|
5043
|
+
kind: "Name",
|
|
5044
|
+
value: "String"
|
|
5045
|
+
}
|
|
5046
|
+
}
|
|
5047
|
+
}
|
|
5048
|
+
}
|
|
5049
|
+
}
|
|
5050
|
+
}],
|
|
5051
|
+
selectionSet: {
|
|
5052
|
+
kind: "SelectionSet",
|
|
5053
|
+
selections: [{
|
|
5054
|
+
kind: "Field",
|
|
5055
|
+
name: {
|
|
5056
|
+
kind: "Name",
|
|
5057
|
+
value: "all"
|
|
5058
|
+
},
|
|
5059
|
+
selectionSet: {
|
|
5060
|
+
kind: "SelectionSet",
|
|
5061
|
+
selections: [{
|
|
5062
|
+
kind: "Field",
|
|
5063
|
+
name: {
|
|
5064
|
+
kind: "Name",
|
|
5065
|
+
value: "data"
|
|
5066
|
+
},
|
|
5067
|
+
arguments: [{
|
|
5068
|
+
kind: "Argument",
|
|
5069
|
+
name: {
|
|
5070
|
+
kind: "Name",
|
|
5071
|
+
value: "attributes"
|
|
5072
|
+
},
|
|
5073
|
+
value: {
|
|
5074
|
+
kind: "Variable",
|
|
5075
|
+
name: {
|
|
5076
|
+
kind: "Name",
|
|
5077
|
+
value: "attributes"
|
|
5078
|
+
}
|
|
5079
|
+
}
|
|
5080
|
+
}]
|
|
5081
|
+
}]
|
|
5082
|
+
}
|
|
5083
|
+
}]
|
|
5084
|
+
}
|
|
5085
|
+
}]
|
|
5086
|
+
},
|
|
5006
5087
|
"\n query CoreSDK_RentalIds {\n all {\n voffice_id\n }\n }\n": {
|
|
5007
5088
|
kind: "Document",
|
|
5008
5089
|
definitions: [{
|
|
@@ -7733,10 +7814,18 @@ const hubFiltersQuery = graphql(`
|
|
|
7733
7814
|
options {
|
|
7734
7815
|
key
|
|
7735
7816
|
value
|
|
7817
|
+
parent
|
|
7736
7818
|
}
|
|
7737
7819
|
}
|
|
7738
7820
|
}
|
|
7739
7821
|
`);
|
|
7822
|
+
const hubRentalDataQuery = graphql(`
|
|
7823
|
+
query CoreSDK_HubRentalData($attributes: [String!]!) {
|
|
7824
|
+
all {
|
|
7825
|
+
data(attributes: $attributes)
|
|
7826
|
+
}
|
|
7827
|
+
}
|
|
7828
|
+
`);
|
|
7740
7829
|
const rentalIdsQuery = graphql(`
|
|
7741
7830
|
query CoreSDK_RentalIds {
|
|
7742
7831
|
all {
|
|
@@ -8028,4 +8117,4 @@ const voucherValidityQuery = graphql(`
|
|
|
8028
8117
|
}
|
|
8029
8118
|
`);
|
|
8030
8119
|
//#endregion
|
|
8031
|
-
export {
|
|
8120
|
+
export { parseVofficeFacilityData as _, hubRentalDataQuery as a, parseVofficeUnitData as b, rentalsAllByFacilityObjectGroupsWithoutFeedbacksQuery as c, VofficeUnitDataFieldSchemas as d, VofficeUnitDataPropertyCategoryLabelKeys as f, parseJsonData as g, customDataAttribute as h, hubFiltersQuery as i, rentalsAllFeedbacksQuery as l, VofficeUnitDataPropertyMetadata as m, mapSearchQuery as n, rentalFacilitiesForObjectGroupRelationQuery as o, VofficeUnitDataPropertyCategoryValues as p, searchQuery as r, rentalIdsQuery as s, voucherValidityQuery as t, rentalsAllWithoutFeedbacksQuery as u, parseVofficeFeedbackData as v, parseVofficeRatingData as y };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { a as toFacilityImages, c as toLocalizedString, i as toLocation, o as toImages, r as renderVofficePropertyAttribute, s as toAddress, t as toRentalHighlights } from "./to-rental-highlights-
|
|
1
|
+
import { Zt as V9_FACILITY_ATTRIBUTE_KEYS } from "./client-RLKoee2Y.mjs";
|
|
2
|
+
import { _ as parseVofficeFacilityData, b as parseVofficeUnitData, c as rentalsAllByFacilityObjectGroupsWithoutFeedbacksQuery, d as VofficeUnitDataFieldSchemas, f as VofficeUnitDataPropertyCategoryLabelKeys, i as hubFiltersQuery, l as rentalsAllFeedbacksQuery, m as VofficeUnitDataPropertyMetadata, o as rentalFacilitiesForObjectGroupRelationQuery, p as VofficeUnitDataPropertyCategoryValues, s as rentalIdsQuery, u as rentalsAllWithoutFeedbacksQuery, v as parseVofficeFeedbackData } from "./operations-CUWcmNGK.mjs";
|
|
3
|
+
import { a as toFacilityImages, c as toLocalizedString, i as toLocation, o as toImages, r as renderVofficePropertyAttribute, s as toAddress, t as toRentalHighlights } from "./to-rental-highlights-CIz0CxcP.mjs";
|
|
4
4
|
import { CoreSDKError, makeTranslate, renderResolvedCustomAttribute, toCustomAttributeList, toResolvedCustomAttributeCategoryTranslationKey } from "@v-office/sdk-core";
|
|
5
5
|
import { Effect } from "effect";
|
|
6
6
|
//#region src/legacy-v9/parser/rentals/to-description.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as makeV9CustomAttributeFilterCapabilities, c as parseQueryParameters, d as toVoucherCode, l as toQueryString, o as toBasicQueryInputs, s as collectQueryParameters, u as applyVofficeFilterDerivedBasicQueryInputs } from "./client-
|
|
2
|
-
import {
|
|
3
|
-
import { i as toLocation, n as toV9RentalHighlightKey, o as toImages, s as toAddress, t as toRentalHighlights } from "./to-rental-highlights-
|
|
1
|
+
import { a as makeV9CustomAttributeFilterCapabilities, c as parseQueryParameters, d as toVoucherCode, l as toQueryString, o as toBasicQueryInputs, s as collectQueryParameters, u as applyVofficeFilterDerivedBasicQueryInputs } from "./client-RLKoee2Y.mjs";
|
|
2
|
+
import { b as parseVofficeUnitData, n as mapSearchQuery, r as searchQuery } from "./operations-CUWcmNGK.mjs";
|
|
3
|
+
import { i as toLocation, n as toV9RentalHighlightKey, o as toImages, s as toAddress, t as toRentalHighlights } from "./to-rental-highlights-CIz0CxcP.mjs";
|
|
4
4
|
import { CoreSDKError, STABLE_SEARCH_INPUTS, daysBetweenLocalDates, expandCustomAttributeFilterCompositions, parseChildrenAges, parseOccupancyCount, resolveExpandedCompositions, toFormattedSearchPrice, toIsoDateFromPeriodQueryDate, toStableSearchInputBackendQueryKeys, toStableSearchInputParameterValues, toStableSearchInputQueryKeys, toUnusedFilterKeys } from "@v-office/sdk-core";
|
|
5
5
|
import { Effect } from "effect";
|
|
6
6
|
//#region src/legacy-v9/parser/search/input/search-input-error.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { m as VofficeUnitDataPropertyMetadata } from "./operations-CUWcmNGK.mjs";
|
|
2
2
|
import { localeToLanguage, makeTranslate, renderLabeledAttributeValue, renderResolvedCustomAttribute, toCountry } from "@v-office/sdk-core";
|
|
3
3
|
import { Effect } from "effect";
|
|
4
4
|
//#region src/legacy-v9/parser/rentals/to-localized-string.ts
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"filter.garden.label": "Garden",
|
|
16
16
|
"filter.bbq.label": "BBQ",
|
|
17
17
|
"filter.sauna.label": "Sauna",
|
|
18
|
-
"filter.fireplace.label": "
|
|
18
|
+
"filter.fireplace.label": "Fire pit",
|
|
19
19
|
"filter.tv.label": "TV",
|
|
20
20
|
"filter.childrenWelcome.label": "Children Welcome",
|
|
21
21
|
"filter.nonsmoking.label": "Non-Smoking",
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Release notes of `@v-office/website-sdk`, newest first. Each version has its own directory.
|
|
6
6
|
|
|
7
|
+
- `versions/2.31.0/CHANGELOG.md`: release notes for 2.31.0
|
|
7
8
|
- `versions/2.30.2/CHANGELOG.md`: release notes for 2.30.2
|
|
8
9
|
- `versions/2.30.1/CHANGELOG.md`: release notes for 2.30.1
|
|
9
10
|
- `versions/2.30.0/CHANGELOG.md`: release notes for 2.30.0
|
|
@@ -4,6 +4,7 @@
|
|
|
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.31.0/MIGRATION.md`: Migration: 2.30.2 to 2.31.0
|
|
7
8
|
- `versions/2.30.2/MIGRATION.md`: Migration: 2.30.1 to 2.30.2
|
|
8
9
|
- `versions/2.30.1/MIGRATION.md`: Migration: 2.30.0 to 2.30.1
|
|
9
10
|
- `versions/2.30.0/MIGRATION.md`: Migration: 2.29.0 to 2.30.0
|
package/instructions/filter.md
CHANGED
|
@@ -123,8 +123,8 @@ Backend filters and compositions come from `customAttributeFilterDefinitions`.
|
|
|
123
123
|
SDK configuration cannot create a Hub filter: for another v9 key, the entry is added
|
|
124
124
|
to the be-on! Hub first, then you configure that key as a `backendFilter`. Without
|
|
125
125
|
the Hub entry, the filter does nothing. See [v9: Hub Filters](search.md#v9-hub-filters)
|
|
126
|
-
for the fixed keys (object group, facility, special offers)
|
|
127
|
-
`website-sdk hub-filters request`.
|
|
126
|
+
for the fixed keys (object group, facility, region, property type, special offers),
|
|
127
|
+
for filters on vOffice fields and for `website-sdk hub-filters request`.
|
|
128
128
|
|
|
129
129
|
```json
|
|
130
130
|
{
|