@wix/auto_sdk_bookings_services 1.0.80 → 1.0.81

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-D_5H9h-R.d.ts → bookings-services-v2-service-services.universal-Dp0lV_aY.d.ts} +378 -378
  2. package/build/cjs/index.d.ts +60 -60
  3. package/build/cjs/index.js +316 -316
  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 +245 -245
  7. package/build/cjs/index.typings.js.map +1 -1
  8. package/build/cjs/meta.d.ts +138 -138
  9. package/build/cjs/meta.js +185 -185
  10. package/build/cjs/meta.js.map +1 -1
  11. package/build/es/{bookings-services-v2-service-services.universal-D_5H9h-R.d.mts → bookings-services-v2-service-services.universal-Dp0lV_aY.d.mts} +378 -378
  12. package/build/es/index.d.mts +60 -60
  13. package/build/es/index.mjs +316 -316
  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 +245 -245
  17. package/build/es/index.typings.mjs.map +1 -1
  18. package/build/es/meta.d.mts +138 -138
  19. package/build/es/meta.mjs +185 -185
  20. package/build/es/meta.mjs.map +1 -1
  21. package/build/internal/cjs/{bookings-services-v2-service-services.universal-D_5H9h-R.d.ts → bookings-services-v2-service-services.universal-Dp0lV_aY.d.ts} +378 -378
  22. package/build/internal/cjs/index.d.ts +60 -60
  23. package/build/internal/cjs/index.js +316 -316
  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 +245 -245
  27. package/build/internal/cjs/index.typings.js.map +1 -1
  28. package/build/internal/cjs/meta.d.ts +138 -138
  29. package/build/internal/cjs/meta.js +185 -185
  30. package/build/internal/cjs/meta.js.map +1 -1
  31. package/build/internal/es/{bookings-services-v2-service-services.universal-D_5H9h-R.d.mts → bookings-services-v2-service-services.universal-Dp0lV_aY.d.mts} +378 -378
  32. package/build/internal/es/index.d.mts +60 -60
  33. package/build/internal/es/index.mjs +316 -316
  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 +245 -245
  37. package/build/internal/es/index.typings.mjs.map +1 -1
  38. package/build/internal/es/meta.d.mts +138 -138
  39. package/build/internal/es/meta.mjs +185 -185
  40. package/build/internal/es/meta.mjs.map +1 -1
  41. package/package.json +2 -2
@@ -1,61 +1,8 @@
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-D_5H9h-R.mjs';
3
- export { al as Action, bB as ActionEvent, bK as AddOn, bL as AddOnAddOnInfoOneOf, bn as AddOnDetails, bM as AddOnGroupDetail, dH as Address, dI as AddressHint, aP as AddressLocation, co as Aggregation, cE as AggregationData, cp as AggregationKindOneOf, cX as AggregationResults, cY as AggregationResultsResultOneOf, cL as AggregationResultsScalarResult, ai as AggregationType, bW as ApplicationError, b5 as AvailabilityConstraints, dW as BaseEventMetadata, dx as Behavior, dy as BehaviorBehaviorOneOf, dt as Benefit, ds as BenefitNotification, aq as BenefitType, aW as BookAfterStartPolicy, d1 as BookingForm, aS as BookingPolicy, c$ as BookingPolicyWithServices, bX as BulkActionMetadata, bT as BulkCreateServicesRequest, cb as BulkDeleteServicesByFilterRequest, ca as BulkDeleteServicesRequest, bU as BulkServiceResult, c6 as BulkUpdateServicesByFilterRequest, c4 as BulkUpdateServicesRequest, aQ as BusinessLocationOptions, d7 as BusinessLocations, dK as BusinessSchedule, b0 as CancellationFeePolicy, aX as CancellationPolicy, b1 as CancellationWindow, b2 as CancellationWindowFeeOneOf, dF as Categories, dq as Category, dp as CategoryNotification, ap as CategoryNotificationEvent, dR as ChangeContext, dS as ChangeContextPayloadOneOf, an as CloneErrors, dn as CloneServiceRequest, aM as CommonAddress, aN as CommonAddressStreetOneOf, aK as Conferencing, d3 as ConnectedService, dP as ConsentPolicy, d4 as CountServicesRequest, bF as CreateAddOnGroupRequest, bO as CreateServiceRequest, bP as CreateServiceResponse, as as CrudType, ch as CursorPaging, cD as CursorPagingMetadata, c_ as CursorQueryPagingMethodOneOf, cm as CursorSearch, cn as CursorSearchPagingMethodOneOf, ck as Cursors, aR as CustomLocationOptions, d8 as CustomLocations, aG as CustomPayment, d9 as CustomerLocations, cw as DateHistogramAggregation, cT as DateHistogramResult, cV as DateHistogramResults, au as DayOfWeek, br as Delete, bG as DeleteAddOnGroupRequest, bH as DeleteAddOnGroupResponse, c7 as DeleteServiceRequest, c9 as DeleteServiceResponse, dk as DisablePricingPlansForServiceRequest, dv as Discount, dw as DiscountDiscountOneOf, bv as DomainEvent, bw as DomainEventBodyOneOf, b6 as Duration, dr as Empty, di as EnablePricingPlansForServiceRequest, bx as EntityCreatedEvent, bA as EntityDeletedEvent, bz as EntityUpdatedEvent, du as EntryPass, ar as Event, dX as EventMetadata, bi as ExtendedFields, bS as FieldViolation, aE as FixedPayment, aA as Form, d2 as FormDetails, aB as FormSettings, dJ as GeoCoordinates, b_ as GetServiceAvailabilityConstraintsRequest, b$ as GetServiceAvailabilityConstraintsResponse, bY as GetServiceRequest, bZ as GetServiceResponse, cA as GroupByAggregation, cB as GroupByAggregationKindOneOf, cU as GroupByValueResults, dA as HtmlSitePublished, bD as IdentificationData, bE as IdentificationDataIdOneOf, cr as IncludeMissingValuesOptions, ah as Interval, dj as InvalidPricingPlan, am as InvalidSlugError, bV as ItemMetadata, bk as Keyword, aU as LimitEarlyBookingPolicy, aV as LimitLateBookingPolicy, bJ as ListAddOnGroupsByServiceIdRequest, dG as Locale, aL as LocationOptionsOneOf, a8 as LocationType, c5 as MaskedService, aw as Media, ax as MediaItem, ay as MediaItemItemOneOf, bC as MessageEnvelope, ae as MissingValues, aj as Mode, aF as Money, dh as MoveToNewLocationsOptions, dN as Multilingual, cz as NestedAggregation, cx as NestedAggregationItem, cy as NestedAggregationItemKindOneOf, cH as NestedAggregationResults, cI as NestedAggregationResultsResultOneOf, ag as NestedAggregationType, cQ as NestedResultValue, cR as NestedResultValueResultOneOf, cW as NestedResults, cM as NestedValueAggregationResult, aJ as OnlineBooking, dB as Page, cg as Paging, cj as PagingMetadataV2, c8 as ParticipantNotification, a_ as ParticipantsPolicy, aC as Payment, aI as PaymentOptions, aD as PaymentRateOneOf, at as PlacementType, aT as PolicyDescription, dE as Properties, dT as PropertiesChange, d0 as QueryBookingFormsRequest, db as QueryCategoriesFilter, da as QueryCategoriesRequest, d6 as QueryLocationsFilter, d5 as QueryLocationsRequest, cZ as QueryPoliciesRequest, dc as QueryServicesMultiLanguageRequest, dd as QueryServicesMultiLanguageResponse, cc as QueryServicesRequest, ci as QueryServicesResponse, cd as QueryV2, ce as QueryV2PagingMethodOneOf, cu as RangeAggregation, cG as RangeAggregationResult, cq as RangeBucket, cO as RangeResult, cK as RangeResults, a7 as RateType, bo as ReindexMessage, bp as ReindexMessageActionOneOf, df as RemovedLocationSessionsAction, dg as RemovedLocationSessionsActionActionOptionsOneOf, ak as RequestedFields, aY as ReschedulePolicy, av as ResolutionMethod, bb as ResourceGroup, bc as ResourceIds, bf as ResourceType, a$ as ResourcesPolicy, by as RestoreInfo, cS as Results, b3 as SaveCreditCardPolicy, cv as ScalarAggregation, cP as ScalarResult, af as ScalarType, b4 as Schedule, bs as Schema, cC as SearchDetails, cl as SearchServicesRequest, bj as SeoSchema, c0 as ServiceAvailabilityConstraints, bd as ServiceResource, be as ServiceResourceSelectionOneOf, dZ as ServiceSearchSpec, a6 as ServiceType, dY as ServicesQueryResult, bu as ServicesUrlsChanged, bN as SetAddOnsForGroupRequest, bt as SetCustomSlugEvent, dl as SetCustomSlugRequest, de as SetServiceLocationsRequest, bm as Settings, dV as SiteCloned, dU as SiteCreated, dD as SitePropertiesEvent, dC as SitePropertiesNotification, bg as Slug, ad as SortDirection, ab as SortOrder, ac as SortType, cf as Sorting, dM as SpecialHourPeriod, c1 as SplitInterval, b8 as StaffMediaItem, b9 as StaffMediaItemItemOneOf, b7 as StaffMember, ba as StaffMemberDetails, ao as Status, aO as StreetAddress, dO as SupportedLanguage, bl as Tag, dL as TimePeriod, dQ as Translation, bh as URLs, bI as UpdateAddOnGroupRequest, c2 as UpdateServiceRequest, c3 as UpdateServiceResponse, bq as Upsert, dz as UserDomainInfoChangedEvent, az as V2Category, aa as V2RequestedFields, bQ as ValidateServiceRequest, bR as ValidateServiceResponse, dm as ValidateSlugRequest, cs as ValueAggregation, ct as ValueAggregationOptionsOneOf, cF as ValueAggregationResult, cN as ValueResult, cJ as ValueResults, aH as VariedPayment, aZ as WaitlistPolicy, a9 as WebhookIdentityType } from './bookings-services-v2-service-services.universal-D_5H9h-R.mjs';
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 AddOnGroup, P as CreateAddOnGroupOptions, R as CreateAddOnGroupResponse, T as DeleteAddOnGroupOptions, W as DeleteAddOnGroupApplicationErrors, X as UpdateAddOnGroupOptions, Y as UpdateAddOnGroupResponse, Z as UpdateAddOnGroupApplicationErrors, _ as ListAddOnGroupsByServiceIdOptions, $ as ListAddOnGroupsByServiceIdResponse, a0 as SetAddOnsForGroupOptions, a1 as SetAddOnsForGroupResponse, a2 as SetAddOnsForGroupApplicationErrors, a3 as ServiceCreatedEnvelope, a4 as ServiceDeletedEnvelope, a5 as ServiceUpdatedEnvelope } from './bookings-services-v2-service-services.universal-Dp0lV_aY.mjs';
3
+ export { al as Action, bB as ActionEvent, dS as AddOn, dT as AddOnAddOnInfoOneOf, bn as AddOnDetails, dU as AddOnGroupDetail, dy as Address, dz as AddressHint, aP as AddressLocation, cf as Aggregation, cv as AggregationData, cg as AggregationKindOneOf, cO as AggregationResults, cP as AggregationResultsResultOneOf, cC as AggregationResultsScalarResult, ai as AggregationType, bN as ApplicationError, b5 as AvailabilityConstraints, dW as BaseEventMetadata, dn as Behavior, dp as BehaviorBehaviorOneOf, dj as Benefit, di as BenefitNotification, aq as BenefitType, aW as BookAfterStartPolicy, cU as BookingForm, aS as BookingPolicy, cS as BookingPolicyWithServices, bO as BulkActionMetadata, bK as BulkCreateServicesRequest, c2 as BulkDeleteServicesByFilterRequest, c1 as BulkDeleteServicesRequest, bL as BulkServiceResult, bZ as BulkUpdateServicesByFilterRequest, bX as BulkUpdateServicesRequest, aQ as BusinessLocationOptions, c_ as BusinessLocations, dB as BusinessSchedule, b0 as CancellationFeePolicy, aX as CancellationPolicy, b1 as CancellationWindow, b2 as CancellationWindowFeeOneOf, dw as Categories, dg as Category, df as CategoryNotification, ap as CategoryNotificationEvent, dI as ChangeContext, dJ as ChangeContextPayloadOneOf, an as CloneErrors, de as CloneServiceRequest, aM as CommonAddress, aN as CommonAddressStreetOneOf, aK as Conferencing, cW as ConnectedService, dG as ConsentPolicy, cX as CountServicesRequest, dN as CreateAddOnGroupRequest, bF as CreateServiceRequest, bG as CreateServiceResponse, as as CrudType, c8 as CursorPaging, cu as CursorPagingMetadata, cR as CursorQueryPagingMethodOneOf, cd as CursorSearch, ce as CursorSearchPagingMethodOneOf, cb as Cursors, aR as CustomLocationOptions, c$ as CustomLocations, aG as CustomPayment, d0 as CustomerLocations, cn as DateHistogramAggregation, cK as DateHistogramResult, cM as DateHistogramResults, au as DayOfWeek, br as Delete, dO as DeleteAddOnGroupRequest, dP as DeleteAddOnGroupResponse, b_ as DeleteServiceRequest, c0 as DeleteServiceResponse, db as DisablePricingPlansForServiceRequest, dl as Discount, dm as DiscountDiscountOneOf, bv as DomainEvent, bw as DomainEventBodyOneOf, b6 as Duration, dh as Empty, d9 as EnablePricingPlansForServiceRequest, bx as EntityCreatedEvent, bA as EntityDeletedEvent, bz as EntityUpdatedEvent, dk as EntryPass, ar as Event, dX as EventMetadata, bi as ExtendedFields, bJ as FieldViolation, aE as FixedPayment, aA as Form, cV as FormDetails, aB as FormSettings, dA as GeoCoordinates, bR as GetServiceAvailabilityConstraintsRequest, bS as GetServiceAvailabilityConstraintsResponse, bP as GetServiceRequest, bQ as GetServiceResponse, cr as GroupByAggregation, cs as GroupByAggregationKindOneOf, cL as GroupByValueResults, dr as HtmlSitePublished, bD as IdentificationData, bE as IdentificationDataIdOneOf, ci as IncludeMissingValuesOptions, ah as Interval, da as InvalidPricingPlan, am as InvalidSlugError, bM as ItemMetadata, bk as Keyword, aU as LimitEarlyBookingPolicy, aV as LimitLateBookingPolicy, dR as ListAddOnGroupsByServiceIdRequest, dx as Locale, aL as LocationOptionsOneOf, a8 as LocationType, bY as MaskedService, aw as Media, ax as MediaItem, ay as MediaItemItemOneOf, bC as MessageEnvelope, ae as MissingValues, aj as Mode, aF as Money, d8 as MoveToNewLocationsOptions, dE as Multilingual, cq as NestedAggregation, co as NestedAggregationItem, cp as NestedAggregationItemKindOneOf, cy as NestedAggregationResults, cz as NestedAggregationResultsResultOneOf, ag as NestedAggregationType, cH as NestedResultValue, cI as NestedResultValueResultOneOf, cN as NestedResults, cD as NestedValueAggregationResult, aJ as OnlineBooking, ds as Page, c7 as Paging, ca as PagingMetadataV2, b$ as ParticipantNotification, a_ as ParticipantsPolicy, aC as Payment, aI as PaymentOptions, aD as PaymentRateOneOf, at as PlacementType, aT as PolicyDescription, dv as Properties, dK as PropertiesChange, cT as QueryBookingFormsRequest, d2 as QueryCategoriesFilter, d1 as QueryCategoriesRequest, cZ as QueryLocationsFilter, cY as QueryLocationsRequest, cQ as QueryPoliciesRequest, d3 as QueryServicesMultiLanguageRequest, d4 as QueryServicesMultiLanguageResponse, c3 as QueryServicesRequest, c9 as QueryServicesResponse, c4 as QueryV2, c5 as QueryV2PagingMethodOneOf, cl as RangeAggregation, cx as RangeAggregationResult, ch as RangeBucket, cF as RangeResult, cB as RangeResults, a7 as RateType, bo as ReindexMessage, bp as ReindexMessageActionOneOf, d6 as RemovedLocationSessionsAction, d7 as RemovedLocationSessionsActionActionOptionsOneOf, ak as RequestedFields, aY as ReschedulePolicy, av as ResolutionMethod, bb as ResourceGroup, bc as ResourceIds, bf as ResourceType, a$ as ResourcesPolicy, by as RestoreInfo, cJ as Results, b3 as SaveCreditCardPolicy, cm as ScalarAggregation, cG as ScalarResult, af as ScalarType, b4 as Schedule, bs as Schema, ct as SearchDetails, cc as SearchServicesRequest, bj as SeoSchema, bT as ServiceAvailabilityConstraints, bd as ServiceResource, be as ServiceResourceSelectionOneOf, dZ as ServiceSearchSpec, a6 as ServiceType, dY as ServicesQueryResult, bu as ServicesUrlsChanged, dV as SetAddOnsForGroupRequest, bt as SetCustomSlugEvent, dc as SetCustomSlugRequest, d5 as SetServiceLocationsRequest, bm as Settings, dM as SiteCloned, dL as SiteCreated, du as SitePropertiesEvent, dt as SitePropertiesNotification, bg as Slug, ad as SortDirection, ab as SortOrder, ac as SortType, c6 as Sorting, dD as SpecialHourPeriod, bU as SplitInterval, b8 as StaffMediaItem, b9 as StaffMediaItemItemOneOf, b7 as StaffMember, ba as StaffMemberDetails, ao as Status, aO as StreetAddress, dF as SupportedLanguage, bl as Tag, dC as TimePeriod, dH as Translation, bh as URLs, dQ as UpdateAddOnGroupRequest, bV as UpdateServiceRequest, bW as UpdateServiceResponse, bq as Upsert, dq as UserDomainInfoChangedEvent, az as V2Category, aa as V2RequestedFields, bH as ValidateServiceRequest, bI as ValidateServiceResponse, dd as ValidateSlugRequest, cj as ValueAggregation, ck as ValueAggregationOptionsOneOf, cw as ValueAggregationResult, cE as ValueResult, cA as ValueResults, aH as VariedPayment, aZ as WaitlistPolicy, a9 as WebhookIdentityType } from './bookings-services-v2-service-services.universal-Dp0lV_aY.mjs';
4
4
 
5
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
6
  declare function createService$1(httpClient: HttpClient): CreateServiceSignature;
60
7
  interface CreateServiceSignature {
61
8
  /**
@@ -686,15 +633,63 @@ interface CloneServiceSignature {
686
633
  [P in ServiceNonNullablePaths]: `service.${P}`;
687
634
  }[ServiceNonNullablePaths] | `errors`>>;
688
635
  }
636
+ declare function createAddOnGroup$1(httpClient: HttpClient): CreateAddOnGroupSignature;
637
+ interface CreateAddOnGroupSignature {
638
+ /**
639
+ * Create a new AddOns group.
640
+ * An AddOns group defines a collection of AddOns that can be linked to a Service,
641
+ * with constraints such as minimum and maximum selections.
642
+ * @param - AddOnGroup to create.
643
+ */
644
+ (addOnGroup: NonNullablePaths<AddOnGroup, `name`>, options?: CreateAddOnGroupOptions): Promise<NonNullablePaths<CreateAddOnGroupResponse, `addOnGroup.addOnIds`>>;
645
+ }
646
+ declare function deleteAddOnGroup$1(httpClient: HttpClient): DeleteAddOnGroupSignature;
647
+ interface DeleteAddOnGroupSignature {
648
+ /**
649
+ * Delete an existing AddOns group.
650
+ * This will remove the group and unlink all associated AddOns.
651
+ * @param - ID of the AddOnGroup to delete.
652
+ */
653
+ (addOnGroupId: string, options: NonNullablePaths<DeleteAddOnGroupOptions, `serviceId`>): Promise<void & {
654
+ __applicationErrorsType?: DeleteAddOnGroupApplicationErrors;
655
+ }>;
656
+ }
657
+ declare function updateAddOnGroup$1(httpClient: HttpClient): UpdateAddOnGroupSignature;
658
+ interface UpdateAddOnGroupSignature {
659
+ /**
660
+ * Update an existing AddOns group.
661
+ * This allows modifying group settings such as its name, prompt, constraints, or associated AddOns.
662
+ * @param - AddOnGroup to update.
663
+ */
664
+ (addOnGroup: NonNullablePaths<AddOnGroup, `_id`>, options: NonNullablePaths<UpdateAddOnGroupOptions, `serviceId`>): Promise<NonNullablePaths<UpdateAddOnGroupResponse, `addOnGroup.addOnIds`> & {
665
+ __applicationErrorsType?: UpdateAddOnGroupApplicationErrors;
666
+ }>;
667
+ }
668
+ declare function listAddOnGroupsByServiceId$1(httpClient: HttpClient): ListAddOnGroupsByServiceIdSignature;
669
+ interface ListAddOnGroupsByServiceIdSignature {
670
+ /**
671
+ * Retrieves a list of AddOnGroups including enriched AddOn details in the correct order.
672
+ * If the group_id is specified, only the AddOns for the specified group will be returned,
673
+ * otherwise all groups will be returned.
674
+ * @param - ID of the service to retrieve AddOnGroups for.
675
+ */
676
+ (serviceId: string, options?: ListAddOnGroupsByServiceIdOptions): Promise<NonNullablePaths<ListAddOnGroupsByServiceIdResponse, `addOnGroupsDetails`>>;
677
+ }
678
+ declare function setAddOnsForGroup$1(httpClient: HttpClient): SetAddOnsForGroupSignature;
679
+ interface SetAddOnsForGroupSignature {
680
+ /**
681
+ * Sets the AddOns for a specific group.
682
+ * The order of the AddOns in the list will be used to determine their display order.
683
+ * @param - The service ID to set AddOns for.
684
+ */
685
+ (serviceId: string, options: NonNullablePaths<SetAddOnsForGroupOptions, `addOnIds` | `groupId`>): Promise<NonNullablePaths<SetAddOnsForGroupResponse, `addOnGroup.addOnIds`> & {
686
+ __applicationErrorsType?: SetAddOnsForGroupApplicationErrors;
687
+ }>;
688
+ }
689
689
  declare const onServiceCreated$1: EventDefinition<ServiceCreatedEnvelope, "wix.bookings.services.v2.service_created">;
690
690
  declare const onServiceDeleted$1: EventDefinition<ServiceDeletedEnvelope, "wix.bookings.services.v2.service_deleted">;
691
691
  declare const onServiceUpdated$1: EventDefinition<ServiceUpdatedEnvelope, "wix.bookings.services.v2.service_updated">;
692
692
 
693
- declare const createAddOnGroup: MaybeContext<BuildRESTFunction<typeof createAddOnGroup$1> & typeof createAddOnGroup$1>;
694
- declare const deleteAddOnGroup: MaybeContext<BuildRESTFunction<typeof deleteAddOnGroup$1> & typeof deleteAddOnGroup$1>;
695
- declare const updateAddOnGroup: MaybeContext<BuildRESTFunction<typeof updateAddOnGroup$1> & typeof updateAddOnGroup$1>;
696
- declare const listAddOnGroupsByServiceId: MaybeContext<BuildRESTFunction<typeof listAddOnGroupsByServiceId$1> & typeof listAddOnGroupsByServiceId$1>;
697
- declare const setAddOnsForGroup: MaybeContext<BuildRESTFunction<typeof setAddOnsForGroup$1> & typeof setAddOnsForGroup$1>;
698
693
  declare const createService: MaybeContext<BuildRESTFunction<typeof createService$1> & typeof createService$1>;
699
694
  declare const bulkCreateServices: MaybeContext<BuildRESTFunction<typeof bulkCreateServices$1> & typeof bulkCreateServices$1>;
700
695
  declare const getService: MaybeContext<BuildRESTFunction<typeof getService$1> & typeof getService$1>;
@@ -717,6 +712,11 @@ declare const disablePricingPlansForService: MaybeContext<BuildRESTFunction<type
717
712
  declare const setCustomSlug: MaybeContext<BuildRESTFunction<typeof setCustomSlug$1> & typeof setCustomSlug$1>;
718
713
  declare const validateSlug: MaybeContext<BuildRESTFunction<typeof validateSlug$1> & typeof validateSlug$1>;
719
714
  declare const cloneService: MaybeContext<BuildRESTFunction<typeof cloneService$1> & typeof cloneService$1>;
715
+ declare const createAddOnGroup: MaybeContext<BuildRESTFunction<typeof createAddOnGroup$1> & typeof createAddOnGroup$1>;
716
+ declare const deleteAddOnGroup: MaybeContext<BuildRESTFunction<typeof deleteAddOnGroup$1> & typeof deleteAddOnGroup$1>;
717
+ declare const updateAddOnGroup: MaybeContext<BuildRESTFunction<typeof updateAddOnGroup$1> & typeof updateAddOnGroup$1>;
718
+ declare const listAddOnGroupsByServiceId: MaybeContext<BuildRESTFunction<typeof listAddOnGroupsByServiceId$1> & typeof listAddOnGroupsByServiceId$1>;
719
+ declare const setAddOnsForGroup: MaybeContext<BuildRESTFunction<typeof setAddOnsForGroup$1> & typeof setAddOnsForGroup$1>;
720
720
  /**
721
721
  * Triggered when a service is created.
722
722
  */