@wix/auto_sdk_bookings_services 1.0.135 → 1.0.137

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 (29) hide show
  1. package/build/cjs/{bookings-services-v2-service-services.universal-BdI6PnqP.d.ts → bookings-services-v2-service-services.universal-DtIQ1DXH.d.ts} +82 -58
  2. package/build/cjs/index.d.ts +43 -21
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +2 -2
  5. package/build/cjs/index.typings.js.map +1 -1
  6. package/build/cjs/meta.d.ts +36 -34
  7. package/build/cjs/meta.js.map +1 -1
  8. package/build/es/{bookings-services-v2-service-services.universal-BdI6PnqP.d.mts → bookings-services-v2-service-services.universal-DtIQ1DXH.d.mts} +82 -58
  9. package/build/es/index.d.mts +43 -21
  10. package/build/es/index.mjs.map +1 -1
  11. package/build/es/index.typings.d.mts +2 -2
  12. package/build/es/index.typings.mjs.map +1 -1
  13. package/build/es/meta.d.mts +36 -34
  14. package/build/es/meta.mjs.map +1 -1
  15. package/build/internal/cjs/{bookings-services-v2-service-services.universal-BdI6PnqP.d.ts → bookings-services-v2-service-services.universal-DtIQ1DXH.d.ts} +82 -58
  16. package/build/internal/cjs/index.d.ts +43 -21
  17. package/build/internal/cjs/index.js.map +1 -1
  18. package/build/internal/cjs/index.typings.d.ts +2 -2
  19. package/build/internal/cjs/index.typings.js.map +1 -1
  20. package/build/internal/cjs/meta.d.ts +36 -34
  21. package/build/internal/cjs/meta.js.map +1 -1
  22. package/build/internal/es/{bookings-services-v2-service-services.universal-BdI6PnqP.d.mts → bookings-services-v2-service-services.universal-DtIQ1DXH.d.mts} +82 -58
  23. package/build/internal/es/index.d.mts +43 -21
  24. package/build/internal/es/index.mjs.map +1 -1
  25. package/build/internal/es/index.typings.d.mts +2 -2
  26. package/build/internal/es/index.typings.mjs.map +1 -1
  27. package/build/internal/es/meta.d.mts +36 -34
  28. package/build/internal/es/meta.mjs.map +1 -1
  29. package/package.json +2 -2
@@ -1234,29 +1234,29 @@ interface Settings {
1234
1234
  }
1235
1235
  interface AddOnGroup {
1236
1236
  /**
1237
- * ID of the group.
1237
+ * Add-on group ID.
1238
1238
  * @readonly
1239
1239
  * @format GUID
1240
1240
  */
1241
1241
  _id?: string | null;
1242
1242
  /**
1243
- * The name of the group.
1243
+ * Group name displayed to customers.
1244
1244
  * @maxLength 100
1245
1245
  */
1246
1246
  name?: string | null;
1247
1247
  /**
1248
- * The maximum number of AddOns that can be selected from this group.
1249
- * If not set, there is no upper limit.
1248
+ * Maximum number of add-ons customers can select from this group.
1249
+ * If not set, customers can select unlimited add-ons from the group.
1250
1250
  */
1251
1251
  maxNumberOfAddOns?: number | null;
1252
1252
  /**
1253
- * List of AddOn IDs that are part of this group.
1253
+ * List of add-on IDs in this group, ordered by display sequence.
1254
1254
  * @format GUID
1255
1255
  * @maxSize 7
1256
1256
  */
1257
1257
  addOnIds?: string[] | null;
1258
1258
  /**
1259
- * The group prompt.
1259
+ * Instructional prompt displayed to customers for this group.
1260
1260
  * @maxLength 200
1261
1261
  */
1262
1262
  prompt?: string | null;
@@ -1455,26 +1455,26 @@ declare enum WebhookIdentityType {
1455
1455
  /** @enumType */
1456
1456
  type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
1457
1457
  interface CreateAddOnGroupRequest {
1458
- /** AddOnGroup to create. */
1458
+ /** Add-on group to create. */
1459
1459
  addOnGroup: AddOnGroup;
1460
1460
  /**
1461
- * ID of the service to create the AddOnGroup for.
1461
+ * ID of the service to create the add-on group for.
1462
1462
  * @format GUID
1463
1463
  */
1464
1464
  serviceId?: string | null;
1465
1465
  }
1466
1466
  interface CreateAddOnGroupResponse {
1467
- /** Created AddOnGroup. */
1467
+ /** Created add-on group. */
1468
1468
  addOnGroup?: AddOnGroup;
1469
1469
  }
1470
1470
  interface DeleteAddOnGroupRequest {
1471
1471
  /**
1472
- * ID of the AddOnGroup to delete.
1472
+ * ID of the add-on group to delete.
1473
1473
  * @format GUID
1474
1474
  */
1475
1475
  addOnGroupId: string | null;
1476
1476
  /**
1477
- * ID of the service from which to delete the AddOnGroup.
1477
+ * ID of the service from which to delete the add-on group.
1478
1478
  * @format GUID
1479
1479
  */
1480
1480
  serviceId: string | null;
@@ -1482,26 +1482,26 @@ interface DeleteAddOnGroupRequest {
1482
1482
  interface DeleteAddOnGroupResponse {
1483
1483
  }
1484
1484
  interface UpdateAddOnGroupRequest {
1485
- /** AddOnGroup to update. */
1485
+ /** Add-on group to update. */
1486
1486
  addOnGroup: AddOnGroup;
1487
1487
  /**
1488
- * ID of the service that contains the AddOnGroup.
1488
+ * ID of the service that contains the add-on group.
1489
1489
  * @format GUID
1490
1490
  */
1491
1491
  serviceId: string | null;
1492
1492
  }
1493
1493
  interface UpdateAddOnGroupResponse {
1494
- /** Updated AddOnGroup */
1494
+ /** Updated add-on group. */
1495
1495
  addOnGroup?: AddOnGroup;
1496
1496
  }
1497
1497
  interface ListAddOnGroupsByServiceIdRequest {
1498
1498
  /**
1499
- * ID of the service to retrieve AddOnGroups for.
1499
+ * ID of the service to retrieve add-on groups for.
1500
1500
  * @format GUID
1501
1501
  */
1502
1502
  serviceId: string | null;
1503
1503
  /**
1504
- * List of group ids to return. If not provided, all groups are returned.
1504
+ * List of group IDs to return. By default, all groups are returned.
1505
1505
  * @format GUID
1506
1506
  * @maxSize 3
1507
1507
  */
@@ -1509,73 +1509,73 @@ interface ListAddOnGroupsByServiceIdRequest {
1509
1509
  }
1510
1510
  interface ListAddOnGroupsByServiceIdResponse {
1511
1511
  /**
1512
- * List of group IDs and their linked AddOns.
1512
+ * List of group details with their linked add-ons.
1513
1513
  * @maxSize 3
1514
1514
  */
1515
1515
  addOnGroupsDetails?: AddOnGroupDetail[];
1516
1516
  }
1517
1517
  interface AddOn extends AddOnAddOnInfoOneOf {
1518
- /** The AddOn description. */
1518
+ /** Duration in minutes for duration-based add-ons that extend booking service time. */
1519
1519
  durationInMinutes?: number;
1520
- /** The AddOn max quantity. */
1520
+ /** Maximum quantity customers can purchase for quantity-based add-ons. */
1521
1521
  maxQuantity?: number;
1522
1522
  /**
1523
- * The AddOn ID.
1523
+ * Add-on ID.
1524
1524
  * @format GUID
1525
1525
  */
1526
1526
  addOnId?: string | null;
1527
1527
  /**
1528
- * The AddOn name.
1528
+ * Add-on name displayed to customers.
1529
1529
  * @maxLength 100
1530
1530
  */
1531
1531
  name?: string | null;
1532
- /** The AddOn price. */
1532
+ /** Add-on price. */
1533
1533
  price?: Money;
1534
1534
  }
1535
1535
  /** @oneof */
1536
1536
  interface AddOnAddOnInfoOneOf {
1537
- /** The AddOn description. */
1537
+ /** Duration in minutes for duration-based add-ons that extend booking service time. */
1538
1538
  durationInMinutes?: number;
1539
- /** The AddOn max quantity. */
1539
+ /** Maximum quantity customers can purchase for quantity-based add-ons. */
1540
1540
  maxQuantity?: number;
1541
1541
  }
1542
1542
  interface AddOnGroupDetail {
1543
1543
  /**
1544
- * The group ID.
1544
+ * Group ID.
1545
1545
  * @format GUID
1546
1546
  */
1547
1547
  groupId?: string | null;
1548
- /** The group max number of AddOns. */
1548
+ /** Maximum number of add-ons customers can select from this group. */
1549
1549
  maxNumberOfAddOns?: number | null;
1550
1550
  /**
1551
- * The group name.
1551
+ * Group name displayed to customers.
1552
1552
  * @maxLength 100
1553
1553
  */
1554
1554
  groupName?: string | null;
1555
1555
  /**
1556
- * The AddOns information linked to the group.
1556
+ * Add-ons linked to this group in display order.
1557
1557
  * @maxSize 7
1558
1558
  */
1559
1559
  addOns?: AddOn[];
1560
1560
  /**
1561
- * The group prompt.
1561
+ * Instructional prompt displayed to customers. For example, `Choose up to 2 relaxing spa treatments to enhance your experience`. You can also use this field as a group description. For example, `Beginner-friendly rental equipment`.
1562
1562
  * @maxLength 200
1563
1563
  */
1564
1564
  prompt?: string | null;
1565
1565
  }
1566
1566
  interface SetAddOnsForGroupRequest {
1567
1567
  /**
1568
- * The service ID to set AddOns for.
1568
+ * Service ID containing the group.
1569
1569
  * @format GUID
1570
1570
  */
1571
1571
  serviceId: string | null;
1572
1572
  /**
1573
- * The group ID to set AddOns for.
1573
+ * Group ID to set add-ons for.
1574
1574
  * @format GUID
1575
1575
  */
1576
1576
  groupId: string | null;
1577
1577
  /**
1578
- * The IDs of AddOns to set.
1578
+ * IDs of add-ons to set for the group in display order.
1579
1579
  * @format GUID
1580
1580
  * @minSize 1
1581
1581
  * @maxSize 7
@@ -1583,7 +1583,7 @@ interface SetAddOnsForGroupRequest {
1583
1583
  addOnIds: string[] | null;
1584
1584
  }
1585
1585
  interface SetAddOnsForGroupResponse {
1586
- /** The updated AddOnGroup. */
1586
+ /** Updated add-on group. */
1587
1587
  addOnGroup?: AddOnGroup;
1588
1588
  }
1589
1589
  interface CreateServiceRequest {
@@ -3200,6 +3200,8 @@ interface HtmlSitePublished {
3200
3200
  pages?: Page[];
3201
3201
  /** Site's publish date */
3202
3202
  publishDate?: string;
3203
+ /** Determine if this message was produced by editor-deployments service */
3204
+ originatedFromDeploymentsService?: boolean;
3203
3205
  }
3204
3206
  interface Page {
3205
3207
  /**
@@ -3755,10 +3757,8 @@ interface ServiceUpdatedEnvelope {
3755
3757
  */
3756
3758
  declare function onServiceUpdated(handler: (event: ServiceUpdatedEnvelope) => void | Promise<void>): void;
3757
3759
  /**
3758
- * Create a new AddOns group.
3759
- * An AddOns group defines a collection of AddOns that can be linked to a Service,
3760
- * with constraints such as minimum and maximum selections.
3761
- * @param addOnGroup - AddOnGroup to create.
3760
+ * Creates a new add-on group for a service and updates the service's `addOnGroups` array.
3761
+ * @param addOnGroup - Add-on group to create.
3762
3762
  * @public
3763
3763
  * @documentationMaturity preview
3764
3764
  * @requiredField addOnGroup
@@ -3770,15 +3770,17 @@ declare function onServiceUpdated(handler: (event: ServiceUpdatedEnvelope) => vo
3770
3770
  declare function createAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `name`, 2>, options?: CreateAddOnGroupOptions): Promise<NonNullablePaths<CreateAddOnGroupResponse, `addOnGroup.addOnIds`, 3>>;
3771
3771
  interface CreateAddOnGroupOptions {
3772
3772
  /**
3773
- * ID of the service to create the AddOnGroup for.
3773
+ * ID of the service to create the add-on group for.
3774
3774
  * @format GUID
3775
3775
  */
3776
3776
  serviceId?: string | null;
3777
3777
  }
3778
3778
  /**
3779
- * Delete an existing AddOns group.
3780
- * This will remove the group and unlink all associated AddOns.
3781
- * @param addOnGroupId - ID of the AddOnGroup to delete.
3779
+ * Deletes an add-on group.
3780
+ *
3781
+ *
3782
+ * Deleting the group unlinks all associated add-ons but doesn't delete the individual add-ons.
3783
+ * @param addOnGroupId - ID of the add-on group to delete.
3782
3784
  * @public
3783
3785
  * @documentationMaturity preview
3784
3786
  * @requiredField addOnGroupId
@@ -3793,15 +3795,17 @@ declare function deleteAddOnGroup(addOnGroupId: string, options: NonNullablePath
3793
3795
  }>;
3794
3796
  interface DeleteAddOnGroupOptions {
3795
3797
  /**
3796
- * ID of the service from which to delete the AddOnGroup.
3798
+ * ID of the service from which to delete the add-on group.
3797
3799
  * @format GUID
3798
3800
  */
3799
3801
  serviceId: string | null;
3800
3802
  }
3801
3803
  /**
3802
- * Update an existing AddOns group.
3803
- * This allows modifying group settings such as its name, prompt, constraints, or associated AddOns.
3804
- * @param addOnGroup - AddOnGroup to update.
3804
+ * Updates an add-on group.
3805
+ *
3806
+ *
3807
+ * To update only the display order, consider calling [Set Add-Ons For Group](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/set-add-ons-for-group) instead.
3808
+ * @param addOnGroup - Add-on group to update.
3805
3809
  * @public
3806
3810
  * @documentationMaturity preview
3807
3811
  * @requiredField addOnGroup
@@ -3817,16 +3821,20 @@ declare function updateAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `_id`
3817
3821
  }>;
3818
3822
  interface UpdateAddOnGroupOptions {
3819
3823
  /**
3820
- * ID of the service that contains the AddOnGroup.
3824
+ * ID of the service that contains the add-on group.
3821
3825
  * @format GUID
3822
3826
  */
3823
3827
  serviceId: string | null;
3824
3828
  }
3825
3829
  /**
3826
- * Retrieves a list of AddOnGroups including enriched AddOn details in the correct order.
3827
- * If the group_id is specified, only the AddOns for the specified group will be returned,
3828
- * otherwise all groups will be returned.
3829
- * @param serviceId - ID of the service to retrieve AddOnGroups for.
3830
+ * Retrieves add-on groups for a service with enriched add-on details.
3831
+ *
3832
+ *
3833
+ * Add-on details are returned based on their display order.
3834
+ *
3835
+ * If you specify `groupIds`, only those groups are returned.
3836
+ * By default, all groups associated with the service are returned.
3837
+ * @param serviceId - ID of the service to retrieve add-on groups for.
3830
3838
  * @public
3831
3839
  * @documentationMaturity preview
3832
3840
  * @requiredField serviceId
@@ -3837,16 +3845,26 @@ interface UpdateAddOnGroupOptions {
3837
3845
  declare function listAddOnGroupsByServiceId(serviceId: string, options?: ListAddOnGroupsByServiceIdOptions): Promise<NonNullablePaths<ListAddOnGroupsByServiceIdResponse, `addOnGroupsDetails`, 2>>;
3838
3846
  interface ListAddOnGroupsByServiceIdOptions {
3839
3847
  /**
3840
- * List of group ids to return. If not provided, all groups are returned.
3848
+ * List of group IDs to return. By default, all groups are returned.
3841
3849
  * @format GUID
3842
3850
  * @maxSize 3
3843
3851
  */
3844
3852
  groupIds?: string[] | null;
3845
3853
  }
3846
3854
  /**
3847
- * Sets the AddOns for a specific group.
3848
- * The order of the AddOns in the list will be used to determine their display order.
3849
- * @param serviceId - The service ID to set AddOns for.
3855
+ * Sets the add-ons for a specific group, replacing any existing add-ons in the group.
3856
+ *
3857
+ *
3858
+ * Call this method when you want to:
3859
+ * - Add new add-ons to a group.
3860
+ * - Remove add-ons from a group.
3861
+ * - Reorder existing add-ons for optimal customer presentation.
3862
+ *
3863
+ * The order of add-ons in the request determines their display sequence to customers.
3864
+ * All specified add-ons must already exist before adding them to a group.
3865
+ *
3866
+ * For updating other add-on group properties, for example `name`, `prompt`, or `constraints`, call [Update Add-On Group](https://dev.wix.com/docs/rest/business-solutions/bookings/services/add-on-services-v2/update-add-on-group) instead.
3867
+ * @param serviceId - Service ID containing the group.
3850
3868
  * @public
3851
3869
  * @documentationMaturity preview
3852
3870
  * @requiredField options
@@ -3862,12 +3880,12 @@ declare function setAddOnsForGroup(serviceId: string, options: NonNullablePaths<
3862
3880
  }>;
3863
3881
  interface SetAddOnsForGroupOptions {
3864
3882
  /**
3865
- * The group ID to set AddOns for.
3883
+ * Group ID to set add-ons for.
3866
3884
  * @format GUID
3867
3885
  */
3868
3886
  groupId: string | null;
3869
3887
  /**
3870
- * The IDs of AddOns to set.
3888
+ * IDs of add-ons to set for the group in display order.
3871
3889
  * @format GUID
3872
3890
  * @minSize 1
3873
3891
  * @maxSize 7
@@ -3977,9 +3995,15 @@ declare function getService(serviceId: string): Promise<NonNullablePaths<Service
3977
3995
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/create-service#session-durations) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/create-service#session-durations))
3978
3996
  * for more details.
3979
3997
  *
3980
- * ## Service locations
3998
+ * ### Service locations
3999
+ *
4000
+ * 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
+ * ### Add-on groups
3981
4003
  *
3982
- * Don't call Update Service to adjust service locations, call 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)) instead.
4004
+ * Don't use Update Service to modify service add-on groups. Use these dedicated methods instead:
4005
+ * - **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)).
3983
4007
  * @param _id - Service ID.
3984
4008
  * @public
3985
4009
  * @requiredField _id
@@ -1,23 +1,23 @@
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-BdI6PnqP.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-BdI6PnqP.js';
2
+ import { A as AddOnGroup, C as CreateAddOnGroupOptions, a as CreateAddOnGroupResponse, D as DeleteAddOnGroupOptions, b as DeleteAddOnGroupApplicationErrors, U as UpdateAddOnGroupOptions, c as UpdateAddOnGroupResponse, d as UpdateAddOnGroupApplicationErrors, L as ListAddOnGroupsByServiceIdOptions, e as ListAddOnGroupsByServiceIdResponse, S as SetAddOnsForGroupOptions, f as SetAddOnsForGroupResponse, g as SetAddOnsForGroupApplicationErrors, h as Service, i as CreateServiceValidationErrors, B as BulkCreateServicesOptions, j as BulkCreateServicesResponse, k as UpdateService, l as UpdateServiceValidationErrors, m as BulkUpdateServicesOptions, n as BulkUpdateServicesResponse, o as BulkUpdateServicesByFilterOptions, p as BulkUpdateServicesByFilterResponse, q as DeleteServiceOptions, r as BulkDeleteServicesOptions, s as BulkDeleteServicesResponse, t as BulkDeleteServicesByFilterOptions, u as BulkDeleteServicesByFilterResponse, v as 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-DtIQ1DXH.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-DtIQ1DXH.js';
4
4
 
5
5
  declare function createAddOnGroup$1(httpClient: HttpClient): CreateAddOnGroupSignature;
6
6
  interface CreateAddOnGroupSignature {
7
7
  /**
8
- * Create a new AddOns group.
9
- * An AddOns group defines a collection of AddOns that can be linked to a Service,
10
- * with constraints such as minimum and maximum selections.
11
- * @param - AddOnGroup to create.
8
+ * Creates a new add-on group for a service and updates the service's `addOnGroups` array.
9
+ * @param - Add-on group to create.
12
10
  */
13
11
  (addOnGroup: NonNullablePaths<AddOnGroup, `name`, 2>, options?: CreateAddOnGroupOptions): Promise<NonNullablePaths<CreateAddOnGroupResponse, `addOnGroup.addOnIds`, 3>>;
14
12
  }
15
13
  declare function deleteAddOnGroup$1(httpClient: HttpClient): DeleteAddOnGroupSignature;
16
14
  interface DeleteAddOnGroupSignature {
17
15
  /**
18
- * Delete an existing AddOns group.
19
- * This will remove the group and unlink all associated AddOns.
20
- * @param - ID of the AddOnGroup to delete.
16
+ * Deletes an add-on group.
17
+ *
18
+ *
19
+ * Deleting the group unlinks all associated add-ons but doesn't delete the individual add-ons.
20
+ * @param - ID of the add-on group to delete.
21
21
  */
22
22
  (addOnGroupId: string, options: NonNullablePaths<DeleteAddOnGroupOptions, `serviceId`, 2>): Promise<void & {
23
23
  __applicationErrorsType?: DeleteAddOnGroupApplicationErrors;
@@ -26,9 +26,11 @@ interface DeleteAddOnGroupSignature {
26
26
  declare function updateAddOnGroup$1(httpClient: HttpClient): UpdateAddOnGroupSignature;
27
27
  interface UpdateAddOnGroupSignature {
28
28
  /**
29
- * Update an existing AddOns group.
30
- * This allows modifying group settings such as its name, prompt, constraints, or associated AddOns.
31
- * @param - AddOnGroup to update.
29
+ * Updates an add-on group.
30
+ *
31
+ *
32
+ * To update only the display order, consider calling [Set Add-Ons For Group](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/set-add-ons-for-group) instead.
33
+ * @param - Add-on group to update.
32
34
  */
33
35
  (addOnGroup: NonNullablePaths<AddOnGroup, `_id`, 2>, options: NonNullablePaths<UpdateAddOnGroupOptions, `serviceId`, 2>): Promise<NonNullablePaths<UpdateAddOnGroupResponse, `addOnGroup.addOnIds`, 3> & {
34
36
  __applicationErrorsType?: UpdateAddOnGroupApplicationErrors;
@@ -37,19 +39,33 @@ interface UpdateAddOnGroupSignature {
37
39
  declare function listAddOnGroupsByServiceId$1(httpClient: HttpClient): ListAddOnGroupsByServiceIdSignature;
38
40
  interface ListAddOnGroupsByServiceIdSignature {
39
41
  /**
40
- * Retrieves a list of AddOnGroups including enriched AddOn details in the correct order.
41
- * If the group_id is specified, only the AddOns for the specified group will be returned,
42
- * otherwise all groups will be returned.
43
- * @param - ID of the service to retrieve AddOnGroups for.
42
+ * Retrieves add-on groups for a service with enriched add-on details.
43
+ *
44
+ *
45
+ * Add-on details are returned based on their display order.
46
+ *
47
+ * If you specify `groupIds`, only those groups are returned.
48
+ * By default, all groups associated with the service are returned.
49
+ * @param - ID of the service to retrieve add-on groups for.
44
50
  */
45
51
  (serviceId: string, options?: ListAddOnGroupsByServiceIdOptions): Promise<NonNullablePaths<ListAddOnGroupsByServiceIdResponse, `addOnGroupsDetails`, 2>>;
46
52
  }
47
53
  declare function setAddOnsForGroup$1(httpClient: HttpClient): SetAddOnsForGroupSignature;
48
54
  interface SetAddOnsForGroupSignature {
49
55
  /**
50
- * Sets the AddOns for a specific group.
51
- * The order of the AddOns in the list will be used to determine their display order.
52
- * @param - The service ID to set AddOns for.
56
+ * Sets the add-ons for a specific group, replacing any existing add-ons in the group.
57
+ *
58
+ *
59
+ * Call this method when you want to:
60
+ * - Add new add-ons to a group.
61
+ * - Remove add-ons from a group.
62
+ * - Reorder existing add-ons for optimal customer presentation.
63
+ *
64
+ * The order of add-ons in the request determines their display sequence to customers.
65
+ * All specified add-ons must already exist before adding them to a group.
66
+ *
67
+ * For updating other add-on group properties, for example `name`, `prompt`, or `constraints`, call [Update Add-On Group](https://dev.wix.com/docs/rest/business-solutions/bookings/services/add-on-services-v2/update-add-on-group) instead.
68
+ * @param - Service ID containing the group.
53
69
  */
54
70
  (serviceId: string, options: NonNullablePaths<SetAddOnsForGroupOptions, `addOnIds` | `groupId`, 2>): Promise<NonNullablePaths<SetAddOnsForGroupResponse, `addOnGroup.addOnIds`, 3> & {
55
71
  __applicationErrorsType?: SetAddOnsForGroupApplicationErrors;
@@ -150,9 +166,15 @@ interface UpdateServiceSignature {
150
166
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/create-service#session-durations) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/create-service#session-durations))
151
167
  * for more details.
152
168
  *
153
- * ## Service locations
169
+ * ### Service locations
170
+ *
171
+ * 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
+ * ### Add-on groups
154
174
  *
155
- * Don't call Update Service to adjust service locations, call 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)) instead.
175
+ * Don't use Update Service to modify service add-on groups. Use these dedicated methods instead:
176
+ * - **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)).
156
178
  * @param - Service ID.
157
179
  * @returns Updated service.
158
180
  */