@wix/auto_sdk_bookings_services 1.0.154 → 1.0.156

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-MfJJvs54.d.ts → bookings-services-v2-service-services.universal-lzRAgT6-.d.ts} +488 -453
  2. package/build/cjs/index.d.ts +98 -88
  3. package/build/cjs/index.js +302 -302
  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 +265 -265
  7. package/build/cjs/index.typings.js.map +1 -1
  8. package/build/cjs/meta.d.ts +192 -180
  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-MfJJvs54.d.mts → bookings-services-v2-service-services.universal-lzRAgT6-.d.mts} +488 -453
  12. package/build/es/index.d.mts +98 -88
  13. package/build/es/index.mjs +302 -302
  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 +265 -265
  17. package/build/es/index.typings.mjs.map +1 -1
  18. package/build/es/meta.d.mts +192 -180
  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-MfJJvs54.d.ts → bookings-services-v2-service-services.universal-lzRAgT6-.d.ts} +488 -453
  22. package/build/internal/cjs/index.d.ts +98 -88
  23. package/build/internal/cjs/index.js +302 -302
  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 +265 -265
  27. package/build/internal/cjs/index.typings.js.map +1 -1
  28. package/build/internal/cjs/meta.d.ts +192 -180
  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-MfJJvs54.d.mts → bookings-services-v2-service-services.universal-lzRAgT6-.d.mts} +488 -453
  32. package/build/internal/es/index.d.mts +98 -88
  33. package/build/internal/es/index.mjs +302 -302
  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 +265 -265
  37. package/build/internal/es/index.typings.mjs.map +1 -1
  38. package/build/internal/es/meta.d.mts +192 -180
  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
@@ -125,6 +125,17 @@ interface Service {
125
125
  * @readonly
126
126
  */
127
127
  revision?: string | null;
128
+ /**
129
+ * Information about the [add-on groups](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/about-add-on-groups) associated with the service.
130
+ * @maxSize 3
131
+ */
132
+ addOnGroups?: AddOnGroup[];
133
+ /**
134
+ * Details about all [add-ons](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/add-ons/introduction) customers can choose when booking the service.
135
+ * @readonly
136
+ * @maxSize 50
137
+ */
138
+ addOnDetails?: AddOnDetails[];
128
139
  /** Taxable address used to calculate tax */
129
140
  taxableAddress?: TaxableAddress;
130
141
  }
@@ -1234,42 +1245,43 @@ interface Settings {
1234
1245
  }
1235
1246
  interface AddOnGroup {
1236
1247
  /**
1237
- * Add-on group ID.
1248
+ * ID of the add-on group.
1249
+ * Wix Bookings automatically populates this field when creating or updating an add-on group.
1238
1250
  * @readonly
1239
1251
  * @format GUID
1240
1252
  */
1241
1253
  _id?: string | null;
1242
1254
  /**
1243
- * Group name displayed to customers.
1255
+ * Name of the add-on group.
1244
1256
  * @maxLength 100
1245
1257
  */
1246
1258
  name?: string | null;
1247
1259
  /**
1248
- * Maximum number of add-ons customers can select from this group.
1249
- * If not set, customers can select unlimited add-ons from the group.
1260
+ * Maximum number of different [add-ons](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/add-ons/introduction) from the group customers can add when booking the service.
1261
+ * When empty, there's no upper limit.
1250
1262
  */
1251
1263
  maxNumberOfAddOns?: number | null;
1252
1264
  /**
1253
- * List of add-on IDs in this group, ordered by display sequence.
1265
+ * List of IDs of all [add-ons](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/add-ons/introduction) included in the group.
1254
1266
  * @format GUID
1255
1267
  * @maxSize 7
1256
1268
  */
1257
1269
  addOnIds?: string[] | null;
1258
1270
  /**
1259
- * Instructional prompt displayed to customers for this group.
1271
+ * Description or instructional prompt of the add-on group that's displayed to customers when booking the service.
1260
1272
  * @maxLength 200
1261
1273
  */
1262
1274
  prompt?: string | null;
1263
1275
  }
1264
1276
  interface AddOnDetails {
1265
1277
  /**
1266
- * ID of the AddOn.
1278
+ * ID of the add-on.
1267
1279
  * @format GUID
1268
1280
  */
1269
1281
  addOnId?: string | null;
1270
1282
  /**
1271
- * The duration of the AddOn in minutes.
1272
- * This field can be empty if the AddOn has no specific duration.
1283
+ * Duration in minutes for add-ons that extend service time.
1284
+ * Empty for [quantity-based add-ons](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/add-ons/introduction#terminology).
1273
1285
  */
1274
1286
  durationInMinutes?: number | null;
1275
1287
  }
@@ -1458,153 +1470,6 @@ declare enum WebhookIdentityType {
1458
1470
  }
1459
1471
  /** @enumType */
1460
1472
  type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
1461
- interface CreateAddOnGroupRequest {
1462
- /** Add-on group to create. */
1463
- addOnGroup: AddOnGroup;
1464
- /**
1465
- * ID of the service to create the add-on group for.
1466
- * @format GUID
1467
- */
1468
- serviceId?: string | null;
1469
- }
1470
- interface CreateAddOnGroupResponse {
1471
- /** Created add-on group. */
1472
- addOnGroup?: AddOnGroup;
1473
- }
1474
- interface DeleteAddOnGroupRequest {
1475
- /**
1476
- * ID of the add-on group to delete.
1477
- * @format GUID
1478
- */
1479
- addOnGroupId: string | null;
1480
- /**
1481
- * ID of the service from which to delete the add-on group.
1482
- * @format GUID
1483
- */
1484
- serviceId: string | null;
1485
- }
1486
- interface DeleteAddOnGroupResponse {
1487
- }
1488
- interface UpdateAddOnGroupRequest {
1489
- /** Add-on group to update. */
1490
- addOnGroup: AddOnGroup;
1491
- /**
1492
- * ID of the service that contains the add-on group.
1493
- * @format GUID
1494
- */
1495
- serviceId: string | null;
1496
- }
1497
- interface UpdateAddOnGroupResponse {
1498
- /** Updated add-on group. */
1499
- addOnGroup?: AddOnGroup;
1500
- }
1501
- interface ListAddOnGroupsByServiceIdRequest {
1502
- /**
1503
- * ID of the service to retrieve add-on groups for.
1504
- * @format GUID
1505
- */
1506
- serviceId: string | null;
1507
- /**
1508
- * List of group IDs to return. By default, all groups are returned.
1509
- * @format GUID
1510
- * @maxSize 3
1511
- */
1512
- groupIds?: string[] | null;
1513
- }
1514
- interface ListAddOnGroupsByServiceIdResponse {
1515
- /**
1516
- * List of group details with their linked add-ons.
1517
- * @maxSize 3
1518
- */
1519
- addOnGroupsDetails?: AddOnGroupDetail[];
1520
- }
1521
- interface AddOn extends AddOnAddOnInfoOneOf {
1522
- /** Duration in minutes for duration-based add-ons that extend booking service time. */
1523
- durationInMinutes?: number;
1524
- /** Maximum quantity customers can purchase for quantity-based add-ons. */
1525
- maxQuantity?: number;
1526
- /**
1527
- * Add-on ID.
1528
- * @format GUID
1529
- */
1530
- addOnId?: string | null;
1531
- /**
1532
- * Add-on name displayed to customers.
1533
- * @maxLength 100
1534
- */
1535
- name?: string | null;
1536
- /** Add-on price. */
1537
- price?: Money;
1538
- /**
1539
- * Translated add-on name.
1540
- * @maxLength 100
1541
- */
1542
- nameTranslated?: string | null;
1543
- }
1544
- /** @oneof */
1545
- interface AddOnAddOnInfoOneOf {
1546
- /** Duration in minutes for duration-based add-ons that extend booking service time. */
1547
- durationInMinutes?: number;
1548
- /** Maximum quantity customers can purchase for quantity-based add-ons. */
1549
- maxQuantity?: number;
1550
- }
1551
- interface AddOnGroupDetail {
1552
- /**
1553
- * Group ID.
1554
- * @format GUID
1555
- */
1556
- groupId?: string | null;
1557
- /** Maximum number of add-ons customers can select from this group. */
1558
- maxNumberOfAddOns?: number | null;
1559
- /**
1560
- * Group name displayed to customers.
1561
- * @maxLength 100
1562
- */
1563
- groupName?: string | null;
1564
- /**
1565
- * Add-ons linked to this group in display order.
1566
- * @maxSize 7
1567
- */
1568
- addOns?: AddOn[];
1569
- /**
1570
- * 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`.
1571
- * @maxLength 200
1572
- */
1573
- prompt?: string | null;
1574
- /**
1575
- * Translated group name.
1576
- * @maxLength 100
1577
- */
1578
- groupNameTranslated?: string | null;
1579
- /**
1580
- * 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`.
1581
- * @maxLength 200
1582
- */
1583
- promptTranslated?: string | null;
1584
- }
1585
- interface SetAddOnsForGroupRequest {
1586
- /**
1587
- * Service ID containing the group.
1588
- * @format GUID
1589
- */
1590
- serviceId: string | null;
1591
- /**
1592
- * Group ID to set add-ons for.
1593
- * @format GUID
1594
- */
1595
- groupId: string | null;
1596
- /**
1597
- * IDs of add-ons to set for the group in display order.
1598
- * @format GUID
1599
- * @minSize 1
1600
- * @maxSize 7
1601
- */
1602
- addOnIds: string[] | null;
1603
- }
1604
- interface SetAddOnsForGroupResponse {
1605
- /** Updated add-on group. */
1606
- addOnGroup?: AddOnGroup;
1607
- }
1608
1473
  interface CreateServiceRequest {
1609
1474
  /** Service to create. */
1610
1475
  service: Service;
@@ -3508,108 +3373,237 @@ interface SiteCloned {
3508
3373
  /** Origin site id. */
3509
3374
  originMetaSiteId?: string;
3510
3375
  }
3511
- /** @docsIgnore */
3512
- type DeleteAddOnGroupApplicationErrors = {
3513
- code?: 'GROUP_NOT_ON_SERVICE';
3514
- description?: string;
3515
- data?: Record<string, any>;
3516
- };
3517
- /** @docsIgnore */
3518
- type UpdateAddOnGroupApplicationErrors = {
3519
- code?: 'GROUP_NOT_ON_SERVICE';
3520
- description?: string;
3521
- data?: Record<string, any>;
3522
- };
3523
- /** @docsIgnore */
3524
- type SetAddOnsForGroupApplicationErrors = {
3525
- code?: 'ADD_ON_GROUP_NOT_FOUND';
3526
- description?: string;
3527
- data?: Record<string, any>;
3528
- };
3529
- /** @docsIgnore */
3530
- type CreateServiceValidationErrors = {
3531
- ruleName?: 'INVALID_FORM';
3532
- } | {
3533
- ruleName?: 'INVALID_CATEGORY';
3534
- } | {
3535
- ruleName?: 'INVALID_BOOKING_POLICY';
3536
- } | {
3537
- ruleName?: 'INVALID_SERVICE_TYPE';
3538
- } | {
3539
- ruleName?: 'INVALID_SERVICE_NAME';
3540
- } | {
3541
- ruleName?: 'INVALID_ONLINE_BOOKING';
3542
- } | {
3543
- ruleName?: 'INVALID_STAFF_MEMBER_IDS';
3544
- } | {
3545
- ruleName?: 'PAYMENT_REQUIRED';
3546
- } | {
3547
- ruleName?: 'INVALID_PAYMENT_TYPE';
3548
- } | {
3549
- ruleName?: 'INVALID_RATE';
3550
- } | {
3551
- ruleName?: 'INVALID_PAYMENT_OPTIONS';
3552
- } | {
3553
- ruleName?: 'INVALID_BUSINESS_LOCATIONS';
3554
- } | {
3555
- ruleName?: 'INVALID_LOCATIONS';
3556
- } | {
3557
- ruleName?: 'INVALID_BUSINESS_LOCATION';
3558
- } | {
3559
- ruleName?: 'INVALID_CUSTOM_LOCATION';
3560
- } | {
3561
- ruleName?: 'INVALID_CUSTOMER_LOCATION';
3562
- } | {
3563
- ruleName?: 'INVALID_UNKNOWN_LOCATION';
3564
- } | {
3565
- ruleName?: 'INVALID_MANUAL_APPROVAL_WITH_PRICING_PLANS';
3566
- } | {
3567
- ruleName?: 'INVALID_DEFAULT_CAPACITY';
3568
- } | {
3569
- ruleName?: 'INVALID_APPOINTMENT_CAPACITY';
3570
- } | {
3571
- ruleName?: 'INVALID_SESSION_DURATION';
3572
- };
3573
- /** @docsIgnore */
3574
- type UpdateServiceValidationErrors = {
3575
- ruleName?: 'INVALID_FORM';
3576
- } | {
3577
- ruleName?: 'INVALID_CATEGORY';
3578
- } | {
3579
- ruleName?: 'INVALID_BOOKING_POLICY';
3580
- } | {
3581
- ruleName?: 'INVALID_SERVICE_TYPE';
3582
- } | {
3583
- ruleName?: 'INVALID_SERVICE_NAME';
3584
- } | {
3585
- ruleName?: 'INVALID_ONLINE_BOOKING';
3586
- } | {
3587
- ruleName?: 'INVALID_STAFF_MEMBER_IDS';
3588
- } | {
3589
- ruleName?: 'PAYMENT_REQUIRED';
3590
- } | {
3591
- ruleName?: 'INVALID_PAYMENT_TYPE';
3592
- } | {
3593
- ruleName?: 'INVALID_RATE';
3594
- } | {
3595
- ruleName?: 'INVALID_PAYMENT_OPTIONS';
3596
- } | {
3597
- ruleName?: 'INVALID_BUSINESS_LOCATIONS';
3598
- } | {
3599
- ruleName?: 'INVALID_LOCATIONS';
3600
- } | {
3601
- ruleName?: 'INVALID_BUSINESS_LOCATION';
3602
- } | {
3603
- ruleName?: 'INVALID_CUSTOM_LOCATION';
3604
- } | {
3605
- ruleName?: 'INVALID_CUSTOMER_LOCATION';
3606
- } | {
3607
- ruleName?: 'INVALID_UNKNOWN_LOCATION';
3608
- } | {
3609
- ruleName?: 'INVALID_MANUAL_APPROVAL_WITH_PRICING_PLANS';
3610
- } | {
3611
- ruleName?: 'INVALID_DEFAULT_CAPACITY';
3612
- } | {
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 CreateServiceValidationErrors = {
3525
+ ruleName?: 'INVALID_FORM';
3526
+ } | {
3527
+ ruleName?: 'INVALID_CATEGORY';
3528
+ } | {
3529
+ ruleName?: 'INVALID_BOOKING_POLICY';
3530
+ } | {
3531
+ ruleName?: 'INVALID_SERVICE_TYPE';
3532
+ } | {
3533
+ ruleName?: 'INVALID_SERVICE_NAME';
3534
+ } | {
3535
+ ruleName?: 'INVALID_ONLINE_BOOKING';
3536
+ } | {
3537
+ ruleName?: 'INVALID_STAFF_MEMBER_IDS';
3538
+ } | {
3539
+ ruleName?: 'PAYMENT_REQUIRED';
3540
+ } | {
3541
+ ruleName?: 'INVALID_PAYMENT_TYPE';
3542
+ } | {
3543
+ ruleName?: 'INVALID_RATE';
3544
+ } | {
3545
+ ruleName?: 'INVALID_PAYMENT_OPTIONS';
3546
+ } | {
3547
+ ruleName?: 'INVALID_BUSINESS_LOCATIONS';
3548
+ } | {
3549
+ ruleName?: 'INVALID_LOCATIONS';
3550
+ } | {
3551
+ ruleName?: 'INVALID_BUSINESS_LOCATION';
3552
+ } | {
3553
+ ruleName?: 'INVALID_CUSTOM_LOCATION';
3554
+ } | {
3555
+ ruleName?: 'INVALID_CUSTOMER_LOCATION';
3556
+ } | {
3557
+ ruleName?: 'INVALID_UNKNOWN_LOCATION';
3558
+ } | {
3559
+ ruleName?: 'INVALID_MANUAL_APPROVAL_WITH_PRICING_PLANS';
3560
+ } | {
3561
+ ruleName?: 'INVALID_DEFAULT_CAPACITY';
3562
+ } | {
3563
+ ruleName?: 'INVALID_APPOINTMENT_CAPACITY';
3564
+ } | {
3565
+ ruleName?: 'INVALID_SESSION_DURATION';
3566
+ };
3567
+ /** @docsIgnore */
3568
+ type UpdateServiceValidationErrors = {
3569
+ ruleName?: 'INVALID_FORM';
3570
+ } | {
3571
+ ruleName?: 'INVALID_CATEGORY';
3572
+ } | {
3573
+ ruleName?: 'INVALID_BOOKING_POLICY';
3574
+ } | {
3575
+ ruleName?: 'INVALID_SERVICE_TYPE';
3576
+ } | {
3577
+ ruleName?: 'INVALID_SERVICE_NAME';
3578
+ } | {
3579
+ ruleName?: 'INVALID_ONLINE_BOOKING';
3580
+ } | {
3581
+ ruleName?: 'INVALID_STAFF_MEMBER_IDS';
3582
+ } | {
3583
+ ruleName?: 'PAYMENT_REQUIRED';
3584
+ } | {
3585
+ ruleName?: 'INVALID_PAYMENT_TYPE';
3586
+ } | {
3587
+ ruleName?: 'INVALID_RATE';
3588
+ } | {
3589
+ ruleName?: 'INVALID_PAYMENT_OPTIONS';
3590
+ } | {
3591
+ ruleName?: 'INVALID_BUSINESS_LOCATIONS';
3592
+ } | {
3593
+ ruleName?: 'INVALID_LOCATIONS';
3594
+ } | {
3595
+ ruleName?: 'INVALID_BUSINESS_LOCATION';
3596
+ } | {
3597
+ ruleName?: 'INVALID_CUSTOM_LOCATION';
3598
+ } | {
3599
+ ruleName?: 'INVALID_CUSTOMER_LOCATION';
3600
+ } | {
3601
+ ruleName?: 'INVALID_UNKNOWN_LOCATION';
3602
+ } | {
3603
+ ruleName?: 'INVALID_MANUAL_APPROVAL_WITH_PRICING_PLANS';
3604
+ } | {
3605
+ ruleName?: 'INVALID_DEFAULT_CAPACITY';
3606
+ } | {
3613
3607
  ruleName?: 'INVALID_APPOINTMENT_CAPACITY';
3614
3608
  } | {
3615
3609
  ruleName?: 'INVALID_SESSION_DURATION';
@@ -3646,6 +3640,24 @@ type SetCustomSlugApplicationErrors = {
3646
3640
  type SetCustomSlugValidationErrors = {
3647
3641
  ruleName?: 'SLUG_CONTAINS_ILLEGAL_CHARACTERS';
3648
3642
  };
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
+ };
3649
3661
  interface BaseEventMetadata {
3650
3662
  /**
3651
3663
  * App instance ID.
@@ -3718,193 +3730,56 @@ interface ServiceCreatedEnvelope {
3718
3730
  declare function onServiceCreated(handler: (event: ServiceCreatedEnvelope) => void | Promise<void>): void;
3719
3731
  interface ServiceDeletedEnvelope {
3720
3732
  entity: Service;
3721
- metadata: EventMetadata;
3722
- }
3723
- /**
3724
- * Triggered when a service is deleted.
3725
- * @permissionScope Manage Stores
3726
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
3727
- * @permissionScope Read Bookings - Public Data
3728
- * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
3729
- * @permissionScope Manage Bookings Services and Settings
3730
- * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
3731
- * @permissionScope Manage Bookings
3732
- * @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS
3733
- * @permissionScope Read Bookings - Including Participants
3734
- * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-SENSITIVE
3735
- * @permissionScope Read Bookings - all read permissions
3736
- * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.READ-BOOKINGS
3737
- * @permissionScope Manage Bookings - all permissions
3738
- * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
3739
- * @permissionId BOOKINGS.SERVICES_READ
3740
- * @webhook
3741
- * @eventType wix.bookings.services.v2.service_deleted
3742
- * @slug deleted
3743
- */
3744
- declare function onServiceDeleted(handler: (event: ServiceDeletedEnvelope) => void | Promise<void>): void;
3745
- interface ServiceUpdatedEnvelope {
3746
- entity: Service;
3747
- metadata: EventMetadata;
3748
- }
3749
- /**
3750
- * Triggered when a service is updated.
3751
- * @permissionScope Manage Stores
3752
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
3753
- * @permissionScope Read Bookings - Public Data
3754
- * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
3755
- * @permissionScope Manage Bookings Services and Settings
3756
- * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
3757
- * @permissionScope Manage Bookings
3758
- * @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS
3759
- * @permissionScope Read Bookings - Including Participants
3760
- * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-SENSITIVE
3761
- * @permissionScope Read Bookings - all read permissions
3762
- * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.READ-BOOKINGS
3763
- * @permissionScope Manage Bookings - all permissions
3764
- * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
3765
- * @permissionId BOOKINGS.SERVICES_READ
3766
- * @webhook
3767
- * @eventType wix.bookings.services.v2.service_updated
3768
- * @slug updated
3769
- */
3770
- declare function onServiceUpdated(handler: (event: ServiceUpdatedEnvelope) => void | Promise<void>): void;
3771
- /**
3772
- * Creates a new add-on group for a service and updates the service's `addOnGroups` array.
3773
- * @param addOnGroup - Add-on group to create.
3774
- * @public
3775
- * @documentationMaturity preview
3776
- * @requiredField addOnGroup
3777
- * @requiredField addOnGroup.name
3778
- * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
3779
- * @applicableIdentity APP
3780
- * @fqn wix.bookings.services.v2.AddOnGroupsService.CreateAddOnGroup
3781
- */
3782
- declare function createAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `name`, 2>, options?: CreateAddOnGroupOptions): Promise<NonNullablePaths<CreateAddOnGroupResponse, `addOnGroup.addOnIds`, 3>>;
3783
- interface CreateAddOnGroupOptions {
3784
- /**
3785
- * ID of the service to create the add-on group for.
3786
- * @format GUID
3787
- */
3788
- serviceId?: string | null;
3789
- }
3790
- /**
3791
- * Deletes an add-on group.
3792
- *
3793
- *
3794
- * Deleting the group doesn't delete individual add-ons.
3795
- * Any add-on not associated with another group isn't available for customers to book.
3796
- * @param addOnGroupId - ID of the add-on group to delete.
3797
- * @public
3798
- * @documentationMaturity preview
3799
- * @requiredField addOnGroupId
3800
- * @requiredField options
3801
- * @requiredField options.serviceId
3802
- * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
3803
- * @applicableIdentity APP
3804
- * @fqn wix.bookings.services.v2.AddOnGroupsService.DeleteAddOnGroup
3805
- */
3806
- declare function deleteAddOnGroup(addOnGroupId: string, options: NonNullablePaths<DeleteAddOnGroupOptions, `serviceId`, 2>): Promise<void & {
3807
- __applicationErrorsType?: DeleteAddOnGroupApplicationErrors;
3808
- }>;
3809
- interface DeleteAddOnGroupOptions {
3810
- /**
3811
- * ID of the service from which to delete the add-on group.
3812
- * @format GUID
3813
- */
3814
- serviceId: string | null;
3815
- }
3816
- /**
3817
- * Updates an add-on group.
3818
- *
3819
- *
3820
- * To update only add-on display order, call [Set Add Ons For Group](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/set-add-ons-for-group) instead.
3821
- * @param addOnGroup - Add-on group to update.
3822
- * @public
3823
- * @documentationMaturity preview
3824
- * @requiredField addOnGroup
3825
- * @requiredField addOnGroup._id
3826
- * @requiredField options
3827
- * @requiredField options.serviceId
3828
- * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_UPDATE
3829
- * @applicableIdentity APP
3830
- * @fqn wix.bookings.services.v2.AddOnGroupsService.UpdateAddOnGroup
3831
- */
3832
- declare function updateAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `_id`, 2>, options: NonNullablePaths<UpdateAddOnGroupOptions, `serviceId`, 2>): Promise<NonNullablePaths<UpdateAddOnGroupResponse, `addOnGroup.addOnIds`, 3> & {
3833
- __applicationErrorsType?: UpdateAddOnGroupApplicationErrors;
3834
- }>;
3835
- interface UpdateAddOnGroupOptions {
3836
- /**
3837
- * ID of the service that contains the add-on group.
3838
- * @format GUID
3839
- */
3840
- serviceId: string | null;
3733
+ metadata: EventMetadata;
3841
3734
  }
3842
3735
  /**
3843
- * Retrieves add-on groups for a service with enriched add-on details.
3844
- *
3845
- *
3846
- * Add-on details are returned based on their display order.
3847
- *
3848
- * If you specify `groupIds`, only those groups are returned.
3849
- * By default, all groups associated with the service are returned.
3850
- * @param serviceId - ID of the service to retrieve add-on groups for.
3851
- * @public
3852
- * @documentationMaturity preview
3853
- * @requiredField serviceId
3854
- * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_LIST
3855
- * @applicableIdentity APP
3856
- * @fqn wix.bookings.services.v2.AddOnGroupsService.ListAddOnGroupsByServiceId
3736
+ * Triggered when a service is deleted.
3737
+ * @permissionScope Manage Stores
3738
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
3739
+ * @permissionScope Read Bookings - Public Data
3740
+ * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
3741
+ * @permissionScope Manage Bookings Services and Settings
3742
+ * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
3743
+ * @permissionScope Manage Bookings
3744
+ * @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS
3745
+ * @permissionScope Read Bookings - Including Participants
3746
+ * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-SENSITIVE
3747
+ * @permissionScope Read Bookings - all read permissions
3748
+ * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.READ-BOOKINGS
3749
+ * @permissionScope Manage Bookings - all permissions
3750
+ * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
3751
+ * @permissionId BOOKINGS.SERVICES_READ
3752
+ * @webhook
3753
+ * @eventType wix.bookings.services.v2.service_deleted
3754
+ * @slug deleted
3857
3755
  */
3858
- declare function listAddOnGroupsByServiceId(serviceId: string, options?: ListAddOnGroupsByServiceIdOptions): Promise<NonNullablePaths<ListAddOnGroupsByServiceIdResponse, `addOnGroupsDetails`, 2>>;
3859
- interface ListAddOnGroupsByServiceIdOptions {
3860
- /**
3861
- * List of group IDs to return. By default, all groups are returned.
3862
- * @format GUID
3863
- * @maxSize 3
3864
- */
3865
- groupIds?: string[] | null;
3756
+ declare function onServiceDeleted(handler: (event: ServiceDeletedEnvelope) => void | Promise<void>): void;
3757
+ interface ServiceUpdatedEnvelope {
3758
+ entity: Service;
3759
+ metadata: EventMetadata;
3866
3760
  }
3867
3761
  /**
3868
- * Sets the add-ons for a specific group, replacing any existing add-ons in the group.
3869
- *
3870
- *
3871
- * Call this method when you want to:
3872
- * - Add new add-ons to a group.
3873
- * - Remove add-ons from a group.
3874
- * - Reorder existing add-ons for optimal customer presentation.
3875
- *
3876
- * The order of add-ons in the request determines their display sequence to customers.
3877
- * All specified add-ons must already exist before adding them to a group.
3878
- *
3879
- * 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.
3880
- * @param serviceId - Service ID containing the group.
3881
- * @public
3882
- * @documentationMaturity preview
3883
- * @requiredField options
3884
- * @requiredField options.addOnIds
3885
- * @requiredField options.groupId
3886
- * @requiredField serviceId
3887
- * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_SET_ADD_ONS
3888
- * @applicableIdentity APP
3889
- * @fqn wix.bookings.services.v2.AddOnGroupsService.SetAddOnsForGroup
3762
+ * Triggered when a service is updated.
3763
+ * @permissionScope Manage Stores
3764
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
3765
+ * @permissionScope Read Bookings - Public Data
3766
+ * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
3767
+ * @permissionScope Manage Bookings Services and Settings
3768
+ * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
3769
+ * @permissionScope Manage Bookings
3770
+ * @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS
3771
+ * @permissionScope Read Bookings - Including Participants
3772
+ * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-SENSITIVE
3773
+ * @permissionScope Read Bookings - all read permissions
3774
+ * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.READ-BOOKINGS
3775
+ * @permissionScope Manage Bookings - all permissions
3776
+ * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
3777
+ * @permissionId BOOKINGS.SERVICES_READ
3778
+ * @webhook
3779
+ * @eventType wix.bookings.services.v2.service_updated
3780
+ * @slug updated
3890
3781
  */
3891
- declare function setAddOnsForGroup(serviceId: string, options: NonNullablePaths<SetAddOnsForGroupOptions, `addOnIds` | `groupId`, 2>): Promise<NonNullablePaths<SetAddOnsForGroupResponse, `addOnGroup.addOnIds`, 3> & {
3892
- __applicationErrorsType?: SetAddOnsForGroupApplicationErrors;
3893
- }>;
3894
- interface SetAddOnsForGroupOptions {
3895
- /**
3896
- * Group ID to set add-ons for.
3897
- * @format GUID
3898
- */
3899
- groupId: string | null;
3900
- /**
3901
- * IDs of add-ons to set for the group in display order.
3902
- * @format GUID
3903
- * @minSize 1
3904
- * @maxSize 7
3905
- */
3906
- addOnIds: string[] | null;
3907
- }
3782
+ declare function onServiceUpdated(handler: (event: ServiceUpdatedEnvelope) => void | Promise<void>): void;
3908
3783
  /**
3909
3784
  * Creates a service.
3910
3785
  *
@@ -3946,6 +3821,12 @@ interface SetAddOnsForGroupOptions {
3946
3821
  * durations are retrieved from the relevant [service variants](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/service-options-and-variants/introduction).
3947
3822
  * - It is mandatory to specify `schedule.availabilityConstraints.sessionDurations`,
3948
3823
  * even though these values are ignored.
3824
+ *
3825
+ * ### Add-on groups
3826
+ *
3827
+ * Don't specify existing add-on groups when calling Create Service.
3828
+ * 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.
3829
+ * 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.
3949
3830
  * @param service - Service to create.
3950
3831
  * @public
3951
3832
  * @requiredField service
@@ -3954,7 +3835,7 @@ interface SetAddOnsForGroupOptions {
3954
3835
  * @returns Created service.
3955
3836
  * @fqn wix.bookings.services.v2.ServicesService.CreateService
3956
3837
  */
3957
- declare function createService(service: Service): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `payment.addOnOption` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain` | `taxableAddress.taxableAddressType`, 6> & {
3838
+ declare function createService(service: Service): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `payment.addOnOption` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType`, 6> & {
3958
3839
  __validationErrorsType?: CreateServiceValidationErrors;
3959
3840
  }>;
3960
3841
  /**
@@ -3984,7 +3865,7 @@ interface BulkCreateServicesOptions {
3984
3865
  * @returns Retrieved service.
3985
3866
  * @fqn wix.bookings.services.v2.ServicesService.GetService
3986
3867
  */
3987
- declare function getService(serviceId: string): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `payment.addOnOption` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain` | `taxableAddress.taxableAddressType`, 6>>;
3868
+ declare function getService(serviceId: string): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `payment.addOnOption` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType`, 6>>;
3988
3869
  /**
3989
3870
  * Updates a service.
3990
3871
  *
@@ -4005,11 +3886,11 @@ declare function getService(serviceId: string): Promise<NonNullablePaths<Service
4005
3886
  *
4006
3887
  * Don't call Update Service to adjust service locations, call [Set Service Locations](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/set-service-locations) instead.
4007
3888
  *
4008
- * <!-- ### Add-on groups
3889
+ * ### Add-on groups
4009
3890
  *
4010
3891
  * Don't use Update Service to modify service add-on groups. Use these dedicated methods instead:
4011
- * - **Update add-on group properties**: Call [Update Add On Group](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/update-add-on-group).
4012
- * - **Update add-on display order**: Call [Set Add Ons For Group](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/set-add-ons-for-group). -->
3892
+ * - **Update add-on group properties**: Call Update Add On Group ([SDK](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/update-add-on-group?apiView=SDK) | [REST](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/update-add-on-group)).
3893
+ * - **Update add-on display order**: Call Set Add Ons For Group ([SDK](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/set-add-ons-for-group?apiView=SDK) | [REST](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/set-add-ons-for-group)).
4013
3894
  * @param _id - Service ID.
4014
3895
  * @public
4015
3896
  * @requiredField _id
@@ -4020,7 +3901,7 @@ declare function getService(serviceId: string): Promise<NonNullablePaths<Service
4020
3901
  * @returns Updated service.
4021
3902
  * @fqn wix.bookings.services.v2.ServicesService.UpdateService
4022
3903
  */
4023
- declare function updateService(_id: string, service: NonNullablePaths<UpdateService, `revision`, 2>): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `payment.addOnOption` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain` | `taxableAddress.taxableAddressType`, 6> & {
3904
+ declare function updateService(_id: string, service: NonNullablePaths<UpdateService, `revision`, 2>): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `payment.addOnOption` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType`, 6> & {
4024
3905
  __validationErrorsType?: UpdateServiceValidationErrors;
4025
3906
  }>;
4026
3907
  interface UpdateService {
@@ -4147,6 +4028,17 @@ interface UpdateService {
4147
4028
  * @readonly
4148
4029
  */
4149
4030
  revision?: string | null;
4031
+ /**
4032
+ * Information about the [add-on groups](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/about-add-on-groups) associated with the service.
4033
+ * @maxSize 3
4034
+ */
4035
+ addOnGroups?: AddOnGroup[];
4036
+ /**
4037
+ * Details about all [add-ons](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/add-ons/introduction) customers can choose when booking the service.
4038
+ * @readonly
4039
+ * @maxSize 50
4040
+ */
4041
+ addOnDetails?: AddOnDetails[];
4150
4042
  /** Taxable address used to calculate tax */
4151
4043
  taxableAddress?: TaxableAddress;
4152
4044
  }
@@ -4419,6 +4311,8 @@ interface ServiceSearchSpec extends SearchSpec {
4419
4311
  {
4420
4312
  operators: ['$hasAll', '$hasSome'];
4421
4313
  fields: [
4314
+ 'addOnDetails.addOnId',
4315
+ 'addOnDetails.durationInMinutes',
4422
4316
  'locations.business._id',
4423
4317
  'locations.business.name',
4424
4318
  'locations.calculatedAddress.formattedAddress',
@@ -4432,8 +4326,6 @@ interface ServiceSearchSpec extends SearchSpec {
4432
4326
  operators: '*';
4433
4327
  fields: [
4434
4328
  '_id',
4435
- 'addOnDetails.addOnId',
4436
- 'addOnDetails.durationInMinutes',
4437
4329
  'appId',
4438
4330
  'category._id',
4439
4331
  'category.name',
@@ -4829,7 +4721,7 @@ interface QueryCategoriesOptions {
4829
4721
  * @applicableIdentity APP
4830
4722
  * @fqn wix.bookings.services.v2.ServicesService.SetServiceLocations
4831
4723
  */
4832
- 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.taxableAddress.taxableAddressType`, 7>>;
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>>;
4833
4725
  interface SetServiceLocationsOptions {
4834
4726
  /**
4835
4727
  * The action to perform on sessions currently set to a removed location. For
@@ -4860,7 +4752,7 @@ interface SetServiceLocationsOptions {
4860
4752
  * @applicableIdentity APP
4861
4753
  * @fqn wix.bookings.services.v2.ServicesService.EnablePricingPlansForService
4862
4754
  */
4863
- 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.taxableAddress.taxableAddressType`, 7> & {
4755
+ 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> & {
4864
4756
  __applicationErrorsType?: EnablePricingPlansForServiceApplicationErrors;
4865
4757
  }>;
4866
4758
  /**
@@ -4877,7 +4769,7 @@ declare function enablePricingPlansForService(serviceId: string, pricingPlanIds:
4877
4769
  * @applicableIdentity APP
4878
4770
  * @fqn wix.bookings.services.v2.ServicesService.DisablePricingPlansForService
4879
4771
  */
4880
- declare function disablePricingPlansForService(serviceId: string, options?: DisablePricingPlansForServiceOptions): Promise<NonNullablePaths<DisablePricingPlansForServiceResponse, `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.taxableAddress.taxableAddressType`, 7> & {
4772
+ declare function disablePricingPlansForService(serviceId: string, options?: DisablePricingPlansForServiceOptions): Promise<NonNullablePaths<DisablePricingPlansForServiceResponse, `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> & {
4881
4773
  __applicationErrorsType?: DisablePricingPlansForServiceApplicationErrors;
4882
4774
  }>;
4883
4775
  interface DisablePricingPlansForServiceOptions {
@@ -4904,7 +4796,7 @@ interface DisablePricingPlansForServiceOptions {
4904
4796
  * @applicableIdentity APP
4905
4797
  * @fqn wix.bookings.services.v2.ServicesService.SetCustomSlug
4906
4798
  */
4907
- declare function setCustomSlug(serviceId: string, options?: SetCustomSlugOptions): Promise<NonNullablePaths<SetCustomSlugResponse, `slug.name` | `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.taxableAddress.taxableAddressType`, 7> & {
4799
+ declare function setCustomSlug(serviceId: string, options?: SetCustomSlugOptions): Promise<NonNullablePaths<SetCustomSlugResponse, `slug.name` | `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> & {
4908
4800
  __applicationErrorsType?: SetCustomSlugApplicationErrors;
4909
4801
  __validationErrorsType?: SetCustomSlugValidationErrors;
4910
4802
  }>;
@@ -4998,6 +4890,149 @@ interface ValidateSlugOptions {
4998
4890
  * @applicableIdentity APP
4999
4891
  * @fqn wix.bookings.services.v2.ServicesService.CloneService
5000
4892
  */
5001
- 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.taxableAddress.taxableAddressType` | `errors`, 7>>;
4893
+ 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
+ }
5002
5037
 
5003
- 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 Location as M, type SetServiceLocationsOptions as N, type SetServiceLocationsResponse 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 BookingPolicy 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, 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 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 };
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 };