@wix/auto_sdk_bookings_services 1.0.202 → 1.0.204
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/build/cjs/{bookings-services-v2-service-services.universal-B3V2y3Ru.d.ts → bookings-services-v2-service-services.universal-C0H_b4ny.d.ts} +19 -12
- package/build/cjs/index.d.ts +2 -2
- package/build/cjs/index.js +7 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +7 -1
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +8 -10
- package/build/cjs/meta.js.map +1 -1
- package/build/es/{bookings-services-v2-service-services.universal-B3V2y3Ru.d.mts → bookings-services-v2-service-services.universal-C0H_b4ny.d.mts} +19 -12
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs +7 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +7 -1
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +8 -10
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/{bookings-services-v2-service-services.universal-DA5zMC1X.d.ts → bookings-services-v2-service-services.universal-CQdG9UXV.d.ts} +25 -19
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.js +7 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/index.typings.js +7 -1
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +8 -10
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/{bookings-services-v2-service-services.universal-DA5zMC1X.d.mts → bookings-services-v2-service-services.universal-CQdG9UXV.d.mts} +25 -19
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.mjs +7 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/index.typings.mjs +7 -1
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +8 -10
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -415,20 +415,18 @@ declare enum AddOnPaymentOptions {
|
|
|
415
415
|
}
|
|
416
416
|
/** @enumType */
|
|
417
417
|
type AddOnPaymentOptionsWithLiterals = AddOnPaymentOptions | 'UNKNOWN_ADD_ON_PAYMENT_OPTIONS' | 'ONLINE' | 'IN_PERSON';
|
|
418
|
-
/** Estimated discount information for a service. */
|
|
418
|
+
/** Estimated discount information for a service based on active eCommerce discounts. */
|
|
419
419
|
interface DiscountInfo {
|
|
420
420
|
/**
|
|
421
|
-
* Name of the discount
|
|
421
|
+
* Name of the discount. For example, `Summer Sale - 20% Off`.
|
|
422
422
|
* @minLength 1
|
|
423
423
|
* @maxLength 50
|
|
424
424
|
*/
|
|
425
425
|
discountName?: string;
|
|
426
426
|
/**
|
|
427
|
-
* Estimated price after applying the discount.
|
|
427
|
+
* Estimated price after applying the discount. The final price is determined at checkout and may differ when additional discounts are applied or rules are re-evaluated with complete booking information.
|
|
428
428
|
*
|
|
429
|
-
*
|
|
430
|
-
*
|
|
431
|
-
* May be empty when the discount depends on booking/cart context (e.g., "10% discount on Service X when booking with Service Y") or requires information only available at checkout.
|
|
429
|
+
* Not returned when the discount depends on booking or cart context, for example a discount that applies to a service only when booked together with another service, or when the discount requires information only available at checkout.
|
|
432
430
|
*/
|
|
433
431
|
priceAfterDiscount?: Money;
|
|
434
432
|
}
|
|
@@ -2536,11 +2534,11 @@ interface GetServiceRequest {
|
|
|
2536
2534
|
declare enum V2RequestedFields {
|
|
2537
2535
|
/** Unknown requested field. */
|
|
2538
2536
|
UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
|
|
2539
|
-
/** When passed, `service.
|
|
2537
|
+
/** When passed, `service.staffMemberDetails` is returned. */
|
|
2540
2538
|
STAFF_MEMBER_DETAILS = "STAFF_MEMBER_DETAILS",
|
|
2541
|
-
/** When passed, `service.
|
|
2539
|
+
/** When passed, `service.serviceResources.resourceType.name` is returned. */
|
|
2542
2540
|
RESOURCE_TYPE_DETAILS = "RESOURCE_TYPE_DETAILS",
|
|
2543
|
-
/** When passed, `service.payment.
|
|
2541
|
+
/** When passed, `service.payment.discountInfo` is returned. */
|
|
2544
2542
|
DISCOUNT_INFO_DETAILS = "DISCOUNT_INFO_DETAILS"
|
|
2545
2543
|
}
|
|
2546
2544
|
/** @enumType */
|
|
@@ -5434,9 +5432,18 @@ type ServiceQuery = {
|
|
|
5434
5432
|
}[];
|
|
5435
5433
|
};
|
|
5436
5434
|
declare const utils: {
|
|
5437
|
-
|
|
5438
|
-
|
|
5439
|
-
|
|
5435
|
+
query: {
|
|
5436
|
+
QueryBuilder: () => _wix_sdk_types.QueryBuilder<Service, ServiceQuerySpec, ServiceQuery>;
|
|
5437
|
+
Filter: _wix_sdk_types.FilterFactory<Service, ServiceQuerySpec>;
|
|
5438
|
+
Sort: _wix_sdk_types.SortFactory<ServiceQuerySpec>;
|
|
5439
|
+
};
|
|
5440
|
+
search: {
|
|
5441
|
+
SearchBuilder: () => _wix_sdk_types.SearchBuilder<Service, ServiceSearchSpec, ServiceSearch>;
|
|
5442
|
+
Filter: _wix_sdk_types.FilterFactory<Service, ServiceSearchSpec>;
|
|
5443
|
+
Sort: _wix_sdk_types.SortFactory<ServiceSearchSpec>;
|
|
5444
|
+
SearchParams: _wix_sdk_types.SearchParamsFactory<ServiceSearchSpec>;
|
|
5445
|
+
Aggregation: _wix_sdk_types.AggregationFactory<ServiceSearchSpec>;
|
|
5446
|
+
};
|
|
5440
5447
|
};
|
|
5441
5448
|
interface ServiceSearchSpec extends SearchSpec {
|
|
5442
5449
|
searchable: ['name'];
|
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
-
import { S as Service, C as CreateServiceValidationErrors, B as BulkCreateServicesOptions, a as BulkCreateServicesResponse, U as UpdateService, b as UpdateServiceValidationErrors, c as BulkUpdateServicesOptions, d as BulkUpdateServicesResponse, e as BulkUpdateServicesByFilterOptions, f as BulkUpdateServicesByFilterResponse, D as DeleteServiceOptions, g as BulkDeleteServicesOptions, h as BulkDeleteServicesResponse, i as BulkDeleteServicesByFilterOptions, j as BulkDeleteServicesByFilterResponse, k as ServiceSearch, l as SearchServicesResponse, m as CursorQuery, Q as QueryPoliciesResponse, n as QueryBookingFormsOptions, o as QueryBookingFormsResponse, p as QueryBookingFormsApplicationErrors, q as CountServicesOptions, r as CountServicesResponse, s as QueryLocationsOptions, t as QueryLocationsResponse, u as QueryCategoriesOptions, v as QueryCategoriesResponse, w as SetServiceLocationsOptions, x as SetServiceLocationsResponse, E as EnablePricingPlansForServiceResponse, y as EnablePricingPlansForServiceApplicationErrors, z as DisablePricingPlansForServiceOptions, A as DisablePricingPlansForServiceResponse, F as DisablePricingPlansForServiceApplicationErrors, G as SetCustomSlugOptions, H as SetCustomSlugResponse, I as SetCustomSlugApplicationErrors, J as SetCustomSlugValidationErrors, V as ValidateSlugOptions, K as ValidateSlugResponse, L as CloneServiceResponse, M as AddOnGroup, N as CreateAddOnGroupOptions, O as CreateAddOnGroupResponse, P as DeleteAddOnGroupOptions, R as DeleteAddOnGroupApplicationErrors, T as UpdateAddOnGroupOptions, W as UpdateAddOnGroupResponse, X as UpdateAddOnGroupApplicationErrors, Y as ListAddOnGroupsByServiceIdOptions, Z as ListAddOnGroupsByServiceIdResponse, _ as SetAddOnsForGroupOptions, $ as SetAddOnsForGroupResponse, a0 as SetAddOnsForGroupApplicationErrors, a1 as ServiceCreatedEnvelope, a2 as ServiceDeletedEnvelope, a3 as ServiceUpdatedEnvelope, a4 as ServiceQuery, a5 as QueryServicesOptions, a6 as typedQueryServices, a7 as ServicesQueryBuilder } from './bookings-services-v2-service-services.universal-
|
|
3
|
-
export { cu as AccountInfo, eP as AccountInfoMetadata, aD as Action, cq as ActionEvent, fn as ActionWithLiterals, ap as Actor, f9 as ActorWithLiterals, eJ as AddOn, eK as AddOnAddOnInfoOneOf, bM as AddOnDetails, eL as AddOnGroupDetail, aa as AddOnPaymentOptions, eW as AddOnPaymentOptionsWithLiterals, c2 as Address, eq as AddressHint, c5 as AddressLocation, c3 as AddressStreetOneOf, d5 as Aggregation, dl as AggregationData, d6 as AggregationKindOneOf, dF as AggregationResults, dG as AggregationResultsResultOneOf, dt as AggregationResultsScalarResult, aA as AggregationType, fk as AggregationTypeWithLiterals, cD as ApplicationError, bu as AvailabilityConstraints, eN as BaseEventMetadata, ef as Behavior, eg as BehaviorBehaviorOneOf, eb as Benefit, ea as BenefitNotification, aI as BenefitType, fs as BenefitTypeWithLiterals, be as BookAfterStartPolicy, cj as BookedAddOn, bV as BookedEntity, bW as BookedEntityItemOneOf, bY as BookedResource, c0 as BookedSchedule, bX as BookedSlot, bT as Booking, dL as BookingForm, bU as BookingParticipantsInfoOneOf, ba as BookingPolicy, dJ as BookingPolicyWithServices, c8 as BookingSource, al as BookingStatus, f5 as BookingStatusWithLiterals, cE as BulkActionMetadata, cA as BulkCreateServicesRequest, cU as BulkDeleteServicesByFilterRequest, cT as BulkDeleteServicesRequest, cB as BulkServiceResult, cP as BulkUpdateServicesByFilterRequest, cN as BulkUpdateServicesRequest, b8 as BusinessLocationOptions, dR as BusinessLocations, es as BusinessSchedule, bk as CancellationFeePolicy, bf as CancellationPolicy, bl as CancellationWindow, bm as CancellationWindowFeeOneOf, en as Categories, e8 as Category, e7 as CategoryNotification, aH as CategoryNotificationEvent, fr as CategoryNotificationEventWithLiterals, ez as ChangeContext, eA as ChangeContextPayloadOneOf, aF as CloneErrors, fp as CloneErrorsWithLiterals, e6 as CloneServiceRequest, b4 as CommonAddress, b7 as CommonAddressLocation, b5 as CommonAddressStreetOneOf, ca as CommonIdentificationData, cb as CommonIdentificationDataIdOneOf, fy as CommonQueryWithEntityContext, fz as CommonSearchWithEntityContext, b6 as CommonStreetAddress, af as CompletionRequirement, e$ as CompletionRequirementWithLiterals, b1 as Conferencing, dN as ConnectedService, ex as ConsentPolicy, c1 as ContactDetails, dO as CountServicesRequest, eE as CreateAddOnGroupRequest, cv as CreateServiceRequest, cw as CreateServiceResponse, aK as CrudType, fu as CrudTypeWithLiterals, c_ as CursorPaging, dk as CursorPagingMetadata, dI as CursorQueryPagingMethodOneOf, d3 as CursorSearch, d4 as CursorSearchPagingMethodOneOf, d1 as Cursors, c7 as CustomFormField, b9 as CustomLocationOptions, dS as CustomLocations, br as CustomOptions, aY as CustomPayment, dT as CustomerLocations, dd as DateHistogramAggregation, dB as DateHistogramResult, dD as DateHistogramResults, aM as DayOfWeek, fw as DayOfWeekWithLiterals, eF as DeleteAddOnGroupRequest, eG as DeleteAddOnGroupResponse, cQ as DeleteServiceRequest, cS as DeleteServiceResponse, e3 as DisablePricingPlansForServiceRequest, ed as Discount, ee as DiscountDiscountOneOf, a$ as DiscountInfo, ck as DomainEvent, cl as DomainEventBodyOneOf, bR as DummyRequest, bS as DummyResponse, ch as Duration, e9 as Empty, e0 as EnablePricingPlansForServiceRequest, cm as EntityCreatedEvent, cp as EntityDeletedEvent, co as EntityUpdatedEvent, ec as EntryPass, aJ as Event, eO as EventMetadata, ft as EventWithLiterals, bH as ExtendedFields, cz as FieldViolation, aW as FixedPayment, cc as FlowControlSettings, aS as Form, dM as FormDetails, aT as FormSettings, er as GeoCoordinates, cH as GetServiceAvailabilityConstraintsRequest, cI as GetServiceAvailabilityConstraintsResponse, cF as GetServiceRequest, cG as GetServiceResponse, dh as GroupByAggregation, di as GroupByAggregationKindOneOf, dC as GroupByValueResults, ei as HtmlSitePublished, cs as IdentificationData, ct as IdentificationDataIdOneOf, aq as IdentityType, fa as IdentityTypeWithLiterals, d8 as IncludeMissingValuesOptions, bs as IntakeFormPolicy, az as Interval, fj as IntervalWithLiterals, e2 as InvalidPricingPlan, aE as InvalidSlugError, fo as InvalidSlugErrorWithLiterals, cC as ItemMetadata, bJ as Keyword, bc as LimitEarlyBookingPolicy, bd as LimitLateBookingPolicy, eI as ListAddOnGroupsByServiceIdRequest, eo as Locale, bZ as Location, ai as LocationType, ab as LocationTypeEnumLocationType, eX as LocationTypeEnumLocationTypeWithLiterals, f2 as LocationTypeWithLiterals, cO as MaskedService, aO as Media, aP as MediaItem, aQ as MediaItemItemOneOf, cr as MessageEnvelope, aw as MissingValues, fg as MissingValuesWithLiterals, aB as Mode, fl as ModeWithLiterals, aX as Money, d$ as MoveToNewLocationsOptions, ci as MultiServiceBookingInfo, ah as MultiServiceBookingType, f1 as MultiServiceBookingTypeWithLiterals, ev as Multilingual, dg as NestedAggregation, de as NestedAggregationItem, df as NestedAggregationItemKindOneOf, dp as NestedAggregationResults, dq as NestedAggregationResultsResultOneOf, ay as NestedAggregationType, fi as NestedAggregationTypeWithLiterals, dy as NestedResultValue, dz as NestedResultValueResultOneOf, dE as NestedResults, du as NestedValueAggregationResult, b0 as OnlineBooking, ej as Page, cZ as Paging, d0 as PagingMetadataV2, cd as ParticipantChoices, c9 as ParticipantNotification, bi as ParticipantsPolicy, aU as Payment, a_ as PaymentOptions, aV as PaymentRateOneOf, am as PaymentStatus, f6 as PaymentStatusWithLiterals, b_ as PhoneCall, aL as PlacementType, fv as PlacementTypeWithLiterals, ao as Platform, f8 as PlatformWithLiterals, bb as PolicyDescription, e1 as PricingPlanSelection, em as Properties, eB as PropertiesChange, dK as QueryBookingFormsRequest, dV as QueryCategoriesFilter, dU as QueryCategoriesRequest, dQ as QueryLocationsFilter, dP as QueryLocationsRequest, dH as QueryPoliciesRequest, dW as QueryServicesMultiLanguageRequest, dX as QueryServicesMultiLanguageResponse, cV as QueryServicesRequest, c$ as QueryServicesResponse, cW as QueryV2, cX as QueryV2PagingMethodOneOf, db as RangeAggregation, dn as RangeAggregationResult, d7 as RangeBucket, dw as RangeResult, ds as RangeResults, bq as RankingOptions, ac as RankingOrder, eY as RankingOrderWithLiterals, a9 as RateType, eV as RateTypeWithLiterals, dZ as RemovedLocationSessionsAction, d_ as RemovedLocationSessionsActionActionOptionsOneOf, aC as RequestedFields, fm as RequestedFieldsWithLiterals, bg as ReschedulePolicy, aN as ResolutionMethod, fx as ResolutionMethodWithLiterals, bA as ResourceGroup, bB as ResourceIds, b$ as ResourceSelection, bE as ResourceType, bj as ResourcesPolicy, cn as RestoreInfo, dA as Results, bn as SaveCreditCardPolicy, dc as ScalarAggregation, dx as ScalarResult, ax as ScalarType, fh as ScalarTypeWithLiterals, bt as Schedule, dj as SearchDetails, d2 as SearchServicesRequest, an as SelectedPaymentOption, f7 as SelectedPaymentOptionWithLiterals, aj as SelectionMethod, f3 as SelectionMethodWithLiterals, bI as SeoSchema, cJ as ServiceAvailabilityConstraints, cf as ServiceChoice, cg as ServiceChoiceChoiceOneOf, ce as ServiceChoices, eR as ServiceQuerySpec, bC as ServiceResource, bD as ServiceResourceSelectionOneOf, eS as ServiceSearchSpec, a8 as ServiceType, eU as ServiceTypeWithLiterals, eQ as ServicesQueryResult, bQ as ServicesUrlsChanged, eM as SetAddOnsForGroupRequest, bP as SetCustomSlugEvent, e4 as SetCustomSlugRequest, dY as SetServiceLocationsRequest, bL as Settings, eD as SiteCloned, eC as SiteCreated, el as SitePropertiesEvent, ek as SitePropertiesNotification, bF as Slug, av as SortDirection, ff as SortDirectionWithLiterals, at as SortOrder, fd as SortOrderWithLiterals, au as SortType, fe as SortTypeWithLiterals, cY as Sorting, ad as SortingMethodType, eZ as SortingMethodTypeWithLiterals, eu as SpecialHourPeriod, cK as SplitInterval, bx as StaffMediaItem, by as StaffMediaItemItemOneOf, bw as StaffMember, bz as StaffMemberDetails, bo as StaffSortingPolicy, bp as StaffSortingPolicyOptionsOneOf, aG as Status, fq as StatusWithLiterals, c4 as StreetAddress, c6 as Subdivision, ew as SupportedLanguage, bK as Tag, bN as TaxableAddress, ag as TaxableAddressType, f0 as TaxableAddressTypeWithLiterals, et as TimePeriod, ae as Timing, e_ as TimingWithLiterals, ey as Translation, bG as URLs, eH as UpdateAddOnGroupRequest, cL as UpdateServiceRequest, cM as UpdateServiceResponse, eh as UserDomainInfoChangedEvent, aR as V2Category, bv as V2Duration, b2 as V2Location, b3 as V2LocationOptionsOneOf, cR as V2ParticipantNotification, bO as V2PhoneCall, as as V2RequestedFields, fc as V2RequestedFieldsWithLiterals, ep as V4Address, cx as ValidateServiceRequest, cy as ValidateServiceResponse, e5 as ValidateSlugRequest, d9 as ValueAggregation, da as ValueAggregationOptionsOneOf, dm as ValueAggregationResult, dv as ValueResult, dr as ValueResults, ak as ValueType, f4 as ValueTypeWithLiterals, aZ as VariedPayment, bh as WaitlistPolicy, ar as WebhookIdentityType, fb as WebhookIdentityTypeWithLiterals, eT as utils } from './bookings-services-v2-service-services.universal-
|
|
2
|
+
import { S as Service, C as CreateServiceValidationErrors, B as BulkCreateServicesOptions, a as BulkCreateServicesResponse, U as UpdateService, b as UpdateServiceValidationErrors, c as BulkUpdateServicesOptions, d as BulkUpdateServicesResponse, e as BulkUpdateServicesByFilterOptions, f as BulkUpdateServicesByFilterResponse, D as DeleteServiceOptions, g as BulkDeleteServicesOptions, h as BulkDeleteServicesResponse, i as BulkDeleteServicesByFilterOptions, j as BulkDeleteServicesByFilterResponse, k as ServiceSearch, l as SearchServicesResponse, m as CursorQuery, Q as QueryPoliciesResponse, n as QueryBookingFormsOptions, o as QueryBookingFormsResponse, p as QueryBookingFormsApplicationErrors, q as CountServicesOptions, r as CountServicesResponse, s as QueryLocationsOptions, t as QueryLocationsResponse, u as QueryCategoriesOptions, v as QueryCategoriesResponse, w as SetServiceLocationsOptions, x as SetServiceLocationsResponse, E as EnablePricingPlansForServiceResponse, y as EnablePricingPlansForServiceApplicationErrors, z as DisablePricingPlansForServiceOptions, A as DisablePricingPlansForServiceResponse, F as DisablePricingPlansForServiceApplicationErrors, G as SetCustomSlugOptions, H as SetCustomSlugResponse, I as SetCustomSlugApplicationErrors, J as SetCustomSlugValidationErrors, V as ValidateSlugOptions, K as ValidateSlugResponse, L as CloneServiceResponse, M as AddOnGroup, N as CreateAddOnGroupOptions, O as CreateAddOnGroupResponse, P as DeleteAddOnGroupOptions, R as DeleteAddOnGroupApplicationErrors, T as UpdateAddOnGroupOptions, W as UpdateAddOnGroupResponse, X as UpdateAddOnGroupApplicationErrors, Y as ListAddOnGroupsByServiceIdOptions, Z as ListAddOnGroupsByServiceIdResponse, _ as SetAddOnsForGroupOptions, $ as SetAddOnsForGroupResponse, a0 as SetAddOnsForGroupApplicationErrors, a1 as ServiceCreatedEnvelope, a2 as ServiceDeletedEnvelope, a3 as ServiceUpdatedEnvelope, a4 as ServiceQuery, a5 as QueryServicesOptions, a6 as typedQueryServices, a7 as ServicesQueryBuilder } from './bookings-services-v2-service-services.universal-C0H_b4ny.js';
|
|
3
|
+
export { cu as AccountInfo, eP as AccountInfoMetadata, aD as Action, cq as ActionEvent, fn as ActionWithLiterals, ap as Actor, f9 as ActorWithLiterals, eJ as AddOn, eK as AddOnAddOnInfoOneOf, bM as AddOnDetails, eL as AddOnGroupDetail, aa as AddOnPaymentOptions, eW as AddOnPaymentOptionsWithLiterals, c2 as Address, eq as AddressHint, c5 as AddressLocation, c3 as AddressStreetOneOf, d5 as Aggregation, dl as AggregationData, d6 as AggregationKindOneOf, dF as AggregationResults, dG as AggregationResultsResultOneOf, dt as AggregationResultsScalarResult, aA as AggregationType, fk as AggregationTypeWithLiterals, cD as ApplicationError, bu as AvailabilityConstraints, eN as BaseEventMetadata, ef as Behavior, eg as BehaviorBehaviorOneOf, eb as Benefit, ea as BenefitNotification, aI as BenefitType, fs as BenefitTypeWithLiterals, be as BookAfterStartPolicy, cj as BookedAddOn, bV as BookedEntity, bW as BookedEntityItemOneOf, bY as BookedResource, c0 as BookedSchedule, bX as BookedSlot, bT as Booking, dL as BookingForm, bU as BookingParticipantsInfoOneOf, ba as BookingPolicy, dJ as BookingPolicyWithServices, c8 as BookingSource, al as BookingStatus, f5 as BookingStatusWithLiterals, cE as BulkActionMetadata, cA as BulkCreateServicesRequest, cU as BulkDeleteServicesByFilterRequest, cT as BulkDeleteServicesRequest, cB as BulkServiceResult, cP as BulkUpdateServicesByFilterRequest, cN as BulkUpdateServicesRequest, b8 as BusinessLocationOptions, dR as BusinessLocations, es as BusinessSchedule, bk as CancellationFeePolicy, bf as CancellationPolicy, bl as CancellationWindow, bm as CancellationWindowFeeOneOf, en as Categories, e8 as Category, e7 as CategoryNotification, aH as CategoryNotificationEvent, fr as CategoryNotificationEventWithLiterals, ez as ChangeContext, eA as ChangeContextPayloadOneOf, aF as CloneErrors, fp as CloneErrorsWithLiterals, e6 as CloneServiceRequest, b4 as CommonAddress, b7 as CommonAddressLocation, b5 as CommonAddressStreetOneOf, ca as CommonIdentificationData, cb as CommonIdentificationDataIdOneOf, fy as CommonQueryWithEntityContext, fz as CommonSearchWithEntityContext, b6 as CommonStreetAddress, af as CompletionRequirement, e$ as CompletionRequirementWithLiterals, b1 as Conferencing, dN as ConnectedService, ex as ConsentPolicy, c1 as ContactDetails, dO as CountServicesRequest, eE as CreateAddOnGroupRequest, cv as CreateServiceRequest, cw as CreateServiceResponse, aK as CrudType, fu as CrudTypeWithLiterals, c_ as CursorPaging, dk as CursorPagingMetadata, dI as CursorQueryPagingMethodOneOf, d3 as CursorSearch, d4 as CursorSearchPagingMethodOneOf, d1 as Cursors, c7 as CustomFormField, b9 as CustomLocationOptions, dS as CustomLocations, br as CustomOptions, aY as CustomPayment, dT as CustomerLocations, dd as DateHistogramAggregation, dB as DateHistogramResult, dD as DateHistogramResults, aM as DayOfWeek, fw as DayOfWeekWithLiterals, eF as DeleteAddOnGroupRequest, eG as DeleteAddOnGroupResponse, cQ as DeleteServiceRequest, cS as DeleteServiceResponse, e3 as DisablePricingPlansForServiceRequest, ed as Discount, ee as DiscountDiscountOneOf, a$ as DiscountInfo, ck as DomainEvent, cl as DomainEventBodyOneOf, bR as DummyRequest, bS as DummyResponse, ch as Duration, e9 as Empty, e0 as EnablePricingPlansForServiceRequest, cm as EntityCreatedEvent, cp as EntityDeletedEvent, co as EntityUpdatedEvent, ec as EntryPass, aJ as Event, eO as EventMetadata, ft as EventWithLiterals, bH as ExtendedFields, cz as FieldViolation, aW as FixedPayment, cc as FlowControlSettings, aS as Form, dM as FormDetails, aT as FormSettings, er as GeoCoordinates, cH as GetServiceAvailabilityConstraintsRequest, cI as GetServiceAvailabilityConstraintsResponse, cF as GetServiceRequest, cG as GetServiceResponse, dh as GroupByAggregation, di as GroupByAggregationKindOneOf, dC as GroupByValueResults, ei as HtmlSitePublished, cs as IdentificationData, ct as IdentificationDataIdOneOf, aq as IdentityType, fa as IdentityTypeWithLiterals, d8 as IncludeMissingValuesOptions, bs as IntakeFormPolicy, az as Interval, fj as IntervalWithLiterals, e2 as InvalidPricingPlan, aE as InvalidSlugError, fo as InvalidSlugErrorWithLiterals, cC as ItemMetadata, bJ as Keyword, bc as LimitEarlyBookingPolicy, bd as LimitLateBookingPolicy, eI as ListAddOnGroupsByServiceIdRequest, eo as Locale, bZ as Location, ai as LocationType, ab as LocationTypeEnumLocationType, eX as LocationTypeEnumLocationTypeWithLiterals, f2 as LocationTypeWithLiterals, cO as MaskedService, aO as Media, aP as MediaItem, aQ as MediaItemItemOneOf, cr as MessageEnvelope, aw as MissingValues, fg as MissingValuesWithLiterals, aB as Mode, fl as ModeWithLiterals, aX as Money, d$ as MoveToNewLocationsOptions, ci as MultiServiceBookingInfo, ah as MultiServiceBookingType, f1 as MultiServiceBookingTypeWithLiterals, ev as Multilingual, dg as NestedAggregation, de as NestedAggregationItem, df as NestedAggregationItemKindOneOf, dp as NestedAggregationResults, dq as NestedAggregationResultsResultOneOf, ay as NestedAggregationType, fi as NestedAggregationTypeWithLiterals, dy as NestedResultValue, dz as NestedResultValueResultOneOf, dE as NestedResults, du as NestedValueAggregationResult, b0 as OnlineBooking, ej as Page, cZ as Paging, d0 as PagingMetadataV2, cd as ParticipantChoices, c9 as ParticipantNotification, bi as ParticipantsPolicy, aU as Payment, a_ as PaymentOptions, aV as PaymentRateOneOf, am as PaymentStatus, f6 as PaymentStatusWithLiterals, b_ as PhoneCall, aL as PlacementType, fv as PlacementTypeWithLiterals, ao as Platform, f8 as PlatformWithLiterals, bb as PolicyDescription, e1 as PricingPlanSelection, em as Properties, eB as PropertiesChange, dK as QueryBookingFormsRequest, dV as QueryCategoriesFilter, dU as QueryCategoriesRequest, dQ as QueryLocationsFilter, dP as QueryLocationsRequest, dH as QueryPoliciesRequest, dW as QueryServicesMultiLanguageRequest, dX as QueryServicesMultiLanguageResponse, cV as QueryServicesRequest, c$ as QueryServicesResponse, cW as QueryV2, cX as QueryV2PagingMethodOneOf, db as RangeAggregation, dn as RangeAggregationResult, d7 as RangeBucket, dw as RangeResult, ds as RangeResults, bq as RankingOptions, ac as RankingOrder, eY as RankingOrderWithLiterals, a9 as RateType, eV as RateTypeWithLiterals, dZ as RemovedLocationSessionsAction, d_ as RemovedLocationSessionsActionActionOptionsOneOf, aC as RequestedFields, fm as RequestedFieldsWithLiterals, bg as ReschedulePolicy, aN as ResolutionMethod, fx as ResolutionMethodWithLiterals, bA as ResourceGroup, bB as ResourceIds, b$ as ResourceSelection, bE as ResourceType, bj as ResourcesPolicy, cn as RestoreInfo, dA as Results, bn as SaveCreditCardPolicy, dc as ScalarAggregation, dx as ScalarResult, ax as ScalarType, fh as ScalarTypeWithLiterals, bt as Schedule, dj as SearchDetails, d2 as SearchServicesRequest, an as SelectedPaymentOption, f7 as SelectedPaymentOptionWithLiterals, aj as SelectionMethod, f3 as SelectionMethodWithLiterals, bI as SeoSchema, cJ as ServiceAvailabilityConstraints, cf as ServiceChoice, cg as ServiceChoiceChoiceOneOf, ce as ServiceChoices, eR as ServiceQuerySpec, bC as ServiceResource, bD as ServiceResourceSelectionOneOf, eS as ServiceSearchSpec, a8 as ServiceType, eU as ServiceTypeWithLiterals, eQ as ServicesQueryResult, bQ as ServicesUrlsChanged, eM as SetAddOnsForGroupRequest, bP as SetCustomSlugEvent, e4 as SetCustomSlugRequest, dY as SetServiceLocationsRequest, bL as Settings, eD as SiteCloned, eC as SiteCreated, el as SitePropertiesEvent, ek as SitePropertiesNotification, bF as Slug, av as SortDirection, ff as SortDirectionWithLiterals, at as SortOrder, fd as SortOrderWithLiterals, au as SortType, fe as SortTypeWithLiterals, cY as Sorting, ad as SortingMethodType, eZ as SortingMethodTypeWithLiterals, eu as SpecialHourPeriod, cK as SplitInterval, bx as StaffMediaItem, by as StaffMediaItemItemOneOf, bw as StaffMember, bz as StaffMemberDetails, bo as StaffSortingPolicy, bp as StaffSortingPolicyOptionsOneOf, aG as Status, fq as StatusWithLiterals, c4 as StreetAddress, c6 as Subdivision, ew as SupportedLanguage, bK as Tag, bN as TaxableAddress, ag as TaxableAddressType, f0 as TaxableAddressTypeWithLiterals, et as TimePeriod, ae as Timing, e_ as TimingWithLiterals, ey as Translation, bG as URLs, eH as UpdateAddOnGroupRequest, cL as UpdateServiceRequest, cM as UpdateServiceResponse, eh as UserDomainInfoChangedEvent, aR as V2Category, bv as V2Duration, b2 as V2Location, b3 as V2LocationOptionsOneOf, cR as V2ParticipantNotification, bO as V2PhoneCall, as as V2RequestedFields, fc as V2RequestedFieldsWithLiterals, ep as V4Address, cx as ValidateServiceRequest, cy as ValidateServiceResponse, e5 as ValidateSlugRequest, d9 as ValueAggregation, da as ValueAggregationOptionsOneOf, dm as ValueAggregationResult, dv as ValueResult, dr as ValueResults, ak as ValueType, f4 as ValueTypeWithLiterals, aZ as VariedPayment, bh as WaitlistPolicy, ar as WebhookIdentityType, fb as WebhookIdentityTypeWithLiterals, eT as utils } from './bookings-services-v2-service-services.universal-C0H_b4ny.js';
|
|
4
4
|
|
|
5
5
|
declare function createService$1(httpClient: HttpClient): CreateServiceSignature;
|
|
6
6
|
interface CreateServiceSignature {
|
package/build/cjs/index.js
CHANGED
|
@@ -1820,6 +1820,7 @@ var import_page_url_v2 = require("@wix/sdk-runtime/transformations/page-url-v2")
|
|
|
1820
1820
|
var import_page_url_v22 = require("@wix/sdk-runtime/transformations/page-url-v2");
|
|
1821
1821
|
var import_transform_paths2 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
1822
1822
|
var import_query_builder_utils = require("@wix/sdk-runtime/query-builder-utils");
|
|
1823
|
+
var import_search_builder_utils = require("@wix/sdk-runtime/search-builder-utils");
|
|
1823
1824
|
var ServiceType = /* @__PURE__ */ ((ServiceType2) => {
|
|
1824
1825
|
ServiceType2["APPOINTMENT"] = "APPOINTMENT";
|
|
1825
1826
|
ServiceType2["CLASS"] = "CLASS";
|
|
@@ -2813,7 +2814,12 @@ async function typedQueryServices(query, options) {
|
|
|
2813
2814
|
}
|
|
2814
2815
|
}
|
|
2815
2816
|
var utils = {
|
|
2816
|
-
|
|
2817
|
+
query: {
|
|
2818
|
+
...(0, import_query_builder_utils.createQueryUtils)()
|
|
2819
|
+
},
|
|
2820
|
+
search: {
|
|
2821
|
+
...(0, import_search_builder_utils.createSearchUtils)()
|
|
2822
|
+
}
|
|
2817
2823
|
};
|
|
2818
2824
|
async function searchServices2(search) {
|
|
2819
2825
|
const { httpClient, sideEffects } = arguments[1];
|