@wix/auto_sdk_bookings_services 1.0.74 → 1.0.76

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-D6jEh8MN.d.ts → bookings-services-v2-service-services.universal-B0U0yEd2.d.ts} +269 -330
  2. package/build/cjs/index.d.ts +61 -70
  3. package/build/cjs/index.js +324 -376
  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 +287 -330
  7. package/build/cjs/index.typings.js.map +1 -1
  8. package/build/cjs/meta.d.ts +139 -174
  9. package/build/cjs/meta.js +193 -223
  10. package/build/cjs/meta.js.map +1 -1
  11. package/build/es/{bookings-services-v2-service-services.universal-D6jEh8MN.d.mts → bookings-services-v2-service-services.universal-B0U0yEd2.d.mts} +269 -330
  12. package/build/es/index.d.mts +61 -70
  13. package/build/es/index.mjs +324 -375
  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 +287 -329
  17. package/build/es/index.typings.mjs.map +1 -1
  18. package/build/es/meta.d.mts +139 -174
  19. package/build/es/meta.mjs +193 -222
  20. package/build/es/meta.mjs.map +1 -1
  21. package/build/internal/cjs/{bookings-services-v2-service-services.universal-D6jEh8MN.d.ts → bookings-services-v2-service-services.universal-B0U0yEd2.d.ts} +269 -330
  22. package/build/internal/cjs/index.d.ts +61 -70
  23. package/build/internal/cjs/index.js +324 -376
  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 +287 -330
  27. package/build/internal/cjs/index.typings.js.map +1 -1
  28. package/build/internal/cjs/meta.d.ts +139 -174
  29. package/build/internal/cjs/meta.js +193 -223
  30. package/build/internal/cjs/meta.js.map +1 -1
  31. package/build/internal/es/{bookings-services-v2-service-services.universal-D6jEh8MN.d.mts → bookings-services-v2-service-services.universal-B0U0yEd2.d.mts} +269 -330
  32. package/build/internal/es/index.d.mts +61 -70
  33. package/build/internal/es/index.mjs +324 -375
  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 +287 -329
  37. package/build/internal/es/index.typings.mjs.map +1 -1
  38. package/build/internal/es/meta.d.mts +139 -174
  39. package/build/internal/es/meta.mjs +193 -222
  40. package/build/internal/es/meta.mjs.map +1 -1
  41. package/package.json +2 -2
@@ -1338,6 +1338,138 @@ declare enum WebhookIdentityType {
1338
1338
  }
1339
1339
  /** @enumType */
1340
1340
  type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
1341
+ interface CreateAddOnGroupRequest {
1342
+ /** AddOnGroup to create. */
1343
+ addOnGroup: AddOnGroup;
1344
+ /**
1345
+ * ID of the service to create the AddOnGroup for.
1346
+ * @format GUID
1347
+ */
1348
+ serviceId?: string | null;
1349
+ }
1350
+ interface CreateAddOnGroupResponse {
1351
+ /** Created AddOnGroup. */
1352
+ addOnGroup?: AddOnGroup;
1353
+ }
1354
+ interface DeleteAddOnGroupRequest {
1355
+ /**
1356
+ * ID of the AddOnGroup to delete.
1357
+ * @format GUID
1358
+ */
1359
+ addOnGroupId: string | null;
1360
+ /**
1361
+ * ID of the service from which to delete the AddOnGroup.
1362
+ * @format GUID
1363
+ */
1364
+ serviceId: string | null;
1365
+ }
1366
+ interface DeleteAddOnGroupResponse {
1367
+ }
1368
+ interface UpdateAddOnGroupRequest {
1369
+ /** AddOnGroup to update. */
1370
+ addOnGroup: AddOnGroup;
1371
+ /**
1372
+ * ID of the service that contains the AddOnGroup.
1373
+ * @format GUID
1374
+ */
1375
+ serviceId: string | null;
1376
+ }
1377
+ interface UpdateAddOnGroupResponse {
1378
+ /** Updated AddOnGroup */
1379
+ addOnGroup?: AddOnGroup;
1380
+ }
1381
+ interface ListAddOnGroupsByServiceIdRequest {
1382
+ /**
1383
+ * ID of the service to retrieve AddOnGroups for.
1384
+ * @format GUID
1385
+ */
1386
+ serviceId: string | null;
1387
+ /**
1388
+ * List of group ids to return. If not provided, all groups are returned.
1389
+ * @format GUID
1390
+ * @maxSize 3
1391
+ */
1392
+ groupIds?: string[] | null;
1393
+ }
1394
+ interface ListAddOnGroupsByServiceIdResponse {
1395
+ /**
1396
+ * List of group IDs and their linked AddOns.
1397
+ * @maxSize 3
1398
+ */
1399
+ addOnGroupsDetails?: AddOnGroupDetail[];
1400
+ }
1401
+ interface AddOn extends AddOnAddOnInfoOneOf {
1402
+ /** The AddOn description. */
1403
+ durationInMinutes?: number;
1404
+ /** The AddOn max quantity. */
1405
+ maxQuantity?: number;
1406
+ /**
1407
+ * The AddOn ID.
1408
+ * @format GUID
1409
+ */
1410
+ addOnId?: string | null;
1411
+ /**
1412
+ * The AddOn name.
1413
+ * @maxLength 100
1414
+ */
1415
+ name?: string | null;
1416
+ /** The AddOn price. */
1417
+ price?: Money;
1418
+ }
1419
+ /** @oneof */
1420
+ interface AddOnAddOnInfoOneOf {
1421
+ /** The AddOn description. */
1422
+ durationInMinutes?: number;
1423
+ /** The AddOn max quantity. */
1424
+ maxQuantity?: number;
1425
+ }
1426
+ interface AddOnGroupDetail {
1427
+ /**
1428
+ * The group ID.
1429
+ * @format GUID
1430
+ */
1431
+ groupId?: string | null;
1432
+ /** The group max number of AddOns. */
1433
+ maxNumberOfAddOns?: number | null;
1434
+ /**
1435
+ * The group name.
1436
+ * @maxLength 100
1437
+ */
1438
+ groupName?: string | null;
1439
+ /**
1440
+ * The AddOns information linked to the group.
1441
+ * @maxSize 7
1442
+ */
1443
+ addOns?: AddOn[];
1444
+ /**
1445
+ * The group prompt.
1446
+ * @maxLength 200
1447
+ */
1448
+ prompt?: string | null;
1449
+ }
1450
+ interface SetAddOnsForGroupRequest {
1451
+ /**
1452
+ * The service ID to set AddOns for.
1453
+ * @format GUID
1454
+ */
1455
+ serviceId: string | null;
1456
+ /**
1457
+ * The group ID to set AddOns for.
1458
+ * @format GUID
1459
+ */
1460
+ groupId: string | null;
1461
+ /**
1462
+ * The IDs of AddOns to set.
1463
+ * @format GUID
1464
+ * @minSize 1
1465
+ * @maxSize 7
1466
+ */
1467
+ addOnIds: string[] | null;
1468
+ }
1469
+ interface SetAddOnsForGroupResponse {
1470
+ /** The updated AddOnGroup. */
1471
+ addOnGroup?: AddOnGroup;
1472
+ }
1341
1473
  interface CreateServiceRequest {
1342
1474
  /** Service to create. */
1343
1475
  service: Service;
@@ -3246,172 +3378,21 @@ interface SiteCloned {
3246
3378
  /** Origin site id. */
3247
3379
  originMetaSiteId?: string;
3248
3380
  }
3249
- interface CreateAddOnGroupRequest {
3250
- /** AddOnGroup to create. */
3251
- addOnGroup: AddOnGroup;
3252
- /**
3253
- * ID of the service to create the AddOnGroup for.
3254
- * @format GUID
3255
- */
3256
- serviceId?: string | null;
3257
- }
3258
- interface CreateAddOnGroupResponse {
3259
- /** Created AddOnGroup. */
3260
- addOnGroup?: AddOnGroup;
3261
- }
3262
- interface DeleteAddOnGroupRequest {
3263
- /**
3264
- * ID of the AddOnGroup to delete.
3265
- * @format GUID
3266
- */
3267
- addOnGroupId: string | null;
3268
- /**
3269
- * ID of the service from which to delete the AddOnGroup.
3270
- * @format GUID
3271
- */
3272
- serviceId: string | null;
3273
- }
3274
- interface DeleteAddOnGroupResponse {
3275
- }
3276
- interface UpdateAddOnGroupRequest {
3277
- /** AddOnGroup to update. */
3278
- addOnGroup: AddOnGroup;
3279
- /**
3280
- * ID of the service that contains the AddOnGroup.
3281
- * @format GUID
3282
- */
3283
- serviceId: string | null;
3284
- }
3285
- interface UpdateAddOnGroupResponse {
3286
- /** Updated AddOnGroup */
3287
- addOnGroup?: AddOnGroup;
3288
- }
3289
- interface ListAddOnGroupsByServiceIdRequest {
3290
- /**
3291
- * ID of the service to retrieve AddOnGroups for.
3292
- * @format GUID
3293
- */
3294
- serviceId: string | null;
3295
- /**
3296
- * List of group ids to return. If not provided, all groups are returned.
3297
- * @format GUID
3298
- * @maxSize 3
3299
- */
3300
- groupIds?: string[] | null;
3301
- }
3302
- interface ListAddOnGroupsByServiceIdResponse {
3303
- /**
3304
- * List of group IDs and their linked AddOns.
3305
- * @maxSize 3
3306
- */
3307
- addOnGroupsDetails?: AddOnGroupDetail[];
3308
- }
3309
- interface AddOn extends AddOnAddOnInfoOneOf {
3310
- /** The AddOn description. */
3311
- durationInMinutes?: number;
3312
- /** The AddOn max quantity. */
3313
- maxQuantity?: number;
3314
- /**
3315
- * The AddOn ID.
3316
- * @format GUID
3317
- */
3318
- addOnId?: string | null;
3319
- /**
3320
- * The AddOn name.
3321
- * @maxLength 100
3322
- */
3323
- name?: string | null;
3324
- /** The AddOn price. */
3325
- price?: Money;
3326
- }
3327
- /** @oneof */
3328
- interface AddOnAddOnInfoOneOf {
3329
- /** The AddOn description. */
3330
- durationInMinutes?: number;
3331
- /** The AddOn max quantity. */
3332
- maxQuantity?: number;
3333
- }
3334
- interface AddOnGroupDetail {
3335
- /**
3336
- * The group ID.
3337
- * @format GUID
3338
- */
3339
- groupId?: string | null;
3340
- /** The group max number of AddOns. */
3341
- maxNumberOfAddOns?: number | null;
3342
- /**
3343
- * The group name.
3344
- * @maxLength 100
3345
- */
3346
- groupName?: string | null;
3347
- /**
3348
- * The AddOns information linked to the group.
3349
- * @maxSize 7
3350
- */
3351
- addOns?: AddOn[];
3352
- /**
3353
- * The group prompt.
3354
- * @maxLength 200
3355
- */
3356
- prompt?: string | null;
3357
- }
3358
- interface SetAddOnsForGroupRequest {
3359
- /**
3360
- * The service ID to set AddOns for.
3361
- * @format GUID
3362
- */
3363
- serviceId: string | null;
3364
- /**
3365
- * The group ID to set AddOns for.
3366
- * @format GUID
3367
- */
3368
- groupId: string | null;
3369
- /**
3370
- * The IDs of AddOns to set.
3371
- * @format GUID
3372
- * @minSize 1
3373
- * @maxSize 7
3374
- */
3375
- addOnIds: string[] | null;
3376
- }
3377
- interface SetAddOnsForGroupResponse {
3378
- /** The updated AddOnGroup. */
3379
- addOnGroup?: AddOnGroup;
3380
- }
3381
- interface ValidateAddOnsSelectionRequest {
3382
- /**
3383
- * The service ID to validate AddOns against.
3384
- * @format GUID
3385
- */
3386
- serviceId: string | null;
3387
- /**
3388
- * The group ID to validate AddOns against.
3389
- * @format GUID
3390
- */
3391
- groupId: string | null;
3392
- /**
3393
- * The IDs of AddOns to validate.
3394
- * @format GUID
3395
- * @minSize 1
3396
- * @maxSize 7
3397
- */
3398
- addOnIds: string[] | null;
3399
- }
3400
- interface ValidateAddOnsSelectionResponse {
3401
- /** The validation result. */
3402
- result?: ValidationResult;
3403
- }
3404
- interface ValidationResult {
3405
- /** Whether the AddOns selection is valid. */
3406
- valid?: boolean | null;
3407
- /**
3408
- * A validation error message.
3409
- * This field should populated when `valid` is `false`.
3410
- * @minLength 1
3411
- * @maxLength 300
3412
- */
3413
- message?: string | null;
3414
- }
3381
+ type DeleteAddOnGroupApplicationErrors = {
3382
+ code?: 'GROUP_NOT_ON_SERVICE';
3383
+ description?: string;
3384
+ data?: Record<string, any>;
3385
+ };
3386
+ type UpdateAddOnGroupApplicationErrors = {
3387
+ code?: 'GROUP_NOT_ON_SERVICE';
3388
+ description?: string;
3389
+ data?: Record<string, any>;
3390
+ };
3391
+ type SetAddOnsForGroupApplicationErrors = {
3392
+ code?: 'ADD_ON_GROUP_NOT_FOUND';
3393
+ description?: string;
3394
+ data?: Record<string, any>;
3395
+ };
3415
3396
  type CreateServiceValidationErrors = {
3416
3397
  ruleName?: 'INVALID_FORM';
3417
3398
  } | {
@@ -3525,21 +3506,6 @@ type SetCustomSlugApplicationErrors = {
3525
3506
  type SetCustomSlugValidationErrors = {
3526
3507
  ruleName?: 'SLUG_CONTAINS_ILLEGAL_CHARACTERS';
3527
3508
  };
3528
- type DeleteAddOnGroupApplicationErrors = {
3529
- code?: 'GROUP_NOT_ON_SERVICE';
3530
- description?: string;
3531
- data?: Record<string, any>;
3532
- };
3533
- type UpdateAddOnGroupApplicationErrors = {
3534
- code?: 'GROUP_NOT_ON_SERVICE';
3535
- description?: string;
3536
- data?: Record<string, any>;
3537
- };
3538
- type SetAddOnsForGroupApplicationErrors = {
3539
- code?: 'ADD_ON_GROUP_NOT_FOUND';
3540
- description?: string;
3541
- data?: Record<string, any>;
3542
- };
3543
3509
  interface BaseEventMetadata {
3544
3510
  /**
3545
3511
  * App instance ID.
@@ -3663,6 +3629,127 @@ interface ServiceUpdatedEnvelope {
3663
3629
  */
3664
3630
  declare function onServiceUpdated(handler: (event: ServiceUpdatedEnvelope) => void | Promise<void>): void;
3665
3631
  type ServiceNonNullablePaths = `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.business.address.streetAddress.number` | `locations.${number}.business.address.streetAddress.name` | `locations.${number}.business.address.streetAddress.apt` | `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}.amount.value` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.amount.currency` | `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` | `mainSlug.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`;
3632
+ /**
3633
+ * Create a new AddOns group.
3634
+ * An AddOns group defines a collection of AddOns that can be linked to a Service,
3635
+ * with constraints such as minimum and maximum selections.
3636
+ * @param addOnGroup - AddOnGroup to create.
3637
+ * @public
3638
+ * @documentationMaturity preview
3639
+ * @requiredField addOnGroup
3640
+ * @requiredField addOnGroup.name
3641
+ * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
3642
+ * @applicableIdentity APP
3643
+ * @fqn wix.bookings.services.v2.AddOnGroupsService.CreateAddOnGroup
3644
+ */
3645
+ declare function createAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `name`>, options?: CreateAddOnGroupOptions): Promise<NonNullablePaths<CreateAddOnGroupResponse, `addOnGroup.addOnIds`>>;
3646
+ interface CreateAddOnGroupOptions {
3647
+ /**
3648
+ * ID of the service to create the AddOnGroup for.
3649
+ * @format GUID
3650
+ */
3651
+ serviceId?: string | null;
3652
+ }
3653
+ /**
3654
+ * Delete an existing AddOns group.
3655
+ * This will remove the group and unlink all associated AddOns.
3656
+ * @param addOnGroupId - ID of the AddOnGroup to delete.
3657
+ * @public
3658
+ * @documentationMaturity preview
3659
+ * @requiredField addOnGroupId
3660
+ * @requiredField options
3661
+ * @requiredField options.serviceId
3662
+ * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
3663
+ * @applicableIdentity APP
3664
+ * @fqn wix.bookings.services.v2.AddOnGroupsService.DeleteAddOnGroup
3665
+ */
3666
+ declare function deleteAddOnGroup(addOnGroupId: string, options: NonNullablePaths<DeleteAddOnGroupOptions, `serviceId`>): Promise<void & {
3667
+ __applicationErrorsType?: DeleteAddOnGroupApplicationErrors;
3668
+ }>;
3669
+ interface DeleteAddOnGroupOptions {
3670
+ /**
3671
+ * ID of the service from which to delete the AddOnGroup.
3672
+ * @format GUID
3673
+ */
3674
+ serviceId: string | null;
3675
+ }
3676
+ /**
3677
+ * Update an existing AddOns group.
3678
+ * This allows modifying group settings such as its name, prompt, constraints, or associated AddOns.
3679
+ * @param addOnGroup - AddOnGroup to update.
3680
+ * @public
3681
+ * @documentationMaturity preview
3682
+ * @requiredField addOnGroup
3683
+ * @requiredField addOnGroup._id
3684
+ * @requiredField options
3685
+ * @requiredField options.serviceId
3686
+ * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_UPDATE
3687
+ * @applicableIdentity APP
3688
+ * @fqn wix.bookings.services.v2.AddOnGroupsService.UpdateAddOnGroup
3689
+ */
3690
+ declare function updateAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `_id`>, options: NonNullablePaths<UpdateAddOnGroupOptions, `serviceId`>): Promise<NonNullablePaths<UpdateAddOnGroupResponse, `addOnGroup.addOnIds`> & {
3691
+ __applicationErrorsType?: UpdateAddOnGroupApplicationErrors;
3692
+ }>;
3693
+ interface UpdateAddOnGroupOptions {
3694
+ /**
3695
+ * ID of the service that contains the AddOnGroup.
3696
+ * @format GUID
3697
+ */
3698
+ serviceId: string | null;
3699
+ }
3700
+ /**
3701
+ * Retrieves a list of AddOnGroups including enriched AddOn details in the correct order.
3702
+ * If the group_id is specified, only the AddOns for the specified group will be returned,
3703
+ * otherwise all groups will be returned.
3704
+ * @param serviceId - ID of the service to retrieve AddOnGroups for.
3705
+ * @public
3706
+ * @documentationMaturity preview
3707
+ * @requiredField serviceId
3708
+ * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_LIST
3709
+ * @applicableIdentity APP
3710
+ * @applicableIdentity VISITOR
3711
+ * @fqn wix.bookings.services.v2.AddOnGroupsService.ListAddOnGroupsByServiceId
3712
+ */
3713
+ declare function listAddOnGroupsByServiceId(serviceId: string, options?: ListAddOnGroupsByServiceIdOptions): Promise<NonNullablePaths<ListAddOnGroupsByServiceIdResponse, `addOnGroupsDetails`>>;
3714
+ interface ListAddOnGroupsByServiceIdOptions {
3715
+ /**
3716
+ * List of group ids to return. If not provided, all groups are returned.
3717
+ * @format GUID
3718
+ * @maxSize 3
3719
+ */
3720
+ groupIds?: string[] | null;
3721
+ }
3722
+ /**
3723
+ * Sets the AddOns for a specific group.
3724
+ * The order of the AddOns in the list will be used to determine their display order.
3725
+ * @param serviceId - The service ID to set AddOns for.
3726
+ * @public
3727
+ * @documentationMaturity preview
3728
+ * @requiredField options
3729
+ * @requiredField options.addOnIds
3730
+ * @requiredField options.groupId
3731
+ * @requiredField serviceId
3732
+ * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_SET_ADD_ONS
3733
+ * @applicableIdentity APP
3734
+ * @fqn wix.bookings.services.v2.AddOnGroupsService.SetAddOnsForGroup
3735
+ */
3736
+ declare function setAddOnsForGroup(serviceId: string, options: NonNullablePaths<SetAddOnsForGroupOptions, `addOnIds` | `groupId`>): Promise<NonNullablePaths<SetAddOnsForGroupResponse, `addOnGroup.addOnIds`> & {
3737
+ __applicationErrorsType?: SetAddOnsForGroupApplicationErrors;
3738
+ }>;
3739
+ interface SetAddOnsForGroupOptions {
3740
+ /**
3741
+ * The group ID to set AddOns for.
3742
+ * @format GUID
3743
+ */
3744
+ groupId: string | null;
3745
+ /**
3746
+ * The IDs of AddOns to set.
3747
+ * @format GUID
3748
+ * @minSize 1
3749
+ * @maxSize 7
3750
+ */
3751
+ addOnIds: string[] | null;
3752
+ }
3666
3753
  /**
3667
3754
  * Creates a service.
3668
3755
  *
@@ -4819,153 +4906,5 @@ interface ValidateSlugOptions {
4819
4906
  declare function cloneService(sourceServiceId: string): Promise<NonNullablePaths<CloneServiceResponse, {
4820
4907
  [P in ServiceNonNullablePaths]: `service.${P}`;
4821
4908
  }[ServiceNonNullablePaths] | `errors`>>;
4822
- /**
4823
- * Create a new AddOns group.
4824
- * An AddOns group defines a collection of AddOns that can be linked to a Service,
4825
- * with constraints such as minimum and maximum selections.
4826
- * @param addOnGroup - AddOnGroup to create.
4827
- * @public
4828
- * @documentationMaturity preview
4829
- * @requiredField addOnGroup
4830
- * @requiredField addOnGroup.name
4831
- * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
4832
- * @applicableIdentity APP
4833
- * @fqn wix.bookings.services.v2.AddOnGroupsService.CreateAddOnGroup
4834
- */
4835
- declare function createAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `name`>, options?: CreateAddOnGroupOptions): Promise<NonNullablePaths<CreateAddOnGroupResponse, `addOnGroup.addOnIds`>>;
4836
- interface CreateAddOnGroupOptions {
4837
- /**
4838
- * ID of the service to create the AddOnGroup for.
4839
- * @format GUID
4840
- */
4841
- serviceId?: string | null;
4842
- }
4843
- /**
4844
- * Delete an existing AddOns group.
4845
- * This will remove the group and unlink all associated AddOns.
4846
- * @param addOnGroupId - ID of the AddOnGroup to delete.
4847
- * @public
4848
- * @documentationMaturity preview
4849
- * @requiredField addOnGroupId
4850
- * @requiredField options
4851
- * @requiredField options.serviceId
4852
- * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
4853
- * @applicableIdentity APP
4854
- * @fqn wix.bookings.services.v2.AddOnGroupsService.DeleteAddOnGroup
4855
- */
4856
- declare function deleteAddOnGroup(addOnGroupId: string, options: NonNullablePaths<DeleteAddOnGroupOptions, `serviceId`>): Promise<void & {
4857
- __applicationErrorsType?: DeleteAddOnGroupApplicationErrors;
4858
- }>;
4859
- interface DeleteAddOnGroupOptions {
4860
- /**
4861
- * ID of the service from which to delete the AddOnGroup.
4862
- * @format GUID
4863
- */
4864
- serviceId: string | null;
4865
- }
4866
- /**
4867
- * Update an existing AddOns group.
4868
- * This allows modifying group settings such as its name, prompt, constraints, or associated AddOns.
4869
- * @param addOnGroup - AddOnGroup to update.
4870
- * @public
4871
- * @documentationMaturity preview
4872
- * @requiredField addOnGroup
4873
- * @requiredField addOnGroup._id
4874
- * @requiredField options
4875
- * @requiredField options.serviceId
4876
- * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_UPDATE
4877
- * @applicableIdentity APP
4878
- * @fqn wix.bookings.services.v2.AddOnGroupsService.UpdateAddOnGroup
4879
- */
4880
- declare function updateAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `_id`>, options: NonNullablePaths<UpdateAddOnGroupOptions, `serviceId`>): Promise<NonNullablePaths<UpdateAddOnGroupResponse, `addOnGroup.addOnIds`> & {
4881
- __applicationErrorsType?: UpdateAddOnGroupApplicationErrors;
4882
- }>;
4883
- interface UpdateAddOnGroupOptions {
4884
- /**
4885
- * ID of the service that contains the AddOnGroup.
4886
- * @format GUID
4887
- */
4888
- serviceId: string | null;
4889
- }
4890
- /**
4891
- * Retrieves a list of AddOnGroups including enriched AddOn details in the correct order.
4892
- * If the group_id is specified, only the AddOns for the specified group will be returned,
4893
- * otherwise all groups will be returned.
4894
- * @param serviceId - ID of the service to retrieve AddOnGroups for.
4895
- * @public
4896
- * @documentationMaturity preview
4897
- * @requiredField serviceId
4898
- * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_LIST
4899
- * @applicableIdentity APP
4900
- * @applicableIdentity VISITOR
4901
- * @fqn wix.bookings.services.v2.AddOnGroupsService.ListAddOnGroupsByServiceId
4902
- */
4903
- declare function listAddOnGroupsByServiceId(serviceId: string, options?: ListAddOnGroupsByServiceIdOptions): Promise<NonNullablePaths<ListAddOnGroupsByServiceIdResponse, `addOnGroupsDetails`>>;
4904
- interface ListAddOnGroupsByServiceIdOptions {
4905
- /**
4906
- * List of group ids to return. If not provided, all groups are returned.
4907
- * @format GUID
4908
- * @maxSize 3
4909
- */
4910
- groupIds?: string[] | null;
4911
- }
4912
- /**
4913
- * Sets the AddOns for a specific group.
4914
- * The order of the AddOns in the list will be used to determine their display order.
4915
- * @param serviceId - The service ID to set AddOns for.
4916
- * @public
4917
- * @documentationMaturity preview
4918
- * @requiredField options
4919
- * @requiredField options.addOnIds
4920
- * @requiredField options.groupId
4921
- * @requiredField serviceId
4922
- * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_SET_ADD_ONS
4923
- * @applicableIdentity APP
4924
- * @fqn wix.bookings.services.v2.AddOnGroupsService.SetAddOnsForGroup
4925
- */
4926
- declare function setAddOnsForGroup(serviceId: string, options: NonNullablePaths<SetAddOnsForGroupOptions, `addOnIds` | `groupId`>): Promise<NonNullablePaths<SetAddOnsForGroupResponse, `addOnGroup.addOnIds`> & {
4927
- __applicationErrorsType?: SetAddOnsForGroupApplicationErrors;
4928
- }>;
4929
- interface SetAddOnsForGroupOptions {
4930
- /**
4931
- * The group ID to set AddOns for.
4932
- * @format GUID
4933
- */
4934
- groupId: string | null;
4935
- /**
4936
- * The IDs of AddOns to set.
4937
- * @format GUID
4938
- * @minSize 1
4939
- * @maxSize 7
4940
- */
4941
- addOnIds: string[] | null;
4942
- }
4943
- /**
4944
- * Validates the selection of AddOns for a given group based on the group's settings.
4945
- * @param serviceId - The service ID to validate AddOns against.
4946
- * @public
4947
- * @documentationMaturity preview
4948
- * @requiredField options
4949
- * @requiredField options.addOnIds
4950
- * @requiredField options.groupId
4951
- * @requiredField serviceId
4952
- * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_VALIDATE
4953
- * @fqn wix.bookings.services.v2.AddOnGroupsService.ValidateAddOnsSelection
4954
- */
4955
- declare function validateAddOnsSelection(serviceId: string, options: NonNullablePaths<ValidateAddOnsSelectionOptions, `addOnIds` | `groupId`>): Promise<ValidateAddOnsSelectionResponse>;
4956
- interface ValidateAddOnsSelectionOptions {
4957
- /**
4958
- * The group ID to validate AddOns against.
4959
- * @format GUID
4960
- */
4961
- groupId: string | null;
4962
- /**
4963
- * The IDs of AddOns to validate.
4964
- * @format GUID
4965
- * @minSize 1
4966
- * @maxSize 7
4967
- */
4968
- addOnIds: string[] | null;
4969
- }
4970
4909
 
4971
- export { type ListAddOnGroupsByServiceIdResponse as $, type DisablePricingPlansForServiceOptions as A, type BulkCreateServicesOptions as B, type CreateServiceValidationErrors as C, type DeleteServiceOptions as D, type EnablePricingPlansForServiceResponse as E, type DisablePricingPlansForServiceResponse as F, type DisablePricingPlansForServiceApplicationErrors as G, type SetCustomSlugOptions as H, type SetCustomSlugResponse as I, type SetCustomSlugApplicationErrors as J, type SetCustomSlugValidationErrors as K, type Location as L, type ValidateSlugResponse as M, type CloneServiceResponse as N, type AddOnGroup as O, type CreateAddOnGroupOptions as P, type QueryPoliciesResponse as Q, type CreateAddOnGroupResponse as R, type Service as S, type DeleteAddOnGroupOptions as T, type UpdateService as U, type ValidateSlugOptions as V, type DeleteAddOnGroupApplicationErrors as W, type UpdateAddOnGroupOptions as X, type UpdateAddOnGroupResponse as Y, type UpdateAddOnGroupApplicationErrors as Z, type ListAddOnGroupsByServiceIdOptions as _, type BulkCreateServicesResponse as a, type WaitlistPolicy as a$, type SetAddOnsForGroupOptions as a0, type SetAddOnsForGroupResponse as a1, type SetAddOnsForGroupApplicationErrors as a2, type ValidateAddOnsSelectionOptions as a3, type ValidateAddOnsSelectionResponse as a4, type ServiceCreatedEnvelope as a5, type ServiceDeletedEnvelope as a6, type ServiceUpdatedEnvelope as a7, ServiceType as a8, RateType as a9, type MediaItemItemOneOf as aA, type V2Category as aB, type Form as aC, type FormSettings as aD, type Payment as aE, type PaymentRateOneOf as aF, type FixedPayment as aG, type Money as aH, type CustomPayment as aI, type VariedPayment as aJ, type PaymentOptions as aK, type OnlineBooking as aL, type Conferencing as aM, type LocationOptionsOneOf as aN, type CommonAddress as aO, type CommonAddressStreetOneOf as aP, type StreetAddress as aQ, type AddressLocation as aR, type BusinessLocationOptions as aS, type CustomLocationOptions as aT, type BookingPolicy as aU, type PolicyDescription as aV, type LimitEarlyBookingPolicy as aW, type LimitLateBookingPolicy as aX, type BookAfterStartPolicy as aY, type CancellationPolicy as aZ, type ReschedulePolicy as a_, LocationType as aa, WebhookIdentityType as ab, V2RequestedFields as ac, SortOrder as ad, SortType as ae, SortDirection as af, MissingValues as ag, ScalarType as ah, NestedAggregationType as ai, Interval as aj, AggregationType as ak, Mode as al, RequestedFields as am, Action as an, InvalidSlugError as ao, CloneErrors as ap, Status as aq, CategoryNotificationEvent as ar, BenefitType as as, Event as at, CrudType as au, PlacementType as av, DayOfWeek as aw, ResolutionMethod as ax, type Media as ay, type MediaItem as az, type UpdateServiceValidationErrors as b, type BulkUpdateServicesByFilterRequest as b$, type ParticipantsPolicy as b0, type ResourcesPolicy as b1, type CancellationFeePolicy as b2, type CancellationWindow as b3, type CancellationWindowFeeOneOf as b4, type SaveCreditCardPolicy as b5, type Schedule as b6, type AvailabilityConstraints as b7, type Duration as b8, type StaffMember as b9, type RestoreInfo as bA, type EntityUpdatedEvent as bB, type EntityDeletedEvent as bC, type ActionEvent as bD, type MessageEnvelope as bE, type IdentificationData as bF, type IdentificationDataIdOneOf as bG, type CreateServiceRequest as bH, type CreateServiceResponse as bI, type ValidateServiceRequest as bJ, type ValidateServiceResponse as bK, type FieldViolation as bL, type BulkCreateServicesRequest as bM, type BulkServiceResult as bN, type ItemMetadata as bO, type ApplicationError as bP, type BulkActionMetadata as bQ, type GetServiceRequest as bR, type GetServiceResponse as bS, type GetServiceAvailabilityConstraintsRequest as bT, type GetServiceAvailabilityConstraintsResponse as bU, type ServiceAvailabilityConstraints as bV, type SplitInterval as bW, type UpdateServiceRequest as bX, type UpdateServiceResponse as bY, type BulkUpdateServicesRequest as bZ, type MaskedService as b_, type StaffMediaItem as ba, type StaffMediaItemItemOneOf as bb, type StaffMemberDetails as bc, type ResourceGroup as bd, type ResourceIds as be, type ServiceResource as bf, type ServiceResourceSelectionOneOf as bg, type ResourceType as bh, type Slug as bi, type URLs as bj, type ExtendedFields as bk, type SeoSchema as bl, type Keyword as bm, type Tag as bn, type Settings as bo, type AddOnDetails as bp, type ReindexMessage as bq, type ReindexMessageActionOneOf as br, type Upsert as bs, type Delete as bt, type Schema as bu, type SetCustomSlugEvent as bv, type ServicesUrlsChanged as bw, type DomainEvent as bx, type DomainEventBodyOneOf as by, type EntityCreatedEvent as bz, type BulkUpdateServicesOptions as c, type QueryLocationsFilter as c$, type DeleteServiceRequest as c0, type ParticipantNotification as c1, type DeleteServiceResponse as c2, type BulkDeleteServicesRequest as c3, type BulkDeleteServicesByFilterRequest as c4, type QueryServicesRequest as c5, type QueryV2 as c6, type QueryV2PagingMethodOneOf as c7, type Sorting as c8, type Paging as c9, type NestedAggregationResults as cA, type NestedAggregationResultsResultOneOf as cB, type ValueResults as cC, type RangeResults as cD, type AggregationResultsScalarResult as cE, type NestedValueAggregationResult as cF, type ValueResult as cG, type RangeResult as cH, type ScalarResult as cI, type NestedResultValue as cJ, type NestedResultValueResultOneOf as cK, type Results as cL, type DateHistogramResult as cM, type GroupByValueResults as cN, type DateHistogramResults as cO, type NestedResults as cP, type AggregationResults as cQ, type AggregationResultsResultOneOf as cR, type QueryPoliciesRequest as cS, type CursorQueryPagingMethodOneOf as cT, type BookingPolicyWithServices as cU, type QueryBookingFormsRequest as cV, type BookingForm as cW, type FormDetails as cX, type ConnectedService as cY, type CountServicesRequest as cZ, type QueryLocationsRequest as c_, type CursorPaging as ca, type QueryServicesResponse as cb, type PagingMetadataV2 as cc, type Cursors as cd, type SearchServicesRequest as ce, type CursorSearch as cf, type CursorSearchPagingMethodOneOf as cg, type Aggregation as ch, type AggregationKindOneOf as ci, type RangeBucket as cj, type IncludeMissingValuesOptions as ck, type ValueAggregation as cl, type ValueAggregationOptionsOneOf as cm, type RangeAggregation as cn, type ScalarAggregation as co, type DateHistogramAggregation as cp, type NestedAggregationItem as cq, type NestedAggregationItemKindOneOf as cr, type NestedAggregation as cs, type GroupByAggregation as ct, type GroupByAggregationKindOneOf as cu, type SearchDetails as cv, type CursorPagingMetadata as cw, type AggregationData as cx, type ValueAggregationResult as cy, type RangeAggregationResult as cz, type BulkUpdateServicesResponse as d, type EventMetadata as d$, type BusinessLocations as d0, type CustomLocations as d1, type CustomerLocations as d2, type QueryCategoriesRequest as d3, type QueryCategoriesFilter as d4, type QueryServicesMultiLanguageRequest as d5, type QueryServicesMultiLanguageResponse as d6, type SetServiceLocationsRequest as d7, type RemovedLocationSessionsAction as d8, type RemovedLocationSessionsActionActionOptionsOneOf as d9, type Address as dA, type AddressHint as dB, type GeoCoordinates as dC, type BusinessSchedule as dD, type TimePeriod as dE, type SpecialHourPeriod as dF, type Multilingual as dG, type SupportedLanguage as dH, type ConsentPolicy as dI, type Translation as dJ, type ChangeContext as dK, type ChangeContextPayloadOneOf as dL, type PropertiesChange as dM, type SiteCreated as dN, type SiteCloned as dO, type CreateAddOnGroupRequest as dP, type DeleteAddOnGroupRequest as dQ, type DeleteAddOnGroupResponse as dR, type UpdateAddOnGroupRequest as dS, type ListAddOnGroupsByServiceIdRequest as dT, type AddOn as dU, type AddOnAddOnInfoOneOf as dV, type AddOnGroupDetail as dW, type SetAddOnsForGroupRequest as dX, type ValidateAddOnsSelectionRequest as dY, type ValidationResult as dZ, type BaseEventMetadata as d_, type MoveToNewLocationsOptions as da, type EnablePricingPlansForServiceRequest as db, type InvalidPricingPlan as dc, type DisablePricingPlansForServiceRequest as dd, type SetCustomSlugRequest as de, type ValidateSlugRequest as df, type CloneServiceRequest as dg, type CategoryNotification as dh, type Category as di, type Empty as dj, type BenefitNotification as dk, type Benefit as dl, type EntryPass as dm, type Discount as dn, type DiscountDiscountOneOf as dp, type Behavior as dq, type BehaviorBehaviorOneOf as dr, type UserDomainInfoChangedEvent as ds, type HtmlSitePublished as dt, type Page as du, type SitePropertiesNotification as dv, type SitePropertiesEvent as dw, type Properties as dx, type Categories as dy, type Locale as dz, type BulkUpdateServicesByFilterOptions as e, type ServicesQueryResult as e0, type ServiceSearchSpec as e1, type ServiceTypeWithLiterals as e2, type RateTypeWithLiterals as e3, type LocationTypeWithLiterals as e4, type WebhookIdentityTypeWithLiterals as e5, type V2RequestedFieldsWithLiterals as e6, type SortOrderWithLiterals as e7, type SortTypeWithLiterals as e8, type SortDirectionWithLiterals as e9, bulkUpdateServicesByFilter as eA, deleteService as eB, bulkDeleteServices as eC, bulkDeleteServicesByFilter as eD, queryServices as eE, type CommonSearchWithEntityContext as eF, queryPolicies as eG, queryBookingForms as eH, countServices as eI, queryLocations as eJ, queryCategories as eK, setServiceLocations as eL, enablePricingPlansForService as eM, disablePricingPlansForService as eN, setCustomSlug as eO, validateSlug as eP, cloneService as eQ, createAddOnGroup as eR, deleteAddOnGroup as eS, updateAddOnGroup as eT, listAddOnGroupsByServiceId as eU, setAddOnsForGroup as eV, validateAddOnsSelection as eW, type MissingValuesWithLiterals as ea, type ScalarTypeWithLiterals as eb, type NestedAggregationTypeWithLiterals as ec, type IntervalWithLiterals as ed, type AggregationTypeWithLiterals as ee, type ModeWithLiterals as ef, type RequestedFieldsWithLiterals as eg, type ActionWithLiterals as eh, type InvalidSlugErrorWithLiterals as ei, type CloneErrorsWithLiterals as ej, type StatusWithLiterals as ek, type CategoryNotificationEventWithLiterals as el, type BenefitTypeWithLiterals as em, type EventWithLiterals as en, type CrudTypeWithLiterals as eo, type PlacementTypeWithLiterals as ep, type DayOfWeekWithLiterals as eq, type ResolutionMethodWithLiterals as er, onServiceCreated as es, onServiceDeleted as et, onServiceUpdated as eu, createService as ev, bulkCreateServices as ew, getService as ex, updateService as ey, bulkUpdateServices as ez, type BulkUpdateServicesByFilterResponse as f, type BulkDeleteServicesOptions as g, type BulkDeleteServicesResponse as h, type BulkDeleteServicesByFilterOptions as i, type BulkDeleteServicesByFilterResponse as j, type ServicesQueryBuilder as k, type ServiceSearch as l, type SearchServicesResponse as m, type CursorQuery as n, type QueryBookingFormsOptions as o, type QueryBookingFormsResponse as p, type QueryBookingFormsApplicationErrors as q, type CountServicesOptions as r, type CountServicesResponse as s, type QueryLocationsOptions as t, type QueryLocationsResponse as u, type QueryCategoriesOptions as v, type QueryCategoriesResponse as w, type SetServiceLocationsOptions as x, type SetServiceLocationsResponse as y, type EnablePricingPlansForServiceApplicationErrors as z };
4910
+ export { type SetCustomSlugValidationErrors as $, type AddOnGroup as A, type BulkCreateServicesOptions as B, type CreateAddOnGroupOptions as C, type DeleteAddOnGroupOptions as D, type QueryBookingFormsResponse as E, type QueryBookingFormsApplicationErrors as F, type CountServicesOptions as G, type CountServicesResponse as H, type QueryLocationsOptions as I, type QueryLocationsResponse as J, type QueryCategoriesOptions as K, type ListAddOnGroupsByServiceIdOptions as L, type QueryCategoriesResponse as M, type Location as N, type SetServiceLocationsOptions as O, type SetServiceLocationsResponse as P, type QueryPoliciesResponse as Q, type EnablePricingPlansForServiceResponse as R, type SetAddOnsForGroupOptions as S, type EnablePricingPlansForServiceApplicationErrors as T, type UpdateAddOnGroupOptions as U, type DisablePricingPlansForServiceOptions as V, type DisablePricingPlansForServiceResponse as W, type DisablePricingPlansForServiceApplicationErrors as X, type SetCustomSlugOptions as Y, type SetCustomSlugResponse as Z, type SetCustomSlugApplicationErrors as _, type CreateAddOnGroupResponse as a, type ResourcesPolicy as a$, type ValidateSlugOptions as a0, type ValidateSlugResponse as a1, type CloneServiceResponse as a2, type ServiceCreatedEnvelope as a3, type ServiceDeletedEnvelope as a4, type ServiceUpdatedEnvelope as a5, ServiceType as a6, RateType as a7, LocationType as a8, WebhookIdentityType as a9, type Form as aA, type FormSettings as aB, type Payment as aC, type PaymentRateOneOf as aD, type FixedPayment as aE, type Money as aF, type CustomPayment as aG, type VariedPayment as aH, type PaymentOptions as aI, type OnlineBooking as aJ, type Conferencing as aK, type LocationOptionsOneOf as aL, type CommonAddress as aM, type CommonAddressStreetOneOf as aN, type StreetAddress as aO, type AddressLocation as aP, type BusinessLocationOptions as aQ, type CustomLocationOptions as aR, type BookingPolicy as aS, type PolicyDescription as aT, type LimitEarlyBookingPolicy as aU, type LimitLateBookingPolicy as aV, type BookAfterStartPolicy as aW, type CancellationPolicy as aX, type ReschedulePolicy as aY, type WaitlistPolicy as aZ, type ParticipantsPolicy as a_, V2RequestedFields as aa, SortOrder as ab, SortType as ac, SortDirection as ad, MissingValues as ae, ScalarType as af, NestedAggregationType as ag, Interval as ah, AggregationType as ai, Mode as aj, RequestedFields as ak, Action as al, InvalidSlugError as am, CloneErrors as an, Status as ao, CategoryNotificationEvent as ap, BenefitType as aq, Event as ar, CrudType as as, PlacementType as at, DayOfWeek as au, ResolutionMethod as av, type Media as aw, type MediaItem as ax, type MediaItemItemOneOf as ay, type V2Category as az, type DeleteAddOnGroupApplicationErrors as b, type GetServiceAvailabilityConstraintsResponse as b$, type CancellationFeePolicy as b0, type CancellationWindow as b1, type CancellationWindowFeeOneOf as b2, type SaveCreditCardPolicy as b3, type Schedule as b4, type AvailabilityConstraints as b5, type Duration as b6, type StaffMember as b7, type StaffMediaItem as b8, type StaffMediaItemItemOneOf as b9, type EntityDeletedEvent as bA, type ActionEvent as bB, type MessageEnvelope as bC, type IdentificationData as bD, type IdentificationDataIdOneOf as bE, type CreateAddOnGroupRequest as bF, type DeleteAddOnGroupRequest as bG, type DeleteAddOnGroupResponse as bH, type UpdateAddOnGroupRequest as bI, type ListAddOnGroupsByServiceIdRequest as bJ, type AddOn as bK, type AddOnAddOnInfoOneOf as bL, type AddOnGroupDetail as bM, type SetAddOnsForGroupRequest as bN, type CreateServiceRequest as bO, type CreateServiceResponse as bP, type ValidateServiceRequest as bQ, type ValidateServiceResponse as bR, type FieldViolation as bS, type BulkCreateServicesRequest as bT, type BulkServiceResult as bU, type ItemMetadata as bV, type ApplicationError as bW, type BulkActionMetadata as bX, type GetServiceRequest as bY, type GetServiceResponse as bZ, type GetServiceAvailabilityConstraintsRequest as b_, type StaffMemberDetails as ba, type ResourceGroup as bb, type ResourceIds as bc, type ServiceResource as bd, type ServiceResourceSelectionOneOf as be, type ResourceType as bf, type Slug as bg, type URLs as bh, type ExtendedFields as bi, type SeoSchema as bj, type Keyword as bk, type Tag as bl, type Settings as bm, type AddOnDetails as bn, type ReindexMessage as bo, type ReindexMessageActionOneOf as bp, type Upsert as bq, type Delete as br, type Schema as bs, type SetCustomSlugEvent as bt, type ServicesUrlsChanged as bu, type DomainEvent as bv, type DomainEventBodyOneOf as bw, type EntityCreatedEvent as bx, type RestoreInfo as by, type EntityUpdatedEvent as bz, type UpdateAddOnGroupResponse as c, type BookingPolicyWithServices as c$, type ServiceAvailabilityConstraints as c0, type SplitInterval as c1, type UpdateServiceRequest as c2, type UpdateServiceResponse as c3, type BulkUpdateServicesRequest as c4, type MaskedService as c5, type BulkUpdateServicesByFilterRequest as c6, type DeleteServiceRequest as c7, type ParticipantNotification as c8, type DeleteServiceResponse as c9, type GroupByAggregation as cA, type GroupByAggregationKindOneOf as cB, type SearchDetails as cC, type CursorPagingMetadata as cD, type AggregationData as cE, type ValueAggregationResult as cF, type RangeAggregationResult as cG, type NestedAggregationResults as cH, type NestedAggregationResultsResultOneOf as cI, type ValueResults as cJ, type RangeResults as cK, type AggregationResultsScalarResult as cL, type NestedValueAggregationResult as cM, type ValueResult as cN, type RangeResult as cO, type ScalarResult as cP, type NestedResultValue as cQ, type NestedResultValueResultOneOf as cR, type Results as cS, type DateHistogramResult as cT, type GroupByValueResults as cU, type DateHistogramResults as cV, type NestedResults as cW, type AggregationResults as cX, type AggregationResultsResultOneOf as cY, type QueryPoliciesRequest as cZ, type CursorQueryPagingMethodOneOf as c_, type BulkDeleteServicesRequest as ca, type BulkDeleteServicesByFilterRequest as cb, type QueryServicesRequest as cc, type QueryV2 as cd, type QueryV2PagingMethodOneOf as ce, type Sorting as cf, type Paging as cg, type CursorPaging as ch, type QueryServicesResponse as ci, type PagingMetadataV2 as cj, type Cursors as ck, type SearchServicesRequest as cl, type CursorSearch as cm, type CursorSearchPagingMethodOneOf as cn, type Aggregation as co, type AggregationKindOneOf as cp, type RangeBucket as cq, type IncludeMissingValuesOptions as cr, type ValueAggregation as cs, type ValueAggregationOptionsOneOf as ct, type RangeAggregation as cu, type ScalarAggregation as cv, type DateHistogramAggregation as cw, type NestedAggregationItem as cx, type NestedAggregationItemKindOneOf as cy, type NestedAggregation as cz, type UpdateAddOnGroupApplicationErrors as d, type RateTypeWithLiterals as d$, type QueryBookingFormsRequest as d0, type BookingForm as d1, type FormDetails as d2, type ConnectedService as d3, type CountServicesRequest as d4, type QueryLocationsRequest as d5, type QueryLocationsFilter as d6, type BusinessLocations as d7, type CustomLocations as d8, type CustomerLocations as d9, type HtmlSitePublished as dA, type Page as dB, type SitePropertiesNotification as dC, type SitePropertiesEvent as dD, type Properties as dE, type Categories as dF, type Locale as dG, type Address as dH, type AddressHint as dI, type GeoCoordinates as dJ, type BusinessSchedule as dK, type TimePeriod as dL, type SpecialHourPeriod as dM, type Multilingual as dN, type SupportedLanguage as dO, type ConsentPolicy as dP, type Translation as dQ, type ChangeContext as dR, type ChangeContextPayloadOneOf as dS, type PropertiesChange as dT, type SiteCreated as dU, type SiteCloned as dV, type BaseEventMetadata as dW, type EventMetadata as dX, type ServicesQueryResult as dY, type ServiceSearchSpec as dZ, type ServiceTypeWithLiterals as d_, type QueryCategoriesRequest as da, type QueryCategoriesFilter as db, type QueryServicesMultiLanguageRequest as dc, type QueryServicesMultiLanguageResponse as dd, type SetServiceLocationsRequest as de, type RemovedLocationSessionsAction as df, type RemovedLocationSessionsActionActionOptionsOneOf as dg, type MoveToNewLocationsOptions as dh, type EnablePricingPlansForServiceRequest as di, type InvalidPricingPlan as dj, type DisablePricingPlansForServiceRequest as dk, type SetCustomSlugRequest as dl, type ValidateSlugRequest as dm, type CloneServiceRequest as dn, type CategoryNotification as dp, type Category as dq, type Empty as dr, type BenefitNotification as ds, type Benefit as dt, type EntryPass as du, type Discount as dv, type DiscountDiscountOneOf as dw, type Behavior as dx, type BehaviorBehaviorOneOf as dy, type UserDomainInfoChangedEvent as dz, type ListAddOnGroupsByServiceIdResponse as e, type LocationTypeWithLiterals as e0, type WebhookIdentityTypeWithLiterals as e1, type V2RequestedFieldsWithLiterals as e2, type SortOrderWithLiterals as e3, type SortTypeWithLiterals as e4, type SortDirectionWithLiterals as e5, type MissingValuesWithLiterals as e6, type ScalarTypeWithLiterals as e7, type NestedAggregationTypeWithLiterals as e8, type IntervalWithLiterals as e9, bulkUpdateServices as eA, bulkUpdateServicesByFilter as eB, deleteService as eC, bulkDeleteServices as eD, bulkDeleteServicesByFilter as eE, queryServices as eF, type CommonSearchWithEntityContext as eG, queryPolicies as eH, queryBookingForms as eI, countServices as eJ, queryLocations as eK, queryCategories as eL, setServiceLocations as eM, enablePricingPlansForService as eN, disablePricingPlansForService as eO, setCustomSlug as eP, validateSlug as eQ, cloneService as eR, type AggregationTypeWithLiterals as ea, type ModeWithLiterals as eb, type RequestedFieldsWithLiterals as ec, type ActionWithLiterals as ed, type InvalidSlugErrorWithLiterals as ee, type CloneErrorsWithLiterals as ef, type StatusWithLiterals as eg, type CategoryNotificationEventWithLiterals as eh, type BenefitTypeWithLiterals as ei, type EventWithLiterals as ej, type CrudTypeWithLiterals as ek, type PlacementTypeWithLiterals as el, type DayOfWeekWithLiterals as em, type ResolutionMethodWithLiterals as en, onServiceCreated as eo, onServiceDeleted as ep, onServiceUpdated as eq, createAddOnGroup as er, deleteAddOnGroup as es, updateAddOnGroup as et, listAddOnGroupsByServiceId as eu, setAddOnsForGroup as ev, createService as ew, bulkCreateServices as ex, getService as ey, updateService as ez, type SetAddOnsForGroupResponse as f, 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 ServicesQueryBuilder as v, type ServiceSearch as w, type SearchServicesResponse as x, type CursorQuery as y, type QueryBookingFormsOptions as z };