@wix/auto_sdk_bookings_services 1.0.138 → 1.0.140
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/{bookings-services-v2-service-services.universal-CUaT-E45.d.ts → bookings-services-v2-service-services.universal-Bk0wGwO4.d.ts} +8 -7
- package/build/cjs/index.d.ts +8 -7
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +3 -3
- package/build/cjs/meta.js.map +1 -1
- package/build/es/{bookings-services-v2-service-services.universal-CUaT-E45.d.mts → bookings-services-v2-service-services.universal-Bk0wGwO4.d.mts} +8 -7
- package/build/es/index.d.mts +8 -7
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +3 -3
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/{bookings-services-v2-service-services.universal-CUaT-E45.d.ts → bookings-services-v2-service-services.universal-Bk0wGwO4.d.ts} +8 -7
- package/build/internal/cjs/index.d.ts +8 -7
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +3 -3
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/{bookings-services-v2-service-services.universal-CUaT-E45.d.mts → bookings-services-v2-service-services.universal-Bk0wGwO4.d.mts} +8 -7
- package/build/internal/es/index.d.mts +8 -7
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +3 -3
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -300,13 +300,13 @@ interface Money {
|
|
|
300
300
|
*/
|
|
301
301
|
value?: string;
|
|
302
302
|
/**
|
|
303
|
-
* Currency code
|
|
303
|
+
* Currency code in [ISO 4217 format](https://en.wikipedia.org/wiki/ISO_4217). For example, `USD`.
|
|
304
304
|
* @format CURRENCY
|
|
305
305
|
* @readonly
|
|
306
306
|
*/
|
|
307
307
|
currency?: string;
|
|
308
308
|
/**
|
|
309
|
-
* Monetary amount. Decimal string in local format
|
|
309
|
+
* Monetary amount. Decimal string in local format. For example, `1 000,30`.
|
|
310
310
|
* @maxLength 50
|
|
311
311
|
*/
|
|
312
312
|
formattedValue?: string | null;
|
|
@@ -3779,7 +3779,8 @@ interface CreateAddOnGroupOptions {
|
|
|
3779
3779
|
* Deletes an add-on group.
|
|
3780
3780
|
*
|
|
3781
3781
|
*
|
|
3782
|
-
* Deleting the group
|
|
3782
|
+
* Deleting the group doesn't delete individual add-ons.
|
|
3783
|
+
* Any add-on not associated with another group isn't available for customers to book.
|
|
3783
3784
|
* @param addOnGroupId - ID of the add-on group to delete.
|
|
3784
3785
|
* @public
|
|
3785
3786
|
* @documentationMaturity preview
|
|
@@ -3804,7 +3805,7 @@ interface DeleteAddOnGroupOptions {
|
|
|
3804
3805
|
* Updates an add-on group.
|
|
3805
3806
|
*
|
|
3806
3807
|
*
|
|
3807
|
-
* To update only
|
|
3808
|
+
* To update only add-on display order, call [Set Add Ons For Group](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/set-add-ons-for-group) instead.
|
|
3808
3809
|
* @param addOnGroup - Add-on group to update.
|
|
3809
3810
|
* @public
|
|
3810
3811
|
* @documentationMaturity preview
|
|
@@ -3863,7 +3864,7 @@ interface ListAddOnGroupsByServiceIdOptions {
|
|
|
3863
3864
|
* The order of add-ons in the request determines their display sequence to customers.
|
|
3864
3865
|
* All specified add-ons must already exist before adding them to a group.
|
|
3865
3866
|
*
|
|
3866
|
-
* For updating other add-on group properties, for example `name`, `prompt`, or `constraints`, call [Update Add
|
|
3867
|
+
* For updating other add-on group properties, for example `name`, `prompt`, or `constraints`, call [Update Add On Group](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/update-add-on-group) instead.
|
|
3867
3868
|
* @param serviceId - Service ID containing the group.
|
|
3868
3869
|
* @public
|
|
3869
3870
|
* @documentationMaturity preview
|
|
@@ -3999,11 +4000,11 @@ declare function getService(serviceId: string): Promise<NonNullablePaths<Service
|
|
|
3999
4000
|
*
|
|
4000
4001
|
* Don't use Update Service to modify service locations. Instead, use Set Service Locations ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/set-service-locations) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/set-service-locations)), which provides options for handling existing sessions when locations are changed.
|
|
4001
4002
|
*
|
|
4002
|
-
* ### Add-on groups
|
|
4003
|
+
* <!-- ### Add-on groups
|
|
4003
4004
|
*
|
|
4004
4005
|
* Don't use Update Service to modify service add-on groups. Use these dedicated methods instead:
|
|
4005
4006
|
* - **Update add-on group properties**: Call Update Add On Group ([SDK](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/update-add-on-group?apiView=SDK) | [REST](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/update-add-on-group)).
|
|
4006
|
-
* - **Update add-on display order**: Call Set Add Ons For Group ([SDK](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/set-add-ons-for-group?apiView=SDK) | [REST](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/set-add-ons-for-group)).
|
|
4007
|
+
* - **Update add-on display order**: Call Set Add Ons For Group ([SDK](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/set-add-ons-for-group?apiView=SDK) | [REST](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/set-add-ons-for-group)). -->
|
|
4007
4008
|
* @param _id - Service ID.
|
|
4008
4009
|
* @public
|
|
4009
4010
|
* @requiredField _id
|
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
-
import { 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-
|
|
3
|
-
export { ap as Action, bL as ActionEvent, er as ActionWithLiterals, bU as AddOn, bV as AddOnAddOnInfoOneOf, bw as AddOnDetails, bW as AddOnGroupDetail, a8 as AddOnPaymentOptions, ea as AddOnPaymentOptionsWithLiterals, dR as Address, dS as AddressHint, aT as AddressLocation, cy as Aggregation, cO as AggregationData, cz as AggregationKindOneOf, d5 as AggregationResults, d6 as AggregationResultsResultOneOf, cV as AggregationResultsScalarResult, am as AggregationType, eo as AggregationTypeWithLiterals, c4 as ApplicationError, be as AvailabilityConstraints, e4 as BaseEventMetadata, dH as Behavior, dI as BehaviorBehaviorOneOf, dD as Benefit, dC as BenefitNotification, au as BenefitType, ew as BenefitTypeWithLiterals, a_ as BookAfterStartPolicy, db as BookingForm, aW as BookingPolicy, d9 as BookingPolicyWithServices, c5 as BulkActionMetadata, c1 as BulkCreateServicesRequest, cl as BulkDeleteServicesByFilterRequest, ck as BulkDeleteServicesRequest, c2 as BulkServiceResult, cg as BulkUpdateServicesByFilterRequest, ce as BulkUpdateServicesRequest, aU as BusinessLocationOptions, dh as BusinessLocations, dU as BusinessSchedule, b4 as CancellationFeePolicy, a$ as CancellationPolicy, b5 as CancellationWindow, b6 as CancellationWindowFeeOneOf, dP as Categories, dA as Category, dz as CategoryNotification, at as CategoryNotificationEvent, ev as CategoryNotificationEventWithLiterals, d$ as ChangeContext, e0 as ChangeContextPayloadOneOf, ar as CloneErrors, et as CloneErrorsWithLiterals, dy as CloneServiceRequest, aQ as CommonAddress, aR as CommonAddressStreetOneOf, eC as CommonSearchWithEntityContext, aO as Conferencing, dd as ConnectedService, dZ as ConsentPolicy, de as CountServicesRequest, bP as CreateAddOnGroupRequest, bY as CreateServiceRequest, bZ as CreateServiceResponse, aw as CrudType, ey as CrudTypeWithLiterals, cr as CursorPaging, cN as CursorPagingMetadata, d8 as CursorQueryPagingMethodOneOf, cw as CursorSearch, cx as CursorSearchPagingMethodOneOf, cu as Cursors, aV as CustomLocationOptions, di as CustomLocations, bb as CustomOptions, aK as CustomPayment, dj as CustomerLocations, cG as DateHistogramAggregation, d1 as DateHistogramResult, d3 as DateHistogramResults, ay as DayOfWeek, eA as DayOfWeekWithLiterals, bB as Delete, bQ as DeleteAddOnGroupRequest, bR as DeleteAddOnGroupResponse, ch as DeleteServiceRequest, cj as DeleteServiceResponse, dv as DisablePricingPlansForServiceRequest, dF as Discount, dG as DiscountDiscountOneOf, bF as DomainEvent, bG as DomainEventBodyOneOf, bf as Duration, dB as Empty, dt as EnablePricingPlansForServiceRequest, bH as EntityCreatedEvent, bK as EntityDeletedEvent, bJ as EntityUpdatedEvent, dE as EntryPass, av as Event, e5 as EventMetadata, ex as EventWithLiterals, br as ExtendedFields, c0 as FieldViolation, aI as FixedPayment, aE as Form, dc as FormDetails, aF as FormSettings, dT as GeoCoordinates, c8 as GetServiceAvailabilityConstraintsRequest, c9 as GetServiceAvailabilityConstraintsResponse, c6 as GetServiceRequest, c7 as GetServiceResponse, cK as GroupByAggregation, cL as GroupByAggregationKindOneOf, d2 as GroupByValueResults, dK as HtmlSitePublished, bN as IdentificationData, bO as IdentificationDataIdOneOf, cB as IncludeMissingValuesOptions, bc as IntakeFormPolicy, al as Interval, en as IntervalWithLiterals, du as InvalidPricingPlan, aq as InvalidSlugError, es as InvalidSlugErrorWithLiterals, c3 as ItemMetadata, bt as Keyword, aY as LimitEarlyBookingPolicy, aZ as LimitLateBookingPolicy, bT as ListAddOnGroupsByServiceIdRequest, dQ as Locale, aP as LocationOptionsOneOf, a9 as LocationType, eb as LocationTypeWithLiterals, cf as MaskedService, aA as Media, aB as MediaItem, aC as MediaItemItemOneOf, bM as MessageEnvelope, ai as MissingValues, ek as MissingValuesWithLiterals, an as Mode, ep as ModeWithLiterals, aJ as Money, ds as MoveToNewLocationsOptions, dX as Multilingual, cJ as NestedAggregation, cH as NestedAggregationItem, cI as NestedAggregationItemKindOneOf, cR as NestedAggregationResults, cS as NestedAggregationResultsResultOneOf, ak as NestedAggregationType, em as NestedAggregationTypeWithLiterals, c_ as NestedResultValue, c$ as NestedResultValueResultOneOf, d4 as NestedResults, cW as NestedValueAggregationResult, aN as OnlineBooking, dL as Page, cq as Paging, ct as PagingMetadataV2, ci as ParticipantNotification, b2 as ParticipantsPolicy, aG as Payment, aM as PaymentOptions, aH as PaymentRateOneOf, ax as PlacementType, ez as PlacementTypeWithLiterals, aX as PolicyDescription, dO as Properties, e1 as PropertiesChange, da as QueryBookingFormsRequest, dl as QueryCategoriesFilter, dk as QueryCategoriesRequest, dg as QueryLocationsFilter, df as QueryLocationsRequest, d7 as QueryPoliciesRequest, dm as QueryServicesMultiLanguageRequest, dn as QueryServicesMultiLanguageResponse, cm as QueryServicesRequest, cs as QueryServicesResponse, cn as QueryV2, co as QueryV2PagingMethodOneOf, cE as RangeAggregation, cQ as RangeAggregationResult, cA as RangeBucket, cY as RangeResult, cU as RangeResults, ba as RankingOptions, aa as RankingOrder, ec as RankingOrderWithLiterals, a7 as RateType, e9 as RateTypeWithLiterals, by as ReindexMessage, bz as ReindexMessageActionOneOf, dq as RemovedLocationSessionsAction, dr as RemovedLocationSessionsActionActionOptionsOneOf, ao as RequestedFields, eq as RequestedFieldsWithLiterals, b0 as ReschedulePolicy, az as ResolutionMethod, eB as ResolutionMethodWithLiterals, bk as ResourceGroup, bl as ResourceIds, bo as ResourceType, b3 as ResourcesPolicy, bI as RestoreInfo, d0 as Results, b7 as SaveCreditCardPolicy, cF as ScalarAggregation, cZ as ScalarResult, aj as ScalarType, el as ScalarTypeWithLiterals, bd as Schedule, bC as Schema, cM as SearchDetails, cv as SearchServicesRequest, bs as SeoSchema, ca as ServiceAvailabilityConstraints, bm as ServiceResource, bn as ServiceResourceSelectionOneOf, e7 as ServiceSearchSpec, a6 as ServiceType, e8 as ServiceTypeWithLiterals, e6 as ServicesQueryResult, bE as ServicesUrlsChanged, bX as SetAddOnsForGroupRequest, bD as SetCustomSlugEvent, dw as SetCustomSlugRequest, dp as SetServiceLocationsRequest, bv as Settings, e3 as SiteCloned, e2 as SiteCreated, dN as SitePropertiesEvent, dM as SitePropertiesNotification, bp as Slug, ah as SortDirection, ej as SortDirectionWithLiterals, af as SortOrder, eh as SortOrderWithLiterals, ag as SortType, ei as SortTypeWithLiterals, cp as Sorting, ab as SortingMethodType, ed as SortingMethodTypeWithLiterals, dW as SpecialHourPeriod, cb as SplitInterval, bh as StaffMediaItem, bi as StaffMediaItemItemOneOf, bg as StaffMember, bj as StaffMemberDetails, b8 as StaffSortingPolicy, b9 as StaffSortingPolicyOptionsOneOf, as as Status, eu as StatusWithLiterals, aS as StreetAddress, dY as SupportedLanguage, bu as Tag, bx as TaxableAddress, ac as TaxableAddressType, ee as TaxableAddressTypeWithLiterals, dV as TimePeriod, d_ as Translation, bq as URLs, bS as UpdateAddOnGroupRequest, cc as UpdateServiceRequest, cd as UpdateServiceResponse, bA as Upsert, dJ as UserDomainInfoChangedEvent, aD as V2Category, ae as V2RequestedFields, eg as V2RequestedFieldsWithLiterals, b_ as ValidateServiceRequest, b$ as ValidateServiceResponse, dx as ValidateSlugRequest, cC as ValueAggregation, cD as ValueAggregationOptionsOneOf, cP as ValueAggregationResult, cX as ValueResult, cT as ValueResults, aL as VariedPayment, b1 as WaitlistPolicy, ad as WebhookIdentityType, ef as WebhookIdentityTypeWithLiterals } from './bookings-services-v2-service-services.universal-
|
|
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-Bk0wGwO4.js';
|
|
3
|
+
export { ap as Action, bL as ActionEvent, er as ActionWithLiterals, bU as AddOn, bV as AddOnAddOnInfoOneOf, bw as AddOnDetails, bW as AddOnGroupDetail, a8 as AddOnPaymentOptions, ea as AddOnPaymentOptionsWithLiterals, dR as Address, dS as AddressHint, aT as AddressLocation, cy as Aggregation, cO as AggregationData, cz as AggregationKindOneOf, d5 as AggregationResults, d6 as AggregationResultsResultOneOf, cV as AggregationResultsScalarResult, am as AggregationType, eo as AggregationTypeWithLiterals, c4 as ApplicationError, be as AvailabilityConstraints, e4 as BaseEventMetadata, dH as Behavior, dI as BehaviorBehaviorOneOf, dD as Benefit, dC as BenefitNotification, au as BenefitType, ew as BenefitTypeWithLiterals, a_ as BookAfterStartPolicy, db as BookingForm, aW as BookingPolicy, d9 as BookingPolicyWithServices, c5 as BulkActionMetadata, c1 as BulkCreateServicesRequest, cl as BulkDeleteServicesByFilterRequest, ck as BulkDeleteServicesRequest, c2 as BulkServiceResult, cg as BulkUpdateServicesByFilterRequest, ce as BulkUpdateServicesRequest, aU as BusinessLocationOptions, dh as BusinessLocations, dU as BusinessSchedule, b4 as CancellationFeePolicy, a$ as CancellationPolicy, b5 as CancellationWindow, b6 as CancellationWindowFeeOneOf, dP as Categories, dA as Category, dz as CategoryNotification, at as CategoryNotificationEvent, ev as CategoryNotificationEventWithLiterals, d$ as ChangeContext, e0 as ChangeContextPayloadOneOf, ar as CloneErrors, et as CloneErrorsWithLiterals, dy as CloneServiceRequest, aQ as CommonAddress, aR as CommonAddressStreetOneOf, eC as CommonSearchWithEntityContext, aO as Conferencing, dd as ConnectedService, dZ as ConsentPolicy, de as CountServicesRequest, bP as CreateAddOnGroupRequest, bY as CreateServiceRequest, bZ as CreateServiceResponse, aw as CrudType, ey as CrudTypeWithLiterals, cr as CursorPaging, cN as CursorPagingMetadata, d8 as CursorQueryPagingMethodOneOf, cw as CursorSearch, cx as CursorSearchPagingMethodOneOf, cu as Cursors, aV as CustomLocationOptions, di as CustomLocations, bb as CustomOptions, aK as CustomPayment, dj as CustomerLocations, cG as DateHistogramAggregation, d1 as DateHistogramResult, d3 as DateHistogramResults, ay as DayOfWeek, eA as DayOfWeekWithLiterals, bB as Delete, bQ as DeleteAddOnGroupRequest, bR as DeleteAddOnGroupResponse, ch as DeleteServiceRequest, cj as DeleteServiceResponse, dv as DisablePricingPlansForServiceRequest, dF as Discount, dG as DiscountDiscountOneOf, bF as DomainEvent, bG as DomainEventBodyOneOf, bf as Duration, dB as Empty, dt as EnablePricingPlansForServiceRequest, bH as EntityCreatedEvent, bK as EntityDeletedEvent, bJ as EntityUpdatedEvent, dE as EntryPass, av as Event, e5 as EventMetadata, ex as EventWithLiterals, br as ExtendedFields, c0 as FieldViolation, aI as FixedPayment, aE as Form, dc as FormDetails, aF as FormSettings, dT as GeoCoordinates, c8 as GetServiceAvailabilityConstraintsRequest, c9 as GetServiceAvailabilityConstraintsResponse, c6 as GetServiceRequest, c7 as GetServiceResponse, cK as GroupByAggregation, cL as GroupByAggregationKindOneOf, d2 as GroupByValueResults, dK as HtmlSitePublished, bN as IdentificationData, bO as IdentificationDataIdOneOf, cB as IncludeMissingValuesOptions, bc as IntakeFormPolicy, al as Interval, en as IntervalWithLiterals, du as InvalidPricingPlan, aq as InvalidSlugError, es as InvalidSlugErrorWithLiterals, c3 as ItemMetadata, bt as Keyword, aY as LimitEarlyBookingPolicy, aZ as LimitLateBookingPolicy, bT as ListAddOnGroupsByServiceIdRequest, dQ as Locale, aP as LocationOptionsOneOf, a9 as LocationType, eb as LocationTypeWithLiterals, cf as MaskedService, aA as Media, aB as MediaItem, aC as MediaItemItemOneOf, bM as MessageEnvelope, ai as MissingValues, ek as MissingValuesWithLiterals, an as Mode, ep as ModeWithLiterals, aJ as Money, ds as MoveToNewLocationsOptions, dX as Multilingual, cJ as NestedAggregation, cH as NestedAggregationItem, cI as NestedAggregationItemKindOneOf, cR as NestedAggregationResults, cS as NestedAggregationResultsResultOneOf, ak as NestedAggregationType, em as NestedAggregationTypeWithLiterals, c_ as NestedResultValue, c$ as NestedResultValueResultOneOf, d4 as NestedResults, cW as NestedValueAggregationResult, aN as OnlineBooking, dL as Page, cq as Paging, ct as PagingMetadataV2, ci as ParticipantNotification, b2 as ParticipantsPolicy, aG as Payment, aM as PaymentOptions, aH as PaymentRateOneOf, ax as PlacementType, ez as PlacementTypeWithLiterals, aX as PolicyDescription, dO as Properties, e1 as PropertiesChange, da as QueryBookingFormsRequest, dl as QueryCategoriesFilter, dk as QueryCategoriesRequest, dg as QueryLocationsFilter, df as QueryLocationsRequest, d7 as QueryPoliciesRequest, dm as QueryServicesMultiLanguageRequest, dn as QueryServicesMultiLanguageResponse, cm as QueryServicesRequest, cs as QueryServicesResponse, cn as QueryV2, co as QueryV2PagingMethodOneOf, cE as RangeAggregation, cQ as RangeAggregationResult, cA as RangeBucket, cY as RangeResult, cU as RangeResults, ba as RankingOptions, aa as RankingOrder, ec as RankingOrderWithLiterals, a7 as RateType, e9 as RateTypeWithLiterals, by as ReindexMessage, bz as ReindexMessageActionOneOf, dq as RemovedLocationSessionsAction, dr as RemovedLocationSessionsActionActionOptionsOneOf, ao as RequestedFields, eq as RequestedFieldsWithLiterals, b0 as ReschedulePolicy, az as ResolutionMethod, eB as ResolutionMethodWithLiterals, bk as ResourceGroup, bl as ResourceIds, bo as ResourceType, b3 as ResourcesPolicy, bI as RestoreInfo, d0 as Results, b7 as SaveCreditCardPolicy, cF as ScalarAggregation, cZ as ScalarResult, aj as ScalarType, el as ScalarTypeWithLiterals, bd as Schedule, bC as Schema, cM as SearchDetails, cv as SearchServicesRequest, bs as SeoSchema, ca as ServiceAvailabilityConstraints, bm as ServiceResource, bn as ServiceResourceSelectionOneOf, e7 as ServiceSearchSpec, a6 as ServiceType, e8 as ServiceTypeWithLiterals, e6 as ServicesQueryResult, bE as ServicesUrlsChanged, bX as SetAddOnsForGroupRequest, bD as SetCustomSlugEvent, dw as SetCustomSlugRequest, dp as SetServiceLocationsRequest, bv as Settings, e3 as SiteCloned, e2 as SiteCreated, dN as SitePropertiesEvent, dM as SitePropertiesNotification, bp as Slug, ah as SortDirection, ej as SortDirectionWithLiterals, af as SortOrder, eh as SortOrderWithLiterals, ag as SortType, ei as SortTypeWithLiterals, cp as Sorting, ab as SortingMethodType, ed as SortingMethodTypeWithLiterals, dW as SpecialHourPeriod, cb as SplitInterval, bh as StaffMediaItem, bi as StaffMediaItemItemOneOf, bg as StaffMember, bj as StaffMemberDetails, b8 as StaffSortingPolicy, b9 as StaffSortingPolicyOptionsOneOf, as as Status, eu as StatusWithLiterals, aS as StreetAddress, dY as SupportedLanguage, bu as Tag, bx as TaxableAddress, ac as TaxableAddressType, ee as TaxableAddressTypeWithLiterals, dV as TimePeriod, d_ as Translation, bq as URLs, bS as UpdateAddOnGroupRequest, cc as UpdateServiceRequest, cd as UpdateServiceResponse, bA as Upsert, dJ as UserDomainInfoChangedEvent, aD as V2Category, ae as V2RequestedFields, eg as V2RequestedFieldsWithLiterals, b_ as ValidateServiceRequest, b$ as ValidateServiceResponse, dx as ValidateSlugRequest, cC as ValueAggregation, cD as ValueAggregationOptionsOneOf, cP as ValueAggregationResult, cX as ValueResult, cT as ValueResults, aL as VariedPayment, b1 as WaitlistPolicy, ad as WebhookIdentityType, ef as WebhookIdentityTypeWithLiterals } from './bookings-services-v2-service-services.universal-Bk0wGwO4.js';
|
|
4
4
|
|
|
5
5
|
declare function createAddOnGroup$1(httpClient: HttpClient): CreateAddOnGroupSignature;
|
|
6
6
|
interface CreateAddOnGroupSignature {
|
|
@@ -16,7 +16,8 @@ interface DeleteAddOnGroupSignature {
|
|
|
16
16
|
* Deletes an add-on group.
|
|
17
17
|
*
|
|
18
18
|
*
|
|
19
|
-
* Deleting the group
|
|
19
|
+
* Deleting the group doesn't delete individual add-ons.
|
|
20
|
+
* Any add-on not associated with another group isn't available for customers to book.
|
|
20
21
|
* @param - ID of the add-on group to delete.
|
|
21
22
|
*/
|
|
22
23
|
(addOnGroupId: string, options: NonNullablePaths<DeleteAddOnGroupOptions, `serviceId`, 2>): Promise<void & {
|
|
@@ -29,7 +30,7 @@ interface UpdateAddOnGroupSignature {
|
|
|
29
30
|
* Updates an add-on group.
|
|
30
31
|
*
|
|
31
32
|
*
|
|
32
|
-
* To update only
|
|
33
|
+
* To update only add-on display order, call [Set Add Ons For Group](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/set-add-ons-for-group) instead.
|
|
33
34
|
* @param - Add-on group to update.
|
|
34
35
|
*/
|
|
35
36
|
(addOnGroup: NonNullablePaths<AddOnGroup, `_id`, 2>, options: NonNullablePaths<UpdateAddOnGroupOptions, `serviceId`, 2>): Promise<NonNullablePaths<UpdateAddOnGroupResponse, `addOnGroup.addOnIds`, 3> & {
|
|
@@ -64,7 +65,7 @@ interface SetAddOnsForGroupSignature {
|
|
|
64
65
|
* The order of add-ons in the request determines their display sequence to customers.
|
|
65
66
|
* All specified add-ons must already exist before adding them to a group.
|
|
66
67
|
*
|
|
67
|
-
* For updating other add-on group properties, for example `name`, `prompt`, or `constraints`, call [Update Add
|
|
68
|
+
* For updating other add-on group properties, for example `name`, `prompt`, or `constraints`, call [Update Add On Group](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/update-add-on-group) instead.
|
|
68
69
|
* @param - Service ID containing the group.
|
|
69
70
|
*/
|
|
70
71
|
(serviceId: string, options: NonNullablePaths<SetAddOnsForGroupOptions, `addOnIds` | `groupId`, 2>): Promise<NonNullablePaths<SetAddOnsForGroupResponse, `addOnGroup.addOnIds`, 3> & {
|
|
@@ -170,11 +171,11 @@ interface UpdateServiceSignature {
|
|
|
170
171
|
*
|
|
171
172
|
* Don't use Update Service to modify service locations. Instead, use Set Service Locations ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/set-service-locations) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/set-service-locations)), which provides options for handling existing sessions when locations are changed.
|
|
172
173
|
*
|
|
173
|
-
* ### Add-on groups
|
|
174
|
+
* <!-- ### Add-on groups
|
|
174
175
|
*
|
|
175
176
|
* Don't use Update Service to modify service add-on groups. Use these dedicated methods instead:
|
|
176
177
|
* - **Update add-on group properties**: Call Update Add On Group ([SDK](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/update-add-on-group?apiView=SDK) | [REST](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/update-add-on-group)).
|
|
177
|
-
* - **Update add-on display order**: Call Set Add Ons For Group ([SDK](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/set-add-ons-for-group?apiView=SDK) | [REST](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/set-add-ons-for-group)).
|
|
178
|
+
* - **Update add-on display order**: Call Set Add Ons For Group ([SDK](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/set-add-ons-for-group?apiView=SDK) | [REST](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/set-add-ons-for-group)). -->
|
|
178
179
|
* @param - Service ID.
|
|
179
180
|
* @returns Updated service.
|
|
180
181
|
*/
|