@wix/auto_sdk_bookings_services 1.0.153 → 1.0.154

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.
Files changed (33) hide show
  1. package/build/cjs/{bookings-services-v2-service-services.universal-D3Z_NCTa.d.ts → bookings-services-v2-service-services.universal-MfJJvs54.d.ts} +10 -2
  2. package/build/cjs/index.d.ts +10 -26
  3. package/build/cjs/index.js +87 -6
  4. package/build/cjs/index.js.map +1 -1
  5. package/build/cjs/index.typings.d.ts +2 -2
  6. package/build/cjs/index.typings.js +66 -4
  7. package/build/cjs/index.typings.js.map +1 -1
  8. package/build/cjs/meta.d.ts +1 -1
  9. package/build/es/{bookings-services-v2-service-services.universal-D3Z_NCTa.d.mts → bookings-services-v2-service-services.universal-MfJJvs54.d.mts} +10 -2
  10. package/build/es/index.d.mts +10 -26
  11. package/build/es/index.mjs +87 -6
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +2 -2
  14. package/build/es/index.typings.mjs +65 -4
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +1 -1
  17. package/build/internal/cjs/{bookings-services-v2-service-services.universal-D3Z_NCTa.d.ts → bookings-services-v2-service-services.universal-MfJJvs54.d.ts} +10 -2
  18. package/build/internal/cjs/index.d.ts +10 -26
  19. package/build/internal/cjs/index.js +87 -6
  20. package/build/internal/cjs/index.js.map +1 -1
  21. package/build/internal/cjs/index.typings.d.ts +2 -2
  22. package/build/internal/cjs/index.typings.js +66 -4
  23. package/build/internal/cjs/index.typings.js.map +1 -1
  24. package/build/internal/cjs/meta.d.ts +1 -1
  25. package/build/internal/es/{bookings-services-v2-service-services.universal-D3Z_NCTa.d.mts → bookings-services-v2-service-services.universal-MfJJvs54.d.mts} +10 -2
  26. package/build/internal/es/index.d.mts +10 -26
  27. package/build/internal/es/index.mjs +87 -6
  28. package/build/internal/es/index.mjs.map +1 -1
  29. package/build/internal/es/index.typings.d.mts +2 -2
  30. package/build/internal/es/index.typings.mjs +65 -4
  31. package/build/internal/es/index.typings.mjs.map +1 -1
  32. package/build/internal/es/meta.d.mts +1 -1
  33. package/package.json +3 -3
@@ -4314,7 +4314,9 @@ interface BulkDeleteServicesByFilterOptions {
4314
4314
  * @applicableIdentity APP
4315
4315
  * @fqn wix.bookings.services.v2.ServicesService.QueryServices
4316
4316
  */
4317
- declare function queryServices(): ServicesQueryBuilder;
4317
+ declare function queryServices(options?: QueryServicesOptions): ServicesQueryBuilder;
4318
+ interface QueryServicesOptions {
4319
+ }
4318
4320
  interface QueryOffsetResult {
4319
4321
  currentPage: number | undefined;
4320
4322
  totalPages: number | undefined;
@@ -4379,6 +4381,12 @@ interface ServicesQueryBuilder {
4379
4381
  skip: (skip: number) => ServicesQueryBuilder;
4380
4382
  find: () => Promise<ServicesQueryResult>;
4381
4383
  }
4384
+ /**
4385
+ * @hidden
4386
+ * @fqn wix.bookings.services.v2.ServicesService.QueryServices
4387
+ * @requiredField query
4388
+ */
4389
+ declare function typedQueryServices(query: QueryV2, options?: QueryServicesOptions): Promise<NonNullablePaths<QueryServicesResponse, `services` | `services.${number}.type` | `services.${number}.category._id` | `services.${number}.form._id` | `services.${number}.payment.rateType` | `services.${number}.payment.addOnOption` | `services.${number}.bookingPolicy._id` | `services.${number}.bookingPolicy.customPolicyDescription.enabled` | `services.${number}.bookingPolicy.customPolicyDescription.description` | `services.${number}.bookingPolicy.limitEarlyBookingPolicy.enabled` | `services.${number}.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `services.${number}.bookingPolicy.limitLateBookingPolicy.enabled` | `services.${number}.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `services.${number}.bookingPolicy.bookAfterStartPolicy.enabled` | `services.${number}.bookingPolicy.cancellationPolicy.enabled` | `services.${number}.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `services.${number}.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `services.${number}.bookingPolicy.reschedulePolicy.enabled` | `services.${number}.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `services.${number}.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `services.${number}.bookingPolicy.waitlistPolicy.enabled` | `services.${number}.bookingPolicy.waitlistPolicy.capacity` | `services.${number}.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `services.${number}.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `services.${number}.bookingPolicy.resourcesPolicy.enabled` | `services.${number}.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `services.${number}.bookingPolicy.cancellationFeePolicy.enabled` | `services.${number}.bookingPolicy.saveCreditCardPolicy.enabled` | `services.${number}.schedule.availabilityConstraints.timeBetweenSessions` | `services.${number}.seoData.settings.preventAutoRedirect` | `services.${number}.taxableAddress.taxableAddressType`, 6>>;
4382
4390
  interface ServiceSearchSpec extends SearchSpec {
4383
4391
  searchable: ['name'];
4384
4392
  aggregatable: [
@@ -4992,4 +5000,4 @@ interface ValidateSlugOptions {
4992
5000
  */
4993
5001
  declare function cloneService(sourceServiceId: string): Promise<NonNullablePaths<CloneServiceResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain` | `service.taxableAddress.taxableAddressType` | `errors`, 7>>;
4994
5002
 
4995
- export { type SetCustomSlugValidationErrors as $, type AddOnGroup as A, type BulkCreateServicesOptions as B, type CreateAddOnGroupOptions as C, type DeleteAddOnGroupOptions as D, type QueryBookingFormsResponse as E, type QueryBookingFormsApplicationErrors as F, type CountServicesOptions as G, type CountServicesResponse as H, type QueryLocationsOptions as I, type QueryLocationsResponse as J, type QueryCategoriesOptions as K, type ListAddOnGroupsByServiceIdOptions as L, type QueryCategoriesResponse as M, type Location as N, type SetServiceLocationsOptions as O, type SetServiceLocationsResponse as P, type QueryPoliciesResponse as Q, type EnablePricingPlansForServiceResponse as R, type SetAddOnsForGroupOptions as S, type EnablePricingPlansForServiceApplicationErrors as T, type UpdateAddOnGroupOptions as U, type DisablePricingPlansForServiceOptions as V, type DisablePricingPlansForServiceResponse as W, type DisablePricingPlansForServiceApplicationErrors as X, type SetCustomSlugOptions as Y, type SetCustomSlugResponse as Z, type SetCustomSlugApplicationErrors as _, type CreateAddOnGroupResponse as a, type LimitLateBookingPolicy as a$, type ValidateSlugOptions as a0, type ValidateSlugResponse as a1, type CloneServiceResponse as a2, type ServiceCreatedEnvelope as a3, type ServiceDeletedEnvelope as a4, type ServiceUpdatedEnvelope as a5, ServiceType as a6, RateType as a7, AddOnPaymentOptions as a8, LocationType as a9, DayOfWeek as aA, ResolutionMethod as aB, type Media as aC, type MediaItem as aD, type MediaItemItemOneOf as aE, type V2Category as aF, type Form as aG, type FormSettings as aH, type Payment as aI, type PaymentRateOneOf as aJ, type FixedPayment as aK, type Money as aL, type CustomPayment as aM, type VariedPayment as aN, type PaymentOptions as aO, type OnlineBooking as aP, type Conferencing as aQ, type LocationOptionsOneOf as aR, type CommonAddress as aS, type CommonAddressStreetOneOf as aT, type StreetAddress as aU, type AddressLocation as aV, type BusinessLocationOptions as aW, type CustomLocationOptions as aX, type BookingPolicy as aY, type PolicyDescription as aZ, type LimitEarlyBookingPolicy as a_, RankingOrder as aa, SortingMethodType as ab, Timing as ac, CompletionRequirement as ad, TaxableAddressType as ae, WebhookIdentityType as af, V2RequestedFields as ag, SortOrder as ah, SortType as ai, SortDirection as aj, MissingValues as ak, ScalarType as al, NestedAggregationType as am, Interval as an, AggregationType as ao, Mode as ap, RequestedFields as aq, Action as ar, InvalidSlugError as as, CloneErrors as at, Status as au, CategoryNotificationEvent as av, BenefitType as aw, Event as ax, CrudType as ay, PlacementType as az, type DeleteAddOnGroupApplicationErrors as b, type CreateServiceRequest as b$, type BookAfterStartPolicy as b0, type CancellationPolicy as b1, type ReschedulePolicy as b2, type WaitlistPolicy as b3, type ParticipantsPolicy as b4, type ResourcesPolicy as b5, type CancellationFeePolicy as b6, type CancellationWindow as b7, type CancellationWindowFeeOneOf as b8, type SaveCreditCardPolicy as b9, type PhoneCall as bA, type ReindexMessage as bB, type ReindexMessageActionOneOf as bC, type Upsert as bD, type Delete as bE, type Schema as bF, type SetCustomSlugEvent as bG, type ServicesUrlsChanged as bH, type DomainEvent as bI, type DomainEventBodyOneOf as bJ, type EntityCreatedEvent as bK, type RestoreInfo as bL, type EntityUpdatedEvent as bM, type EntityDeletedEvent as bN, type ActionEvent as bO, type MessageEnvelope as bP, type IdentificationData as bQ, type IdentificationDataIdOneOf as bR, type CreateAddOnGroupRequest as bS, type DeleteAddOnGroupRequest as bT, type DeleteAddOnGroupResponse as bU, type UpdateAddOnGroupRequest as bV, type ListAddOnGroupsByServiceIdRequest as bW, type AddOn as bX, type AddOnAddOnInfoOneOf as bY, type AddOnGroupDetail as bZ, type SetAddOnsForGroupRequest as b_, type StaffSortingPolicy as ba, type StaffSortingPolicyOptionsOneOf as bb, type RankingOptions as bc, type CustomOptions as bd, type IntakeFormPolicy as be, type Schedule as bf, type AvailabilityConstraints as bg, type Duration as bh, type StaffMember as bi, type StaffMediaItem as bj, type StaffMediaItemItemOneOf as bk, type StaffMemberDetails as bl, type ResourceGroup as bm, type ResourceIds as bn, type ServiceResource as bo, type ServiceResourceSelectionOneOf as bp, type ResourceType as bq, type Slug as br, type URLs as bs, type ExtendedFields as bt, type SeoSchema as bu, type Keyword as bv, type Tag as bw, type Settings as bx, type AddOnDetails as by, type TaxableAddress as bz, type UpdateAddOnGroupResponse as c, type RangeResult as c$, type CreateServiceResponse as c0, type ValidateServiceRequest as c1, type ValidateServiceResponse as c2, type FieldViolation as c3, type BulkCreateServicesRequest as c4, type BulkServiceResult as c5, type ItemMetadata as c6, type ApplicationError as c7, type BulkActionMetadata as c8, type GetServiceRequest as c9, type CursorSearchPagingMethodOneOf as cA, type Aggregation as cB, type AggregationKindOneOf as cC, type RangeBucket as cD, type IncludeMissingValuesOptions as cE, type ValueAggregation as cF, type ValueAggregationOptionsOneOf as cG, type RangeAggregation as cH, type ScalarAggregation as cI, type DateHistogramAggregation as cJ, type NestedAggregationItem as cK, type NestedAggregationItemKindOneOf as cL, type NestedAggregation as cM, type GroupByAggregation as cN, type GroupByAggregationKindOneOf as cO, type SearchDetails as cP, type CursorPagingMetadata as cQ, type AggregationData as cR, type ValueAggregationResult as cS, type RangeAggregationResult as cT, type NestedAggregationResults as cU, type NestedAggregationResultsResultOneOf as cV, type ValueResults as cW, type RangeResults as cX, type AggregationResultsScalarResult as cY, type NestedValueAggregationResult as cZ, type ValueResult as c_, type GetServiceResponse as ca, type GetServiceAvailabilityConstraintsRequest as cb, type GetServiceAvailabilityConstraintsResponse as cc, type ServiceAvailabilityConstraints as cd, type SplitInterval as ce, type UpdateServiceRequest as cf, type UpdateServiceResponse as cg, type BulkUpdateServicesRequest as ch, type MaskedService as ci, type BulkUpdateServicesByFilterRequest as cj, type DeleteServiceRequest as ck, type ParticipantNotification as cl, type DeleteServiceResponse as cm, type BulkDeleteServicesRequest as cn, type BulkDeleteServicesByFilterRequest as co, type QueryServicesRequest as cp, type QueryV2 as cq, type QueryV2PagingMethodOneOf as cr, type Sorting as cs, type Paging as ct, type CursorPaging as cu, type QueryServicesResponse as cv, type PagingMetadataV2 as cw, type Cursors as cx, type SearchServicesRequest as cy, type CursorSearch as cz, type UpdateAddOnGroupApplicationErrors as d, type SupportedLanguage as d$, type ScalarResult as d0, type NestedResultValue as d1, type NestedResultValueResultOneOf as d2, type Results as d3, type DateHistogramResult as d4, type GroupByValueResults as d5, type DateHistogramResults as d6, type NestedResults as d7, type AggregationResults as d8, type AggregationResultsResultOneOf as d9, type ValidateSlugRequest as dA, type CloneServiceRequest as dB, type CategoryNotification as dC, type Category as dD, type Empty as dE, type BenefitNotification as dF, type Benefit as dG, type EntryPass as dH, type Discount as dI, type DiscountDiscountOneOf as dJ, type Behavior as dK, type BehaviorBehaviorOneOf as dL, type UserDomainInfoChangedEvent as dM, type HtmlSitePublished as dN, type Page as dO, type SitePropertiesNotification as dP, type SitePropertiesEvent as dQ, type Properties as dR, type Categories as dS, type Locale as dT, type Address as dU, type AddressHint as dV, type GeoCoordinates as dW, type BusinessSchedule as dX, type TimePeriod as dY, type SpecialHourPeriod as dZ, type Multilingual as d_, type QueryPoliciesRequest as da, type CursorQueryPagingMethodOneOf as db, type BookingPolicyWithServices as dc, type QueryBookingFormsRequest as dd, type BookingForm as de, type FormDetails as df, type ConnectedService as dg, type CountServicesRequest as dh, type QueryLocationsRequest as di, type QueryLocationsFilter as dj, type BusinessLocations as dk, type CustomLocations as dl, type CustomerLocations as dm, type QueryCategoriesRequest as dn, type QueryCategoriesFilter as dp, type QueryServicesMultiLanguageRequest as dq, type QueryServicesMultiLanguageResponse as dr, type SetServiceLocationsRequest as ds, type RemovedLocationSessionsAction as dt, type RemovedLocationSessionsActionActionOptionsOneOf as du, type MoveToNewLocationsOptions as dv, type EnablePricingPlansForServiceRequest as dw, type InvalidPricingPlan as dx, type DisablePricingPlansForServiceRequest as dy, type SetCustomSlugRequest as dz, type ListAddOnGroupsByServiceIdResponse as e, queryBookingForms as e$, type ConsentPolicy as e0, type Translation as e1, type ChangeContext as e2, type ChangeContextPayloadOneOf as e3, type PropertiesChange as e4, type SiteCreated as e5, type SiteCloned as e6, type BaseEventMetadata as e7, type EventMetadata as e8, type ServicesQueryResult as e9, type CategoryNotificationEventWithLiterals as eA, type BenefitTypeWithLiterals as eB, type EventWithLiterals as eC, type CrudTypeWithLiterals as eD, type PlacementTypeWithLiterals as eE, type DayOfWeekWithLiterals as eF, type ResolutionMethodWithLiterals as eG, type CommonSearchWithEntityContext as eH, onServiceCreated as eI, onServiceDeleted as eJ, onServiceUpdated as eK, createAddOnGroup as eL, deleteAddOnGroup as eM, updateAddOnGroup as eN, listAddOnGroupsByServiceId as eO, setAddOnsForGroup as eP, createService as eQ, bulkCreateServices as eR, getService as eS, updateService as eT, bulkUpdateServices as eU, bulkUpdateServicesByFilter as eV, deleteService as eW, bulkDeleteServices as eX, bulkDeleteServicesByFilter as eY, queryServices as eZ, queryPolicies as e_, type ServiceSearchSpec as ea, type ServiceTypeWithLiterals as eb, type RateTypeWithLiterals as ec, type AddOnPaymentOptionsWithLiterals as ed, type LocationTypeWithLiterals as ee, type RankingOrderWithLiterals as ef, type SortingMethodTypeWithLiterals as eg, type TimingWithLiterals as eh, type CompletionRequirementWithLiterals as ei, type TaxableAddressTypeWithLiterals as ej, type WebhookIdentityTypeWithLiterals as ek, type V2RequestedFieldsWithLiterals as el, type SortOrderWithLiterals as em, type SortTypeWithLiterals as en, type SortDirectionWithLiterals as eo, type MissingValuesWithLiterals as ep, type ScalarTypeWithLiterals as eq, type NestedAggregationTypeWithLiterals as er, type IntervalWithLiterals as es, type AggregationTypeWithLiterals as et, type ModeWithLiterals as eu, type RequestedFieldsWithLiterals as ev, type ActionWithLiterals as ew, type InvalidSlugErrorWithLiterals as ex, type CloneErrorsWithLiterals as ey, type StatusWithLiterals as ez, type SetAddOnsForGroupResponse as f, countServices as f0, queryLocations as f1, queryCategories as f2, setServiceLocations as f3, enablePricingPlansForService as f4, disablePricingPlansForService as f5, setCustomSlug as f6, validateSlug as f7, cloneService as f8, type SetAddOnsForGroupApplicationErrors as g, type Service as h, type CreateServiceValidationErrors as i, type BulkCreateServicesResponse as j, type UpdateService as k, type UpdateServiceValidationErrors as l, type BulkUpdateServicesOptions as m, type BulkUpdateServicesResponse as n, type BulkUpdateServicesByFilterOptions as o, type BulkUpdateServicesByFilterResponse as p, type DeleteServiceOptions as q, type BulkDeleteServicesOptions as r, type BulkDeleteServicesResponse as s, type BulkDeleteServicesByFilterOptions as t, type BulkDeleteServicesByFilterResponse as u, type ServicesQueryBuilder as v, type ServiceSearch as w, type SearchServicesResponse as x, type CursorQuery as y, type QueryBookingFormsOptions as z };
5003
+ export { type ValidateSlugOptions as $, type AddOnGroup as A, type BulkCreateServicesOptions as B, type CreateAddOnGroupOptions as C, type DeleteAddOnGroupOptions as D, type QueryBookingFormsApplicationErrors as E, type CountServicesOptions as F, type CountServicesResponse as G, type QueryLocationsOptions as H, type QueryLocationsResponse as I, type QueryCategoriesOptions as J, type QueryCategoriesResponse as K, type ListAddOnGroupsByServiceIdOptions as L, type Location as M, type SetServiceLocationsOptions as N, type SetServiceLocationsResponse as O, type EnablePricingPlansForServiceResponse as P, type QueryPoliciesResponse as Q, type EnablePricingPlansForServiceApplicationErrors as R, type SetAddOnsForGroupOptions as S, type DisablePricingPlansForServiceOptions as T, type UpdateAddOnGroupOptions as U, type DisablePricingPlansForServiceResponse as V, type DisablePricingPlansForServiceApplicationErrors as W, type SetCustomSlugOptions as X, type SetCustomSlugResponse as Y, type SetCustomSlugApplicationErrors as Z, type SetCustomSlugValidationErrors as _, type CreateAddOnGroupResponse as a, type BookingPolicy as a$, type ValidateSlugResponse as a0, type CloneServiceResponse as a1, type ServiceCreatedEnvelope as a2, type ServiceDeletedEnvelope as a3, type ServiceUpdatedEnvelope as a4, type QueryV2 as a5, typedQueryServices as a6, type QueryServicesOptions as a7, type ServicesQueryBuilder as a8, ServiceType as a9, Event as aA, CrudType as aB, PlacementType as aC, DayOfWeek as aD, ResolutionMethod as aE, type Media as aF, type MediaItem as aG, type MediaItemItemOneOf as aH, type V2Category as aI, type Form as aJ, type FormSettings as aK, type Payment as aL, type PaymentRateOneOf as aM, type FixedPayment as aN, type Money as aO, type CustomPayment as aP, type VariedPayment as aQ, type PaymentOptions as aR, type OnlineBooking as aS, type Conferencing as aT, type LocationOptionsOneOf as aU, type CommonAddress as aV, type CommonAddressStreetOneOf as aW, type StreetAddress as aX, type AddressLocation as aY, type BusinessLocationOptions as aZ, type CustomLocationOptions as a_, RateType as aa, AddOnPaymentOptions as ab, LocationType as ac, RankingOrder as ad, SortingMethodType as ae, Timing as af, CompletionRequirement as ag, TaxableAddressType as ah, WebhookIdentityType as ai, V2RequestedFields as aj, SortOrder as ak, SortType as al, SortDirection as am, MissingValues as an, ScalarType as ao, NestedAggregationType as ap, Interval as aq, AggregationType as ar, Mode as as, RequestedFields as at, Action as au, InvalidSlugError as av, CloneErrors as aw, Status as ax, CategoryNotificationEvent as ay, BenefitType as az, type DeleteAddOnGroupApplicationErrors as b, type AddOnAddOnInfoOneOf as b$, type PolicyDescription as b0, type LimitEarlyBookingPolicy as b1, type LimitLateBookingPolicy as b2, type BookAfterStartPolicy as b3, type CancellationPolicy as b4, type ReschedulePolicy as b5, type WaitlistPolicy as b6, type ParticipantsPolicy as b7, type ResourcesPolicy as b8, type CancellationFeePolicy as b9, type Settings as bA, type AddOnDetails as bB, type TaxableAddress as bC, type PhoneCall as bD, type ReindexMessage as bE, type ReindexMessageActionOneOf as bF, type Upsert as bG, type Delete as bH, type Schema as bI, type SetCustomSlugEvent as bJ, type ServicesUrlsChanged as bK, type DomainEvent as bL, type DomainEventBodyOneOf as bM, type EntityCreatedEvent as bN, type RestoreInfo as bO, type EntityUpdatedEvent as bP, type EntityDeletedEvent as bQ, type ActionEvent as bR, type MessageEnvelope as bS, type IdentificationData as bT, type IdentificationDataIdOneOf as bU, type CreateAddOnGroupRequest as bV, type DeleteAddOnGroupRequest as bW, type DeleteAddOnGroupResponse as bX, type UpdateAddOnGroupRequest as bY, type ListAddOnGroupsByServiceIdRequest as bZ, type AddOn as b_, type CancellationWindow as ba, type CancellationWindowFeeOneOf as bb, type SaveCreditCardPolicy as bc, type StaffSortingPolicy as bd, type StaffSortingPolicyOptionsOneOf as be, type RankingOptions as bf, type CustomOptions as bg, type IntakeFormPolicy as bh, type Schedule as bi, type AvailabilityConstraints as bj, type Duration as bk, type StaffMember as bl, type StaffMediaItem as bm, type StaffMediaItemItemOneOf as bn, type StaffMemberDetails as bo, type ResourceGroup as bp, type ResourceIds as bq, type ServiceResource as br, type ServiceResourceSelectionOneOf as bs, type ResourceType as bt, type Slug as bu, type URLs as bv, type ExtendedFields as bw, type SeoSchema as bx, type Keyword as by, type Tag as bz, type UpdateAddOnGroupResponse as c, type NestedValueAggregationResult as c$, type AddOnGroupDetail as c0, type SetAddOnsForGroupRequest as c1, type CreateServiceRequest as c2, type CreateServiceResponse as c3, type ValidateServiceRequest as c4, type ValidateServiceResponse as c5, type FieldViolation as c6, type BulkCreateServicesRequest as c7, type BulkServiceResult as c8, type ItemMetadata as c9, type SearchServicesRequest as cA, type CursorSearch as cB, type CursorSearchPagingMethodOneOf as cC, type Aggregation as cD, type AggregationKindOneOf as cE, type RangeBucket as cF, type IncludeMissingValuesOptions as cG, type ValueAggregation as cH, type ValueAggregationOptionsOneOf as cI, type RangeAggregation as cJ, type ScalarAggregation as cK, type DateHistogramAggregation as cL, type NestedAggregationItem as cM, type NestedAggregationItemKindOneOf as cN, type NestedAggregation as cO, type GroupByAggregation as cP, type GroupByAggregationKindOneOf as cQ, type SearchDetails as cR, type CursorPagingMetadata as cS, type AggregationData as cT, type ValueAggregationResult as cU, type RangeAggregationResult as cV, type NestedAggregationResults as cW, type NestedAggregationResultsResultOneOf as cX, type ValueResults as cY, type RangeResults as cZ, type AggregationResultsScalarResult as c_, type ApplicationError as ca, type BulkActionMetadata as cb, type GetServiceRequest as cc, type GetServiceResponse as cd, type GetServiceAvailabilityConstraintsRequest as ce, type GetServiceAvailabilityConstraintsResponse as cf, type ServiceAvailabilityConstraints as cg, type SplitInterval as ch, type UpdateServiceRequest as ci, type UpdateServiceResponse as cj, type BulkUpdateServicesRequest as ck, type MaskedService as cl, type BulkUpdateServicesByFilterRequest as cm, type DeleteServiceRequest as cn, type ParticipantNotification as co, type DeleteServiceResponse as cp, type BulkDeleteServicesRequest as cq, type BulkDeleteServicesByFilterRequest as cr, type QueryServicesRequest as cs, type QueryV2PagingMethodOneOf as ct, type Sorting as cu, type Paging as cv, type CursorPaging as cw, type QueryServicesResponse as cx, type PagingMetadataV2 as cy, type Cursors as cz, type UpdateAddOnGroupApplicationErrors as d, type SpecialHourPeriod as d$, type ValueResult as d0, type RangeResult as d1, type ScalarResult as d2, type NestedResultValue as d3, type NestedResultValueResultOneOf as d4, type Results as d5, type DateHistogramResult as d6, type GroupByValueResults as d7, type DateHistogramResults as d8, type NestedResults as d9, type DisablePricingPlansForServiceRequest as dA, type SetCustomSlugRequest as dB, type ValidateSlugRequest as dC, type CloneServiceRequest as dD, type CategoryNotification as dE, type Category as dF, type Empty as dG, type BenefitNotification as dH, type Benefit as dI, type EntryPass as dJ, type Discount as dK, type DiscountDiscountOneOf as dL, type Behavior as dM, type BehaviorBehaviorOneOf as dN, type UserDomainInfoChangedEvent as dO, type HtmlSitePublished as dP, type Page as dQ, type SitePropertiesNotification as dR, type SitePropertiesEvent as dS, type Properties as dT, type Categories as dU, type Locale as dV, type Address as dW, type AddressHint as dX, type GeoCoordinates as dY, type BusinessSchedule as dZ, type TimePeriod as d_, type AggregationResults as da, type AggregationResultsResultOneOf as db, type QueryPoliciesRequest as dc, type CursorQueryPagingMethodOneOf as dd, type BookingPolicyWithServices as de, type QueryBookingFormsRequest as df, type BookingForm as dg, type FormDetails as dh, type ConnectedService as di, type CountServicesRequest as dj, type QueryLocationsRequest as dk, type QueryLocationsFilter as dl, type BusinessLocations as dm, type CustomLocations as dn, type CustomerLocations as dp, type QueryCategoriesRequest as dq, type QueryCategoriesFilter as dr, type QueryServicesMultiLanguageRequest as ds, type QueryServicesMultiLanguageResponse as dt, type SetServiceLocationsRequest as du, type RemovedLocationSessionsAction as dv, type RemovedLocationSessionsActionActionOptionsOneOf as dw, type MoveToNewLocationsOptions as dx, type EnablePricingPlansForServiceRequest as dy, type InvalidPricingPlan as dz, type ListAddOnGroupsByServiceIdResponse as e, queryServices as e$, type Multilingual as e0, type SupportedLanguage as e1, type ConsentPolicy as e2, type Translation as e3, type ChangeContext as e4, type ChangeContextPayloadOneOf as e5, type PropertiesChange as e6, type SiteCreated as e7, type SiteCloned as e8, type BaseEventMetadata as e9, type CloneErrorsWithLiterals as eA, type StatusWithLiterals as eB, type CategoryNotificationEventWithLiterals as eC, type BenefitTypeWithLiterals as eD, type EventWithLiterals as eE, type CrudTypeWithLiterals as eF, type PlacementTypeWithLiterals as eG, type DayOfWeekWithLiterals as eH, type ResolutionMethodWithLiterals as eI, type CommonSearchWithEntityContext as eJ, onServiceCreated as eK, onServiceDeleted as eL, onServiceUpdated as eM, createAddOnGroup as eN, deleteAddOnGroup as eO, updateAddOnGroup as eP, listAddOnGroupsByServiceId as eQ, setAddOnsForGroup as eR, createService as eS, bulkCreateServices as eT, getService as eU, updateService as eV, bulkUpdateServices as eW, bulkUpdateServicesByFilter as eX, deleteService as eY, bulkDeleteServices as eZ, bulkDeleteServicesByFilter as e_, type EventMetadata as ea, type ServicesQueryResult as eb, type ServiceSearchSpec as ec, type ServiceTypeWithLiterals as ed, type RateTypeWithLiterals as ee, type AddOnPaymentOptionsWithLiterals as ef, type LocationTypeWithLiterals as eg, type RankingOrderWithLiterals as eh, type SortingMethodTypeWithLiterals as ei, type TimingWithLiterals as ej, type CompletionRequirementWithLiterals as ek, type TaxableAddressTypeWithLiterals as el, type WebhookIdentityTypeWithLiterals as em, type V2RequestedFieldsWithLiterals as en, type SortOrderWithLiterals as eo, type SortTypeWithLiterals as ep, type SortDirectionWithLiterals as eq, type MissingValuesWithLiterals as er, type ScalarTypeWithLiterals as es, type NestedAggregationTypeWithLiterals as et, type IntervalWithLiterals as eu, type AggregationTypeWithLiterals as ev, type ModeWithLiterals as ew, type RequestedFieldsWithLiterals as ex, type ActionWithLiterals as ey, type InvalidSlugErrorWithLiterals as ez, type SetAddOnsForGroupResponse as f, queryPolicies as f0, queryBookingForms as f1, countServices as f2, queryLocations as f3, queryCategories as f4, setServiceLocations as f5, enablePricingPlansForService as f6, disablePricingPlansForService as f7, setCustomSlug as f8, validateSlug as f9, cloneService as fa, type SetAddOnsForGroupApplicationErrors as g, type Service as h, type CreateServiceValidationErrors as i, type BulkCreateServicesResponse as j, type UpdateService as k, type UpdateServiceValidationErrors as l, type BulkUpdateServicesOptions as m, type BulkUpdateServicesResponse as n, type BulkUpdateServicesByFilterOptions as o, type BulkUpdateServicesByFilterResponse as p, type DeleteServiceOptions as q, type BulkDeleteServicesOptions as r, type BulkDeleteServicesResponse as s, type BulkDeleteServicesByFilterOptions as t, type BulkDeleteServicesByFilterResponse as u, type ServiceSearch as v, type SearchServicesResponse as w, type CursorQuery as x, type QueryBookingFormsOptions as y, type QueryBookingFormsResponse as z };
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
- import { A as AddOnGroup, C as CreateAddOnGroupOptions, a as CreateAddOnGroupResponse, D as DeleteAddOnGroupOptions, b as DeleteAddOnGroupApplicationErrors, U as UpdateAddOnGroupOptions, c as UpdateAddOnGroupResponse, d as UpdateAddOnGroupApplicationErrors, L as ListAddOnGroupsByServiceIdOptions, e as ListAddOnGroupsByServiceIdResponse, S as SetAddOnsForGroupOptions, f as SetAddOnsForGroupResponse, g as SetAddOnsForGroupApplicationErrors, h as Service, i as CreateServiceValidationErrors, B as BulkCreateServicesOptions, j as BulkCreateServicesResponse, k as UpdateService, l as UpdateServiceValidationErrors, m as BulkUpdateServicesOptions, n as BulkUpdateServicesResponse, o as BulkUpdateServicesByFilterOptions, p as BulkUpdateServicesByFilterResponse, q as DeleteServiceOptions, r as BulkDeleteServicesOptions, s as BulkDeleteServicesResponse, t as BulkDeleteServicesByFilterOptions, u as BulkDeleteServicesByFilterResponse, v as ServicesQueryBuilder, w as ServiceSearch, x as SearchServicesResponse, y as CursorQuery, Q as QueryPoliciesResponse, z as QueryBookingFormsOptions, E as QueryBookingFormsResponse, F as QueryBookingFormsApplicationErrors, G as CountServicesOptions, H as CountServicesResponse, I as QueryLocationsOptions, J as QueryLocationsResponse, K as QueryCategoriesOptions, M as QueryCategoriesResponse, N as Location, O as SetServiceLocationsOptions, P as SetServiceLocationsResponse, R as EnablePricingPlansForServiceResponse, T as EnablePricingPlansForServiceApplicationErrors, V as DisablePricingPlansForServiceOptions, W as DisablePricingPlansForServiceResponse, X as DisablePricingPlansForServiceApplicationErrors, Y as SetCustomSlugOptions, Z as SetCustomSlugResponse, _ as SetCustomSlugApplicationErrors, $ as SetCustomSlugValidationErrors, a0 as ValidateSlugOptions, a1 as ValidateSlugResponse, a2 as CloneServiceResponse, a3 as ServiceCreatedEnvelope, a4 as ServiceDeletedEnvelope, a5 as ServiceUpdatedEnvelope } from './bookings-services-v2-service-services.universal-D3Z_NCTa.js';
3
- export { ar as Action, bO as ActionEvent, ew as ActionWithLiterals, bX as AddOn, bY as AddOnAddOnInfoOneOf, by as AddOnDetails, bZ as AddOnGroupDetail, a8 as AddOnPaymentOptions, ed as AddOnPaymentOptionsWithLiterals, dU as Address, dV as AddressHint, aV as AddressLocation, cB as Aggregation, cR as AggregationData, cC as AggregationKindOneOf, d8 as AggregationResults, d9 as AggregationResultsResultOneOf, cY as AggregationResultsScalarResult, ao as AggregationType, et as AggregationTypeWithLiterals, c7 as ApplicationError, bg as AvailabilityConstraints, e7 as BaseEventMetadata, dK as Behavior, dL as BehaviorBehaviorOneOf, dG as Benefit, dF as BenefitNotification, aw as BenefitType, eB as BenefitTypeWithLiterals, b0 as BookAfterStartPolicy, de as BookingForm, aY as BookingPolicy, dc as BookingPolicyWithServices, c8 as BulkActionMetadata, c4 as BulkCreateServicesRequest, co as BulkDeleteServicesByFilterRequest, cn as BulkDeleteServicesRequest, c5 as BulkServiceResult, cj as BulkUpdateServicesByFilterRequest, ch as BulkUpdateServicesRequest, aW as BusinessLocationOptions, dk as BusinessLocations, dX as BusinessSchedule, b6 as CancellationFeePolicy, b1 as CancellationPolicy, b7 as CancellationWindow, b8 as CancellationWindowFeeOneOf, dS as Categories, dD as Category, dC as CategoryNotification, av as CategoryNotificationEvent, eA as CategoryNotificationEventWithLiterals, e2 as ChangeContext, e3 as ChangeContextPayloadOneOf, at as CloneErrors, ey as CloneErrorsWithLiterals, dB as CloneServiceRequest, aS as CommonAddress, aT as CommonAddressStreetOneOf, eH as CommonSearchWithEntityContext, ad as CompletionRequirement, ei as CompletionRequirementWithLiterals, aQ as Conferencing, dg as ConnectedService, e0 as ConsentPolicy, dh as CountServicesRequest, bS as CreateAddOnGroupRequest, b$ as CreateServiceRequest, c0 as CreateServiceResponse, ay as CrudType, eD as CrudTypeWithLiterals, cu as CursorPaging, cQ as CursorPagingMetadata, db as CursorQueryPagingMethodOneOf, cz as CursorSearch, cA as CursorSearchPagingMethodOneOf, cx as Cursors, aX as CustomLocationOptions, dl as CustomLocations, bd as CustomOptions, aM as CustomPayment, dm as CustomerLocations, cJ as DateHistogramAggregation, d4 as DateHistogramResult, d6 as DateHistogramResults, aA as DayOfWeek, eF as DayOfWeekWithLiterals, bE as Delete, bT as DeleteAddOnGroupRequest, bU as DeleteAddOnGroupResponse, ck as DeleteServiceRequest, cm as DeleteServiceResponse, dy as DisablePricingPlansForServiceRequest, dI as Discount, dJ as DiscountDiscountOneOf, bI as DomainEvent, bJ as DomainEventBodyOneOf, bh as Duration, dE as Empty, dw as EnablePricingPlansForServiceRequest, bK as EntityCreatedEvent, bN as EntityDeletedEvent, bM as EntityUpdatedEvent, dH as EntryPass, ax as Event, e8 as EventMetadata, eC as EventWithLiterals, bt as ExtendedFields, c3 as FieldViolation, aK as FixedPayment, aG as Form, df as FormDetails, aH as FormSettings, dW as GeoCoordinates, cb as GetServiceAvailabilityConstraintsRequest, cc as GetServiceAvailabilityConstraintsResponse, c9 as GetServiceRequest, ca as GetServiceResponse, cN as GroupByAggregation, cO as GroupByAggregationKindOneOf, d5 as GroupByValueResults, dN as HtmlSitePublished, bQ as IdentificationData, bR as IdentificationDataIdOneOf, cE as IncludeMissingValuesOptions, be as IntakeFormPolicy, an as Interval, es as IntervalWithLiterals, dx as InvalidPricingPlan, as as InvalidSlugError, ex as InvalidSlugErrorWithLiterals, c6 as ItemMetadata, bv as Keyword, a_ as LimitEarlyBookingPolicy, a$ as LimitLateBookingPolicy, bW as ListAddOnGroupsByServiceIdRequest, dT as Locale, aR as LocationOptionsOneOf, a9 as LocationType, ee as LocationTypeWithLiterals, ci as MaskedService, aC as Media, aD as MediaItem, aE as MediaItemItemOneOf, bP as MessageEnvelope, ak as MissingValues, ep as MissingValuesWithLiterals, ap as Mode, eu as ModeWithLiterals, aL as Money, dv as MoveToNewLocationsOptions, d_ as Multilingual, cM as NestedAggregation, cK as NestedAggregationItem, cL as NestedAggregationItemKindOneOf, cU as NestedAggregationResults, cV as NestedAggregationResultsResultOneOf, am as NestedAggregationType, er as NestedAggregationTypeWithLiterals, d1 as NestedResultValue, d2 as NestedResultValueResultOneOf, d7 as NestedResults, cZ as NestedValueAggregationResult, aP as OnlineBooking, dO as Page, ct as Paging, cw as PagingMetadataV2, cl as ParticipantNotification, b4 as ParticipantsPolicy, aI as Payment, aO as PaymentOptions, aJ as PaymentRateOneOf, bA as PhoneCall, az as PlacementType, eE as PlacementTypeWithLiterals, aZ as PolicyDescription, dR as Properties, e4 as PropertiesChange, dd as QueryBookingFormsRequest, dp as QueryCategoriesFilter, dn as QueryCategoriesRequest, dj as QueryLocationsFilter, di as QueryLocationsRequest, da as QueryPoliciesRequest, dq as QueryServicesMultiLanguageRequest, dr as QueryServicesMultiLanguageResponse, cp as QueryServicesRequest, cv as QueryServicesResponse, cq as QueryV2, cr as QueryV2PagingMethodOneOf, cH as RangeAggregation, cT as RangeAggregationResult, cD as RangeBucket, c$ as RangeResult, cX as RangeResults, bc as RankingOptions, aa as RankingOrder, ef as RankingOrderWithLiterals, a7 as RateType, ec as RateTypeWithLiterals, bB as ReindexMessage, bC as ReindexMessageActionOneOf, dt as RemovedLocationSessionsAction, du as RemovedLocationSessionsActionActionOptionsOneOf, aq as RequestedFields, ev as RequestedFieldsWithLiterals, b2 as ReschedulePolicy, aB as ResolutionMethod, eG as ResolutionMethodWithLiterals, bm as ResourceGroup, bn as ResourceIds, bq as ResourceType, b5 as ResourcesPolicy, bL as RestoreInfo, d3 as Results, b9 as SaveCreditCardPolicy, cI as ScalarAggregation, d0 as ScalarResult, al as ScalarType, eq as ScalarTypeWithLiterals, bf as Schedule, bF as Schema, cP as SearchDetails, cy as SearchServicesRequest, bu as SeoSchema, cd as ServiceAvailabilityConstraints, bo as ServiceResource, bp as ServiceResourceSelectionOneOf, ea as ServiceSearchSpec, a6 as ServiceType, eb as ServiceTypeWithLiterals, e9 as ServicesQueryResult, bH as ServicesUrlsChanged, b_ as SetAddOnsForGroupRequest, bG as SetCustomSlugEvent, dz as SetCustomSlugRequest, ds as SetServiceLocationsRequest, bx as Settings, e6 as SiteCloned, e5 as SiteCreated, dQ as SitePropertiesEvent, dP as SitePropertiesNotification, br as Slug, aj as SortDirection, eo as SortDirectionWithLiterals, ah as SortOrder, em as SortOrderWithLiterals, ai as SortType, en as SortTypeWithLiterals, cs as Sorting, ab as SortingMethodType, eg as SortingMethodTypeWithLiterals, dZ as SpecialHourPeriod, ce as SplitInterval, bj as StaffMediaItem, bk as StaffMediaItemItemOneOf, bi as StaffMember, bl as StaffMemberDetails, ba as StaffSortingPolicy, bb as StaffSortingPolicyOptionsOneOf, au as Status, ez as StatusWithLiterals, aU as StreetAddress, d$ as SupportedLanguage, bw as Tag, bz as TaxableAddress, ae as TaxableAddressType, ej as TaxableAddressTypeWithLiterals, dY as TimePeriod, ac as Timing, eh as TimingWithLiterals, e1 as Translation, bs as URLs, bV as UpdateAddOnGroupRequest, cf as UpdateServiceRequest, cg as UpdateServiceResponse, bD as Upsert, dM as UserDomainInfoChangedEvent, aF as V2Category, ag as V2RequestedFields, el as V2RequestedFieldsWithLiterals, c1 as ValidateServiceRequest, c2 as ValidateServiceResponse, dA as ValidateSlugRequest, cF as ValueAggregation, cG as ValueAggregationOptionsOneOf, cS as ValueAggregationResult, c_ as ValueResult, cW as ValueResults, aN as VariedPayment, b3 as WaitlistPolicy, af as WebhookIdentityType, ek as WebhookIdentityTypeWithLiterals } from './bookings-services-v2-service-services.universal-D3Z_NCTa.js';
2
+ import { A as AddOnGroup, C as CreateAddOnGroupOptions, a as CreateAddOnGroupResponse, D as DeleteAddOnGroupOptions, b as DeleteAddOnGroupApplicationErrors, U as UpdateAddOnGroupOptions, c as UpdateAddOnGroupResponse, d as UpdateAddOnGroupApplicationErrors, L as ListAddOnGroupsByServiceIdOptions, e as ListAddOnGroupsByServiceIdResponse, S as SetAddOnsForGroupOptions, f as SetAddOnsForGroupResponse, g as SetAddOnsForGroupApplicationErrors, h as Service, i as CreateServiceValidationErrors, B as BulkCreateServicesOptions, j as BulkCreateServicesResponse, k as UpdateService, l as UpdateServiceValidationErrors, m as BulkUpdateServicesOptions, n as BulkUpdateServicesResponse, o as BulkUpdateServicesByFilterOptions, p as BulkUpdateServicesByFilterResponse, q as DeleteServiceOptions, r as BulkDeleteServicesOptions, s as BulkDeleteServicesResponse, t as BulkDeleteServicesByFilterOptions, u as BulkDeleteServicesByFilterResponse, v as ServiceSearch, w as SearchServicesResponse, x as CursorQuery, Q as QueryPoliciesResponse, y as QueryBookingFormsOptions, z as QueryBookingFormsResponse, E as QueryBookingFormsApplicationErrors, F as CountServicesOptions, G as CountServicesResponse, H as QueryLocationsOptions, I as QueryLocationsResponse, J as QueryCategoriesOptions, K as QueryCategoriesResponse, M as Location, N as SetServiceLocationsOptions, O as SetServiceLocationsResponse, P as EnablePricingPlansForServiceResponse, R as EnablePricingPlansForServiceApplicationErrors, T as DisablePricingPlansForServiceOptions, V as DisablePricingPlansForServiceResponse, W as DisablePricingPlansForServiceApplicationErrors, X as SetCustomSlugOptions, Y as SetCustomSlugResponse, Z as SetCustomSlugApplicationErrors, _ as SetCustomSlugValidationErrors, $ as ValidateSlugOptions, a0 as ValidateSlugResponse, a1 as CloneServiceResponse, a2 as ServiceCreatedEnvelope, a3 as ServiceDeletedEnvelope, a4 as ServiceUpdatedEnvelope, a5 as QueryV2, a6 as typedQueryServices, a7 as QueryServicesOptions, a8 as ServicesQueryBuilder } from './bookings-services-v2-service-services.universal-MfJJvs54.js';
3
+ export { au as Action, bR as ActionEvent, ey as ActionWithLiterals, b_ as AddOn, b$ as AddOnAddOnInfoOneOf, bB as AddOnDetails, c0 as AddOnGroupDetail, ab as AddOnPaymentOptions, ef as AddOnPaymentOptionsWithLiterals, dW as Address, dX as AddressHint, aY as AddressLocation, cD as Aggregation, cT as AggregationData, cE as AggregationKindOneOf, da as AggregationResults, db as AggregationResultsResultOneOf, c_ as AggregationResultsScalarResult, ar as AggregationType, ev as AggregationTypeWithLiterals, ca as ApplicationError, bj as AvailabilityConstraints, e9 as BaseEventMetadata, dM as Behavior, dN as BehaviorBehaviorOneOf, dI as Benefit, dH as BenefitNotification, az as BenefitType, eD as BenefitTypeWithLiterals, b3 as BookAfterStartPolicy, dg as BookingForm, a$ as BookingPolicy, de as BookingPolicyWithServices, cb as BulkActionMetadata, c7 as BulkCreateServicesRequest, cr as BulkDeleteServicesByFilterRequest, cq as BulkDeleteServicesRequest, c8 as BulkServiceResult, cm as BulkUpdateServicesByFilterRequest, ck as BulkUpdateServicesRequest, aZ as BusinessLocationOptions, dm as BusinessLocations, dZ as BusinessSchedule, b9 as CancellationFeePolicy, b4 as CancellationPolicy, ba as CancellationWindow, bb as CancellationWindowFeeOneOf, dU as Categories, dF as Category, dE as CategoryNotification, ay as CategoryNotificationEvent, eC as CategoryNotificationEventWithLiterals, e4 as ChangeContext, e5 as ChangeContextPayloadOneOf, aw as CloneErrors, eA as CloneErrorsWithLiterals, dD as CloneServiceRequest, aV as CommonAddress, aW as CommonAddressStreetOneOf, eJ as CommonSearchWithEntityContext, ag as CompletionRequirement, ek as CompletionRequirementWithLiterals, aT as Conferencing, di as ConnectedService, e2 as ConsentPolicy, dj as CountServicesRequest, bV as CreateAddOnGroupRequest, c2 as CreateServiceRequest, c3 as CreateServiceResponse, aB as CrudType, eF as CrudTypeWithLiterals, cw as CursorPaging, cS as CursorPagingMetadata, dd as CursorQueryPagingMethodOneOf, cB as CursorSearch, cC as CursorSearchPagingMethodOneOf, cz as Cursors, a_ as CustomLocationOptions, dn as CustomLocations, bg as CustomOptions, aP as CustomPayment, dp as CustomerLocations, cL as DateHistogramAggregation, d6 as DateHistogramResult, d8 as DateHistogramResults, aD as DayOfWeek, eH as DayOfWeekWithLiterals, bH as Delete, bW as DeleteAddOnGroupRequest, bX as DeleteAddOnGroupResponse, cn as DeleteServiceRequest, cp as DeleteServiceResponse, dA as DisablePricingPlansForServiceRequest, dK as Discount, dL as DiscountDiscountOneOf, bL as DomainEvent, bM as DomainEventBodyOneOf, bk as Duration, dG as Empty, dy as EnablePricingPlansForServiceRequest, bN as EntityCreatedEvent, bQ as EntityDeletedEvent, bP as EntityUpdatedEvent, dJ as EntryPass, aA as Event, ea as EventMetadata, eE as EventWithLiterals, bw as ExtendedFields, c6 as FieldViolation, aN as FixedPayment, aJ as Form, dh as FormDetails, aK as FormSettings, dY as GeoCoordinates, ce as GetServiceAvailabilityConstraintsRequest, cf as GetServiceAvailabilityConstraintsResponse, cc as GetServiceRequest, cd as GetServiceResponse, cP as GroupByAggregation, cQ as GroupByAggregationKindOneOf, d7 as GroupByValueResults, dP as HtmlSitePublished, bT as IdentificationData, bU as IdentificationDataIdOneOf, cG as IncludeMissingValuesOptions, bh as IntakeFormPolicy, aq as Interval, eu as IntervalWithLiterals, dz as InvalidPricingPlan, av as InvalidSlugError, ez as InvalidSlugErrorWithLiterals, c9 as ItemMetadata, by as Keyword, b1 as LimitEarlyBookingPolicy, b2 as LimitLateBookingPolicy, bZ as ListAddOnGroupsByServiceIdRequest, dV as Locale, aU as LocationOptionsOneOf, ac as LocationType, eg as LocationTypeWithLiterals, cl as MaskedService, aF as Media, aG as MediaItem, aH as MediaItemItemOneOf, bS as MessageEnvelope, an as MissingValues, er as MissingValuesWithLiterals, as as Mode, ew as ModeWithLiterals, aO as Money, dx as MoveToNewLocationsOptions, e0 as Multilingual, cO as NestedAggregation, cM as NestedAggregationItem, cN as NestedAggregationItemKindOneOf, cW as NestedAggregationResults, cX as NestedAggregationResultsResultOneOf, ap as NestedAggregationType, et as NestedAggregationTypeWithLiterals, d3 as NestedResultValue, d4 as NestedResultValueResultOneOf, d9 as NestedResults, c$ as NestedValueAggregationResult, aS as OnlineBooking, dQ as Page, cv as Paging, cy as PagingMetadataV2, co as ParticipantNotification, b7 as ParticipantsPolicy, aL as Payment, aR as PaymentOptions, aM as PaymentRateOneOf, bD as PhoneCall, aC as PlacementType, eG as PlacementTypeWithLiterals, b0 as PolicyDescription, dT as Properties, e6 as PropertiesChange, df as QueryBookingFormsRequest, dr as QueryCategoriesFilter, dq as QueryCategoriesRequest, dl as QueryLocationsFilter, dk as QueryLocationsRequest, dc as QueryPoliciesRequest, ds as QueryServicesMultiLanguageRequest, dt as QueryServicesMultiLanguageResponse, cs as QueryServicesRequest, cx as QueryServicesResponse, ct as QueryV2PagingMethodOneOf, cJ as RangeAggregation, cV as RangeAggregationResult, cF as RangeBucket, d1 as RangeResult, cZ as RangeResults, bf as RankingOptions, ad as RankingOrder, eh as RankingOrderWithLiterals, aa as RateType, ee as RateTypeWithLiterals, bE as ReindexMessage, bF as ReindexMessageActionOneOf, dv as RemovedLocationSessionsAction, dw as RemovedLocationSessionsActionActionOptionsOneOf, at as RequestedFields, ex as RequestedFieldsWithLiterals, b5 as ReschedulePolicy, aE as ResolutionMethod, eI as ResolutionMethodWithLiterals, bp as ResourceGroup, bq as ResourceIds, bt as ResourceType, b8 as ResourcesPolicy, bO as RestoreInfo, d5 as Results, bc as SaveCreditCardPolicy, cK as ScalarAggregation, d2 as ScalarResult, ao as ScalarType, es as ScalarTypeWithLiterals, bi as Schedule, bI as Schema, cR as SearchDetails, cA as SearchServicesRequest, bx as SeoSchema, cg as ServiceAvailabilityConstraints, br as ServiceResource, bs as ServiceResourceSelectionOneOf, ec as ServiceSearchSpec, a9 as ServiceType, ed as ServiceTypeWithLiterals, eb as ServicesQueryResult, bK as ServicesUrlsChanged, c1 as SetAddOnsForGroupRequest, bJ as SetCustomSlugEvent, dB as SetCustomSlugRequest, du as SetServiceLocationsRequest, bA as Settings, e8 as SiteCloned, e7 as SiteCreated, dS as SitePropertiesEvent, dR as SitePropertiesNotification, bu as Slug, am as SortDirection, eq as SortDirectionWithLiterals, ak as SortOrder, eo as SortOrderWithLiterals, al as SortType, ep as SortTypeWithLiterals, cu as Sorting, ae as SortingMethodType, ei as SortingMethodTypeWithLiterals, d$ as SpecialHourPeriod, ch as SplitInterval, bm as StaffMediaItem, bn as StaffMediaItemItemOneOf, bl as StaffMember, bo as StaffMemberDetails, bd as StaffSortingPolicy, be as StaffSortingPolicyOptionsOneOf, ax as Status, eB as StatusWithLiterals, aX as StreetAddress, e1 as SupportedLanguage, bz as Tag, bC as TaxableAddress, ah as TaxableAddressType, el as TaxableAddressTypeWithLiterals, d_ as TimePeriod, af as Timing, ej as TimingWithLiterals, e3 as Translation, bv as URLs, bY as UpdateAddOnGroupRequest, ci as UpdateServiceRequest, cj as UpdateServiceResponse, bG as Upsert, dO as UserDomainInfoChangedEvent, aI as V2Category, aj as V2RequestedFields, en as V2RequestedFieldsWithLiterals, c4 as ValidateServiceRequest, c5 as ValidateServiceResponse, dC as ValidateSlugRequest, cH as ValueAggregation, cI as ValueAggregationOptionsOneOf, cU as ValueAggregationResult, d0 as ValueResult, cY as ValueResults, aQ as VariedPayment, b6 as WaitlistPolicy, ai as WebhookIdentityType, em as WebhookIdentityTypeWithLiterals } from './bookings-services-v2-service-services.universal-MfJJvs54.js';
4
4
 
5
5
  declare function createAddOnGroup$1(httpClient: HttpClient): CreateAddOnGroupSignature;
6
6
  interface CreateAddOnGroupSignature {
@@ -255,28 +255,6 @@ interface BulkDeleteServicesByFilterSignature {
255
255
  */
256
256
  (filter: Record<string, any>, options?: BulkDeleteServicesByFilterOptions): Promise<NonNullablePaths<BulkDeleteServicesByFilterResponse, `jobId`, 2>>;
257
257
  }
258
- declare function queryServices$1(httpClient: HttpClient): QueryServicesSignature;
259
- interface QueryServicesSignature {
260
- /**
261
- * Creates a query to retrieve a list of `service` objects.
262
- *
263
- * The `queryServices()` function builds a query to retrieve a list of `service` objects and returns a `ServicesQueryBuilder` object.
264
- *
265
- * The returned object contains the query definition, which is typically used to run the query using the [find()](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/services-query-builder/find) function.
266
- *
267
- * You can refine the query by chaining `ServicesQueryBuilder` functions onto the query. `ServicesQueryBuilder` functions enable you to sort, filter, and control the results that `queryServices()` returns.
268
- *
269
- * `queryServices()` runs with the following `ServicesQueryBuilder` defaults that you can override:
270
- *
271
- * + `limit` is `100`.
272
- * + Sorted by `createdDate` in ascending order.
273
- *
274
- * The functions that are chained to `queryServices()` are applied in the order they are called. For example, if you apply `ascending("category.name")` and then `ascending("name")`, the results are sorted first by `category.name`, and then, if there are multiple results with the same `category.name`, the items are sorted by `name`.
275
- *
276
- * The following `ServicesQueryBuilder` functions are supported for the `queryServices()` function. For a full description of the `service` object, see the object returned for the [items](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/services-query-result/items) property in `ServicesQueryResult`.
277
- */
278
- (): ServicesQueryBuilder;
279
- }
280
258
  declare function searchServices$1(httpClient: HttpClient): SearchServicesSignature;
281
259
  interface SearchServicesSignature {
282
260
  /**
@@ -646,6 +624,12 @@ declare const onServiceCreated$1: EventDefinition<ServiceCreatedEnvelope, "wix.b
646
624
  declare const onServiceDeleted$1: EventDefinition<ServiceDeletedEnvelope, "wix.bookings.services.v2.service_deleted">;
647
625
  declare const onServiceUpdated$1: EventDefinition<ServiceUpdatedEnvelope, "wix.bookings.services.v2.service_updated">;
648
626
 
627
+ declare function customQueryServices(httpClient: HttpClient): {
628
+ (query: QueryV2): ReturnType<typeof typedQueryServices>;
629
+ (query: QueryV2, options: QueryServicesOptions): ReturnType<typeof typedQueryServices>;
630
+ (): ServicesQueryBuilder;
631
+ (options: QueryServicesOptions): ServicesQueryBuilder;
632
+ };
649
633
  declare const createAddOnGroup: MaybeContext<BuildRESTFunction<typeof createAddOnGroup$1> & typeof createAddOnGroup$1>;
650
634
  declare const deleteAddOnGroup: MaybeContext<BuildRESTFunction<typeof deleteAddOnGroup$1> & typeof deleteAddOnGroup$1>;
651
635
  declare const updateAddOnGroup: MaybeContext<BuildRESTFunction<typeof updateAddOnGroup$1> & typeof updateAddOnGroup$1>;
@@ -660,7 +644,6 @@ declare const bulkUpdateServicesByFilter: MaybeContext<BuildRESTFunction<typeof
660
644
  declare const deleteService: MaybeContext<BuildRESTFunction<typeof deleteService$1> & typeof deleteService$1>;
661
645
  declare const bulkDeleteServices: MaybeContext<BuildRESTFunction<typeof bulkDeleteServices$1> & typeof bulkDeleteServices$1>;
662
646
  declare const bulkDeleteServicesByFilter: MaybeContext<BuildRESTFunction<typeof bulkDeleteServicesByFilter$1> & typeof bulkDeleteServicesByFilter$1>;
663
- declare const queryServices: MaybeContext<BuildRESTFunction<typeof queryServices$1> & typeof queryServices$1>;
664
647
  declare const searchServices: MaybeContext<BuildRESTFunction<typeof searchServices$1> & typeof searchServices$1>;
665
648
  declare const queryPolicies: MaybeContext<BuildRESTFunction<typeof queryPolicies$1> & typeof queryPolicies$1>;
666
649
  declare const queryBookingForms: MaybeContext<BuildRESTFunction<typeof queryBookingForms$1> & typeof queryBookingForms$1>;
@@ -673,6 +656,7 @@ declare const disablePricingPlansForService: MaybeContext<BuildRESTFunction<type
673
656
  declare const setCustomSlug: MaybeContext<BuildRESTFunction<typeof setCustomSlug$1> & typeof setCustomSlug$1>;
674
657
  declare const validateSlug: MaybeContext<BuildRESTFunction<typeof validateSlug$1> & typeof validateSlug$1>;
675
658
  declare const cloneService: MaybeContext<BuildRESTFunction<typeof cloneService$1> & typeof cloneService$1>;
659
+ declare const queryServices: MaybeContext<BuildRESTFunction<typeof customQueryServices> & typeof customQueryServices>;
676
660
  /**
677
661
  * Triggered when a service is created.
678
662
  */
@@ -686,4 +670,4 @@ declare const onServiceDeleted: BuildEventDefinition<typeof onServiceDeleted$1>
686
670
  */
687
671
  declare const onServiceUpdated: BuildEventDefinition<typeof onServiceUpdated$1> & typeof onServiceUpdated$1;
688
672
 
689
- export { AddOnGroup, BulkCreateServicesOptions, BulkCreateServicesResponse, BulkDeleteServicesByFilterOptions, BulkDeleteServicesByFilterResponse, BulkDeleteServicesOptions, BulkDeleteServicesResponse, BulkUpdateServicesByFilterOptions, BulkUpdateServicesByFilterResponse, BulkUpdateServicesOptions, BulkUpdateServicesResponse, CloneServiceResponse, CountServicesOptions, CountServicesResponse, CreateAddOnGroupOptions, CreateAddOnGroupResponse, CreateServiceValidationErrors, CursorQuery, DeleteAddOnGroupApplicationErrors, DeleteAddOnGroupOptions, DeleteServiceOptions, DisablePricingPlansForServiceApplicationErrors, DisablePricingPlansForServiceOptions, DisablePricingPlansForServiceResponse, EnablePricingPlansForServiceApplicationErrors, EnablePricingPlansForServiceResponse, ListAddOnGroupsByServiceIdOptions, ListAddOnGroupsByServiceIdResponse, Location, QueryBookingFormsApplicationErrors, QueryBookingFormsOptions, QueryBookingFormsResponse, QueryCategoriesOptions, QueryCategoriesResponse, QueryLocationsOptions, QueryLocationsResponse, QueryPoliciesResponse, SearchServicesResponse, Service, ServiceCreatedEnvelope, ServiceDeletedEnvelope, ServiceSearch, ServiceUpdatedEnvelope, ServicesQueryBuilder, SetAddOnsForGroupApplicationErrors, SetAddOnsForGroupOptions, SetAddOnsForGroupResponse, SetCustomSlugApplicationErrors, SetCustomSlugOptions, SetCustomSlugResponse, SetCustomSlugValidationErrors, SetServiceLocationsOptions, SetServiceLocationsResponse, UpdateAddOnGroupApplicationErrors, UpdateAddOnGroupOptions, UpdateAddOnGroupResponse, UpdateService, UpdateServiceValidationErrors, ValidateSlugOptions, ValidateSlugResponse, bulkCreateServices, bulkDeleteServices, bulkDeleteServicesByFilter, bulkUpdateServices, bulkUpdateServicesByFilter, cloneService, countServices, createAddOnGroup, createService, deleteAddOnGroup, deleteService, disablePricingPlansForService, enablePricingPlansForService, getService, listAddOnGroupsByServiceId, onServiceCreated, onServiceDeleted, onServiceUpdated, queryBookingForms, queryCategories, queryLocations, queryPolicies, queryServices, searchServices, setAddOnsForGroup, setCustomSlug, setServiceLocations, updateAddOnGroup, updateService, validateSlug };
673
+ export { AddOnGroup, BulkCreateServicesOptions, BulkCreateServicesResponse, BulkDeleteServicesByFilterOptions, BulkDeleteServicesByFilterResponse, BulkDeleteServicesOptions, BulkDeleteServicesResponse, BulkUpdateServicesByFilterOptions, BulkUpdateServicesByFilterResponse, BulkUpdateServicesOptions, BulkUpdateServicesResponse, CloneServiceResponse, CountServicesOptions, CountServicesResponse, CreateAddOnGroupOptions, CreateAddOnGroupResponse, CreateServiceValidationErrors, CursorQuery, DeleteAddOnGroupApplicationErrors, DeleteAddOnGroupOptions, DeleteServiceOptions, DisablePricingPlansForServiceApplicationErrors, DisablePricingPlansForServiceOptions, DisablePricingPlansForServiceResponse, EnablePricingPlansForServiceApplicationErrors, EnablePricingPlansForServiceResponse, ListAddOnGroupsByServiceIdOptions, ListAddOnGroupsByServiceIdResponse, Location, QueryBookingFormsApplicationErrors, QueryBookingFormsOptions, QueryBookingFormsResponse, QueryCategoriesOptions, QueryCategoriesResponse, QueryLocationsOptions, QueryLocationsResponse, QueryPoliciesResponse, QueryServicesOptions, QueryV2, SearchServicesResponse, Service, ServiceCreatedEnvelope, ServiceDeletedEnvelope, ServiceSearch, ServiceUpdatedEnvelope, ServicesQueryBuilder, SetAddOnsForGroupApplicationErrors, SetAddOnsForGroupOptions, SetAddOnsForGroupResponse, SetCustomSlugApplicationErrors, SetCustomSlugOptions, SetCustomSlugResponse, SetCustomSlugValidationErrors, SetServiceLocationsOptions, SetServiceLocationsResponse, UpdateAddOnGroupApplicationErrors, UpdateAddOnGroupOptions, UpdateAddOnGroupResponse, UpdateService, UpdateServiceValidationErrors, ValidateSlugOptions, ValidateSlugResponse, bulkCreateServices, bulkDeleteServices, bulkDeleteServicesByFilter, bulkUpdateServices, bulkUpdateServicesByFilter, cloneService, countServices, createAddOnGroup, createService, deleteAddOnGroup, deleteService, disablePricingPlansForService, enablePricingPlansForService, getService, listAddOnGroupsByServiceId, onServiceCreated, onServiceDeleted, onServiceUpdated, queryBookingForms, queryCategories, queryLocations, queryPolicies, queryServices, searchServices, setAddOnsForGroup, setCustomSlug, setServiceLocations, updateAddOnGroup, updateService, validateSlug };
@@ -2742,11 +2742,14 @@ async function bulkDeleteServicesByFilter2(filter, options) {
2742
2742
  throw transformedError;
2743
2743
  }
2744
2744
  }
2745
- function queryServices2() {
2746
- const { httpClient, sideEffects } = arguments[0];
2745
+ function queryServices2(options) {
2746
+ const { httpClient, sideEffects } = arguments[1];
2747
2747
  return (0, import_query_builder.queryBuilder)({
2748
2748
  func: async (payload) => {
2749
- const reqOpts = queryServices(payload);
2749
+ const reqOpts = queryServices({
2750
+ ...payload,
2751
+ ...options ?? {}
2752
+ });
2750
2753
  sideEffects?.onSiteCall?.();
2751
2754
  try {
2752
2755
  const result = await httpClient.request(reqOpts);
@@ -2758,7 +2761,7 @@ function queryServices2() {
2758
2761
  }
2759
2762
  },
2760
2763
  requestTransformer: (query) => {
2761
- const args = [query, {}];
2764
+ const args = [query, options];
2762
2765
  return (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
2763
2766
  ...args?.[1],
2764
2767
  query: args?.[0]
@@ -2814,6 +2817,63 @@ function queryServices2() {
2814
2817
  transformationPaths: {}
2815
2818
  });
2816
2819
  }
2820
+ async function typedQueryServices(query, options) {
2821
+ const { httpClient, sideEffects } = arguments[2];
2822
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
2823
+ query,
2824
+ ...options
2825
+ });
2826
+ const reqOpts = queryServices(payload);
2827
+ sideEffects?.onSiteCall?.();
2828
+ try {
2829
+ const result = await httpClient.request(reqOpts);
2830
+ sideEffects?.onSuccess?.(result);
2831
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
2832
+ (0, import_transform_paths2.transformPaths)(result.data, [
2833
+ {
2834
+ transformFn: import_image2.transformRESTImageToSDKImage,
2835
+ paths: [
2836
+ { path: "services.media.items.image" },
2837
+ { path: "services.media.mainMedia.image" },
2838
+ { path: "services.media.coverMedia.image" },
2839
+ { path: "services.staffMembers.mainMedia.image" },
2840
+ {
2841
+ path: "services.staffMemberDetails.staffMembers.mainMedia.image"
2842
+ }
2843
+ ]
2844
+ },
2845
+ {
2846
+ transformFn: import_address2.transformRESTAddressToSDKAddress,
2847
+ paths: [
2848
+ { path: "services.locations.calculatedAddress" },
2849
+ { path: "services.locations.business.address" },
2850
+ { path: "services.locations.custom.address" }
2851
+ ]
2852
+ },
2853
+ {
2854
+ transformFn: import_page_url_v22.transformRESTPageURLV2ToSDKPageURLV2,
2855
+ paths: [
2856
+ { path: "services.urls.servicePage" },
2857
+ { path: "services.urls.bookingPage" },
2858
+ { path: "services.urls.calendarPage" }
2859
+ ]
2860
+ }
2861
+ ])
2862
+ );
2863
+ } catch (err) {
2864
+ const transformedError = (0, import_transform_error.transformError)(
2865
+ err,
2866
+ {
2867
+ spreadPathsToArguments: {},
2868
+ explicitPathsToArguments: { query: "$[0]" },
2869
+ singleArgumentUnchanged: false
2870
+ },
2871
+ ["query", "options"]
2872
+ );
2873
+ sideEffects?.onError?.(err);
2874
+ throw transformedError;
2875
+ }
2876
+ }
2817
2877
  async function searchServices2(search) {
2818
2878
  const { httpClient, sideEffects } = arguments[1];
2819
2879
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({ search });
@@ -3507,7 +3567,16 @@ function bulkDeleteServicesByFilter3(httpClient) {
3507
3567
  );
3508
3568
  }
3509
3569
  function queryServices3(httpClient) {
3510
- return () => queryServices2(
3570
+ return (options) => queryServices2(
3571
+ options,
3572
+ // @ts-ignore
3573
+ { httpClient }
3574
+ );
3575
+ }
3576
+ function typedQueryServices2(httpClient) {
3577
+ return (query, options) => typedQueryServices(
3578
+ query,
3579
+ options,
3511
3580
  // @ts-ignore
3512
3581
  { httpClient }
3513
3582
  );
@@ -3751,6 +3820,18 @@ var onServiceUpdated = (0, import_sdk_types.EventDefinition)(
3751
3820
  // src/bookings-services-v2-service-services.context.ts
3752
3821
  var import_rest_modules3 = require("@wix/sdk-runtime/rest-modules");
3753
3822
  var import_event_definition_modules = require("@wix/sdk-runtime/event-definition-modules");
3823
+ var import_query_method_router = require("@wix/sdk-runtime/query-method-router");
3824
+ function customQueryServices(httpClient) {
3825
+ const router = (0, import_query_method_router.createQueryOverloadRouter)({
3826
+ builderQueryFunction: (options) => queryServices3(httpClient)(options),
3827
+ typedQueryFunction: (query, options) => typedQueryServices2(httpClient)(query, options),
3828
+ hasOptionsParameter: true
3829
+ });
3830
+ function overloadedQuery(queryOrOptions, options) {
3831
+ return router(...arguments);
3832
+ }
3833
+ return overloadedQuery;
3834
+ }
3754
3835
  var createAddOnGroup4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(createAddOnGroup3);
3755
3836
  var deleteAddOnGroup4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(deleteAddOnGroup3);
3756
3837
  var updateAddOnGroup4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(updateAddOnGroup3);
@@ -3765,7 +3846,6 @@ var bulkUpdateServicesByFilter4 = /* @__PURE__ */ (0, import_rest_modules3.creat
3765
3846
  var deleteService4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(deleteService3);
3766
3847
  var bulkDeleteServices4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkDeleteServices3);
3767
3848
  var bulkDeleteServicesByFilter4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkDeleteServicesByFilter3);
3768
- var queryServices4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(queryServices3);
3769
3849
  var searchServices4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(searchServices3);
3770
3850
  var queryPolicies4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(queryPolicies3);
3771
3851
  var queryBookingForms4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(queryBookingForms3);
@@ -3778,6 +3858,7 @@ var disablePricingPlansForService4 = /* @__PURE__ */ (0, import_rest_modules3.cr
3778
3858
  var setCustomSlug4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(setCustomSlug3);
3779
3859
  var validateSlug4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(validateSlug3);
3780
3860
  var cloneService4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(cloneService3);
3861
+ var queryServices4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(customQueryServices);
3781
3862
  var onServiceCreated2 = (0, import_event_definition_modules.createEventModule)(onServiceCreated);
3782
3863
  var onServiceDeleted2 = (0, import_event_definition_modules.createEventModule)(onServiceDeleted);
3783
3864
  var onServiceUpdated2 = (0, import_event_definition_modules.createEventModule)(onServiceUpdated);