@wix/auto_sdk_bookings_services 1.0.156 → 1.0.158

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-lzRAgT6-.d.ts → bookings-services-v2-service-services.universal-B5ggTFt2.d.ts} +316 -313
  2. package/build/cjs/index.d.ts +83 -84
  3. package/build/cjs/index.js +320 -321
  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 +282 -282
  7. package/build/cjs/index.typings.js.map +1 -1
  8. package/build/cjs/meta.d.ts +172 -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-lzRAgT6-.d.mts → bookings-services-v2-service-services.universal-B5ggTFt2.d.mts} +316 -313
  12. package/build/es/index.d.mts +83 -84
  13. package/build/es/index.mjs +320 -321
  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 +282 -282
  17. package/build/es/index.typings.mjs.map +1 -1
  18. package/build/es/meta.d.mts +172 -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-lzRAgT6-.d.ts → bookings-services-v2-service-services.universal-B5ggTFt2.d.ts} +316 -313
  22. package/build/internal/cjs/index.d.ts +83 -84
  23. package/build/internal/cjs/index.js +320 -321
  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 +282 -282
  27. package/build/internal/cjs/index.typings.js.map +1 -1
  28. package/build/internal/cjs/meta.d.ts +172 -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-lzRAgT6-.d.mts → bookings-services-v2-service-services.universal-B5ggTFt2.d.mts} +316 -313
  32. package/build/internal/es/index.d.mts +83 -84
  33. package/build/internal/es/index.mjs +320 -321
  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 +282 -282
  37. package/build/internal/es/index.typings.mjs.map +1 -1
  38. package/build/internal/es/meta.d.mts +172 -172
  39. package/build/internal/es/meta.mjs +203 -203
  40. package/build/internal/es/meta.mjs.map +1 -1
  41. package/package.json +3 -3
@@ -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;
@@ -2697,7 +2844,7 @@ interface SetServiceLocationsRequest {
2697
2844
  * List of locations replacing existing service locations. Omitting an existing location removes it from the service. Specify `removedLocationSessionsAction` to determine the handling of future sessions scheduled at that location.
2698
2845
  * @maxSize 100
2699
2846
  */
2700
- locations: Location[];
2847
+ locations?: Location[];
2701
2848
  /**
2702
2849
  * The action to perform on sessions currently set to a removed location. For
2703
2850
  * example, move existing sessions to a new specified location.
@@ -3373,153 +3520,24 @@ interface SiteCloned {
3373
3520
  /** Origin site id. */
3374
3521
  originMetaSiteId?: string;
3375
3522
  }
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
- }
3523
+ /** @docsIgnore */
3524
+ type DeleteAddOnGroupApplicationErrors = {
3525
+ code?: 'GROUP_NOT_ON_SERVICE';
3526
+ description?: string;
3527
+ data?: Record<string, any>;
3528
+ };
3529
+ /** @docsIgnore */
3530
+ type UpdateAddOnGroupApplicationErrors = {
3531
+ code?: 'GROUP_NOT_ON_SERVICE';
3532
+ description?: string;
3533
+ data?: Record<string, any>;
3534
+ };
3535
+ /** @docsIgnore */
3536
+ type SetAddOnsForGroupApplicationErrors = {
3537
+ code?: 'ADD_ON_GROUP_NOT_FOUND';
3538
+ description?: string;
3539
+ data?: Record<string, any>;
3540
+ };
3523
3541
  /** @docsIgnore */
3524
3542
  type CreateServiceValidationErrors = {
3525
3543
  ruleName?: 'INVALID_FORM';
@@ -3640,24 +3658,6 @@ type SetCustomSlugApplicationErrors = {
3640
3658
  type SetCustomSlugValidationErrors = {
3641
3659
  ruleName?: 'SLUG_CONTAINS_ILLEGAL_CHARACTERS';
3642
3660
  };
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
3661
  interface BaseEventMetadata {
3662
3662
  /**
3663
3663
  * App instance ID.
@@ -3780,6 +3780,149 @@ interface ServiceUpdatedEnvelope {
3780
3780
  * @slug updated
3781
3781
  */
3782
3782
  declare function onServiceUpdated(handler: (event: ServiceUpdatedEnvelope) => void | Promise<void>): void;
3783
+ /**
3784
+ * Creates a new add-on group for a service and updates the service's `addOnGroups` array.
3785
+ * @param addOnGroup - Add-on group to create.
3786
+ * @public
3787
+ * @documentationMaturity preview
3788
+ * @requiredField addOnGroup
3789
+ * @requiredField addOnGroup.name
3790
+ * @requiredField options
3791
+ * @requiredField options.serviceId
3792
+ * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
3793
+ * @applicableIdentity APP
3794
+ * @fqn wix.bookings.services.v2.AddOnGroupsService.CreateAddOnGroup
3795
+ */
3796
+ declare function createAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `name`, 2>, options: NonNullablePaths<CreateAddOnGroupOptions, `serviceId`, 2>): Promise<NonNullablePaths<CreateAddOnGroupResponse, `addOnGroup.addOnIds`, 3>>;
3797
+ interface CreateAddOnGroupOptions {
3798
+ /**
3799
+ * ID of the service to create the add-on group for.
3800
+ * @format GUID
3801
+ */
3802
+ serviceId: string | null;
3803
+ }
3804
+ /**
3805
+ * Deletes an add-on group.
3806
+ *
3807
+ *
3808
+ * Deleting the group doesn't delete individual add-ons.
3809
+ * Any add-on not associated with another group isn't available for customers to book.
3810
+ * @param addOnGroupId - ID of the add-on group to delete.
3811
+ * @public
3812
+ * @documentationMaturity preview
3813
+ * @requiredField addOnGroupId
3814
+ * @requiredField options
3815
+ * @requiredField options.serviceId
3816
+ * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
3817
+ * @applicableIdentity APP
3818
+ * @fqn wix.bookings.services.v2.AddOnGroupsService.DeleteAddOnGroup
3819
+ */
3820
+ declare function deleteAddOnGroup(addOnGroupId: string, options: NonNullablePaths<DeleteAddOnGroupOptions, `serviceId`, 2>): Promise<void & {
3821
+ __applicationErrorsType?: DeleteAddOnGroupApplicationErrors;
3822
+ }>;
3823
+ interface DeleteAddOnGroupOptions {
3824
+ /**
3825
+ * ID of the service from which to delete the add-on group.
3826
+ * @format GUID
3827
+ */
3828
+ serviceId: string | null;
3829
+ }
3830
+ /**
3831
+ * Updates an add-on group.
3832
+ *
3833
+ *
3834
+ * 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.
3835
+ *
3836
+ * You can't change which service an add-on group belongs to.
3837
+ * Each add-on group is permanently associated with the service it was created for.
3838
+ * To use the same add-ons with a different service, create a new add-on group for that service.
3839
+ * @param addOnGroup - Add-on group to update.
3840
+ * @public
3841
+ * @documentationMaturity preview
3842
+ * @requiredField addOnGroup
3843
+ * @requiredField addOnGroup._id
3844
+ * @requiredField options
3845
+ * @requiredField options.serviceId
3846
+ * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_UPDATE
3847
+ * @applicableIdentity APP
3848
+ * @fqn wix.bookings.services.v2.AddOnGroupsService.UpdateAddOnGroup
3849
+ */
3850
+ declare function updateAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `_id`, 2>, options: NonNullablePaths<UpdateAddOnGroupOptions, `serviceId`, 2>): Promise<NonNullablePaths<UpdateAddOnGroupResponse, `addOnGroup.addOnIds`, 3> & {
3851
+ __applicationErrorsType?: UpdateAddOnGroupApplicationErrors;
3852
+ }>;
3853
+ interface UpdateAddOnGroupOptions {
3854
+ /**
3855
+ * ID of the service that contains the add-on group.
3856
+ * @format GUID
3857
+ */
3858
+ serviceId: string | null;
3859
+ }
3860
+ /**
3861
+ * Retrieves add-on groups for a service with enriched add-on details.
3862
+ *
3863
+ *
3864
+ * Add-on details are returned based on their display order.
3865
+ *
3866
+ * If you specify `groupIds`, only those groups are returned.
3867
+ * By default, all groups associated with the service are returned.
3868
+ * @param serviceId - ID of the service to retrieve add-on groups for.
3869
+ * @public
3870
+ * @documentationMaturity preview
3871
+ * @requiredField serviceId
3872
+ * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_LIST
3873
+ * @applicableIdentity APP
3874
+ * @fqn wix.bookings.services.v2.AddOnGroupsService.ListAddOnGroupsByServiceId
3875
+ */
3876
+ declare function listAddOnGroupsByServiceId(serviceId: string, options?: ListAddOnGroupsByServiceIdOptions): Promise<NonNullablePaths<ListAddOnGroupsByServiceIdResponse, `addOnGroupsDetails`, 2>>;
3877
+ interface ListAddOnGroupsByServiceIdOptions {
3878
+ /**
3879
+ * List of group IDs to return. By default, all groups are returned.
3880
+ * @format GUID
3881
+ * @maxSize 3
3882
+ */
3883
+ groupIds?: string[] | null;
3884
+ }
3885
+ /**
3886
+ * Sets the add-ons for a specific group, replacing any existing add-ons in the group.
3887
+ *
3888
+ *
3889
+ * Call this method when you want to:
3890
+ * - Add new add-ons to a group.
3891
+ * - Remove add-ons from a group.
3892
+ * - Reorder existing add-ons for optimal customer presentation.
3893
+ *
3894
+ * The order of add-ons in the request determines their display sequence to customers.
3895
+ * All specified add-ons must already exist before adding them to a group.
3896
+ *
3897
+ * 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.
3898
+ * @param serviceId - Service ID containing the group.
3899
+ * @public
3900
+ * @documentationMaturity preview
3901
+ * @requiredField options
3902
+ * @requiredField options.addOnIds
3903
+ * @requiredField options.groupId
3904
+ * @requiredField serviceId
3905
+ * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_SET_ADD_ONS
3906
+ * @applicableIdentity APP
3907
+ * @fqn wix.bookings.services.v2.AddOnGroupsService.SetAddOnsForGroup
3908
+ */
3909
+ declare function setAddOnsForGroup(serviceId: string, options: NonNullablePaths<SetAddOnsForGroupOptions, `addOnIds` | `groupId`, 2>): Promise<NonNullablePaths<SetAddOnsForGroupResponse, `addOnGroup.addOnIds`, 3> & {
3910
+ __applicationErrorsType?: SetAddOnsForGroupApplicationErrors;
3911
+ }>;
3912
+ interface SetAddOnsForGroupOptions {
3913
+ /**
3914
+ * Group ID to set add-ons for.
3915
+ * @format GUID
3916
+ */
3917
+ groupId: string | null;
3918
+ /**
3919
+ * IDs of add-ons to set for the group in display order.
3920
+ * @format GUID
3921
+ * @minSize 1
3922
+ * @maxSize 7
3923
+ */
3924
+ addOnIds: string[] | null;
3925
+ }
3783
3926
  /**
3784
3927
  * Creates a service.
3785
3928
  *
@@ -4712,17 +4855,20 @@ interface QueryCategoriesOptions {
4712
4855
  * `participantNotification.notifyParticipants` is set to `true` to send the
4713
4856
  * message.
4714
4857
  * @param serviceId - ID of the service.
4715
- * @param locations - List of locations replacing existing service locations. Omitting an existing location removes it from the service. Specify `removedLocationSessionsAction` to determine the handling of future sessions scheduled at that location.
4716
4858
  * @public
4717
4859
  * @documentationMaturity preview
4718
- * @requiredField locations
4719
4860
  * @requiredField serviceId
4720
4861
  * @permissionId BOOKINGS.SERVICES_LOCATIONS_SET
4721
4862
  * @applicableIdentity APP
4722
4863
  * @fqn wix.bookings.services.v2.ServicesService.SetServiceLocations
4723
4864
  */
4724
- declare function setServiceLocations(serviceId: string, locations: Location[], options?: SetServiceLocationsOptions): Promise<NonNullablePaths<SetServiceLocationsResponse, `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>>;
4865
+ declare function setServiceLocations(serviceId: string, options?: SetServiceLocationsOptions): Promise<NonNullablePaths<SetServiceLocationsResponse, `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>>;
4725
4866
  interface SetServiceLocationsOptions {
4867
+ /**
4868
+ * List of locations replacing existing service locations. Omitting an existing location removes it from the service. Specify `removedLocationSessionsAction` to determine the handling of future sessions scheduled at that location.
4869
+ * @maxSize 100
4870
+ */
4871
+ locations?: Location[];
4726
4872
  /**
4727
4873
  * The action to perform on sessions currently set to a removed location. For
4728
4874
  * example, move existing sessions to a new specified location.
@@ -4891,148 +5037,5 @@ interface ValidateSlugOptions {
4891
5037
  * @fqn wix.bookings.services.v2.ServicesService.CloneService
4892
5038
  */
4893
5039
  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>>;
4894
- /**
4895
- * Creates a new add-on group for a service and updates the service's `addOnGroups` array.
4896
- * @param addOnGroup - Add-on group to create.
4897
- * @public
4898
- * @documentationMaturity preview
4899
- * @requiredField addOnGroup
4900
- * @requiredField addOnGroup.name
4901
- * @requiredField options
4902
- * @requiredField options.serviceId
4903
- * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
4904
- * @applicableIdentity APP
4905
- * @fqn wix.bookings.services.v2.AddOnGroupsService.CreateAddOnGroup
4906
- */
4907
- declare function createAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `name`, 2>, options: NonNullablePaths<CreateAddOnGroupOptions, `serviceId`, 2>): Promise<NonNullablePaths<CreateAddOnGroupResponse, `addOnGroup.addOnIds`, 3>>;
4908
- interface CreateAddOnGroupOptions {
4909
- /**
4910
- * ID of the service to create the add-on group for.
4911
- * @format GUID
4912
- */
4913
- serviceId: string | null;
4914
- }
4915
- /**
4916
- * Deletes an add-on group.
4917
- *
4918
- *
4919
- * Deleting the group doesn't delete individual add-ons.
4920
- * Any add-on not associated with another group isn't available for customers to book.
4921
- * @param addOnGroupId - ID of the add-on group to delete.
4922
- * @public
4923
- * @documentationMaturity preview
4924
- * @requiredField addOnGroupId
4925
- * @requiredField options
4926
- * @requiredField options.serviceId
4927
- * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
4928
- * @applicableIdentity APP
4929
- * @fqn wix.bookings.services.v2.AddOnGroupsService.DeleteAddOnGroup
4930
- */
4931
- declare function deleteAddOnGroup(addOnGroupId: string, options: NonNullablePaths<DeleteAddOnGroupOptions, `serviceId`, 2>): Promise<void & {
4932
- __applicationErrorsType?: DeleteAddOnGroupApplicationErrors;
4933
- }>;
4934
- interface DeleteAddOnGroupOptions {
4935
- /**
4936
- * ID of the service from which to delete the add-on group.
4937
- * @format GUID
4938
- */
4939
- serviceId: string | null;
4940
- }
4941
- /**
4942
- * Updates an add-on group.
4943
- *
4944
- *
4945
- * 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.
4946
- *
4947
- * You can't change which service an add-on group belongs to.
4948
- * Each add-on group is permanently associated with the service it was created for.
4949
- * To use the same add-ons with a different service, create a new add-on group for that service.
4950
- * @param addOnGroup - Add-on group to update.
4951
- * @public
4952
- * @documentationMaturity preview
4953
- * @requiredField addOnGroup
4954
- * @requiredField addOnGroup._id
4955
- * @requiredField options
4956
- * @requiredField options.serviceId
4957
- * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_UPDATE
4958
- * @applicableIdentity APP
4959
- * @fqn wix.bookings.services.v2.AddOnGroupsService.UpdateAddOnGroup
4960
- */
4961
- declare function updateAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `_id`, 2>, options: NonNullablePaths<UpdateAddOnGroupOptions, `serviceId`, 2>): Promise<NonNullablePaths<UpdateAddOnGroupResponse, `addOnGroup.addOnIds`, 3> & {
4962
- __applicationErrorsType?: UpdateAddOnGroupApplicationErrors;
4963
- }>;
4964
- interface UpdateAddOnGroupOptions {
4965
- /**
4966
- * ID of the service that contains the add-on group.
4967
- * @format GUID
4968
- */
4969
- serviceId: string | null;
4970
- }
4971
- /**
4972
- * Retrieves add-on groups for a service with enriched add-on details.
4973
- *
4974
- *
4975
- * Add-on details are returned based on their display order.
4976
- *
4977
- * If you specify `groupIds`, only those groups are returned.
4978
- * By default, all groups associated with the service are returned.
4979
- * @param serviceId - ID of the service to retrieve add-on groups for.
4980
- * @public
4981
- * @documentationMaturity preview
4982
- * @requiredField serviceId
4983
- * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_LIST
4984
- * @applicableIdentity APP
4985
- * @fqn wix.bookings.services.v2.AddOnGroupsService.ListAddOnGroupsByServiceId
4986
- */
4987
- declare function listAddOnGroupsByServiceId(serviceId: string, options?: ListAddOnGroupsByServiceIdOptions): Promise<NonNullablePaths<ListAddOnGroupsByServiceIdResponse, `addOnGroupsDetails`, 2>>;
4988
- interface ListAddOnGroupsByServiceIdOptions {
4989
- /**
4990
- * List of group IDs to return. By default, all groups are returned.
4991
- * @format GUID
4992
- * @maxSize 3
4993
- */
4994
- groupIds?: string[] | null;
4995
- }
4996
- /**
4997
- * Sets the add-ons for a specific group, replacing any existing add-ons in the group.
4998
- *
4999
- *
5000
- * Call this method when you want to:
5001
- * - Add new add-ons to a group.
5002
- * - Remove add-ons from a group.
5003
- * - Reorder existing add-ons for optimal customer presentation.
5004
- *
5005
- * The order of add-ons in the request determines their display sequence to customers.
5006
- * All specified add-ons must already exist before adding them to a group.
5007
- *
5008
- * 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.
5009
- * @param serviceId - Service ID containing the group.
5010
- * @public
5011
- * @documentationMaturity preview
5012
- * @requiredField options
5013
- * @requiredField options.addOnIds
5014
- * @requiredField options.groupId
5015
- * @requiredField serviceId
5016
- * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_SET_ADD_ONS
5017
- * @applicableIdentity APP
5018
- * @fqn wix.bookings.services.v2.AddOnGroupsService.SetAddOnsForGroup
5019
- */
5020
- declare function setAddOnsForGroup(serviceId: string, options: NonNullablePaths<SetAddOnsForGroupOptions, `addOnIds` | `groupId`, 2>): Promise<NonNullablePaths<SetAddOnsForGroupResponse, `addOnGroup.addOnIds`, 3> & {
5021
- __applicationErrorsType?: SetAddOnsForGroupApplicationErrors;
5022
- }>;
5023
- interface SetAddOnsForGroupOptions {
5024
- /**
5025
- * Group ID to set add-ons for.
5026
- * @format GUID
5027
- */
5028
- groupId: string | null;
5029
- /**
5030
- * IDs of add-ons to set for the group in display order.
5031
- * @format GUID
5032
- * @minSize 1
5033
- * @maxSize 7
5034
- */
5035
- addOnIds: string[] | null;
5036
- }
5037
5040
 
5038
- export { type SetAddOnsForGroupOptions 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 Location as L, type CloneServiceResponse as M, type AddOnGroup as N, type CreateAddOnGroupOptions as O, type CreateAddOnGroupResponse as P, type QueryPoliciesResponse as Q, type DeleteAddOnGroupOptions as R, type Service as S, type DeleteAddOnGroupApplicationErrors as T, type UpdateService as U, type ValidateSlugOptions as V, type UpdateAddOnGroupOptions as W, type UpdateAddOnGroupResponse as X, type UpdateAddOnGroupApplicationErrors as Y, type ListAddOnGroupsByServiceIdOptions as Z, type ListAddOnGroupsByServiceIdResponse as _, type BulkCreateServicesResponse as a, type BookingPolicy as a$, type SetAddOnsForGroupResponse as a0, type SetAddOnsForGroupApplicationErrors as a1, type ServiceCreatedEnvelope as a2, type ServiceDeletedEnvelope as a3, type ServiceUpdatedEnvelope as a4, type QueryV2 as a5, typedQueryServices as a6, type QueryServicesOptions 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 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_, 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 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 };
5041
+ export { type ValidateSlugResponse 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 EnablePricingPlansForServiceResponse as O, type EnablePricingPlansForServiceApplicationErrors as P, type QueryPoliciesResponse as Q, type DisablePricingPlansForServiceOptions as R, type SetAddOnsForGroupOptions as S, type DisablePricingPlansForServiceResponse as T, type UpdateAddOnGroupOptions as U, type DisablePricingPlansForServiceApplicationErrors as V, type SetCustomSlugOptions as W, type SetCustomSlugResponse as X, type SetCustomSlugApplicationErrors as Y, type SetCustomSlugValidationErrors as Z, type ValidateSlugOptions as _, type CreateAddOnGroupResponse as a, type BookingPolicy as a$, type CloneServiceResponse as a0, type ServiceCreatedEnvelope as a1, type ServiceDeletedEnvelope as a2, type ServiceUpdatedEnvelope as a3, type QueryV2 as a4, typedQueryServices as a5, type QueryServicesOptions 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 DeleteAddOnGroupApplicationErrors as b, type AddOnAddOnInfoOneOf 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 CreateAddOnGroupRequest as bV, type DeleteAddOnGroupRequest as bW, type DeleteAddOnGroupResponse as bX, type UpdateAddOnGroupRequest as bY, type ListAddOnGroupsByServiceIdRequest as bZ, type AddOn 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 UpdateAddOnGroupResponse as c, type NestedValueAggregationResult as c$, type AddOnGroupDetail as c0, type SetAddOnsForGroupRequest as c1, type CreateServiceRequest as c2, type CreateServiceResponse as c3, type ValidateServiceRequest as c4, type ValidateServiceResponse as c5, type FieldViolation as c6, type BulkCreateServicesRequest as c7, type BulkServiceResult as c8, type ItemMetadata as c9, type SearchServicesRequest as cA, type CursorSearch as cB, type CursorSearchPagingMethodOneOf as cC, type Aggregation as cD, type AggregationKindOneOf as cE, type RangeBucket as cF, type IncludeMissingValuesOptions as cG, type ValueAggregation as cH, type ValueAggregationOptionsOneOf as cI, type RangeAggregation as cJ, type ScalarAggregation as cK, type DateHistogramAggregation as cL, type NestedAggregationItem as cM, type NestedAggregationItemKindOneOf as cN, type NestedAggregation as cO, type GroupByAggregation as cP, type GroupByAggregationKindOneOf as cQ, type SearchDetails as cR, type CursorPagingMetadata as cS, type AggregationData as cT, type ValueAggregationResult as cU, type RangeAggregationResult as cV, type NestedAggregationResults as cW, type NestedAggregationResultsResultOneOf as cX, type ValueResults as cY, type RangeResults as cZ, type AggregationResultsScalarResult as c_, type ApplicationError as ca, type BulkActionMetadata as cb, type GetServiceRequest as cc, type GetServiceResponse as cd, type GetServiceAvailabilityConstraintsRequest as ce, type GetServiceAvailabilityConstraintsResponse as cf, type ServiceAvailabilityConstraints as cg, type SplitInterval as ch, type UpdateServiceRequest as ci, type UpdateServiceResponse as cj, type BulkUpdateServicesRequest as ck, type MaskedService as cl, type BulkUpdateServicesByFilterRequest as cm, type DeleteServiceRequest as cn, type ParticipantNotification as co, type DeleteServiceResponse as cp, type BulkDeleteServicesRequest as cq, type BulkDeleteServicesByFilterRequest as cr, type QueryServicesRequest as cs, type QueryV2PagingMethodOneOf as ct, type Sorting as cu, type Paging as cv, type CursorPaging as cw, type QueryServicesResponse as cx, type PagingMetadataV2 as cy, type Cursors as cz, type UpdateAddOnGroupApplicationErrors as d, type SpecialHourPeriod as d$, type ValueResult as d0, type RangeResult as d1, type ScalarResult as d2, type NestedResultValue as d3, type NestedResultValueResultOneOf as d4, type Results as d5, type DateHistogramResult as d6, type GroupByValueResults as d7, type DateHistogramResults as d8, type NestedResults as d9, type DisablePricingPlansForServiceRequest as dA, type SetCustomSlugRequest as dB, type ValidateSlugRequest as dC, type CloneServiceRequest as dD, type CategoryNotification as dE, type Category as dF, type Empty as dG, type BenefitNotification as dH, type Benefit as dI, type EntryPass as dJ, type Discount as dK, type DiscountDiscountOneOf as dL, type Behavior as dM, type BehaviorBehaviorOneOf as dN, type UserDomainInfoChangedEvent as dO, type HtmlSitePublished as dP, type Page as dQ, type SitePropertiesNotification as dR, type SitePropertiesEvent as dS, type Properties as dT, type Categories as dU, type Locale as dV, type Address as dW, type AddressHint as dX, type GeoCoordinates as dY, type BusinessSchedule as dZ, type TimePeriod as d_, type AggregationResults as da, type AggregationResultsResultOneOf as db, type QueryPoliciesRequest as dc, type CursorQueryPagingMethodOneOf as dd, type BookingPolicyWithServices as de, type QueryBookingFormsRequest as df, type BookingForm as dg, type FormDetails as dh, type ConnectedService as di, type CountServicesRequest as dj, type QueryLocationsRequest as dk, type QueryLocationsFilter as dl, type BusinessLocations as dm, type CustomLocations as dn, type CustomerLocations as dp, type QueryCategoriesRequest as dq, type QueryCategoriesFilter as dr, type QueryServicesMultiLanguageRequest as ds, type QueryServicesMultiLanguageResponse as dt, type SetServiceLocationsRequest as du, type RemovedLocationSessionsAction as dv, type RemovedLocationSessionsActionActionOptionsOneOf as dw, type MoveToNewLocationsOptions as dx, type EnablePricingPlansForServiceRequest as dy, type InvalidPricingPlan as dz, type ListAddOnGroupsByServiceIdResponse as e, queryServices as e$, type Multilingual as e0, type SupportedLanguage as e1, type ConsentPolicy as e2, type Translation as e3, type ChangeContext as e4, type ChangeContextPayloadOneOf as e5, type PropertiesChange as e6, type SiteCreated as e7, type SiteCloned 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, createAddOnGroup as eN, deleteAddOnGroup as eO, updateAddOnGroup as eP, listAddOnGroupsByServiceId as eQ, setAddOnsForGroup as eR, createService as eS, bulkCreateServices as eT, getService as eU, updateService as eV, bulkUpdateServices as eW, bulkUpdateServicesByFilter as eX, deleteService as eY, bulkDeleteServices as eZ, bulkDeleteServicesByFilter 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 SetAddOnsForGroupResponse as f, queryPolicies as f0, queryBookingForms as f1, countServices as f2, queryLocations as f3, queryCategories as f4, setServiceLocations as f5, enablePricingPlansForService as f6, disablePricingPlansForService as f7, setCustomSlug as f8, validateSlug as f9, cloneService as fa, 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 };