@v-office/website-sdk 1.1.0 → 1.2.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 +1 -1
- package/dist/{client-CDJn8kOh.mjs → client-DYP0Y59i.mjs} +13 -6
- package/dist/index.d.mts +10 -2
- package/dist/index.mjs +1 -1
- package/dist/{quote-Duya7n8v.mjs → quote-BKcAIFuH.mjs} +1 -1
- package/dist/{quote-xpSX3Z58.mjs → quote-Bo-gBDkQ.mjs} +1 -1
- package/dist/{rentals-CSp5vdZh.mjs → rentals-Ba6ZO6bX.mjs} +2 -2
- package/dist/{rentals-DM-qBlym.mjs → rentals-DBTPlC6X.mjs} +1 -1
- package/dist/{search-D-OKND5S.mjs → search-BofxXqF0.mjs} +6 -2
- package/dist/{to-rental-highlights-CYcylkuN.mjs → to-rental-highlights-BShYK50C.mjs} +1 -1
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { n as defineCMSSDKOptions, t as createCMSSDKFromParsedConfig } from "./client-
|
|
2
|
+
import { n as defineCMSSDKOptions, t as createCMSSDKFromParsedConfig } from "./client-DYP0Y59i.mjs";
|
|
3
3
|
import { Console, Effect, FileSystem, Layer, Option, Path, Stdio, Terminal } from "effect";
|
|
4
4
|
import { Command, Flag } from "effect/unstable/cli";
|
|
5
5
|
import { inspect } from "node:util";
|
|
@@ -19373,7 +19373,7 @@ const bookV9Insurance = ({ quote, bookingNumber, guestToken, v1Client }) => Effe
|
|
|
19373
19373
|
//#region src/adapters/v9/live/quote.ts
|
|
19374
19374
|
const loadQuoteRuntime$1 = Effect.tryPromise({
|
|
19375
19375
|
try: async () => {
|
|
19376
|
-
return { toGuestQuote: (await import("./quote-
|
|
19376
|
+
return { toGuestQuote: (await import("./quote-Bo-gBDkQ.mjs")).toGuestQuote };
|
|
19377
19377
|
},
|
|
19378
19378
|
catch: (cause) => new CMSError({
|
|
19379
19379
|
backend: "v9",
|
|
@@ -23133,7 +23133,7 @@ const parseV9SearchCursor = (cursor) => Effect.gen(function* () {
|
|
|
23133
23133
|
});
|
|
23134
23134
|
const loadLiveSearchRuntime$1 = Effect.tryPromise({
|
|
23135
23135
|
try: async () => {
|
|
23136
|
-
const [operations, parser] = await Promise.all([import("./operations-Bxhb0jmN.mjs"), import("./search-
|
|
23136
|
+
const [operations, parser] = await Promise.all([import("./operations-Bxhb0jmN.mjs"), import("./search-BofxXqF0.mjs")]);
|
|
23137
23137
|
return {
|
|
23138
23138
|
searchQuery: operations.searchQuery,
|
|
23139
23139
|
toQueryInput: parser.toQueryInput,
|
|
@@ -23393,6 +23393,7 @@ const toOutputType = (definition) => {
|
|
|
23393
23393
|
switch (definition.type) {
|
|
23394
23394
|
case "boolean": return "BooleanFilter";
|
|
23395
23395
|
case "int": return "IntFilter";
|
|
23396
|
+
case "string": return "StringFilter";
|
|
23396
23397
|
case "option": return "OptionFilter";
|
|
23397
23398
|
case "complex": return "BooleanFilter";
|
|
23398
23399
|
}
|
|
@@ -23429,6 +23430,10 @@ const toCustomAttributeFilterOutputItem = ({ definition, locale }) => {
|
|
|
23429
23430
|
...numericBounds ? { numericBounds } : {}
|
|
23430
23431
|
};
|
|
23431
23432
|
}
|
|
23433
|
+
if (type === "StringFilter") return {
|
|
23434
|
+
...baseFilter,
|
|
23435
|
+
type
|
|
23436
|
+
};
|
|
23432
23437
|
return {
|
|
23433
23438
|
...baseFilter,
|
|
23434
23439
|
type
|
|
@@ -23529,7 +23534,7 @@ const DEFAULT_RENTAL_FEEDBACK_DATA_ATTRIBUTES = [
|
|
|
23529
23534
|
];
|
|
23530
23535
|
const loadStaticRentalsRuntime$1 = Effect.tryPromise({
|
|
23531
23536
|
try: async () => {
|
|
23532
|
-
const [operations, parser] = await Promise.all([import("./operations-Bxhb0jmN.mjs"), import("./rentals-
|
|
23537
|
+
const [operations, parser] = await Promise.all([import("./operations-Bxhb0jmN.mjs"), import("./rentals-Ba6ZO6bX.mjs")]);
|
|
23533
23538
|
return {
|
|
23534
23539
|
rentalsAllQuery: operations.rentalsAllQuery,
|
|
23535
23540
|
toRentalRentalsOutput: parser.toRentalRentalsOutput
|
|
@@ -24051,7 +24056,7 @@ const V10LiveContactLive = Layer.effect(LiveContactService, Effect.gen(function*
|
|
|
24051
24056
|
//#region src/adapters/v10/live/quote.ts
|
|
24052
24057
|
const loadQuoteRuntime = Effect.tryPromise({
|
|
24053
24058
|
try: async () => {
|
|
24054
|
-
const [operations, parser] = await Promise.all([import("./operations-B4IgNB3E.mjs"), import("./quote-
|
|
24059
|
+
const [operations, parser] = await Promise.all([import("./operations-B4IgNB3E.mjs"), import("./quote-BKcAIFuH.mjs")]);
|
|
24055
24060
|
return {
|
|
24056
24061
|
bookingsGuestQuoteQuery: operations.bookingsGuestQuoteQuery,
|
|
24057
24062
|
bookingsMultiRateContextQuery: operations.bookingsMultiRateContextQuery,
|
|
@@ -24192,7 +24197,8 @@ const isEnabledBooleanFilter = (value) => {
|
|
|
24192
24197
|
return normalizedValue === "" || normalizedValue === "true" || normalizedValue === "1";
|
|
24193
24198
|
};
|
|
24194
24199
|
const toCustomAttributeFilterLabel = ({ definition, locale, value }) => {
|
|
24195
|
-
if (definition.type !== "option" || value == null) return definition.label[locale];
|
|
24200
|
+
if (definition.type !== "option" && definition.type !== "string" || value == null) return definition.label[locale];
|
|
24201
|
+
if (definition.type === "string") return `${definition.label[locale]}: ${value}`;
|
|
24196
24202
|
const option = definition.options.find((entry) => entry.value === value);
|
|
24197
24203
|
return option == null ? definition.label[locale] : `${definition.label[locale]}: ${option.label[locale]}`;
|
|
24198
24204
|
};
|
|
@@ -24696,6 +24702,7 @@ const parseCustomAttributeValue = ({ definition, value }) => {
|
|
|
24696
24702
|
switch (definition.type) {
|
|
24697
24703
|
case "boolean": return parseBooleanValue(value);
|
|
24698
24704
|
case "int": return Number.isInteger(Number(value)) ? value : void 0;
|
|
24705
|
+
case "string": return value.length > 0 ? value : void 0;
|
|
24699
24706
|
case "option": return definition.options.some((option) => option.value === value) ? value : void 0;
|
|
24700
24707
|
}
|
|
24701
24708
|
};
|
|
@@ -33039,7 +33046,7 @@ const makeV10StaticFilterLive = ({ options }) => Layer.effect(StaticFilterServic
|
|
|
33039
33046
|
const ONLINE_RENTALS_FILTER = { status: { _eq: "ONLINE" } };
|
|
33040
33047
|
const loadStaticRentalsRuntime = Effect.tryPromise({
|
|
33041
33048
|
try: async () => {
|
|
33042
|
-
const [operations, parser] = await Promise.all([import("./operations-B4IgNB3E.mjs"), import("./rentals-
|
|
33049
|
+
const [operations, parser] = await Promise.all([import("./operations-B4IgNB3E.mjs"), import("./rentals-DBTPlC6X.mjs")]);
|
|
33043
33050
|
return {
|
|
33044
33051
|
customAttributesListCustomAttributesQuery: operations.customAttributesListCustomAttributesQuery,
|
|
33045
33052
|
rentalsListRentalSummaryQuery: operations.rentalsListRentalSummaryQuery,
|
package/dist/index.d.mts
CHANGED
|
@@ -720,6 +720,11 @@ declare const FilterGetFiltersOutputSchema: Schema.$Array<Schema.Union<readonly
|
|
|
720
720
|
readonly min: Schema.Number;
|
|
721
721
|
readonly max: Schema.Number;
|
|
722
722
|
}>>;
|
|
723
|
+
}>, Schema.Struct<{
|
|
724
|
+
readonly searchParameterQueryKey: Schema.String;
|
|
725
|
+
readonly label: Schema.String;
|
|
726
|
+
readonly category: Schema.String;
|
|
727
|
+
readonly type: Schema.Literal<"StringFilter">;
|
|
723
728
|
}>, Schema.Struct<{
|
|
724
729
|
readonly searchParameterQueryKey: Schema.String;
|
|
725
730
|
readonly label: Schema.String;
|
|
@@ -10870,14 +10875,17 @@ type IntFilterDefinition = CustomAttributeFilterDefinitionBase & {
|
|
|
10870
10875
|
readonly type: "int";
|
|
10871
10876
|
readonly numericBounds: CustomAttributeFilterNumericBounds;
|
|
10872
10877
|
};
|
|
10878
|
+
type StringFilterDefinition = CustomAttributeFilterDefinitionBase & {
|
|
10879
|
+
readonly type: "string";
|
|
10880
|
+
};
|
|
10873
10881
|
type OptionFilterDefinition = CustomAttributeFilterDefinitionBase & {
|
|
10874
10882
|
readonly type: "option";
|
|
10875
10883
|
readonly options: NonEmptyReadonlyArray<CustomAttributeFilterOption>;
|
|
10876
10884
|
};
|
|
10877
|
-
type CustomAttributeSourceFilterDefinition = (BooleanFilterDefinition | IntFilterDefinition | OptionFilterDefinition) & {
|
|
10885
|
+
type CustomAttributeSourceFilterDefinition = (BooleanFilterDefinition | IntFilterDefinition | StringFilterDefinition | OptionFilterDefinition) & {
|
|
10878
10886
|
/** Backed by v10 custom attributes and v9 rental data attributes. */readonly source: "customAttribute";
|
|
10879
10887
|
} & SearchableFilterVisibility;
|
|
10880
|
-
type BackendSearchFilterDefinition = (BooleanFilterDefinition | IntFilterDefinition | OptionFilterDefinition) & {
|
|
10888
|
+
type BackendSearchFilterDefinition = (BooleanFilterDefinition | IntFilterDefinition | StringFilterDefinition | OptionFilterDefinition) & {
|
|
10881
10889
|
/** Backed by backend-defined filter keys, mainly v9 hub filters. */readonly source: "backendFilter";
|
|
10882
10890
|
} & PublicFilterVisibility;
|
|
10883
10891
|
/** Filter that expands to other filters instead of being sent directly. */
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as DocumentResourceSchema, $t as toStableSearchInputParameterValues, At as ServiceImageSchema, B as makeV0OpenApiClientFetchLive, Bt as UnitIdsResponseSchema, Ct as QuoteServiceSchema, Dt as RoomImageSchema, Et as RegionListResponseSchema, Ft as TileCollectionResponseSchema, G as makeV1OpenApiClientLive, Gt as UnitServicePriceSchema, H as V1OpenApiClient, Ht as UnitListResponseSchema, It as TileSchema, J as CalendarResponseSchema, Jt as VideoResponseSchema, K as ApiEnvelopeBaseSchema, Kt as V1_BASE_URL, Lt as TileTagSchema, Mt as ServiceListResponseSchema, Nt as SetupDataSchema, Ot as SearchPropertiesResponseSchema, Pt as SetupResponseSchema, Q as DocumentResourceResponseSchema, R as V0OpenApiClient, Rt as TravelInsuranceBookingSchema, St as QuoteSchema, Tt as RawVofficeObjectSchema, U as V1OpenApiClientError, Ut as UnitOfferSchema, V as makeV0OpenApiClientLive, Vt as UnitListItemSchema, W as makeV1OpenApiClientFetchLive, Wt as UnitResponseSchema, X as CustomerUnitSummarySchema, Y as CurrentMemberResponseSchema, Yt as decodeV1OperationResponse, Z as DocumentCollectionResponseSchema, Zt as defineStableSearchInputGroup, _t as PaymentScheduleItemSchema, a as defineVofficeFacilityDataAttributes, at as ErgoBankSchema, bt as QuotePricesPayloadSchema, c as defineVofficeOfferDataAttributes, ct as ErgoCreatePreContractRequestSchema, d as defineVofficeServiceDataAttributes, dt as ErgoPolicyNumberRequestSchema, en as toStableSearchInputQueryKeys, et as DocumentStatusSchema, f as defineVofficeTotalRatingDataAttributes, ft as ErgoReadPreContractRequestSchema, gt as OnOfficeUnitSchema, ht as OnOfficeUnitCollectionResponseSchema, i as defineDataAttributes, it as ErgoAddressSchema, jt as ServiceLimitSchema, kt as ServiceBeonDataSchema, l as defineVofficePriceDataAttributes, lt as ErgoPersonSchema, mt as FacilityListResponseSchema, n as defineCMSSDKOptions, nt as DocumentSummarySchema, o as defineVofficeFeedbackDataAttributes, ot as ErgoBookRequestSchema, p as defineVofficeUnitDataAttributes, pt as ErgoTripAndCustomerRequestSchema, q as CalendarDaySchema, qt as V1_OPERATIONS, r as customDataAttribute, rt as DocumentTypeSchema, s as defineVofficeImageDataAttributes, st as ErgoCommonFieldsSchema, t as createCMSSDKFromParsedConfig, tt as DocumentStatusUpdateRequestSchema, u as defineVofficeRatingDataAttributes, ut as ErgoPlanSearchRequestSchema, vt as PaymentScheduleSchema, wt as RawObjectResponseSchema, xt as QuotePricesResponseSchema, yt as QuoteLineSchema, z as V0OpenApiClientError, zt as TravelInsuranceBookingStoreRequestSchema } from "./client-
|
|
1
|
+
import { $ as DocumentResourceSchema, $t as toStableSearchInputParameterValues, At as ServiceImageSchema, B as makeV0OpenApiClientFetchLive, Bt as UnitIdsResponseSchema, Ct as QuoteServiceSchema, Dt as RoomImageSchema, Et as RegionListResponseSchema, Ft as TileCollectionResponseSchema, G as makeV1OpenApiClientLive, Gt as UnitServicePriceSchema, H as V1OpenApiClient, Ht as UnitListResponseSchema, It as TileSchema, J as CalendarResponseSchema, Jt as VideoResponseSchema, K as ApiEnvelopeBaseSchema, Kt as V1_BASE_URL, Lt as TileTagSchema, Mt as ServiceListResponseSchema, Nt as SetupDataSchema, Ot as SearchPropertiesResponseSchema, Pt as SetupResponseSchema, Q as DocumentResourceResponseSchema, R as V0OpenApiClient, Rt as TravelInsuranceBookingSchema, St as QuoteSchema, Tt as RawVofficeObjectSchema, U as V1OpenApiClientError, Ut as UnitOfferSchema, V as makeV0OpenApiClientLive, Vt as UnitListItemSchema, W as makeV1OpenApiClientFetchLive, Wt as UnitResponseSchema, X as CustomerUnitSummarySchema, Y as CurrentMemberResponseSchema, Yt as decodeV1OperationResponse, Z as DocumentCollectionResponseSchema, Zt as defineStableSearchInputGroup, _t as PaymentScheduleItemSchema, a as defineVofficeFacilityDataAttributes, at as ErgoBankSchema, bt as QuotePricesPayloadSchema, c as defineVofficeOfferDataAttributes, ct as ErgoCreatePreContractRequestSchema, d as defineVofficeServiceDataAttributes, dt as ErgoPolicyNumberRequestSchema, en as toStableSearchInputQueryKeys, et as DocumentStatusSchema, f as defineVofficeTotalRatingDataAttributes, ft as ErgoReadPreContractRequestSchema, gt as OnOfficeUnitSchema, ht as OnOfficeUnitCollectionResponseSchema, i as defineDataAttributes, it as ErgoAddressSchema, jt as ServiceLimitSchema, kt as ServiceBeonDataSchema, l as defineVofficePriceDataAttributes, lt as ErgoPersonSchema, mt as FacilityListResponseSchema, n as defineCMSSDKOptions, nt as DocumentSummarySchema, o as defineVofficeFeedbackDataAttributes, ot as ErgoBookRequestSchema, p as defineVofficeUnitDataAttributes, pt as ErgoTripAndCustomerRequestSchema, q as CalendarDaySchema, qt as V1_OPERATIONS, r as customDataAttribute, rt as DocumentTypeSchema, s as defineVofficeImageDataAttributes, st as ErgoCommonFieldsSchema, t as createCMSSDKFromParsedConfig, tt as DocumentStatusUpdateRequestSchema, u as defineVofficeRatingDataAttributes, ut as ErgoPlanSearchRequestSchema, vt as PaymentScheduleSchema, wt as RawObjectResponseSchema, xt as QuotePricesResponseSchema, yt as QuoteLineSchema, z as V0OpenApiClientError, zt as TravelInsuranceBookingStoreRequestSchema } from "./client-DYP0Y59i.mjs";
|
|
2
2
|
import { t as CMSError } from "./errors-2cuUGSvi.mjs";
|
|
3
3
|
import { D as UnknownAdditionalService, E as InvalidAdditionalServiceQuantity, w as AdditionalServiceLimitExceeded } from "./quote-CRjV_lf-.mjs";
|
|
4
4
|
export { AdditionalServiceLimitExceeded, ApiEnvelopeBaseSchema, CMSError, CalendarDaySchema, CalendarResponseSchema, CurrentMemberResponseSchema, CustomerUnitSummarySchema, DocumentCollectionResponseSchema, DocumentResourceResponseSchema, DocumentResourceSchema, DocumentStatusSchema, DocumentStatusUpdateRequestSchema, DocumentSummarySchema, DocumentTypeSchema, ErgoAddressSchema, ErgoBankSchema, ErgoBookRequestSchema, ErgoCommonFieldsSchema, ErgoCreatePreContractRequestSchema, ErgoPersonSchema, ErgoPlanSearchRequestSchema, ErgoPolicyNumberRequestSchema, ErgoReadPreContractRequestSchema, ErgoTripAndCustomerRequestSchema, FacilityListResponseSchema, InvalidAdditionalServiceQuantity, OnOfficeUnitCollectionResponseSchema, OnOfficeUnitSchema, PaymentScheduleItemSchema, PaymentScheduleSchema, QuoteLineSchema, QuotePricesPayloadSchema, QuotePricesResponseSchema, QuoteSchema, QuoteServiceSchema, RawObjectResponseSchema, RawVofficeObjectSchema, RegionListResponseSchema, RoomImageSchema, SearchPropertiesResponseSchema, 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, createCMSSDKFromParsedConfig, customDataAttribute, decodeV1OperationResponse, defineCMSSDKOptions, defineDataAttributes, defineStableSearchInputGroup, defineVofficeFacilityDataAttributes, defineVofficeFeedbackDataAttributes, defineVofficeImageDataAttributes, defineVofficeOfferDataAttributes, defineVofficePriceDataAttributes, defineVofficeRatingDataAttributes, defineVofficeServiceDataAttributes, defineVofficeTotalRatingDataAttributes, defineVofficeUnitDataAttributes, makeV0OpenApiClientFetchLive, makeV0OpenApiClientLive, makeV1OpenApiClientFetchLive, makeV1OpenApiClientLive, toStableSearchInputParameterValues, toStableSearchInputQueryKeys };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./client-
|
|
1
|
+
import "./client-DYP0Y59i.mjs";
|
|
2
2
|
import "./errors-2cuUGSvi.mjs";
|
|
3
3
|
import { b as localeToLanguage, d as formatCurrency, g as toNightCount, n as addGuestQuoteAdditionalServiceSelection, t as GuestQuote } from "./quote-CRjV_lf-.mjs";
|
|
4
4
|
import { DateTime, Effect } from "effect";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./client-
|
|
1
|
+
import "./client-DYP0Y59i.mjs";
|
|
2
2
|
import { d as formatCurrency, g as toNightCount, n as addGuestQuoteAdditionalServiceSelection, t as GuestQuote } from "./quote-CRjV_lf-.mjs";
|
|
3
3
|
import { DateTime, Effect } from "effect";
|
|
4
4
|
//#region src/adapters/v9/parser/quote/to-additional-service-calculation.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { F as parseVofficeFacilityData, I as parseVofficeFeedbackData, L as parseVofficeUnitData, M as VofficeUnitDataPropertyCategoryLabelKeys, N as VofficeUnitDataPropertyCategoryValues, P as VofficeUnitDataPropertyMetadata } from "./client-
|
|
1
|
+
import { F as parseVofficeFacilityData, I as parseVofficeFeedbackData, L as parseVofficeUnitData, M as VofficeUnitDataPropertyCategoryLabelKeys, N as VofficeUnitDataPropertyCategoryValues, P as VofficeUnitDataPropertyMetadata } from "./client-DYP0Y59i.mjs";
|
|
2
2
|
import "./errors-2cuUGSvi.mjs";
|
|
3
3
|
import { b as localeToLanguage, y as makeTranslate } from "./quote-CRjV_lf-.mjs";
|
|
4
4
|
import { i as renderLabeledAttributeValue, t as renderCustomAttributeHighlight } from "./custom-attribute-D5Kb1YHA.mjs";
|
|
5
|
-
import { n as toAddress, r as toLocalizedString, t as toRentalHighlights } from "./to-rental-highlights-
|
|
5
|
+
import { n as toAddress, r as toLocalizedString, t as toRentalHighlights } from "./to-rental-highlights-BShYK50C.mjs";
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
//#region src/adapters/v9/parser/rentals/to-description.ts
|
|
8
8
|
const toDescription = (data, locale) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as toAddress, _ as GENERATED_RENTAL_METADATA_CATALOG, b as toLocation, g as toRentalHighlights, h as toRentalType, m as toScope, v as toProperty, x as toImages, y as toDescription } from "./client-
|
|
1
|
+
import { S as toAddress, _ as GENERATED_RENTAL_METADATA_CATALOG, b as toLocation, g as toRentalHighlights, h as toRentalType, m as toScope, v as toProperty, x as toImages, y as toDescription } from "./client-DYP0Y59i.mjs";
|
|
2
2
|
import "./errors-2cuUGSvi.mjs";
|
|
3
3
|
import { b as localeToLanguage, y as makeTranslate } from "./quote-CRjV_lf-.mjs";
|
|
4
4
|
import { t as renderCustomAttributeHighlight } from "./custom-attribute-D5Kb1YHA.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { $t as toStableSearchInputParameterValues, A as toUnusedFilterKeys, C as parseChildrenAges, D as parseQueryParameters, E as collectQueryParameters, L as parseVofficeUnitData, O as expandCustomAttributeFilterCompositions, Qt as toStableSearchInputBackendQueryKeys, T as toQueryString, Xt as STABLE_SEARCH_INPUTS, en as toStableSearchInputQueryKeys, j as stable_filters_default, k as toCustomAttributeFilterLabel, w as parseOccupancyCount } from "./client-
|
|
1
|
+
import { $t as toStableSearchInputParameterValues, A as toUnusedFilterKeys, C as parseChildrenAges, D as parseQueryParameters, E as collectQueryParameters, L as parseVofficeUnitData, O as expandCustomAttributeFilterCompositions, Qt as toStableSearchInputBackendQueryKeys, T as toQueryString, Xt as STABLE_SEARCH_INPUTS, en as toStableSearchInputQueryKeys, j as stable_filters_default, k as toCustomAttributeFilterLabel, w as parseOccupancyCount } from "./client-DYP0Y59i.mjs";
|
|
2
2
|
import { t as CMSError } from "./errors-2cuUGSvi.mjs";
|
|
3
3
|
import { C as daysBetweenLocalDates, _ as toFormattedSearchPrice, x as toIsoDateFromPeriodQueryDate } from "./quote-CRjV_lf-.mjs";
|
|
4
|
-
import { n as toAddress, t as toRentalHighlights } from "./to-rental-highlights-
|
|
4
|
+
import { n as toAddress, t as toRentalHighlights } from "./to-rental-highlights-BShYK50C.mjs";
|
|
5
5
|
import { Effect } from "effect";
|
|
6
6
|
//#region src/adapters/v9/parser/search/input/filter/apply-voffice-filter-derived-basic-query-inputs.ts
|
|
7
7
|
const hasBasicQueryInput = ({ basicQueryInputs, key }) => basicQueryInputs.some((input) => input.key === key);
|
|
@@ -67,6 +67,10 @@ const toCustomBackendFilterInput = ({ queryKey, value, filter }) => {
|
|
|
67
67
|
value: numberValue
|
|
68
68
|
} : void 0;
|
|
69
69
|
}
|
|
70
|
+
case "string": return value.length > 0 ? {
|
|
71
|
+
key: queryKey,
|
|
72
|
+
value
|
|
73
|
+
} : void 0;
|
|
70
74
|
case "option": return filter.options.some((option) => option.value === value) ? {
|
|
71
75
|
key: queryKey,
|
|
72
76
|
value
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as VofficeUnitDataPropertyMetadata } from "./client-
|
|
1
|
+
import { P as VofficeUnitDataPropertyMetadata } from "./client-DYP0Y59i.mjs";
|
|
2
2
|
import "./errors-2cuUGSvi.mjs";
|
|
3
3
|
import { b as localeToLanguage, v as toCountry, y as makeTranslate } from "./quote-CRjV_lf-.mjs";
|
|
4
4
|
import { i as renderLabeledAttributeValue, t as renderCustomAttributeHighlight } from "./custom-attribute-D5Kb1YHA.mjs";
|