@wix/auto_sdk_bookings_services 1.0.71 → 1.0.73

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 (41) hide show
  1. package/build/cjs/{bookings-services-v2-service-services.universal-DYRSxPXw.d.ts → bookings-services-v2-service-services.universal-B_To7DFS.d.ts} +176 -13
  2. package/build/cjs/index.d.ts +120 -32
  3. package/build/cjs/index.js +469 -0
  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 +415 -0
  7. package/build/cjs/index.typings.js.map +1 -1
  8. package/build/cjs/meta.d.ts +203 -2
  9. package/build/cjs/meta.js +345 -0
  10. package/build/cjs/meta.js.map +1 -1
  11. package/build/es/{bookings-services-v2-service-services.universal-DYRSxPXw.d.mts → bookings-services-v2-service-services.universal-B_To7DFS.d.mts} +176 -13
  12. package/build/es/index.d.mts +120 -32
  13. package/build/es/index.mjs +463 -0
  14. package/build/es/index.mjs.map +1 -1
  15. package/build/es/index.typings.d.mts +2 -2
  16. package/build/es/index.typings.mjs +409 -0
  17. package/build/es/index.typings.mjs.map +1 -1
  18. package/build/es/meta.d.mts +203 -2
  19. package/build/es/meta.mjs +339 -0
  20. package/build/es/meta.mjs.map +1 -1
  21. package/build/internal/cjs/{bookings-services-v2-service-services.universal-DYRSxPXw.d.ts → bookings-services-v2-service-services.universal-B_To7DFS.d.ts} +176 -13
  22. package/build/internal/cjs/index.d.ts +120 -32
  23. package/build/internal/cjs/index.js +469 -0
  24. package/build/internal/cjs/index.js.map +1 -1
  25. package/build/internal/cjs/index.typings.d.ts +2 -2
  26. package/build/internal/cjs/index.typings.js +415 -0
  27. package/build/internal/cjs/index.typings.js.map +1 -1
  28. package/build/internal/cjs/meta.d.ts +203 -2
  29. package/build/internal/cjs/meta.js +345 -0
  30. package/build/internal/cjs/meta.js.map +1 -1
  31. package/build/internal/es/{bookings-services-v2-service-services.universal-DYRSxPXw.d.mts → bookings-services-v2-service-services.universal-B_To7DFS.d.mts} +176 -13
  32. package/build/internal/es/index.d.mts +120 -32
  33. package/build/internal/es/index.mjs +463 -0
  34. package/build/internal/es/index.mjs.map +1 -1
  35. package/build/internal/es/index.typings.d.mts +2 -2
  36. package/build/internal/es/index.typings.mjs +409 -0
  37. package/build/internal/es/index.typings.mjs.map +1 -1
  38. package/build/internal/es/meta.d.mts +203 -2
  39. package/build/internal/es/meta.mjs +339 -0
  40. package/build/internal/es/meta.mjs.map +1 -1
  41. package/package.json +3 -2
@@ -1,7 +1,69 @@
1
- import { HttpClient, 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 ServicesQueryBuilder, l as ServiceSearch, m as SearchServicesResponse, n as CursorQuery, Q as QueryPoliciesResponse, o as QueryBookingFormsOptions, p as QueryBookingFormsResponse, q as QueryBookingFormsApplicationErrors, r as CountServicesOptions, s as CountServicesResponse, t as QueryLocationsOptions, u as QueryLocationsResponse, v as QueryCategoriesOptions, w as QueryCategoriesResponse, L as Location, x as SetServiceLocationsOptions, y as SetServiceLocationsResponse, E as EnablePricingPlansForServiceResponse, z as EnablePricingPlansForServiceApplicationErrors, A as DisablePricingPlansForServiceOptions, F as DisablePricingPlansForServiceResponse, G as DisablePricingPlansForServiceApplicationErrors, H as SetCustomSlugOptions, I as SetCustomSlugResponse, J as SetCustomSlugApplicationErrors, K as SetCustomSlugValidationErrors, V as ValidateSlugOptions, M as ValidateSlugResponse, N as CloneServiceResponse, O as ServiceCreatedEnvelope, P as ServiceDeletedEnvelope, R as ServiceUpdatedEnvelope } from './bookings-services-v2-service-services.universal-DYRSxPXw.js';
3
- export { a8 as Action, bp as ActionEvent, bB as AddOn, bC as AddOnAddOnInfoOneOf, bb as AddOnDetails, ba as AddOnGroup, bD as AddOnGroupDetail, dC as Address, dD as AddressHint, aC as AddressLocation, cj as Aggregation, cz as AggregationData, ck as AggregationKindOneOf, cS as AggregationResults, cT as AggregationResultsResultOneOf, cG as AggregationResultsScalarResult, a5 as AggregationType, bR as ApplicationError, aU as AvailabilityConstraints, dR as BaseEventMetadata, ds as Behavior, dt as BehaviorBehaviorOneOf, dn as Benefit, dm as BenefitNotification, ad as BenefitType, aJ as BookAfterStartPolicy, cY as BookingForm, aF as BookingPolicy, cW as BookingPolicyWithServices, bS as BulkActionMetadata, bO as BulkCreateServicesRequest, c6 as BulkDeleteServicesByFilterRequest, c5 as BulkDeleteServicesRequest, bP as BulkServiceResult, c1 as BulkUpdateServicesByFilterRequest, b$ as BulkUpdateServicesRequest, aD as BusinessLocationOptions, d2 as BusinessLocations, dF as BusinessSchedule, aP as CancellationFeePolicy, aK as CancellationPolicy, aQ as CancellationWindow, aR as CancellationWindowFeeOneOf, dA as Categories, dk as Category, dj as CategoryNotification, ac as CategoryNotificationEvent, dM as ChangeContext, dN as ChangeContextPayloadOneOf, aa as CloneErrors, di as CloneServiceRequest, az as CommonAddress, aA as CommonAddressStreetOneOf, ax as Conferencing, c_ as ConnectedService, dK as ConsentPolicy, c$ as CountServicesRequest, bt as CreateAddOnGroupRequest, bu as CreateAddOnGroupResponse, bJ as CreateServiceRequest, bK as CreateServiceResponse, af as CrudType, cc as CursorPaging, cy as CursorPagingMetadata, cV as CursorQueryPagingMethodOneOf, ch as CursorSearch, ci as CursorSearchPagingMethodOneOf, cf as Cursors, aE as CustomLocationOptions, d3 as CustomLocations, at as CustomPayment, d4 as CustomerLocations, cr as DateHistogramAggregation, cO as DateHistogramResult, cQ as DateHistogramResults, ah as DayOfWeek, bf as Delete, bv as DeleteAddOnGroupRequest, bw as DeleteAddOnGroupResponse, c2 as DeleteServiceRequest, c4 as DeleteServiceResponse, df as DisablePricingPlansForServiceRequest, dq as Discount, dr as DiscountDiscountOneOf, bj as DomainEvent, bk as DomainEventBodyOneOf, aV as Duration, dl as Empty, dd as EnablePricingPlansForServiceRequest, bl as EntityCreatedEvent, bo as EntityDeletedEvent, bn as EntityUpdatedEvent, dp as EntryPass, ae as Event, dS as EventMetadata, b5 as ExtendedFields, bN as FieldViolation, ar as FixedPayment, an as Form, cZ as FormDetails, ao as FormSettings, dE as GeoCoordinates, bV as GetServiceAvailabilityConstraintsRequest, bW as GetServiceAvailabilityConstraintsResponse, bT as GetServiceRequest, bU as GetServiceResponse, cv as GroupByAggregation, cw as GroupByAggregationKindOneOf, cP as GroupByValueResults, dv as HtmlSitePublished, br as IdentificationData, bs as IdentificationDataIdOneOf, cm as IncludeMissingValuesOptions, a4 as Interval, de as InvalidPricingPlan, a9 as InvalidSlugError, bQ as ItemMetadata, b7 as Keyword, aH as LimitEarlyBookingPolicy, aI as LimitLateBookingPolicy, bz as ListAddOnGroupsByServiceIdRequest, bA as ListAddOnGroupsByServiceIdResponse, dB as Locale, ay as LocationOptionsOneOf, X as LocationType, c0 as MaskedService, aj as Media, ak as MediaItem, al as MediaItemItemOneOf, bq as MessageEnvelope, a1 as MissingValues, a6 as Mode, as as Money, dc as MoveToNewLocationsOptions, dI as Multilingual, cu as NestedAggregation, cs as NestedAggregationItem, ct as NestedAggregationItemKindOneOf, cC as NestedAggregationResults, cD as NestedAggregationResultsResultOneOf, a3 as NestedAggregationType, cL as NestedResultValue, cM as NestedResultValueResultOneOf, cR as NestedResults, cH as NestedValueAggregationResult, aw as OnlineBooking, dw as Page, cb as Paging, ce as PagingMetadataV2, c3 as ParticipantNotification, aN as ParticipantsPolicy, ap as Payment, av as PaymentOptions, aq as PaymentRateOneOf, ag as PlacementType, aG as PolicyDescription, dz as Properties, dO as PropertiesChange, cX as QueryBookingFormsRequest, d6 as QueryCategoriesFilter, d5 as QueryCategoriesRequest, d1 as QueryLocationsFilter, d0 as QueryLocationsRequest, cU as QueryPoliciesRequest, d7 as QueryServicesMultiLanguageRequest, d8 as QueryServicesMultiLanguageResponse, c7 as QueryServicesRequest, cd as QueryServicesResponse, c8 as QueryV2, c9 as QueryV2PagingMethodOneOf, cp as RangeAggregation, cB as RangeAggregationResult, cl as RangeBucket, cJ as RangeResult, cF as RangeResults, W as RateType, bc as ReindexMessage, bd as ReindexMessageActionOneOf, da as RemovedLocationSessionsAction, db as RemovedLocationSessionsActionActionOptionsOneOf, a7 as RequestedFields, aL as ReschedulePolicy, ai as ResolutionMethod, a_ as ResourceGroup, a$ as ResourceIds, b2 as ResourceType, aO as ResourcesPolicy, bm as RestoreInfo, cN as Results, aS as SaveCreditCardPolicy, cq as ScalarAggregation, cK as ScalarResult, a2 as ScalarType, aT as Schedule, bg as Schema, cx as SearchDetails, cg as SearchServicesRequest, b6 as SeoSchema, bX as ServiceAvailabilityConstraints, b0 as ServiceResource, b1 as ServiceResourceSelectionOneOf, dU as ServiceSearchSpec, T as ServiceType, dT as ServicesQueryResult, bi as ServicesUrlsChanged, bE as SetAddOnsForGroupRequest, bF as SetAddOnsForGroupResponse, bh as SetCustomSlugEvent, dg as SetCustomSlugRequest, d9 as SetServiceLocationsRequest, b9 as Settings, dQ as SiteCloned, dP as SiteCreated, dy as SitePropertiesEvent, dx as SitePropertiesNotification, b3 as Slug, a0 as SortDirection, _ as SortOrder, $ as SortType, ca as Sorting, dH as SpecialHourPeriod, bY as SplitInterval, aX as StaffMediaItem, aY as StaffMediaItemItemOneOf, aW as StaffMember, aZ as StaffMemberDetails, ab as Status, aB as StreetAddress, dJ as SupportedLanguage, b8 as Tag, dG as TimePeriod, dL as Translation, b4 as URLs, bx as UpdateAddOnGroupRequest, by as UpdateAddOnGroupResponse, bZ as UpdateServiceRequest, b_ as UpdateServiceResponse, be as Upsert, du as UserDomainInfoChangedEvent, am as V2Category, Z as V2RequestedFields, bG as ValidateAddOnsSelectionRequest, bH as ValidateAddOnsSelectionResponse, bL as ValidateServiceRequest, bM as ValidateServiceResponse, dh as ValidateSlugRequest, bI as ValidationResult, cn as ValueAggregation, co as ValueAggregationOptionsOneOf, cA as ValueAggregationResult, cI as ValueResult, cE as ValueResults, au as VariedPayment, aM as WaitlistPolicy, Y as WebhookIdentityType } from './bookings-services-v2-service-services.universal-DYRSxPXw.js';
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, V as ValidateAddOnsSelectionOptions, h as ValidateAddOnsSelectionResponse, i as Service, j as CreateServiceValidationErrors, B as BulkCreateServicesOptions, k as BulkCreateServicesResponse, l as UpdateService, m as UpdateServiceValidationErrors, n as BulkUpdateServicesOptions, o as BulkUpdateServicesResponse, p as BulkUpdateServicesByFilterOptions, q as BulkUpdateServicesByFilterResponse, r as DeleteServiceOptions, s as BulkDeleteServicesOptions, t as BulkDeleteServicesResponse, u as BulkDeleteServicesByFilterOptions, v as BulkDeleteServicesByFilterResponse, w as ServicesQueryBuilder, x as ServiceSearch, y as SearchServicesResponse, z as CursorQuery, Q as QueryPoliciesResponse, E as QueryBookingFormsOptions, F as QueryBookingFormsResponse, G as QueryBookingFormsApplicationErrors, H as CountServicesOptions, I as CountServicesResponse, J as QueryLocationsOptions, K as QueryLocationsResponse, M as QueryCategoriesOptions, N as QueryCategoriesResponse, O as Location, P as SetServiceLocationsOptions, R as SetServiceLocationsResponse, T as EnablePricingPlansForServiceResponse, W as EnablePricingPlansForServiceApplicationErrors, X as DisablePricingPlansForServiceOptions, Y as DisablePricingPlansForServiceResponse, Z as DisablePricingPlansForServiceApplicationErrors, _ as SetCustomSlugOptions, $ as SetCustomSlugResponse, a0 as SetCustomSlugApplicationErrors, a1 as SetCustomSlugValidationErrors, a2 as ValidateSlugOptions, a3 as ValidateSlugResponse, a4 as CloneServiceResponse, a5 as ServiceCreatedEnvelope, a6 as ServiceDeletedEnvelope, a7 as ServiceUpdatedEnvelope } from './bookings-services-v2-service-services.universal-B_To7DFS.js';
3
+ export { an as Action, bD as ActionEvent, bM as AddOn, bN as AddOnAddOnInfoOneOf, bp as AddOnDetails, bO as AddOnGroupDetail, dL as Address, dM as AddressHint, aR as AddressLocation, cs as Aggregation, cI as AggregationData, ct as AggregationKindOneOf, c$ as AggregationResults, d0 as AggregationResultsResultOneOf, cP as AggregationResultsScalarResult, ak as AggregationType, b_ as ApplicationError, b7 as AvailabilityConstraints, d_ as BaseEventMetadata, dB as Behavior, dC as BehaviorBehaviorOneOf, dx as Benefit, dw as BenefitNotification, as as BenefitType, aY as BookAfterStartPolicy, d5 as BookingForm, aU as BookingPolicy, d3 as BookingPolicyWithServices, b$ as BulkActionMetadata, bX as BulkCreateServicesRequest, cf as BulkDeleteServicesByFilterRequest, ce as BulkDeleteServicesRequest, bY as BulkServiceResult, ca as BulkUpdateServicesByFilterRequest, c8 as BulkUpdateServicesRequest, aS as BusinessLocationOptions, db as BusinessLocations, dO as BusinessSchedule, b2 as CancellationFeePolicy, aZ as CancellationPolicy, b3 as CancellationWindow, b4 as CancellationWindowFeeOneOf, dJ as Categories, du as Category, dt as CategoryNotification, ar as CategoryNotificationEvent, dV as ChangeContext, dW as ChangeContextPayloadOneOf, ap as CloneErrors, ds as CloneServiceRequest, aO as CommonAddress, aP as CommonAddressStreetOneOf, aM as Conferencing, d7 as ConnectedService, dT as ConsentPolicy, d8 as CountServicesRequest, bH as CreateAddOnGroupRequest, bS as CreateServiceRequest, bT as CreateServiceResponse, au as CrudType, cl as CursorPaging, cH as CursorPagingMetadata, d2 as CursorQueryPagingMethodOneOf, cq as CursorSearch, cr as CursorSearchPagingMethodOneOf, co as Cursors, aT as CustomLocationOptions, dc as CustomLocations, aI as CustomPayment, dd as CustomerLocations, cA as DateHistogramAggregation, cX as DateHistogramResult, cZ as DateHistogramResults, aw as DayOfWeek, bt as Delete, bI as DeleteAddOnGroupRequest, bJ as DeleteAddOnGroupResponse, cb as DeleteServiceRequest, cd as DeleteServiceResponse, dp as DisablePricingPlansForServiceRequest, dz as Discount, dA as DiscountDiscountOneOf, bx as DomainEvent, by as DomainEventBodyOneOf, b8 as Duration, dv as Empty, dm as EnablePricingPlansForServiceRequest, bz as EntityCreatedEvent, bC as EntityDeletedEvent, bB as EntityUpdatedEvent, dy as EntryPass, at as Event, d$ as EventMetadata, bk as ExtendedFields, bW as FieldViolation, aG as FixedPayment, aC as Form, d6 as FormDetails, aD as FormSettings, dN as GeoCoordinates, c2 as GetServiceAvailabilityConstraintsRequest, c3 as GetServiceAvailabilityConstraintsResponse, c0 as GetServiceRequest, c1 as GetServiceResponse, cE as GroupByAggregation, cF as GroupByAggregationKindOneOf, cY as GroupByValueResults, dE as HtmlSitePublished, bF as IdentificationData, bG as IdentificationDataIdOneOf, cv as IncludeMissingValuesOptions, aj as Interval, dn as InvalidPricingPlan, ao as InvalidSlugError, bZ as ItemMetadata, bm as Keyword, aW as LimitEarlyBookingPolicy, aX as LimitLateBookingPolicy, bL as ListAddOnGroupsByServiceIdRequest, dK as Locale, aN as LocationOptionsOneOf, aa as LocationType, c9 as MaskedService, ay as Media, az as MediaItem, aA as MediaItemItemOneOf, bE as MessageEnvelope, ag as MissingValues, al as Mode, aH as Money, dl as MoveToNewLocationsOptions, dR as Multilingual, cD as NestedAggregation, cB as NestedAggregationItem, cC as NestedAggregationItemKindOneOf, cL as NestedAggregationResults, cM as NestedAggregationResultsResultOneOf, ai as NestedAggregationType, cU as NestedResultValue, cV as NestedResultValueResultOneOf, c_ as NestedResults, cQ as NestedValueAggregationResult, aL as OnlineBooking, dF as Page, ck as Paging, cn as PagingMetadataV2, cc as ParticipantNotification, b0 as ParticipantsPolicy, aE as Payment, aK as PaymentOptions, aF as PaymentRateOneOf, av as PlacementType, aV as PolicyDescription, dI as Properties, dX as PropertiesChange, d4 as QueryBookingFormsRequest, df as QueryCategoriesFilter, de as QueryCategoriesRequest, da as QueryLocationsFilter, d9 as QueryLocationsRequest, d1 as QueryPoliciesRequest, dg as QueryServicesMultiLanguageRequest, dh as QueryServicesMultiLanguageResponse, cg as QueryServicesRequest, cm as QueryServicesResponse, ch as QueryV2, ci as QueryV2PagingMethodOneOf, cy as RangeAggregation, cK as RangeAggregationResult, cu as RangeBucket, cS as RangeResult, cO as RangeResults, a9 as RateType, bq as ReindexMessage, br as ReindexMessageActionOneOf, dj as RemovedLocationSessionsAction, dk as RemovedLocationSessionsActionActionOptionsOneOf, am as RequestedFields, a_ as ReschedulePolicy, ax as ResolutionMethod, bd as ResourceGroup, be as ResourceIds, bh as ResourceType, b1 as ResourcesPolicy, bA as RestoreInfo, cW as Results, b5 as SaveCreditCardPolicy, cz as ScalarAggregation, cT as ScalarResult, ah as ScalarType, b6 as Schedule, bu as Schema, cG as SearchDetails, cp as SearchServicesRequest, bl as SeoSchema, c4 as ServiceAvailabilityConstraints, bf as ServiceResource, bg as ServiceResourceSelectionOneOf, e1 as ServiceSearchSpec, a8 as ServiceType, e0 as ServicesQueryResult, bw as ServicesUrlsChanged, bP as SetAddOnsForGroupRequest, bv as SetCustomSlugEvent, dq as SetCustomSlugRequest, di as SetServiceLocationsRequest, bo as Settings, dZ as SiteCloned, dY as SiteCreated, dH as SitePropertiesEvent, dG as SitePropertiesNotification, bi as Slug, af as SortDirection, ad as SortOrder, ae as SortType, cj as Sorting, dQ as SpecialHourPeriod, c5 as SplitInterval, ba as StaffMediaItem, bb as StaffMediaItemItemOneOf, b9 as StaffMember, bc as StaffMemberDetails, aq as Status, aQ as StreetAddress, dS as SupportedLanguage, bn as Tag, dP as TimePeriod, dU as Translation, bj as URLs, bK as UpdateAddOnGroupRequest, c6 as UpdateServiceRequest, c7 as UpdateServiceResponse, bs as Upsert, dD as UserDomainInfoChangedEvent, aB as V2Category, ac as V2RequestedFields, bQ as ValidateAddOnsSelectionRequest, bU as ValidateServiceRequest, bV as ValidateServiceResponse, dr as ValidateSlugRequest, bR as ValidationResult, cw as ValueAggregation, cx as ValueAggregationOptionsOneOf, cJ as ValueAggregationResult, cR as ValueResult, cN as ValueResults, aJ as VariedPayment, a$ as WaitlistPolicy, ab as WebhookIdentityType } from './bookings-services-v2-service-services.universal-B_To7DFS.js';
4
4
 
5
+ type ServiceNonNullablePaths = `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.business.address.streetAddress.number` | `locations.${number}.business.address.streetAddress.name` | `locations.${number}.business.address.streetAddress.apt` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.amount.value` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.amount.currency` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `mainSlug.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain`;
6
+ declare function createAddOnGroup$1(httpClient: HttpClient): CreateAddOnGroupSignature;
7
+ interface CreateAddOnGroupSignature {
8
+ /**
9
+ * Create a new AddOns group.
10
+ * An AddOns group defines a collection of AddOns that can be linked to a Service,
11
+ * with constraints such as minimum and maximum selections.
12
+ * @param - AddOnGroup to create.
13
+ */
14
+ (addOnGroup: NonNullablePaths<AddOnGroup, `name`>, options?: CreateAddOnGroupOptions): Promise<NonNullablePaths<CreateAddOnGroupResponse, `addOnGroup.addOnIds`>>;
15
+ }
16
+ declare function deleteAddOnGroup$1(httpClient: HttpClient): DeleteAddOnGroupSignature;
17
+ interface DeleteAddOnGroupSignature {
18
+ /**
19
+ * Delete an existing AddOns group.
20
+ * This will remove the group and unlink all associated AddOns.
21
+ * @param - ID of the AddOnGroup to delete.
22
+ */
23
+ (addOnGroupId: string, options: NonNullablePaths<DeleteAddOnGroupOptions, `serviceId`>): Promise<void & {
24
+ __applicationErrorsType?: DeleteAddOnGroupApplicationErrors;
25
+ }>;
26
+ }
27
+ declare function updateAddOnGroup$1(httpClient: HttpClient): UpdateAddOnGroupSignature;
28
+ interface UpdateAddOnGroupSignature {
29
+ /**
30
+ * Update an existing AddOns group.
31
+ * This allows modifying group settings such as its name, prompt, constraints, or associated AddOns.
32
+ * @param - AddOnGroup to update.
33
+ */
34
+ (addOnGroup: NonNullablePaths<AddOnGroup, `_id`>, options: NonNullablePaths<UpdateAddOnGroupOptions, `serviceId`>): Promise<NonNullablePaths<UpdateAddOnGroupResponse, `addOnGroup.addOnIds`> & {
35
+ __applicationErrorsType?: UpdateAddOnGroupApplicationErrors;
36
+ }>;
37
+ }
38
+ declare function listAddOnGroupsByServiceId$1(httpClient: HttpClient): ListAddOnGroupsByServiceIdSignature;
39
+ interface ListAddOnGroupsByServiceIdSignature {
40
+ /**
41
+ * Retrieves a list of AddOnGroups including enriched AddOn details in the correct order.
42
+ * If the group_id is specified, only the AddOns for the specified group will be returned,
43
+ * otherwise all groups will be returned.
44
+ * @param - ID of the service to retrieve AddOnGroups for.
45
+ */
46
+ (serviceId: string, options?: ListAddOnGroupsByServiceIdOptions): Promise<NonNullablePaths<ListAddOnGroupsByServiceIdResponse, `addOnGroupsDetails`>>;
47
+ }
48
+ declare function setAddOnsForGroup$1(httpClient: HttpClient): SetAddOnsForGroupSignature;
49
+ interface SetAddOnsForGroupSignature {
50
+ /**
51
+ * Sets the AddOns for a specific group.
52
+ * The order of the AddOns in the list will be used to determine their display order.
53
+ * @param - The service ID to set AddOns for.
54
+ */
55
+ (serviceId: string, options: NonNullablePaths<SetAddOnsForGroupOptions, `addOnIds` | `groupId`>): Promise<NonNullablePaths<SetAddOnsForGroupResponse, `addOnGroup.addOnIds`> & {
56
+ __applicationErrorsType?: SetAddOnsForGroupApplicationErrors;
57
+ }>;
58
+ }
59
+ declare function validateAddOnsSelection$1(httpClient: HttpClient): ValidateAddOnsSelectionSignature;
60
+ interface ValidateAddOnsSelectionSignature {
61
+ /**
62
+ * Validates the selection of AddOns for a given group based on the group's settings.
63
+ * @param - The service ID to validate AddOns against.
64
+ */
65
+ (serviceId: string, options: NonNullablePaths<ValidateAddOnsSelectionOptions, `addOnIds` | `groupId`>): Promise<ValidateAddOnsSelectionResponse>;
66
+ }
5
67
  declare function createService$1(httpClient: HttpClient): CreateServiceSignature;
6
68
  interface CreateServiceSignature {
7
69
  /**
@@ -50,8 +112,8 @@ interface CreateServiceSignature {
50
112
  * @param - Service to create.
51
113
  * @returns Created service.
52
114
  */
53
- (service: Service): Promise<Service & {
54
- __validationErrorsType?: CreateServiceValidationErrors | undefined;
115
+ (service: Service): Promise<NonNullablePaths<Service, ServiceNonNullablePaths> & {
116
+ __validationErrorsType?: CreateServiceValidationErrors;
55
117
  }>;
56
118
  }
57
119
  declare function bulkCreateServices$1(httpClient: HttpClient): BulkCreateServicesSignature;
@@ -65,7 +127,9 @@ interface BulkCreateServicesSignature {
65
127
  * for more details.
66
128
  * @param - Services to create.
67
129
  */
68
- (services: Service[], options?: BulkCreateServicesOptions | undefined): Promise<BulkCreateServicesResponse>;
130
+ (services: Service[], options?: BulkCreateServicesOptions): Promise<NonNullablePaths<BulkCreateServicesResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | {
131
+ [P in ServiceNonNullablePaths]: `results.${number}.item.${P}`;
132
+ }[ServiceNonNullablePaths] | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`>>;
69
133
  }
70
134
  declare function getService$1(httpClient: HttpClient): GetServiceSignature;
71
135
  interface GetServiceSignature {
@@ -74,7 +138,7 @@ interface GetServiceSignature {
74
138
  * @param - ID of the service to retrieve.
75
139
  * @returns Retrieved service.
76
140
  */
77
- (serviceId: string): Promise<Service>;
141
+ (serviceId: string): Promise<NonNullablePaths<Service, ServiceNonNullablePaths>>;
78
142
  }
79
143
  declare function updateService$1(httpClient: HttpClient): UpdateServiceSignature;
80
144
  interface UpdateServiceSignature {
@@ -98,8 +162,8 @@ interface UpdateServiceSignature {
98
162
  * @param - Service ID.
99
163
  * @returns Updated service.
100
164
  */
101
- (_id: string, service: UpdateService): Promise<Service & {
102
- __validationErrorsType?: UpdateServiceValidationErrors | undefined;
165
+ (_id: string, service: NonNullablePaths<UpdateService, `revision`>): Promise<NonNullablePaths<Service, ServiceNonNullablePaths> & {
166
+ __validationErrorsType?: UpdateServiceValidationErrors;
103
167
  }>;
104
168
  }
105
169
  declare function bulkUpdateServices$1(httpClient: HttpClient): BulkUpdateServicesSignature;
@@ -115,7 +179,9 @@ interface BulkUpdateServicesSignature {
115
179
  * The call succeeds even if one or more individual services can't be updated.
116
180
  * Information about failures is returned in `bulkActionMetadata`.
117
181
  */
118
- (options?: BulkUpdateServicesOptions | undefined): Promise<BulkUpdateServicesResponse>;
182
+ (options?: NonNullablePaths<BulkUpdateServicesOptions, `services.${number}.service` | `services.${number}.service._id` | `services.${number}.service.revision`>): Promise<NonNullablePaths<BulkUpdateServicesResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | {
183
+ [P in ServiceNonNullablePaths]: `results.${number}.item.${P}`;
184
+ }[ServiceNonNullablePaths] | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`>>;
119
185
  }
120
186
  declare function bulkUpdateServicesByFilter$1(httpClient: HttpClient): BulkUpdateServicesByFilterSignature;
121
187
  interface BulkUpdateServicesByFilterSignature {
@@ -135,7 +201,7 @@ interface BulkUpdateServicesByFilterSignature {
135
201
  * Information about failures is returned in `bulkActionMetadata`.
136
202
  * @param - Filter to identify the services to update.
137
203
  */
138
- (filter: Record<string, any>, options: BulkUpdateServicesByFilterOptions): Promise<BulkUpdateServicesByFilterResponse>;
204
+ (filter: Record<string, any>, options: NonNullablePaths<BulkUpdateServicesByFilterOptions, `service`>): Promise<NonNullablePaths<BulkUpdateServicesByFilterResponse, `jobId`>>;
139
205
  }
140
206
  declare function deleteService$1(httpClient: HttpClient): DeleteServiceSignature;
141
207
  interface DeleteServiceSignature {
@@ -148,7 +214,7 @@ interface DeleteServiceSignature {
148
214
  * @param - ID of the service to delete.
149
215
  * @param - Allows you to configure how to handle the deleted service's future sessions and how to notify the sessions participants.
150
216
  */
151
- (serviceId: string, options?: DeleteServiceOptions | undefined): Promise<void>;
217
+ (serviceId: string, options?: DeleteServiceOptions): Promise<void>;
152
218
  }
153
219
  declare function bulkDeleteServices$1(httpClient: HttpClient): BulkDeleteServicesSignature;
154
220
  interface BulkDeleteServicesSignature {
@@ -164,7 +230,9 @@ interface BulkDeleteServicesSignature {
164
230
  * Information about failures is returned in `bulkActionMetadata`.
165
231
  * @param - IDs of the services to delete.
166
232
  */
167
- (ids: string[], options?: BulkDeleteServicesOptions | undefined): Promise<BulkDeleteServicesResponse>;
233
+ (ids: string[], options?: BulkDeleteServicesOptions): Promise<NonNullablePaths<BulkDeleteServicesResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | {
234
+ [P in ServiceNonNullablePaths]: `results.${number}.item.${P}`;
235
+ }[ServiceNonNullablePaths] | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`>>;
168
236
  }
169
237
  declare function bulkDeleteServicesByFilter$1(httpClient: HttpClient): BulkDeleteServicesByFilterSignature;
170
238
  interface BulkDeleteServicesByFilterSignature {
@@ -187,7 +255,7 @@ interface BulkDeleteServicesByFilterSignature {
187
255
  * [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).
188
256
  * @param - Filter to identify the services that need to be deleted.
189
257
  */
190
- (filter: Record<string, any>, options?: BulkDeleteServicesByFilterOptions | undefined): Promise<BulkDeleteServicesByFilterResponse>;
258
+ (filter: Record<string, any>, options?: BulkDeleteServicesByFilterOptions): Promise<NonNullablePaths<BulkDeleteServicesByFilterResponse, `jobId`>>;
191
259
  }
192
260
  declare function queryServices$1(httpClient: HttpClient): QueryServicesSignature;
193
261
  interface QueryServicesSignature {
@@ -245,7 +313,9 @@ interface SearchServicesSignature {
245
313
  *
246
314
  * Refer to the supported filters article ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/supported-filters) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/filtering-and-sorting)) for complete filter and sorting options.
247
315
  */
248
- (search: ServiceSearch): Promise<SearchServicesResponse>;
316
+ (search: ServiceSearch): Promise<NonNullablePaths<SearchServicesResponse, {
317
+ [P in ServiceNonNullablePaths]: `services.${number}.${P}`;
318
+ }[ServiceNonNullablePaths] | `aggregationData.results` | `aggregationData.results.${number}.scalar.type` | `aggregationData.results.${number}.scalar.value` | `aggregationData.results.${number}.name` | `aggregationData.results.${number}.type` | `aggregationData.results.${number}.fieldPath`>>;
249
319
  }
250
320
  declare function queryPolicies$1(httpClient: HttpClient): QueryPoliciesSignature;
251
321
  interface QueryPoliciesSignature {
@@ -289,7 +359,9 @@ interface QueryPoliciesSignature {
289
359
  * ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/supported-filters))
290
360
  * for all supported filters and sorting options.
291
361
  */
292
- (query: CursorQuery): Promise<QueryPoliciesResponse>;
362
+ (query: CursorQuery): Promise<NonNullablePaths<QueryPoliciesResponse, `bookingPolicies` | `bookingPolicies.${number}.bookingPolicy._id` | `bookingPolicies.${number}.bookingPolicy.customPolicyDescription.enabled` | `bookingPolicies.${number}.bookingPolicy.customPolicyDescription.description` | `bookingPolicies.${number}.bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicies.${number}.bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicies.${number}.bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.cancellationPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicies.${number}.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicies.${number}.bookingPolicy.reschedulePolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicies.${number}.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicies.${number}.bookingPolicy.waitlistPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.waitlistPolicy.capacity` | `bookingPolicies.${number}.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicies.${number}.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicies.${number}.bookingPolicy.resourcesPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicies.${number}.bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.saveCreditCardPolicy.enabled` | {
363
+ [P in ServiceNonNullablePaths]: `bookingPolicies.${number}.connectedServices.${number}.${P}`;
364
+ }[ServiceNonNullablePaths] | `bookingPolicies.${number}.totalServiceCount`>>;
293
365
  }
294
366
  declare function queryBookingForms$1(httpClient: HttpClient): QueryBookingFormsSignature;
295
367
  interface QueryBookingFormsSignature {
@@ -339,8 +411,8 @@ interface QueryBookingFormsSignature {
339
411
  * form filters ([REST](https://dev.wix.com/docs/rest/crm/forms/form-schemas/form-object))
340
412
  * for all supported filters and sorting options.
341
413
  */
342
- (query: CursorQuery, options?: QueryBookingFormsOptions | undefined): Promise<QueryBookingFormsResponse & {
343
- __applicationErrorsType?: QueryBookingFormsApplicationErrors | undefined;
414
+ (query: CursorQuery, options?: QueryBookingFormsOptions): Promise<NonNullablePaths<QueryBookingFormsResponse, `bookingForms` | `bookingForms.${number}.formDetails.formId` | `bookingForms.${number}.totalServiceCount` | `defaultBookingForm.formDetails.formId` | `defaultBookingForm.connectedServices` | `defaultBookingForm.totalServiceCount`> & {
415
+ __applicationErrorsType?: QueryBookingFormsApplicationErrors;
344
416
  }>;
345
417
  }
346
418
  declare function countServices$1(httpClient: HttpClient): CountServicesSignature;
@@ -356,7 +428,7 @@ interface CountServicesSignature {
356
428
  * To learn about working with filters in general, see
357
429
  * [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters)
358
430
  */
359
- (options?: CountServicesOptions | undefined): Promise<CountServicesResponse>;
431
+ (options?: CountServicesOptions): Promise<NonNullablePaths<CountServicesResponse, `count`>>;
360
432
  }
361
433
  declare function queryLocations$1(httpClient: HttpClient): QueryLocationsSignature;
362
434
  interface QueryLocationsSignature {
@@ -386,7 +458,7 @@ interface QueryLocationsSignature {
386
458
  * [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language)
387
459
  * and [Sorting and Paging](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging).
388
460
  */
389
- (options?: QueryLocationsOptions | undefined): Promise<QueryLocationsResponse>;
461
+ (options?: QueryLocationsOptions): Promise<NonNullablePaths<QueryLocationsResponse, `businessLocations.exists` | `businessLocations.locations` | `businessLocations.locations.${number}.business._id` | `businessLocations.locations.${number}.business.name` | `businessLocations.locations.${number}.business.address.streetAddress.number` | `businessLocations.locations.${number}.business.address.streetAddress.name` | `businessLocations.locations.${number}.business.address.streetAddress.apt` | `businessLocations.locations.${number}.custom._id` | `businessLocations.locations.${number}._id` | `businessLocations.locations.${number}.type` | `customLocations.exists` | `customerLocations.exists`>>;
390
462
  }
391
463
  declare function queryCategories$1(httpClient: HttpClient): QueryCategoriesSignature;
392
464
  interface QueryCategoriesSignature {
@@ -415,7 +487,7 @@ interface QueryCategoriesSignature {
415
487
  * [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language)
416
488
  * and [Sorting and Paging](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging).
417
489
  */
418
- (options?: QueryCategoriesOptions | undefined): Promise<QueryCategoriesResponse>;
490
+ (options?: QueryCategoriesOptions): Promise<NonNullablePaths<QueryCategoriesResponse, `categories` | `categories.${number}._id`>>;
419
491
  }
420
492
  declare function setServiceLocations$1(httpClient: HttpClient): SetServiceLocationsSignature;
421
493
  interface SetServiceLocationsSignature {
@@ -471,7 +543,9 @@ interface SetServiceLocationsSignature {
471
543
  * @param - ID of the service.
472
544
  * @param - List of locations replacing existing service locations. Omitting an existing location removes it from the service. Specify `removedLocationSessionsAction` to determine the handling of future sessions scheduled at that location.
473
545
  */
474
- (serviceId: string, locations: Location[], options?: SetServiceLocationsOptions | undefined): Promise<SetServiceLocationsResponse>;
546
+ (serviceId: string, locations: Location[], options?: SetServiceLocationsOptions): Promise<NonNullablePaths<SetServiceLocationsResponse, {
547
+ [P in ServiceNonNullablePaths]: `service.${P}`;
548
+ }[ServiceNonNullablePaths]>>;
475
549
  }
476
550
  declare function enablePricingPlansForService$1(httpClient: HttpClient): EnablePricingPlansForServiceSignature;
477
551
  interface EnablePricingPlansForServiceSignature {
@@ -491,8 +565,10 @@ interface EnablePricingPlansForServiceSignature {
491
565
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/plans/introduction) | [REST](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/plans/plan-object))
492
566
  * to add to the service's `payment.pricingPlanIds` array.
493
567
  */
494
- (serviceId: string, pricingPlanIds: string[]): Promise<EnablePricingPlansForServiceResponse & {
495
- __applicationErrorsType?: EnablePricingPlansForServiceApplicationErrors | undefined;
568
+ (serviceId: string, pricingPlanIds: string[]): Promise<NonNullablePaths<EnablePricingPlansForServiceResponse, {
569
+ [P in ServiceNonNullablePaths]: `service.${P}`;
570
+ }[ServiceNonNullablePaths]> & {
571
+ __applicationErrorsType?: EnablePricingPlansForServiceApplicationErrors;
496
572
  }>;
497
573
  }
498
574
  declare function disablePricingPlansForService$1(httpClient: HttpClient): DisablePricingPlansForServiceSignature;
@@ -508,8 +584,10 @@ interface DisablePricingPlansForServiceSignature {
508
584
  * able to book the service, as they will have no payment options available.
509
585
  * @param - ID of the service to update.
510
586
  */
511
- (serviceId: string, options?: DisablePricingPlansForServiceOptions | undefined): Promise<DisablePricingPlansForServiceResponse & {
512
- __applicationErrorsType?: DisablePricingPlansForServiceApplicationErrors | undefined;
587
+ (serviceId: string, options?: DisablePricingPlansForServiceOptions): Promise<NonNullablePaths<DisablePricingPlansForServiceResponse, {
588
+ [P in ServiceNonNullablePaths]: `service.${P}`;
589
+ }[ServiceNonNullablePaths]> & {
590
+ __applicationErrorsType?: DisablePricingPlansForServiceApplicationErrors;
513
591
  }>;
514
592
  }
515
593
  declare function setCustomSlug$1(httpClient: HttpClient): SetCustomSlugSignature;
@@ -524,9 +602,11 @@ interface SetCustomSlugSignature {
524
602
  * - Another service has used the slug in the past.
525
603
  * @param - ID of the service for which to update the active slug.
526
604
  */
527
- (serviceId: string, options?: SetCustomSlugOptions | undefined): Promise<SetCustomSlugResponse & {
528
- __applicationErrorsType?: SetCustomSlugApplicationErrors | undefined;
529
- __validationErrorsType?: SetCustomSlugValidationErrors | undefined;
605
+ (serviceId: string, options?: SetCustomSlugOptions): Promise<NonNullablePaths<SetCustomSlugResponse, `slug.name` | {
606
+ [P in ServiceNonNullablePaths]: `service.${P}`;
607
+ }[ServiceNonNullablePaths]> & {
608
+ __applicationErrorsType?: SetCustomSlugApplicationErrors;
609
+ __validationErrorsType?: SetCustomSlugValidationErrors;
530
610
  }>;
531
611
  }
532
612
  declare function validateSlug$1(httpClient: HttpClient): ValidateSlugSignature;
@@ -543,7 +623,7 @@ interface ValidateSlugSignature {
543
623
  * The call fails if at least one of the checks fails.
544
624
  * @param - IO of the service to check custom slug validity for.
545
625
  */
546
- (serviceId: string, options?: ValidateSlugOptions | undefined): Promise<ValidateSlugResponse>;
626
+ (serviceId: string, options?: ValidateSlugOptions): Promise<NonNullablePaths<ValidateSlugResponse, `valid` | `errors`>>;
547
627
  }
548
628
  declare function cloneService$1(httpClient: HttpClient): CloneServiceSignature;
549
629
  interface CloneServiceSignature {
@@ -610,12 +690,20 @@ interface CloneServiceSignature {
610
690
  * after cloning the service, customers will be unable to book the service.
611
691
  * @param - ID of the service to clone.
612
692
  */
613
- (sourceServiceId: string): Promise<CloneServiceResponse>;
693
+ (sourceServiceId: string): Promise<NonNullablePaths<CloneServiceResponse, {
694
+ [P in ServiceNonNullablePaths]: `service.${P}`;
695
+ }[ServiceNonNullablePaths] | `errors`>>;
614
696
  }
615
697
  declare const onServiceCreated$1: EventDefinition<ServiceCreatedEnvelope, "wix.bookings.services.v2.service_created">;
616
698
  declare const onServiceDeleted$1: EventDefinition<ServiceDeletedEnvelope, "wix.bookings.services.v2.service_deleted">;
617
699
  declare const onServiceUpdated$1: EventDefinition<ServiceUpdatedEnvelope, "wix.bookings.services.v2.service_updated">;
618
700
 
701
+ declare const createAddOnGroup: MaybeContext<BuildRESTFunction<typeof createAddOnGroup$1> & typeof createAddOnGroup$1>;
702
+ declare const deleteAddOnGroup: MaybeContext<BuildRESTFunction<typeof deleteAddOnGroup$1> & typeof deleteAddOnGroup$1>;
703
+ declare const updateAddOnGroup: MaybeContext<BuildRESTFunction<typeof updateAddOnGroup$1> & typeof updateAddOnGroup$1>;
704
+ declare const listAddOnGroupsByServiceId: MaybeContext<BuildRESTFunction<typeof listAddOnGroupsByServiceId$1> & typeof listAddOnGroupsByServiceId$1>;
705
+ declare const setAddOnsForGroup: MaybeContext<BuildRESTFunction<typeof setAddOnsForGroup$1> & typeof setAddOnsForGroup$1>;
706
+ declare const validateAddOnsSelection: MaybeContext<BuildRESTFunction<typeof validateAddOnsSelection$1> & typeof validateAddOnsSelection$1>;
619
707
  declare const createService: MaybeContext<BuildRESTFunction<typeof createService$1> & typeof createService$1>;
620
708
  declare const bulkCreateServices: MaybeContext<BuildRESTFunction<typeof bulkCreateServices$1> & typeof bulkCreateServices$1>;
621
709
  declare const getService: MaybeContext<BuildRESTFunction<typeof getService$1> & typeof getService$1>;
@@ -651,4 +739,4 @@ declare const onServiceDeleted: BuildEventDefinition<typeof onServiceDeleted$1>;
651
739
  */
652
740
  declare const onServiceUpdated: BuildEventDefinition<typeof onServiceUpdated$1>;
653
741
 
654
- export { BulkCreateServicesOptions, BulkCreateServicesResponse, BulkDeleteServicesByFilterOptions, BulkDeleteServicesByFilterResponse, BulkDeleteServicesOptions, BulkDeleteServicesResponse, BulkUpdateServicesByFilterOptions, BulkUpdateServicesByFilterResponse, BulkUpdateServicesOptions, BulkUpdateServicesResponse, CloneServiceResponse, CountServicesOptions, CountServicesResponse, CursorQuery, DeleteServiceOptions, DisablePricingPlansForServiceOptions, DisablePricingPlansForServiceResponse, EnablePricingPlansForServiceResponse, Location, QueryBookingFormsOptions, QueryBookingFormsResponse, QueryCategoriesOptions, QueryCategoriesResponse, QueryLocationsOptions, QueryLocationsResponse, QueryPoliciesResponse, SearchServicesResponse, Service, ServiceCreatedEnvelope, ServiceDeletedEnvelope, ServiceUpdatedEnvelope, ServicesQueryBuilder, SetCustomSlugOptions, SetCustomSlugResponse, SetServiceLocationsOptions, SetServiceLocationsResponse, UpdateService, ValidateSlugOptions, ValidateSlugResponse, bulkCreateServices, bulkDeleteServices, bulkDeleteServicesByFilter, bulkUpdateServices, bulkUpdateServicesByFilter, cloneService, countServices, createService, deleteService, disablePricingPlansForService, enablePricingPlansForService, getService, onServiceCreated, onServiceDeleted, onServiceUpdated, queryBookingForms, queryCategories, queryLocations, queryPolicies, queryServices, searchServices, setCustomSlug, setServiceLocations, updateService, validateSlug };
742
+ export { AddOnGroup, BulkCreateServicesOptions, BulkCreateServicesResponse, BulkDeleteServicesByFilterOptions, BulkDeleteServicesByFilterResponse, BulkDeleteServicesOptions, BulkDeleteServicesResponse, BulkUpdateServicesByFilterOptions, BulkUpdateServicesByFilterResponse, BulkUpdateServicesOptions, BulkUpdateServicesResponse, CloneServiceResponse, CountServicesOptions, CountServicesResponse, CreateAddOnGroupOptions, CreateAddOnGroupResponse, CursorQuery, DeleteAddOnGroupOptions, DeleteServiceOptions, DisablePricingPlansForServiceOptions, DisablePricingPlansForServiceResponse, EnablePricingPlansForServiceResponse, ListAddOnGroupsByServiceIdOptions, ListAddOnGroupsByServiceIdResponse, Location, QueryBookingFormsOptions, QueryBookingFormsResponse, QueryCategoriesOptions, QueryCategoriesResponse, QueryLocationsOptions, QueryLocationsResponse, QueryPoliciesResponse, SearchServicesResponse, Service, ServiceCreatedEnvelope, ServiceDeletedEnvelope, ServiceUpdatedEnvelope, ServicesQueryBuilder, SetAddOnsForGroupOptions, SetAddOnsForGroupResponse, SetCustomSlugOptions, SetCustomSlugResponse, SetServiceLocationsOptions, SetServiceLocationsResponse, UpdateAddOnGroupOptions, UpdateAddOnGroupResponse, UpdateService, ValidateAddOnsSelectionOptions, ValidateAddOnsSelectionResponse, 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, validateAddOnsSelection, validateSlug };