@wix/auto_sdk_bookings_services 1.0.164 → 1.0.167

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-DXSJhFF0.d.ts → bookings-services-v2-service-services.universal-Cz3JDfGk.d.ts} +361 -313
  2. package/build/cjs/index.d.ts +85 -84
  3. package/build/cjs/index.js +328 -320
  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 +289 -282
  7. package/build/cjs/index.typings.js.map +1 -1
  8. package/build/cjs/meta.d.ts +203 -172
  9. package/build/cjs/meta.js +203 -203
  10. package/build/cjs/meta.js.map +1 -1
  11. package/build/es/{bookings-services-v2-service-services.universal-DXSJhFF0.d.mts → bookings-services-v2-service-services.universal-Cz3JDfGk.d.mts} +361 -313
  12. package/build/es/index.d.mts +85 -84
  13. package/build/es/index.mjs +328 -320
  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 +289 -282
  17. package/build/es/index.typings.mjs.map +1 -1
  18. package/build/es/meta.d.mts +203 -172
  19. package/build/es/meta.mjs +203 -203
  20. package/build/es/meta.mjs.map +1 -1
  21. package/build/internal/cjs/{bookings-services-v2-service-services.universal-DXSJhFF0.d.ts → bookings-services-v2-service-services.universal-Cz3JDfGk.d.ts} +361 -313
  22. package/build/internal/cjs/index.d.ts +85 -84
  23. package/build/internal/cjs/index.js +328 -320
  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 +289 -282
  27. package/build/internal/cjs/index.typings.js.map +1 -1
  28. package/build/internal/cjs/meta.d.ts +203 -172
  29. package/build/internal/cjs/meta.js +203 -203
  30. package/build/internal/cjs/meta.js.map +1 -1
  31. package/build/internal/es/{bookings-services-v2-service-services.universal-DXSJhFF0.d.mts → bookings-services-v2-service-services.universal-Cz3JDfGk.d.mts} +361 -313
  32. package/build/internal/es/index.d.mts +85 -84
  33. package/build/internal/es/index.mjs +328 -320
  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 +289 -282
  37. package/build/internal/es/index.typings.mjs.map +1 -1
  38. package/build/internal/es/meta.d.mts +203 -172
  39. package/build/internal/es/meta.mjs +203 -203
  40. package/build/internal/es/meta.mjs.map +1 -1
  41. package/package.json +2 -2
@@ -1470,6 +1470,153 @@ declare enum WebhookIdentityType {
1470
1470
  }
1471
1471
  /** @enumType */
1472
1472
  type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
1473
+ interface CreateAddOnGroupRequest {
1474
+ /** Add-on group to create. */
1475
+ addOnGroup: AddOnGroup;
1476
+ /**
1477
+ * ID of the service to create the add-on group for.
1478
+ * @format GUID
1479
+ */
1480
+ serviceId: string | null;
1481
+ }
1482
+ interface CreateAddOnGroupResponse {
1483
+ /** Created add-on group. */
1484
+ addOnGroup?: AddOnGroup;
1485
+ }
1486
+ interface DeleteAddOnGroupRequest {
1487
+ /**
1488
+ * ID of the add-on group to delete.
1489
+ * @format GUID
1490
+ */
1491
+ addOnGroupId: string | null;
1492
+ /**
1493
+ * ID of the service from which to delete the add-on group.
1494
+ * @format GUID
1495
+ */
1496
+ serviceId: string | null;
1497
+ }
1498
+ interface DeleteAddOnGroupResponse {
1499
+ }
1500
+ interface UpdateAddOnGroupRequest {
1501
+ /** Add-on group to update. */
1502
+ addOnGroup: AddOnGroup;
1503
+ /**
1504
+ * ID of the service that contains the add-on group.
1505
+ * @format GUID
1506
+ */
1507
+ serviceId: string | null;
1508
+ }
1509
+ interface UpdateAddOnGroupResponse {
1510
+ /** Updated add-on group. */
1511
+ addOnGroup?: AddOnGroup;
1512
+ }
1513
+ interface ListAddOnGroupsByServiceIdRequest {
1514
+ /**
1515
+ * ID of the service to retrieve add-on groups for.
1516
+ * @format GUID
1517
+ */
1518
+ serviceId: string | null;
1519
+ /**
1520
+ * List of group IDs to return. By default, all groups are returned.
1521
+ * @format GUID
1522
+ * @maxSize 3
1523
+ */
1524
+ groupIds?: string[] | null;
1525
+ }
1526
+ interface ListAddOnGroupsByServiceIdResponse {
1527
+ /**
1528
+ * List of group details with their linked add-ons.
1529
+ * @maxSize 3
1530
+ */
1531
+ addOnGroupsDetails?: AddOnGroupDetail[];
1532
+ }
1533
+ interface AddOn extends AddOnAddOnInfoOneOf {
1534
+ /** Duration in minutes for duration-based add-ons that extend booking service time. */
1535
+ durationInMinutes?: number;
1536
+ /** Maximum quantity customers can purchase for quantity-based add-ons. */
1537
+ maxQuantity?: number;
1538
+ /**
1539
+ * Add-on ID.
1540
+ * @format GUID
1541
+ */
1542
+ addOnId?: string | null;
1543
+ /**
1544
+ * Add-on name displayed to customers.
1545
+ * @maxLength 100
1546
+ */
1547
+ name?: string | null;
1548
+ /** Add-on price. */
1549
+ price?: Money;
1550
+ /**
1551
+ * Translated add-on name.
1552
+ * @maxLength 100
1553
+ */
1554
+ nameTranslated?: string | null;
1555
+ }
1556
+ /** @oneof */
1557
+ interface AddOnAddOnInfoOneOf {
1558
+ /** Duration in minutes for duration-based add-ons that extend booking service time. */
1559
+ durationInMinutes?: number;
1560
+ /** Maximum quantity customers can purchase for quantity-based add-ons. */
1561
+ maxQuantity?: number;
1562
+ }
1563
+ interface AddOnGroupDetail {
1564
+ /**
1565
+ * Group ID.
1566
+ * @format GUID
1567
+ */
1568
+ groupId?: string | null;
1569
+ /** Maximum number of add-ons customers can select from this group. */
1570
+ maxNumberOfAddOns?: number | null;
1571
+ /**
1572
+ * Group name displayed to customers.
1573
+ * @maxLength 100
1574
+ */
1575
+ groupName?: string | null;
1576
+ /**
1577
+ * Add-ons linked to this group in display order.
1578
+ * @maxSize 7
1579
+ */
1580
+ addOns?: AddOn[];
1581
+ /**
1582
+ * 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`.
1583
+ * @maxLength 200
1584
+ */
1585
+ prompt?: string | null;
1586
+ /**
1587
+ * Translated group name.
1588
+ * @maxLength 100
1589
+ */
1590
+ groupNameTranslated?: string | null;
1591
+ /**
1592
+ * Instructional translated 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`.
1593
+ * @maxLength 200
1594
+ */
1595
+ promptTranslated?: string | null;
1596
+ }
1597
+ interface SetAddOnsForGroupRequest {
1598
+ /**
1599
+ * Service ID containing the group.
1600
+ * @format GUID
1601
+ */
1602
+ serviceId: string | null;
1603
+ /**
1604
+ * Group ID to set add-ons for.
1605
+ * @format GUID
1606
+ */
1607
+ groupId: string | null;
1608
+ /**
1609
+ * IDs of add-ons to set for the group in display order.
1610
+ * @format GUID
1611
+ * @minSize 1
1612
+ * @maxSize 7
1613
+ */
1614
+ addOnIds: string[] | null;
1615
+ }
1616
+ interface SetAddOnsForGroupResponse {
1617
+ /** Updated add-on group. */
1618
+ addOnGroup?: AddOnGroup;
1619
+ }
1473
1620
  interface CreateServiceRequest {
1474
1621
  /** Service to create. */
1475
1622
  service: Service;
@@ -2758,10 +2905,34 @@ interface EnablePricingPlansForServiceRequest {
2758
2905
  /**
2759
2906
  * IDs of the [pricing plans](https://dev.wix.com/docs/api-reference/business-solutions/pricing-plans/pricing-plans/plans/introduction)
2760
2907
  * to add to the service's `payment.pricingPlanIds` array.
2908
+ * Maintained for backward compatibility. Use `pricing_plan_selections` for explicit benefit selection.
2761
2909
  * @format GUID
2762
2910
  * @maxSize 100
2763
2911
  */
2764
2912
  pricingPlanIds: string[];
2913
+ /**
2914
+ * Explicit pricing plan selections with required per-plan benefit selection.
2915
+ * Allows fine-grained control over which benefits to connect for each plan.
2916
+ * Each selection must specify at least one benefit ID.
2917
+ * @maxSize 10
2918
+ */
2919
+ pricingPlanSelections?: PricingPlanSelection[];
2920
+ }
2921
+ /** Pricing plan selection with required benefit IDs. */
2922
+ interface PricingPlanSelection {
2923
+ /**
2924
+ * ID of the pricing plan
2925
+ * @format GUID
2926
+ */
2927
+ pricingPlanId?: string;
2928
+ /**
2929
+ * IDs of specific benefits to connect/disconnect.
2930
+ * This field is required and must contain at least one benefit ID.
2931
+ * @format GUID
2932
+ * @minSize 1
2933
+ * @maxSize 10
2934
+ */
2935
+ benefitIds?: string[];
2765
2936
  }
2766
2937
  interface EnablePricingPlansForServiceResponse {
2767
2938
  /** Updated service. */
@@ -2788,10 +2959,17 @@ interface DisablePricingPlansForServiceRequest {
2788
2959
  /**
2789
2960
  * IDs of the [pricing plans](https://dev.wix.com/docs/api-reference/business-solutions/pricing-plans/pricing-plans/plans/introduction)
2790
2961
  * to remove from the service's `payment.pricingPlanIds` array.
2962
+ * Maintained for backward compatibility. Use `pricing_plan_selections` for explicit benefit selection.
2791
2963
  * @format GUID
2792
2964
  * @maxSize 75
2793
2965
  */
2794
2966
  pricingPlanIds?: string[];
2967
+ /**
2968
+ * Explicit pricing plan selections with required per-plan benefit selection.
2969
+ * Allows fine-grained control over which benefits to disconnect for each plan.
2970
+ * Each selection must specify at least one benefit ID.
2971
+ */
2972
+ pricingPlanSelections?: PricingPlanSelection[];
2795
2973
  }
2796
2974
  interface DisablePricingPlansForServiceResponse {
2797
2975
  /** Updated service. */
@@ -3373,153 +3551,24 @@ interface SiteCloned {
3373
3551
  /** Origin site id. */
3374
3552
  originMetaSiteId?: string;
3375
3553
  }
3376
- interface CreateAddOnGroupRequest {
3377
- /** Add-on group to create. */
3378
- addOnGroup: AddOnGroup;
3379
- /**
3380
- * ID of the service to create the add-on group for.
3381
- * @format GUID
3382
- */
3383
- serviceId: string | null;
3384
- }
3385
- interface CreateAddOnGroupResponse {
3386
- /** Created add-on group. */
3387
- addOnGroup?: AddOnGroup;
3388
- }
3389
- interface DeleteAddOnGroupRequest {
3390
- /**
3391
- * ID of the add-on group to delete.
3392
- * @format GUID
3393
- */
3394
- addOnGroupId: string | null;
3395
- /**
3396
- * ID of the service from which to delete the add-on group.
3397
- * @format GUID
3398
- */
3399
- serviceId: string | null;
3400
- }
3401
- interface DeleteAddOnGroupResponse {
3402
- }
3403
- interface UpdateAddOnGroupRequest {
3404
- /** Add-on group to update. */
3405
- addOnGroup: AddOnGroup;
3406
- /**
3407
- * ID of the service that contains the add-on group.
3408
- * @format GUID
3409
- */
3410
- serviceId: string | null;
3411
- }
3412
- interface UpdateAddOnGroupResponse {
3413
- /** Updated add-on group. */
3414
- addOnGroup?: AddOnGroup;
3415
- }
3416
- interface ListAddOnGroupsByServiceIdRequest {
3417
- /**
3418
- * ID of the service to retrieve add-on groups for.
3419
- * @format GUID
3420
- */
3421
- serviceId: string | null;
3422
- /**
3423
- * List of group IDs to return. By default, all groups are returned.
3424
- * @format GUID
3425
- * @maxSize 3
3426
- */
3427
- groupIds?: string[] | null;
3428
- }
3429
- interface ListAddOnGroupsByServiceIdResponse {
3430
- /**
3431
- * List of group details with their linked add-ons.
3432
- * @maxSize 3
3433
- */
3434
- addOnGroupsDetails?: AddOnGroupDetail[];
3435
- }
3436
- interface AddOn extends AddOnAddOnInfoOneOf {
3437
- /** Duration in minutes for duration-based add-ons that extend booking service time. */
3438
- durationInMinutes?: number;
3439
- /** Maximum quantity customers can purchase for quantity-based add-ons. */
3440
- maxQuantity?: number;
3441
- /**
3442
- * Add-on ID.
3443
- * @format GUID
3444
- */
3445
- addOnId?: string | null;
3446
- /**
3447
- * Add-on name displayed to customers.
3448
- * @maxLength 100
3449
- */
3450
- name?: string | null;
3451
- /** Add-on price. */
3452
- price?: Money;
3453
- /**
3454
- * Translated add-on name.
3455
- * @maxLength 100
3456
- */
3457
- nameTranslated?: string | null;
3458
- }
3459
- /** @oneof */
3460
- interface AddOnAddOnInfoOneOf {
3461
- /** Duration in minutes for duration-based add-ons that extend booking service time. */
3462
- durationInMinutes?: number;
3463
- /** Maximum quantity customers can purchase for quantity-based add-ons. */
3464
- maxQuantity?: number;
3465
- }
3466
- interface AddOnGroupDetail {
3467
- /**
3468
- * Group ID.
3469
- * @format GUID
3470
- */
3471
- groupId?: string | null;
3472
- /** Maximum number of add-ons customers can select from this group. */
3473
- maxNumberOfAddOns?: number | null;
3474
- /**
3475
- * Group name displayed to customers.
3476
- * @maxLength 100
3477
- */
3478
- groupName?: string | null;
3479
- /**
3480
- * Add-ons linked to this group in display order.
3481
- * @maxSize 7
3482
- */
3483
- addOns?: AddOn[];
3484
- /**
3485
- * 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`.
3486
- * @maxLength 200
3487
- */
3488
- prompt?: string | null;
3489
- /**
3490
- * Translated group name.
3491
- * @maxLength 100
3492
- */
3493
- groupNameTranslated?: string | null;
3494
- /**
3495
- * Instructional translated 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`.
3496
- * @maxLength 200
3497
- */
3498
- promptTranslated?: string | null;
3499
- }
3500
- interface SetAddOnsForGroupRequest {
3501
- /**
3502
- * Service ID containing the group.
3503
- * @format GUID
3504
- */
3505
- serviceId: string | null;
3506
- /**
3507
- * Group ID to set add-ons for.
3508
- * @format GUID
3509
- */
3510
- groupId: string | null;
3511
- /**
3512
- * IDs of add-ons to set for the group in display order.
3513
- * @format GUID
3514
- * @minSize 1
3515
- * @maxSize 7
3516
- */
3517
- addOnIds: string[] | null;
3518
- }
3519
- interface SetAddOnsForGroupResponse {
3520
- /** Updated add-on group. */
3521
- addOnGroup?: AddOnGroup;
3522
- }
3554
+ /** @docsIgnore */
3555
+ type DeleteAddOnGroupApplicationErrors = {
3556
+ code?: 'GROUP_NOT_ON_SERVICE';
3557
+ description?: string;
3558
+ data?: Record<string, any>;
3559
+ };
3560
+ /** @docsIgnore */
3561
+ type UpdateAddOnGroupApplicationErrors = {
3562
+ code?: 'GROUP_NOT_ON_SERVICE';
3563
+ description?: string;
3564
+ data?: Record<string, any>;
3565
+ };
3566
+ /** @docsIgnore */
3567
+ type SetAddOnsForGroupApplicationErrors = {
3568
+ code?: 'ADD_ON_GROUP_NOT_FOUND';
3569
+ description?: string;
3570
+ data?: Record<string, any>;
3571
+ };
3523
3572
  /** @docsIgnore */
3524
3573
  type CreateServiceValidationErrors = {
3525
3574
  ruleName?: 'INVALID_FORM';
@@ -3640,24 +3689,6 @@ type SetCustomSlugApplicationErrors = {
3640
3689
  type SetCustomSlugValidationErrors = {
3641
3690
  ruleName?: 'SLUG_CONTAINS_ILLEGAL_CHARACTERS';
3642
3691
  };
3643
- /** @docsIgnore */
3644
- type DeleteAddOnGroupApplicationErrors = {
3645
- code?: 'GROUP_NOT_ON_SERVICE';
3646
- description?: string;
3647
- data?: Record<string, any>;
3648
- };
3649
- /** @docsIgnore */
3650
- type UpdateAddOnGroupApplicationErrors = {
3651
- code?: 'GROUP_NOT_ON_SERVICE';
3652
- description?: string;
3653
- data?: Record<string, any>;
3654
- };
3655
- /** @docsIgnore */
3656
- type SetAddOnsForGroupApplicationErrors = {
3657
- code?: 'ADD_ON_GROUP_NOT_FOUND';
3658
- description?: string;
3659
- data?: Record<string, any>;
3660
- };
3661
3692
  interface BaseEventMetadata {
3662
3693
  /**
3663
3694
  * App instance ID.
@@ -3786,6 +3817,149 @@ interface ServiceUpdatedEnvelope {
3786
3817
  * @slug updated
3787
3818
  */
3788
3819
  declare function onServiceUpdated(handler: (event: ServiceUpdatedEnvelope) => void | Promise<void>): void;
3820
+ /**
3821
+ * Creates a new add-on group for a service and updates the service's `addOnGroups` array.
3822
+ * @param addOnGroup - Add-on group to create.
3823
+ * @public
3824
+ * @documentationMaturity preview
3825
+ * @requiredField addOnGroup
3826
+ * @requiredField addOnGroup.name
3827
+ * @requiredField options
3828
+ * @requiredField options.serviceId
3829
+ * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
3830
+ * @applicableIdentity APP
3831
+ * @fqn wix.bookings.services.v2.AddOnGroupsService.CreateAddOnGroup
3832
+ */
3833
+ declare function createAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `name`, 2>, options: NonNullablePaths<CreateAddOnGroupOptions, `serviceId`, 2>): Promise<NonNullablePaths<CreateAddOnGroupResponse, `addOnGroup.addOnIds`, 3>>;
3834
+ interface CreateAddOnGroupOptions {
3835
+ /**
3836
+ * ID of the service to create the add-on group for.
3837
+ * @format GUID
3838
+ */
3839
+ serviceId: string | null;
3840
+ }
3841
+ /**
3842
+ * Deletes an add-on group.
3843
+ *
3844
+ *
3845
+ * Deleting the group doesn't delete individual add-ons.
3846
+ * Any add-on not associated with another group isn't available for customers to book.
3847
+ * @param addOnGroupId - ID of the add-on group to delete.
3848
+ * @public
3849
+ * @documentationMaturity preview
3850
+ * @requiredField addOnGroupId
3851
+ * @requiredField options
3852
+ * @requiredField options.serviceId
3853
+ * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
3854
+ * @applicableIdentity APP
3855
+ * @fqn wix.bookings.services.v2.AddOnGroupsService.DeleteAddOnGroup
3856
+ */
3857
+ declare function deleteAddOnGroup(addOnGroupId: string, options: NonNullablePaths<DeleteAddOnGroupOptions, `serviceId`, 2>): Promise<void & {
3858
+ __applicationErrorsType?: DeleteAddOnGroupApplicationErrors;
3859
+ }>;
3860
+ interface DeleteAddOnGroupOptions {
3861
+ /**
3862
+ * ID of the service from which to delete the add-on group.
3863
+ * @format GUID
3864
+ */
3865
+ serviceId: string | null;
3866
+ }
3867
+ /**
3868
+ * Updates an add-on group.
3869
+ *
3870
+ *
3871
+ * To update only the display order for add-ons, call [Set Add Ons For Group](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/set-add-ons-for-group) instead.
3872
+ *
3873
+ * You can't change which service an add-on group belongs to.
3874
+ * Each add-on group is permanently associated with the service it was created for.
3875
+ * To use the same add-ons with a different service, create a new add-on group for that service.
3876
+ * @param addOnGroup - Add-on group to update.
3877
+ * @public
3878
+ * @documentationMaturity preview
3879
+ * @requiredField addOnGroup
3880
+ * @requiredField addOnGroup._id
3881
+ * @requiredField options
3882
+ * @requiredField options.serviceId
3883
+ * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_UPDATE
3884
+ * @applicableIdentity APP
3885
+ * @fqn wix.bookings.services.v2.AddOnGroupsService.UpdateAddOnGroup
3886
+ */
3887
+ declare function updateAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `_id`, 2>, options: NonNullablePaths<UpdateAddOnGroupOptions, `serviceId`, 2>): Promise<NonNullablePaths<UpdateAddOnGroupResponse, `addOnGroup.addOnIds`, 3> & {
3888
+ __applicationErrorsType?: UpdateAddOnGroupApplicationErrors;
3889
+ }>;
3890
+ interface UpdateAddOnGroupOptions {
3891
+ /**
3892
+ * ID of the service that contains the add-on group.
3893
+ * @format GUID
3894
+ */
3895
+ serviceId: string | null;
3896
+ }
3897
+ /**
3898
+ * Retrieves add-on groups for a service with enriched add-on details.
3899
+ *
3900
+ *
3901
+ * Add-on details are returned based on their display order.
3902
+ *
3903
+ * If you specify `groupIds`, only those groups are returned.
3904
+ * By default, all groups associated with the service are returned.
3905
+ * @param serviceId - ID of the service to retrieve add-on groups for.
3906
+ * @public
3907
+ * @documentationMaturity preview
3908
+ * @requiredField serviceId
3909
+ * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_LIST
3910
+ * @applicableIdentity APP
3911
+ * @fqn wix.bookings.services.v2.AddOnGroupsService.ListAddOnGroupsByServiceId
3912
+ */
3913
+ declare function listAddOnGroupsByServiceId(serviceId: string, options?: ListAddOnGroupsByServiceIdOptions): Promise<NonNullablePaths<ListAddOnGroupsByServiceIdResponse, `addOnGroupsDetails`, 2>>;
3914
+ interface ListAddOnGroupsByServiceIdOptions {
3915
+ /**
3916
+ * List of group IDs to return. By default, all groups are returned.
3917
+ * @format GUID
3918
+ * @maxSize 3
3919
+ */
3920
+ groupIds?: string[] | null;
3921
+ }
3922
+ /**
3923
+ * Sets the add-ons for a specific group, replacing any existing add-ons in the group.
3924
+ *
3925
+ *
3926
+ * Call this method when you want to:
3927
+ * - Add new add-ons to a group.
3928
+ * - Remove add-ons from a group.
3929
+ * - Reorder existing add-ons for optimal customer presentation.
3930
+ *
3931
+ * The order of add-ons in the request determines their display sequence to customers.
3932
+ * All specified add-ons must already exist before adding them to a group.
3933
+ *
3934
+ * 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.
3935
+ * @param serviceId - Service ID containing the group.
3936
+ * @public
3937
+ * @documentationMaturity preview
3938
+ * @requiredField options
3939
+ * @requiredField options.addOnIds
3940
+ * @requiredField options.groupId
3941
+ * @requiredField serviceId
3942
+ * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_SET_ADD_ONS
3943
+ * @applicableIdentity APP
3944
+ * @fqn wix.bookings.services.v2.AddOnGroupsService.SetAddOnsForGroup
3945
+ */
3946
+ declare function setAddOnsForGroup(serviceId: string, options: NonNullablePaths<SetAddOnsForGroupOptions, `addOnIds` | `groupId`, 2>): Promise<NonNullablePaths<SetAddOnsForGroupResponse, `addOnGroup.addOnIds`, 3> & {
3947
+ __applicationErrorsType?: SetAddOnsForGroupApplicationErrors;
3948
+ }>;
3949
+ interface SetAddOnsForGroupOptions {
3950
+ /**
3951
+ * Group ID to set add-ons for.
3952
+ * @format GUID
3953
+ */
3954
+ groupId: string | null;
3955
+ /**
3956
+ * IDs of add-ons to set for the group in display order.
3957
+ * @format GUID
3958
+ * @minSize 1
3959
+ * @maxSize 7
3960
+ */
3961
+ addOnIds: string[] | null;
3962
+ }
3789
3963
  /**
3790
3964
  * Creates a service.
3791
3965
  *
@@ -3832,7 +4006,7 @@ declare function onServiceUpdated(handler: (event: ServiceUpdatedEnvelope) => vo
3832
4006
  *
3833
4007
  * Don't specify existing add-on groups when calling Create Service.
3834
4008
  * Instead, use dedicated add-on group and add-on creation methods to ensure proper validation and maintain referential integrity between services and their optional extras.
3835
- * You can follow this sample flow ([SDK](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/add-ons/sample-flows#create-bookable-add-ons-for-a-new-group?apiView=SDK) | [REST](https://dev. wix.com/docs/api-reference/business-solutions/bookings/services/add-ons/sample-flows#create-bookable-add-ons-for-a-new-group)) to create bookable add-ons.
4009
+ * You can follow this [sample flow](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/add-ons/sample-flows#create-bookable-add-ons-for-a-new-group) to create bookable add-ons.
3836
4010
  * @param service - Service to create.
3837
4011
  * @public
3838
4012
  * @requiredField service
@@ -4270,9 +4444,9 @@ interface ServicesQueryBuilder {
4270
4444
  in: (propertyName: '_id' | 'type' | 'name' | 'description' | 'tagLine' | 'hidden' | 'category.id' | 'category.name' | 'form.id' | 'payment.options.online' | 'payment.options.inPerson' | 'payment.options.pricingPlan' | 'onlineBooking.enabled' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'staffMemberIds' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
4271
4445
  exists: (propertyName: '_id' | 'type' | 'name' | 'description' | 'tagLine' | 'hidden' | 'category.id' | 'category.name' | 'form.id' | 'payment.options.online' | 'payment.options.inPerson' | 'payment.options.pricingPlan' | 'onlineBooking.enabled' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'staffMemberIds' | 'supportedSlugs.name' | 'mainSlug.name', value: boolean) => ServicesQueryBuilder;
4272
4446
  /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
4273
- ascending: (...propertyNames: Array<'_id' | 'appId' | 'type' | 'name' | 'description' | 'tagLine' | 'hidden' | 'category.id' | 'category.name' | 'form.id' | 'payment.options.online' | 'payment.options.inPerson' | 'payment.options.pricingPlan' | 'onlineBooking.enabled' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'staffMemberIds' | 'supportedSlugs.name' | 'mainSlug.name'>) => ServicesQueryBuilder;
4447
+ ascending: (...propertyNames: Array<'_id' | 'type' | 'name' | 'description' | 'tagLine' | 'hidden' | 'category.id' | 'category.name' | 'form.id' | 'payment.options.online' | 'payment.options.inPerson' | 'payment.options.pricingPlan' | 'onlineBooking.enabled' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'staffMemberIds' | 'supportedSlugs.name' | 'mainSlug.name'>) => ServicesQueryBuilder;
4274
4448
  /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
4275
- descending: (...propertyNames: Array<'_id' | 'appId' | 'type' | 'name' | 'description' | 'tagLine' | 'hidden' | 'category.id' | 'category.name' | 'form.id' | 'payment.options.online' | 'payment.options.inPerson' | 'payment.options.pricingPlan' | 'onlineBooking.enabled' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'staffMemberIds' | 'supportedSlugs.name' | 'mainSlug.name'>) => ServicesQueryBuilder;
4449
+ descending: (...propertyNames: Array<'_id' | 'type' | 'name' | 'description' | 'tagLine' | 'hidden' | 'category.id' | 'category.name' | 'form.id' | 'payment.options.online' | 'payment.options.inPerson' | 'payment.options.pricingPlan' | 'onlineBooking.enabled' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'staffMemberIds' | 'supportedSlugs.name' | 'mainSlug.name'>) => ServicesQueryBuilder;
4276
4450
  /** @param limit - Number of items to return, which is also the `pageSize` of the results object. */
4277
4451
  limit: (limit: number) => ServicesQueryBuilder;
4278
4452
  /** @param skip - Number of items to skip in the query results before returning the results. */
@@ -4750,6 +4924,7 @@ interface SetServiceLocationsOptions {
4750
4924
  * @param serviceId - ID of the service to update.
4751
4925
  * @param pricingPlanIds - IDs of the [pricing plans](https://dev.wix.com/docs/api-reference/business-solutions/pricing-plans/pricing-plans/plans/introduction)
4752
4926
  * to add to the service's `payment.pricingPlanIds` array.
4927
+ * Maintained for backward compatibility. Use `pricing_plan_selections` for explicit benefit selection.
4753
4928
  * @public
4754
4929
  * @requiredField pricingPlanIds
4755
4930
  * @requiredField serviceId
@@ -4757,9 +4932,18 @@ interface SetServiceLocationsOptions {
4757
4932
  * @applicableIdentity APP
4758
4933
  * @fqn wix.bookings.services.v2.ServicesService.EnablePricingPlansForService
4759
4934
  */
4760
- declare function enablePricingPlansForService(serviceId: string, pricingPlanIds: string[]): Promise<NonNullablePaths<EnablePricingPlansForServiceResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain` | `service.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7> & {
4935
+ declare function enablePricingPlansForService(serviceId: string, pricingPlanIds: string[], options?: EnablePricingPlansForServiceOptions): Promise<NonNullablePaths<EnablePricingPlansForServiceResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain` | `service.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7> & {
4761
4936
  __applicationErrorsType?: EnablePricingPlansForServiceApplicationErrors;
4762
4937
  }>;
4938
+ interface EnablePricingPlansForServiceOptions {
4939
+ /**
4940
+ * Explicit pricing plan selections with required per-plan benefit selection.
4941
+ * Allows fine-grained control over which benefits to connect for each plan.
4942
+ * Each selection must specify at least one benefit ID.
4943
+ * @maxSize 10
4944
+ */
4945
+ pricingPlanSelections?: PricingPlanSelection[];
4946
+ }
4763
4947
  /**
4764
4948
  * Removes a list of [pricing plan IDs](https://dev.wix.com/docs/api-reference/business-solutions/pricing-plans/pricing-plans/plans/introduction) from a service's `payment.pricingPlanIds` array.
4765
4949
  *
@@ -4781,10 +4965,17 @@ interface DisablePricingPlansForServiceOptions {
4781
4965
  /**
4782
4966
  * IDs of the [pricing plans](https://dev.wix.com/docs/api-reference/business-solutions/pricing-plans/pricing-plans/plans/introduction)
4783
4967
  * to remove from the service's `payment.pricingPlanIds` array.
4968
+ * Maintained for backward compatibility. Use `pricing_plan_selections` for explicit benefit selection.
4784
4969
  * @format GUID
4785
4970
  * @maxSize 75
4786
4971
  */
4787
4972
  pricingPlanIds?: string[];
4973
+ /**
4974
+ * Explicit pricing plan selections with required per-plan benefit selection.
4975
+ * Allows fine-grained control over which benefits to disconnect for each plan.
4976
+ * Each selection must specify at least one benefit ID.
4977
+ */
4978
+ pricingPlanSelections?: PricingPlanSelection[];
4788
4979
  }
4789
4980
  /**
4790
4981
  * Sets a new active slug for the service.
@@ -4896,148 +5087,5 @@ interface ValidateSlugOptions {
4896
5087
  * @fqn wix.bookings.services.v2.ServicesService.CloneService
4897
5088
  */
4898
5089
  declare function cloneService(sourceServiceId: string): Promise<NonNullablePaths<CloneServiceResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain` | `service.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType` | `errors`, 7>>;
4899
- /**
4900
- * Creates a new add-on group for a service and updates the service's `addOnGroups` array.
4901
- * @param addOnGroup - Add-on group to create.
4902
- * @public
4903
- * @documentationMaturity preview
4904
- * @requiredField addOnGroup
4905
- * @requiredField addOnGroup.name
4906
- * @requiredField options
4907
- * @requiredField options.serviceId
4908
- * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
4909
- * @applicableIdentity APP
4910
- * @fqn wix.bookings.services.v2.AddOnGroupsService.CreateAddOnGroup
4911
- */
4912
- declare function createAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `name`, 2>, options: NonNullablePaths<CreateAddOnGroupOptions, `serviceId`, 2>): Promise<NonNullablePaths<CreateAddOnGroupResponse, `addOnGroup.addOnIds`, 3>>;
4913
- interface CreateAddOnGroupOptions {
4914
- /**
4915
- * ID of the service to create the add-on group for.
4916
- * @format GUID
4917
- */
4918
- serviceId: string | null;
4919
- }
4920
- /**
4921
- * Deletes an add-on group.
4922
- *
4923
- *
4924
- * Deleting the group doesn't delete individual add-ons.
4925
- * Any add-on not associated with another group isn't available for customers to book.
4926
- * @param addOnGroupId - ID of the add-on group to delete.
4927
- * @public
4928
- * @documentationMaturity preview
4929
- * @requiredField addOnGroupId
4930
- * @requiredField options
4931
- * @requiredField options.serviceId
4932
- * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
4933
- * @applicableIdentity APP
4934
- * @fqn wix.bookings.services.v2.AddOnGroupsService.DeleteAddOnGroup
4935
- */
4936
- declare function deleteAddOnGroup(addOnGroupId: string, options: NonNullablePaths<DeleteAddOnGroupOptions, `serviceId`, 2>): Promise<void & {
4937
- __applicationErrorsType?: DeleteAddOnGroupApplicationErrors;
4938
- }>;
4939
- interface DeleteAddOnGroupOptions {
4940
- /**
4941
- * ID of the service from which to delete the add-on group.
4942
- * @format GUID
4943
- */
4944
- serviceId: string | null;
4945
- }
4946
- /**
4947
- * Updates an add-on group.
4948
- *
4949
- *
4950
- * To update only the display order for add-ons, call [Set Add Ons For Group](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/set-add-ons-for-group) instead.
4951
- *
4952
- * You can't change which service an add-on group belongs to.
4953
- * Each add-on group is permanently associated with the service it was created for.
4954
- * To use the same add-ons with a different service, create a new add-on group for that service.
4955
- * @param addOnGroup - Add-on group to update.
4956
- * @public
4957
- * @documentationMaturity preview
4958
- * @requiredField addOnGroup
4959
- * @requiredField addOnGroup._id
4960
- * @requiredField options
4961
- * @requiredField options.serviceId
4962
- * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_UPDATE
4963
- * @applicableIdentity APP
4964
- * @fqn wix.bookings.services.v2.AddOnGroupsService.UpdateAddOnGroup
4965
- */
4966
- declare function updateAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `_id`, 2>, options: NonNullablePaths<UpdateAddOnGroupOptions, `serviceId`, 2>): Promise<NonNullablePaths<UpdateAddOnGroupResponse, `addOnGroup.addOnIds`, 3> & {
4967
- __applicationErrorsType?: UpdateAddOnGroupApplicationErrors;
4968
- }>;
4969
- interface UpdateAddOnGroupOptions {
4970
- /**
4971
- * ID of the service that contains the add-on group.
4972
- * @format GUID
4973
- */
4974
- serviceId: string | null;
4975
- }
4976
- /**
4977
- * Retrieves add-on groups for a service with enriched add-on details.
4978
- *
4979
- *
4980
- * Add-on details are returned based on their display order.
4981
- *
4982
- * If you specify `groupIds`, only those groups are returned.
4983
- * By default, all groups associated with the service are returned.
4984
- * @param serviceId - ID of the service to retrieve add-on groups for.
4985
- * @public
4986
- * @documentationMaturity preview
4987
- * @requiredField serviceId
4988
- * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_LIST
4989
- * @applicableIdentity APP
4990
- * @fqn wix.bookings.services.v2.AddOnGroupsService.ListAddOnGroupsByServiceId
4991
- */
4992
- declare function listAddOnGroupsByServiceId(serviceId: string, options?: ListAddOnGroupsByServiceIdOptions): Promise<NonNullablePaths<ListAddOnGroupsByServiceIdResponse, `addOnGroupsDetails`, 2>>;
4993
- interface ListAddOnGroupsByServiceIdOptions {
4994
- /**
4995
- * List of group IDs to return. By default, all groups are returned.
4996
- * @format GUID
4997
- * @maxSize 3
4998
- */
4999
- groupIds?: string[] | null;
5000
- }
5001
- /**
5002
- * Sets the add-ons for a specific group, replacing any existing add-ons in the group.
5003
- *
5004
- *
5005
- * Call this method when you want to:
5006
- * - Add new add-ons to a group.
5007
- * - Remove add-ons from a group.
5008
- * - Reorder existing add-ons for optimal customer presentation.
5009
- *
5010
- * The order of add-ons in the request determines their display sequence to customers.
5011
- * All specified add-ons must already exist before adding them to a group.
5012
- *
5013
- * 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.
5014
- * @param serviceId - Service ID containing the group.
5015
- * @public
5016
- * @documentationMaturity preview
5017
- * @requiredField options
5018
- * @requiredField options.addOnIds
5019
- * @requiredField options.groupId
5020
- * @requiredField serviceId
5021
- * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_SET_ADD_ONS
5022
- * @applicableIdentity APP
5023
- * @fqn wix.bookings.services.v2.AddOnGroupsService.SetAddOnsForGroup
5024
- */
5025
- declare function setAddOnsForGroup(serviceId: string, options: NonNullablePaths<SetAddOnsForGroupOptions, `addOnIds` | `groupId`, 2>): Promise<NonNullablePaths<SetAddOnsForGroupResponse, `addOnGroup.addOnIds`, 3> & {
5026
- __applicationErrorsType?: SetAddOnsForGroupApplicationErrors;
5027
- }>;
5028
- interface SetAddOnsForGroupOptions {
5029
- /**
5030
- * Group ID to set add-ons for.
5031
- * @format GUID
5032
- */
5033
- groupId: string | null;
5034
- /**
5035
- * IDs of add-ons to set for the group in display order.
5036
- * @format GUID
5037
- * @minSize 1
5038
- * @maxSize 7
5039
- */
5040
- addOnIds: string[] | null;
5041
- }
5042
5090
 
5043
- export { type SetAddOnsForGroupResponse as $, type DisablePricingPlansForServiceResponse as A, type BulkCreateServicesOptions as B, type CreateServiceValidationErrors as C, type DeleteServiceOptions as D, type EnablePricingPlansForServiceResponse as E, type DisablePricingPlansForServiceApplicationErrors as F, type SetCustomSlugOptions as G, type SetCustomSlugResponse as H, type SetCustomSlugApplicationErrors as I, type SetCustomSlugValidationErrors as J, type ValidateSlugResponse as K, type CloneServiceResponse as L, type AddOnGroup as M, type CreateAddOnGroupOptions as N, type CreateAddOnGroupResponse as O, type DeleteAddOnGroupOptions as P, type QueryPoliciesResponse as Q, type DeleteAddOnGroupApplicationErrors as R, type Service as S, type UpdateAddOnGroupOptions as T, type UpdateService as U, type ValidateSlugOptions as V, type UpdateAddOnGroupResponse as W, type UpdateAddOnGroupApplicationErrors as X, type ListAddOnGroupsByServiceIdOptions as Y, type ListAddOnGroupsByServiceIdResponse as Z, type SetAddOnsForGroupOptions as _, type BulkCreateServicesResponse as a, type BookingPolicy as a$, type SetAddOnsForGroupApplicationErrors as a0, type ServiceCreatedEnvelope as a1, type ServiceDeletedEnvelope as a2, type ServiceUpdatedEnvelope as a3, type QueryV2 as a4, type QueryServicesOptions as a5, typedQueryServices as a6, type ServicesQueryBuilder as a7, ServiceType as a8, RateType as a9, CrudType as aA, PlacementType as aB, DayOfWeek as aC, ResolutionMethod as aD, type Media as aE, type MediaItem as aF, type MediaItemItemOneOf as aG, type V2Category as aH, type Form as aI, type FormSettings as aJ, type Payment as aK, type PaymentRateOneOf as aL, type FixedPayment as aM, type Money as aN, type CustomPayment as aO, type VariedPayment as aP, type PaymentOptions as aQ, type OnlineBooking as aR, type Conferencing as aS, type Location as aT, type LocationOptionsOneOf as aU, type CommonAddress as aV, type CommonAddressStreetOneOf as aW, type StreetAddress as aX, type AddressLocation as aY, type BusinessLocationOptions as aZ, type CustomLocationOptions as a_, AddOnPaymentOptions as aa, LocationType as ab, RankingOrder as ac, SortingMethodType as ad, Timing as ae, CompletionRequirement as af, TaxableAddressType as ag, WebhookIdentityType as ah, V2RequestedFields as ai, SortOrder as aj, SortType as ak, SortDirection as al, MissingValues as am, ScalarType as an, NestedAggregationType as ao, Interval as ap, AggregationType as aq, Mode as ar, RequestedFields as as, Action as at, InvalidSlugError as au, CloneErrors as av, Status as aw, CategoryNotificationEvent as ax, BenefitType as ay, Event as az, type UpdateServiceValidationErrors as b, type BulkServiceResult as b$, type PolicyDescription as b0, type LimitEarlyBookingPolicy as b1, type LimitLateBookingPolicy as b2, type BookAfterStartPolicy as b3, type CancellationPolicy as b4, type ReschedulePolicy as b5, type WaitlistPolicy as b6, type ParticipantsPolicy as b7, type ResourcesPolicy as b8, type CancellationFeePolicy as b9, type Settings as bA, type AddOnDetails as bB, type TaxableAddress as bC, type PhoneCall as bD, type ReindexMessage as bE, type ReindexMessageActionOneOf as bF, type Upsert as bG, type Delete as bH, type Schema as bI, type SetCustomSlugEvent as bJ, type ServicesUrlsChanged as bK, type DomainEvent as bL, type DomainEventBodyOneOf as bM, type EntityCreatedEvent as bN, type RestoreInfo as bO, type EntityUpdatedEvent as bP, type EntityDeletedEvent as bQ, type ActionEvent as bR, type MessageEnvelope as bS, type IdentificationData as bT, type IdentificationDataIdOneOf as bU, type CreateServiceRequest as bV, type CreateServiceResponse as bW, type ValidateServiceRequest as bX, type ValidateServiceResponse as bY, type FieldViolation as bZ, type BulkCreateServicesRequest as b_, type CancellationWindow as ba, type CancellationWindowFeeOneOf as bb, type SaveCreditCardPolicy as bc, type StaffSortingPolicy as bd, type StaffSortingPolicyOptionsOneOf as be, type RankingOptions as bf, type CustomOptions as bg, type IntakeFormPolicy as bh, type Schedule as bi, type AvailabilityConstraints as bj, type Duration as bk, type StaffMember as bl, type StaffMediaItem as bm, type StaffMediaItemItemOneOf as bn, type StaffMemberDetails as bo, type ResourceGroup as bp, type ResourceIds as bq, type ServiceResource as br, type ServiceResourceSelectionOneOf as bs, type ResourceType as bt, type Slug as bu, type URLs as bv, type ExtendedFields as bw, type SeoSchema as bx, type Keyword as by, type Tag as bz, type BulkUpdateServicesOptions as c, type DateHistogramResults as c$, type ItemMetadata as c0, type ApplicationError as c1, type BulkActionMetadata as c2, type GetServiceRequest as c3, type GetServiceResponse as c4, type GetServiceAvailabilityConstraintsRequest as c5, type GetServiceAvailabilityConstraintsResponse as c6, type ServiceAvailabilityConstraints as c7, type SplitInterval as c8, type UpdateServiceRequest as c9, type RangeAggregation as cA, type ScalarAggregation as cB, type DateHistogramAggregation as cC, type NestedAggregationItem as cD, type NestedAggregationItemKindOneOf as cE, type NestedAggregation as cF, type GroupByAggregation as cG, type GroupByAggregationKindOneOf as cH, type SearchDetails as cI, type CursorPagingMetadata as cJ, type AggregationData as cK, type ValueAggregationResult as cL, type RangeAggregationResult as cM, type NestedAggregationResults as cN, type NestedAggregationResultsResultOneOf as cO, type ValueResults as cP, type RangeResults as cQ, type AggregationResultsScalarResult as cR, type NestedValueAggregationResult as cS, type ValueResult as cT, type RangeResult as cU, type ScalarResult as cV, type NestedResultValue as cW, type NestedResultValueResultOneOf as cX, type Results as cY, type DateHistogramResult as cZ, type GroupByValueResults as c_, type UpdateServiceResponse as ca, type BulkUpdateServicesRequest as cb, type MaskedService as cc, type BulkUpdateServicesByFilterRequest as cd, type DeleteServiceRequest as ce, type ParticipantNotification as cf, type DeleteServiceResponse as cg, type BulkDeleteServicesRequest as ch, type BulkDeleteServicesByFilterRequest as ci, type QueryServicesRequest as cj, type QueryV2PagingMethodOneOf as ck, type Sorting as cl, type Paging as cm, type CursorPaging as cn, type QueryServicesResponse as co, type PagingMetadataV2 as cp, type Cursors as cq, type SearchServicesRequest as cr, type CursorSearch as cs, type CursorSearchPagingMethodOneOf as ct, type Aggregation as cu, type AggregationKindOneOf as cv, type RangeBucket as cw, type IncludeMissingValuesOptions as cx, type ValueAggregation as cy, type ValueAggregationOptionsOneOf as cz, type BulkUpdateServicesResponse as d, type SiteCloned as d$, type NestedResults as d0, type AggregationResults as d1, type AggregationResultsResultOneOf as d2, type QueryPoliciesRequest as d3, type CursorQueryPagingMethodOneOf as d4, type BookingPolicyWithServices as d5, type QueryBookingFormsRequest as d6, type BookingForm as d7, type FormDetails as d8, type ConnectedService as d9, type EntryPass as dA, type Discount as dB, type DiscountDiscountOneOf as dC, type Behavior as dD, type BehaviorBehaviorOneOf as dE, type UserDomainInfoChangedEvent as dF, type HtmlSitePublished as dG, type Page as dH, type SitePropertiesNotification as dI, type SitePropertiesEvent as dJ, type Properties as dK, type Categories as dL, type Locale as dM, type Address as dN, type AddressHint as dO, type GeoCoordinates as dP, type BusinessSchedule as dQ, type TimePeriod as dR, type SpecialHourPeriod as dS, type Multilingual as dT, type SupportedLanguage as dU, type ConsentPolicy as dV, type Translation as dW, type ChangeContext as dX, type ChangeContextPayloadOneOf as dY, type PropertiesChange as dZ, type SiteCreated as d_, type CountServicesRequest as da, type QueryLocationsRequest as db, type QueryLocationsFilter as dc, type BusinessLocations as dd, type CustomLocations as de, type CustomerLocations as df, type QueryCategoriesRequest as dg, type QueryCategoriesFilter as dh, type QueryServicesMultiLanguageRequest as di, type QueryServicesMultiLanguageResponse as dj, type SetServiceLocationsRequest as dk, type RemovedLocationSessionsAction as dl, type RemovedLocationSessionsActionActionOptionsOneOf as dm, type MoveToNewLocationsOptions as dn, type EnablePricingPlansForServiceRequest as dp, type InvalidPricingPlan as dq, type DisablePricingPlansForServiceRequest as dr, type SetCustomSlugRequest as ds, type ValidateSlugRequest as dt, type CloneServiceRequest as du, type CategoryNotification as dv, type Category as dw, type Empty as dx, type BenefitNotification as dy, type Benefit as dz, type BulkUpdateServicesByFilterOptions as e, queryCategories as e$, type CreateAddOnGroupRequest as e0, type DeleteAddOnGroupRequest as e1, type DeleteAddOnGroupResponse as e2, type UpdateAddOnGroupRequest as e3, type ListAddOnGroupsByServiceIdRequest as e4, type AddOn as e5, type AddOnAddOnInfoOneOf as e6, type AddOnGroupDetail as e7, type SetAddOnsForGroupRequest as e8, type BaseEventMetadata as e9, type CloneErrorsWithLiterals as eA, type StatusWithLiterals as eB, type CategoryNotificationEventWithLiterals as eC, type BenefitTypeWithLiterals as eD, type EventWithLiterals as eE, type CrudTypeWithLiterals as eF, type PlacementTypeWithLiterals as eG, type DayOfWeekWithLiterals as eH, type ResolutionMethodWithLiterals as eI, type CommonSearchWithEntityContext as eJ, onServiceCreated as eK, onServiceDeleted as eL, onServiceUpdated as eM, createService as eN, bulkCreateServices as eO, getService as eP, updateService as eQ, bulkUpdateServices as eR, bulkUpdateServicesByFilter as eS, deleteService as eT, bulkDeleteServices as eU, bulkDeleteServicesByFilter as eV, queryServices as eW, queryPolicies as eX, queryBookingForms as eY, countServices as eZ, queryLocations as e_, type EventMetadata as ea, type ServicesQueryResult as eb, type ServiceSearchSpec as ec, type ServiceTypeWithLiterals as ed, type RateTypeWithLiterals as ee, type AddOnPaymentOptionsWithLiterals as ef, type LocationTypeWithLiterals as eg, type RankingOrderWithLiterals as eh, type SortingMethodTypeWithLiterals as ei, type TimingWithLiterals as ej, type CompletionRequirementWithLiterals as ek, type TaxableAddressTypeWithLiterals as el, type WebhookIdentityTypeWithLiterals as em, type V2RequestedFieldsWithLiterals as en, type SortOrderWithLiterals as eo, type SortTypeWithLiterals as ep, type SortDirectionWithLiterals as eq, type MissingValuesWithLiterals as er, type ScalarTypeWithLiterals as es, type NestedAggregationTypeWithLiterals as et, type IntervalWithLiterals as eu, type AggregationTypeWithLiterals as ev, type ModeWithLiterals as ew, type RequestedFieldsWithLiterals as ex, type ActionWithLiterals as ey, type InvalidSlugErrorWithLiterals as ez, type BulkUpdateServicesByFilterResponse as f, setServiceLocations as f0, enablePricingPlansForService as f1, disablePricingPlansForService as f2, setCustomSlug as f3, validateSlug as f4, cloneService as f5, createAddOnGroup as f6, deleteAddOnGroup as f7, updateAddOnGroup as f8, listAddOnGroupsByServiceId as f9, setAddOnsForGroup as fa, type BulkDeleteServicesOptions as g, type BulkDeleteServicesResponse as h, type BulkDeleteServicesByFilterOptions as i, type BulkDeleteServicesByFilterResponse as j, type ServiceSearch as k, type SearchServicesResponse as l, type CursorQuery as m, type QueryBookingFormsOptions as n, type QueryBookingFormsResponse as o, type QueryBookingFormsApplicationErrors as p, type CountServicesOptions as q, type CountServicesResponse as r, type QueryLocationsOptions as s, type QueryLocationsResponse as t, type QueryCategoriesOptions as u, type QueryCategoriesResponse as v, type SetServiceLocationsOptions as w, type SetServiceLocationsResponse as x, type EnablePricingPlansForServiceApplicationErrors as y, type DisablePricingPlansForServiceOptions as z };
5091
+ export { type ValidateSlugOptions as $, type AddOnGroup as A, type BulkCreateServicesOptions as B, type CreateAddOnGroupOptions as C, type DeleteAddOnGroupOptions as D, type QueryBookingFormsApplicationErrors as E, type CountServicesOptions as F, type CountServicesResponse as G, type QueryLocationsOptions as H, type QueryLocationsResponse as I, type QueryCategoriesOptions as J, type QueryCategoriesResponse as K, type ListAddOnGroupsByServiceIdOptions as L, type SetServiceLocationsOptions as M, type SetServiceLocationsResponse as N, type EnablePricingPlansForServiceOptions as O, type EnablePricingPlansForServiceResponse as P, type QueryPoliciesResponse as Q, type EnablePricingPlansForServiceApplicationErrors as R, type SetAddOnsForGroupOptions as S, type DisablePricingPlansForServiceOptions as T, type UpdateAddOnGroupOptions as U, type DisablePricingPlansForServiceResponse as V, type DisablePricingPlansForServiceApplicationErrors as W, type SetCustomSlugOptions as X, type SetCustomSlugResponse as Y, type SetCustomSlugApplicationErrors as Z, type SetCustomSlugValidationErrors as _, type CreateAddOnGroupResponse as a, type CustomLocationOptions as a$, type ValidateSlugResponse as a0, type CloneServiceResponse as a1, type ServiceCreatedEnvelope as a2, type ServiceDeletedEnvelope as a3, type ServiceUpdatedEnvelope as a4, type QueryV2 as a5, type QueryServicesOptions as a6, typedQueryServices as a7, type ServicesQueryBuilder as a8, ServiceType as a9, Event as aA, CrudType as aB, PlacementType as aC, DayOfWeek as aD, ResolutionMethod as aE, type Media as aF, type MediaItem as aG, type MediaItemItemOneOf as aH, type V2Category as aI, type Form as aJ, type FormSettings as aK, type Payment as aL, type PaymentRateOneOf as aM, type FixedPayment as aN, type Money as aO, type CustomPayment as aP, type VariedPayment as aQ, type PaymentOptions as aR, type OnlineBooking as aS, type Conferencing as aT, type Location as aU, type LocationOptionsOneOf as aV, type CommonAddress as aW, type CommonAddressStreetOneOf as aX, type StreetAddress as aY, type AddressLocation as aZ, type BusinessLocationOptions as a_, RateType as aa, AddOnPaymentOptions as ab, LocationType as ac, RankingOrder as ad, SortingMethodType as ae, Timing as af, CompletionRequirement as ag, TaxableAddressType as ah, WebhookIdentityType as ai, V2RequestedFields as aj, SortOrder as ak, SortType as al, SortDirection as am, MissingValues as an, ScalarType as ao, NestedAggregationType as ap, Interval as aq, AggregationType as ar, Mode as as, RequestedFields as at, Action as au, InvalidSlugError as av, CloneErrors as aw, Status as ax, CategoryNotificationEvent as ay, BenefitType as az, type DeleteAddOnGroupApplicationErrors as b, type AddOn as b$, type BookingPolicy as b0, type PolicyDescription as b1, type LimitEarlyBookingPolicy as b2, type LimitLateBookingPolicy as b3, type BookAfterStartPolicy as b4, type CancellationPolicy as b5, type ReschedulePolicy as b6, type WaitlistPolicy as b7, type ParticipantsPolicy as b8, type ResourcesPolicy as b9, type Tag as bA, type Settings as bB, type AddOnDetails as bC, type TaxableAddress as bD, type PhoneCall as bE, type ReindexMessage as bF, type ReindexMessageActionOneOf as bG, type Upsert as bH, type Delete as bI, type Schema as bJ, type SetCustomSlugEvent as bK, type ServicesUrlsChanged as bL, type DomainEvent as bM, type DomainEventBodyOneOf as bN, type EntityCreatedEvent as bO, type RestoreInfo as bP, type EntityUpdatedEvent as bQ, type EntityDeletedEvent as bR, type ActionEvent as bS, type MessageEnvelope as bT, type IdentificationData as bU, type IdentificationDataIdOneOf as bV, type CreateAddOnGroupRequest as bW, type DeleteAddOnGroupRequest as bX, type DeleteAddOnGroupResponse as bY, type UpdateAddOnGroupRequest as bZ, type ListAddOnGroupsByServiceIdRequest as b_, type CancellationFeePolicy as ba, type CancellationWindow as bb, type CancellationWindowFeeOneOf as bc, type SaveCreditCardPolicy as bd, type StaffSortingPolicy as be, type StaffSortingPolicyOptionsOneOf as bf, type RankingOptions as bg, type CustomOptions as bh, type IntakeFormPolicy as bi, type Schedule as bj, type AvailabilityConstraints as bk, type Duration as bl, type StaffMember as bm, type StaffMediaItem as bn, type StaffMediaItemItemOneOf as bo, type StaffMemberDetails as bp, type ResourceGroup as bq, type ResourceIds as br, type ServiceResource as bs, type ServiceResourceSelectionOneOf as bt, type ResourceType as bu, type Slug as bv, type URLs as bw, type ExtendedFields as bx, type SeoSchema as by, type Keyword as bz, type UpdateAddOnGroupResponse as c, type AggregationResultsScalarResult as c$, type AddOnAddOnInfoOneOf as c0, type AddOnGroupDetail as c1, type SetAddOnsForGroupRequest as c2, type CreateServiceRequest as c3, type CreateServiceResponse as c4, type ValidateServiceRequest as c5, type ValidateServiceResponse as c6, type FieldViolation as c7, type BulkCreateServicesRequest as c8, type BulkServiceResult as c9, type Cursors as cA, type SearchServicesRequest as cB, type CursorSearch as cC, type CursorSearchPagingMethodOneOf as cD, type Aggregation as cE, type AggregationKindOneOf as cF, type RangeBucket as cG, type IncludeMissingValuesOptions as cH, type ValueAggregation as cI, type ValueAggregationOptionsOneOf as cJ, type RangeAggregation as cK, type ScalarAggregation as cL, type DateHistogramAggregation as cM, type NestedAggregationItem as cN, type NestedAggregationItemKindOneOf as cO, type NestedAggregation as cP, type GroupByAggregation as cQ, type GroupByAggregationKindOneOf as cR, type SearchDetails as cS, type CursorPagingMetadata as cT, type AggregationData as cU, type ValueAggregationResult as cV, type RangeAggregationResult as cW, type NestedAggregationResults as cX, type NestedAggregationResultsResultOneOf as cY, type ValueResults as cZ, type RangeResults as c_, type ItemMetadata as ca, type ApplicationError as cb, type BulkActionMetadata as cc, type GetServiceRequest as cd, type GetServiceResponse as ce, type GetServiceAvailabilityConstraintsRequest as cf, type GetServiceAvailabilityConstraintsResponse as cg, type ServiceAvailabilityConstraints as ch, type SplitInterval as ci, type UpdateServiceRequest as cj, type UpdateServiceResponse as ck, type BulkUpdateServicesRequest as cl, type MaskedService as cm, type BulkUpdateServicesByFilterRequest as cn, type DeleteServiceRequest as co, type ParticipantNotification as cp, type DeleteServiceResponse as cq, type BulkDeleteServicesRequest as cr, type BulkDeleteServicesByFilterRequest as cs, type QueryServicesRequest as ct, type QueryV2PagingMethodOneOf as cu, type Sorting as cv, type Paging as cw, type CursorPaging as cx, type QueryServicesResponse as cy, type PagingMetadataV2 as cz, type UpdateAddOnGroupApplicationErrors as d, type BusinessSchedule as d$, type NestedValueAggregationResult as d0, type ValueResult as d1, type RangeResult as d2, type ScalarResult as d3, type NestedResultValue as d4, type NestedResultValueResultOneOf as d5, type Results as d6, type DateHistogramResult as d7, type GroupByValueResults as d8, type DateHistogramResults as d9, type PricingPlanSelection as dA, type InvalidPricingPlan as dB, type DisablePricingPlansForServiceRequest as dC, type SetCustomSlugRequest as dD, type ValidateSlugRequest as dE, type CloneServiceRequest as dF, type CategoryNotification as dG, type Category as dH, type Empty as dI, type BenefitNotification as dJ, type Benefit as dK, type EntryPass as dL, type Discount as dM, type DiscountDiscountOneOf as dN, type Behavior as dO, type BehaviorBehaviorOneOf as dP, type UserDomainInfoChangedEvent as dQ, type HtmlSitePublished as dR, type Page as dS, type SitePropertiesNotification as dT, type SitePropertiesEvent as dU, type Properties as dV, type Categories as dW, type Locale as dX, type Address as dY, type AddressHint as dZ, type GeoCoordinates as d_, type NestedResults as da, type AggregationResults as db, type AggregationResultsResultOneOf as dc, type QueryPoliciesRequest as dd, type CursorQueryPagingMethodOneOf as de, type BookingPolicyWithServices as df, type QueryBookingFormsRequest as dg, type BookingForm as dh, type FormDetails as di, type ConnectedService as dj, type CountServicesRequest as dk, type QueryLocationsRequest as dl, type QueryLocationsFilter as dm, type BusinessLocations as dn, type CustomLocations as dp, type CustomerLocations as dq, type QueryCategoriesRequest as dr, type QueryCategoriesFilter as ds, type QueryServicesMultiLanguageRequest as dt, type QueryServicesMultiLanguageResponse as du, type SetServiceLocationsRequest as dv, type RemovedLocationSessionsAction as dw, type RemovedLocationSessionsActionActionOptionsOneOf as dx, type MoveToNewLocationsOptions as dy, type EnablePricingPlansForServiceRequest as dz, type ListAddOnGroupsByServiceIdResponse as e, bulkDeleteServices as e$, type TimePeriod as e0, type SpecialHourPeriod as e1, type Multilingual as e2, type SupportedLanguage as e3, type ConsentPolicy as e4, type Translation as e5, type ChangeContext as e6, type ChangeContextPayloadOneOf as e7, type PropertiesChange as e8, type SiteCreated as e9, type ActionWithLiterals as eA, type InvalidSlugErrorWithLiterals as eB, type CloneErrorsWithLiterals as eC, type StatusWithLiterals as eD, type CategoryNotificationEventWithLiterals as eE, type BenefitTypeWithLiterals as eF, type EventWithLiterals as eG, type CrudTypeWithLiterals as eH, type PlacementTypeWithLiterals as eI, type DayOfWeekWithLiterals as eJ, type ResolutionMethodWithLiterals as eK, type CommonSearchWithEntityContext as eL, onServiceCreated as eM, onServiceDeleted as eN, onServiceUpdated as eO, createAddOnGroup as eP, deleteAddOnGroup as eQ, updateAddOnGroup as eR, listAddOnGroupsByServiceId as eS, setAddOnsForGroup as eT, createService as eU, bulkCreateServices as eV, getService as eW, updateService as eX, bulkUpdateServices as eY, bulkUpdateServicesByFilter as eZ, deleteService as e_, type SiteCloned as ea, type BaseEventMetadata as eb, type EventMetadata as ec, type ServicesQueryResult as ed, type ServiceSearchSpec as ee, type ServiceTypeWithLiterals as ef, type RateTypeWithLiterals as eg, type AddOnPaymentOptionsWithLiterals as eh, type LocationTypeWithLiterals as ei, type RankingOrderWithLiterals as ej, type SortingMethodTypeWithLiterals as ek, type TimingWithLiterals as el, type CompletionRequirementWithLiterals as em, type TaxableAddressTypeWithLiterals as en, type WebhookIdentityTypeWithLiterals as eo, type V2RequestedFieldsWithLiterals as ep, type SortOrderWithLiterals as eq, type SortTypeWithLiterals as er, type SortDirectionWithLiterals as es, type MissingValuesWithLiterals as et, type ScalarTypeWithLiterals as eu, type NestedAggregationTypeWithLiterals as ev, type IntervalWithLiterals as ew, type AggregationTypeWithLiterals as ex, type ModeWithLiterals as ey, type RequestedFieldsWithLiterals as ez, type SetAddOnsForGroupResponse as f, bulkDeleteServicesByFilter as f0, queryServices as f1, queryPolicies as f2, queryBookingForms as f3, countServices as f4, queryLocations as f5, queryCategories as f6, setServiceLocations as f7, enablePricingPlansForService as f8, disablePricingPlansForService as f9, setCustomSlug as fa, validateSlug as fb, cloneService as fc, type SetAddOnsForGroupApplicationErrors as g, type Service as h, type CreateServiceValidationErrors as i, type BulkCreateServicesResponse as j, type UpdateService as k, type UpdateServiceValidationErrors as l, type BulkUpdateServicesOptions as m, type BulkUpdateServicesResponse as n, type BulkUpdateServicesByFilterOptions as o, type BulkUpdateServicesByFilterResponse as p, type DeleteServiceOptions as q, type BulkDeleteServicesOptions as r, type BulkDeleteServicesResponse as s, type BulkDeleteServicesByFilterOptions as t, type BulkDeleteServicesByFilterResponse as u, type ServiceSearch as v, type SearchServicesResponse as w, type CursorQuery as x, type QueryBookingFormsOptions as y, type QueryBookingFormsResponse as z };